]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
support: Add resolver testing mode which does not patch _res
[thirdparty/glibc.git] / ChangeLog
1 2017-07-05 Florian Weimer <fweimer@redhat.com>
2
3 * resolv/Makefile (tests-internal): Add tst-resolv-threads.
4 (tst-resolv-threads): Link with -ldl, -lresolv, -lpthread.
5 * resolv/tst-resolv-threads.c: New file.
6
7 2017-07-05 Florian Weimer <fweimer@redhat.com>
8
9 support: Add resolver testing mode which does not patch _res.
10 * support/resolv_test.h (struct resolv_redirect_config): Add
11 disable_redirect, server_address_overrides.
12 * support/resolv_test.c (make_server_sockets_for_address): New
13 function.
14 (resolv_test_start): Call it.
15
16 2017-07-05 Florian Weimer <fweimer@redhat.com>
17
18 * support/namespace.h (struct support_chroot_configuration)
19 (struct support_chroot): Define.
20 (support_chroot_create, support_chroot_free): New functions.
21 * support/support_chroot.c: New file.
22 * support/Makefile (libsupport-routines): Add support_chroot.
23 * resolv/tst-resolv-res_init-skeleton.c (path_chroot)
24 (path_resolv_conf): Remove definitions.
25 (chroot_env): New variable.
26 (prepare): Call support_chroot_create.
27 (check_chroot_working, setup_nss_dns_and_chroot, run_res_init)
28 (special_test_callback, do_test): Likewise.
29
30 2017-07-05 Florian Weimer <fweimer@redhat.com>
31
32 Add subtest to check isolation of multiple loopback addresses.
33 * support/tst-support-namespace.c (test_localhost_bind): New function.
34 (do_test): Call it.
35
36 2017-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
37
38 * libio/libio.h (_IO_FLAGS2_NEED_LOCK, _IO_need_lock): Define.
39 * libio/libioP.h (_IO_enable_locks): Declare.
40 * libio/Versions (_IO_enable_locks): New symbol.
41 * libio/genops.c (_IO_enable_locks): Define.
42 (_IO_old_init): Initialize flags2.
43 * libio/feof.c.c (_IO_feof): Avoid locking when not needed.
44 * libio/ferror.c (_IO_ferror): Likewise.
45 * libio/fputc.c (fputc): Likewise.
46 * libio/putc.c (_IO_putc): Likewise.
47 * libio/getc.c (_IO_getc): Likewise.
48 * libio/getchar.c (getchar): Likewise.
49 * libio/ioungetc.c (_IO_ungetc): Likewise.
50 * nptl/pthread_create.c (__pthread_create_2_1): Enable stdio locks.
51 * libio/iofopncook.c (_IO_fopencookie): Enable locking for the file.
52 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
53
54 2017-07-04 Florian Weimer <fweimer@redhat.com>
55
56 [BZ #21542]
57 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Default to
58 two if no accurate information is available.
59 * posix/tst-sysconf-empty-chroot.c: New file.
60 * posix/Makefile (tests): Add it.
61
62 2017-07-04 Florian Weimer <fweimer@redhat.com>
63
64 * resolv/resolv_conf.c (resolv_conf_matches): Tighten check for name
65 server and sort list counts. Fix improper check for empty search
66 path (completely missing domain name) leading to assertion failure
67 in update_from_conf.
68 * resolv/tst-resolv-res_init-skeleton.c (struct test_case): Add
69 hostname member.
70 (run_res_init): Set host name if requested.
71 (test_cases): Update.
72
73 2017-07-04 Joseph Myers <joseph@codesourcery.com>
74
75 * scripts/build-many-glibcs.py (Context.checkout): Default
76 binutils version to 2.29 branch, GMP version to 6.1.2 and Linux
77 kernel version to 4.12.
78
79 2017-07-04 Florian Weimer <fweimer@redhat.com>
80
81 * resolv/resolv_conf.c (struct resolv_conf_global): Clarify free
82 list management and the role of free_list_start.
83 (decrement_at_index): Put zero at the end of the free list.
84 (__resolv_conf_attach): Fix bogus assert.
85 * resolv/Makefile (tests): Add tst-resolv-res_init-multi.
86 (tst-resolv-res_init-multi): Link with -lresolv, -lpthread.
87
88 2017-07-03 Florian Weimer <fweimer@redhat.com>
89
90 resolv: Introduce free list for resolv_conf index slosts.
91 * resolv/resolv_conf.c (struct resolv_conf_array): Change element
92 type to uintptr_t.
93 (struct resolv_conf_global): Add free_list_start member.
94 (resolv_conf_get_1): Check for free list entry.
95 (decrement_at_index): Put freed slot on the free list.
96 (__resolv_conf_attach): Obtain new slot from the free list.
97 * resolv/tst-resolv-res_ninit.c: New file.
98 * resolv/Makefile (tests-internal): Add tst-resolv-res_ninit.
99 (tests-special): Add mtrace-tst-resolv-res_ninit.out.
100 (generated): Add mtrace-tst-resolv-res_ninit.out,
101 tst-resolv-res_ninit.mtrace.
102 (mtrace-tst-resolv-res_ninit.out): Add target.
103
104 2017-06-30 Florian Weimer <fweimer@redhat.com>
105
106 [BZ #984]
107 Reload /etc/resolv.conf if has been changed on disk.
108 * resolv/resolv_conf.h (resolv_conf): Remove initstamp member.
109 (__resolv_conf_load, __resolv_conf_get_current): Declare.
110 * resolv/resolv_conf.c (struct resolv_conf_global): Add
111 conf_current, conf_mtime, conf_ctime, conf_size, conf_ino members.
112 (__resolv_conf_get_current): New function.
113 (__resolv_conf_allocate): Do not initialize initstamp.
114 (freeres): Deallocate global->conf_current.
115 * resolv/resolv.h (RES_NORELOAD): Define.
116 * resolv/res_debug.c (p_option): Add RES_NORELOAD.
117 * resolv/resolv-internal.h (__res_initstamp): Remove declaration.
118 * resolv/resolv_context.c (replicated_configuration_matches): New.
119 (maybe_init): Call it. Use __resolv_conf_get_current to obtain
120 the current configration.
121 * resolv/res_init.c (__res_initstamp): Remove variable definition.
122 (has_preinit_values): New function.
123 (__resolv_conf_load): Renamed from __res_vinit. Drop res_state
124 parameter and do not call __resolv_conf_attach.
125 (__res_vinit): Reimplement based __resolv_conf_load.
126 (res_options): Handle no-reload.
127 * resolv/res_libc.c (atomicinclock, atomicincunlock, atomicinc)
128 (lock): Remove.
129 (res_int): Do not update __res_initstamp.
130 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Handle
131 RES_NORELOAD.
132 (test_cases): Test no-reload.
133 (special_test_call_res_init): Remove.
134 (special_test_callback): Rely on automated reloading. Add tests
135 for no-reload.
136
137 2017-06-30 Florian Weimer <fweimer@redhat.com>
138
139 Mirror the entire resolver configuration in struct resolv_conf.
140 * resolv/resolv_context.h (__resolv_context_nameserver_count)
141 (__resolv_context_nameserver): New functions.
142 (__resolv_context_sort_count, __resolv_context_sort_entry):
143 Likewise.
144 * resolv/nss_dns/dns-host.c (getanswer_r): Add struct
145 resolv_context parameter.
146 (gethostbyname3_context, _nss_dns_gethostbyaddr2_r): Adjust.
147 (addrsort): Switch to struct resolv_context.
148 * resolv/resolv_conf.h (struct resolv_sortlist_entry): Define.
149 (struct resolv_conf): Add nameserver_list, nameserver_list_size,
150 sort_list, sort_list_size, options, retrans, retry, ndots members.
151 * resolv/resolv_conf.c (same_address_v4, same_address_v6)
152 (same_address): New functions.
153 (resolv_conf_matches): Compare the new array members.
154 (__resolv_conf_allocate): Allocate and copy the new array members.
155 (update_from_conf): Copy the entire configuration.
156 * resolv/res_init.c (struct nameserver_list, struct sort_list):
157 Define using dynarray.
158 (struct resolv_conf_parser): Add nameserver_list, sort_list,
159 template members.
160 (resolv_conf_parser_init): Add preinit argument. Initialize the
161 new members.
162 (resolv_conf_parser_free): Deallocate the new arrays.
163 (allocate_address_v4): New function.
164 (res_setoptions): Switch to struct resolv_conf_parser * parameter.
165 (res_vinit_1): Drop res_state parameter. Write all parsed date to
166 the parser object instead. Use allocate_address_v4 to allocate
167 IPv4 addresses.
168 (__res_vinit): Adjust.
169 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print the
170 extended name server list.
171 (test_cases): Adjust.
172
173 2017-06-30 Florian Weimer <fweimer@redhat.com>
174
175 [BZ #19569]
176 [BZ #21475]
177 Support an arbitrary number of search domains.
178 * resolv/resolv_context.h (__resolv_context_search_list): New.
179 * resolv/resolv_conf.h (struct resolv_conf): Add search_list,
180 search_list_size members.
181 * resolv/resolv_conf.c (resolv_conf_matches): Compare search list.
182 (__resolv_conf_allocate): Allocate and and copy search list.
183 (update_from_conf): Copy the search list.
184 * resolv/res_init.c (struct search_list): Define using dynarray.
185 (struct resolv_conf_parser): Define.
186 (resolv_conf_parser_init, resolv_conf_parser_free)
187 (domain_from_hostname): New functions.
188 (res_vinit_1): Add struct resolv_conf_parser * parameter. Use
189 struct search_list to collect search list entries. Call
190 domain_from_hostname to obtain the fallback domain name.
191 (__res_vinit): Create and destroy parser object. Pass search list
192 to __resolv_conf_allocate.
193 * resolv/res_query.c (__res_context_search): Use
194 __resolv_context_search_list to obtain search list entries.
195 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print data
196 from extended resolver context.
197 (test_cases): Update.
198
199 2017-06-30 Florian Weimer <fweimer@redhat.com>
200
201 Add extended resolver state/configuration (struct resolv_conf).
202 * resolv/resolv_conf.h, resolv/resolv_conf.c: New files.
203 * resolv/res-close.c (__res_iclose): Call __resolv_conf_detach.
204 * resolv/res_init.c (res_vinit_1): Do not initialize initstamp.
205 (__res_vinit): Call __resolv_conf_allocate and
206 __resolv_conf_attach.
207 * resolv/resolv_context.h (struct resolv_context): Add conf member
208 of type struct resolv_conf.
209 * resolv/resolv_context.c (maybe_init): Get initstamp from struct
210 resolv_conf. Update conf member after initialization.
211 * resolv/Makefile (routines): Add resolv_conf.
212 * resolv/bits/types/res_state.h [_LIBC] (struct __res_state):
213 Rename _u._ext.initstamp to _u._ext.__glibc_extension_index.
214 [!_LIBC] (struct __res_state): Rename _u._ext._initstamp to
215 _u._ext.__glibc_reserved.
216
217 2017-06-30 Florian Weimer <fweimer@redhat.com>
218
219 [BZ #21668]
220 Introduce temporary resolver contexts (struct resolv_conf).
221 * resolv/resolv-internal.h (__res_context_mkquery)
222 (__res_context_searchl __res_context_query, __res_context_send)
223 (__res_context_hostalias): Declare.
224 (__res_nopt): Switch to struct resolv_context.
225 * resolv/res_use_inet6.h: New file.
226 * resolv/resolv_context.h: Likewise.
227 * resolv/resolv_context.c: Likewise.
228 * resolv/compat-gethnamaddr.c (res_gethostbyname2_context):
229 Renamed from res_gethostbyname2. Use struct resolv_context.
230 (res_gethostbyname2): New function. Implement using
231 res_gethostbyname2_context.
232 (res_gethostbyaddr_context): Renamed from res_gethostbyaddr. Use
233 struct resolv_context.
234 (res_gethostbyaddr): New function. Implement using
235 res_gethostbyaddr_context.
236 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Use struct
237 resolv_context.
238 * resolv/nss_dns/dns-host.c (gethostbyname3_context): Renamed from
239 _nss_dns_gethostbyname3_r. Use struct resolv_context.
240 (_nss_dns_gethostbyname3_r): Implement using gethostbyname3_context.
241 (_nss_dns_gethostbyname_r, _nss_dns_gethostbyname4_r): Likewise.
242 (_nss_dns_gethostbyaddr2_r): Use struct resolv_context.
243 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r)
244 (_nss_dns_getnetbyaddr_r): Likewise.
245 * resolv/res-close.c (res_thread_freeres): Call
246 __resolv_context_freeres.
247 * resolv/res_libc.c (__res_maybe_init): Remove function. Moved to
248 maybe_init in resolv/resolv_context.c.
249 * resolv/res_mkquery.c (__res_context_mkquery): Rename from
250 res_nmkquery. Use struct resolv_context.
251 (context_mkquery_common): New function.
252 (res_nmkquery, res_mkquery): Use it.
253 (res_nopt): Switch to struct resolv_context.
254 * resolv/res_query.c (__res_context_querydomain): Renamed from
255 __libc_res_nquerydomain. Use struct resolv_context.
256 (__res_context_query): Renamed from __libc_res_nquery. Use struct
257 resolv_context.
258 (context_query_common): New function.
259 (res_nquery, res_query): Use it.
260 (__res_context_search): Renamed from __libc_res_nsearch. Use
261 struct resolv_context.
262 (context_search_common): New function.
263 (res_nsearch, res_search): Use it.
264 (__res_context_querydomain): Rename from __libc_res_nquerydomain.
265 Use struct resolv_context.
266 (context_querydomain_common): New function.
267 (res_nquerydomain, res_querydomain): Use it.
268 (__res_context_hostalias): Rename from res_hostalias. Use struct
269 resolv_context.
270 (context_hostalias_common): New function.
271 (res_hostalias, hostalias): Use it.
272 * resolv/res_send.c (__res_context_send): Renamed from
273 __libc_res_nsend. Use struct resolv_context.
274 (context_send_common): New function.
275 (res_nsend, res_send): Use it.
276 * resolv/Makefile (routines): Add resolv_context.
277 * resolv/Versions (libc): Export __resolv_context_get,
278 __resolv_context_get_preinit, __resolv_context_get_override,
279 __resolv_context_put. Remove __res_maybe_init.
280 (libresolv): Export __res_context_query, __res_context_search,
281 __res_context_hostalias. Remove __libc_res_nquery,
282 __libc_res_nsearch.
283 * include/resolv.h (__res_maybe_init, __libc_res_nquery)
284 (__libc_res_nsearch, __libc_res_nsend): Remove declaration.
285 (__hostalias, __res_nmkquery, __res_nquery, __res_nquerydomain)
286 (__res_hostalias, __res_nsearch, __res_nsend): Remove hidden
287 prototypes.
288 * nss/nsswitch.h (__nss_hostname_digits_dots_context): Declare.
289 * nss/digits_dots.c (__nss_hostname_digits_dots_context): Renamed
290 from __nss_hostname_digits_dots. Use struct resolv_context.
291 (__nss_hostname_digits_dots): New function.
292 * nss/getXXbyYY.c [HANDLE_DIGITS_DOTS] (FUNCTION_NAME): Acquire
293 struct resolv_context object. Call new function
294 __nss_hostname_digits_dots_context.
295 * nss/getXXbyYY_r.c (REENTRANT_NAME): Use struct resolv_context.
296 * nss/getnssent_r.c (__nss_setent): Likewise.
297 * nscd/aicache.c (addhstaiX): Use struct resolv_context,
298 __resolv_context_disable_inet6 and __resolv_context_enable_inet6
299 instead of direct _res manipulation.
300 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Likewise.
301
302 2017-07-03 Florian Weimer <fweimer@redhat.com>
303
304 * resolv/tst-resolv-res_init-skeleton.c
305 (special_tests_count, special_test_call_res_init)
306 (special_test_callback, special_test_thread_func)
307 (run_special_test_on_thread, special_test): Define.
308 (do_test): call special_test.
309 (test_init_names): Fix typo.
310
311 2017-07-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
312
313 * sysdeps/powerpc/powerpc64/power8/strlen.S: Remove unreachable code.
314 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
315
316 2017-07-01 Florian Weimer <fweimer@redhat.com>
317 H.J. Lu <hongjiu.lu@intel.com>
318
319 [BZ #21696]
320 * posix/sched_cpucount.c: Don't include <limits.h>.
321 (__sched_cpucount): Use __builtin_popcount.
322
323 2017-07-01 Ramana Radhakrishnan <ramana.gcc@googlemail.com>
324
325 * sysdeps/unix/sysv/aarch64/cpu-features.c (init_cpu_features):
326 Fix typo.
327
328 2017-06-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
329
330 * include/math.h (__signbitf128): Define as hidden.
331 * sysdeps/ieee754/float128/s_signbitf128.c (__signbitf128):
332 Reimplement without builtins.
333 * sysdeps/ia64/bits/floatn.h [!__GNUC_PREREQ (6, 0)]
334 (__builtin_signbitf128): Define to __signbitf128.
335 * sysdeps/powerpc/bits/floatn.h: Likewise.
336 * sysdeps/x86/bits/floatn.h: Likewise.
337
338 2017-06-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
339
340 * sysdeps/unix/sysv/linux/arm/fcntl.c: Remove file.
341 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
342 * sysdeps/unix/sysv/linux/hppa/fcntl.c: Likewise.
343 * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
344 * sysdeps/unix/sysv/linux/m68k/fcntl.c: Likewise.
345 * sysdeps/unix/sysv/linux/microblaze/fcntl.c: Likewise.
346 * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: Likewise.
347 * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise.
348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: Likewise.
349 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: Likewise.
350 * sysdeps/unix/sysv/linux/sh/fcntl.c: Likewise.
351 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: Likewise.
352 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Rename to
353 fcntl_common and add check for F_GETOWN.
354 (__libc_fcntl): Use SYSCALL_CANCEL macro.
355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Refactor to
356 use default implementation.
357
358 2017-06-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
359
360 * elf/dl-tunables.h (tunable_is_name): Move from...
361 * elf/dl-tunables.c (is_name): ... here.
362 (parse_tunables, __tunables_init): Adjust.
363 * manual/tunables.texi: Document glibc.tune.cpu.
364 * sysdeps/aarch64/dl-tunables.list: New file.
365 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (struct
366 cpu_list): New type.
367 (cpu_list): New list of CPU names and their MIDR.
368 (get_midr_from_mcpu): New function.
369 (init_cpu_features): Override MIDR if necessary.
370
371 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
372 (__libc_ifunc_impl_list): Unconditionally select thunderx
373 routine for testing.
374
375 2017-06-30 H.J. Lu <hongjiu.lu@intel.com>
376
377 [BZ #21120]
378 * malloc/malloc-internal.h (MALLOC_ALIGNMENT): Moved to ...
379 * sysdeps/generic/malloc-alignment.h: Here. New file.
380 * sysdeps/i386/malloc-alignment.h: Likewise.
381 * sysdeps/generic/malloc-machine.h: Include <malloc-alignment.h>.
382
383 2017-06-30 Florian Weimer <fweimer@redhat.com>
384
385 * resolv/tst-resolv-res_init-skeleton.c (test_init_names): New
386 variable.
387 (test_file_contents): Use it.
388
389 2017-06-30 Florian Weimer <fweimer@redhat.com>
390
391 * resolv/res_init.c (res_setoptions): Remove source argument.
392 (res_vinit_1): Adjust.
393
394 2017-06-30 Florian Weimer <fweimer@redhat.com>
395
396 * resolv/res_query.c (DEBUG): Remove preprocessor conditional.
397
398 2017-06-30 Florian Weimer <fweimer@redhat.com>
399
400 * resolv/res_data.c: Reformat to GNU style.
401 (res_close): Update comments.
402
403 2017-06-30 Florian Weimer <fweimer@redhat.com>
404
405 * resolv/res_data.c (res_query, res_search, res_querydomain)
406 (hostalias): Move to ...
407 * resolv/res_Send.c (res_query, res_search, res_querydomain)
408 (hostalias): here.
409
410 2017-06-30 Florian Weimer <fweimer@redhat.com>
411
412 * resolv/res_data.c (res_isourserver, res_send): Move to ...
413 * resolv/res_send.c (res_isourserver, res_send): here.
414
415 2017-06-30 Florian Weimer <fweimer@redhat.com>
416
417 * resolv/res_debug.c (_res_opcodes): Rename ...
418 (res_opcodes): ... as compatibility symbol.
419 (fp_nquery): Use res_opcodes.
420 * include/resolv.h (_res_opcodes): Remove declaration.
421
422 2017-06-30 Florian Weimer <fweimer@redhat.com>
423
424 * include/resolv.h (res_pquery): Remove declaration.
425 * resolv/res_data.c (fp_nquery, fp_query, p_query): Remove
426 functions.
427 (_res_opcodes): Remove variable.
428 * resolv/res_debug.c (do_section): Receive pfcode instead of
429 statp.
430 (res_pquery): Rename ...
431 (fp_nquery): to this function. Skip unnecessary _res
432 initialization.
433 (fp_query, p_query, _res_opcodes): Copied from resolv/res_data.c.
434
435 2017-06-30 Florian Weimer <fweimer@redhat.com>
436
437 * resolv/res_debug.h: Remove file.
438 * resolv/README: Adjust.
439
440 2017-06-30 Florian Weimer <fweimer@redhat.com>
441
442 * resolv/res_end.c (DEBUG): Remove macro and preprocessor
443 conditionals.
444 (Aerror, Perror): Remove function definitions.
445
446 2017-06-30 Florian Weimer <fweimer@redhat.com>
447
448 * resolv/res_data.c (res_mkquery): Move ...
449 * resolv/res_mkquery.c (res_mkquery): to here.
450
451 2017-06-30 Florian Weimer <fweimer@redhat.com>
452
453 * resolv/res_mkquery.c: Reformat to GNU style.
454 (T_OPT): Remove definition. It is present in the header file.
455
456 2017-06-30 Florian Weimer <fweimer@redhat.com>
457
458 * resolv/res_mkquery.c (DEBUG): Remove macro and preprocessor
459 conditionals.
460
461 2017-06-30 Florian Weimer <fweimer@redhat.com>
462
463 * support/support_capture_subprocess_check.c
464 (support_capture_subprocess_check): Report actual exit status.
465
466 2017-06-30 Florian Weimer <fweimer@redhat.com>
467
468 [BZ #19570]
469 * resolv/res_send.c (nameserver_offset): New function.
470 (__libc_res_nsend): Use it to implement RES_ROTATE.
471 (get_nsaddr): Add assert with name server
472 range check.
473 * resolv/Makefile (xtests): Add tst-resolv-rotate.
474 (tst-resolv-rotate): Link against libpthread.
475 * resolv/tst-resolv-rotate.c: New file.
476
477 2017-06-29 Joseph Myers <joseph@codesourcery.com>
478
479 [BZ #21457]
480 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (__ctx): New macro.
481 [__WORDSIZE == 64] (MC_TSTATE): Define only for [__USE_MISC].
482 [__WORDSIZE == 64] (MC_PC): Likewise.
483 [__WORDSIZE == 64] (MC_NPC): Likewise.
484 [__WORDSIZE == 64] (MC_Y): Likewise.
485 [__WORDSIZE == 64] (MC_G1): Likewise.
486 [__WORDSIZE == 64] (MC_G2): Likewise.
487 [__WORDSIZE == 64] (MC_G3): Likewise.
488 [__WORDSIZE == 64] (MC_G4): Likewise.
489 [__WORDSIZE == 64] (MC_G5): Likewise.
490 [__WORDSIZE == 64] (MC_G6): Likewise.
491 [__WORDSIZE == 64] (MC_G7): Likewise.
492 [__WORDSIZE == 64] (MC_O0): Likewise.
493 [__WORDSIZE == 64] (MC_O1): Likewise.
494 [__WORDSIZE == 64] (MC_O2): Likewise.
495 [__WORDSIZE == 64] (MC_O3): Likewise.
496 [__WORDSIZE == 64] (MC_O4): Likewise.
497 [__WORDSIZE == 64] (MC_O5): Likewise.
498 [__WORDSIZE == 64] (MC_O6): Likewise.
499 [__WORDSIZE == 64] (MC_O7): Likewise.
500 [__WORDSIZE == 64] (MC_NGREG): Rename to __MC_NGREG and define to
501 __MC_NGREG if [__USE_MISC].
502 [__WORDSIZE == 64] (MC_MAXFPQ): Define only for [__USE_MISC].
503 [__WORDSIZE == 64] (mc_gregset_t): Define using __MC_NGREG.
504 [__WORDSIZE == 64] (struct mc_fq): Rename to struct __mc_fq.
505 Define fields using __ctx.
506 [__WORDSIZE == 64] (mc_fpu_t): Remove struct tag. Define fields
507 using __ctx.
508 [__WORDSIZE == 64] (mcontext_t): Define fields using __ctx.
509 (REG_PSR): Define only for [__USE_MISC].
510 (REG_PC): Likewise.
511 (REG_nPC): Likewise.
512 (REG_Y): Likewise.
513 (REG_G1): Likewise.
514 (REG_G2): Likewise.
515 (REG_G3): Likewise.
516 (REG_G4): Likewise.
517 (REG_G5): Likewise.
518 (REG_G6): Likewise.
519 (REG_G7): Likewise.
520 (REG_O0): Likewise.
521 (REG_O1): Likewise.
522 (REG_O2): Likewise.
523 (REG_O3): Likewise.
524 (REG_O4): Likewise.
525 (REG_O5): Likewise.
526 (REG_O6): Likewise.
527 (REG_O7): Likewise.
528 [__WORDSIZE == 64] (REG_ASI): Define only for [__USE_MISC].
529 [__WORDSIZE == 64] (REG_FPRS): Likewise.
530 (NGREG): Rename to __NGREG and define to __NGREG if [__USE_MISC].
531 (gregset_t): Define using __NGREG.
532 (SPARC_MAXREGWINDOW): Rename to __SPARC_MAXREGWINDOW and define to
533 __SPARC_MAXREGWINDOW if [__USE_MISC].
534 (struct rwindow): Rename to struct __rwindow. Define fields using
535 __ctx.
536 (rw_fp): Define only for [__USE_MISC].
537 (rw_rtn): Likewise.
538 (gwindows_t): Remove struct tag. Define fields using __ctx and
539 __SPARC_MAXREGWINDOW.
540 (MAXFPQ): Define only for [__USE_MISC].
541 (struct fpq): Rename to struct __fpq. Define fields using __ctx.
542 (struct fq): Rename to struct __fq. Define fields using __ctx.
543 (FPU_REGS_TYPE): Define only for [__USE_MISC].
544 (FPU_DREGS_TYPE): Likewise.
545 (V7_FPU_FSR_TYPE): Likewise.
546 (V9_FPU_FSR_TYPE): Likewise.
547 (V9_FPU_FPRS_TYPE): Likewise.
548 [__WORDSIZE == 64] (fpregset_t): Remove struct tag. Define fields
549 using __ctx.
550 [__WORDSIZE != 64] (fpregset_t): Likewise.
551 [__WORDSIZE != 64] (xrs_t): Define fields using __ctx.
552 [__WORDSIZE != 64] (XRS_ID): Define only for [__USE_MISC].
553 [__WORDSIZE != 64] (mcontext_t): Define fields using __ctx.
554 Rename field filler to __glibc_reserved1.
555 * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym
556 (MC_FILLER): Remove.
557
558 2017-06-29 Florian Weimer <fweimer@redhat.com>
559
560 * stdio-common/tst-vfprintf-user-type.c (my_printf_function):
561 Adjust format string.
562 * stdio-common/Makefile (tst-vfprintf-mbs-prec.out): Add locale
563 dependency.
564
565 2017-06-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
566
567 * sysdeps/posix/spawni.c (__spawni_child): New function.
568 (__spawni): Rename to __spawnix.
569
570 2017-06-29 Florian Weimer <fweimer@redhat.com>
571
572 * stdio-common/vfprintf.c (group_number): Add front_ptr argument.
573 Use it to make the temporary copy at the start of the work buffer.
574 (process_arg): Adjust call to group_number.
575
576 2017-06-29 Florian Weimer <fweimer@redhat.com>
577
578 * stdio-common/vfprintf.c (printf_positional): Use struct
579 scratch_buffer to allocate backing storage for the args_value,
580 args_size, args_type arrays.
581
582 2017-06-29 Florian Weimer <fweimer@redhat.com>
583
584 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Use struct
585 scratch_buffer.
586
587 2017-06-29 Florian Weimer <fweimer@redhat.com>
588
589 * stdio-common/vfprintf.c (WORK_BUFFER_SIZE): Reduce size for
590 wchar_t builds.
591
592 2017-06-29 Florian Weimer <fweimer@redhat.com>
593
594 * stdio-common/tst-vfprintf-mbs-prec.c: New file.
595 * stdio-common/Makefile (tests): Add tst-vfprintf-mbs-prec.
596
597 2017-06-29 Florian Weimer <fweimer@redhat.com>
598
599 * stdio-common/tst-vfprintf-user-type.c: New file.
600 * stdio-common/Makefile (tests): Add tst-vfprintf-user-type.
601
602 2017-06-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
603
604 * posix/tst-spawn2.c (do_test): Use libsupport.
605 * posix/tst-spawn3.c (do_test): Likewise.
606
607 2017-06-28 Joseph Myers <joseph@codesourcery.com>
608
609 * math/gen-tgmath-tests.py (Tests.__init__): Define
610 __STDC_WANT_IEC_60559_TYPES_EXT__ at start of generated file.
611
612 * math/tgmath.h: Include <bits/libc-header-start.h> and
613 <bits/floatn.h>.
614 (__TGMATH_F128): New macro.
615 (__TGMATH_CF128): Likewise.
616 (__TGMATH_UNARY_REAL_ONLY): Use __TGMATH_F128.
617 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
618 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
619 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): New macro.
620 (__TGMATH_BINARY_REAL_ONLY): Use __TGMATH_F128.
621 (__TGMATH_BINARY_REAL_STD_ONLY): New macro.
622 (__TGMATH_BINARY_REAL_RET_ONLY): Use __TGMATH_F128.
623 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
624 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
625 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
626 (__TGMATH_UNARY_REAL_IMAG): Use __TGMATH_CF128.
627 (__TGMATH_UNARY_IMAG): Use __TGMATH_F128.
628 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __TGMATH_CF128.
629 (__TGMATH_BINARY_REAL_IMAG): Likewise.
630 (nexttoward): Use __TGMATH_BINARY_FIRST_REAL_STD_ONLY.
631 [__USE_MISC] (scalb): Use __TGMATH_BINARY_REAL_STD_ONLY.
632 * math/gen-tgmath-tests.py (Type.init_types): Enable _FloatN and
633 _FloatNx types if the corresponding HUGE_VAL macros are defined.
634
635 * math/tgmath.h [__USE_GNU] (log10): Use clog10 not __clog10.
636 * math/gen-tgmath-tests.py (Tests.add_all_tests): Test log10 for
637 complex arguments.
638
639 [BZ #21687]
640 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): New macro.
641 (totalorder): Use it.
642 (totalordermag): Likewise.
643 * math/gen-tgmath-tests.py (Tests.add_all_tests): Enable tests of
644 totalorder and totalordermag.
645 * math/test-tgmath.c (F(compile_test)): Do not call totalorder or
646 totalordermag in arguments of calls to those functions.
647 (NCALLS): Change to 134.
648
649 * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): Do not take or
650 cast to return type argument.
651 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
652 (lrint): Update call to __TGMATH_UNARY_REAL_RET_ONLY.
653 (llrint): Likewise.
654 (lround): Likewise.
655 (llround): Likewise.
656 (ilogb): Likewise.
657 (llogb): Likewise.
658 (fromfp): Update call to __TGMATH_TERNARY_FIRST_REAL_RET_ONLY.
659 (ufromfp): Likewise.
660 (fromfpx): Likewise.
661 (ufromfpx): Likewise.
662
663 [BZ #21607]
664 * math/basic-test.c [!NO_LONG_DOUBLE]: Change conditionals to
665 [LDBL_MANT_DIG > DBL_MANT_DIG].
666 * math/bug-nextafter.c [!NO_LONG_DOUBLE]: Remove conditionals.
667 * math/bug-nexttoward.c [!NO_LONG_DOUBLE]: Likewise.
668 * math/test-math-isinff.cc [!NO_LONG_DOUBLE]: Likewise.
669 * math/test-math-iszero.cc [!NO_LONG_DOUBLE]: Likewise.
670 * math/test-nan-overflow.c [!NO_LONG_DOUBLE]: Likewise.
671 * math/test-nan-payload.c [!NO_LONG_DOUBLE]: Likewise.
672 * math/test-nearbyint-except-2.c [!NO_LONG_DOUBLE]: Likewise.
673 * math/test-nearbyint-except.c [!NO_LONG_DOUBLE]: Likewise.
674 * math/test-powl.c [!NO_LONG_DOUBLE]: Likewise.
675 * math/test-signgam-finite-c99.c [!NO_LONG_DOUBLE]: Likewise.
676 * math/test-signgam-finite.c [!NO_LONG_DOUBLE]: Likewise.
677 * math/test-signgam-main.c [!NO_LONG_DOUBLE]: Likewise.
678 * math/test-snan.c [!NO_LONG_DOUBLE]: Likewise.
679 * math/test-tgmath-ret.c [!NO_LONG_DOUBLE]: Likewise.
680 * math/test-tgmath.c: Include <float.h>.
681 [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
682 DBL_MANT_DIG].
683 * math/test-tgmath2.c: Include <float.h>.
684 [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
685 DBL_MANT_DIG].
686
687 * math/gen-tgmath-tests.py: New file.
688 * math/Makefile [PYTHON] (tests): Add test-tgmath3.
689 [PYTHON] (generated): Add test-tgmath3.c.
690 [PYTHON] (CFLAGS-test-tgmath3.c): New variable.
691 [PYTHON] ($(objpfx)test-tgmath3.c): New rule.
692
693 * configure.ac (AS): Require binutils 2.25 or later.
694 (LD): Likewise.
695 * configure: Regenerated.
696 * sysdeps/s390/configure.ac (AS): Remove version check.
697 * sysdeps/s390/configure: Regenerated.
698 * sysdeps/x86_64/configure.ac (AS): Remove version check.
699 * sysdeps/x86_64/configure: Regenerated.
700 * manual/install.texi (Tools for Compilation): Document
701 requirement for binutils 2.25 or later.
702 * INSTALL: Regenerated.
703
704 2017-06-28 H.J. Lu <hongjiu.lu@intel.com>
705
706 [BZ #14995]
707 * configure.ac: Allow gold 1.14 or above to configire glibc
708 * configure: Regenerated.
709
710 2017-06-28 Joseph Myers <joseph@codesourcery.com>
711
712 [BZ #21457]
713 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset_t): Remove
714 struct tag.
715 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (fpregset_t):
716 Likewise.
717 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (mcontext_t):
718 Likewise.
719 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (pt_regs):
720 Declare struct type with __ctx.
721 [__WORDSIZE != 32] (mcontext_t): Use __ctx with pt_regs struct
722 tag.
723 (ucontext_t) [__WORDSIZE == 32]: Use __ctx with pt_regs struct tag
724 and regs field name.
725
726 2017-06-27 Joseph Myers <joseph@codesourcery.com>
727
728 * elf/loadtest.c (OUT): Define using do { } while (0).
729
730 * time/strftime_l.c (DO_NUMBER): Define using do { } while (0).
731 (DO_NUMBER_SPACEPAD): Likewise.
732
733 2017-06-27 Prakhar Bahuguna <prakhar.bahuguna@arm.com>
734
735 * sysdeps/arm/armv7/multiarch/Makefile: Add memchr_neon to
736 sysdep_routines.
737 * sysdeps/arm/armv7/multiarch/ifunc-impl-list.c: Add define for
738 __memchr_neon.
739 Add ifunc definitions for __memchr_neon and __memchr_noneon.
740 * sysdeps/arm/armv7/multiarch/memchr.S: New file.
741 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Likewise.
742 * sysdeps/arm/armv7/multiarch/memchr_neon.S: Likewise.
743
744 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
745
746 * sysdeps/s390/utf8-utf16-z9.c (__to_utf8_loop_vx_cu):
747 Use vector and cu21 instruction.
748 * sysdeps/s390/multiarch/utf8-utf16-z9.c:
749 Add __to_utf8_loop_vx_cu in ifunc resolver.
750
751 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
752
753 * sysdeps/s390/utf16-utf32-z9.c (__from_utf16_loop_vx_cu):
754 Use vector and cu24 instruction.
755
756 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
757
758 * sysdeps/s390/utf16-utf32-z9.c (__to_utf16_loop_vx_cu):
759 Use vector and cu42 instruction.
760 * sysdeps/s390/multiarch/utf16-utf32-z9.c:
761 Add __to_utf16_loop_vx_cu in ifunc resolver.
762
763 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
764
765 * sysdeps/s390/utf8-utf32-z9.c (__to_utf8_loop_vx_cu):
766 Use vector and cu41 instruction.
767 * sysdeps/s390/multiarch/utf8-utf32-z9.c: Add __to_utf8_loop_vx_cu
768 in ifunc resolver.
769
770 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
771
772 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
773 Add vxd, vxe, gs flag.
774 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXD, HWCAP_S390_VXE,
775 HWCAP_S390_GS capability.
776 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
777 (HWCAP_S390_VXD, HWCAP_S390_VXE, HWCAP_S390_GS): Define.
778
779 2017-06-27 H.J. Lu <hongjiu.lu@intel.com>
780
781 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (MEMCMP): Check
782 the first 32 bytes before checking size when size >= 32 bytes.
783 Replace vpmovmskb/subl/jnz with vptest/jnc.
784
785 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
786
787 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE): Use r12 for GOT address.
788 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE): Likewise.
789
790 2017-06-27 Florian Weimer <fweimer@redhat.com>
791
792 Work around test timeouts with ICMP rate limiting on localhost.
793 * resolv/tst-resolv-res_init-skeleton.c (start_dummy_server): New
794 function.
795 (do_test): Call it.
796
797 2017-06-27 Florian Weimer <fweimer@redhat.com>
798
799 Call _res_hconf_init from __res_vinit.
800 * inet/gethstbyad_r.c (NEED__RES_HCONF): Remove.
801 * inet/gethstbynm2_r.c (NEED__RES_HCONF): Likewise.
802 (NEED__RES): Define.
803 * inet/gethstbynm_r.c (NEED__RES_HCONF): Remove.
804 (NEED__RES): Define.
805 * nscd/aicache.c (addhstaiX): Remove call to _res_hconf_init.
806 * nscd/gethstbyad_r.c (NEED__RES_HCONF): Remove.
807 * nscd/gethstbynm3_r.c (NEED__RES_HCONF): Likewise.
808 (NEED__RES): Define.
809 * nss/getXXbyYY_r.c (REENTRANT_NAME): Remove call to
810 _res_hconf_init.
811 * resolv/res_hconf.h (_res_hconf_init): Declare as hidden.
812 * resolv/res_init.c (__res_vinit): Call _res_hconf_init.
813 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove call to
814 _res_hconf_init.
815
816 2017-06-26 Joseph Myers <joseph@codesourcery.com>
817
818 * sysdeps/ia64/Implies: Add ieee754/float128.
819 * sysdeps/ia64/bits/floatn.h: New file.
820 * sysdeps/ia64/float128-abi.h: Likewise.
821 * manual/math.texi (Mathematics): Document support for _Float128
822 on ia64.
823 * sysdeps/ia64/Makefile [$(subdir) = math] (CPPFLAGS): Append to
824 Makefile variable.
825 * sysdeps/ia64/fpu/e_sqrtf128.c: New file.
826 * sysdeps/ia64/fpu/k_rem_pio2.c: Remove file.
827 * sysdeps/ia64/fpu/sfp-machine.h: New file. Based on libgcc.
828 * sysdeps/ia64/math-tests.h: New file.
829 * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): Also define
830 based on TEST_COND_binary128 for [__ia64__].
831 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Update.
832 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise,
833
834 [BZ #21457]
835 * sysdeps/arm/sys/ucontext.h (struct ucontext): Rename to struct
836 ucontext_t.
837 * sysdeps/generic/sys/ucontext.h (struct ucontext): Likewise.
838 * sysdeps/i386/sys/ucontext.h (struct ucontext): Likewise.
839 * sysdeps/m68k/sys/ucontext.h (struct ucontext): Likewise.
840 * sysdeps/mips/sys/ucontext.h (struct ucontext): Likewise.
841 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (struct
842 ucontext): Likewise.
843 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (struct ucontext):
844 Likewise.
845 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (struct ucontext):
846 Likewise.
847 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (struct ucontext):
848 Likewise.
849 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (struct ucontext):
850 Likewise.
851 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (struct ucontext):
852 Likewise.
853 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (struct ucontext):
854 Likewise.
855 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (struct ucontext):
856 Likewise.
857 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (struct
858 ucontext): Likewise.
859 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (struct ucontext):
860 Likewise.
861 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (struct ucontext):
862 Likewise.
863 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct ucontext):
864 Likewise.
865 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (struct ucontext):
866 Likewise.
867 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (struct ucontext):
868 Likewise.
869 * sysdeps/powerpc/powerpc32/backtrace.c (struct
870 rt_signal_frame_32): Likewise.
871 * sysdeps/powerpc/powerpc64/backtrace.c (struct signal_frame_64):
872 Likewise.
873 * sysdeps/unix/sysv/linux/aarch64/kernel_rt_sigframe.h (struct
874 kernel_rt_sigframe): Likewise.
875 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT):
876 Likewise.
877 * sysdeps/unix/sysv/linux/arm/register-dump.h (register_dump):
878 Likewise.
879 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h (SIGCONTEXT):
880 Likewise.
881 * sysdeps/unix/sysv/linux/hppa/profil-counter.h
882 (__profil_counter): Likewise.
883 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
884 (SIGCONTEXT): Likewise.
885 * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
886 kernel_rt_sigframe): Likewise.
887 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h (struct
888 kernel_rt_sigframe): Likewise.
889 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h (SIGCONTEXT):
890 Likewise.
891 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext):
892 Likewise.
893 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
894 (__start_context): Likewise.
895 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h (SIGCONTEXT):
896 Likewise.
897 * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
898 Likewise.
899 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
900 Likewise.
901
902 * sysdeps/i386/Implies: Add ieee754/float128.
903 * sysdeps/x86_64/Implies: Likewise.
904 * sysdeps/x86/bits/floatn.h: New file.
905 * sysdeps/x86/float128-abi.h: Likewise.
906 * manual/math.texi (Mathematics): Document support for _Float128
907 on x86_64 and x86.
908 * sysdeps/i386/fpu/fenv_private.h: Include <bits/floatn.h>.
909 (math_opt_barrier): Do not put _Float128 values in floating-point
910 registers.
911 (math_force_eval): Likewise.
912 [__x86_64__] (SET_RESTORE_ROUNDF128): New macro.
913 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (CPPFLAGS): Append
914 to Makefile variable.
915 * sysdeps/x86/fpu/e_sqrtf128.c: New file.
916 * sysdeps/x86/fpu/sfp-machine.h: Likewise. Based on libgcc.
917 * sysdeps/x86/math-tests.h: New file.
918 * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): New macro.
919 * math/libm-test-getpayload.inc (getpayload_test_data): Use
920 XFAIL_FLOAT128_PAYLOAD.
921 * math/libm-test-setpayload.inc (setpayload_test_data): Likewise.
922 * math/libm-test-totalorder.inc (totalorder_test_data): Likewise.
923 * math/libm-test-totalordermag.inc (totalordermag_test_data):
924 Likewise.
925 * sysdeps/unix/sysv/linux/i386/libc.abilist: Update.
926 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
927 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
928 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
929 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
930 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
931 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
932 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
934
935 2017-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
936
937 [BZ #21512]
938 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Call exit
939 syscall instead of jump to _exit.
940 (CLONE_VM_BIT): Remove unused define.
941 (CLONE_VM): Likewise.
942 (CLONE_THREAD_BIT): Likewise.
943 (CLONE_THREAD): Likewise.
944 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
945 (CLONE_VM): Remove unused define.
946 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
947 (CLONE_VM): Remove unused define.
948 (CLONE_THREAD): Likewise.
949 * sysdeps/unix/sysv/linux/i386/clone.S (CLONE_VM): Likewise.
950 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Call exit
951 syscall instead of jump to _exit.
952 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
953 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
954 (CLONE_VM): Remove unused define.
955 (CLONE_THREAD): Likewise.
956 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
957 (CLONE_VM): Remove unused define.
958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
959 Likewise.
960 (CLONE_VM): Remove unused define.
961 (CLONE_THREAD): Likewise.
962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
963 Likewise.
964 (CLONE_VM): Remove unused define.
965 (CLONE_THREAD): Likewise.
966 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
967 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
968 (CLONE_VM): Remove unused define.
969 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
970 (CLONE_VM): Remove unused define.
971 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
972 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
973 (CLONE_VM): Remove unused define.
974 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-clone3.
975 * sysdeps/unix/sysv/linux/tst-clone3.c: New file.
976
977 2017-06-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
978 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
979
980 * manual/math.texi (Mathematics): Mention the enabling of float128
981 for powerpc64le.
982 * sysdeps/powerpc/bits/floatn.h: New file.
983 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
984 * sysdeps/powerpc/fpu/math_private.h:
985 (__ieee754_sqrtf128): New inline override.
986 * sysdeps/powerpc/powerpc64le/Implies-before: New file.
987 * sysdeps/powerpc/powerpc64le/Makefile: New file.
988 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: New file.
989 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: New file.
990 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: New file.
991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
992 Updated.
993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
994 Likewise.
995 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h:
996 New file.
997
998 2017-06-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
999
1000 * sysdeps/powerpc/powerpc64le/configure.ac: Check for POWER8.
1001 * sysdeps/powerpc/powerpc64le/configure: Update.
1002
1003 2017-06-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1004 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1005
1006 * INSTALL: Regenerate.
1007 * manual/install.texi (Recommended Tools for Compilation): Mention
1008 the powerpc64le-specific requirement in the manual.
1009 * sysdeps/powerpc/powerpc64le/configure.ac: New file with checks
1010 for the compiler features required for building float128.
1011 * sysdeps/powerpc/powerpc64le/configure: New, auto-generated file.
1012
1013 2017-06-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1014
1015 * malloc/tst-alloc_buffer.c (test_misaligned): Cast to char
1016 before comparing with another char.
1017
1018 2017-06-25 Rical Jasan <ricaljasan@pacific.net>
1019
1020 * manual/math.texi: Fix a grammatical error.
1021
1022 2017-06-24 Florian Weimer <fweimer@redhat.com>
1023
1024 [BZ #21295]
1025 * resolv/tst-resolv-basic.c (do_test): Add new test cases.
1026
1027 2017-06-24 Dmitry Bilunov <kmeaw@kmeaw.com>
1028
1029 [BZ #21295]
1030 * sysdeps/posix/getaddrinfo.c (convert_hostent_to_gaih_addrtuple):
1031 Append addresses at the end of the list.
1032
1033 2017-06-23 H.J. Lu <hongjiu.lu@intel.com>
1034
1035 [BZ #21666]
1036 * misc/regexp.c (loc1): Add __attribute__ ((nocommon));
1037 (loc2): Likewise.
1038 (locs): Likewise.
1039
1040 2017-06-23 Florian Weimer <fweimer@redhat.com>
1041
1042 [BZ #16637]
1043 inet_pton: Reject invalid IPv6 addresses with many leading zeros.
1044 * resolv/inet_pton.c (inet_pton6): Count number of hexadecimal
1045 digits between colons.
1046 * resolv/tst-inet_pton.c (test_cases): Adjust test expectations.
1047
1048 2017-05-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1049 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
1050
1051 * include/sched.h (__sched_get_priority_max): Add libc hidden proto.
1052 (__sched_get_prioriry_min): Likewise.
1053 * include/sys/mman.h (__mmap): Likewise.
1054 (__mmap64): Likewise.
1055 (__munmap): Likewise.
1056 (__mprotect): Likewise.
1057 * include/termios.h (__tcsetattr): Likewise.
1058 * include/time.h (__nanosleep): Use hidden_proto instead of
1059 libc_hidden_proto.
1060 * posix/nanosleep.c (__nanosleep): Likewise.
1061 * misc/Versions (libc): Export __mmap, __munmap, __mprotect,
1062 __sched_get_priority_min, and __sched_get_priority_max under
1063 GLIBC_PRIVATE.
1064 * nptl/allocatestack.c (__free_stacks): Use internal definition for
1065 libc symbols.
1066 (change_stack_perm): Likewise.
1067 (change_stack_perm): Likewise.
1068 (allocate_stack): Likewise.
1069 * sysdeps/posix/gethostname.c: Likewise.
1070 * nptl/tpp.c (__init_sched_fifo_prio): Likewise.
1071 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
1072 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
1073 * nptl/pthreadP.h (__pthread_mutex_timedlock): Add definition.
1074 (__pthread_key_delete): Likewise.
1075 (__pthread_detach): Likewise.
1076 (__pthread_cancel): Likewise.
1077 (__pthread_mutex_trylock): Likewise.
1078 (__pthread_mutexattr_init): Likewise.
1079 (__pthread_mutexattr_settype): Likewise.
1080 * nptl/pthread_cancel.c (pthread_cancel): Change to internal name and
1081 create alias for exported one.
1082 * nptl/pthread_join.c (pthread_join): Likewise.
1083 * nptl/pthread_detach.c (pthread_detach): Likewise.
1084 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
1085 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1086 * nptl/pthread_create.c: Change static requirements for pthread
1087 symbols.
1088 * nptl/pthread_equal.c (__pthread_equal): Change strong alias to weak
1089 for internal definition.
1090 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1091 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
1092 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
1093 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): Likewise.
1094 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1095 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1096 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1097 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock): Likewise.
1098 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likwise.
1099 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
1100 Likewise.
1101 * nptl/pthread_self.c (__pthread_self): Likewise.
1102 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
1103 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
1104 * misc/mmap.c (__mmap): Add internal symbol definition.
1105 * misc/mmap.c (__mmap64): Likewise.
1106 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
1107 * sysdeps/unix/sysv/linux/mmap64.c (__mmap): Likewise.
1108 (__mmap64): Likewise.
1109 * sysdeps/unix/sysv/linux/i386/Versions (libc) [GLIBC_PRIVATE):
1110 Add __uname.
1111
1112 2017-06-23 Joseph Myers <joseph@codesourcery.com>
1113
1114 * sysdeps/i386/fpu/libm-test-ulps: Update.
1115 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1116
1117 * libm-test-support.c (check_float_internal): Clear exceptions at
1118 end of function.
1119 (check_int): Likewise.
1120 (check_long): Likewise.
1121 (check_bool): Likewise.
1122 (check_longlong): Likewise.
1123 (check_intmax_t): Likewise.
1124 (check_uintmax_t): Likewise.
1125
1126 * sysdeps/x86/fpu/bits/fenv.h [_LIBC] (__feraiseexcept_renamed):
1127 Do not declare.
1128 * sysdeps/x86/fpu/include/bits/fenv.h [_LIBC &&
1129 __USE_EXTERN_INLINES] (__feraiseexcept_renamed): Declare here,
1130 redirected to __GI_feraiseexcept if [SHARED && IS_IN (libm)].
1131
1132 2017-06-23 H.J. Lu <hongjiu.lu@intel.com>
1133
1134 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1135 Replace movzbl and orl with movb.
1136
1137 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1138
1139 * manual/arith.texi (Infinity and NaN): Document SNANFN and SNANFNx.
1140 (Error Reporting by Mathematical Functions): Document HUGE_VAL_FN
1141 and HUGE_VAL_FNx.
1142 (Absolute Value): Document fabsfN, fabsfNx, cabsfN, cabsfNx.
1143 Rephrase the paragraph that mentions that fabs, fabsf, and fabsl
1144 are in math.h, to avoid having to list the _FloatN and _FloatNx
1145 variants as well. Likewise for the cabs functions.
1146 (Normalization Functions): Document frexpfN, frexpfNx, ldexpfN,
1147 ldexpfNx, scalbnfN, scalbnfNx, scalblnfN, scalblnfNx.
1148 Mention that _FloatN and _FloatNx variants of scalbn and scalbln
1149 come from TS 18661-3, since this section explicitly states that
1150 these functions come from BSD.
1151 (Rounding Functions): Document ceilfN, ceilfNx, floorfN, floorfNx,
1152 truncfN, truncfNx, rintfN, rintfNx, nearbyintfN, nearbyintfNx,
1153 roundfN, roundfNx, roundevenfN, roundevenfNx, lrintfN, lrintfNx,
1154 llrintfN, llrintfNx, lroundfN, lroundfNx, llroundfN, llroundfNx,
1155 fromfpfN, fromfpfNx, ufromfpfN, ufromfpfNx, fromfpxfN, fromfpxfNx,
1156 ufromfpxfN, ufromfpxfNx, modffN, modffNx.
1157 (Remainder Functions): Document fmodfN, fmodfNx, remainderfN,
1158 remainderfNx.
1159 (Setting and modifying single bits of FP values): Document
1160 copysignfN, copysignfNx, nextafterfN, nextafterfNx, nextupfN,
1161 nextupfNx, nextdownfN, nextdownfNx, nanfN, nanfNx, canonicalizefN,
1162 canonicalizefNx, getpayloadfN, getpayloadfNx, setpayloadfN,
1163 setpayloadfNx, setpayloadsigfN, setpayloadsigfNx.
1164 (Floating-Point Comparison Functions): Document totalorderfN,
1165 totalorderfNx, totalordermagfN, totalordermagfNx.
1166 (Miscellaneous FP arithmetic functions): Document fminfN, fminfNx,
1167 fmaxfN, fmaxfNx, fminmagfN, fminmagfNx, fmaxmagfN, fmaxmagfNx,
1168 fdimfN, fdimfNx, fmafN, fmafNx.
1169 (Complex Numbers): Document the complex types: _FloatN complex and
1170 _FloatNx complex.
1171 (rojections, Conjugates, and Decomposing of Complex Numbers):
1172 Document crealfN, crealfNx, cimagfN, cimagfNx, conjfN, conjfNx,
1173 cargfN, cargfNx, cprojfN, cprojfNx.
1174 * manual/math.texi (Mathematics): Mention that the _FloatN and
1175 _FloatNx variants of the math functions come from TS 18661-3,
1176 unless otherwise stated.
1177 (Predefined Mathematical Constants): Document the _FloatN and
1178 _FloatNx variants of the macros prefixed with M_.
1179 (Trigonometric Functions): Document sinfN, sinfNx, cosfN, cosfNx,
1180 tanfN, tanfNx, sincosfN, sincosfNx, csinfN, csinfNx, ccosfN,
1181 ccosfNx, ctanfN, ctanfNx.
1182 (Inverse Trigonometric Functions): Document asinfN, asinfNx,
1183 acosfN, acosfNx, atanfN, atanfNx, atan2fN, atan2fNx.
1184 (Exponentiation and Logarithms): Document expfN, expfNx, exp2fN,
1185 exp2fNx, exp10fN, exp10fNx, logfN, logfNx, log10fN, log10fNx,
1186 log2fN, log2fNx, logbfN, logbfNx, ilogbfN, ilogbfNx, llogbfN,
1187 llogbfNx, powfN, powfNx, sqrtfN, sqrtfNx, cbrtfN, cbrtfNx, hypotfN,
1188 hypotfNx, expm1fN, expm1fNx, log1pfN, log1pfNx, cexpfN, cexpfNx,
1189 clogfN, clogfNx, clog10fN, clog10fNx, csqrtfN, csqrtfNx, cpowfN,
1190 cpowfNx.
1191 (Hyperbolic Functions): sinhfN, sinhfNx, coshfN, coshfNx, tanhfN,
1192 tanhfNx, csinhfN, csinhfNx, ccoshfN, ccoshfNx, ctanhfN, ctanhfNx,
1193 asinhfN, asinhfNx, acoshfN, acoshfNx, atanhfN, atanhfNx, casinhfN,
1194 casinhfNx, cacoshfN, cacoshfNx, catanhfN, catanhfNx.
1195 (Special Functions): Document erffN, erffNx, erfcfN, erfcfNx,
1196 lgammafN, lgammafNx, lgammarfN_r, lgammafNx_r, tgammafN, tgammafNx,
1197 j0fN, j0fNx, j1fN, j1fNx, jnfN, jnfNx, y0fN, y0fNx, y1fN, y1fNx,
1198 ynfN, ynfNx.
1199
1200 2017-06-23 Florian Weimer <fweimer@redhat.com>
1201
1202 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): Fix typo in comment.
1203
1204 2017-06-23 Florian Weimer <fweimer@redhat.com>
1205
1206 * resolv/res_libc.c: Reformat to GNU style.
1207
1208 2017-06-23 Florian Weimer <fweimer@redhat.com>
1209
1210 * resolv/resolv-internal.h (__res_initstamp): Declare.
1211 * resolv/res_init.c (__res_initstamp): Remove hidden attribute.
1212 It is implied by the declaration.
1213 * resolv/res_libc.c (__res_initstamp): Remove declaration.
1214
1215 2017-06-23 Florian Weimer <fweimer@redhat.com>
1216
1217 [BZ #21662]
1218 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1219 Use only 24 bits of the register before the subtraction.
1220 * string/test-memcmp.c (check1): Check with different lengths.
1221
1222 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1223
1224 * sysdeps/ieee754/float128/Makefile (CFLAGS-strfromf128.c): Add
1225 $(libio-mtsafe) to get the value of IO_MTSAFE_IO.
1226
1227 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1228
1229 * manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps):
1230 Enable generation of float128 entries on the error table.
1231
1232 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1233
1234 * include/float.h: Include libc-header-start.h to get the
1235 definition of __GLIBC_USE.
1236
1237 2017-06-23 Paul A. Clarke <pc@us.ibm.com>
1238
1239 * sysdeps/ieee754/flt-32/e_powf.c: Optimized implementation utilizing
1240 rearranged code and doubles float types.
1241
1242 2017-06-23 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
1243
1244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Change
1245 s_sinf.c from sysdeps/ieee754/flt-32/ to sysdeps/powerpc/fpu/.
1246
1247 2017-06-23 Paul A. Clarke <pc@us.ibm.com>
1248
1249 * sysdeps/unix/sysv/linux/powerpc/sysconf.c: Remove references
1250 to errno, and simplify remaining related code.
1251
1252 2017-06-23 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1253
1254 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_DARN and
1255 PPC_FEATURE2_SCV.
1256 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add scv
1257 and darn.
1258
1259 2017-06-23 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1260
1261 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S(STRRCHR): Define
1262 the implementation-specific function name and remove unneeded macros
1263 definition.
1264 * sysdeps/powerpc/powerpc64/power8/strrchr.S(STRRCHR): Set a default
1265 function name if not defined and pass as parameter to macros
1266 accordingly.
1267
1268 2017-06-23 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1269
1270 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1271 (libm-sysdep_routines): Add s_llroundf-ppc64.
1272 * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S
1273 (__llroundf): Define as strong alias of __llround.
1274 (llroundf): Define as weak alias of __llround.
1275 (__lroundf): Define as strong alias of __llround.
1276 (lroundf): Define as weak alias of __llround.
1277 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1278 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file.
1280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise.
1281 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1282 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1283 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1284
1285 2017-06-22 Joseph Myers <joseph@codesourcery.com>
1286
1287 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h
1288 [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro.
1289
1290 * sysdeps/generic/math-tests.h: Include <bits/floatn.h>.
1291 (MATH_TESTS_TG): New macro.
1292 (SNAN_TESTS_float128): Likewise.
1293 (ROUNDING_TESTS_float128): Likewise.
1294 (EXCEPTION_TESTS_float128): Likewise.
1295 (SNAN_TESTS): Define using MATH_TESTS_TG.
1296 (ROUNDING_TESTS): Likewise.
1297 (EXCEPTION_TESTS): Likewise.
1298
1299 * sysdeps/ieee754/float128/float128_private.h
1300 [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and
1301 pass it to SET_RESTORE_ROUNDF128.
1302
1303 * sysdeps/ieee754/float128/float128_private.h: Include
1304 <ieee754.h>.
1305
1306 * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply
1307 typeof to argument passed to __builtin_types_compatible_p.
1308 (min_of_type): Pass type argument, not x, to __EXPR_FLT128.
1309
1310 * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include
1311 <errno.h>.
1312 * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1313 * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1314 * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1315 * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1316 * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1317 * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1318 * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1319 * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1320 * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1321 * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1322 * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1323 * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1324 * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1325 * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1326 * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1327 * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1328 * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1329 * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1330 * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1331 * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1332 * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1333 * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1334
1335 * sysdeps/ieee754/float128/strtof128_l.c: Include
1336 <bits/types/locale_t.h> instead of <xlocale.h>.
1337 * sysdeps/ieee754/float128/wcstof128.c: Likewise.
1338 * sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
1339
1340 2017-06-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
1341
1342 * benchtests/scripts/benchout_strings.schema.json: New file.
1343 * benchtests/scripts/compare_strings.py: New file.
1344
1345 * benchtests/bench-memcpy-large.c: Include json-lib.h.
1346 (do_one_test): Print json.
1347 (do_test): Likewise.
1348 (test_main): Likewise.
1349 * benchtests/bench-memcpy-random.c: Include json-lib.h.
1350 (do_one_test): Print json.
1351 (do_test): Likewise.
1352 (test_main): Likewise.
1353 * benchtests/bench-memcpy.c: Include json-lib.h.
1354 (do_one_test): Print json.
1355 (do_test): Likewise.
1356 (test_main): Likewise.
1357
1358 * benchtests/json-lib.h: Include inttypes.h.
1359 (json_attr_int, json_attr_int, json_element_string,
1360 json_element_int, json_element_uint): New functions.
1361 * benchtests/json-lib.c: (json_attr_int, json_attr_int,
1362 json_element_string, json_element_int, json_element_uint): New
1363 functions.
1364
1365 2017-06-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1366
1367 * manual/arith.texi (Remainder Functions): Describe remainder as
1368 primary and drem as an alternative name. Change the comment on
1369 remainder to ISO, since it is defined in ISO C99.
1370
1371 2017-06-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1372
1373 * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition
1374 macro expansion.
1375 (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128.
1376
1377 2017-06-22 Mike FABIAN <mfabian@redhat.com>
1378
1379 [BZ #21533]
1380 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1381 201706L for Unicode 10.0.
1382
1383 2017-06-21 Benjamin Cama <b.cama@kerlink.fr>
1384
1385 [BZ #21657]
1386 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes
1387 on node-local addresses.
1388 * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test.
1389
1390 2017-06-21 Florian Weimer <fweimer@redhat.com>
1391
1392 * intl/loadmsgcat.c: Remove alloca support.
1393 (_nl_load_domain): Use calloc instead of alloca.
1394
1395 2017-04-21 Florian Weimer <fweimer@redhat.com>
1396
1397 * malloc/Makefile (tests-internal): Add tst-alloc_buffer.
1398 (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate,
1399 alloc_buffer_copy_bytes, alloc_buffer_copy_string,
1400 alloc_buffer_create_failure.
1401 * malloc/Versions (__libc_alloc_buffer_alloc_array)
1402 (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes)
1403 (__libc_alloc_buffer_copy_string)
1404 (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE.
1405 * malloc/alloc_buffer_alloc_array.c: New file.
1406 * malloc/alloc_buffer_allocate.c: Likewise.
1407 * malloc/alloc_buffer_copy_bytes.c: Likewise.
1408 * malloc/alloc_buffer_copy_string.c: Likewise.
1409 * malloc/alloc_buffer_create_failure.c: Likewise.
1410 * malloc/tst-alloc_buffer.c: Likewise.
1411
1412 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1413
1414 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1415 strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2,
1416 strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx,
1417 strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx.
1418 * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file.
1419 * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise.
1420 * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise.
1421 * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise.
1422 * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise.
1423 * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise.
1424 * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise.
1425 * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise.
1426 * sysdeps/x86_64/multiarch/strcmp.c: Likewise.
1427 * sysdeps/x86_64/multiarch/strncase.c: Likewise.
1428 * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise.
1429 * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise.
1430 * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise.
1431 * sysdeps/x86_64/multiarch/strncase_l.c: Likewise.
1432 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise.
1433 * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise.
1434 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
1435 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed.
1436 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1437 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1438 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1439 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include <sysdep.h>.
1440 (STRCMP_SSE42): New. Defined to __strcmp_sse42 if not defined.
1441 [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include
1442 "locale-defines.h".
1443 (UPDATE_STRNCMP_COUNTER): New.
1444 (SECTION): Likewise.
1445 (GLABEL): Likewise.
1446 (LABEL): Likewise.
1447 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable
1448 for libc.a.
1449
1450 2017-06-21 Joseph Myers <joseph@codesourcery.com>
1451
1452 [BZ #21622]
1453 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
1454 Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
1455 __USE_MISC].
1456 (SA_NODEFER): Likewise.
1457 (SA_RESETHAND): Likewise.
1458
1459 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1460
1461 * elf/dl-tunables.list (glibc.tune.ifunc): Removed.
1462 * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New.
1463 Remove security_level on all fields.
1464 * manual/tunables.texi: Replace ifunc with hwcaps.
1465 * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)):
1466 Renamed to ..
1467 (TUNABLE_CALLBACK (set_hwcaps)): This.
1468 (init_cpu_features): Updated.
1469 * sysdeps/x86/cpu-features.h (cpu_features): Change type of
1470 data_cache_size, data_cache_size and non_temporal_threshold to
1471 unsigned long int.
1472 * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed.
1473 (TUNABLE_CALLBACK (set_ifunc)): Renamed to ...
1474 (TUNABLE_CALLBACK (set_hwcaps)): This. Update comments. Don't
1475 use DEFAULT_STRLEN.
1476
1477 2017-06-21 Florian Weimer <fweimer@redhat.com>
1478
1479 * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
1480 asprintf to construct an absolute pathname.
1481
1482 2017-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1483
1484 * misc/tst-preadvwritev2-common.c: New file.
1485 * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
1486 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
1487
1488 2017-06-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1489
1490 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
1491 annotation.
1492 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1493
1494 2017-06-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1495
1496 * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
1497 hidden __GI__dl_argv symbol.
1498
1499 2017-06-21 Florian Weimer <fweimer@redhat.com>
1500
1501 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
1502 to parse addresses with IPv6 scope IDs.
1503
1504 2017-06-21 Florian Weimer <fweimer@redhat.com>
1505
1506 Add the __inet_pton_length helper function.
1507 * resolv/resolv-internal.h (__inet_pton_length): Declare.
1508 * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
1509 Add length argument.
1510 (__inet_pton): New function.
1511 (inet_pton4): Add length argument.
1512 (hex_digit_value): New function.
1513 (inet_pton6): Add length argument. Call hex_digit_value. Use
1514 memmove and memset to fill :: gap.
1515 * resolv/Makefile (tests, tsts-static, tests-internal): Add
1516 tst-inet_pton.
1517 * resolv/tst-inet_pton.c: New file.
1518 * support/Makefile (libsupport-routines): Add xmprotect.
1519 * support/xunistd.h (xmprotect): Declare.
1520 * support/xmprotect.c: New file.
1521
1522 2017-06-21 Florian Weimer <fweimer@redhat.com>
1523
1524 Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
1525 * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
1526 (call_gai, check_ai): New functions.
1527 (expect_failure, expect_success): Use them. Add logging.
1528
1529 2017-06-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1530
1531 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1532 (sysdep_routines): Add memchr_power8.
1533 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1534 (memchr): Add __memchr_power8 to list of memchr functions.
1535 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
1536 * sysdeps/powerpc/powerpc64/multiarch/memchr.c
1537 (memchr): Add __memchr_power8 to ifunc list.
1538 * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
1539
1540 2017-06-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1541
1542 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
1543 (__llrintf): Define as strong alias of __llrint.
1544 (llrintf): Define as weak alias of __llrint.
1545 (__lrintf): Define as strong alias of __llrint.
1546 (lrintf): Define as weak alias of __llrint.
1547 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1548 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1549 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Remove file content.
1550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
1551
1552 2017-06-20 Zack Weinberg <zackw@panix.com>
1553
1554 * bits/signum-generic.h: Renamed from bits/signum.h.
1555 Add proper multiple include guard and misuse check.
1556 Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
1557 Move definition of SIGIO to "archaic names for compatibility" section.
1558 * bits/signum.h: New file which just includes bits/signum-generic.h.
1559 * sysdeps/unix/bsd/bits/signum.h
1560 * sysdeps/unix/sysv/linux/bits/signum.h
1561 * sysdeps/unix/sysv/linux/alpha/bits/signum.h
1562 * sysdeps/unix/sysv/linux/hppa/bits/signum.h
1563 * sysdeps/unix/sysv/linux/mips/bits/signum.h
1564 * sysdeps/unix/sysv/linux/sparc/bits/signum.h
1565 Just include <bits/signum-generic.h> and then add or adjust
1566 signal constants. Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
1567
1568 * signal/Makefile: Install bits/signum-generic.h.
1569 * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
1570
1571 * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
1572 universal. Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
1573
1574 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
1575 * sysdeps/unix/sysv/linux/Makefile: Run it.
1576
1577 2017-06-20 Zack Weinberg <zackw@panix.com>
1578
1579 * locale/xlocale.h: Rename to...
1580 * locale/bits/types/__locale_t.h: ...here. Adjust commentary.
1581 Only define struct __locale_struct and __locale_t, not locale_t.
1582 * locale/bits/types/locale_t.h: New file; define locale_t here.
1583 * locale/Makefile (headers): Update to match.
1584
1585 * include/xlocale.h: Delete wrapper.
1586 * include/bits/types/__locale_t.h: New wrapper.
1587 * include/bits/types/locale_t.h: New wrapper.
1588
1589 * ctype/ctype.h, include/printf.h, include/time.h
1590 * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
1591 * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
1592 * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
1593 Correct outdated comments regarding the standardization status of
1594 the functions that take locale_t arguments.
1595
1596 * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
1597 * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1598 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1599 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1600 * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1601 * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
1602 Don't include xlocale.h. If necessary, include locale.h instead.
1603
1604 * stdlib/strtold_l.c: Unconditionally include wchar.h.
1605
1606 * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
1607 * include/monetary.h, include/stdlib.h, include/time.h
1608 * include/wchar.h, locale/duplocale.c, locale/freelocale.c
1609 * locale/global-locale.c, locale/langinfo.h, locale/locale.h
1610 * locale/localeinfo.h, locale/newlocale.c
1611 * locale/nl_langinfo_l.c, locale/uselocale.c
1612 * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
1613 * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
1614 * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
1615 * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
1616 * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1617 * string/strcasecmp.c, string/strcoll_l.c, string/string.h
1618 * string/strings.h, string/strncase.c, string/strxfrm_l.c
1619 * sysdeps/ieee754/float128/strtof128_l.c
1620 * sysdeps/ieee754/float128/wcstof128.c
1621 * sysdeps/ieee754/float128/wcstof128_l.c
1622 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1623 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1624 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1625 * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
1626 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
1627 * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
1628 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
1629 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1630 * sysdeps/x86_64/strcasecmp_l-nonascii.c
1631 * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
1632 * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
1633 * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
1634 * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1635 * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
1636 * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
1637 * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
1638 * wctype/towctrans_l.c, wctype/wcfuncs_l.c
1639 * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
1640 Change all uses of __locale_t to locale_t.
1641
1642 2017-06-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1643
1644 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
1645 for !__OFF_T_MATCHES_OFF64_T.
1646 * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
1647 implementation based on open64.
1648 * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
1649 * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
1650
1651 2017-06-20 H.J. Lu <hongjiu.lu@intel.com>
1652
1653 * elf/dl-tunables.list: Move x86 specific tunables to ...
1654 * sysdeps/x86/dl-tunables.list: Here. New file.
1655
1656 2017-06-20 Joseph Myers <joseph@codesourcery.com>
1657
1658 [BZ #21635]
1659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1660 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1661 * conform/data/signal.h-data (uc_mcontext): XFAIL for
1662 powerpc32-linux.
1663 * conform/data/ucontext.h-data (uc_mcontext): Likewise.
1664
1665 [BZ #21634]
1666 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
1667 (conformtest-xfail-conds): New variable.
1668 * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
1669 * conform/data/ucontext.h-data (uc_sigmask): Likewise.
1670
1671 2017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
1672
1673 * benchtests/powf-inputs: Add reduced trace from wrf.
1674
1675 2017-06-20 H.J. Lu <hongjiu.lu@intel.com>
1676 Erich Elsen <eriche@google.com>
1677
1678 * elf/dl-tunables.list (tune): Add ifunc,
1679 x86_non_temporal_threshold,
1680 x86_data_cache_size and x86_shared_cache_size.
1681 * manual/tunables.texi: Document glibc.tune.ifunc,
1682 glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
1683 and glibc.tune.x86_non_temporal_threshold.
1684 * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
1685 * sysdeps/x86/cpu-tunables.c: Likewise.
1686 * sysdeps/x86/cacheinfo.c
1687 (init_cacheinfo): Check and get data cache size, shared cache
1688 size and non temporal threshold from cpu_features.
1689 * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
1690 New.
1691 [HAVE_TUNABLES] Include <unistd.h>.
1692 [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
1693 [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
1694 [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
1695 IFUNC selection, data cache size, shared cache size and non
1696 temporal threshold.
1697 * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
1698 shared_cache_size and non_temporal_threshold.
1699
1700 2017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
1701
1702 * benchtests/README: Describe workload feature.
1703 * benchtests/bench-skeleton.c (main): Add support for
1704 benchmarking traces from workloads.
1705
1706 2017-06-20 Zack Weinberg <zackw@panix.com>
1707
1708 * string/string.h (__mempcpy_inline): Delete.
1709 * sysdeps/x86_64/multiarch/mempcpy.c
1710 * sysdeps/x86_64/multiarch/stpcpy.c:
1711 Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
1712 before including string.h.
1713
1714 2017-06-20 Paul A. Clarke <pc@us.ibm.com>
1715
1716 * benchtests/Makefile (bench-math): Add powf.
1717 * benchtests/powf-inputs: New file.
1718
1719 2017-06-20 Zack Weinberg <zackw@panix.com>
1720
1721 * bits/string.h, string/bits/string.h
1722 * sysdeps/aarch64/bits/string.h
1723 * sysdeps/m68k/m680x0/m68020/bits/string.h
1724 * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
1725 * sysdeps/x86/bits/string.h: Delete file.
1726
1727 * string/string.h: Don't include bits/string.h.
1728 * string/bits/string3.h: Rename to bits/string_fortified.h.
1729 No need to undef various symbols that the removed headers
1730 might have defined as macros.
1731 * string/Makefile (headers): Remove bits/string.h, change
1732 bits/string3.h to bits/string_fortified.h.
1733 * string/string-inlines.c: Update commentary. Remove definitions
1734 of various macros that nothing looks at anymore. Don't directly
1735 include bits/string.h. Set _STRING_INLINE_unaligned here, based on
1736 compiler-predefined macros.
1737 * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
1738 _is_ defined, provide internal hidden alias __strncat.
1739 * include/string.h: Declare internal hidden alias __strncat.
1740 Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
1741 not defined.
1742 * include/bits/string3.h: Rename to bits/string_fortified.h,
1743 update to match above.
1744
1745 * sysdeps/i386/string-inlines.c: Define compat symbols for
1746 everything formerly defined by sysdeps/x86/bits/string.h.
1747 Make existing definitions into compat symbols as well.
1748 Remove some no-longer-necessary messing around with macros.
1749
1750 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1751 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1752 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1753 * sysdeps/s390/multiarch/mempcpy.c
1754 No need to define _HAVE_STRING_ARCH_mempcpy.
1755 Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
1756
1757 * sysdeps/i386/i686/multiarch/strncat-c.c
1758 * sysdeps/s390/multiarch/strncat-c.c
1759 * sysdeps/x86_64/multiarch/strncat-c.c
1760 Define STRNCAT_PRIMARY. Don't change definition of libc_hidden_def.
1761
1762 2017-06-20 Rical Jasan <ricaljasan@pacific.net>
1763
1764 * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
1765 (LDBL_DIG): Likewise.
1766 (LDBL_MIN_EXP): Likewise.
1767 (LDBL_MIN_10_EXP): Likewise.
1768 (LDBL_MAX_EXP): Likewise.
1769 (LDBL_MAX_10_EXP): Likewise.
1770 (LDBL_MAX): Likewise.
1771 (LDBL_MIN): Likewise.
1772 (LDBL_EPSILON): Likewise.
1773 (FLT_ROUNDS): Change standard from ISO to C90.
1774 (FLT_RADIX): Likewise.
1775 (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
1776 (FLT_DIG, DBL_DIG): Likewise.
1777 (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
1778 (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
1779 (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
1780 (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
1781 (FLT_MAX, DBL_MAX): Likewise.
1782 (FLT_MIN, DBL_MIN): Likewise.
1783 (FLT_EPSILON, DBL_EPSILON): Likewise.
1784
1785 2017-06-19 Joseph Myers <joseph@codesourcery.com>
1786
1787 * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
1788 [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
1789 [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
1790 * sysdeps/mips/math-tests.h
1791 [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
1792 conditional code.
1793
1794 2017-06-19 Florian Weimer <fweimer@redhat.com>
1795
1796 * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
1797 It cannot change while __libc_setlocale_lock is acquired.
1798
1799 2017-06-19 Florian Weimer <fweimer@redhat.com>
1800
1801 * elf/rtld.c (audit_list_string): New variable.
1802 (audit_list): Update comment.
1803 (struct audit_list_iter): Define.
1804 (audit_list_iter_init, audit_list_iter_next): New function.
1805 (dl_main): Use struct audit_list_iter to process audit modules.
1806 (process_dl_audit): Call dso_name_valid_for_suid.
1807 (process_envvars): Set audit_list_string instead of calling
1808 process_dl_audit.
1809
1810 2017-06-19 Florian Weimer <fweimer@redhat.com>
1811
1812 * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
1813 (dso_name_valid_for_suid): New function.
1814 (handle_ld_preload): Likewise.
1815 (dl_main): Call it. Remove alloca.
1816
1817 2017-06-19 Joseph Myers <joseph@codesourcery.com>
1818
1819 [BZ #21625]
1820 * posix/sys/wait.h (strust rusage forward declaration): Change
1821 [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
1822 !__USE_XOPEN2K].
1823 (wait3): Likewise.
1824
1825 * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
1826 * configure: Regenerated.
1827 * manual/install.texi (Tools for Compilation): Document
1828 requirement for GCC 4.9 or later.
1829 * INSTALL: Regenerated.
1830
1831 2017-06-19 Florian Weimer <fweimer@redhat.com>
1832
1833 [BZ #21624]
1834 CVE-2017-1000366
1835 * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
1836 __libc_enable_secure.
1837
1838 2017-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1839
1840 [BZ #21539]
1841 * NEWS: Mention s390 ptrace request changes.
1842 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
1843 (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
1844 PTRACE_SETFPREGS): Remove enum constant.
1845 (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
1846 Remove defines.
1847 (PTRACE_SINGLEBLOCK): New enum constant.
1848 (PT_STEPBLOCK): New define.
1849 (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
1850 PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
1851 PTRACE_TE_ABORT_RAND): New enum constant and define.
1852 * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
1853 * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
1854 New file.
1855 * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
1856
1857 2017-06-16 Florian Weimer <fweimer@redhat.com>
1858
1859 * resolv/res_init.c (res_vinit_1): Use getline to read from the
1860 configuration file.
1861 (__res_vinit): Adjust.
1862
1863 2017-06-19 Florian Weimer <fweimer@redhat.com>
1864
1865 * resolv/res_init.c (res_vinit_1): New function.
1866 (__res_vinit): Call it. Handle file open and memory allocation
1867 failures.
1868 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
1869 erno from __res_maybe_init failure.
1870 (_nss_dns_gethostbyname4_r): Likewise.
1871 (_nss_dns_gethostbyaddr2_r): Likewise.
1872 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
1873 (_nss_dns_getnetbyaddr_r): Likewise.
1874
1875 2017-06-19 Florian Weimer <fweimer@redhat.com>
1876
1877 * resolv/res_init.c: Reformat to GNU style.
1878
1879 2017-06-19 Florian Weimer <fweimer@redhat.com>
1880
1881 * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
1882 (is_sort_mask): New function.
1883 (__res_vinit): Use it.
1884
1885 2017-06-19 Florian Weimer <fweimer@redhat.com>
1886
1887 * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
1888 conditionals.
1889
1890 2017-06-19 Florian Weimer <fweimer@redhat.com>
1891
1892 * resolv/res-close.c: New file.
1893 * resolv/res_init.c (__res_iclose, res_nclose)
1894 (res_thread_freeres): Remove definitions.
1895 * resolv/Makefile (routines): Add res-close.
1896
1897 2017-06-19 Florian Weimer <fweimer@redhat.com>
1898
1899 * resolv/res_randomid.c: New file.
1900 * resolv/res_init.c (res_randomid): Remove definition.
1901 * resolv/Makefile (routines): Add res_randomid.
1902
1903 2017-06-19 Florian Weimer <fweimer@redhat.com>
1904
1905 * include/resolv.h (__res_vinit): Declare as hidden.
1906 * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
1907 * resolv/res_libc.c (res_init): Likewise.
1908
1909 2017-06-19 Joseph Myers <joseph@codesourcery.com>
1910
1911 [BZ #21457]
1912 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
1913 _libc_xmmreg): Use __ctx in defining field.
1914
1915 [BZ #21597]
1916 * signal/signal.h (siginterrupt): Make declaration conditional on
1917 [__USE_XOPEN_EXTENDED || __USE_MISC].
1918
1919 [BZ #21584]
1920 * signal/signal.h: Make includes of <bits/sigstack.h> and
1921 <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
1922 __USE_MISC].
1923 (sigaltstack): Make declaration conditional on
1924 [__USE_XOPEN_EXTENDED || __USE_MISC].
1925
1926 [BZ #21575]
1927 * resource/bits/types/struct_rusage.h: New file.
1928 * include/bits/types/struct_rusage.h: Likewise.
1929 * bits/resource.h (struct rusage): Include
1930 <bits/types/struct_rusage.h> instead of defining here.
1931 * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
1932 Likewise.
1933 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
1934 Likewise.
1935 * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
1936 Likewise.
1937 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
1938 Likewise.
1939 * resource/Makefile (headers): Add bits/types/struct_rusage.h.
1940 * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
1941 Include <bits/types/struct_rusage.h>
1942
1943 2017-06-19 Florian Weimer <fweimer@redhat.com>
1944
1945 * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
1946
1947 2017-06-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
1948
1949 * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
1950
1951 2017-06-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1952
1953 * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
1954
1955 2017-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1956
1957 [BZ #21537]
1958 * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
1959 Check SHARED instead of PIC.
1960 (SYSCALL_PIC_SETUP): Add missing semicolons.
1961 * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
1962 Check SHARED instead of PIC.
1963 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
1964 (__makecontext_ret): Adjust code to jump to exit.
1965
1966 2017-06-19 Christian Borntraeger <borntraeger@de.ibm.com>
1967
1968 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
1969 Simplify code by always using SVC 0 instead of EX.
1970 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1971
1972 2017-06-16 H.J. Lu <hongjiu.lu@intel.com>
1973
1974 * elf/Versions (ld): Remove _dl_out_of_memory.
1975
1976 2017-06-16 Joseph Myers <joseph@codesourcery.com>
1977
1978 * timezone/private.h: Update from tzcode 2017b.
1979 * timezone/tzfile.h: Likewise.
1980 * timezone/tzselect.ksh: Likewise.
1981 * timezone/zdump.c: Likewise.
1982 * timezone/zic.c: Likewise.
1983 * timezone/Makefile (tz-cflags): Add -D_ISOMAC
1984 -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
1985 * time/tzset.c (SECSPERDAY): New macro.
1986
1987 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
1988
1989 * manual/string.texi (strdup): Complete header and standards
1990 annotation.
1991 (strncpy): Likewise.
1992
1993 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
1994
1995 * manual/arith.texi (FP_NAN): Add or complete header and standard
1996 annotations.
1997 (FP_INFINITE): Likewise.
1998 (FP_ZERO): Likewise.
1999 (FP_SUBNORMAL): Likewise.
2000 (FP_NORMAL): Likewise.
2001 (SNAN): Likewise.
2002 (SNANL): Likewise.
2003 (totalorderf): Likewise.
2004 (totalorderl): Likewise.
2005 (totalordermagf): Likewise.
2006 (totalordermagl): Likewise.
2007 (_Complex_I): Likewise.
2008 (I): Likewise.
2009
2010 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
2011
2012 * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
2013 standard annotation.
2014 (ARGP_HELP_SHORT_USAGE): Likewise.
2015 (ARGP_HELP_SEE): Likewise.
2016 (ARGP_HELP_LONG): Likewise.
2017 (ARGP_HELP_PRE_DOC): Likewise.
2018 (ARGP_HELP_POST_DOC): Likewise.
2019 (ARGP_HELP_DOC): Likewise.
2020 (ARGP_HELP_BUG_ADDR): Likewise.
2021 (ARGP_HELP_LONG_ONLY): Likewise.
2022 (ARGP_HELP_EXIT_ERR): Likewise.
2023 (ARGP_HELP_EXIT_OK): Likewise.
2024 (ARGP_HELP_STD_ERR): Likewise.
2025 (ARGP_HELP_STD_USAGE): Likewise.
2026 (ARGP_HELP_STD_HELP): Likewise.
2027
2028 2017-06-15 Rical Jasan <ricaljasan@pacific.net>
2029
2030 * manual/Makefile: Generate summary.texi with summary.pl. Force
2031 use of the C locale. Update Perl dependency comment.
2032 * manual/header.texi: Update reference to summary.awk.
2033 * manual/macros.texi: Refer authors to `summary.pl --help'.
2034 * manual/summary.awk: Remove file.
2035 * manual/summary.pl: New file. Generate summary.texi, and check
2036 for @standards-related syntax errors.
2037 * manual/argp.texi: Convert header and standards @comments to
2038 @standards.
2039 * manual/arith.texi: Likewise.
2040 * manual/charset.texi: Likewise.
2041 * manual/conf.texi: Likewise.
2042 * manual/creature.texi: Likewise.
2043 * manual/crypt.texi: Likewise.
2044 * manual/ctype.texi: Likewise.
2045 * manual/debug.texi: Likewise.
2046 * manual/errno.texi: Likewise.
2047 * manual/filesys.texi: Likewise.
2048 * manual/getopt.texi: Likewise.
2049 * manual/job.texi: Likewise.
2050 * manual/lang.texi: Likewise.
2051 * manual/llio.texi: Likewise.
2052 * manual/locale.texi: Likewise.
2053 * manual/math.texi: Likewise.
2054 * manual/memory.texi: Likewise.
2055 * manual/message.texi: Likewise.
2056 * manual/pattern.texi: Likewise.
2057 * manual/pipe.texi: Likewise.
2058 * manual/process.texi: Likewise.
2059 * manual/resource.texi: Likewise.
2060 * manual/search.texi: Likewise.
2061 * manual/setjmp.texi: Likewise.
2062 * manual/signal.texi: Likewise.
2063 * manual/socket.texi: Likewise.
2064 * manual/startup.texi: Likewise.
2065 * manual/stdio.texi: Likewise.
2066 * manual/string.texi: Likewise.
2067 * manual/sysinfo.texi: Likewise.
2068 * manual/syslog.texi: Likewise.
2069 * manual/terminal.texi: Likewise.
2070 * manual/threads.texi: Likewise.
2071 * manual/time.texi: Likewise.
2072 * manual/users.texi: Likewise.
2073
2074 2017-06-15 Rical Jasan <ricaljasan@pacific.net>
2075
2076 * manual/macros.texi (@standards): New macro. Provide placeholder
2077 for header and standards annotations.
2078 (@standardsx): New macro. Likewise, for lists of @*x elements.
2079
2080 2017-06-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2081
2082 * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
2083 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
2084 rule.
2085 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
2086 sync_file_range.
2087
2088 * support/support_test_main.c (support_test_main): Use optstring
2089 member for option string in getopt_long.
2090 * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
2091 (CMDLINE_OPTSTRING): New define.
2092 * support/test-driver.h (test_config): Add optstring member.
2093
2094 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2095
2096 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2097 strcspn-sse2, strpbrk-sse2 and strspn-sse2.
2098 * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
2099 Check USE_AS_STRPBRK instead of STRPBRK_P.
2100 * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
2101 * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
2102 * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
2103 * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
2104 * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
2105 * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
2106 * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
2107 * sysdeps/x86_64/multiarch/strspn.c: Likewise.
2108 * sysdeps/x86_64/multiarch/strcspn.S: Removed.
2109 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2110 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2111 * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
2112 and "#endif".
2113
2114 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2115
2116 * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
2117 * sysdeps/x86_64/multiarch/wcscpy.c: New file.
2118
2119 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2120
2121 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2122 strcat-sse2.
2123 * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
2124 * sysdeps/x86_64/multiarch/strcat.c: Likewise.
2125 * sysdeps/x86_64/multiarch/strncat.c: Likewise.
2126 * sysdeps/x86_64/multiarch/strcat.S: Removed.
2127 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2128
2129 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2130 Erich Elsen <eriche@google.com>
2131
2132 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2133 memcmp-sse2.
2134 * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
2135 * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
2136 * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
2137 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2138 * sysdeps/x86_64/multiarch/memcmp.S: Removed.
2139 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2140
2141 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2142 Erich Elsen <eriche@google.com>
2143
2144 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2145 memset-sse2-unaligned-erms, and memset_chk-nonshared.
2146 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2147 (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
2148 Update comments.
2149 * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
2150 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
2151 * sysdeps/x86_64/multiarch/memset.c: Likewise.
2152 * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
2153 * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
2154 * sysdeps/x86_64/multiarch/memset.S: Removed.
2155 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2156 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2157 (__memset_chk_erms): New function.
2158
2159 2017-06-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
2160
2161 * configure.ac(--enable-tunables): Enable by default.
2162 * configure: Regenerate.
2163 * NEWS: Mention change.
2164 * manual/install.texi (enable-tunables): Adjust documentation.
2165 * INSTALL: Regenerate.
2166
2167 2017-06-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2168
2169 [BZ #18988]
2170 * benchtests/thread_create-inputs: New file.
2171 * benchtests/thread_create-source.c: Likewise.
2172 * support/xpthread_attr_setguardsize.c: Likewise.
2173 * support/Makefile (libsupport-routines): Add
2174 xpthread_attr_setguardsize object.
2175 * support/xthread.h: Add xpthread_attr_setguardsize prototype.
2176 * benchtests/Makefile (bench-pthread): Add thread_create.
2177 * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
2178 then mprotect the required area.
2179 (guard_position): New function.
2180 (setup_stack_prot): Likewise.
2181
2182 2017-06-14 H.J. Lu <hongjiu.lu@intel.com>
2183 Erich Elsen <eriche@google.com>
2184 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2185
2186 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2187 memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
2188 mempcpy_chk-nonshared and memmove_chk-nonshared.
2189 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2190 (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
2191 __memcpy_chk_erms and __mempcpy_chk_erms. Update comments.
2192 * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
2193 * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
2194 * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
2195 * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
2196 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
2197 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2198 * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
2199 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2200 * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
2201 * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
2202 * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
2203 * sysdeps/x86_64/multiarch/memcpy.S: Removed.
2204 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2205 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2206 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2207 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2208 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2209 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2210 (__mempcpy_chk_erms): New function.
2211 (__memmove_chk_erms): Likewise.
2212 (__memcpy_chk_erms): New alias.
2213
2214 2017-06-14 Florian Weimer <fweimer@redhat.com>
2215
2216 * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
2217 * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
2218
2219 2017-06-14 Zack Weinberg <zackw@panix.com>
2220
2221 * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
2222 Reorganize file. Declare errno here. When __ASSEMBLER__ is
2223 defined, don't declare anything other than the E-constants.
2224
2225 * include/errno.h: Change conditional for exposing internal
2226 declarations to (not _ISOMAC and not __ASSEMBLER__).
2227 * bits/errno.h: Remove logic for __need_Emath. Document
2228 requirements for a port-specific bits/errno.h.
2229
2230 * sysdeps/unix/sysv/linux/bits/errno.h
2231 * sysdeps/unix/sysv/linux/alpha/bits/errno.h
2232 * sysdeps/unix/sysv/linux/hppa/bits/errno.h
2233 * sysdeps/unix/sysv/linux/mips/bits/errno.h
2234 * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
2235 Add multiple-include guard and check against improper inclusion.
2236 Remove __need_Emath logic. Don't declare errno here. Ensure all
2237 constants are defined as simple integer literals. Consistent
2238 formatting.
2239 * sysdeps/mach/hurd/errnos.awk: Likewise. Only define error_t and
2240 enum __error_t_codes if __ASSEMBLER__ is not defined.
2241 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2242
2243 * argp/argp.h, string/argz.h: Don't define __need_error_t before
2244 including errno.h.
2245 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
2246 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
2247 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
2248 * sysdeps/x86_64/fpu/s_cosf.S
2249 * sysdeps/x86_64/fpu/s_sincosf.S
2250 * sysdeps/x86_64/fpu/s_sinf.S:
2251 Just include errno.h; don't define __need_Emath or include
2252 bits/errno.h directly.
2253
2254 2017-06-14 Zack Weinberg <zackw@panix.com>
2255
2256 * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
2257 * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
2258 * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
2259
2260 * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
2261 for IOV_MAX.
2262 * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
2263 Don't install bits/uio.h.
2264 * misc/sys/uio.h: Don't include bits/uio.h. Do include
2265 bits/types/struct_iovec.h and bits/uio_lim.h. Set UIO_MAXIOV
2266 based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
2267
2268 * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
2269 and __need_IOV_MAX. Don't define IOV_MAX at all.
2270 * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
2271
2272 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
2273 Include bits/types/struct_iovec.h, not bits/uio.h.
2274 Use __ssize_t, not ssize_t, in function prototypes.
2275 Don't use hard TAB for double space after period in comments.
2276
2277 2017-06-14 Alan Modra <amodra@gmail.com>
2278
2279 * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
2280 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
2281 refsym and sym parameters. Adjust callers.
2282 * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2283 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
2284 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
2285 * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
2286 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
2287 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2288 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
2289 * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
2290 * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
2291 * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
2292 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
2293 Likewise.
2294 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2295 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2296 * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
2297 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2298 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2299 * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
2300 * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2301 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
2302 (_dl_reloc_overflow): Increase buffser size. Formatting.
2303 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2304 Delete reloc param, add refsym and sym. Check optimized plt
2305 call stubs for localentry:0 functions. Adjust callers.
2306 (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
2307 and sym parameters. Adjust callers.
2308 (_dl_reloc_overflow): Move attribute.
2309 (_dl_error_localentry): Declare.
2310 * elf/dl-runtime.c (_dl_fixup): Save original sym. Pass
2311 refsym and sym to elf_machine_fixup_plt.
2312 * elf/testobj6.c (preload): Call printf.
2313
2314 2017-06-14 Alan Modra <amodra@gmail.com>
2315
2316 * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2317 (NOPS, ENTRY_3): New macros.
2318 (ENTRY): Rewrite.
2319 (ENTRY_TOCLESS): Define.
2320 (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
2321 EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
2322 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
2323 * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
2324 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2325 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2326 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2327 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2328 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
2329 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2330 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2331 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2332 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2333 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2334 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2335 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2336 * sysdeps/powerpc/powerpc64/memset.S: Likewise.
2337 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2338 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2339 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2340 * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
2341 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2342 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
2343 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2344 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
2345 * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
2346 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2347 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2348 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2349 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
2350 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2351 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2352 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2353 * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
2354 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2355 * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
2356 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2357 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2358 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2359 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2360 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2361 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2362 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2363 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2364 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2365 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2366 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2367 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2368 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2369 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2370 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2371 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2372 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2373 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2374 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2375 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2376 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2377 * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
2378 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2379 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2380 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2381 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2382 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
2383 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2384 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2385 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
2386 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
2387 Likewise.
2388 * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
2389 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
2390 * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
2391 * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
2392 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2393 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
2394 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
2395 * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
2396 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2397 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2398 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2399 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2400 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2401 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
2402 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2403 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2404 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2405 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
2406 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2407 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2408 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2409 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
2410 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
2411 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
2412 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2413 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
2414 * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
2415 * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
2416 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2417 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2418 * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier. Don't
2419 add nop when SHARED.
2420 * sysdeps/powerpc/powerpc64/start.S: Fix comment.
2421 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
2422 define.
2423 (ENTRY_TOCLESS): Define.
2424 * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
2425 * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
2426 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2427
2428 2017-06-14 Alan Modra <amodra@gmail.com>
2429
2430 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
2431 MEMSET_is_local.
2432 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
2433 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
2434 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
2435 Define MEMSET.
2436 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
2437 STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
2438 * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise. Don't add
2439 nop after local calls.
2440 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
2441 Don't add nop after local call.
2442 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise. Add missing
2443 CALL_MCOUNT.
2444
2445 2017-06-14 Alan Modra <amodra@gmail.com>
2446
2447 * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2448 (FUNC_LABEL): Rename from DOT_LABEL.
2449 (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
2450 Use .p2align rather than .align.
2451 (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
2452 (ABORT_TRANSACTION): Likewise.
2453 (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
2454 particularly at end. Add semicolon at invocation as necessary.
2455 (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
2456 (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
2457 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
2458 END): Adjust to suit.
2459
2460 2017-06-14 Alan Modra <amodra@gmail.com>
2461
2462 * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
2463 FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
2464 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2465 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2466 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
2467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
2468 uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
2469
2470 2017-06-14 Alan Modra <amodra@gmail.com>
2471
2472 * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
2473 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
2474
2475 2017-06-13 Gordana Cmiljanovic <gordana.cmiljanovic@imgtec.com>
2476
2477 [BZ #21548]
2478 * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
2479 8 and use it when copying general purpose registers.
2480 * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
2481 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
2482 mips o32.
2483 * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
2484 new test for mips o32.
2485 * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
2486 8 and use it when copying general purpose registers.
2487 * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
2488
2489 2017-06-13 Florian Weimer <fweimer@redhat.com>
2490
2491 * configure.ac (find_cxx_header): Suppress compiler error message.
2492
2493 2017-06-13 Florian Weimer <fweimer@redhat.com>
2494
2495 * malloc/dynarray-skeleton.c: List begin/end as defined functions.
2496 (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
2497 * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
2498 begin/end.
2499 * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
2500 dynarray_int_end.
2501 (test_str): Test dynarray_str_begin, dynarray_str_end.
2502
2503 2017-06-13 H.J. Lu <hongjiu.lu@intel.com>
2504
2505 [BZ #21573]
2506 * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
2507 $(common-objpfx)bits/std_abs.h.
2508 [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
2509 New target.
2510 * config.make.in (c++-bits-std_abs-h): New.
2511 * configure.ac (find_cxx_header): Use "\,$1," with sed.
2512 (CXX_BITS_STD_ABS_H): New.
2513 (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
2514 * configure: Regenerated.
2515
2516 2017-06-13 Zack Weinberg <zackw@panix.com>
2517
2518 * posix/bits/cpu-set.h: Correct indentation of preprocessor
2519 directives.
2520
2521 2017-06-12 Zack Weinberg <zackw@panix.com>
2522
2523 * bits/sched.h: Remove __need_schedparam logic and replace with a
2524 normal multiple-include guard. Change field name in struct
2525 sched_param from __sched_priority to sched_priority. Delete
2526 everything under #ifndef __cpu_set_t_defined.
2527 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. Also sync with
2528 kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
2529
2530 * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
2531 For compatibility, #define sched_priority to itself, and #define
2532 __sched_priority as sched_priority.
2533 * posix/bits/cpu-set.h: New file containing, verbatim, the code
2534 that was under #ifndef __cpu_set_t_defined in
2535 sysdeps/unix/sysv/linux/bits/sched.h.
2536 * include/bits/cpu-set.h: New wrapper.
2537 * posix/Makefile: Install bits/cpu-set.h.
2538
2539 2017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2540 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2541 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2542
2543 * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
2544 (%all_floats_pfx): Add macro prefix for float128 (FLT128).
2545 * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
2546 * math/libm-test-isfinite.inc (finite_test): Likewise.
2547 * math/libm-test-lgamma.inc (gamma_test): Likewise.
2548 * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
2549 (nexttoward_test_data}: Likewise.
2550 * math/libm-test-remainder.inc (drem_test): Likewise.
2551 * math/libm-test-scalb.inc (scalb_test): Likewise.
2552 (scalb_test_data): Likewise.
2553 * math/libm-test-significand.inc (significand_test): Likewise.
2554 (significand_test_data): Likewise.
2555 * math/libm-test-support.c (check_complex): Replace __complex__
2556 FLOAT with CFLOAT to get the support for old compiler.
2557 * math/libm-test-support.h (check_complex): Likewise.
2558 * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
2559 * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
2560 * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
2561 * math/test-float128.h: New file.
2562 * math/test-math-floatn.h: New file.
2563
2564 2017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2565
2566 * include/float.h: Allow the definition of macros prefixed with
2567 FLT128 even if _ISOMAC is defined, but provided that
2568 __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
2569
2570 2017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2571
2572 * manual/math.texi (Mathematics): Add description for _FloatN and
2573 _FloatNx types and mentions that they are not support in glibc for
2574 any architecture, so far.
2575 * manual/arith.texi (wcstof, wcstold): Replace the mention to
2576 stdlib.h with wchar.h.
2577 (Parsing of Floats): Add descriptions for strtofN and wcstofN.
2578 (Printing of Floats): Add description for strfromfN.
2579
2580 2017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2581 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2582 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2583
2584 * include/gmp.h (__mpn_construct_float128): New declaration.
2585 * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
2586 (__strtof128_l): New declaration.
2587 (__strtof128_nan): Likewise.
2588 (__wcstof128_nan): Likewise.
2589 (__strtof128_internal): Likewise.
2590 (____strtof128_l_internal): Likewise.
2591 * include/wchar.h: Include bits/floatn.h for _Float128 tests.
2592 (__wcstof128_l): New declaration.
2593 (__wcstof128_internal): Likewise.
2594
2595 * stdlib/Makefile (bug-strtod2): Link libm too.
2596
2597 * stdlib/stdlib.h (strtof128): New declaration.
2598 (strtof128_l): Likewise.
2599
2600 * stdlib/tst-strtod-nan-locale-main.c: Updated to use
2601 tst-strtod.h macros to ensure float128 gets tested too.
2602
2603 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
2604
2605 * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
2606 tests.
2607 (IF_FLOAT128): New macro.
2608 (GEN_TEST_STRTOD): Update to optionally include _Float128 in
2609 the tests.
2610 (STRTOD_TEST_FOREACH): Likewise.
2611
2612 * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
2613 wcstof128 functions into libc.
2614
2615 * sysdeps/ieee754/float128/Versions: Add exports for the above
2616 new functions.
2617
2618 * sysdeps/ieee754/float128/mpn2float128.c: New file.
2619 * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
2620 * sysdeps/ieee754/float128/strtof128.c: New file.
2621 * sysdeps/ieee754/float128/strtof128_l.c: New file.
2622 * sysdeps/ieee754/float128/strtof128_nan.c: New file.
2623 * sysdeps/ieee754/float128/wcstof128.c: New file.
2624 * sysdeps/ieee754/float128/wcstof128_l.c: New file.
2625 * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
2626 * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
2627 (CFLAGS-wcstof128_l): Likewise.
2628
2629 * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
2630 (wcstof128): New declaration.
2631 (wcstof128_l): Likewise.
2632
2633 2017-06-12 Joseph Myers <joseph@codesourcery.com>
2634
2635 [BZ #21552]
2636 * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
2637 not [__USE_XOPEN].
2638 * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
2639
2640 [BZ #21550]
2641 * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
2642
2643 2017-06-12 H.J. Lu <hongjiu.lu@intel.com>
2644
2645 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2646 strcpy-sse2 and stpcpy-sse2.
2647 * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
2648 * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
2649 * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
2650 * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
2651 * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
2652 * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
2653 * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
2654 * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
2655 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2656 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2657 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2658 * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
2659 (libc_hidden_def): Always defined as empty.
2660 * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
2661 Always Defined as empty.
2662
2663 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2664
2665 * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
2666
2667 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2668
2669 [BZ #15105]
2670 [BZ #19463]
2671 * include/string.h: Add internal redirect for __stpcpy.
2672 * string/Makefile: Remove bits/string2.h.
2673 * string/string.h: Update comment.
2674 * string/string-inlines.c: Remove bits/string2.h include and comment.
2675 * string/bits/string2.h: Remove file.
2676
2677 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2678
2679 * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
2680 * sunrpc/clnt_gen.c (clnt_create): Likewise.
2681 * sunrpc/des_impl.c (_des_crypt): Likewise.
2682 * sunrpc/key_call.c (key_gendes): Likewise.
2683 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2684 * sunrpc/svc_simple.c (universal): Likewise.
2685 * sunrpc/svc_tcp.c (svctcp_create): Likewise.
2686 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
2687 * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
2688
2689 2017-06-10 Zack Weinberg <zackw@panix.com>
2690
2691 * stdlib/errno.h: Correct an outdated comment.
2692
2693 2017-06-09 Paul A. Clarke <pc@us.ibm.com>
2694
2695 * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
2696 Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
2697 CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
2698 * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
2699 New file. Invoke newly supported sysconf values for powerpc,
2700 and report results. If none are supported, report so.
2701 * sysdeps/unix/sysv/linux/powerpc/Makefile (tests): Add new test,
2702 tst-sysconf.
2703
2704 2017-06-09 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2705
2706 * include/sys/auxv.h (__getauxval): Add a prototype and its
2707 libc_hidden_proto.
2708 * misc/getauxval.c (__getauxval): Use libc_hidden_def.
2709
2710 2017-06-09 Joseph Myers <joseph@codesourcery.com>
2711
2712 [BZ #21561]
2713 * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
2714 [__USE_XOPEN_EXTENDED].
2715 (id_t): Likewise.
2716 (include of <bits/types/siginfo_t.h): Likewise.
2717 (waitid): Likewise.
2718 * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
2719 on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
2720 (WEXITED): Likewise.
2721 (WCONTINUED): Likewise.
2722 (WNOWAIT): Likewise.
2723 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
2724 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2725 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2726
2727 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
2728 libc.so PLT entry optional.
2729 (__gtsf2): Likewise.
2730 (__unorddf2): Likewise.
2731 (__unordsf2): Likewise.
2732 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
2733 New optional libc.so PLT entry.
2734
2735 [BZ #21554]
2736 * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
2737 not [__USE_XOPEN].
2738
2739 [BZ #21560]
2740 * posix/sys/wait.h: Condition include of <signal.h> on
2741 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]. Include <bits/types.h>
2742 unconditionally.
2743 [!__pid_t_defined] (pid_t): Define typedef.
2744
2745 2017-06-09 Zack Weinberg <zackw@panix.com>
2746
2747 * include/errno.h (__errno_location): Use __attribute_const__
2748 instead of bare __attribute__.
2749
2750 2017-06-09 Zack Weinberg <zackw@panix.com>
2751
2752 * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
2753 (common-generated): Add libc-modules.h and libc-modules.stmp in a
2754 more appropriate location. Also add dl-tunable-list.h and
2755 dl-tunable-list.stmp.
2756
2757 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2758
2759 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
2760
2761 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2762
2763 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2764 strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
2765 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2766 (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
2767 __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
2768 * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
2769 * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
2770 * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
2771 * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
2772 * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
2773 * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
2774
2775 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2776
2777 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2778 memrchr-sse2 and memrchr-avx2.
2779 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2780 (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
2781 __memrchr_sse2.
2782 * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
2783 * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
2784 * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
2785
2786 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2787
2788 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2789 strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
2790 wcschr-sse2 and wcschr-avx2.
2791 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2792 (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
2793 __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
2794 __wcschr_sse2.
2795 * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
2796 * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
2797 * sysdeps/x86_64/multiarch/strchr.c: Likewise.
2798 * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
2799 * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
2800 * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
2801 * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
2802 * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
2803 * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
2804 * sysdeps/x86_64/multiarch/strchr.S: Removed.
2805
2806 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2807
2808 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2809 strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
2810 wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
2811 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2812 (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
2813 __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
2814 __wcslen_sse2 and __wcsnlen_avx2.
2815 * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
2816 * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
2817 * sysdeps/x86_64/multiarch/strlen.c: Likewise.
2818 * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
2819 * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
2820 * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
2821 * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
2822 * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
2823 * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
2824 * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
2825 * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
2826 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
2827 vzeroupper is preferred and AVX unaligned load is fast.
2828
2829 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2830
2831 * sysdeps/x86_64/memchr.S (MEMCHR): New. Depending on if
2832 USE_AS_WMEMCHR is defined.
2833 (PCMPEQ): Likewise.
2834 (memchr): Renamed to ...
2835 (MEMCHR): This. Support wmemchr if USE_AS_WMEMCHR is defined.
2836 Replace pcmpeqb with PCMPEQ.
2837 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2838 memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
2839 wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
2840 * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
2841 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
2842 * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
2843 * sysdeps/x86_64/multiarch/memchr.c: Likewise.
2844 * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
2845 * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
2846 * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
2847 * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
2848 * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
2849 * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
2850 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2851 (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
2852 __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
2853 __wmemchr_sse2.
2854
2855 2017-06-09 Florian Weimer <fweimer@redhat.com>
2856
2857 * malloc/Makefile (test-srcs): Remove tst-dynarray,
2858 tst-dynarray-fail.
2859
2860 2017-06-09 Florian Weimer <fweimer@redhat.com>
2861
2862 Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
2863 * support/support_test_verify_impl.c
2864 (support_test_verify_exit_impl): Split from
2865 support_test_verify_impl.
2866 * support/check.h (TEST_VERIFY): Drop status argument from
2867 support_test_verify_impl call.
2868 (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
2869 (support_test_verify_impl): Remove status argument.
2870 (support_test_verify_exit_impl): Declare.
2871
2872 2017-06-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
2873
2874 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
2875 mention of magic numbers in comments.
2876 (_dl_procinfo): Fix undefined behavior
2877
2878 2017-06-08 Joseph Myers <joseph@codesourcery.com>
2879
2880 * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
2881 [XPG4].
2882 (WEXITED): Likewise.
2883 (WSTOPPED): Likewise.
2884 (WCONTINUED): Likewise.
2885 (WNOHANG): Likewise.
2886 (WNOWAIT): Likewise.
2887 (idtype_t): Likewise.
2888 (P_ALL): Likewise.
2889 (P_PID): Likewise.
2890 (P_PGID): Likewise.
2891 (id_t): Likewise.
2892 (siginfo_t): Likewise.
2893 (wait3): Likewise.
2894 (waitid): Likewise.
2895 (signal.h): Do not allow header for [XPG4].
2896 (sys/resource.h): Likewise.
2897 (si_*): Do not allow for [XPG4].
2898 (W*): Likewise.
2899 (P_*): Likewise.
2900 (BUS_): Likewise.
2901 (CLD_): Likewise.
2902 (FPE_): Likewise.
2903 (ILL_): Likewise.
2904 (POLL_): Likewise.
2905 (SEGV_): Likewise.
2906 (SI_): Likewise.
2907 (TRAP_): Likewise.
2908 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
2909 variable.
2910
2911 2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
2912
2913 [BZ #21528]
2914 * elf/dl-minimal.c (__strtoul_internal): Removed.
2915 (strtoul): Likewise.
2916 * elf/dl-misc.c (_dl_strtoul): New function.
2917 * elf/dl-tunables.c (tunables_strtoul): Removed.
2918 (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
2919 * elf/rtld.c (process_envvars): Likewise.
2920 * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
2921 Likewise.
2922 * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
2923
2924 2017-06-08 Zack Weinberg <zackw@panix.com>
2925
2926 * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
2927 * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
2928 * wcsmbs/bits/types/wint_t.h: New single-type definition files.
2929 * wctype/bits/wctype-wchar.h: New file holding declarations shared
2930 between wctype.h and wchar.h.
2931
2932 * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
2933 Install them.
2934
2935 * include/bits/types/FILE.h, include/bits/types/__FILE.h
2936 * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
2937 * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
2938 New wrappers.
2939 * include/stdio.h, include/wchar.h, include/wctype.h:
2940 No need to handle __need macros.
2941
2942 * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
2943 * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
2944 * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
2945 * wcsmbs/wchar.h, wctype/wctype.h
2946 * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
2947 Use the new files instead of __need macros.
2948
2949 2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
2950
2951 * string/test-memrchr.c (test_main): Add tests for len == 0
2952 and tests for positions close to the beginning, which are
2953 equivalent to positions close to the end for memchr.
2954
2955 2017-06-07 H.J. Lu <hongjiu.lu@intel.com>
2956
2957 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
2958 comments.
2959 * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
2960 instead of wmemset.h.
2961 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
2962 * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
2963 * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
2964
2965 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2966
2967 * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
2968 spec->info.is_binary128 to zero.
2969 * stdio-common/printf.h (printf_info): Add new member is_binary128
2970 to indicate that the number being converted to string is compatible
2971 with the IEC 60559 binary128 format.
2972 * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
2973 _Float128 numbers.
2974 * stdio-common/printf_fphex.c: Include ieee754_float128.h and
2975 ldbl-128/printf_fphex_macros.h
2976 (__printf_fphex): Add code to deal with _Float128 numbers.
2977 * stdio-common/printf_size.c (__printf_size): Likewise.
2978 * stdio-common/vfprintf.c (process_arg): Initialize member
2979 info.is_binary128 to zero.
2980 * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
2981 * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
2982 (strfromf128): New declaration.
2983 * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
2984 to one.
2985 * sysdeps/ieee754/float128/Makefile: Add strfromf128.
2986 * sysdeps/ieee754/float128/Versions: Likewise.
2987 * sysdeps/ieee754/float128/strfromf128.c: New file.
2988
2989 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2990
2991 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
2992 ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
2993 (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
2994 * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
2995 (PRINT_FPHEX): New function-like macro that can be used for long
2996 double, as well as for _Float128
2997
2998 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2999
3000 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
3001 (__printf_fp_l): Use the new macro to avoid duplicating code.
3002 * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
3003 (__printf_fphex): Use the new macro to avoid duplicating code.
3004 * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
3005 (__printf_size): Use the new macro to avoid duplicating code.
3006
3007 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3008
3009 * include/gmp.h: Include bits/floatn.h
3010 (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
3011 * stdlib/gmp-impl.h: Also check if alloca is not defined before
3012 including stack-alloc.h. It could have been defined by other header
3013 which not necessarily defines HAVE_ALLOCA.
3014 * sysdeps/ieee754/float128/Makefile: New file.
3015 * sysdeps/ieee754/float128/float1282mpn.c: New file.
3016 * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
3017 redefining __mpn_extract_long_double to __mpn_extract_float128, then
3018 redefine __mpn_extract_long_double to __mpn_extract_float128.
3019 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
3020 _Float128 to allow float128_private.h overrides.
3021
3022 2017-06-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3023
3024 * stdlib/fpioconst.h: Include bits/floatn.h.
3025 (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
3026 power of ten table should be.
3027 (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
3028 * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
3029 to include larger tables when _Float128 support is enabled.
3030 (_fpioconst_pow10): Likewise.
3031
3032 2017-06-07 Joseph Myers <joseph@codesourcery.com>
3033
3034 * include/bits/types/clock_t.h: Use #include <path> instead of
3035 #include "../../path".
3036 * include/bits/types/clockid_t.h: Likewise.
3037 * include/bits/types/struct_iovec.h: Likewise.
3038 * include/bits/types/struct_itimerspec.h: Likewise.
3039 * include/bits/types/struct_osockaddr.h: Likewise.
3040 * include/bits/types/struct_sigstack.h: Likewise.
3041 * include/bits/types/struct_timespec.h: Likewise.
3042 * include/bits/types/struct_timeval.h: Likewise.
3043 * include/bits/types/struct_tm.h: Likewise.
3044 * include/bits/types/time_t.h: Likewise.
3045 * include/bits/types/timer_t.h: Likewise.
3046
3047 [BZ #14096]
3048 * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
3049 America/New_York.
3050
3051 2017-06-07 H.J. Lu <hongjiu.lu@intel.com>
3052
3053 * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
3054 into ...
3055 * sysdeps/x86_64/multiarch/wcsnlen.c: Here. Don't include
3056 ifunc-sse4_1.h.
3057
3058 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
3059
3060 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
3061 Remove check for NULL 'buf'.
3062 * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
3063
3064 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
3065
3066 * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
3067 include test-skeleton.c.
3068 Include support/check.h and support/test-driver.c.
3069
3070 2017-06-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
3071
3072 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
3073 (_dl_aarch64_cap_flags): New array.
3074 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
3075 (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
3076 functions.
3077
3078 * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
3079 * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
3080 Likewise.
3081 * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
3082 up hwcap and hwcap_mask.
3083
3084 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
3085 (init_cpu_features): Use glibc.tune.hwcap_mask.
3086 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
3087
3088 * elf/dl-hwcaps.h: New file.
3089 * elf/dl-hwcaps.c: Include it.
3090 (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
3091 glibc.tune.hwcap_mask.
3092 * elf/dl-cache.c: Include dl-hwcaps.h.
3093 (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
3094 glibc.tune.hwcap_mask.
3095 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3096 * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
3097 _dl_hwcap_mask.
3098 * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
3099 _dl_hwcap_mask.
3100 (process_envvars)[HAVE_TUNABLES]: Likewise.
3101 * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
3102 Likewise.
3103 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
3104 initialize dl_hwcap_mask when tunables are enabled.
3105
3106 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
3107 guard.
3108 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3109
3110 * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
3111 * scripts/gen-tunables.awk: Include dl-procinfo.h.
3112 * manual/tunables.texi: Document glibc.tune.hwcap_mask.
3113
3114 * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
3115 * elf/dl-tunables.c: Likewise.
3116 (do_tunable_update_val): New function.
3117 (__tunable_set_val): New function.
3118 (__tunable_get_val): Call CB only if the tunable was externally
3119 initialized.
3120 (tunables_strtoul): Replace strval with initialized.
3121 * elf/dl-tunables.h (strval): Replace with a bool initialized.
3122 (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
3123 prevent collision.
3124 (__tunable_set_val): New function.
3125 (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
3126 (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
3127 (TUNABLE_SET_VAL): Remove.
3128 (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
3129 * README.tunables: Document the new macros.
3130 * malloc/arena.c (ptmalloc_init): Adjust.
3131
3132 2017-06-06 H.J. Lu <hongjiu.lu@intel.com>
3133
3134 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3135 wcsnlen-sse4_1 and wcsnlen-c.
3136 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3137 (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
3138 __wcsnlen_sse2.
3139 * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
3140 * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
3141 * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
3142 * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
3143 * sysdeps/x86_64/wcsnlen.S: Removed.
3144
3145 2017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
3146
3147 * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
3148 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
3149 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
3150 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
3151
3152 2017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
3153
3154 * NEWS: Mention new spinlock implementation.
3155 * include/atomic.h:
3156 (__atomic_val_bysize): Cast type to omit volatile qualifier.
3157 (atomic_exchange_acq): Likewise.
3158 (atomic_load_relaxed): Likewise.
3159 (ATOMIC_EXCHANGE_USES_CAS): Check definition.
3160 * nptl/pthread_spin_init.c (pthread_spin_init):
3161 Use atomic_store_relaxed.
3162 * nptl/pthread_spin_lock.c (pthread_spin_lock):
3163 Use C11-like atomic macros.
3164 * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3165 Likewise.
3166 * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
3167 Use atomic_store_release.
3168 * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
3169 * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
3170 * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
3171 * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
3172 * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
3173 * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
3174 * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
3175 * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
3176 * sysdeps/alpha/atomic-machine.h: Likewise.
3177 * sysdeps/arm/atomic-machine.h: Likewise.
3178 * sysdeps/i386/atomic-machine.h: Likewise.
3179 * sysdeps/ia64/atomic-machine.h: Likewise.
3180 * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
3181 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
3182 * sysdeps/microblaze/atomic-machine.h: Likewise.
3183 * sysdeps/mips/atomic-machine.h: Likewise.
3184 * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
3185 * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
3186 * sysdeps/s390/atomic-machine.h: Likewise.
3187 * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
3188 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
3189 * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
3190 * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
3191 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
3192 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
3193 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
3194 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
3195 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
3196 * sysdeps/x86_64/atomic-machine.h: Likewise.
3197
3198 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3199
3200 * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
3201 and use it instead of dl_x86_cpu_features.
3202 (handle_intel): Replace maxidx with cpu_features. Pass
3203 cpu_features to intel_check_word.
3204 (__cache_sysconf): Pass cpu_features to handle_intel.
3205 (init_cacheinfo): Likewise. Use cpu_features instead of
3206 dl_x86_cpu_features.
3207
3208 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3209
3210 * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
3211 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3212 memcmp-avx2 and wmemcmp-avx2.
3213 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3214 (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
3215 * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
3216 * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
3217 * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
3218 2 machines if AVX unaligned load is fast and vzeroupper is
3219 preferred.
3220 * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
3221 2 machines if AVX unaligned load is fast and vzeroupper is
3222 preferred.
3223
3224 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3225
3226 * include/wchar.h (__wmemset_chk): New.
3227 * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
3228 to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
3229 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3230 (WMEMSET_CHK_SYMBOL): Likewise.
3231 (WMEMSET_SYMBOL): Likewise.
3232 (__wmemset): Add hidden definition.
3233 (wmemset): Add weak hidden definition.
3234 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3235 wmemset_chk-nonshared.
3236 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3237 (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
3238 __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
3239 __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
3240 and __wmemset_chk_avx512_unaligned.
3241 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
3242 (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3243 (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3244 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3245 (WMEMSET_SYMBOL): Likewise.
3246 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
3247 (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3248 (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3249 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3250 (WMEMSET_SYMBOL): Likewise.
3251 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
3252 (WMEMSET_CHK_SYMBOL): New.
3253 (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
3254 (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
3255 * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
3256 (libc_hidden_builtin_def): Also define __GI_wmemset and
3257 __GI___wmemset.
3258 (weak_alias): New.
3259 * sysdeps/x86_64/multiarch/wmemset.c: New file.
3260 * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
3261 * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
3262 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3263 * sysdeps/x86_64/wmemset.c: Likewise.
3264 * sysdeps/x86_64/wmemset_chk.c: Likewise.
3265
3266 2017-06-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3267 H.J. Lu <hongjiu.lu@intel.com>
3268
3269 * sysdeps/x86/init-arch.h (PASTER1): New.
3270 (EVALUATOR1): Likewise.
3271 (PASTER2): Likewise.
3272 (EVALUATOR2): Likewise.
3273 (REDIRECT_NAME): Likewise.
3274 (OPTIMIZE): Likewise.
3275 (IFUNC_SELECTOR): Likewise.
3276
3277 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3278
3279 * sysdeps/x86_64/strlen.S (PMINU): New.
3280 (PCMPEQ): Likewise.
3281 (SHIFT_RETURN): Likewise.
3282 (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
3283 (strlen): Add SHIFT_RETURN before ret. Replace pcmpeqb and
3284 pminub with PCMPEQ and PMINU.
3285 * sysdeps/x86_64/wcsnlen.S: New file.
3286
3287 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3288
3289 * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
3290 the lower 32 bits. Remove redundant instructions.
3291
3292 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3293
3294 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
3295 0 as the high part of offset.
3296 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
3297
3298 2017-06-05 Joseph Myers <joseph@codesourcery.com>
3299
3300 [BZ #21538]
3301 * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
3302 [__USE_UNIX98].
3303 * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
3304 * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
3305 Likewise.
3306 * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
3307 * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
3308 * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
3309 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
3310 Likewise.
3311
3312 [BZ #21517]
3313 * bits/types/stack_t.h (stack_t): Remove struct tag.
3314 * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
3315 Likewise.
3316 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
3317 Likewise.
3318 * debug/segfault.c (install_handler): Use stack_t instead of
3319 struct sigaltstack.
3320 * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
3321 * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
3322 * include/signal.h (__sigaltstack): Likwise.
3323 * signal/sigaltstack.c (__sigaltstack): Likewise.
3324 * signal/signal.h (sigaltstack): Likewise.
3325 * sysdeps/mach/hurd/i386/signal-defines.sym
3326 (SIGALTSTACK__SS_SP__OFFSET): Likewise.
3327 (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
3328 (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
3329 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3330 * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
3331 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
3332 elf_prstatus): Likewise.
3333 * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
3334 Likewise.
3335 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
3336 Likewise.
3337 * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
3338 Likewise.
3339 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
3340 elf_prstatus): Likewise.
3341 * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
3342 Likewise.
3343 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
3344 Likewise.
3345
3346 2017-06-04 Zack Weinberg <zackw@panix.com>
3347
3348 * sysdeps/gnu/errlist.c: Regenerate.
3349
3350 2017-06-04 H.J. Lu <hongjiu.lu@intel.com>
3351
3352 * benchtests/bench-memchr.c (do_test): Print out both length
3353 and position.
3354 (test_main): Also test the position close to the beginning for
3355 memrchr.
3356
3357 2017-06-04 Zack Weinberg <zackw@panix.com>
3358
3359 * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
3360 * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
3361 * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
3362 * nis/nis_destroygroup.c, nis/nis_domain_of.c
3363 * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
3364 * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
3365 * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
3366 * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
3367 * nis/nis_print_group_entry.c, nis/nis_remove.c
3368 * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
3369 * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
3370 * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
3371 * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
3372 * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
3373 * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
3374 * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
3375 * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
3376 * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
3377 * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
3378 * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
3379 * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
3380 * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
3381 * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
3382 * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
3383 * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
3384 * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
3385 * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
3386 * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
3387 * sunrpc/xdr_stdio.c: Include shlib-compat.h.
3388
3389 * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
3390 abi-versions.h as well as shlib-compat.h.
3391 * sunrpc/get_myaddr.c: Remove obsolete comment.
3392 * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
3393 * sunrpc/rpc_thread.c: Include libc-lock.h only once.
3394 * resolv/res_libc.c: Include shlib-compat.h only once.
3395
3396 2017-06-03 Florian Weimer <fweimer@redhat.com>
3397
3398 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
3399 of strdup.
3400
3401 2017-06-02 H.J. Lu <hongjiu.lu@intel.com>
3402
3403 * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
3404 Set to the 3/4 of the total shared cache size.
3405
3406 2017-06-02 Rical Jasan <ricaljasan@pacific.net>
3407
3408 * manual/errno.texi: Remove redundant error strings.
3409 * manual/macros.texi (@errno): Render the error string in every
3410 description.
3411
3412 2017-06-02 Joseph Myers <joseph@codesourcery.com>
3413
3414 [BZ #21543]
3415 * signal/signal.h: Only include <bits/types/sigevent_t.h> and
3416 <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
3417 [__USE_XOPEN_EXTENDED].
3418
3419 2017-06-02 Florian Weimer <fweimer@redhat.com>
3420
3421 * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
3422 strdupa.
3423 (getcanonname): Use __strdup instead of strdup.
3424
3425 2017-06-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3426
3427 * misc/Makefile (CFLAGS-preadv2.c): New rule.
3428 (CFLAGS-preadv64v2.c): Likewise.
3429 (CFLAGS-pwritev2.c): Likewise.
3430 (CFLAGS-pwritev64v2.c): Likewise.
3431
3432 2017-06-02 Florian Weimer <fweimer@redhat.com>
3433
3434 Test res_init with several configuration files.
3435 * resolv/Makefile [build-shared] (tests-internal): Add
3436 tst-resolv-res_init, tst-resolv-res_init-thread.
3437 (tst-resolv-res_init): Link against libdl, libresolv.
3438 (tst-resolv-res_init-thread): Link against libdl, libresolv,
3439 libpthread.
3440 * resolv/tst-resolv-res_init.c: New file.
3441 * resolv/tst-resolv-res_init-skeleton.c: Likewise.
3442 * resolv/tst-resolv-res_init-thread.c: Likewise.
3443 * support/Makefile (libsupport-routines): Add support-xstat,
3444 support_can_chroot, support_capture_subprocess_check,
3445 support_isolate_in_subprocess, support_shared_allocate,
3446 support_write_file_string, xchroot, xmkdir, xopen.
3447 * support/capture_subprocess.h (enum support_capture_allow): Define.
3448 (support_capture_subprocess_check): Declare.
3449 * support/namespace.h (support_can_chroot)
3450 (support_isolate_in_subprocess): Declare.
3451 * support/support-xstat.c: New file.
3452 * support/support.h (support_shared_allocate, support_shared_free)
3453 (support_write_file_string): Declare.
3454 * support/support_can_chroot.c: New file.
3455 * support/support_capture_subprocess_check.c: Likewise.
3456 * support/support_isolate_in_subprocess.c: Likewise.
3457 * support/support_shared_allocate.c: Likewise.
3458 * support/support_write_file_string.c: Likewise.
3459 * support/xchroot.c: Likwise.
3460 * support/xmkdir.c: Likwise.
3461 * support/xopen.c: Likwise.
3462 * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
3463
3464 2017-06-02 Florian Weimer <fweimer@redhat.com>
3465
3466 * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
3467 (gaih_inet): Remove malloc_canonbuf variable. Call getcanonname.
3468
3469 2017-06-02 Florian Weimer <fweimer@redhat.com>
3470
3471 * malloc/Makefile (routines): Add dynarray_at_failure,
3472 dynarray_emplace_enlarge, dynarray_finalize.
3473 (tests-internal): Add tst-dynarray, tst-dynarray-fail,
3474 tst-dynarray-at-fail.
3475 (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
3476 (tests-special): Add tst-dynarray-mem.out,
3477 tst-dynarray-mem-fail.out.
3478 (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
3479 (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
3480 mtrace.
3481 * malloc/Versions (__libc_dynarray_at_failure)
3482 (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
3483 (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
3484 GLIBC_PRIVATE.
3485 * malloc/dynarray.h: New file.
3486 * malloc/dynarray-skeleton.c: Likewise.
3487 * malloc/dynarray_at_failure.c: Likewise.
3488 * malloc/dynarray_emplace_enlarge.c: Likewise.
3489 * malloc/dynarray_finalize.c: Likewise.
3490 * malloc/dynarray_resize.c: Likewise.
3491 * malloc/dynarray_resize_clear.c: Likewise.
3492 * malloc/tst-dynarray.c: Likewise.
3493 * malloc/tst-dynarray-fail.c: Likewise.
3494 * malloc/tst-dynarray-at-fail.c: Likewise.
3495 * malloc/tst-dynarray-shared.h: Likewise.
3496 * support/Makefile (libsupport-routines): Add
3497 support_capture_subprocess, xdup2, xpipe.
3498 (tests): Add tst-support_capture_subprocess.
3499 * support/capture_subprocess.h: New file.
3500 * support/support_capture_subprocess.c: Likewise.
3501 * support/tst-support_capture_subprocess.c: Likewise.
3502 * support/xdup2.c: Likewise.
3503 * support/xpipe.c: Likewise.
3504 * support/xunistd.h (xdup2, xpipe): Declare.
3505
3506 2017-06-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3507
3508 * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
3509 macros MAX and MIN.
3510
3511 2017-06-01 Joseph Myers <joseph@codesourcery.com>
3512
3513 * conform/data/signal.h-data (sa_sigaction): Do not expect for
3514 [XPG4].
3515 (SA_SIGINFO): Likewise.
3516 (SA_ONSTACK): Likewise.
3517 (SA_RESETHAND): Likewise.
3518 (SA_RESTART): Likewise.
3519 (SA_NOCLDWAIT): Likewise.
3520 (SA_NODEFER): Likewise.
3521 (SS_ONSTACK): Likewise.
3522 (SS_DISABLE): Likewise.
3523 (MINSIGSTKSZ): Likewise.
3524 (SIGSTKSZ): Likewise.
3525 (ucontext_t): Likewise.
3526 (stack_t): Likewise.
3527 (struct sigstack): Likewise.
3528 (SI_USER): Do not expect for [XPG4 || XPG42].
3529 (SI_QUEUE): Likewise.
3530 (SI_TIMER): Likewise.
3531 (SI_ASYNCIO): Likewise.
3532 (SI_MESGQ): Likewise.
3533 (bsd_signal): Do not expect for [XPG4].
3534 (killpg): Likewise.
3535 (sigaltstack): Likewise.
3536 (sighold): Likewise.
3537 (sigignore): Likewise.
3538 (siginterrupt): Likewise.
3539 (sigpause): Likewise.
3540 (sigrelse): Likewise.
3541 (sigset): Likewise.
3542 (sigwait): Do not expect for [XPG4 || XPG42].
3543
3544 2017-06-01 Zack Weinberg <zackw@panix.com>
3545
3546 [BZ #21514]
3547 * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
3548 pointing to the generated file in <builddir>/misc/bits/syscall.h.
3549
3550 2017-06-01 Joseph Myers <joseph@codesourcery.com>
3551
3552 [BZ #21457]
3553 * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
3554 NGREG to __NGREG if [__USE_MISC].
3555 (gregset_t): Define using __NGREG.
3556 (__ctx): New macro.
3557 (mcontext_t): Use __ctx in defining fields.
3558 * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
3559 define NGREG to __NGREG if [__USE_MISC].
3560 (gregset_t): Define using __NGREG.
3561 (__ctx): New macro.
3562 (__ctxt): Likewise.
3563 (fpregset_t): Use __ctx and __ctxt in defining fields.
3564 (mcontext_t): Likewise.
3565 * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
3566 define NGREG to __NGREG if [__USE_MISC].
3567 (gregset_t): Define using __NGREG.
3568 (__ctx): New macro.
3569 (mcontext_t): Use __ctx in defining fields.
3570 * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
3571 define NGREG to __NGREG if [__USE_MISC].
3572 (gregset_t): Define using __NGREG.
3573 (__ctx): New macro.
3574 (fpregset_t): Use __ctx in defining fields.
3575 (mcontext_t): Likewise.
3576 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
3577 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3578 (gregset_t): Define using __NGREG.
3579 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3580 [__USE_MISC].
3581 (fpregset_t): Define using __NFPREG.
3582 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
3583 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3584 (gregset_t): Define using __NGREG.
3585 (__ctx): New macro.
3586 (fpregset_t): Use __ctx in defining fields.
3587 (mcontext_t): Likewise.
3588 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
3589 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3590 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3591 [__USE_MISC].
3592 (gregset_t): Define using __NGREG.
3593 (__ctx): New macro.
3594 (fpregset_t): Use __ctx in defining fields.
3595 (mcontext_t): Likewise.
3596 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
3597 (mcontext_t): Use __ctx in defining fields.
3598 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
3599 macro.
3600 [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
3601 __NGREG if [__USE_MISC].
3602 [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
3603 [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
3604 (mcontext_t): Likewise.
3605 [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
3606 __NGREG if [__USE_MISC].
3607 [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
3608 to __NFPREG if [__USE_MISC].
3609 [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
3610 to __NVRREG if [__USE_MISC].
3611 [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
3612 [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
3613 [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
3614 [__WORDSIZE != 32] (vrregset_t): Likewise.
3615 [__WORDSIZE != 32] (mcontext_t): Likewise.
3616 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
3617 (__psw_t): Use __ctx in defining fields.
3618 (NGREG): Rename to __NGREG and define NGREG to __NGREG if
3619 [__USE_MISC].
3620 (gregset_t): Define using __NGREG.
3621 (fpreg_t): Use __ctx in defining fields.
3622 (fpregset_t): Likewise.
3623 (mcontext_t): Likewise.
3624 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
3625 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3626 (gregset_t): Define using __NGREG.
3627 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3628 [__USE_MISC].
3629 (fpregset_t): Define using __NFPREG.
3630 (__ctx): New macro.
3631 (mcontext_t): Use __ctx in defining fields.
3632 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
3633 [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
3634 __NGREG if [__USE_MISC].
3635 [__x86_64__] (gregset_t): Define using __NGREG.
3636 [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
3637 [__x86_64__] (struct _libc_fpstate): Likewise.
3638 [__x86_64__] (mcontext_t): Likewise.
3639 [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
3640 __NGREG if [__USE_MISC].
3641 [!__x86_64__] (gregset_t): Define using __NGREG.
3642 [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
3643 [!__x86_64__] (struct _libc_fpstate): Likewise.
3644 [!__x86_64__] (mcontext_t): Likewise.
3645
3646 2017-06-01 Zack Weinberg <zackw@panix.com>
3647
3648 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
3649 alpha/pt-vfork.S. Provide own compat shim for vfork and __vfork.
3650 * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
3651 * sysdeps/unix/sysv/linux/microblaze/localplt.data:
3652 libpthread.so no longer references __errno_location.
3653
3654 2017-05-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3655
3656 * NEWS: Add note about pwritev2 and preadv2 inclusion.
3657 * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
3658 pwritev64v2.
3659 (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
3660 * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
3661 pwritev64v2.
3662 * misc/preadv2.c: New file.
3663 * misc/preadv64v2.c: Likewise.
3664 * misc/pwritev2.c: Likewise.
3665 * misc/pwritev64v2.c: Likewise.
3666 * misc/tst-preadvwritev2.c: Likewise.
3667 * misc/tst-preadvwritev64v2.c: Likewise.
3668 * manual/llio.texi: Add preadv2 and pwritev2 documentation.
3669 * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
3670 prototype.
3671 [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
3672 [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
3673 [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
3674 * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
3675 (PWRITEV): Likewise.
3676 (do_test_with_offset): Use PREADV and PWRITEV macros and check for
3677 ENOSYS.
3678 * nptl/tst-cancel4.c (tf_pwritev2): New test.
3679 (tf_preadv2): Likewise.
3680 (tf_fsync): Add tf_pwritev2 and tf_preadv2.
3681 * sysdeps/posix/preadv2.c: Likewise.
3682 * sysdeps/posix/preadv64v2.c: Likewise.
3683 * sysdeps/posix/pwritev2.c: Likewise.
3684 * sysdeps/posix/pwritev64v2.c: Likewise.
3685 * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
3686 support in kernel.
3687 * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
3688 * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
3689 * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
3690 * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
3691 * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
3692 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
3693 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
3694 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
3695 * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
3696 support flags on Linux.
3697 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
3698 preadv2, preadv64v2, pwritev2, pwritev64v2.
3699 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
3700 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
3701 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
3702 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
3703 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
3704 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
3705 Likewise.
3706 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
3707 Likewise.
3708 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
3709 Likewise.
3710 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
3711 Likewise.
3712 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
3713 Likewise.
3714 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
3715 Likewise.
3716 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
3717 Likewise.
3718 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
3719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3720 (GLIBC_2.26): Likewise.
3721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3722 (GLIBC_2.26): Likewise.
3723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
3724 Likewise.
3725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3726 (GLIBC_2.26): Likewise.
3727 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
3728 Likewise.
3729 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
3730 Likewise.
3731 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
3732 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
3733 Likewise.
3734 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
3735 Likewise.
3736 * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
3737 Likewise.
3738 * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
3739 Likewise.
3740 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
3741 Likewise.
3742 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
3743 Likewise.
3744 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
3745 Likewise.
3746
3747 2017-05-31 Andreas Schwab <schwab@suse.de>
3748
3749 * nptl/tst-fork3.c: Include <support/test-driver.c>.
3750 (main): Rename to do_test and make static.
3751
3752 2017-05-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3753
3754 * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
3755 ARCH_INIT_CPU_FEATURES.
3756 (LIBC_START_MAIN): Call it.
3757 * sysdeps/unix/sysv/linux/aarch64/libc-start.c
3758 (__libc_start_main): Remove.
3759 (ARCH_INIT_CPU_FEATURES): New macro.
3760 * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
3761 (ARCH_INIT_CPU_FEATURES): New macro.
3762
3763 2017-05-30 Dennis Wölfing <denniswoelfing@gmx.de>
3764 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3765
3766 * include/stdlib.h (__libc_reallocarray): New declaration.
3767 * malloc/Makefile (routines): Add reallocarray.
3768 (tests): Add tst-reallocarray.c.
3769 * malloc/Versions: Add reallocarray and __libc_reallocarray.
3770 * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
3771 function.
3772 * malloc/malloc.h (reallocarray): New declaration.
3773 * stdlib/stdlib.h (reallocarray): Likewise.
3774 * malloc/reallocarray.c: New file.
3775 * malloc/tst-reallocarray.c: New test file.
3776 * manual/memory.texi: Document reallocarray.
3777 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
3778 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3779 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3780 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3781 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3782 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3783 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3784 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3785 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3786 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3787 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3788 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3789 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3790 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3792 Likewise.
3793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3794 Likewise.
3795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3797 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3798 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3799 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3800 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3801 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3802 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3803 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3804 * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
3805 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3806 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3807
3808 2017-05-30 H.J. Lu <hongjiu.lu@intel.com>
3809
3810 * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
3811 the lower 32 bits.
3812
3813 2017-05-29 Andreas Schwab <schwab@linux-m68k.org>
3814
3815 * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
3816 $(build-pie-default) = yes]: Define.
3817
3818 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
3819
3820 * string/test-memchr.c (test_main): Add tests for n == 0.
3821
3822 2017-05-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3823
3824 * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
3825 nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
3826 (tests-internal): ... here.
3827
3828 2017-05-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
3829 H.J. Lu <hongjiu.lu@intel.com>
3830
3831 * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
3832 * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
3833 (__tunable_set_val): Likewise.
3834
3835 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
3836
3837 * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
3838 dl-tunables.list in subdirectories.
3839
3840 2017-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3841 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3842 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3843
3844 * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3845 (SNANF128): New macro.
3846 * math/e_sqrtf128.c: New file.
3847 * math/s_fmaxmag_template.c: Include math_private.h in order to
3848 make inline expansion of fabs128().
3849 * math/s_fminmag_template.c: Likewise.
3850
3851 * sysdeps/ieee754/float128/e_acosf128.c: New file.
3852 * sysdeps/ieee754/float128/e_acoshf128.c: New file.
3853 * sysdeps/ieee754/float128/e_asinf128.c: New file.
3854 * sysdeps/ieee754/float128/e_atan2f128.c: New file.
3855 * sysdeps/ieee754/float128/e_atanhf128.c: New file.
3856 * sysdeps/ieee754/float128/e_coshf128.c: New file.
3857 * sysdeps/ieee754/float128/e_exp10f128.c: New file.
3858 * sysdeps/ieee754/float128/e_expf128.c: New file.
3859 * sysdeps/ieee754/float128/e_fmodf128.c: New file.
3860 * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
3861 * sysdeps/ieee754/float128/e_hypotf128.c: New file.
3862 * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
3863 * sysdeps/ieee754/float128/e_j0f128.c: New file.
3864 * sysdeps/ieee754/float128/e_j1f128.c: New file.
3865 * sysdeps/ieee754/float128/e_jnf128.c: New file.
3866 * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
3867 * sysdeps/ieee754/float128/e_log10f128.c: New file.
3868 * sysdeps/ieee754/float128/e_log2f128.c: New file.
3869 * sysdeps/ieee754/float128/e_logf128.c: New file.
3870 * sysdeps/ieee754/float128/e_powf128.c: New file.
3871 * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
3872 * sysdeps/ieee754/float128/e_remainderf128.c: New file.
3873 * sysdeps/ieee754/float128/e_scalbf128.c: New file.
3874 * sysdeps/ieee754/float128/e_sinhf128.c: New file.
3875 * sysdeps/ieee754/float128/float128_private.h: New file.
3876 * sysdeps/ieee754/float128/gamma_productf128.c: New file.
3877 * sysdeps/ieee754/float128/ieee754_float128.h: New file.
3878 * sysdeps/ieee754/float128/k_cosf128.c: New file.
3879 * sysdeps/ieee754/float128/k_sincosf128.c: New file.
3880 * sysdeps/ieee754/float128/k_sinf128.c: New file.
3881 * sysdeps/ieee754/float128/k_tanf128.c: New file.
3882 * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
3883 * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
3884 * sysdeps/ieee754/float128/s_asinhf128.c: New file.
3885 * sysdeps/ieee754/float128/s_atanf128.c: New file.
3886 * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
3887 * sysdeps/ieee754/float128/s_ceilf128.c: New file.
3888 * sysdeps/ieee754/float128/s_copysignf128.c: New file.
3889 * sysdeps/ieee754/float128/s_cosf128.c: New file.
3890 * sysdeps/ieee754/float128/s_erff128.c: New file.
3891 * sysdeps/ieee754/float128/s_expm1f128.c: New file.
3892 * sysdeps/ieee754/float128/s_fabsf128.c: New file.
3893 * sysdeps/ieee754/float128/s_finitef128.c: New file.
3894 * sysdeps/ieee754/float128/s_floorf128.c: New file.
3895 * sysdeps/ieee754/float128/s_fmaf128.c: New file.
3896 * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
3897 * sysdeps/ieee754/float128/s_frexpf128.c: New file.
3898 * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
3899 * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
3900 * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
3901 * sysdeps/ieee754/float128/s_isinff128.c: New file.
3902 * sysdeps/ieee754/float128/s_isnanf128.c: New file.
3903 * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
3904 * sysdeps/ieee754/float128/s_llrintf128.c: New file.
3905 * sysdeps/ieee754/float128/s_llroundf128.c: New file.
3906 * sysdeps/ieee754/float128/s_log1pf128.c: New file.
3907 * sysdeps/ieee754/float128/s_logbf128.c: New file.
3908 * sysdeps/ieee754/float128/s_lrintf128.c: New file.
3909 * sysdeps/ieee754/float128/s_lroundf128.c: New file.
3910 * sysdeps/ieee754/float128/s_modff128.c: New file.
3911 * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
3912 * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
3913 * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
3914 * sysdeps/ieee754/float128/s_nextupf128.c: New file.
3915 * sysdeps/ieee754/float128/s_remquof128.c: New file.
3916 * sysdeps/ieee754/float128/s_rintf128.c: New file.
3917 * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
3918 * sysdeps/ieee754/float128/s_roundf128.c: New file.
3919 * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
3920 * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
3921 * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
3922 * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
3923 * sysdeps/ieee754/float128/s_signbitf128.c: New file.
3924 * sysdeps/ieee754/float128/s_significandf128.c: New file.
3925 * sysdeps/ieee754/float128/s_sincosf128.c: New file.
3926 * sysdeps/ieee754/float128/s_sinf128.c: New file.
3927 * sysdeps/ieee754/float128/s_tanf128.c: New file.
3928 * sysdeps/ieee754/float128/s_tanhf128.c: New file.
3929 * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
3930 * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
3931 * sysdeps/ieee754/float128/s_truncf128.c: New file.
3932 * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
3933 * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
3934 * sysdeps/ieee754/float128/t_sincosf128.c: New file.
3935 * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
3936
3937 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
3938 (__iscanonicalf128): Define as a macro.
3939
3940 2017-05-24 Steve Ellcey <sellcey@caviumnetworks.com>
3941
3942 * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
3943 (memmove): Use MEMMOVE for name.
3944 (memcpy): Use MEMCPY for name. Change internal labels
3945 to external labels.
3946 * sysdeps/aarch64/multiarch/Makefile: New file.
3947 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
3948 * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
3949 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
3950 * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
3951 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
3952 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
3953
3954 2017-05-24 Siddhesh Poyarekar <siddhesh@sourceware.org>
3955
3956 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3957 (_dl_arm_cap_flags): Fix array subscript.
3958 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3959 Fix count.
3960
3961 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
3962
3963 * sysdeps/x86/cacheinfo.c: Skip if not in libc.
3964
3965 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
3966
3967 * sysdeps/x86/cacheinfo.c (is_intel): Removed.
3968 (is_amd): Likewise.
3969 (max_cpuid): Likewise.
3970 (__cache_sysconf): Use __get_cpu_features to get cpu_features.
3971 (init_cacheinfo): Likewise.
3972
3973 2017-05-23 Joseph Myers <joseph@codesourcery.com>
3974
3975 [BZ #21511]
3976 * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
3977 [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
3978 (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
3979 !__USE_XOPEN2K) || __USE_MISC].
3980 * conform/data/signal.h-data (struct sigstack): Expect type only
3981 if [!XOPEN2K8 && !POSIX2008].
3982 (sigstack): Expect function only if [XPG42 || UNIX98].
3983
3984 [BZ #21457]
3985 * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
3986 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3987 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3988 <bits/types/__sigset_t.h>.
3989 (ucontext_t): Use sigset_t instead of __sigset_t.
3990 * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
3991 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3992 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3993 <bits/types/__sigset_t.h>.
3994 (ucontext_t): Use sigset_t instead of __sigset_t.
3995 * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
3996 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3997 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3998 <bits/types/__sigset_t.h>.
3999 (ucontext_t): Use sigset_t instead of __sigset_t.
4000 * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
4001 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4002 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4003 <bits/types/__sigset_t.h>.
4004 (ucontext_t): Use sigset_t instead of __sigset_t.
4005 * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
4006 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4007 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4008 <bits/types/__sigset_t.h>.
4009 (ucontext_t): Use sigset_t instead of __sigset_t.
4010 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
4011 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4012 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4013 <bits/types/__sigset_t.h>.
4014 (ucontext_t): Use sigset_t instead of __sigset_t.
4015 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
4016 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4017 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4018 <bits/types/__sigset_t.h>.
4019 (ucontext_t): Use sigset_t instead of __sigset_t.
4020 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
4021 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4022 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4023 <bits/types/__sigset_t.h>.
4024 (ucontext_t): Use sigset_t instead of __sigset_t.
4025 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
4026 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4027 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4028 <bits/types/__sigset_t.h>.
4029 (ucontext_t): Use sigset_t instead of __sigset_t.
4030 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4031 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4032 <bits/ss_flags.h>. Include <bits/types/sigset_t.h>.
4033 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
4034 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4035 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4036 <bits/types/__sigset_t.h>.
4037 (ucontext_t): Use sigset_t instead of __sigset_t.
4038 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
4039 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4040 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4041 <bits/types/__sigset_t.h>.
4042 (ucontext_t): Use sigset_t instead of __sigset_t.
4043 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
4044 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4045 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4046 <bits/types/__sigset_t.h>.
4047 (ucontext_t): Use sigset_t instead of __sigset_t.
4048 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
4049 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4050 <bits/ss_flags.h>.
4051 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
4052 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4053 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4054 <bits/types/__sigset_t.h>.
4055 (ucontext_t): Use sigset_t instead of __sigset_t.
4056 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
4057 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4058 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4059 <bits/types/__sigset_t.h>.
4060 (ucontext_t): Use sigset_t instead of __sigset_t.
4061 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
4062 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4063 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4064 <bits/types/__sigset_t.h>.
4065 (ucontext_t): Use sigset_t instead of __sigset_t.
4066 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
4067 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4068 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4069 <bits/types/__sigset_t.h>.
4070 (ucontext_t): Use sigset_t instead of __sigset_t.
4071 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
4072 <bits/types.h>.
4073 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
4074 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4075 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4076 <bits/types/__sigset_t.h>.
4077 (ucontext_t): Use sigset_t instead of __sigset_t.
4078
4079 2017-05-22 Zack Weinberg <zackw@panix.com>
4080
4081 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4082 (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
4083 bits/siginfo-arch.h, only if not already defined.
4084 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4085 (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
4086 (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
4087 Likewise.
4088
4089 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4090 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4091 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4092 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4093 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4094 Unconditionally define __SI_* macros.
4095
4096 2017-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4097
4098 [BZ #21393]
4099 * libio/freopen.c (freopen): Avoid dup already opened file descriptor
4100 and add a check for dup3 failure.
4101 * libio/freopen64.c (freopen64): Likewise.
4102 * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
4103 libsupport.
4104 (do_test_bz21398): New test.
4105 * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
4106
4107 2017-05-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
4108
4109 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
4110 Remove invalid comment.
4111
4112 2017-05-21 Zack Weinberg <zackw@panix.com>
4113
4114 * signal/Makefile (headers): Add bits/types/sigval_t.h.
4115
4116 2017-05-20 Zack Weinberg <zackw@panix.com>
4117
4118 * bits/sigevent-consts.h
4119 * bits/siginfo-consts.h
4120 * bits/types/__sigset_t.h
4121 * bits/types/sigevent_t.h
4122 * bits/types/siginfo_t.h
4123 * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
4124 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4125 * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
4126 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
4127 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
4128 New system-dependent bits headers.
4129
4130 * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
4131 * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
4132 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4133 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
4134 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4135 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4136 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4137 * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
4138 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4139 New Linux-only system-dependent bits headers.
4140
4141 * signal/bits/types/sig_atomic_t.h
4142 * signal/bits/types/sigset_t.h
4143 * signal/bits/types/sigval_t.h:
4144 New non-system-dependent bits headers.
4145
4146 * sysdeps/generic/sigsetops.h
4147 * sysdeps/unix/sysv/linux/sigsetops.h:
4148 New internal headers.
4149
4150 * include/bits/types/sig_atomic_t.h
4151 * include/bits/types/sigset_t.h
4152 * include/bits/types/sigval_t.h:
4153 New wrappers.
4154
4155 * signal/sigsetops.h
4156 * bits/siginfo.h
4157 * bits/sigset.h
4158 * sysdeps/unix/sysv/linux/bits/siginfo.h
4159 * sysdeps/unix/sysv/linux/bits/sigset.h
4160 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
4161 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
4162 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
4163 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
4164 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
4165 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
4166 Deleted.
4167
4168 * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
4169 Update lists of installed headers.
4170
4171 * posix/bits/types.h: Define __sig_atomic_t here.
4172 * signal/signal.h: Use the new bits headers; no need to handle
4173 __need_sig_atomic_t nor __need_sigset_t. Don't use __sigmask
4174 to define sigmask.
4175 * include/signal.h: No need to handle __need_sig_atomic_t
4176 nor __need_sigset_t. Don't define __sigemptyset.
4177
4178 * io/sys/poll.h, setjmp/setjmp.h
4179 * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
4180 * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
4181 * sysdeps/mach/hurd/i386/bits/sigcontext.h
4182 * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
4183 * sysdeps/pthread/bits/sigthread.h
4184 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
4185 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
4186 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
4187 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
4188 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4189 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
4190 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
4191 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
4192 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
4193 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
4194 Use bits/types/__sigset_t.h.
4195
4196 * misc/sys/select.h, posix/spawn.h
4197 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4198 * sysdeps/unix/sysv/linux/sys/epoll.h
4199 * sysdeps/unix/sysv/linux/sys/signalfd.h:
4200 Use bits/types/sigset_t.h.
4201
4202 * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
4203 * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
4204 * socket/sys/socket.h: Don't include bits/sigset.h.
4205
4206 * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
4207 * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
4208 * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
4209 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
4210 * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
4211 * sysdeps/unix/sysv/linux/nptl-signals.h:
4212 Include sigsetops.h.
4213
4214 * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
4215 * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
4216 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
4217 __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
4218 now return no value.
4219
4220 * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
4221 Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
4222 "sigsetops.h".
4223
4224 * signal/sigsetops.c: Explicitly define __sigismember,
4225 __sigaddset, and __sigdelset as compatibility symbols.
4226
4227 * signal/Versions: Correct commentary on __sigpause,
4228 __sigaddset, __sigdelset, __sigismember.
4229
4230 * inet/rcmd.c: Include sigsetops.h. Convert old code using
4231 __sigblock/__sigsetmask to use __sigprocmask and friends.
4232
4233 * resolv/resolv.h: Remove __need_res_state logic.
4234 Move definition of res_state and related constants to ...
4235 * resolv/bits/types/res_state.h: ...this new file.
4236 * resolv/Makefile: Install bits/types/res_state.h.
4237 * include/bits/types/res_state.h: New wrapper.
4238 * include/list.h: Remove __need_list_t logic.
4239 Move definition of list_t to ...
4240 * include/list_t.h: ...this new file.
4241
4242 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4243 instead of list.h and resolv.h.
4244
4245 * resolv/resolv.h: Remove __need_res_state logic.
4246 Move definition of res_state and related constants to ...
4247 * resolv/bits/types/res_state.h: ...this new file.
4248 * resolv/Makefile: Install bits/types/res_state.h.
4249 * include/bits/types/res_state.h: New wrapper.
4250 * include/list.h: Remove __need_list_t logic.
4251 Move definition of list_t to ...
4252 * include/list_t.h: ...this new file.
4253
4254 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4255 instead of list.h and resolv.h.
4256
4257 2017-05-20 H.J. Lu <hongjiu.lu@intel.com>
4258
4259 * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
4260
4261 2017-05-20 Zack Weinberg <zackw@panix.com>
4262
4263 * sysdeps/arm/sysdep.h
4264 (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
4265
4266 * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
4267 * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
4268 * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
4269 * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
4270 * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
4271 * sysdeps/arm/armv6t2/strlen.S
4272 * sysdeps/arm/armv7/multiarch/memcpy_impl.S
4273 * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
4274 * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
4275 * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
4276 * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
4277 Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
4278
4279 2017-05-20 Zack Weinberg <zackw@panix.com>
4280
4281 Remove the NaCl port.
4282 * sysdeps/arm/nacl: Remove directory and contents.
4283 * sysdeps/nacl: Remove directory and contents.
4284 * abi-tags: Remove .*-.*-nacl.* entry.
4285
4286 2017-05-19 Rical Jasan <ricaljasan@pacific.net>
4287
4288 * manual/errno.texi: Convert @comment-based errno documentation to
4289 @errno.
4290 * manual/macros.texi (@errno): New macro. Consolidate errors,
4291 their values, and messages, adding the error string to the Concept
4292 Index. Provide a warning in the comment about external (to the
4293 manual) dependencies.
4294 * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
4295 * sysdeps/mach/hurd/errnos.awk: Likewise.
4296
4297 2017-05-19 Joseph Myers <joseph@codesourcery.com>
4298
4299 * bits/ss_flags.h: New file.
4300 * bits/types/stack_t.h: Likewise.
4301 * include/bits/types/struct_sigstack.h: Likewise.
4302 * signal/bits/types/struct_sigstack.h: Likewise.
4303 * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
4304 * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
4305 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
4306 * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
4307 bits/types/stack_t.h and bits/ss_flags.h.
4308 * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
4309 Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4310 <bits/ss_flags.h>.
4311 * bits/sigstack.h (struct sigstack): Remove.
4312 (stack_t): Likewise.
4313 (SS_ONSTACK): Likewise.
4314 (SS_DISABLE): Likewise.
4315 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
4316 (struct sigstack): Likewise.
4317 (stack_t): Likewise.
4318 (SS_ONSTACK): Likewise.
4319 (SS_DISABLE): Likewise.
4320 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
4321 Likewise.
4322 (stack_t): Likewise.
4323 (SS_ONSTACK): Likewise.
4324 (SS_DISABLE): Likewise.
4325 * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
4326 Likewise.
4327 (stack_t): Likewise.
4328 (SS_ONSTACK): Likewise.
4329 (SS_DISABLE): Likewise.
4330 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
4331 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
4332 Likewise.
4333 (stack_t): Likewise.
4334 (SS_ONSTACK): Likewise.
4335 (SS_DISABLE): Likewise.
4336 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
4337 (struct sigstack): Likewise.
4338 (stack_t): Likewise.
4339 (SS_ONSTACK): Likewise.
4340 (SS_DISABLE): Likewise.
4341 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
4342 Likewise.
4343 (stack_t): Likewise.
4344 (SS_ONSTACK): Likewise.
4345 (SS_DISABLE): Likewise.
4346 * sysdeps/arm/sys/ucontext.h: Include
4347 <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4348 <bits/ss_flags.h>.
4349 * sysdeps/generic/sys/ucontext.h: Likewise.
4350 * sysdeps/i386/sys/ucontext.h: Likewise.
4351 * sysdeps/m68k/sys/ucontext.h: Likewise.
4352 * sysdeps/mips/sys/ucontext.h: Likewise.
4353 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
4354 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
4355 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
4356 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
4357 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
4358 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
4359 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
4360 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
4361 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
4362 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4363 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
4364 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
4365 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
4366 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
4367 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
4368
4369 2017-05-19 H.J. Lu <hongjiu.lu@intel.com>
4370
4371 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
4372 "edx + ecx - 16" to avoid possible addition overflow.
4373 * sysdeps/x86_64/memchr.S (memchr): Likewise.
4374
4375 2017-05-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4376
4377 * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
4378 (CFLAGS-splice.c): Likewise.
4379 (CFLAGS-open_by_handle_at.c): Likewise.
4380 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
4381 (CFLAGS-splice.c): Likewise.
4382 (CFLAGS-open_by_handle_at.c): Likewise.
4383
4384 2017-05-19 Joseph Myers <joseph@codesourcery.com>
4385
4386 * scripts/versions.awk: Generate ldbl-compat-choose.h.
4387 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
4388 <ldbl-compat-choose.h>.
4389 (maybe_long_double_symbol): New macro.
4390 [!declare_mgen_alias] (declare_mgen_alias): Use
4391 maybe_long_double_symbol.
4392 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
4393 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
4394 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
4395 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
4396 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4397 * Makerules [$(build-shared) = yes && !avoid-generated]
4398 (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
4399 [$(build-shared) = yes && !avoid-generated]
4400 ($(common-objpfx)ldbl-compat-choose.h): New target.
4401
4402 * scripts/versions.awk: Generate first-versions.h.
4403 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
4404 <first-versions.h>.
4405 (LDOUBLE_cabsl_libm_version): Remove macro.
4406 (LDOUBLE_cargl_libm_version): Likewise.
4407 (LDOUBLE_cimagl_libm_version): Likewise.
4408 (LDOUBLE_conjl_libm_version): Likewise.
4409 (LDOUBLE_creall_libm_version): Likewise.
4410 (LDOUBLE_cacosl_libm_version): Likewise.
4411 (LDOUBLE_cacoshl_libm_version): Likewise.
4412 (LDOUBLE_ccosl_libm_version): Likewise.
4413 (LDOUBLE_ccoshl_libm_version): Likewise.
4414 (LDOUBLE_casinl_libm_version): Likewise.
4415 (LDOUBLE_csinl_libm_version): Likewise.
4416 (LDOUBLE_casinhl_libm_version): Likewise.
4417 (LDOUBLE_csinhl_libm_version): Likewise.
4418 (LDOUBLE_catanl_libm_version): Likewise.
4419 (LDOUBLE_catanhl_libm_version): Likewise.
4420 (LDOUBLE_ctanl_libm_version): Likewise.
4421 (LDOUBLE_ctanhl_libm_version): Likewise.
4422 (LDOUBLE_cexpl_libm_version): Likewise.
4423 (LDOUBLE_clogl_libm_version): Likewise.
4424 (LDOUBLE_cprojl_libm_version): Likewise.
4425 (LDOUBLE_csqrtl_libm_version): Likewise.
4426 (LDOUBLE_cpowl_libm_version): Likewise.
4427 (LDOUBLE_clog10l_libm_version): Likewise.
4428 (LDOUBLE___clog10l_libm_version): Likewise.
4429 (LDOUBLE_fdiml_libm_version): Likewise.
4430 (LDOUBLE_fmaxl_libm_version): Likewise.
4431 (LDOUBLE_fminl_libm_version): Likewise.
4432 (LDOUBLE_ilogbl_libm_version): Likewise.
4433 (LDOUBLE_nanl_libm_version): Likewise.
4434 [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
4435 FIRST_VERSION_libm_* macros.
4436 [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
4437 * Makerules [$(build-shared) = yes && !avoid-generated]
4438 (before-compile): Add $(common-objpfx)first-versions.h.
4439 [$(build-shared) = yes && !avoid-generated]
4440 ($(common-objpfx)first-versions.h): New target.
4441 ($(common-objpfx)sysd-versions): Depend on and change to rule for
4442 building $(common-objpfx)versions.stmp.
4443
4444 2017-05-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4445
4446 * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
4447 * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
4448 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
4449 auto-generation list.
4450
4451 * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
4452 * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
4453 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
4454 from auto-generation list.
4455
4456 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4457 open_by_handle_at.
4458 (CFLAGS-open_by_handle_at.c): New flag.
4459 * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
4460 * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
4461 file.
4462 * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
4463
4464 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
4465 (CFLAGS-splice.c): New flag.
4466 * sysdeps/unix/sysv/linux/splice.c: New file.
4467 * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
4468 auto-generation syscall list.
4469 * misc/Makefile (CFLAGS-splice.c): New rule.
4470
4471 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
4472 * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
4473 auto-generation syscall list.
4474 * sysdeps/unix/sysv/linux/vmsplice.c: New file.
4475 * misc/Makefile (CFLAGS-vmsplice.c): New rule.
4476
4477 * misc/Makefile (CFLAGS-fsync.c): New flag.
4478 * nptl/Makefile (CFLAGS-fsync.c): Likewise.
4479 * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
4480 syscall list.
4481 * sysdeps/unix/sysv/linux/fsync.c: New file.
4482 * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
4483 (__errno_location): Remove.
4484
4485 * misc/Makefile (CFLAGS-fdatasync.c): New rule.
4486 * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
4487 * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
4488 list.
4489 * sysdeps/unix/sysv/linux/fdatasync.c: New file.
4490
4491 * misc/Makefile (CFLAGS-msync.c): New rule.
4492 * nptl/Makefile (CFLAGS-msync.c): Likewise.
4493 * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
4494 * sysdeps/unix/sysv/linux/msync.c: New file.
4495
4496 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
4497 * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
4498 * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
4499 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4500 (CFLAGS-sigsuspend.c): Remove rule.
4501
4502 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
4503 (CFLAGS-tee.c): New rule.
4504 * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
4505 auto-generated list.
4506 * sysdeps/unix/sysv/linux/tee.c: New file.
4507
4508 * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
4509 * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
4510 * sysdeps/unix/sysv/linux/nanosleep.c: New file.
4511 * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
4512 auto-generated list.
4513
4514 * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
4515 auto-generated list.
4516 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
4517 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4518 * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
4519 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4520 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4521
4522 * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
4523 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
4524 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
4525 (__NR_pause): Undefine.
4526 * sysdeps/unix/sysv/linux/pause.c: New file.
4527 * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
4528 auto-generation list.
4529 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
4530 Remove rule.
4531 * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
4532
4533 2017-05-18 H.J. Lu <hongjiu.lu@intel.com>
4534
4535 * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
4536 comments.
4537
4538 2017-05-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
4539
4540 * elf/Makefile (tst-env-setuid-ENV): Reduce value of
4541 LD_HWCAP_MASK.
4542
4543 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
4544
4545 * manual/conf.texi: Convert @tables of annotated @items to
4546 @vtables.
4547 * manual/lang.texi: Likewise.
4548 * manual/pattern.texi: Likewise.
4549 * manual/resource.texi: Likewise.
4550 * manual/socket.texi: Likewise.
4551
4552 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
4553
4554 * manual/crypt.texi: Move a comment out of an @*x list.
4555 * manual/filesys.texi: Refactor some comments, one of which looks
4556 like a standard. Fix incorrectly separated standards.
4557 * manual/locale.texi: Invert an annotation.
4558 * manual/resource.texi: Fix incorrectly separated standards.
4559 * manual/time.texi: Refactor a @vtable that obscures an
4560 annotation.
4561 * manual/users.texi: Refactor multiple headers to occupy a single
4562 @comment.
4563
4564 2017-05-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4565
4566 * sysdeps/powerpc/powerpc64/multiarch/Makefile
4567 (sysdep_routines): Add memcmp-power8.
4568 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4569 (memcmp): Add __memcmp_power8 to list of memcmp functions.
4570 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
4571 (memcmp): Add __memcmp_power8 to ifunc list.
4572 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
4573 * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
4574
4575 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4576 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4577
4578 * math/math.h (__MATH_TG): Extend the conditions to add
4579 _Float128 support.
4580 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
4581
4582 2017-05-17 Paul A. Clarke <pc@us.ibm.com>
4583
4584 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4585 [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
4586 s_cosf-ppc64.
4587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
4588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
4589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
4590 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
4591
4592 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4593
4594 * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
4595 (gen-libm-calls): Add e_exp2F to use the template.
4596 * math/e_exp2l.c: Rename to math/e_exp2_template.c.
4597 * math/e_exp2_template.c: New file, renamed from
4598 math/e_exp2l.c, and made into a template.
4599 * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
4600
4601 2017-05-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
4602
4603 * elf/dl-tunable-types.h (tunable_type_code_t): New type
4604 TUNABLE_TYPE_UINT_64.
4605 * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
4606 Simplify computation of overflow.
4607 (tunable_set_val_if_valid_range_signed,
4608 tunable_set_val_if_valid_range_unsigned): Remove and replace
4609 with this...
4610 (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
4611 (tunable_initialize): Adjust. Add uint64_t support.
4612 (__tunable_set_val): Add uint64_t support.
4613 * README.tunables: Document it.
4614
4615 * scripts/gen-tunables.awk: Recognize 'default' keyword in
4616 dl-tunables.list.
4617 * README.tunables: Document it.
4618
4619 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4620
4621 * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
4622 * sysdeps/posix/preadv64.c: Likewise.
4623 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4624 * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
4625 * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
4626 * sysdeps/posix/pwritev64.c: Likewise.
4627 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4628 * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
4629 * sysdeps/posix/preadv_common.c: New file.
4630 * sysdeps/posix/pwritev_common.c: Likewise.
4631
4632 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4633
4634 * sysdeps/generic/math-type-macros-float128.h
4635 (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
4636 wrapper templates.
4637
4638 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4639 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4640
4641 * include/complex.h (__kernel_casinhf128): New declaration.
4642 * include/float.h: New file.
4643 * include/math.h (__finitef128): Add a hidden def.
4644 (__isinff128): Likewise.
4645 (__isnanf128): Likewise.
4646 (__fpclassify): Likewise.
4647 (__issignalling): Likewise.
4648 (__expf128): Likewise.
4649 (__expm1f128): Likewise.
4650
4651 * sysdeps/generic/fix-fp-int-convert-overflow.h:
4652 (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
4653 (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
4654
4655 * sysdeps/generic/math-type-macros-float128.h: New file.
4656
4657 * sysdeps/generic/math_private.h: Include bits/floatn.h and
4658 math_private_calls.h for _Float128.
4659 (__isinff128): New inline implementation used when GCC < 7.0,
4660 since in this case __builtin_isinf_sign is broken.
4661 (fabsf128): New inline implementation that calls the builtin.
4662 (__EXPR_FLT128): New macro.
4663 (min_of_type): Optionally include _Float128 types too.
4664
4665 * sysdeps/generic/math_private_calls.h (__kernel_sincos):
4666 Declare for _Float128.
4667 (__kernel_rem_pio2): Likewise.
4668
4669 * sysdeps/ieee754/ldbl-opt/s_sin.c:
4670 (__DECL_SIMD_sincos_disablef128): New macro.
4671
4672 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4673
4674 * math/math.h: Include bits/math-finite.h for float128.
4675 (__MATH_DECLARING_FLOATN): Define to control declaration of
4676 float128 functions.
4677 * math/bits/math-finite.h (pow10): Do not declare for float128.
4678 (gamma): Likewise.
4679 (scalb): Likewise.
4680
4681 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4682 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4683
4684 * bits/floatn.h: New file.
4685 * bits/huge_val_flt128.h: Likewise.
4686
4687 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
4688 (__DECL_SIMD_sinf128): Likewise.
4689 (__DECL_SIMD_sincosf128): Likewise.
4690 (__DECL_SIMD_logf128): Likewise.
4691 (__DECL_SIMD_expf128): Likewise.
4692 (__DECL_SIMD_powf128): Likewise.
4693
4694 * math/Makefile (headers): Install bits/floatn.h and
4695 bits/huge_val_flt128.h.
4696
4697 * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
4698 defined.
4699
4700 * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
4701 (isnan, gamma, nexttoward, scalb): Only define if not
4702 __MATH_DECLARING_FLOATN.
4703 (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
4704 (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
4705 (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
4706 _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
4707
4708 * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
4709 Include bits/cmathcalls.h to get the declarations of _Float128
4710 versions of complex functions.
4711 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
4712 Define macro.
4713
4714 * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
4715 Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
4716 get the declarations of _Float128 versions of math functions.
4717 (__MATH_DECLARING_FLOATN): New macro to control declaration of
4718 _FloatN types.
4719 [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
4720 is type-generic, so use it without __MATH_TG.
4721 [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
4722 _Float128 type on GCC < 7.0. Explicitly call __isinff128 for
4723 _Float128 type and GCC < 7.0, otherwise use the builtin.
4724 [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
4725 (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
4726 (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
4727 New _GNU_SOURCE enabled macros.
4728
4729 2017-05-12 Joseph Myers <joseph@codesourcery.com>
4730
4731 * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
4732 (signbitf): Likewise.
4733 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
4734 Likewise.
4735 (signbitl): Likewise.
4736 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
4737 Likewise.
4738 * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
4739 (signbitl): Likewise.
4740 * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
4741
4742 2017-05-12 Florian Weimer <fweimer@redhat.com>
4743
4744 [BZ #21386]
4745 * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
4746 parent PID. The assertion in the child is incorrect with PID
4747 namespaces.
4748
4749 2017-05-12 Joseph Myers <joseph@codesourcery.com>
4750
4751 * sysdeps/unix/sysv/linux/kernel-features.h
4752 (__ASSUME_STATFS_F_FLAGS): Remove macro.
4753 * sysdeps/unix/sysv/linux/internal_statvfs.c
4754 [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
4755
4756 2017-05-11 Zack Weinberg <zackw@panix.com>
4757
4758 * Makerules: New subdir configuration variables 'tests-internal'
4759 and 'test-internal-extras'. Test files in these categories will
4760 still be compiled with MODULE_NAME=nonlib. Test files in the
4761 existing categories (tests, xtests, test-srcs, test-extras) are
4762 now compiled with MODULE_NAME=testsuite.
4763 New subdir configuration variable 'modules-names-tests'. Files
4764 which are in both 'modules-names' and 'modules-names-tests' will
4765 be compiled with MODULE_NAME=testsuite instead of
4766 MODULE_NAME=extramodules.
4767 (gen-as-const-headers): Move to tests-internal.
4768 (do-tests-clean, common-mostlyclean): Support tests-internal.
4769 * Makeconfig (built-modules): Add testsuite.
4770 * Makefile: Change libof-check-installed-headers-c and
4771 libof-check-installed-headers-cxx to 'testsuite'.
4772 * Rules: Likewise. Support tests-internal.
4773 * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
4774 Remove extra-modules.mk.
4775
4776 * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
4777 * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
4778 PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
4779 very top of the file and rationalize their order.
4780 If MODULE_NAME is not defined at all, define IS_IN to always be
4781 false, and don't define _ISOMAC.
4782 If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
4783 true, define _ISOMAC and suppress everything else in this file,
4784 starting with the inclusion of config.h.
4785 Do check for inappropriate definitions of __OPTIMIZE__ and
4786 __FAST_MATH__ here, but only if _ISOMAC is not defined.
4787 Correct some out-of-date commentary.
4788
4789 * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
4790 and _Mlong_double_ before including math.h.
4791 * include/string.h: If _ISOMAC is defined, don't expose
4792 _STRING_ARCH_unaligned. Move a comment to a more appropriate
4793 location.
4794
4795 * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
4796 * include/time.h, include/unistd.h, include/wchar.h: No need to
4797 check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
4798
4799 * misc/sys/cdefs.h (__NTHNL): New macro.
4800 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
4801 (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
4802
4803 * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
4804 defined, for HAVE_TUNABLES.
4805 * inet/tst-checks-posix.c: No need to define _ISOMAC.
4806 * intl/tst-gettext2.c: Provide own definition of N_.
4807 * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
4808 * math/test-signgam-main.c: No need to define _ISOMAC.
4809 * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
4810 * stdlib/tst-strtod1i.c: ...this new file.
4811 * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
4812 Split tests of __strtod_internal to...
4813 * stdlib/tst-strtod5i.c: ...this new file.
4814 * string/test-string.h: Include stdint.h. Duplicate definition of
4815 inhibit_loop_to_libcall here (from libc-symbols.h).
4816 * string/test-strstr.c: Provide dummy definition of
4817 libc_hidden_builtin_def when including strstr.c.
4818 * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
4819 mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
4820 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
4821 Don't include init-arch.h.
4822 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
4823 Don't include init-arch.h.
4824
4825 * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
4826 tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
4827 unload, unload2, circleload1, neededtest, neededtest2,
4828 neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
4829 tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
4830 tst-stackguard1, tst-_dl_addr_inside_object, and all of the
4831 ifunc tests to tests-internal.
4832 Don't add $(modules-names) to test-extras.
4833 * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
4834 Add tst-deadline to tests-static-internal.
4835 * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
4836 tests-internal.
4837 * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
4838 * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
4839 tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
4840 tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
4841 tst-sem12-static, and tst-stackguard1-static to tests-internal.
4842 Link tests-internal with libpthread also.
4843 Don't add $(modules-names) to test-extras.
4844 * nss/Makefile: Move tst-field to tests-internal.
4845 * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
4846 tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
4847 * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
4848 tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
4849 tests-internal.
4850 * sunrpc/Makefile: Move tst-svc_register to tests-internal.
4851 * sysdeps/powerpc/Makefile: Move test-get_hwcap and
4852 test-get_hwcap-static to tests-internal.
4853 * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
4854 tests-internal.
4855 * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
4856 modules-names-tests.
4857
4858 2017-05-11 Zack Weinberg <zackw@panix.com>
4859
4860 * libio/libio.h: Condition dummy definition of _IO_lock_t on
4861 _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
4862 non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
4863 _IO_funlockfile, and _IO_ftrylockfile. Only define
4864 _IO_cleanup_region_start and _IO_cleanup_region_end if not
4865 already defined.
4866 * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
4867 _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
4868 appropriately.
4869 * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
4870 Define _IO_lock_t_defined after defining _IO_lock_t.
4871
4872 2016-05-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4873
4874 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
4875 void* for argument type and use VDSO_SYMBOL macro.
4876 (is_sigtramp_address_rt): Likewise.
4877 (__backtrace): Setup expected frame pointer address for signal
4878 handling.
4879 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
4880 void* for argumetn type and use VSDO_SYMBOL macro.
4881 (__backtrace): Setup expected frame pointer address for signal
4882 handling.
4883
4884 * sysdeps/unix/sysv/linux/writev.c: New file.
4885
4886 * sysdeps/unix/sysv/linux/readv.c: New file.
4887
4888 * include/unistd.h (write): Add hidden proto.
4889 * io/Makefile (CFLAGS-write.c): New define.
4890 * nptl/Makefile (CFLAGS-write.c): Likewise.
4891 * sysdeps/unix/sysv/linux/write.c: New file.
4892
4893 [BZ #21428]
4894 * include/unistd.h (read): Add hidden proto.
4895 * io/Makefile (CFLAGS-read.c): New define.
4896 * nptl/Makefile (CFLAGS-read.c): Likewise.
4897 * sysdeps/unix/sysv/linux/read.c: New file.
4898
4899 * io/Makefile (CFLAGS-creat.c): New rule.
4900 (CFLAGS-creat64.c): Likewise.
4901 * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
4902 * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
4903 * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
4904 * sysdeps/unix/sysv/linux/creat.c: New file.
4905 * sysdeps/unix/sysv/linux/creat64.c: Likewise.
4906 * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
4907 auto-generated list.
4908 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4909
4910 * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
4911 * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
4912 * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
4913 * sysdeps/unix/sysv/linux/open.c: New file.
4914 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
4915 iff __WORDSIZE != 64 and use __NR_openat when available.
4916 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
4917 from auto-generated list.
4918
4919 * nptl/Makefile (CFLAGS-close.c): New flag.
4920 * sysdeps/unix/sysv/linux/close.c: New file.
4921
4922 2017-05-11 DJ Delorie <dj@redhat.com>
4923
4924 * MAINTAINERS: New. Points to wiki.
4925
4926 2017-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
4927
4928 * scripts/gen-tunables.awk: Add attribute_relro to
4929 tunable_list.
4930
4931 2017-05-11 Joseph Myers <joseph@codesourcery.com>
4932
4933 [BZ #21457]
4934 * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
4935 (R1): Likewise.
4936 (R2): Likewise.
4937 (R3): Likewise.
4938 (R4): Likewise.
4939 (R5): Likewise.
4940 (R6): Likewise.
4941 (R7): Likewise.
4942 (R8): Likewise.
4943 (R9): Likewise.
4944 (R10): Likewise.
4945 (R11): Likewise.
4946 (R12): Likewise.
4947 (R13): Likewise.
4948 (R14): Likewise.
4949 (R15): Likewise.
4950 * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
4951 (REG_FS): Likewise.
4952 (REG_ES): Likewise.
4953 (REG_DS): Likewise.
4954 (REG_EDI): Likewise.
4955 (REG_ESI): Likewise.
4956 (REG_EBP): Likewise.
4957 (REG_ESP): Likewise.
4958 (REG_EBX): Likewise.
4959 (REG_EDX): Likewise.
4960 (REG_ECX): Likewise.
4961 (REG_EAX): Likewise.
4962 (REG_TRAPNO): Likewise.
4963 (REG_ERR): Likewise.
4964 (REG_EIP): Likewise.
4965 (REG_CS): Likewise.
4966 (REG_EFL): Likewise.
4967 (REG_UESP): Likewise.
4968 (REG_SS): Likewise.
4969 * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
4970 (R_D1): Likewise.
4971 (R_D2): Likewise.
4972 (R_D3): Likewise.
4973 (R_D4): Likewise.
4974 (R_D5): Likewise.
4975 (R_D6): Likewise.
4976 (R_D7): Likewise.
4977 (R_A0): Likewise.
4978 (R_A1): Likewise.
4979 (R_A2): Likewise.
4980 (R_A3): Likewise.
4981 (R_A4): Likewise.
4982 (R_A5): Likewise.
4983 (R_A6): Likewise.
4984 (R_A7): Likewise.
4985 (R_SP): Likewise.
4986 (R_PC): Likewise.
4987 (R_PS): Likewise.
4988 (fpregset_t): Likewise.
4989 (MCONTEXT_VERSION): Likewise.
4990 * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
4991 (CTX_AT): Likewise.
4992 (CTX_V0): Likewise.
4993 (CTX_V1): Likewise.
4994 (CTX_A0): Likewise.
4995 (CTX_A1): Likewise.
4996 (CTX_A2): Likewise.
4997 (CTX_A3): Likewise.
4998 (CTX_T0): Likewise.
4999 (CTX_T1): Likewise.
5000 (CTX_T2): Likewise.
5001 (CTX_T3): Likewise.
5002 (CTX_T4): Likewise.
5003 (CTX_T5): Likewise.
5004 (CTX_T6): Likewise.
5005 (CTX_T7): Likewise.
5006 (CTX_S0): Likewise.
5007 (CTX_S1): Likewise.
5008 (CTX_S2): Likewise.
5009 (CTX_S3): Likewise.
5010 (CTX_S4): Likewise.
5011 (CTX_S5): Likewise.
5012 (CTX_S6): Likewise.
5013 (CTX_S7): Likewise.
5014 (CTX_T8): Likewise.
5015 (CTX_T9): Likewise.
5016 (CTX_K0): Likewise.
5017 (CTX_K1): Likewise.
5018 (CTX_GP): Likewise.
5019 (CTX_SP): Likewise.
5020 (CTX_S8): Likewise.
5021 (CTX_RA): Likewise.
5022 (CTX_MDLO): Likewise.
5023 (CTX_MDHI): Likewise.
5024 (CTX_CAUSE): Likewise.
5025 (CTX_EPC): Likewise.
5026 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
5027 inclusion of <sys/procfs.h> on [__USE_MISC].
5028 (greg_t): Condition on [__USE_MISC].
5029 (gregset_t): Likewise.
5030 (fpregset_t): Likewise.
5031 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
5032 (NGREG): Likewise.
5033 (gregset_t): Likewise.
5034 (REG_R0): Likewise.
5035 (REG_R1): Likewise.
5036 (REG_R2): Likewise.
5037 (REG_R3): Likewise.
5038 (REG_R4): Likewise.
5039 (REG_R5): Likewise.
5040 (REG_R6): Likewise.
5041 (REG_R7): Likewise.
5042 (REG_R8): Likewise.
5043 (REG_R9): Likewise.
5044 (REG_R10): Likewise.
5045 (REG_R11): Likewise.
5046 (REG_R12): Likewise.
5047 (REG_R13): Likewise.
5048 (REG_R14): Likewise.
5049 (REG_R15): Likewise.
5050 (struct _libc_fpstate): Likewise.
5051 (fpregset_t): Likewise.
5052 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
5053 (NFPREG): Likewise.
5054 (gregset_t): Likewise.
5055 (fpregset_t): Likewise.
5056 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
5057 (R_D1): Likewise.
5058 (R_D2): Likewise.
5059 (R_D3): Likewise.
5060 (R_D4): Likewise.
5061 (R_D5): Likewise.
5062 (R_D6): Likewise.
5063 (R_D7): Likewise.
5064 (R_A0): Likewise.
5065 (R_A1): Likewise.
5066 (R_A2): Likewise.
5067 (R_A3): Likewise.
5068 (R_A4): Likewise.
5069 (R_A5): Likewise.
5070 (R_A6): Likewise.
5071 (R_A7): Likewise.
5072 (R_SP): Likewise.
5073 (R_PC): Likewise.
5074 (R_PS): Likewise.
5075 (fpregset_t): Likewise.
5076 (MCONTEXT_VERSION): Likewise.
5077 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
5078 Likewise.
5079 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
5080 (REG_R1): Likewise.
5081 (REG_R2): Likewise.
5082 (REG_R3): Likewise.
5083 (REG_R4): Likewise.
5084 (REG_R5): Likewise.
5085 (REG_R6): Likewise.
5086 (REG_R7): Likewise.
5087 (REG_R8): Likewise.
5088 (REG_R9): Likewise.
5089 (REG_R10): Likewise.
5090 (REG_R11): Likewise.
5091 (REG_R12): Likewise.
5092 (REG_R13): Likewise.
5093 (REG_R14): Likewise.
5094 (REG_R15): Likewise.
5095 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
5096 of <arch/abi.h> on [__USE_MISC].
5097 (greg_t): Condition on [__USE_MISC].
5098 (NGREG): Likewise.
5099 (gregset_t): Likewise.
5100
5101 2017-05-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5102
5103 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
5104 (__pthread_rwlock_arch_t): Remove __data definition.
5105 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
5106 (__pthread_rwlock_arch_t): Likewise.
5107
5108 2017-05-11 Florian Weimer <fweimer@redhat.com>
5109
5110 * resolv/inet_pton.c: Reformat in GNU style. Remove
5111 internal_function on static functions.
5112
5113 2017-05-11 Florian Weimer <fweimer@redhat.com>
5114
5115 * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
5116 from format_ai_flags.
5117 (format_ai_flags): New function. Incorporate flag formatting code
5118 from format_ai_one.
5119 (format_ai_canonname): New function.
5120 (format_ai_one): Remove flags parameter.
5121 (format_ai_family): Likewise.
5122 (support_format_addrinfo): Call format_ai_flags,
5123 format_ai_canonname.
5124 * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
5125 check_ai.
5126 (check_ai): Call check_ai_hints.
5127 (do_test): Add AI_CANONNAME tests.
5128
5129 2017-05-11 Florian Weimer <fweimer@redhat.com>
5130
5131 * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
5132 (gaih_inet): Likewise.
5133
5134 2017-05-10 Andreas Schwab <schwab@suse.de>
5135
5136 * nptl/tst-fork1.c: Include <support/test-driver.c>.
5137 (main): Rename to do_test and make static.
5138
5139 2017-05-10 Joseph Myers <joseph@codesourcery.com>
5140
5141 * string/rawmemchr.c: Include <libc-diag.h>.
5142 (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
5143 with size (size_t)-1.
5144
5145 2017-05-09 Joseph Myers <joseph@codesourcery.com>
5146
5147 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
5148 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5149 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5150
5151 * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
5152 [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
5153 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
5154 [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
5155 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
5156 [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
5157 * sysdeps/unix/sysv/linux/kernel-features.h
5158 (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
5159 socket syscalls.
5160 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5161 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5162 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5163 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5164 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5165 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5166 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5167 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5168 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5169 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5170 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5171 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5172 (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5173 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5174 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5175
5176 2017-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5177
5178 * posix/Makefile (headers): Add pthreadtypes-arch.h and
5179 thread-shared-types.h.
5180 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
5181 specific thread definition.
5182 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
5183 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
5184 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
5185 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
5186 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
5187 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
5188 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
5189 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
5190 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
5191 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
5192 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
5193 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
5194 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
5195 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
5196 * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
5197 thread definition between POSIX and C11.
5198 * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
5199 * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
5200 * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
5201 * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
5202 * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
5203 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
5204 * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
5205 * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
5206 * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
5207 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
5208 * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
5209 * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
5210 * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
5211 * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
5212 * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
5213 * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
5214 definitions shared across all architectures.
5215
5216 2017-05-09 Joseph Myers <joseph@codesourcery.com>
5217
5218 * sysdeps/unix/sysv/linux/kernel-features.h
5219 (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
5220 (__ASSUME_SENDMMSG): Likewise.
5221 (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
5222 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
5223 sendmmsg syscall if that can be assumed to be present, socketcall
5224 otherwise, with no fallback for runtime failure.
5225
5226 * sysdeps/unix/sysv/linux/kernel-features.h
5227 (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
5228 (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
5229 (__ASSUME_RECVMMSG): Likewise.
5230 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
5231 recvmmsg syscall if it can be assumed to be present, socketcall
5232 otherwise, with no fallback for runtime failure.
5233
5234 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5235 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5236
5237 * bits/libc-header-start.h:
5238 (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
5239 * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
5240 * manual/creature.texi: Likewise.
5241
5242 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5243 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5244
5245 * math/Makefile:
5246 (type-float128-suffix): New variable
5247 (type-float128-routines): Likewise
5248 (type-float128-yes): Likewise
5249 (types): Append float128 if supported
5250 (types-basic): New variable to control the use of templates for
5251 float, double, and long double, but not for float128 or newer types.
5252 (type-basic-foreach): Likewise.
5253
5254 * sysdeps/ieee754/float128/Makeconfig: New file.
5255 * sysdeps/ieee754/float128/Versions: New file.
5256
5257 2017-05-09 Joseph Myers <joseph@codesourcery.com>
5258
5259 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
5260 Remove macro.
5261 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
5262 prlimit64 is always available and does not give an ENOSYS error.
5263 * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
5264 unconditional.
5265 [!__NR_prlimit64]: Remove conditional code.
5266 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
5267 prlimit64 is always available and does not give an ENOSYS error.
5268 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
5269
5270 2017-05-09 Zack Weinberg <zackw@panix.com>
5271
5272 * sunrpc/tst-xdrmem2.c: Include stdint.h.
5273
5274 2017-05-09 Florian Weimer <fweimer@redhat.com>
5275
5276 [BZ #21474]
5277 * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
5278 (__res_maybe_init): Likewise.
5279
5280 2017-05-09 Zack Weinberg <zackw@panix.com>
5281
5282 * extra-modules.mk: Delete file.
5283 * cppflags-iterator.mk: Rename to ...
5284 * libof-iterator.mk: ...this. Adjust comments.
5285
5286 * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
5287 * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
5288 * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
5289 Use libof-iterator.mk instead of cppflags-iterator.mk or
5290 extra-modules.mk.
5291
5292 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
5293 extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
5294
5295 2017-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
5296
5297 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5298
5299 2017-05-08 Carlos O'Donell <carlos@redhat.com>
5300
5301 * stdio-common/vfprintf.c (EXTSIZ): Define.
5302 (vfprintf): Use EXTSIZ.
5303 (printf_positional): Likewise.
5304
5305 2017-05-08 Joseph Myers <joseph@codesourcery.com>
5306
5307 * sysdeps/unix/sysv/linux/kernel-features.h
5308 (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
5309 * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
5310 <kernel-features.h>.
5311 (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
5312
5313 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5314 (__ASSUME_GETCPU_SYSCALL): Remove macro.
5315
5316 2017-05-08 Florian Weimer <fweimer@redhat.com>
5317
5318 Prevent multiple deletion of temporary files.
5319 * support/temp_file.c (struct temp_name_list): Add owner member.
5320 (add_temp_file): Record owner.
5321 (support_delete_temp_files): Delete file only if owner matches.
5322 * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
5323 (do_prepare): Use create_temp_file instead of add_temp_file.
5324 Initialize temp_fd1, temp_fd2.
5325 (do_test): Use global temp_fd1, temp_fd2 variables. Let the test
5326 framework remove the temporary files.
5327 * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
5328 (do_prepare): Use create_temp_file instead of add_temp_file.
5329 Initialize temp_fd1, temp_fd2, temp_fd3.
5330 (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables. Let
5331 the test framework remove the temporary files.
5332 * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
5333 deletion.
5334 * posix/tst-pathconf.c (do_test): Do not call rmdir on the
5335 temporary directory. It is removed by the test framework.
5336 * dirent/tst-scandir.c (do_test): Likewise.
5337
5338 2017-05-08 Florian Weimer <fweimer@redhat.com>
5339
5340 Delete temporary files in LIFO order.
5341 * support/temp_file.c (struct temp_name_list): Replace q member
5342 with next.
5343 (add_temp_file): Add new file to front of linked list.
5344 (support_delete_temp_files): Use next member.
5345 (support_print_temp_files): Likewise.
5346
5347 2017-05-08 Florian Weimer <fweimer@redhat.com>
5348
5349 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5350 sys/ultrasound.h.
5351 * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
5352
5353 2017-05-08 Joseph Myers <joseph@codesourcery.com>
5354
5355 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5356 Remove.
5357 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5358 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5359 (arch_minimum_kernel): Remove.
5360 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5361 * README: Update statement about Linux kernel requirements.
5362
5363 2017-05-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5364
5365 * manual/llio.texi: Add preadv and pwritev documentation.
5366
5367 2017-05-04 Joseph Myers <joseph@codesourcery.com>
5368
5369 [BZ #21455]
5370 * bits/stdint-intn.h: New file.
5371 * bits/stdint-uintn.h: Likewise.
5372 * stdlib/Makefile (headers): Add bits/stdint-intn.h and
5373 bits/stdint-uintn.h.
5374 * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
5375 <stdint.h>.
5376 * posix/sys/types.h: Include <bits/stdint-intn.h>.
5377 (__int8_t_defined): Do not define here.
5378 (int8_t): Likewise.
5379 (int16_t): Likewise.
5380 (int32_t): Likewise.
5381 (int64_t): Likewise.
5382 [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
5383 * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
5384 <stdint.h>.
5385 * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
5386 * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
5387 <bits/stdint-uintn.h>.
5388 (int8_t): Do not define here.
5389 (int16_t): Likewise.
5390 (int32_t): Likewise.
5391 (int64_t): Likewise.
5392 (uint8_t): Likewise.
5393 (uint16_t): Likewise.
5394 (uint32_t): Likewise.
5395 (uint64_t): Likewise.
5396 * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
5397 variable.
5398 (test-xfail-XPG42/netdb.h/conform): Likewise.
5399 (test-xfail-XPG42/netinet/in.h/conform): Likewise.
5400 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5401 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5402 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5403
5404 2017-05-04 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5405
5406 * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
5407 * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
5408 the above.
5409 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5410 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5411
5412 2017-05-04 Joseph Myers <joseph@codesourcery.com>
5413
5414 [BZ #21445]
5415 * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
5416
5417 [BZ #21457]
5418 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5419 [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
5420 __glibc_reserved1.
5421 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5422 (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
5423 (struct _fpxreg): Likewise.
5424 [!__x86_64__] (struct _fpstate): Rename field reserved to
5425 __glibc_reserved1. Rename field padding to __glibc_reserved2.
5426 [__x86_64__] (struct _fpstate): Rename field padding to
5427 __glibc_reserved1.
5428 (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
5429 Rename field reserved2 to __glibc_reserved2.
5430 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
5431 [__x86_64__] (struct _libc_fpxreg): Rename field padding to
5432 __glibc_reserved1.
5433 [__x86_64__] (struct _libc_fpstate): Rename field padding to
5434 __glibc_reserved1.
5435
5436 2017-05-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5437
5438 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
5439 variable name.
5440
5441 2017-05-03 H.J. Lu <hongjiu.lu@intel.com>
5442
5443 [BZ #21391]
5444 * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
5445 Only call init_cpu_features.
5446 [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
5447 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5448 * sysdeps/i386/dl-procinfo.h: Removed.
5449 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
5450 <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>. Include
5451 <sysdeps/x86/dl-procinfo.h>.
5452 (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
5453 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
5454 Include <sysdeps/x86/dl-procinfo.h> instead of
5455 <sysdeps/generic/dl-procinfo.h>.
5456 * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
5457 (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
5458 * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
5459 (bit_cpu_MOVBE): Likewise.
5460 (bit_cpu_BMI1): Likewise.
5461 (bit_cpu_BMI2): Likewise.
5462 (index_cpu_BMI1): Likewise.
5463 (index_cpu_BMI2): Likewise.
5464 (index_cpu_LZCNT): Likewise.
5465 (index_cpu_MOVBE): Likewise.
5466 (index_cpu_POPCNT): Likewise.
5467 (reg_BMI1): Likewise.
5468 (reg_BMI2): Likewise.
5469 (reg_LZCNT): Likewise.
5470 (reg_MOVBE): Likewise.
5471 (reg_POPCNT): Likewise.
5472 * sysdeps/x86/dl-hwcap.h: New file.
5473 * sysdeps/x86/dl-procinfo.h: Likewise.
5474 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
5475 (_dl_x86_platforms): Likewise.
5476
5477 2017-05-03 DJ Delorie <dj@redhat.com>
5478
5479 [BZ #21411]
5480 * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
5481
5482 2017-05-03 Phil Blundell <pb@pbcl.net>
5483
5484 * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
5485 comments.
5486
5487 2017-05-03 Carlos O'Donell <carlos@redhat.com>
5488
5489 [BZ #20116]
5490 * nptl/pthread_create.c: Expand comments to describe
5491 semaphore-like and mutex-like uses of PD->lock.
5492
5493 2017-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5494
5495 * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
5496 * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
5497 * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
5498 auto-generation list.
5499 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5500 epoll_wait.
5501 * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
5502 Remove epoll_wait.
5503
5504 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
5505 osf_select.
5506 * sysdeps/unix/sysv/linux/alpha/select.c: New file.
5507 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
5508 osf_select from auto-generation list.
5509 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5510 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5511 * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
5512 * sysdeps/unix/sysv/linux/select.c: New file.
5513
5514 * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
5515 * sysdeps/unix/sysv/linux/poll.c: New file.
5516 * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
5517 auto-generation list.
5518
5519 2017-05-03 Joseph Myers <joseph@codesourcery.com>
5520
5521 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
5522 New macro.
5523
5524 2017-05-02 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
5525
5526 [BZ #21179]
5527 * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
5528 R_SPARC_REGISTER relocations.
5529
5530 2017-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5531
5532 * include/unistd.h (__pread): Add libc_hidden_proto.
5533 (__pread64): Likewise.
5534 (__pwrite): Likewise.
5535 * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
5536 (__pread64): Remove.
5537 * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
5538 * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
5539 * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
5540
5541 2017-05-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5542
5543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5544
5545 2017-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5546
5547 * nptl/tst-cancel4-common.c: Use libsupport.
5548 * nptl/tst-cancel4-common.h: Likewise.
5549 * nptl/tst-cancel4.c (tf_read): Likewise.
5550 (tf_readv): Likewise.
5551 (tf_write): Likewise.
5552 (tf_writev): Likewise.
5553 (tf_sleep): Likewise.
5554 (tf_usleep): Likewise.
5555 (tf_nanosleep): Likewise.
5556 (tf_select): Likewise.
5557 (tf_pselect): Likewise.
5558 (tf_poll): Likewise.
5559 (tf_ppoll): Likewise.
5560 (tf_wait): Likewise.
5561 (tf_waitpid): Likewise.
5562 (tf_waitid): Likewise.
5563 (tf_sigpause): Likewise.
5564 (tf_sigsuspend): Likewise.
5565 (tf_sigwait): Likewise.
5566 (tf_sigwaitinfo): Likewise.
5567 (tf_sigtimedwait): Likewise.
5568 (tf_pause): Likewise.
5569 (tf_accept): Likewise.
5570 (tf_send): Likewise.
5571 (tf_recv): Likewise.
5572 (tf_recvfrom): Likewise.
5573 (tf_recvmsg): Likewise.
5574 (tf_open): Likewise.
5575 (tf_close): Likewise.
5576 (tf_pread): Likewise.
5577 (tf_pwrite): Likewise.
5578 (tf_preadv): Likewise.
5579 (tf_pwritev): Likewise.
5580 (tf_fsync): Likewise.
5581 (tf_fdatasync): Likewise.
5582 (tf_msync): Likewise.
5583 (tf_sendto): Likewise.
5584 (tf_sendmsg): Likewise.
5585 (tf_creat): Likewise.
5586 (tf_connect): Likewise.
5587 (tf_tcdrain): Likewise.
5588 (tf_msgrcv): Likewise.
5589 (tf_msgsnd): Likewise.
5590 * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
5591 * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
5592
5593 * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
5594 expected arguments.
5595 (do_test): Adapt to use libsupport.
5596
5597 2017-05-01 Joseph Myers <joseph@codesourcery.com>
5598
5599 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
5600
5601 * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
5602 (PF_MAX): Set to 44.
5603 (AF_SMC): New macro.
5604
5605 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5606 kernel version to 4.11.
5607
5608 2017-04-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5609
5610 [BZ #21280]
5611 * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
5612 signal of subnormals and adjust the exponent of power of 2 down
5613 when low part has opposite sign.
5614
5615 2017-04-28 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5616
5617 * sysdeps/powerpc/powerpc64le/Implies: New file.
5618 * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
5619 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
5620 * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
5621 * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
5622 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
5623 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
5624 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
5625 * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
5626 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
5627 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
5628 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
5629 * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
5630 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
5631 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
5632 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
5633 * sysdeps/powerpc/preconfigure: New file.
5634 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
5635 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
5636
5637 2017-04-28 Joseph Myers <joseph@codesourcery.com>
5638
5639 * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
5640 inclusion.
5641 * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
5642 Remove.
5643
5644 2017-04-27 Joseph Myers <joseph@codesourcery.com>
5645
5646 * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
5647 (XPG3): Rename standard to XPG4.
5648 * conform/Makefile: Likewise.
5649 * conform/list-header-symbols.pl: Likewise.
5650 * conform/data/aio.h-data: Likewise.
5651 * conform/data/arpa/inet.h-data: Likewise.
5652 * conform/data/complex.h-data: Likewise.
5653 * conform/data/ctype.h-data: Likewise.
5654 * conform/data/dlfcn.h-data: Likewise.
5655 * conform/data/fcntl.h-data: Likewise.
5656 * conform/data/fenv.h-data: Likewise.
5657 * conform/data/float.h-data: Likewise.
5658 * conform/data/fmtmsg.h-data: Likewise.
5659 * conform/data/ftw.h-data: Likewise.
5660 * conform/data/grp.h-data: Likewise.
5661 * conform/data/inttypes.h-data: Likewise.
5662 * conform/data/iso646.h-data: Likewise.
5663 * conform/data/langinfo.h-data: Likewise.
5664 * conform/data/libgen.h-data: Likewise.
5665 * conform/data/limits.h-data: Likewise.
5666 * conform/data/locale.h-data: Likewise.
5667 * conform/data/math.h-data: Likewise.
5668 * conform/data/mqueue.h-data: Likewise.
5669 * conform/data/ndbm.h-data: Likewise.
5670 * conform/data/net/if.h-data: Likewise.
5671 * conform/data/netdb.h-data: Likewise.
5672 * conform/data/netinet/in.h-data: Likewise.
5673 * conform/data/poll.h-data: Likewise.
5674 * conform/data/pthread.h-data: Likewise.
5675 * conform/data/pwd.h-data: Likewise.
5676 * conform/data/sched.h-data: Likewise.
5677 * conform/data/search.h-data: Likewise.
5678 * conform/data/semaphore.h-data: Likewise.
5679 * conform/data/signal.h-data: Likewise.
5680 * conform/data/spawn.h-data: Likewise.
5681 * conform/data/stdbool.h-data: Likewise.
5682 * conform/data/stdint.h-data: Likewise.
5683 * conform/data/stdio.h-data: Likewise.
5684 * conform/data/stdlib.h-data: Likewise.
5685 * conform/data/string.h-data: Likewise.
5686 * conform/data/strings.h-data: Likewise.
5687 * conform/data/stropts.h-data: Likewise.
5688 * conform/data/sys/mman.h-data: Likewise.
5689 * conform/data/sys/resource.h-data: Likewise.
5690 * conform/data/sys/select.h-data: Likewise.
5691 * conform/data/sys/socket.h-data: Likewise.
5692 * conform/data/sys/stat.h-data: Likewise.
5693 * conform/data/sys/statvfs.h-data: Likewise.
5694 * conform/data/sys/time.h-data: Likewise.
5695 * conform/data/sys/timeb.h-data: Likewise.
5696 * conform/data/sys/types.h-data: Likewise.
5697 * conform/data/sys/uio.h-data: Likewise.
5698 * conform/data/sys/un.h-data: Likewise.
5699 * conform/data/sys/wait.h-data: Likewise.
5700 * conform/data/syslog.h-data: Likewise.
5701 * conform/data/termios.h-data: Likewise.
5702 * conform/data/tgmath.h-data: Likewise.
5703 * conform/data/time.h-data: Likewise.
5704 * conform/data/ucontext.h-data: Likewise.
5705 * conform/data/unistd.h-data: Likewise.
5706 * conform/data/utmpx.h-data: Likewise.
5707 * conform/data/varargs.h-data: Likewise.
5708 * conform/data/wchar.h-data: Likewise.
5709 * conform/data/wctype.h-data: Likewise.
5710
5711 2017-04-26 Joseph Myers <joseph@codesourcery.com>
5712
5713 * scripts/build-many-glibcs.py (Context.checkout): Default gcc
5714 version to 7 branch.
5715
5716 2017-04-25 Uros Bizjak <ubizjak@gmail.com>
5717
5718 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
5719 earlyclobber to output operand of sqrt insn.
5720 (__ieee754_sqrtf): Ditto.
5721
5722 2017-04-25 Joseph Myers <joseph@codesourcery.com>
5723
5724 [BZ #21426]
5725 * misc/bits/types/struct_iovec.h: New file.
5726 * misc/Makefile (headers): Add bits/types/struct_iovec.h.
5727 * include/bits/types/struct_iovec.h: New file.
5728 * bits/uio.h (struct iovec): Replace by inclusion of
5729 <bits/types/struct_iovec.h>.
5730 * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
5731 * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
5732 of <sys/uio.h>.
5733 * nptl/tst-cancel4.c: Include <sys/uio.h>
5734 * posix/test-errno.c: Likewise.
5735 * support/resolv_test.c: Likewise.
5736 * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
5737 Remove.
5738 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5739 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5740 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5741
5742 * conform/data/sys/socket.h-data (*_t): Allow.
5743
5744 2017-04-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5745
5746 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
5747 assignment.
5748
5749 2017-04-24 Daurnimator <quae@daurnimator.com>
5750 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5751
5752 [BZ #21340]
5753 * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
5754 * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
5755 * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
5756 valid flags.
5757 * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
5758 * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
5759 POSIX_SPAWN_SETSID.
5760 * sysdeps/posix/spawni.c (__spawni): Likewise.
5761 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5762 * NEWS: Add note about POSIX_SPAWN_SETSID support.
5763
5764 2017-04-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5765
5766 * sysdeps/generic/math_private.h: Move the declaration of many
5767 functions to sysdeps/generic/math_private_calls.h.
5768 * sysdeps/generic/math_private_calls.h: New file with the
5769 declarations of the functions removed from math_private.h
5770 macroized by floating-point type.
5771
5772 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5773
5774 * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
5775 * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
5776 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
5777 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
5778 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
5779 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
5780
5781 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5782
5783 * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
5784 * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
5785 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
5786 (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
5787 FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
5788 New Define.
5789
5790 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5791
5792 * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
5793 * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
5794 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
5795 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
5796 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
5797 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
5798
5799 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5800
5801 * sysdeps/s390/multiarch/ifunc-resolve.h
5802 (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
5803 * sysdeps/s390/multiarch/8bit-generic.c
5804 (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
5805 define ifunc resolvers.
5806
5807 2017-04-21 Florian Weimer <fweimer@redhat.com>
5808
5809 [BZ #20424]
5810 * manual/memory.texi (Replacing malloc): New section.
5811 (Allocating Storage For Program Data): Reference it.
5812 (The GNU Allocator): Likewise.
5813
5814 2017-04-20 Joseph Myers <joseph@codesourcery.com>
5815
5816 * stdlib/Versions (__strtod_internal): List explicitly, not as
5817 wildcard.
5818 (__strtof_internal): Likewise.
5819 (__strtold_internal): Likewise.
5820 (__strtol_internal): Likewise.
5821 (__strtoll_internal): Likewise.
5822 (__strtoul_internal): Likewise.
5823 (__strtoull_internal): Likewise.
5824 (__strtoq_internal): Likewise.
5825 (__strtouq_internal): Likewise.
5826 * wcsmbs/Versions (__wcstod_internal): Likewise.
5827 (__wcstof_internal): Likewise.
5828 (__wcstold_internal): Likewise.
5829 (__wcstol_internal): Likewise.
5830 (__wcstoll_internal): Likewise.
5831 (__wcstoul_internal): Likewise.
5832 (__wcstoull_internal): Likewise.
5833
5834 2017-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5835
5836 * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
5837 struct timespec definition.
5838
5839 2017-04-19 Florian Weimer <fweimer@redhat.com>
5840
5841 * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
5842
5843 2017-04-19 Florian Weimer <fweimer@redhat.com>
5844
5845 * inet/rcmd.c (rresvport_af): Fix typo in comment.
5846 * inet/rexec.c (rexec_af): Likewise.
5847
5848 2017-04-19 Zack Weinberg <zackw@panix.com>
5849
5850 * posix/tst-mmap-offset.c: Include stdint.h.
5851 * resolv/tst-ns_name_compress.c: Include string.h.
5852 * resolv/tst-resolv-edns.c: Include resolv.h.
5853
5854 2017-04-19 Florian Weimer <fweimer@redhat.com>
5855
5856 * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
5857 with __glibc_likely.
5858 * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
5859 Replace __builtin_expect with __glibc_unlikely.
5860 * resolv/res_init.c (__res_vinit): Likewise.
5861 * resolv/res_query.c (__libc_res_nquery): Likewise.
5862 * resolv/res_send.c (__libc_res_nsend): Likewise.
5863
5864 2017-04-19 Florian Weimer <fweimer@redhat.com>
5865
5866 [BZ #15722]
5867 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
5868 with SOCK_CLOEXEC.
5869 * resolv/res_send.c (send_vc, reopen): Likewise.
5870 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
5871 * sysdeps/unix/sysv/linux/check_native.c (__check_native):
5872 Likewise.
5873 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
5874 * inet/rexec.c (rexec_af): Add comment.
5875 * inet/rcmd.c (rresvport_af): Likewise.
5876
5877 2017-04-19 Florian Weimer <fweimer@redhat.com>
5878
5879 * nscd/connections.c (have_accept4): Removed definition.
5880 (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
5881 accept4 works.
5882 * manual/install.texi (Linux): Require at least kernel 3.2.18 for
5883 ia64 because that was the first version with accept4 support.
5884 * support/Makefile (libsupport-routines): Add xaccept4.
5885 * support/xsocket.h (xaccept4): Declare.
5886 * support/xaccept4.c: New file.
5887 * socket/tst-accept4.c: New file.
5888 * socket/Makefile (tests): Add tst-accept4.
5889 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
5890 definition.
5891 * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
5892 comment.
5893 * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
5894 implementation is available.
5895 (accept4): Use the system call if available, otherwise use the
5896 socket call.
5897 * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
5898 Set to 3.2.18.
5899 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5900 (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
5901 accept4 is unconditionally available in later 3.2 stable kernels.
5902 (__ASSUME_ACCEPT4_SYSCALL): Define.
5903 * sysdeps/unix/sysv/linux/kernel-features.h
5904 (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
5905 definitions.
5906 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5907 (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
5908
5909 2017-04-18 Joseph Myers <joseph@codesourcery.com>
5910
5911 * conform/Makefile (tests-special): Do not make addition of
5912 $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
5913 (generated): Do not make addition of $(conformtest-header-base)
5914 conditional on [$(cross-compiling) = no].
5915
5916 [BZ #21267]
5917 * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
5918 if defined by <asm/socket.h> and not previously defined.
5919 (IOCSIZE_SHIFT): Likewise.
5920 (IOC_IN): Likewise.
5921 (IOC_INOUT): Likewise.
5922 (IOC_OUT): Likewise.
5923
5924 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
5925
5926 [BZ #21396]
5927 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5928 Prefer_No_AVX512 if AVX512ER isn't available.
5929 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
5930 (index_arch_Prefer_No_AVX512): Likewise.
5931 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
5932 AVX512 version if Prefer_No_AVX512 is set.
5933 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
5934 Likewise.
5935 * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
5936 * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
5937 Likewise.
5938 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
5939 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
5940 Likewise.
5941 * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
5942 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
5943 Likewise.
5944
5945 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
5946
5947 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5948 Prefer_No_VZEROUPPER if AVX512ER is available.
5949 * sysdeps/x86/cpu-features.h
5950 (bit_cpu_AVX512PF): New.
5951 (bit_cpu_AVX512ER): Likewise.
5952 (bit_cpu_AVX512CD): Likewise.
5953 (bit_cpu_AVX512BW): Likewise.
5954 (bit_cpu_AVX512VL): Likewise.
5955 (index_cpu_AVX512PF): Likewise.
5956 (index_cpu_AVX512ER): Likewise.
5957 (index_cpu_AVX512CD): Likewise.
5958 (index_cpu_AVX512BW): Likewise.
5959 (index_cpu_AVX512VL): Likewise.
5960 (reg_AVX512PF): Likewise.
5961 (reg_AVX512ER): Likewise.
5962 (reg_AVX512CD): Likewise.
5963 (reg_AVX512BW): Likewise.
5964 (reg_AVX512VL): Likewise.
5965
5966 2017-04-18 Florian Weimer <fweimer@redhat.com>
5967
5968 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
5969 O_CLOEXEC is defined.
5970 * include/fcntl.h (__have_o_cloexec): Remove declaration.
5971 * io/Makefile (aux): Remove.
5972 * io/have_o_cloexec.c: Remove file.
5973 * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
5974 defined and works.
5975 * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
5976 defined.
5977 * login/utmp_file.c (O_flags): Remove definition.
5978 (setutent_file): Use O_CLOEXEC instead of O_flags. Assume that
5979 O_CLOEXEC works.
5980 (pututline_file): Likewise.
5981 * malloc/mtrace.c: Assume that O_CLOEXEC works.
5982 * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
5983 definition.
5984 (internal_setgrent): Assume that O_CLOEXEC works.
5985 * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
5986 Remove definition.
5987 (internal_setgrent): Assume that O_CLOEXEC works.
5988 * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
5989 definition.
5990 (internal_setpwent): Assume that O_CLOEXEC works.
5991 * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
5992 definition.
5993 (internal_setspent): Assume that O_CLOEXEC works.
5994 * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
5995 (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS. Assume that
5996 O_CLOEXEC is defined and works.
5997 * nss/Makefile (libnss_files-routines): Remove
5998 files-have_o_cloexec.
5999 * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
6000 defined.
6001 * nss/nss_files/files-XXX.c (internal_setent): Assume that
6002 O_CLOEXEC is defined and works.
6003 * nss/nss_files/files-alias.c (internal_setent): Likewise.
6004 * nss/nss_files/files-have_o_cloexec.c: Remove.
6005 * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
6006 defined.
6007 * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
6008 and works.
6009 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
6010 definition.
6011 * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
6012 * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
6013 * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
6014 (__opendirat, __opendir): Adjust opendir_oflags call.
6015 (check_have_o_cloexec): Remove.
6016 (__alloc_dir): Assume that O_CLOEXEC is defined and works.
6017 * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
6018 defined.
6019 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
6020 Remove definition.
6021
6022 2017-04-18 Florian Weimer <fweimer@redhat.com>
6023
6024 * include/unistd.h (__have_dup3): Remove declaration.
6025 * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
6026 dup3 is available.
6027 * libio/freopen64.c (freopen64): Likewise.
6028 * socket/Makefile (aux): Remove have_sock_cloexec.
6029 * socket/have_sock_cloexec.c: Remove file.
6030 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
6031 definition.
6032 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
6033 Likewise.
6034 * sysdeps/nacl/kernel-features.h: Update comment.
6035
6036 2017-04-18 Florian Weimer <fweimer@redhat.com>
6037
6038 * include/unistd.h (__have_pipe2): Remove declaration.
6039 * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
6040 * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
6041 available.
6042 * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
6043 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
6044 Remove definition.
6045
6046 2017-04-18 Florian Weimer <fweimer@redhat.com>
6047
6048 * malloc/malloc.c (cfree): Turn into compat symbol.
6049 (__cfree): Remove alias.
6050 * stdlib/stdlib.h (cfree): Remove declaration.
6051 * malloc/malloc.h (cfree): Likewise.
6052 * manual/memory.texi (Freeing after Malloc): Remove cfree.
6053 * malloc/Versions (GLIBC_2.26): Add.
6054
6055 2017-04-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6056
6057 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6058 (sysdep_routines): Add strrchr-power8.
6059 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6060 (strrchr): Add __strrchr_power8 to list of strrchr functions.
6061 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
6062 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
6063 (strrchr): Add __strrchr_power8 to ifunc list.
6064 * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
6065
6066 2017-04-17 Rabin Vincent <rabinv@axis.com>
6067
6068 [BZ #21357]
6069 * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
6070 Call free() outside of mutex.
6071
6072 2017-04-13 Florian Weimer <fweimer@redhat.com>
6073
6074 * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
6075 is defined.
6076 * elf/rtld.c (process_envvars): Likewise.
6077 * sysdeps/posix/shm_open.c (shm_open): Likewise.
6078 * elf/dl-profile.c (EXTRA_FLAGS): Remove definition. Use
6079 O_NOFOLLOW directly.
6080 * gmon/gmon.c (O_NOFOLLOW): Remove definition.
6081
6082 2017-04-13 Florian Weimer <fweimer@redhat.com>
6083
6084 [BZ #21369]
6085 Remove EDNS fallback.
6086 * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
6087 handling.
6088 * resolv/res_send.c (send_dg): Likewise.
6089 * resolv/tst-resolv-edns.c (response): Handle "formerr." and
6090 "tcp." prefixes.
6091 (do_test): Send a "formerr."-prefixed query in an attempt to
6092 trigger EDNS fallback.
6093
6094 2017-04-13 Florian Weimer <fweimer@redhat.com>
6095
6096 [BZ #21361]
6097 Limit EDNS buffer size to 1200 bytes.
6098 * include/resolv.h (__res_nopt): Remove declaration.
6099 * resolv/Makefile (tests): tst-resolv-edns.
6100 (tst-resolv-edns): Link with -lresolv, -lpthread.
6101 * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
6102 interval [512, 1200].
6103 * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
6104 we can resize the buffer.
6105 * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
6106 (__res_nopt): Declare.
6107 * resolv/tst-resolv-edns.c: New file.
6108 * resolv/resolv_test.h (struct resolv_edns_info): Define.
6109 (struct resolv_response_context): Add edns member.
6110 * resolv/resolv_test.c (struct query_info): Add edns member.
6111 (parse_query): Extract EDNS information from the query.
6112 (server_thread_udp_process_one): Propagate EDNS data.
6113 (server_thread_tcp_client): Likewise.
6114
6115 2017-04-13 Florian Weimer <fweimer@redhat.com>
6116
6117 [BZ #21359]
6118 * resolv/ns_name.c (ns_name_pack): Do not require an additional
6119 byte in the destination buffer. Avoid out-of-bounds pointer
6120 arithmetic.
6121 * resolv/Makefile (tests): Add tst-ns_name_compress.
6122 (tst-ns_name_compress): Link with -lresolv.
6123 * resolv/tst-ns_name_compress.c: New file.
6124 * resolv/tst-resolv-basic.c (LONG_NAME): Define.
6125 (response): Recognize LONG_NAME.
6126 (do_test): Add LONG_NAME tests.
6127 * resolv/tst-ns_name.c (run_test_case): Fix expected data check
6128 for ns_name_unpack. Add tests for ns_name_pton and
6129 ns_name_compress.
6130
6131 2017-04-13 Florian Weimer <fweimer@redhat.com>
6132
6133 * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
6134 (res_nisourserver): Remove definition.
6135 (p_section, res_npquery, res_nisourserver): Remove declaration.
6136 (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
6137 * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
6138 ... here.
6139 * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
6140 <resolv.h>.
6141 * resolv/res_query.c: Likewise.
6142 * resolv/res_debug.c (p_section): Define as static.
6143
6144 2017-04-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6145
6146 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
6147 strncat-power8.
6148 * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
6149 __strncat_power8 to ifunc list.
6150 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6151 (strncat): Add __strncat_power8 to list of strncat functions.
6152 * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
6153
6154 2017-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6155
6156 [BZ #21270]
6157 * posix/tst-mmap-offset.c (do_prepare): New function.
6158 (do_test): Rename to do_test_bz18877 and use FAIL_RET.
6159 (do_test_bz21270): New function.
6160 * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
6161 * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
6162 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
6163 * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
6164 * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
6165 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
6166 * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
6167 * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
6168 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
6169 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
6170 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
6171 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6172 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6173 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6174 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
6175 * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
6176 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6177 * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
6178 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
6179 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
6180 * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
6181 * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
6182 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
6183 from auto-generation list.
6184 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
6185 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6186 * sysdeps/unix/sysv/linux/mmap.c: New file.
6187 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
6188 offsets and support for mmap2 syscall.
6189
6190 * posix/globtest.sh: Add cleanup routine on trap 0.
6191
6192 2017-04-11 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6193
6194 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
6195 implementation-specific function name and remove unneeded
6196 macros definition.
6197 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
6198 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
6199 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
6200 name if not defined and pass as parameter to macros accordingly.
6201 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6202 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
6203
6204 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
6205 implementation-specific function name and remove unneeded
6206 macros definition.
6207 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
6208 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
6209 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
6210 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
6211 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6212 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
6213 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
6214 name if not defined and pass as parameter to macros accordingly.
6215 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6216 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6217 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6218 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6219 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6220 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
6221
6222 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
6223 implementation-specific function name and remove unneeded macros
6224 definition.
6225 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
6226 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
6227 * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
6228 function name if not defined and pass as parameter to macros
6229 accordingly.
6230 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6231 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
6232
6233 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
6234 implementation-specific function name and remove unneeded macros
6235 definition.
6236 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6237 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6238 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
6239 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
6240 * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
6241 not defined and pass as parameter to macros accordingly.
6242 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6243 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6244 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6245 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
6246
6247 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
6248 strcasestr implementation name and remove unneeded macros definition.
6249 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
6250 strstr implementation name and remove unneeded macros definition.
6251 * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
6252 name if not defined and pass as parameter to macros accordingly.
6253 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
6254
6255 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
6256 implementation-specific function name and remove unneeded macros
6257 definition.
6258 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
6259 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
6260 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
6261 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
6262 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
6263 * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
6264 function name if not defined and pass as parameter to macros
6265 accordingly.
6266 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
6267 * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
6268 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
6269 * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
6270
6271 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
6272 the strlen implementation name and remove unneeded macros definition.
6273 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
6274 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6275 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
6276 the strnlen implementation name and remove unneeded macros definition.
6277 * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
6278 name if not defined and pass as parameter to macros accordingly.
6279 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
6280 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
6281 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6282
6283 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
6284 the implementation-specific function name and remove unneeded
6285 macros definition.
6286 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
6287 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
6288 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
6289 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6290 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
6291 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
6292 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
6293 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
6294 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6295 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
6296 name if not defined and pass as parameter to macros accordingly.
6297 * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
6298 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6299 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
6300 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
6301 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
6302 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
6303 * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
6304 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6305
6306 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
6307 implementation-specific function name and remove unneeded macros
6308 definition.
6309 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
6310 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
6311 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
6312 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
6313 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
6314 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
6315 function name if not defined.
6316 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
6317 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
6318
6319 2017-04-11 Paul Clarke <pc@us.ibm.com>
6320
6321 * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
6322 AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
6323 AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New. Add auxvec
6324 identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
6325
6326 2017-04-11 Florian Weimer <fweimer@redhat.com>
6327 Zack Weinberg <zackw@panix.com>
6328
6329 * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
6330 readdir64 as thread-safe. Update warning about readdir_r.
6331
6332 2017-04-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6333
6334 * sysdeps/unix/sysv/linux/x86/Implies: New file.
6335 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
6336 * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
6337 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
6338 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
6339 * sysdeps/x86/bits/pthreadtypes.h: Move to ...
6340 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6341
6342 2017-04-10 H.J. Lu <hongjiu.lu@intel.com>
6343
6344 * sysdeps/i386/dl-procinfo.c: Include
6345 <sysdeps/x86/dl-procinfo.c>.
6346 * sysdeps/x86_64/dl-procinfo.c: Likewise.
6347 * sysdeps/x86/dl-procinfo.c: New file.
6348
6349 2017-04-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6350
6351 * sysdeps/generic/math_private.h: Remove declarations of
6352 many functions that are already declared in math.h.
6353 * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
6354 declaration for __frexpl.
6355 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
6356 the declarations for __scalbnl and fabsl.
6357
6358 2017-04-09 Dmitry V. Levin <ldv@altlinux.org>
6359
6360 [BZ #20831]
6361 * elf/dl-map-segments.h (_dl_map_segments): Check for failure
6362 of __mprotect to change protection on the excess portion
6363 to disallow all access.
6364
6365 2017-04-07 H.J. Lu <hongjiu.lu@intel.com>
6366
6367 * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
6368 HAS_CPU_FEATURE to check for SSE.
6369 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6370 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
6371 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
6372 * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
6373 * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
6374 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
6375 * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
6376 * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
6377 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6378 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
6379 * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6380 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
6381 * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
6382 * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
6383 (index_cpu_SSE): Likewise.
6384 (reg_SSE): Likewise.
6385
6386 2017-04-07 Paul Eggert <eggert@cs.ucla.edu>
6387
6388 * posix/getopt1.c: Include <config.h>, not "config.h".
6389
6390 2017-04-07 Zack Weinberg <zackw@panix.com>
6391
6392 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
6393 * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
6394 Mention in top-of-file boilerplate that these files are shared
6395 with gnulib.
6396 * posix/getopt.h, posix/bits/getopt_posix.h:
6397 Mention in top-of-file boilerplate that these files are NOT shared
6398 with gnulib, unlike the rest of the getopt implementation.
6399
6400 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
6401 New files, intended to be shared with gnulib.
6402 * posix/bits/getopt_posix.h:
6403 New file, not intended to be shared with gnulib.
6404 * posix/getopt.h: Now just includes features.h,
6405 bits/getopt_core.h, and bits/getopt_ext.h. Will
6406 no longer be shared with gnulib.
6407 * include/bits/getopt_core.h, include/bits/getopt_ext.h
6408 * include/bits/getopt_posix.h: New wrappers.
6409 * posix/Makefile: Install new headers.
6410 * posix/unistd.h, libio/stdio.h:
6411 Include bits/getopt_posix.h instead of getopt.h.
6412
6413 * include/libc-symbols.h: For gnulib compatibility, define
6414 _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
6415 _GL_ATTRIBUTE_CONST.
6416 * posix/getopt.c (_getopt_initialize): Mark argc and argv
6417 parameters with _GL_UNUSED.
6418
6419 * posix/getopt.c: When used standalone, define __libc_use_alloca
6420 as always false and alloca to abort if called.
6421 (process_long_option): Rewrite handling of ambiguous long options
6422 to use a single boolean vector, not a linked list; use
6423 __libc_use_alloca to decide whether to allocate this using alloca.
6424 * posix/tst-getopt_long1.c: Adjust text of expected error message.
6425
6426 * posix/getopt.c (process_long_option): New function split out
6427 from _getopt_internal_r.
6428 (_getopt_internal_r): Replace both copies of the long-option
6429 processing code with calls to process_long_option.
6430 * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
6431 (do_test): Differentiate argv[0] in the two subtests.
6432
6433 * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
6434 * posix/getopt.c (_getopt_internal_r): Move some initialization code...
6435 (_getopt_initialize): ...here. Don't set d->__posixly_correct.
6436
6437 * posix/getopt.h: Add backup definition of __nonnull for
6438 consistency with gnulib. Define __getopt_argv_const to const
6439 if not already defined.
6440 (getopt): Update doc comment from gnulib. Prototype
6441 unconditionally. Add __nonnull annotation.
6442 (__posix_getopt): Add __nonnull annotation.
6443 (getopt_long, getopt_long_only): Use __getopt_argv_const in
6444 prototypes for consistency with gnulib. Add __nonnull
6445 annotations.
6446 * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
6447 (getopt_internal): Change 'argv' argument to type 'char **'.
6448 Remove now-unnecessary casts.
6449 (getopt, __posix_getopt): Eliminate repetition with a macro.
6450 Cast 'argv' to 'char **' when calling _getopt_internal.
6451 * posix/getopt1.c (getopt_long, getopt_long_only):
6452 Use __getopt_argv_const for consistency with gnulib.
6453 Cast 'argv' to 'char **' when calling _getopt_internal.
6454 (_getopt_long_r, _getopt_long_only_r):
6455 Change 'argv' argument to type 'char **'.
6456 (main): Constify 'long_options'.
6457 * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
6458 (_getopt_long_r, _getopt_long_only_r):
6459 Change 'argv' argument to type 'char **'.
6460
6461 * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
6462 (locked_vfxprintf): New helper function. Handle arbitrary
6463 multibyte strings, not just ASCII.
6464 * include/stdio.h: Declare __fxprintf_nocancel.
6465 * posix/getopt.c: When _LIBC is defined, define fprintf to
6466 __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
6467 to _IO_funlockfile. When neither _LIBC nor
6468 _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
6469 funlockfile as no-ops.
6470 (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
6471 the standalone error-printing code can now be used for libc as
6472 well. Add an flockfile/funlockfile pair around one case where
6473 the error message is printed in several chunks. Don't use fputc.
6474 * posix/tst-getopt-cancel.c: New test.
6475 * posix/Makefile: Run it.
6476
6477 * posix/getopt.c (_getopt_internal_r): Don't increment
6478 d->optind a second time when reporting ambiguous -W options.
6479
6480 * posix/getopt_int.h: Include getopt.h.
6481 Use impl-namespace names for all arguments to _getopt_internal and
6482 _getopt_internal_r.
6483 Declare __ordering enum outside the struct.
6484 Harmonize comments with gnulib.
6485 * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
6486 ELIDE_CODE logic entirely. Move inclusion of stdlib.h to
6487 #ifdef TEST block and make unconditional. Do not define NULL.
6488 * posix/getopt.c: Partial merge from gnulib, covering the
6489 initial includes and global declarations, commentary, and
6490 a couple of semantically-neutral code changes.
6491
6492 * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
6493 Use '...' instead of `...' for quotation marks inside
6494 comments and strings.
6495
6496 * config.h.in (USE_NONOPTION_FLAGS): Remove.
6497 * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
6498 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
6499 * posix/getopt_int.h: Likewise.
6500 * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
6501 __libc_argc and __libc_argv externs, which were only used by
6502 #ifdef USE_NONOPTION_FLAGS blocks.
6503 * posix/getopt_init.c: Remove file.
6504 * posix/Makefile (routines): Remove getopt_init.
6505 * include/getopt.h: Don't declare __getopt_initialize_environment.
6506 * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
6507 a comment.
6508
6509 2017-04-07 Florian Weimer <fweimer@redhat.com>
6510
6511 * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
6512
6513 2017-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6514
6515 * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
6516 * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
6517 to __wrap_.udiv.
6518 * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
6519 * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
6520
6521 * sysdeps/i386/symbol-hacks.h: New file.
6522 * sysdeps/m68k/symbol-hacks.h: New file.
6523 * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
6524 * sysdeps/s390/s390-32/symbol-hacks.h: New file.
6525 * sysdeps/unix/sysv/linux/i386/Makefile
6526 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
6527 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6528 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6529 * sysdeps/unix/sysv/linux/m68k/Makefile
6530 [$(subdir) = csu] (sysdep_routines): Likewise.
6531 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6532 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6534 [$(subdir) = csu] (sysdep_routines): Likewise.
6535 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6536 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6537 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
6538 [$(subdir) = csu] (sysdep_routines): Likewise.
6539 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6540 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6541 * sysdeps/wordsize-32/Makefile: Remove file.
6542 * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
6543 * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
6544
6545 2017-04-05 H.J. Lu <hongjiu.lu@intel.com>
6546
6547 * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
6548 (TEST_FUNCTION_ARGV): New.
6549
6550 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6551
6552 * elf/next.c: Import support/test-driver.c instead of
6553 test-skeleton.c and delete TEST_FUNCTION macro definition.
6554 * elf/nodelete.c: Likewise.
6555 * elf/order2.c: Likewise.
6556 * elf/tst-_dl_addr_inside_object.c: Likewise.
6557 * elf/tst-addr1.c: Likewise.
6558 * elf/tst-align.c: Likewise.
6559 * elf/tst-align2.c: Likewise.
6560 * elf/tst-audit11.c: Likewise.
6561 * elf/tst-audit12.c: Likewise.
6562 * elf/tst-audit2.c: Likewise.
6563 * elf/tst-audit9.c: Likewise.
6564 * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
6565 * elf/tst-deep1.c: Likewise.
6566 * elf/tst-dl-iter-static.c: Likewise.
6567 * elf/tst-dlmodcount.c: Likewise.
6568 * elf/tst-dlmopen1.c: Likewise.
6569 * elf/tst-dlmopen2.c: Likewise.
6570 * elf/tst-dlmopen3.c: Likewise.
6571 * elf/tst-dlopen-aout.c: Likewise.
6572 * elf/tst-dlopenrpath.c: Likewise.
6573 * elf/tst-dlsym-error.c: Likewise.
6574 * elf/tst-execstack-needed.c: Likewise.
6575 * elf/tst-execstack-prog.c: Likewise.
6576 * elf/tst-execstack.c: Likewise.
6577 * elf/tst-global1.c: Likewise.
6578 * elf/tst-gnu2-tls1.c: Likewise.
6579 * elf/tst-latepthread.c: Likewise.
6580 * elf/tst-leaks1.c: Likewise.
6581 * elf/tst-linkall-static.c: Likewise.
6582 (do_test): New function.
6583 * elf/tst-nodelete-opened.c: Likewise.
6584 * elf/tst-nodelete.cc: Likewise.
6585 * elf/tst-nodelete2.c: Likewise.
6586 * elf/tst-noload.c: Likewise.
6587 * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
6588 * elf/tst-order-main.c: Likewise.
6589 * elf/tst-pathopt.c: Likewise.
6590 * elf/tst-pie2.c: Likewise.
6591 * elf/tst-piemod1.c: Likewise.
6592 * elf/tst-prelink.c: Likewise.
6593 * elf/tst-protected1a.c: Likewise.
6594 * elf/tst-protected1b.c: Likewise.
6595 * elf/tst-ptrguard1.c: Likewise, import getopt.h,
6596 and define _GNU_SOURCE macro.
6597 (cmdline_process_function): New function.
6598 * elf/tst-relsort1.c: Likewise.
6599 * elf/tst-stackguard1.c: Likewise, import getopt.h,
6600 and define _GNU_SOURCE macro.
6601 (cmdline_process_function): New function.
6602 * elf/tst-thrlock.c: Likewise.
6603 * elf/tst-tls-dlinfo.c: Likewise.
6604 * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
6605 * elf/tst-tls1.c: Likewise.
6606 * elf/tst-tls10.c: Likewise.
6607 * elf/tst-tls11.c: Likewise.
6608 * elf/tst-tls12.c: Likewise.
6609 * elf/tst-tls13.c: Likewise.
6610 * elf/tst-tls14.c: Likewise.
6611 * elf/tst-tls15.c: Likewise.
6612 * elf/tst-tls16.c: Likewise.
6613 * elf/tst-tls17.c: Likewise.
6614 * elf/tst-tls18.c: Likewise.
6615 * elf/tst-tls19.c: Likewise.
6616 * elf/tst-tls2.c: Likewise.
6617 * elf/tst-tls3.c: Likewise.
6618 * elf/tst-tls4.c: Likewise.
6619 * elf/tst-tls5.c: Likewise.
6620 * elf/tst-tls6.c: Likewise.
6621 * elf/tst-tls7.c: Likewise.
6622 * elf/tst-tls8.c: Likewise.
6623 * elf/tst-tls9.c: Likewise.
6624 * elf/tst-tlsalign-extern.c: Likewise.
6625 * elf/tst-tlsalign.c: Likewise.
6626 * elf/tst-unique1.c: Likewise.
6627 * elf/tst-unique2.c: Likewise.
6628 * elf/vismain.c: Likewise.
6629
6630 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6631
6632 * string/test-strnlen.c (do_page_tests): New function
6633 to check length of strings ending at the page boundary.
6634 (test_main): Added call to the do_page_tests function.
6635
6636 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6637 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6638
6639 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6640 (sysdep_routines): Add strnlen-power8.
6641 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6642 (strnlen): Add __strnlen_power8 to list of strnlen functions.
6643 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
6644 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
6645 (__strnlen): Add __strnlen_power8 to ifunc list.
6646 * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
6647
6648 2017-04-04 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6649
6650 * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
6651 the TEST_FUNCTION macro definition.
6652 * wcsmbs/tst-mbrtowc2.c: Likewise.
6653 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6654 * wcsmbs/tst-wchar-h.c: Likewise.
6655 * wcsmbs/tst-wcpncpy.c: Likewise.
6656 * wcsmbs/tst-wcrtomb.c: Likewise.
6657 * wcsmbs/tst-wcsnlen.c: Likewise.
6658 * wcsmbs/tst-wcstof.c: Likewise.
6659
6660 2017-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6661
6662 * nptl/pthread_create.c (START_THREAD_DEFN): Remove
6663 CALL_THREAD_FCT macro usage.
6664 * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
6665 * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
6666 * sysdeps/x86_64/32/nptl/tls.h: Remove file.
6667
6668 * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
6669 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6670 (__ASSUME_REQUEUE_PI): Likewise.
6671 * sysdeps/unix/sysv/linux/kernel-features.h
6672 (__ASSUME_REQUEUE_PI): Likewise.
6673 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6674 (__ASSUME_REQUEUE_PI): Likewise.
6675 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6676 (__ASSUME_REQUEUE_PI): Likewise.
6677 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6678 (__ASSUME_REQUEUE_PI): Likewise.
6679
6680 2017-04-04 Florian Weimer <fweimer@redhat.com>
6681
6682 * resolv/tst-resolv-canonname.c: New file.
6683 * resolv/Makefile (tests): Add tst-resolv-canonname.
6684 (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
6685
6686 2017-04-04 Florian Weimer <fweimer@redhat.com>
6687
6688 * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
6689 Declare.
6690 * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
6691 (NS_MAXCDNAME): Remove definition.
6692 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
6693 * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
6694 (NS_MAXCDNAME): Remove definition.
6695 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
6696
6697 2017-04-04 Florian Weimer <fweimer@redhat.com>
6698
6699 * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
6700 call whose result is not used.
6701
6702 2017-04-04 Florian Weimer <fweimer@redhat.com>
6703
6704 * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
6705 * resolv/Makefile (tests): Add tst-ns_name.
6706 (tst-ns_name): Link with -lresolv.
6707 (tst-ns_name.out): Depend on the input data file.
6708
6709 2017-04-04 Stefan Liebler <stli@linux.vnet.ibm.com>
6710
6711 * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
6712 Clobber also r14.
6713
6714 2017-04-03 Mike Frysinger <vapier@gentoo.org>
6715
6716 [BZ #21253]
6717 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
6718 slack space by 32KiB.
6719
6720 2017-04-01 Wladimir van der Laan <laanwj@gmail.com>
6721
6722 [BZ #21338]
6723 * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
6724 instead of incorrect do_set_arena_test
6725
6726 2017-03-31 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6727
6728 * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
6729 * math/bits/math-finite.h: Likewise.
6730
6731 2017-03-31 Slava Barinov <v.barinov@samsung.com>
6732
6733 [BZ #21289]
6734 * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
6735
6736 2017-03-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6737
6738 * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
6739 non expected inotify_add_watch and quotactl return.
6740
6741 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6742
6743 * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
6744 to int32_t.
6745 * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
6746 as returning int32_t.
6747
6748 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6749
6750 * math/math.h: Include bits/math-finite.h once per
6751 floating-point type.
6752 * math/bits/math-finite.h: Macroize all declarations by
6753 floating-point type.
6754
6755 2017-03-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6756
6757 [BZ #21182]
6758 * string/test-memchr.c (do_test): Add BZ#21182 checks for address
6759 near end of a page.
6760 * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
6761 overflow calculation.
6762
6763 2017-03-28 Steve Ellcey <sellcey@caviumnetworks.com>
6764
6765 * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
6766 (IMPL) Call with 1 instead of 0 as argument.
6767
6768 2017-03-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6769
6770 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
6771 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
6772 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
6773 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
6774 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
6775 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
6776 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
6777 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
6778 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
6779 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
6780 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
6781 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
6782 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6783 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
6784 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
6785 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
6786 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
6787 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
6788 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
6789 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
6790 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
6791 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
6792 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
6793 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
6794 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
6795 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
6796 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
6797 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
6798 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
6799 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
6800 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
6801 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
6802 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
6803 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
6804 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
6805 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
6806 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
6807 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
6808 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
6809 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
6810 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
6811 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
6812 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
6813 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
6814 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
6815 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
6816 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
6817 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
6818 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
6819 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
6820 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
6821 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
6822 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
6823 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
6824 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
6825 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
6826 INLINE_SYSCALL_ERROR_RETURN_VALUE.
6827 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
6828 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
6829 defined.
6830 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
6831 __NR_setgroups32 if defined.
6832 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
6833 if defined.
6834 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
6835 __NR_setresgid32 is defined.
6836 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
6837 __NR_setresuid32 if defined.
6838 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
6839 __NR_setreuid32 if defined.
6840 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
6841 defined.
6842 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
6843 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
6844 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
6845 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
6846 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
6847 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
6848 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
6849 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
6850 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
6851 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
6852 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
6853 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
6854 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6855 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
6856 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
6857 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
6858 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
6859 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
6860 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
6861 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
6862 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
6863 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
6864 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
6865 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
6866 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
6867 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
6868 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
6869 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
6870 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
6871 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
6872 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
6873 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
6874 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
6875 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
6876 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
6877 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
6878 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
6879 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
6880 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
6881 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
6882 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
6883 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
6884 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
6885 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
6886 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
6887 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
6888 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
6889 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
6890 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
6891 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
6892 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
6893 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
6894 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
6895 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
6896 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
6897 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
6898 INLINE_SYSCALL_ERROR_RETURN_VALUE.
6899 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
6900 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
6901 defined.
6902 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
6903 __NR_setgroups32 if defined.
6904 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
6905 if defined.
6906 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
6907 __NR_setresgid32 is defined.
6908 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
6909 __NR_setresuid32 if defined.
6910 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
6911 __NR_setreuid32 if defined.
6912 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
6913 defined.
6914
6915 2017-03-27 Joseph Myers <joseph@codesourcery.com>
6916
6917 [BZ #21277]
6918 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
6919 unconditionally.
6920 (IMAXBEL): Likewise.
6921 (IUTF8): Likewise.
6922
6923 2017-03-27 Szabolcs Nagy <szabolcs.nagy@arm.com>
6924
6925 * sysdeps/aarch64/libm-test-ulps: Update.
6926
6927 2017-03-24 Sunyeop Lee <sunyeop97@gmail.com>
6928
6929 * README.tunables: Updated descriptions.
6930 * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
6931 * scripts/gen-tunables.awk: Updated the code related to the
6932 commit.
6933
6934 2017-03-23 Wilco Dijkstra <wdijkstr@arm.com>
6935
6936 * benchtests/Makefile (string-benchset): Add memcpy-random.
6937 * benchtests/bench-memcpy-random.c: New file.
6938
6939 2017-03-23 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6940
6941 * stdio-common/printf.h (register_printf_modifier): Change the
6942 order of __wur and __THROW.
6943 (register_printf_type): Likewise.
6944
6945 2017-03-23 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6946
6947 * string/test-string.h (TEST_FUNCTION): Use test_main instead of
6948 test_main ().
6949 (CMDLINE_PROCESS): Use function instead of defined macro.
6950 * debug/test-strcpy_chk.c: Import support/test-driver.c and also
6951 <suppport/support.h> to use set_fortify_handler().
6952 * string/bug-envz1.c: Import support/test-driver.c instead of
6953 test-skeleton.c.
6954 * string/bug-strcoll2.c: Likewise.
6955 * string/bug-strtok1.c: Likewise.
6956 * string/stratcliff.c: Likewise.
6957 * string/test-ffs.c: Likewise.
6958 * string/test-memccpy.c: Likewise.
6959 * string/test-memchr.c: Likewise.
6960 * string/test-memcmp.c: Likewise.
6961 * string/test-memcpy.c: Likewise.
6962 * string/test-memmem.c: Likewise.
6963 * string/test-memmove.c: Likewise.
6964 * string/test-memrchr.c: Likewise.
6965 * string/test-memset.c: Likewise.
6966 * string/test-rawmemchr.c: Likewise.
6967 * string/test-strcasecmp.c: Likewise.
6968 * string/test-strcasestr.c: Likewise.
6969 * string/test-strcat.c: Likewise.
6970 * string/test-strchr.c: Likewise.
6971 * string/test-strcmp.c: Likewise.
6972 * string/test-strcpy.c: Likewise.
6973 * string/test-string.h: Likewise.
6974 * string/test-strlen.c: Likewise.
6975 * string/test-strncasecmp.c: Likewise.
6976 * string/test-strncat.c: Likewise.
6977 * string/test-strncmp.c: Likewise.
6978 * string/test-strncpy.c: Likewise.
6979 * string/test-strnlen.c: Likewise.
6980 * string/test-strpbrk.c: Likewise.
6981 * string/test-strrchr.c: Likewise.
6982 * string/test-strspn.c: Likewise.
6983 * string/test-strstr.c: Likewise.
6984 * string/tst-bswap.c: Likewise.
6985 * string/tst-cmp.c: Likewise.
6986 * string/tst-endian.c: Likewise.
6987 * string/tst-inlcall.c: Likewise.
6988 * string/tst-strcoll-overflow.c: Likewise.
6989 * string/tst-strfry.c: Likewise.
6990 * string/tst-strlen.c: Likewise.
6991 * string/tst-strtok.c: Likewise.
6992 * string/tst-strtok_r.c: Likewise.
6993 * string/tst-strxfrm.c: Likewise.
6994 * string/tst-strxfrm2.c: Likewise.
6995 * string/tst-svc.c: Likewise.
6996 * string/tst-svc2.c: Likewise.
6997
6998 2017-03-22 Zack Weinberg <zackw@panix.com>
6999
7000 * stdio-common/bug25.c: Include stdlib.h.
7001 * support/tst-support_format_dns_packet.c: Include stdio.h,
7002 stdlib.h, and string.h.
7003 * support/tst-support_record_failure.c: Include string.h.
7004 * support/tst-support_record_failure-2.sh: Adjust line number
7005 expectations and correct a typo in an error message.
7006
7007 2017-03-21 H.J. Lu <hongjiu.lu@intel.com>
7008
7009 [BZ #21258]
7010 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
7011 Define only if _dl_runtime_resolve is defined to
7012 _dl_runtime_resolve_sse_vex.
7013 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
7014 Fallthrough to _dl_runtime_resolve_sse_vex.
7015
7016 2017-03-21 Joseph Myers <joseph@codesourcery.com>
7017
7018 * INSTALL: Regenerated.
7019
7020 2017-03-21 Thorsten Kukuk <kukuk@suse.com>
7021
7022 * config.h.in: Add LINK_OBSOLETE_NSL.
7023 * config.make.in: Add build-obsolete-nsl.
7024 * configure.ac: Add obsolete-nsl option.
7025 * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
7026 * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
7027 * include/rpcsvc/nislib.h: Likewise.
7028 * include/rpcsvc/ypclnt.h: Likewise.
7029 * manual/install.texi: Document --enable-obsolete-nsl.
7030 * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
7031 * nis/nis_add.c: Replace libnsl_hidden_def with
7032 libnsl_hidden_nolink_def.
7033 * nis/nis_addmember.c: Likewise.
7034 * nis/nis_call.c: Likewise.
7035 * nis/nis_clone_obj.c: Likewise.
7036 * nis/nis_defaults.c: Likeise.
7037 * nis/nis_domain_of_r.c: Likewise.
7038 * nis/nis_error.c: Likewise.
7039 * nis/nis_file.c: Likewise.
7040 * nis/nis_free.c: Likewise.
7041 * nis_local_names.c: Likewise.
7042 * nis/nis_lookup.c: Likewise.
7043 * nis/nis_modify.c: Likewise.
7044 * nis/nis_print.c: Likewise.
7045 * nis/nis_remove.c: Likewise.
7046 * nis/nis_table.c: Likewise.
7047 * nis/nis_util.c: Likewise.
7048 * nis/nis_xdr.c: Likewise.
7049 * nis/yp_xdr.c: Likewise.
7050 * nis/ypclnt.c: Likewise.
7051 * nis/ypupdate_xdr.c: Likewise.
7052 * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
7053 * nis/nis_clone_dir.c: Likewise.
7054 * nis/nis_clone_res.c: Likewise.
7055 * nis/nis_creategroup.c: Likewise.
7056 * nis/nis_destroygroup.c: Likewise.
7057 * nis/nis_domain_of.c: Likewise.
7058 * nis/nis_getservlist.c: Likewise.
7059 * nis/nis_ismember.c: Likewise.
7060 * nis/nis_mkdir.c: Likewise.
7061 * nis/nis_ping.c: Likewise.
7062 * nis/nis_print_group_entry.c: Likewise.
7063 * nis/nis_removemember.c: Likewise.
7064 * nis/nis_rmdir.c: Likewise.
7065 * nis/nis_server.c: Likewise.
7066 * nis/nis_subr.c: Likewise.
7067 * nis/nis_verifygroup.c: Likewise.
7068
7069 2017-03-21 Stefan Liebler <stli@linux.vnet.ibm.com>
7070
7071 * malloc/tst-interpose-aux.c (check_for_allocations):
7072 Move compiler barrier before free.
7073
7074 2017-03-20 Joseph Myers <joseph@codesourcery.com>
7075
7076 [BZ #21279]
7077 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7078 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7079 * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
7080 x86_64-x32-linux.
7081 (mq_attr.mq_maxmsg): Likewise.
7082 (mq_attr.mq_msgsize): Likewise.
7083 (mq_attr.mq_curmsgs): Likewise.
7084
7085 [BZ #21278]
7086 * sysdeps/unix/sysv/linux/mips/mips32/Makefile
7087 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7088 * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
7089 mips-o32-linux.
7090
7091 [BZ #21268]
7092 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
7093 if [__USE_MISC]
7094 (NL3): Likewise.
7095
7096 2017-03-20 Mike Frysinger <vapier@gentoo.org>
7097
7098 [BZ #21275]
7099 * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
7100 __stack to __stackbase.
7101 (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
7102 checks so we can include defined(__ia64__) first.
7103
7104 2017-03-19 Christian Brauner <christian.brauner@ubuntu.com>
7105
7106 * sysdeps/unix/sysv/linux/ttyname.h: New file.
7107 * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
7108 (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
7109 Call is_pty when the link does not exist or does not match, fail
7110 with ENODEV when it returns true.
7111 * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
7112 (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
7113 Call is_pty when the link does not exist or does not match, fail
7114 with ENODEV when it returns true.
7115
7116 2017-03-18 Joseph Myers <joseph@codesourcery.com>
7117
7118 [BZ #16437]
7119 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7120 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7121 * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
7122 x86_64-x32-linux.
7123 * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
7124 * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
7125 * conform/data/time.h-data (timespec.tv_nsec): Likewise.
7126
7127 [BZ #21261]
7128 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
7129 [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
7130 names for all fields.
7131 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
7132 for jmp_buf field renaming.
7133 (_JMPBUF_UNWINDS_ADJ): Likewise.
7134
7135 * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
7136 with allow-header.
7137
7138 2017-03-17 Chris Evans <scarybeasts@gmail.com>
7139
7140 * malloc/malloc.c (unlink): Add consistency check between size and
7141 next->prev->size, to further harden against 1-byte overflows.
7142
7143 2017-03-17 H.J. Lu <hongjiu.lu@intel.com>
7144
7145 * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
7146 CPU_FEATURES_CPU_P.
7147
7148 2017-03-17 Joseph Myers <joseph@codesourcery.com>
7149
7150 [BZ #21259]
7151 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
7152 unconditionally, not just for [__USE_MISC].
7153
7154 [BZ #17786]
7155 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
7156 * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
7157 mips-o32-linux.
7158
7159 [BZ #21260]
7160 * sysdeps/unix/sysv/linux/alpha/Makefile
7161 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7162 * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
7163
7164 * conform/conformtest.pl ($cross): New variable.
7165 (--cross): New command-line option.
7166 (runtest): Skip test execution when cross-compiling.
7167 * conform/Makefile (conformtest-cross): New variable.
7168 ($(conformtest-header-tests)): Pass $(conformtest-cross) to
7169 conformtest.pl.
7170
7171 * conform/conformtest.pl ($xfail_str): New variable.
7172 (--xfail=): New command-line option.
7173 (top level): Handle expectations starting xfail[cond]-.
7174 * conform/Makefile (conformtest-xfail): New variable.
7175 ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
7176 conformtest.pl.
7177
7178 2017-03-16 Joseph Myers <joseph@codesourcery.com>
7179
7180 * conform/conformtest.pl: Use compilation instead of execution
7181 tests for testing values of constants and usability in #if.
7182
7183 2017-03-16 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7184
7185 * math/auto-libm-test-in: Mark some catan and catanh as
7186 xfail-rounding:ibm128-libgcc.
7187 * math/auto-libm-test-out-catan: Regenerate.
7188 * math/auto-libm-test-out-catanh: Likewise.
7189
7190 2017-03-16 Joseph Myers <joseph@codesourcery.com>
7191
7192 * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
7193 (__END_NAMESPACE_STD): Likewise.
7194 (__USING_NAMESPACE_STD): Likewise.
7195 (__BEGIN_NAMESPACE_C99): Likewise.
7196 (__END_NAMESPACE_C99): Likewise.
7197 (__USING_NAMESPACE_C99): Likewise.
7198 * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
7199 undefine macro.
7200 (_Mdouble_END_NAMESPACE): Likewise.
7201 * ctype/ctype.h: Do not handle C++ namespaces.
7202 * libio/bits/stdio-ldbl.h: Likewise.
7203 * libio/stdio.h: Likewise.
7204 * locale/locale.h: Likewise.
7205 * math/bits/mathcalls.h: Likewise.
7206 * setjmp/setjmp.h: Likewise.
7207 * signal/signal.h: Likewise.
7208 * stdlib/bits/stdlib-float.h: Likewise.
7209 * stdlib/bits/stdlib-ldbl.h: Likewise.
7210 * stdlib/stdlib.h: Likewise.
7211 * string/string.h: Likewise.
7212 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
7213 * time/bits/types/clock_t.h: Likewise.
7214 * time/bits/types/struct_tm.h: Likewise.
7215 * time/bits/types/time_t.h: Likewise.
7216 * time/time.h: Likewise.
7217 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7218 * wcsmbs/uchar.h: Likewise.
7219 * wcsmbs/wchar.h: Likewise.
7220 [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
7221 * wctype/wctype.h: Do not handle C++ namespaces.
7222 * scripts/begin-end-check.pl: Remove.
7223 * Makefile (installed-headers): Likewise.
7224 (tests-special): Do not add $(objpfx)begin-end-check.out.
7225 ($(objpfx)begin-end-check.out): Remove.
7226
7227 2017-03-15 Steve Ellcey <sellcey@caviumnetworks.com>
7228 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7229
7230 * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
7231 (DL_PLATFORM_INIT): New define.
7232 (dl_platform_init): New function.
7233 * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
7234 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
7235 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
7236 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
7237 * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
7238
7239 2017-03-15 Mike Frysinger <vapier@gentoo.org>
7240
7241 * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
7242 instead of PIC.
7243
7244 2017-03-15 Joseph Myers <joseph@codesourcery.com>
7245
7246 [BZ #21094]
7247 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7248 24+24+24-bit pi for wider range of values around pi/2.
7249 * math/auto-libm-test-in: Add more tests of cos and tan.
7250 * math/auto-libm-test-out-cos: Regenerated.
7251 * math/auto-libm-test-out-tan: Likewise.
7252
7253 2017-03-15 John David Anglin <danglin@gcc.gnu.org>
7254
7255 * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
7256 (RTLD_START): Don't record stack end address in _dl_start_user.
7257
7258 2017-03-15 Alexey Neyman <stilor@att.net>
7259
7260 [BZ #21088]
7261 * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
7262 around definitions match those around use.
7263
7264 2017-03-15 Alexey Neyman <stilor@att.net>
7265
7266 * configure.ac: Avoid empty subexpression in grep.
7267 * configure: Regenerate.
7268
7269 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7270
7271 * posix/test-errno.c (do_test): Initialize setsockopt optlen.
7272 * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
7273 * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
7274 (test_wrp_rv): Fix format.
7275 (test_wrp_rv2): New macro.
7276 (do_test): Handle mlock return on 64 bits kernels with 32 bits
7277 binaries.
7278
7279 2017-03-15 Joseph Myers <joseph@codesourcery.com>
7280
7281 * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
7282 Use a union when storing pointers.
7283 (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
7284 cast result when passing to INIT_VEC_PTRS_LOOP.
7285 (VECTOR_WRAPPER_fFF_3): Likewise.
7286 (VECTOR_WRAPPER_fFF_4): Likewise.
7287
7288 2017-03-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7289
7290 * include/bits/mathcalls-helper-functions.h: New file.
7291 * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
7292 * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
7293 (__isinf, __isnan, __issignaling, __signbit): Move declarations to
7294 math/bits/mathcalls-helper-functions.h.
7295 * math/bits/mathcalls-helper-functions.h: New file.
7296 * math/math.h: Include bits/mathcalls-helper-functions.h for
7297 float, double, and long double.
7298
7299 2017-03-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7300
7301 * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
7302 instead of feraiseexcept.
7303
7304 2017-03-15 Florian Weimer <fweimer@redhat.com>
7305
7306 [BZ #21243]
7307 * support/temp_file.c (support_delete_temp_files): Add comment
7308 about ignored errors.
7309
7310 2017-03-15 Florian Weimer <fweimer@redhat.com>
7311
7312 [BZ #21244]
7313 * support/xclose.c: New file.
7314 * support/Makefile (libsupport-routines): Add xclose.
7315 * support/xunistd.h (xclose): Declare.
7316 * support/resolv_test.c (server_thread_tcp_client)
7317 (server_thread_tcp, make_server_sockets, resolv_test_start)
7318 (resolv_test_end): Call xclose instead of close.
7319 * support/support_enter_network_namespace.c
7320 (support_enter_network_namespace): Likewise.
7321 * support/support_run_diff.c (write_to_temp_file): Likewise.
7322
7323 2017-03-15 Florian Weimer <fweimer@redhat.com>
7324
7325 * support/support_format_dns_packet.c (support_format_dns_packet):
7326 Handle CNAME records in the response. Extract RDATA names from
7327 rdata, not the whole packet. Check AAAA record length.
7328 * support/tst-support_format_dns_packet.c: New file.
7329 * support/Makefile (tests): Add tst-support_format_dns_packet.
7330 (tst-support_format_dns_packet): Link against libresolv.
7331
7332 2017-03-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7333
7334 [BZ #21232]
7335 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
7336 posix_fadvise64 weak_alias for static build.
7337
7338 2017-03-14 Andreas Schwab <schwab@suse.de>
7339
7340 * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
7341 * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
7342 (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
7343 * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
7344 * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
7345 (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
7346 * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
7347 * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
7348
7349 2017-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
7350
7351 * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
7352 posix error code.
7353 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7354
7355 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7356
7357 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
7358 no_isolate usage for SH.
7359
7360 2017-03-13 Wilco Dijkstra <wdijkstr@arm.com>
7361
7362 [BZ #15105]
7363 [BZ #19463]
7364 * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
7365 * inet/rcmd.c (rcmd_af): Likewise.
7366 * inet/rexec.c (rexec_af): Likewise.
7367 * intl/dcigettext.c (_LIBC): Likewise.
7368 * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
7369 * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
7370 * locale/setlocale.c (setlocale): Likewise.
7371 * posix/spawn_faction_addopen.c
7372 (posix_spawn_file_actions_addopen): Likewise.
7373 * stdlib/putenv.c (putenv): Use __strndup.
7374 * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
7375 * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
7376 * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
7377 (__Need_M_And_C) Remove define/undef.
7378 * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
7379 (__malloc_and_calloc_defined): Remove define.
7380 * string/bits/string2.h (__strdup): Remove define.
7381 (strdup): Likewise.
7382 (__strndup): Likewise.
7383 (strndup): Likewise.
7384
7385 2017-03-13 Joseph Myers <joseph@codesourcery.com>
7386
7387 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
7388 macro.
7389 (IPV6_ADDR_PREFERENCES): Likewise.
7390 (IPV6_MINHOPCOUNT): Likewise.
7391 (IPV6_ORIGDSTADDR): Likewise.
7392 (IPV6_RECVORIGDSTADDR): Likewise.
7393 (IPV6_TRANSPARENT): Likewise.
7394 (IPV6_UNICAST_IF): Likewise.
7395 (IPV6_RECVFRAGSIZE): Likewise.
7396
7397 2017-03-13 Thorsten Kukuk <kukuk@suse.com>
7398
7399 * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
7400
7401 2017-03-12 Alexey Neyman <stilor@att.net>
7402
7403 * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
7404 in R_SH_DIR32 case is always false when inlined from
7405 dl-conflict.c. Ifdef out to prevent GCC from insertin an
7406
7407 2016-03-12 Marko Myllynen <myllynen@redhat.com>
7408
7409 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7410 (__ASSUME_RECV_SYSCALL): Replace duplicate by
7411 __ASSUME_SEND_SYSCALL.
7412
7413 2017-03-11 Thorsten Kukuk <kukuk@suse.com>
7414
7415 * sunrpc/Makefile: don't build and install rpcsvc header
7416 files, rpcgen and librpcsvc.a by default.
7417
7418 2017-03-10 Stefan Liebler <stli@linux.vnet.ibm.com>
7419
7420 * math/auto-libm-test-out-catan: Regenerated.
7421 * math/auto-libm-test-out-catanh: Likewise.
7422 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7423
7424 2017-03-09 Joseph Myers <joseph@codesourcery.com>
7425
7426 * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
7427 for long double with corrected test expectations.
7428
7429 2016-03-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7430
7431 * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
7432 Define.
7433 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
7434 (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
7435 * sysdeps/unix/sysv/linux/nios2/sysdep.h
7436 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7437 * sysdeps/unix/sysv/linux/tile/sysdep.h
7438 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7439 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7440 (__ASSUME_RECV_SYSCALL): Define.
7441 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7442 (__ASSUME_RECV_SYSCALL): Likewise.
7443 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7444 (__ASSUME_RECV_SYSCALL): Likewise.
7445 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7446 (__ASSUME_RECV_SYSCALL): Likewise.
7447 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7448 (__ASSUME_RECV_SYSCALL): Likewise.
7449 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7450 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
7451 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7452 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7453 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7454 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7455 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
7456 auto-generation list.
7457 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7458 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7459 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
7460 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7461 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7462 * sysdeps/unix/sysv/linux/send.c: Simplify includes.
7463 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
7464 __ASSUME_SENDTO_SYSCALL.
7465 * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
7466 * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
7467 * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
7468
7469 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
7470 auto-generation list.
7471 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7472 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7473 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7474 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7475 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7476 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7477 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7478 * sysdeps/unix/sysv/linux/kernel-features.h
7479 (__ASSUME_SENDTO_SYSCALL): Define by default.
7480 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7481 (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
7482 __NR_sendto.
7483 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7484 (__ASSUME_SENDTO_SYSCALL): Likewise.
7485 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7486 (__ASSUME_SENDTO_SYSCALL): Likewise.
7487 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7488 (__ASSUME_SENDTO_SYSCALL): Remove definition.
7489 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7490 (__ASSUME_SENDTO_SYSCALL): Likewise.
7491 * sysdeps/unix/sysv/linux/sh/kernel-features.h:
7492 (__ASSUME_SENDTO_SYSCALL): Likewise.
7493 * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
7494
7495 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
7496 auto-generation list.
7497 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7498 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7499 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7500 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7501 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7502 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7503 (__ASSUME_RECV_SYSCALL): New define.
7504 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7505 (__ASSUME_RECV_SYSCALL): Likewise.
7506 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7507 (__ASSUME_RECV_SYSCALL): Likewise.
7508 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7509 (__ASSUME_RECV_SYSCALL): Likewise.
7510 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7511 (__ASSUME_RECV_SYSCALL): Likewise.
7512 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7513 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7514 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7515 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7516 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7517 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7518 * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
7519 * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
7520 * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
7521 * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
7522 (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
7523 __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
7524
7525 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
7526 auto-generation list.
7527 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7528 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7529 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7530 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7531 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7532 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7533 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7534 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7535 (__ASSUME_RECVFROM_SYSCALL): Define by default.
7536 * sysdeps/unix/sysv/linux/kernel-features.h
7537 (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
7538 __NR_recvfrom.
7539 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7540 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7541 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7542 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7543 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7544 (__ASSUME_RECVFROM_SYSCALL): Remove definition.
7545 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7546 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7547 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7548 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7549 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7550 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7551 * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
7552
7553 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
7554 auto-generation list.
7555 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7556 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7557 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7558 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7559 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7560 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7561 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7562 * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
7563 * sysdeps/unix/sysv/linux/kernel-features.h
7564 (__ASSUME_CONNECT_SYSCALL): Define.
7565 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7566 (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
7567 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7568 (__ASSUME_CONNECT_SYSCALL): Likewise.
7569 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7570 (__ASSUME_CONNECT_SYSCALL): Likewise.
7571 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7572 (__ASSUME_CONNECT_SYSCALL): Likewise.
7573
7574 * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
7575 __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
7576 * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
7577 auto-generation list.
7578 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7579 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7580 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7581 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7582 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7583 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7584 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7585 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7586 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7587 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7588 * sysdeps/unix/sysv/linux/kernel-features.h
7589 (__ASSUME_ACCEPT_SYSCALL): New define.
7590 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7591 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7592 (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
7593 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7594 (__ASSUME_ACCEPT_SYSCALL): Define.
7595 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7596 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7597 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7598 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7599 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7600 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7601 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7602 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7603 (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
7604
7605 2017-03-08 Yury Norov <ynorov@caviumnetworks.com>
7606 Zack Weinberg <zackw@panix.com>
7607
7608 * posix/test-errno.c: New file.
7609 * posix/Makefile (tests): Add test-errno.
7610 * sysdeps/unix/sysv/linux/test-errno.c: New file.
7611 * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
7612
7613 2017-03-08 Stefan Liebler <stli@linux.vnet.ibm.com>
7614
7615 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7616
7617 2017-03-07 Florian Weimer <fweimer@redhat.com>
7618
7619 * time/tzset.c (compute_offset): Open-code min macro.
7620 (min, max, sign): Remove.
7621
7622 2017-03-07 Florian Weimer <fweimer@redhat.com>
7623
7624 [BZ #15576]
7625 Remove TZNAME_MAX limit from sysconf.
7626 * include/time.h (__tzname_cur_max, __tzname_max): Remove
7627 declaration.
7628 * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
7629 compute_tzname_max.
7630 (compute_tzname_max): Remove.
7631 * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
7632 (update_vars): Do not update __tzname_cur_max.
7633 (tzset_internal): Remove argument.
7634 (__tzset): Adjust call to tzset_internal.
7635 (__tz_convert): Likewise.
7636
7637 * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
7638 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7639 * manual/conf.texi (Sysconf Definition): Update comment.
7640
7641 2017-03-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7642
7643 [BZ #21209]
7644 * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
7645 AT_SECURE processes.
7646 * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
7647 * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
7648 (test_child): Likewise.
7649 * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
7650
7651 2017-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7652
7653 * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
7654
7655 2017-03-06 Stefan Liebler <stli@linux.vnet.ibm.com>
7656
7657 * sysdeps/s390/atomic-machine.h
7658 (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
7659 (__arch_compare_and_exchange_val_8_acq,
7660 __arch_compare_and_exchange_val_16_acq,
7661 __arch_compare_and_exchange_val_32_acq,
7662 __arch_compare_and_exchange_val_64_acq):
7663 Delete macro.
7664 (atomic_compare_and_exchange_val_acq,
7665 atomic_compare_and_exchange_val_rel,
7666 atomic_compare_and_exchange_bool_acq,
7667 catomic_compare_and_exchange_bool_acq,
7668 atomic_exchange_acq, atomic_exchange_rel,
7669 atomic_exchange_and_add_acq,
7670 atomic_exchange_and_add_rel,
7671 catomic_exchange_and_add, atomic_or_val,
7672 atomic_or, catomic_or, atomic_bit_test_set,
7673 atomic_and_val, atomic_and, catomic_and):
7674 Define macros with help of C11 atomic builtins.
7675
7676 2017-03-03 Justus Winter <justus@gnupg.org>
7677
7678 * sysdeps/mach/hurd/ftruncate64.c: New file.
7679 * sysdeps/mach/hurd/truncate64.c: Likewise.
7680
7681 2017-03-03 Florian Weimer <fweimer@redhat.com>
7682
7683 * time/tzfile.c (NOID): Do not define.
7684 * time/tzset.c (NOID): Likewise.
7685
7686 2017-03-03 Florian Weimer <fweimer@redhat.com>
7687
7688 * time/tzset.c (compute_offset): Remove __attribute_noinline__.
7689
7690 2017-03-02 Florian Weimer <fweimer@redhat.com>
7691
7692 * elf/get-dynamic-info.h: Remove header file inclusion guard.
7693
7694 2017-03-02 Florian Weimer <fweimer@redhat.com>
7695
7696 [BZ #21015]
7697 * manual/install.texi (Configuring and compiling): Document
7698 --enable-bind-now.
7699 * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
7700 (build-shlib-helper): Use $(LDFLAGS-lib.so).
7701 (format.lds): Likewise.
7702 [bind-now] (LDFLAGS-c.so): Remove.
7703 * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
7704 be R_X86_64_GLOB_DAT.
7705 * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
7706 relocation can be R_386_GLOB_DAT.
7707 * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
7708 relocaiton can be R_ALPHA_GLOB_DAT.
7709 * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
7710
7711 2017-03-01 Zack Weinberg <zackw@panix.com>
7712
7713 * include/libc-pointer-arith.h: New file. Define
7714 cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
7715 PTR_ALIGN_DOWN here.
7716 * include/libc-internal.h: Definitions of above macros
7717 moved from here. Don't include libc-diag.h anymore either.
7718 * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
7719 Don't include libc-internal.h.
7720
7721 * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
7722 * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
7723 * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
7724 * string/strcoll_l.c, sysdeps/nacl/brk.c
7725 * sysdeps/unix/clock_settime.c
7726 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
7727 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
7728 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7729 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
7730 Don't include libc-internal.h.
7731
7732 * elf/get-dynamic-info.h, iconv/loop.c
7733 * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
7734 * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
7735 * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
7736 * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
7737 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
7738 * sysdeps/ieee754/dbl-64/k_rem_pio2.c
7739 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
7740 * sysdeps/ieee754/flt-32/k_rem_pio2f.c
7741 * sysdeps/ieee754/ldbl-128/k_tanl.c
7742 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
7743 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
7744 * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
7745 Include libc-diag.h instead of libc-internal.h.
7746
7747 * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
7748 * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
7749 * malloc/malloc.c, sysdeps/i386/nptl/tls.h
7750 * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
7751 * sysdeps/unix/sysv/linux/spawni.c
7752 * sysdeps/x86_64/nptl/tls.h:
7753 Include libc-pointer-arith.h instead of libc-internal.h.
7754
7755 * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
7756 * sysdeps/x86_64/atomic-machine.h:
7757 Add multiple include guard.
7758
7759 * nss/tst-cancel-getpwuid_r.c: Include nss.h.
7760 * string/strcasestr.c: No need to include config.h.
7761 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
7762 sys/auxv.h. Don't include sysdep.h.
7763 * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
7764
7765 * dlfcn/tst-dladdr.c: Don't include ldsodefs.h. Don't use
7766 DL_LOOKUP_ADDRESS.
7767 * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
7768 LDBL_MANT_DIG is greater than DBL_MANT_DIG.
7769 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
7770 sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
7771 of ARTIFICIAL_LIMIT.
7772 * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
7773 declaration of __clone2.
7774
7775 2017-02-28 Florian Weimer <fweimer@redhat.com>
7776
7777 * scripts/backport-support.sh (latest_commit): New file.
7778
7779 2017-02-28 Florian Weimer <fweimer@redhat.com>
7780
7781 [BZ #20257]
7782 * inet/Makefile (routines): Add deadline.
7783 (tests-static): Add tst-deadline.
7784 * inet/net-internal.h (struct deadline_current_time)
7785 (__deadline_current_time, struct deadline, __deadline_is_infinite)
7786 (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
7787 (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
7788 * inet/deadline.c: New file.
7789 * inet/tst-deadline.c: Likewise.
7790 * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
7791 tst-udp-timeout, tst-udp-garbage.
7792 (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
7793 explicitly.
7794 (tst-udp-garbage): Likewise. Also link against thread library.
7795 * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
7796 struct layout is part of the ABI.
7797 (clntudp_call): Rework timeout handling.
7798 * sunrpc/tst-udp-garbage.c: New file.
7799 * sunrpc/tst-udp-nonblocking.c: Likewise.
7800 * sunrpc/tst-udp-timeout.c: Likewise.
7801
7802 2017-02-28 Florian Weimer <fweimer@redhat.com>
7803
7804 [BZ #5010]
7805 * sunrpc/svc.c (svc_is_mapped): Remove.
7806 (svc_unregister): Obtain mapped status while the service is still
7807 registered.
7808 * sunrpc/Makefile [have-thread-library] (tests): Add
7809 tst-svc_register.
7810 (tst-svc_register): Link against libc.so explicitly and the thread
7811 library.
7812 * sunrpc/tst-svc_register.c: New file.
7813
7814 2017-02-28 Andreas Schwab <schwab@linux-m68k.org>
7815
7816 * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
7817 * sysdeps/pthread/bits/sigthread.h: Likewise.
7818
7819 2017-02-27 Florian Weimer <fweimer@redhat.com>
7820
7821 [BZ #21115]
7822 * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
7823 * sunrpc/Makefile (tests): Add tst-udp-error.
7824 (tst-udp-error): Link against libc.so explicitly.
7825 * sunrpc/tst-udp-error: New file.
7826
7827 2017-02-25 Zack Weinberg <zackw@panix.com>
7828
7829 * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
7830 __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
7831
7832 * sysdeps/generic/math_ldbl.h
7833 * sysdeps/ia64/fpu/math_ldbl.h
7834 * sysdeps/ieee754/ldbl-128/math_ldbl.h
7835 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
7836 * sysdeps/ieee754/ldbl-96/math_ldbl.h
7837 * sysdeps/powerpc/fpu/math_ldbl.h
7838 * sysdeps/x86_64/fpu/math_ldbl.h:
7839 Allow direct inclusion. Use uintNN_t instead of u_intNN_t.
7840 Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
7841 LITTLE_ENDIAN. Include endian.h and/or stdint.h if necessary.
7842 Add copyright notices.
7843
7844 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
7845 Don't use EXTRACT_WORDS64.
7846
7847 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
7848 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
7849 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
7850 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
7851 Include math_ldbl.h, not math_private.h.
7852
7853 2017-02-25 Zack Weinberg <zackw@panix.com>
7854
7855 * include/libc-diag.h: New file. Define ignore_value,
7856 DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
7857 DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
7858
7859 * include/libc-internal.h: Definitions of above macros moved from
7860 here. Include libc-diag.h. Add copyright notice.
7861
7862 * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
7863 * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
7864 * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
7865 * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
7866 * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
7867 * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
7868 * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
7869 * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
7870 Include libc-diag.h instead of libc-internal.h.
7871
7872 * stdlib/tst-environ.c: Include libc-diag.h. Suppress -Wnonnull for
7873 call to unsetenv (NULL).
7874 * nptl/tst-mutex1.c: Include libc-diag.h. Suppress -Wnonnull for
7875 call to pthread_mutexattr_destroy (NULL).
7876
7877 2017-02-25 Zack Weinberg <zackw@panix.com>
7878
7879 * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
7880 * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
7881 __GLIBC_USE (DEPRECATED_GETS). Update comments to indicate
7882 gets was removed from C++ in C++14.
7883 * include/stdio.h: Remove redundant declaration of gets.
7884 * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
7885 be declared, since we are testing it.
7886 * stdio-common/Makefile (tst-gets.c): Compile with
7887 -Wno-deprecated-declarations.
7888 * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
7889 (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
7890 (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
7891 Compile with -Wno-deprecated-declarations.
7892
7893 2017-02-24 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7894
7895 * math/libm-test-support.c (check_ulp): Use LIT() around literal
7896 numbers.
7897
7898 2017-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7899
7900 * resolv/tst-resolv-qtypes.c (domain):
7901 Change type to const pointer to const char.
7902
7903 2017-02-24 Joseph Myers <joseph@codesourcery.com>
7904
7905 * math/Makefile (libm-tests-generated): Remove variable.
7906 (libm-tests-base-normal): New variable.
7907 (libm-tests-base-finite): Likewise.
7908 (libm-tests-base-inline): Likewise.
7909 (libm-tests-base): Likewise.
7910 (libm-tests-normal): Likewise.
7911 (libm-tests-finite): Likewise.
7912 (libm-tests-inline): Likewise.
7913 (libm-tests-vector): Likewise.
7914 (libm-tests): Define in terms of these new variables.
7915 (libm-tests-for-type): New variable.
7916 (libm-tests.o): Move definition.
7917 (tests): Move addition of $(libm-tests).
7918 (generated): Update for new and removed libm test files.
7919 ($(objpfx)libm-test.c): Remove target.
7920 ($(objpfx)libm-have-vector-test.h): Likewise.
7921 (CFLAGS-test-double-vlen2.c): Remove variable.
7922 (CFLAGS-test-double-vlen4.c): Likewise.
7923 (CFLAGS-test-double-vlen8.c): Likewise.
7924 (CFLAGS-test-float-vlen4.c): Likewise.
7925 (CFLAGS-test-float-vlen8.c): Likewise.
7926 (CFLAGS-test-float-vlen16.c): Likewise.
7927 (CFLAGS-test-float.c): Likewise.
7928 (CFLAGS-test-float-finite.c): Likewise.
7929 (CFLAGS-libm-test-support-float.c): Likewise.
7930 (CFLAGS-test-double.c): Likewise.
7931 (CFLAGS-test-double-finite.c): Likewise.
7932 (CFLAGS-libm-test-support-double.c): Likewise.
7933 (CFLAGS-test-ldouble.c): Likewise.
7934 (CFLAGS-test-ldouble-finite.c): Likewise.
7935 (CFLAGS-libm-test-support-ldouble.c): Likewise.
7936 (libm-test-inline-cflags): New variable.
7937 (CFLAGS-test-ifloat.c): Remove variable.
7938 (CFLAGS-test-idouble.c): Likewise.
7939 (CFLAGS-test-ildouble.c): Likewise.
7940 ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
7941 dependencies.
7942 ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
7943 ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
7944 ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
7945 ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
7946 ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
7947 Likewise.
7948 (dependencies on libm-test-support-*.o): Remove.
7949 ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
7950 rules using iterators.
7951 ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
7952 Likewise.
7953 ($(objpfx)libm-test-support-$(o).o): Likewise.
7954 ($(addprefix $(objpfx),$(filter-out $(tests-static)
7955 $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
7956 instead.
7957 ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
7958 define rule instead.
7959 * math/README.libm-test: Update.
7960 * math/libm-test-acos.inc: Include libm-test-driver.c.
7961 (do_test): New function.
7962 * math/libm-test-acosh.inc: Include libm-test-driver.c.
7963 (do_test): New function.
7964 * math/libm-test-asin.inc: Include libm-test-driver.c.
7965 (do_test): New function.
7966 * math/libm-test-asinh.inc: Include libm-test-driver.c.
7967 (do_test): New function.
7968 * math/libm-test-atan.inc: Include libm-test-driver.c.
7969 (do_test): New function.
7970 * math/libm-test-atan2.inc: Include libm-test-driver.c.
7971 (do_test): New function.
7972 * math/libm-test-atanh.inc: Include libm-test-driver.c.
7973 (do_test): New function.
7974 * math/libm-test-cabs.inc: Include libm-test-driver.c.
7975 (do_test): New function.
7976 * math/libm-test-cacos.inc: Include libm-test-driver.c.
7977 (do_test): New function.
7978 * math/libm-test-cacosh.inc: Include libm-test-driver.c.
7979 (do_test): New function.
7980 * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
7981 (do_test): New function.
7982 * math/libm-test-carg.inc: Include libm-test-driver.c.
7983 (do_test): New function.
7984 * math/libm-test-casin.inc: Include libm-test-driver.c.
7985 (do_test): New function.
7986 * math/libm-test-casinh.inc: Include libm-test-driver.c.
7987 (do_test): New function.
7988 * math/libm-test-catan.inc: Include libm-test-driver.c.
7989 (do_test): New function.
7990 * math/libm-test-catanh.inc: Include libm-test-driver.c.
7991 (do_test): New function.
7992 * math/libm-test-cbrt.inc: Include libm-test-driver.c.
7993 (do_test): New function.
7994 * math/libm-test-ccos.inc: Include libm-test-driver.c.
7995 (do_test): New function.
7996 * math/libm-test-ccosh.inc: Include libm-test-driver.c.
7997 (do_test): New function.
7998 * math/libm-test-ceil.inc: Include libm-test-driver.c.
7999 (do_test): New function.
8000 * math/libm-test-cexp.inc: Include libm-test-driver.c.
8001 (do_test): New function.
8002 * math/libm-test-cimag.inc: Include libm-test-driver.c.
8003 (do_test): New function.
8004 * math/libm-test-clog.inc: Include libm-test-driver.c.
8005 (do_test): New function.
8006 * math/libm-test-clog10.inc: Include libm-test-driver.c.
8007 (do_test): New function.
8008 * math/libm-test-conj.inc: Include libm-test-driver.c.
8009 (do_test): New function.
8010 * math/libm-test-copysign.inc: Include libm-test-driver.c.
8011 (do_test): New function.
8012 * math/libm-test-cos.inc: Include libm-test-driver.c.
8013 (do_test): New function.
8014 * math/libm-test-cosh.inc: Include libm-test-driver.c.
8015 (do_test): New function.
8016 * math/libm-test-cpow.inc: Include libm-test-driver.c.
8017 (do_test): New function.
8018 * math/libm-test-cproj.inc: Include libm-test-driver.c.
8019 (do_test): New function.
8020 * math/libm-test-creal.inc: Include libm-test-driver.c.
8021 (do_test): New function.
8022 * math/libm-test-csin.inc: Include libm-test-driver.c.
8023 (do_test): New function.
8024 * math/libm-test-csinh.inc: Include libm-test-driver.c.
8025 (do_test): New function.
8026 * math/libm-test-csqrt.inc: Include libm-test-driver.c.
8027 (do_test): New function.
8028 * math/libm-test-ctan.inc: Include libm-test-driver.c.
8029 (do_test): New function.
8030 * math/libm-test-ctanh.inc: Include libm-test-driver.c.
8031 (do_test): New function.
8032 * math/libm-test-erf.inc: Include libm-test-driver.c.
8033 (do_test): New function.
8034 * math/libm-test-erfc.inc: Include libm-test-driver.c.
8035 (do_test): New function.
8036 * math/libm-test-exp.inc: Include libm-test-driver.c.
8037 (do_test): New function.
8038 * math/libm-test-exp10.inc: Include libm-test-driver.c.
8039 (do_test): New function.
8040 * math/libm-test-exp2.inc: Include libm-test-driver.c.
8041 (do_test): New function.
8042 * math/libm-test-expm1.inc: Include libm-test-driver.c.
8043 (do_test): New function.
8044 * math/libm-test-fabs.inc: Include libm-test-driver.c.
8045 (do_test): New function.
8046 * math/libm-test-fdim.inc: Include libm-test-driver.c.
8047 (do_test): New function.
8048 * math/libm-test-floor.inc: Include libm-test-driver.c.
8049 (do_test): New function.
8050 * math/libm-test-fma.inc: Include libm-test-driver.c.
8051 (do_test): New function.
8052 * math/libm-test-fmax.inc: Include libm-test-driver.c.
8053 (do_test): New function.
8054 * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
8055 (do_test): New function.
8056 * math/libm-test-fmin.inc: Include libm-test-driver.c.
8057 (do_test): New function.
8058 * math/libm-test-fminmag.inc: Include libm-test-driver.c.
8059 (do_test): New function.
8060 * math/libm-test-fmod.inc: Include libm-test-driver.c.
8061 (do_test): New function.
8062 * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
8063 (do_test): New function.
8064 * math/libm-test-frexp.inc: Include libm-test-driver.c.
8065 (do_test): New function.
8066 * math/libm-test-fromfp.inc: Include libm-test-driver.c.
8067 (do_test): New function.
8068 * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
8069 (do_test): New function.
8070 * math/libm-test-getpayload.inc: Include libm-test-driver.c.
8071 (do_test): New function.
8072 * math/libm-test-hypot.inc: Include libm-test-driver.c.
8073 (do_test): New function.
8074 * math/libm-test-ilogb.inc: Include libm-test-driver.c.
8075 (do_test): New function.
8076 * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
8077 (do_test): New function.
8078 * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
8079 (do_test): New function.
8080 * math/libm-test-isfinite.inc: Include libm-test-driver.c.
8081 (do_test): New function.
8082 * math/libm-test-isgreater.inc: Include libm-test-driver.c.
8083 (do_test): New function.
8084 * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
8085 (do_test): New function.
8086 * math/libm-test-isinf.inc: Include libm-test-driver.c.
8087 (do_test): New function.
8088 * math/libm-test-isless.inc: Include libm-test-driver.c.
8089 (do_test): New function.
8090 * math/libm-test-islessequal.inc: Include libm-test-driver.c.
8091 (do_test): New function.
8092 * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
8093 (do_test): New function.
8094 * math/libm-test-isnan.inc: Include libm-test-driver.c.
8095 (do_test): New function.
8096 * math/libm-test-isnormal.inc: Include libm-test-driver.c.
8097 (do_test): New function.
8098 * math/libm-test-issignaling.inc: Include libm-test-driver.c.
8099 (do_test): New function.
8100 * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
8101 (do_test): New function.
8102 * math/libm-test-isunordered.inc: Include libm-test-driver.c.
8103 (do_test): New function.
8104 * math/libm-test-iszero.inc: Include libm-test-driver.c.
8105 (do_test): New function.
8106 * math/libm-test-j0.inc: Include libm-test-driver.c.
8107 (do_test): New function.
8108 * math/libm-test-j1.inc: Include libm-test-driver.c.
8109 (do_test): New function.
8110 * math/libm-test-jn.inc: Include libm-test-driver.c.
8111 (do_test): New function.
8112 * math/libm-test-lgamma.inc: Include libm-test-driver.c.
8113 (do_test): New function.
8114 * math/libm-test-llogb.inc: Include libm-test-driver.c.
8115 (do_test): New function.
8116 * math/libm-test-llrint.inc: Include libm-test-driver.c.
8117 (do_test): New function.
8118 * math/libm-test-llround.inc: Include libm-test-driver.c.
8119 (do_test): New function.
8120 * math/libm-test-log.inc: Include libm-test-driver.c.
8121 (do_test): New function.
8122 * math/libm-test-log10.inc: Include libm-test-driver.c.
8123 (do_test): New function.
8124 * math/libm-test-log1p.inc: Include libm-test-driver.c.
8125 (do_test): New function.
8126 * math/libm-test-log2.inc: Include libm-test-driver.c.
8127 (do_test): New function.
8128 * math/libm-test-logb.inc: Include libm-test-driver.c.
8129 (do_test): New function.
8130 * math/libm-test-lrint.inc: Include libm-test-driver.c.
8131 (do_test): New function.
8132 * math/libm-test-lround.inc: Include libm-test-driver.c.
8133 (do_test): New function.
8134 * math/libm-test-modf.inc: Include libm-test-driver.c.
8135 (do_test): New function.
8136 * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
8137 (do_test): New function.
8138 * math/libm-test-nextafter.inc: Include libm-test-driver.c.
8139 (do_test): New function.
8140 * math/libm-test-nextdown.inc: Include libm-test-driver.c.
8141 (do_test): New function.
8142 * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
8143 (do_test): New function.
8144 * math/libm-test-nextup.inc: Include libm-test-driver.c.
8145 (do_test): New function.
8146 * math/libm-test-pow.inc: Include libm-test-driver.c.
8147 (do_test): New function.
8148 * math/libm-test-remainder.inc: Include libm-test-driver.c.
8149 (do_test): New function.
8150 * math/libm-test-remquo.inc: Include libm-test-driver.c.
8151 (do_test): New function.
8152 * math/libm-test-rint.inc: Include libm-test-driver.c.
8153 (do_test): New function.
8154 * math/libm-test-round.inc: Include libm-test-driver.c.
8155 (do_test): New function.
8156 * math/libm-test-roundeven.inc: Include libm-test-driver.c.
8157 (do_test): New function.
8158 * math/libm-test-scalb.inc: Include libm-test-driver.c.
8159 (do_test): New function.
8160 * math/libm-test-scalbln.inc: Include libm-test-driver.c.
8161 (do_test): New function.
8162 * math/libm-test-scalbn.inc: Include libm-test-driver.c.
8163 (do_test): New function.
8164 * math/libm-test-setpayload.inc: Include libm-test-driver.c.
8165 (do_test): New function.
8166 * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
8167 (do_test): New function.
8168 * math/libm-test-signbit.inc: Include libm-test-driver.c.
8169 (do_test): New function.
8170 * math/libm-test-significand.inc: Include libm-test-driver.c.
8171 (do_test): New function.
8172 * math/libm-test-sin.inc: Include libm-test-driver.c.
8173 (do_test): New function.
8174 * math/libm-test-sincos.inc: Include libm-test-driver.c.
8175 (do_test): New function.
8176 * math/libm-test-sinh.inc: Include libm-test-driver.c.
8177 (do_test): New function.
8178 * math/libm-test-sqrt.inc: Include libm-test-driver.c.
8179 (do_test): New function.
8180 * math/libm-test-tan.inc: Include libm-test-driver.c.
8181 (do_test): New function.
8182 * math/libm-test-tanh.inc: Include libm-test-driver.c.
8183 (do_test): New function.
8184 * math/libm-test-tgamma.inc: Include libm-test-driver.c.
8185 (do_test): New function.
8186 * math/libm-test-totalorder.inc: Include libm-test-driver.c.
8187 (do_test): New function.
8188 * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
8189 (do_test): New function.
8190 * math/libm-test-trunc.inc: Include libm-test-driver.c.
8191 (do_test): New function.
8192 * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
8193 (do_test): New function.
8194 * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
8195 (do_test): New function.
8196 * math/libm-test-y0.inc: Include libm-test-driver.c.
8197 (do_test): New function.
8198 * math/libm-test-y1.inc: Include libm-test-driver.c.
8199 (do_test): New function.
8200 * math/libm-test-yn.inc: Include libm-test-driver.c.
8201 (do_test): New function.
8202 * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
8203 (HAVE_VECTOR): Remove macro.
8204 (START): Do not call HAVE_VECTOR.
8205 * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
8206 * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
8207 * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
8208 * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
8209 * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
8210 * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
8211 * math/test-math-vector.h (FUNC_TEST): New macro.
8212 (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
8213 * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
8214 (double-vlen4-funcs): Likewise.
8215 (double-vlen4-avx2-funcs): Likewise.
8216 (double-vlen8-funcs): Likewise.
8217 (float-vlen4-funcs): Likewise.
8218 (float-vlen8-funcs): Likewise.
8219 (float-vlen8-avx2-funcs): Likewise.
8220 (float-vlen16-funcs): Likewise.
8221 (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
8222 (CFLAGS-test-float-vlen8-avx2.c): Likewise.
8223 * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
8224 macro.
8225 (TEST_VECTOR_sin): Likewise.
8226 (TEST_VECTOR_sincos): Likewise.
8227 (TEST_VECTOR_log): Likewise.
8228 (TEST_VECTOR_exp): Likewise.
8229 (TEST_VECTOR_pow): Likewise.
8230 * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
8231 Likewise.
8232 (TEST_VECTOR_sin): Likewise.
8233 (TEST_VECTOR_sincos): Likewise.
8234 (TEST_VECTOR_log): Likewise.
8235 (TEST_VECTOR_exp): Likewise.
8236 (TEST_VECTOR_pow): Likewise.
8237 * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
8238 Likewise.
8239 (TEST_VECTOR_sinf): Likewise.
8240 (TEST_VECTOR_sincosf): Likewise.
8241 (TEST_VECTOR_logf): Likewise.
8242 (TEST_VECTOR_expf): Likewise.
8243 (TEST_VECTOR_powf): Likewise.
8244 * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
8245 Likewise.
8246 (TEST_VECTOR_sinf): Likewise.
8247 (TEST_VECTOR_sincosf): Likewise.
8248 (TEST_VECTOR_logf): Likewise.
8249 (TEST_VECTOR_expf): Likewise.
8250 (TEST_VECTOR_powf): Likewise.
8251 * math/gen-libm-have-vector-test.sh: Remove file.
8252 * math/libm-test.inc: Likewise.
8253 * math/libm-test-support-double.c: Likewise.
8254 * math/libm-test-support-float.c: Likewise.
8255 * math/libm-test-support-ldouble.c: Likewise.
8256 * math/test-double-finite.c: Likewise.: Likewise.
8257 * math/test-double.c: Likewise.
8258 * math/test-float-finite.c: Likewise.
8259 * math/test-float.c: Likewise.
8260 * math/test-idouble.c: Likewise.
8261 * math/test-ifloat.c: Likewise.
8262 * math/test-ildouble.c: Likewise.
8263 * math/test-ldouble-finite.c: Likewise.
8264 * math/test-ldouble.c: Likewise.
8265 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8266 * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
8267 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8268 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8269 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8270 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8271 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8272 * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
8273 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8274 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8275
8276 2017-02-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8277 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8278
8279 * math/Makefile: Add wrappers to gen-libm-calls.
8280 * math/w_acos_template.c: New file.
8281 * math/w_acosh_template.c: Likewise.
8282 * math/w_asin_template.c: Likewise.
8283 * math/w_atan2_template.c: Likewise.
8284 * math/w_atanh_template.c: Likewise.
8285 * math/w_cosh_template.c: Likewise.
8286 * math/w_exp10_template.c: Likewise.
8287 * math/w_exp2_template.c: Likewise.
8288 * math/w_exp_template.c: Likewise.
8289 * math/w_fmod_template.c: Likewise.
8290 * math/w_hypot_template.c: Likewise.
8291 * math/w_j0_template.c: Likewise.
8292 * math/w_j1_template.c: Likewise.
8293 * math/w_jn_template.c: Likewise.
8294 * math/w_lgamma_r_template.c: Likewise.
8295 * math/w_lgamma_template.c: Likewise.
8296 * math/w_log10_template.c: Likewise.
8297 * math/w_log2_template.c: Likewise.
8298 * math/w_log_template.c: Likewise.
8299 * math/w_pow_template.c: Likewise.
8300 * math/w_remainder_template.c: Likewise.
8301 * math/w_sinh_template.c: Likewise.
8302 * math/w_sqrt_template.c: Likewise.
8303 * math/w_tgamma_template.c: Likewise.: Likewise.
8304 * sysdeps/generic/math-type-macros-double.h
8305 (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
8306 the new wrappers.
8307 * sysdeps/generic/math-type-macros-float.h: Likewise.
8308 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
8309
8310 2017-02-22 Joseph Myers <joseph@codesourcery.com>
8311
8312 * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
8313 New enum constant and macro.
8314
8315 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8316 kernel version to 4.10.
8317
8318 2017-02-21 Joseph Myers <joseph@codesourcery.com>
8319
8320 * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
8321
8322 2017-02-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8323
8324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8325
8326 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
8327
8328 * sysdeps/powerpc/tst-set_ppr.c: New file.
8329 Implement test cases for __ppc_set_ppr_* functions.
8330 * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
8331 in the list of tests.
8332
8333 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
8334
8335 * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
8336 instead of test-skeleton.c.
8337 (do_test): Replaced pthread_create and pthread_join with
8338 xpthread_create and xpthread_join. Use TEST_VERIFY_EXIT macro.
8339 Removed unneeded status variable.
8340 * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
8341 instead of test-skeleton.c.
8342 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
8343
8344 2017-02-20 Mike FABIAN <mfabian@redhat.com>
8345
8346 [BZ #20313]
8347 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8348 201605L, for Unicode 9.
8349
8350 2017-02-20 Joseph Myers <joseph@codesourcery.com>
8351
8352 * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
8353 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8354 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8355 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8356 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8357 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8358
8359 2017-02-19 Zack Weinberg <zackw@panix.com>
8360
8361 * rt/tst-mqueue4.c: Include stdint.h.
8362
8363 2017-02-17 Joseph Myers <joseph@codesourcery.com>
8364
8365 * sysdeps/arm/libm-test-ulps: Update.
8366 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8367 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8368 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8369
8370 2017-01-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8371
8372 [BZ #21029]
8373 * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
8374 * sysdeps/unix/sysv/linux/i386/Makefile
8375 [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
8376 (uses-6-syscall-arguments): Remove.
8377 [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
8378 [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
8379 [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
8380 [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
8381 [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
8382 [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
8383 [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
8384 [$(subdir) = misc] (cflags-pselect.o): Likewise.
8385 [$(subdir) = misc] (cflags-pselect.os): Likewise.
8386 [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
8387 [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
8388 [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
8389 [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
8390 [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
8391 [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
8392 [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
8393 [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
8394 [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
8395 [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
8396 [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
8397 [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
8398 [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
8399 [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
8400 [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
8401 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
8402 Likewise.
8403 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
8404 Likewise.
8405 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
8406 Likewise.
8407 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
8408 Likewise.
8409 [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
8410 [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
8411 [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
8412 [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
8413 * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
8414 ebp on inline assembly.
8415 * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
8416 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8417 Set if CAN_USE_REGISTER_ASM_EBP is set.
8418
8419 2017-02-17 H.J. Lu <hongjiu.lu@intel.com>
8420
8421 * sysdeps/x86/cpu-features.c (init_cpu_features): Use
8422 index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
8423
8424 2017-02-17 Joseph Myers <joseph@codesourcery.com>
8425
8426 * math/auto-libm-test-in: Add tests of catan and catanh.
8427 * math/auto-libm-test-out-catan: New generated file.
8428 * math/auto-libm-test-out-catanh: Likewise.
8429 * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
8430 Move tests with finite inputs, except divide-by-zero cases, to
8431 auto-libm-test-in.
8432 * math/libm-test-catanh.inc (catanh_test_data): Likewise.
8433 * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
8434 (libm-test-funcs-noauto): Remove catan and catanh.
8435 * sysdeps/i386/fpu/libm-test-ulps: Update.
8436 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8438
8439 * math/auto-libm-test-in: Add tests of casin and casinh.
8440 * math/auto-libm-test-out-casin: New generated file.
8441 * math/auto-libm-test-out-casinh: Likewise.
8442 * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
8443 Move tests with finite inputs to auto-libm-test-in.
8444 * math/libm-test-casinh.inc (casinh_test_data): Likewise.
8445 * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
8446 (libm-test-funcs-noauto): Remove casin and casinh.
8447 * sysdeps/i386/fpu/libm-test-ulps: Update.
8448 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8450
8451 * math/auto-libm-test-in: Add tests of cacos and cacosh.
8452 * math/auto-libm-test-out-cacos: New generated file.
8453 * math/auto-libm-test-out-cacosh: Likewise.
8454 * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
8455 Move tests with finite inputs to auto-libm-test-in.
8456 * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
8457 * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
8458 (libm-test-funcs-noauto): Remove cacos and cacosh.
8459 * sysdeps/i386/fpu/libm-test-ulps: Update.
8460 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8462
8463 Revert:
8464 2017-02-16 Zack Weinberg <zackw@panix.com>
8465
8466 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8467 Don't include init-arch.h.
8468 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8469 Don't include init-arch.h.
8470
8471 2017-02-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8472
8473 [BZ #21171]
8474 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
8475 +Inf and raise divide-by-zero when x is negative.
8476 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
8477 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
8478 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Return
8479 -Inf and raise divide-by-zero when x = +-0.
8480 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8481 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
8482 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
8483 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
8484 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8485 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8486 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8487
8488 2017-02-16 Zack Weinberg <zackw@panix.com>
8489
8490 * scripts/build-many-glibcs.py (bot_build_mail): If the
8491 bot_config does not contain all of the necessary email-
8492 related settings, just print a warning and continue.
8493
8494 2017-02-16 Zack Weinberg <zackw@panix.com>
8495
8496 * crypt/md5.h: Test _LIBC with #if defined, not #if.
8497 * dirent/opendir-tst1.c: Include sys/stat.h.
8498 * dirent/tst-fdopendir.c: Include sys/stat.h.
8499 * dirent/tst-fdopendir2.c: Include stdlib.h.
8500 * dirent/tst-scandir.c: Include stdbool.h.
8501 * elf/tst-auditmod1.c: Include link.h and stddef.h.
8502 * elf/tst-tls15.c: Include stdlib.h.
8503 * elf/tst-tls16.c: Include stdlib.h.
8504 * elf/tst-tls17.c: Include stdlib.h.
8505 * elf/tst-tls18.c: Include stdlib.h.
8506 * iconv/tst-iconv6.c: Include endian.h.
8507 * iconvdata/bug-iconv11.c: Include limits.h.
8508 * io/test-utime.c: Include stdint.h.
8509 * io/tst-faccessat.c: Include sys/stat.h.
8510 * io/tst-fchmodat.c: Include sys/stat.h.
8511 * io/tst-fchownat.c: Include sys/stat.h.
8512 * io/tst-fstatat.c: Include sys/stat.h.
8513 * io/tst-futimesat.c: Include sys/stat.h.
8514 * io/tst-linkat.c: Include sys/stat.h.
8515 * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
8516 * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
8517 * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
8518 * io/tst-openat.c: Include stdbool.h.
8519 * io/tst-readlinkat.c: Include sys/stat.h.
8520 * io/tst-renameat.c: Include sys/stat.h.
8521 * io/tst-symlinkat.c: Include sys/stat.h.
8522 * io/tst-unlinkat.c: Include stdbool.h.
8523 * libio/bug-memstream1.c: Include stdlib.h.
8524 * libio/bug-wmemstream1.c: Include stdlib.h.
8525 * libio/tst-fwrite-error.c: Include stdlib.h.
8526 * libio/tst-memstream1.c: Include stdlib.h.
8527 * libio/tst-memstream2.c: Include stdlib.h.
8528 * libio/tst-memstream3.c: Include stdlib.h.
8529 * malloc/tst-interpose-aux.c: Include stdint.h.
8530 * misc/tst-preadvwritev-common.c: Include sys/stat.h.
8531 * nptl/tst-basic7.c: Include limits.h.
8532 * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
8533 * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
8534 * nptl/tst-cancel4_1.c: Include stddef.h.
8535 * nptl/tst-cancel4_2.c: Include stddef.h.
8536 * nptl/tst-cond16.c: Include limits.h.
8537 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8538 * nptl/tst-cond18.c: Include limits.h.
8539 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8540 * nptl/tst-cond4.c: Include stdint.h.
8541 * nptl/tst-cond6.c: Include stdint.h.
8542 * nptl/tst-stack2.c: Include limits.h.
8543 * nptl/tst-stackguard1.c: Include stddef.h.
8544 * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
8545 * nptl/tst-tls4moda.c: Include stddef.h.
8546 Don't include stdio.h, unistd.h, or tls.h.
8547 * nptl/tst-tls4modb.c: Include stddef.h.
8548 Don't include stdio.h, unistd.h, or tls.h.
8549 * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
8550 * posix/tst-getaddrinfo2.c: Include stdio.h.
8551 * posix/tst-getaddrinfo5.c: Include stdio.h.
8552 * posix/tst-pathconf.c: Include sys/stat.h.
8553 * posix/tst-posix_fadvise-common.c: Include stdint.h.
8554 * posix/tst-preadwrite-common.c: Include sys/stat.h.
8555 * posix/tst-regex.c: Include stdint.h.
8556 Don't include spawn.h or spawn_int.h.
8557 * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
8558 * posix/tst-vfork3.c: Include sys/stat.h.
8559 * resolv/tst-bug18665-tcp.c: Include stdlib.h.
8560 * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
8561 * resolv/tst-resolv-search.c: Include stdlib.h.
8562 * stdio-common/tst-fmemopen2.c: Include stdint.h.
8563 * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
8564 * stdlib/test-canon.c: Include sys/stat.h.
8565 * stdlib/tst-tls-atexit.c: Include stdbool.h.
8566 * string/test-memchr.c: Include stdint.h.
8567 * string/tst-cmp.c: Include stdint.h.
8568 * sysdeps/pthread/tst-timer.c: Include stdint.h.
8569 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
8570 * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
8571 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8572 Don't include init-arch.h.
8573 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8574 Don't include init-arch.h.
8575 * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
8576 * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
8577 * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
8578 * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
8579 * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
8580 * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
8581 * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
8582 * time/clocktest.c: Include stdint.h.
8583 * time/tst-posixtz.c: Include stdint.h.
8584 * timezone/tst-timezone.c: Include stdint.h.
8585
8586 2017-02-16 Zack Weinberg <zackw@panix.com>
8587
8588 * string/string.h [__USE_MISC]: Include strings.h.
8589 (__bzero, bcmp, bcopy, bzero, index, rindex)
8590 (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
8591 (ffs, ffsl, ffsll): Don't declare.
8592 * string/strings.h: Do not suppress the file if string.h has
8593 already been included.
8594 (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
8595 annotations.
8596 (index, rindex): Define inline forwarders even if
8597 __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
8598 (ffs): Use __attribute_const__.
8599 (ffsl, ffsll): Declare here.
8600 (strcasecmp_l, strncasecmp_l): Correct comments; these functions
8601 have now been standardized.
8602 * include/string.h (__bzero): Declare here.
8603
8604 * bits/types.h: Move to posix/bits.
8605 * include/bits/types.h: New wrapper.
8606
8607 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
8608
8609 * string/bits/string2.h (strcmp): Remove define.
8610 (__strcmp_cg): Likewise.
8611 (strncmp): Likewise.
8612
8613 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
8614
8615 * include/string.h: Add __cplusplus check.
8616
8617 2017-02-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8618
8619 [BZ #21134]
8620 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
8621 "divide by zero" exception when the input is zero.
8622 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
8623 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
8624 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
8625 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
8626 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8627
8628 2017-02-15 Joseph Myers <joseph@codesourcery.com>
8629
8630 * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
8631 and include ...
8632 * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here. New file.
8633 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
8634 to, and include ...
8635 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here. New
8636 file.
8637 * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
8638 and include ...
8639 * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here. New file.
8640 * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
8641 and include ...
8642 * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here. New file.
8643 * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
8644 and include ...
8645 * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here. New file.
8646 * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
8647 and include ...
8648 * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here. New file.
8649 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
8650 to, and include ...
8651 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here. New file.
8652 * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
8653 and include ...
8654 * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here. New file.
8655
8656 2017-02-14 Joseph Myers <joseph@codesourcery.com>
8657
8658 * math/libm-test-support.h: Do not include <math-tests-arch.h>
8659 here.
8660 * math/libm-test-support.c (libm_test_init): Do not call
8661 INIT_ARCH_EXT here.
8662 * math/libm-test-driver.c: Include <math-tests-arch.h>.
8663 (main): Call INIT_ARCH_EXT.
8664
8665 2017-02-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8666
8667 [BZ #21130]
8668 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
8669 with the "invalid" exception raised when x is -Inf.
8670 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8671
8672 2017-02-10 Wilco Dijkstra <wdijkstr@arm.com>
8673
8674 * string/bits/string2.h (strchr): Remove define.
8675
8676 2017-02-09 H.J. Lu <hongjiu.lu@intel.com>
8677
8678 * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
8679 tst-avx512.
8680 (test-extras): Add tst-avx-aux and tst-avx512-aux.
8681 (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
8682 (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
8683 ($(objpfx)tst-sse): New rule.
8684 ($(objpfx)tst-avx): Likewise.
8685 ($(objpfx)tst-avx512): Likewise.
8686 (CFLAGS-tst-avx-aux.c): New.
8687 (CFLAGS-tst-avxmod.c): Likewise.
8688 (CFLAGS-tst-avx512-aux.c): Likewise.
8689 (CFLAGS-tst-avx512mod.c): Likewise.
8690 * sysdeps/x86_64/tst-avx-aux.c: New file.
8691 * sysdeps/x86_64/tst-avx.c: Likewise.
8692 * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
8693 * sysdeps/x86_64/tst-avx512.c: Likewise.
8694 * sysdeps/x86_64/tst-avx512mod.c: Likewise.
8695 * sysdeps/x86_64/tst-avxmod.c: Likewise.
8696 * sysdeps/x86_64/tst-sse.c: Likewise.
8697 * sysdeps/x86_64/tst-ssemod.c: Likewise.
8698
8699 2017-02-09 Joseph Myers <joseph@codesourcery.com>
8700
8701 * math/auto-libm-test-in: Add more tests of csin and csinh.
8702 * math/auto-libm-test-out-csin: Regenerated.
8703 * math/auto-libm-test-out-csinh: Likewise.
8704 * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
8705 auto-libm-test-in.
8706 * math/libm-test-csinh.inc (csinh_test_data): Likewise.
8707
8708 2017-02-09 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8709
8710 * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
8711 libm-compat-calls-auto.
8712 (libm-compat-calls): Likewise.
8713 (libm-compat-calls-auto): Rename to libm-compat-calls and add
8714 w_lgamma_compatF and k_standardF (merged from the items above).
8715 (libm-routines): Use libm-compat-calls, instead of
8716 libm-compat-calls-auto, with type-foreach.
8717
8718 2017-02-09 Joseph Myers <joseph@codesourcery.com>
8719
8720 * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
8721 macro.
8722 * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
8723 (CFLAGS-test-ifloat.c): ... this. Remove
8724 -U__LIBC_INTERNAL_MATH_INLINES.
8725 * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
8726 (CFLAGS-test-idouble.c): ... this. Remove
8727 -U__LIBC_INTERNAL_MATH_INLINES.
8728 * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
8729 (CFLAGS-test-ildouble.c): ... this. Remove
8730 -U__LIBC_INTERNAL_MATH_INLINES.
8731
8732 2017-02-08 Joseph Myers <joseph@codesourcery.com>
8733
8734 * math/libm-test-support.c: New file. Content from
8735 math/libm-test-driver.c.
8736 * math/libm-test-support.h: Likewise.
8737 * math/libm-test-support-double.c: New file.
8738 * math/libm-test-support-float.c: Likewise.
8739 * math/libm-test-support-ldouble.c: Likewise.
8740 * math/libm-test-driver.c: Remove main comment and header
8741 includes. Include libm-test-support.h.
8742 [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
8743 (flag_test_errno): Remove static.
8744 (flag_test_exceptions): Likewise.
8745 (flag_test_finite): Likewise.
8746 (flag_test_inline): Likewise.
8747 (flag_test_mathvec): Likewise.
8748 (test_msg): Likewise.
8749 (NO_EXCEPTION): Remove.
8750 (INVALID_EXCEPTION): Likewise.
8751 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
8752 (OVERFLOW_EXCEPTION): Likewise.
8753 (UNDERFLOW_EXCEPTION): Likewise.
8754 (INEXACT_EXCEPTION): Likewise.
8755 (INVALID_EXCEPTION_OK): Likewise.
8756 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8757 (OVERFLOW_EXCEPTION_OK): Likewise.
8758 (UNDERFLOW_EXCEPTION_OK): Likewise.
8759 (NO_INEXACT_EXCEPTION): Likewise.
8760 (EXCEPTIONS_OK): Likewise.
8761 (IGNORE_ZERO_INF_SIGN): Likewise.
8762 (TEST_NAN_SIGN): Likewise.
8763 (TEST_NAN_PAYLOAD): Likewise.
8764 (NO_TEST_INLINE): Likewise.
8765 (XFAIL_TEST): Likewise.
8766 (ERRNO_UNCHANGED): Likewise.
8767 (ERRNO_EDOM): Likewise.
8768 (ERRNO_ERANGE): Likewise.
8769 (IGNORE_RESULT): Likewise.
8770 (NON_FINITE): Likewise.
8771 (TEST_SNAN): Likewise.
8772 (NO_TEST_MATHVEC): Likewise.
8773 (__CONCATX): Likewise.
8774 (TYPE_MIN): Likewise.
8775 (TYPE_TRUE_MIN): Likewise.
8776 (TYPE_MAX): Likewise.
8777 (MIN_EXP): Likewise.
8778 (MAX_EXP): Likewise.
8779 (MANT_DIG): Likewise.
8780 (FSTR_MAX): Likewise.
8781 (ulp_idx): Likewise.
8782 (qtype_str): Remove static.
8783 (TEST_COND_binary32): Remove.
8784 (TEST_COND_binary64): Likewise.
8785 (TEST_COND_binary128): Likewise.
8786 (TEST_COND_ibm128): Likewise.
8787 (TEST_COND_intel96): Likewise.
8788 (TEST_COND_m68k96): Likewise.
8789 (TEST_COND_ibm128_libgcc): Likewise.
8790 (XFAIL_IBM128_LIBGCC): Likewise.
8791 (PAYLOAD_DIG): Likewise.
8792 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8793 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8794 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8795 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8796 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8797 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
8798 (TEST_COND_long32): Likewise.
8799 (TEST_COND_long64): Likewise.
8800 (TEST_COND_before_rounding): Likewise.
8801 (TEST_COND_after_rounding): Likewise.
8802 (ulps_file_name): Likewise.
8803 (ulps_file): Likewise.
8804 (output_ulps): Likewise.
8805 (output_dir): Likewise.
8806 (noErrors): Likewise.
8807 (noTests): Likewise.
8808 (noExcTests): Likewise.
8809 (noErrnoTests): Likewise.
8810 (verbose): Likewise.
8811 (output_max_error): Likewise.
8812 (output_points): Likewise.
8813 (ignore_max_ulp): Likewise.
8814 (max_error): Likewise.
8815 (real_max_error): Likewise.
8816 (imag_max_error): Likewise.
8817 (prev_max_error): Likewise.
8818 (prev_real_max_error): Likewise.
8819 (prev_imag_max_error): Likewise.
8820 (max_valid_error): Likewise.
8821 (TYPE_DECIMAL_DIG): Likewise.
8822 (TYPE_HEX_DIG): Likewise.
8823 (fmt_ftostr): Likewise.
8824 (compare_ulp_data): Likewise.
8825 (find_ulps): Likewise.
8826 (init_max_error): Likewise.
8827 (set_max_error): Likewise.
8828 (print_float): Likewise.
8829 (print_screen): Likewise.
8830 (print_screen_max_error): Likewise.
8831 (update_stats): Likewise.
8832 (print_function_ulps): Likewise.
8833 (print_complex_function_ulps): Likewise.
8834 (fpstack_test): Likewise.
8835 (print_max_error): Likewise.
8836 (print_complex_max_error): Likewise.
8837 (test_single_exception): Likewise.
8838 (test_exceptions): Likewise.
8839 (test_single_errno): Likewise.
8840 (test_errno): Likewise.
8841 (ULPDIFF): Likewise.
8842 (ulp): Likewise.
8843 (check_float_internal): Likewise.
8844 (check_float): Likewise.
8845 (check_complex): Likewise.
8846 (check_int): Likewise.
8847 (check_long): Likewise.
8848 (check_bool): Likewise.
8849 (check_longlong): Likewise.
8850 (check_intmax_t): Likewise.
8851 (check_uintmax_t): Likewise.
8852 (enable_test): Likewise.
8853 (matherr): Likewise.
8854 (initialize): Likewise.
8855 (options): Likewise.
8856 (doc): Remove static.
8857 (argp): Likewise.
8858 (parse_opt): Remove.
8859 (check_ulp): Likewise.
8860 (libm_test_init): Likewise.
8861 (libm_test_finish): Likewise.
8862 * math/Makefile (libm-test-support): New variable.
8863 (test-extras): Add libm-test-support files.
8864 (extra-test-objs): Likewise.
8865 (CFLAGS-libm-test-support-float.c): New variable.
8866 (CFLAGS-libm-test-support-double.c): Likewise.
8867 (CFLAGS-libm-test-support-ldouble.c): Likewise.
8868 ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
8869 libm-test-support objects.
8870
8871 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8872
8873 * math/Makefile (libm-calls): Move w_exp...
8874 (libm-compat-calls-auto): Here.
8875
8876 * math/w_expl.c: Add suffix "_compat" to filename.
8877 * sysdeps/ia64/fpu/w_expl.c: Likewise.
8878 * sysdeps/ia64/fpu/w_expf.c: Likewise.
8879 * sysdeps/ia64/fpu/w_exp.c: Likewise.
8880 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8881 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8882 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8883 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
8884 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8885
8886 * math/w_expl_compat.c: New file, copied from above.
8887 * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
8888 * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
8889 * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
8890 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
8891 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
8892 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
8893 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
8894 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
8895
8896 * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
8897 to filename.
8898 * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
8899
8900 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
8901 copied from above and adjusted for the new filenames.
8902 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
8903
8904 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8905
8906 * math/Makefile (libm-calls): Move w_lgammaF...
8907 (libm-compat-calls-auto): Here.
8908
8909 * math/w_lgamma.c: Add suffix "_compat2" to filename.
8910 * math/w_lgammaf.c: Likewise.
8911 * math/w_lgammal.c: Likewise.
8912
8913 * math/w_lgamma_compat2.c: New file, copied from above.
8914 * math/w_lgammaf_compat2.c: Likewise.
8915 * math/w_lgammal_compat2.c: Likewise.
8916
8917 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8918
8919 * math/Makefile (libm-calls): Move w_lgammaF_r...
8920 (libm-compat-calls-auto): Here.
8921
8922 * math/w_lgamma_r.c: Add suffix "_compat" to filename.
8923 * math/w_lgammaf_r.c: Likewise.
8924 * math/w_lgammal_r.c: Likewise.
8925 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
8926 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
8927 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
8928
8929 * math/w_lgamma_r_compat.c: New file, copied from above.
8930 * math/w_lgammaf_r_compat.c: Likewise.
8931 * math/w_lgammal_r_compat.c: Likewise.
8932 * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
8933 * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
8934 * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
8935
8936 * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
8937 to filename.
8938 * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
8939
8940 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
8941 copied from above and adjusted for the new filenames.
8942 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
8943
8944 2017-02-08 Yury Norov <ynorov@caviumnetworks.com>
8945
8946 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
8947 calculation in SYSCALL_ERROR_HANDLER().
8948
8949 2017-02-08 Rical Jasan <ricaljasan@pacific.net>
8950
8951 * manual/contrib.texi: Fix typo.
8952
8953 2017-02-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
8954
8955 [BZ #21109]
8956 * elf/dl-tunable-types.h (tunable_callback_t): Accept
8957 tunable_val_t as argument.
8958 * elf/dl-tunables.c (__tunable_set_val): Add comment.
8959 * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
8960 argument.
8961 (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
8962
8963 2017-02-08 Kir Kolyshkin <kir@openvz.org>
8964
8965 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
8966 Add PTRACE_EVENT_STOP.
8967 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8968 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8969 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8970 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8971 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
8972 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
8973
8974 2017-02-07 Joseph Myers <joseph@codesourcery.com>
8975
8976 * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
8977 * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
8978 * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
8979 * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
8980 * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
8981 * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
8982 * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
8983 * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
8984 * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
8985 * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
8986
8987 [BZ #21112]
8988 * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
8989 12 bits zero.
8990 (cp_l): Update for new value of cp_h.
8991 * math/auto-libm-test-in: Add another test of pow.
8992 * math/auto-libm-test-out-pow: Regenerated.
8993
8994 2017-02-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8995
8996 * manual/contrib.texi: Fix typo.
8997
8998 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8999
9000 [BZ #15998]
9001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9002 (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
9003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9004
9005 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9006
9007 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
9008 STRCHR as __strchr_power8.
9009 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
9010 strlen as __strlen_power8.
9011
9012 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9013
9014 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
9015 unaligned load for shorter strings.
9016 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
9017
9018 2017-02-06 Joseph Myers <joseph@codesourcery.com>
9019
9020 * math/libm-test-driver.c (flag_test_errno): New variable.
9021 (flag_test_exceptions): Likewise.
9022 (flag_test_finite): Likewise.
9023 (flag_test_inline): Likewise.
9024 (flag_test_mathvec): Likewise.
9025 (test_msg): Likewise.
9026 (ulp_idx): Likewise.
9027 (qtype_str): Likewise.
9028 (ULP_IDX): Remove macro.
9029 (QTYPE_STR): Likewise.
9030 (find_ulps): Use ulp_idx not ULP_IDX.
9031 (print_function_ulps): Use qtype_str, printed with %s, not
9032 QTYPE_STR, printed with concatentation to format string.
9033 (print_complex_function_ulps): Likewise.
9034 (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
9035 (test_errno): Use flag_test_errno not TEST_ERRNO.
9036 (enable_test): Use flag_test_inline, flag_test_finite and
9037 flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
9038 TEST_MATHVEC.
9039 (libm_test_init): New function. Factored out of main.
9040 (libm_test_finish): Likewise.
9041 (main): Call libm_test_init and libm_test_finish and move most
9042 code to those functions.
9043
9044 * math/libm-test-driver.c (STRX): New macro.
9045 (STR): Likewise.
9046 (STR_FLOAT): Likewise.
9047 (STR_VEC_LEN): Likewise.
9048 (TEST_MSG): Likewise. Define here instead of expecting to be
9049 defined by including file.
9050 * math/test-double-finite.c (TEST_MSG): Remove macro.
9051 * math/test-double-vlen2.h (TEST_MSG): Likewise.
9052 * math/test-double-vlen4.h (TEST_MSG): Likewise.
9053 * math/test-double-vlen8.h (TEST_MSG): Likewise.
9054 * math/test-double.c (TEST_MSG): Likewise.
9055 * math/test-float-finite.c (TEST_MSG): Likewise.
9056 * math/test-float-vlen16.h (TEST_MSG): Likewise.
9057 * math/test-float-vlen4.h (TEST_MSG): Likewise.
9058 * math/test-float-vlen8.h (TEST_MSG): Likewise.
9059 * math/test-float.c (TEST_MSG): Likewise.
9060 * math/test-idouble.c (TEST_MSG): Likewise.
9061 * math/test-ifloat.c (TEST_MSG): Likewise.
9062 * math/test-ildouble.c (TEST_MSG): Likewise.
9063 * math/test-ldouble-finite.c (TEST_MSG): Likewise.
9064 * math/test-ldouble.c (TEST_MSG): Likewise.
9065
9066 * math/libm-test.inc: Move all tests of individual functions to
9067 libm-test-*.inc and #include libm-test-*.c files.
9068 (acos_test_data): Remove.
9069 (acos_test): Likewise.
9070 (acosh_test_data): Likewise.
9071 (acosh_test): Likewise.
9072 (asin_test_data): Likewise.
9073 (asin_test): Likewise.
9074 (asinh_test_data): Likewise.
9075 (asinh_test): Likewise.
9076 (atan_test_data): Likewise.
9077 (atan_test): Likewise.
9078 (atanh_test_data): Likewise.
9079 (atanh_test): Likewise.
9080 (atan2_test_data): Likewise.
9081 (atan2_test): Likewise.
9082 (cabs_test_data): Likewise.
9083 (cabs_test): Likewise.
9084 (cacos_test_data): Likewise.
9085 (cacos_test): Likewise.
9086 (cacosh_test_data): Likewise.
9087 (cacosh_test): Likewise.
9088 (canonicalize_test_data): Likewise.
9089 (canonicalize_test): Likewise.
9090 (carg_test_data): Likewise.
9091 (carg_test): Likewise.
9092 (casin_test_data): Likewise.
9093 (casin_test): Likewise.
9094 (casinh_test_data): Likewise.
9095 (casinh_test): Likewise.
9096 (catan_test_data): Likewise.
9097 (catan_test): Likewise.
9098 (catanh_test_data): Likewise.
9099 (catanh_test): Likewise.
9100 (cbrt_test_data): Likewise.
9101 (cbrt_test): Likewise.
9102 (ccos_test_data): Likewise.
9103 (ccos_test): Likewise.
9104 (ccosh_test_data): Likewise.
9105 (ccosh_test): Likewise.
9106 (ceil_test_data): Likewise.
9107 (ceil_test): Likewise.
9108 (cexp_test_data): Likewise.
9109 (cexp_test): Likewise.
9110 (cimag_test_data): Likewise.
9111 (cimag_test): Likewise.
9112 (clog_test_data): Likewise.
9113 (clog_test): Likewise.
9114 (clog10_test_data): Likewise.
9115 (clog10_test): Likewise.
9116 (conj_test_data): Likewise.
9117 (conj_test): Likewise.
9118 (copysign_test_data): Likewise.
9119 (copysign_test): Likewise.
9120 (cos_test_data): Likewise.
9121 (cos_test): Likewise.
9122 (cosh_test_data): Likewise.
9123 (cosh_test): Likewise.
9124 (cpow_test_data): Likewise.
9125 (cpow_test): Likewise.
9126 (cproj_test_data): Likewise.
9127 (cproj_test): Likewise.
9128 (creal_test_data): Likewise.
9129 (creal_test): Likewise.
9130 (csin_test_data): Likewise.
9131 (csin_test): Likewise.
9132 (csinh_test_data): Likewise.
9133 (csinh_test): Likewise.
9134 (csqrt_test_data): Likewise.
9135 (csqrt_test): Likewise.
9136 (ctan_test_data): Likewise.
9137 (ctan_test): Likewise.
9138 (ctanh_test_data): Likewise.
9139 (ctanh_test): Likewise.
9140 (erf_test_data): Likewise.
9141 (erf_test): Likewise.
9142 (erfc_test_data): Likewise.
9143 (erfc_test): Likewise.
9144 (exp_test_data): Likewise.
9145 (exp_test): Likewise.
9146 (exp10_test_data): Likewise.
9147 (exp10_test): Likewise.
9148 (pow10_test): Likewise.
9149 (exp2_test_data): Likewise.
9150 (exp2_test): Likewise.
9151 (expm1_test_data): Likewise.
9152 (expm1_test): Likewise.
9153 (fabs_test_data): Likewise.
9154 (fabs_test): Likewise.
9155 (fdim_test_data): Likewise.
9156 (fdim_test): Likewise.
9157 (floor_test_data): Likewise.
9158 (floor_test): Likewise.
9159 (fma_test_data): Likewise.
9160 (fma_test): Likewise.
9161 (fmax_test_data): Likewise.
9162 (fmax_test): Likewise.
9163 (fmaxmag_test_data): Likewise.
9164 (fmaxmag_test): Likewise.
9165 (fmin_test_data): Likewise.
9166 (fmin_test): Likewise.
9167 (fminmag_test_data): Likewise.
9168 (fminmag_test): Likewise.
9169 (fmod_test_data): Likewise.
9170 (fmod_test): Likewise.
9171 (fpclassify_test_data): Likewise.
9172 (fpclassify_test): Likewise.
9173 (frexp_test_data): Likewise.
9174 (frexp_test): Likewise.
9175 (fromfp_test_data): Likewise.
9176 (fromfp_test): Likewise.
9177 (fromfpx_test_data): Likewise.
9178 (fromfpx_test): Likewise.
9179 (getpayload_test_data): Likewise.
9180 (getpayload_test): Likewise.
9181 (hypot_test_data): Likewise.
9182 (hypot_test): Likewise.
9183 (ilogb_test_data): Likewise.
9184 (ilogb_test): Likewise.
9185 (iscanonical_test_data): Likewise.
9186 (iscanonical_test): Likewise.
9187 (iseqsig_test_data): Likewise.
9188 (iseqsig_test): Likewise.
9189 (isfinite_test_data): Likewise.
9190 (isfinite_test): Likewise.
9191 (finite_test): Likewise.
9192 (isgreater_test_data): Likewise.
9193 (isgreater_test): Likewise.
9194 (isgreaterequal_test_data): Likewise.
9195 (isgreaterequal_test): Likewise.
9196 (isinf_test_data): Likewise.
9197 (isinf_test): Likewise.
9198 (isless_test_data): Likewise.
9199 (isless_test): Likewise.
9200 (islessequal_test_data): Likewise.
9201 (islessequal_test): Likewise.
9202 (islessgreater_test_data): Likewise.
9203 (islessgreater_test): Likewise.
9204 (isnan_test_data): Likewise.
9205 (isnan_test): Likewise.
9206 (isnormal_test_data): Likewise.
9207 (isnormal_test): Likewise.
9208 (issignaling_test_data): Likewise.
9209 (issignaling_test): Likewise.
9210 (issubnormal_test_data): Likewise.
9211 (issubnormal_test): Likewise.
9212 (isunordered_test_data): Likewise.
9213 (isunordered_test): Likewise.
9214 (iszero_test_data): Likewise.
9215 (iszero_test): Likewise.
9216 (j0_test_data): Likewise.
9217 (j0_test): Likewise.
9218 (j1_test_data): Likewise.
9219 (j1_test): Likewise.
9220 (jn_test_data): Likewise.
9221 (jn_test): Likewise.
9222 (lgamma_test_data): Likewise.
9223 (lgamma_test): Likewise.
9224 (gamma_test): Likewise.
9225 (llogb_test_data): Likewise.
9226 (llogb_test): Likewise.
9227 (lrint_test_data): Likewise.
9228 (lrint_test): Likewise.
9229 (llrint_test_data): Likewise.
9230 (llrint_test): Likewise.
9231 (log_test_data): Likewise.
9232 (log_test): Likewise.
9233 (log10_test_data): Likewise.
9234 (log10_test): Likewise.
9235 (log1p_test_data): Likewise.
9236 (log1p_test): Likewise.
9237 (log2_test_data): Likewise.
9238 (log2_test): Likewise.
9239 (logb_test_data): Likewise.
9240 (logb_test): Likewise.
9241 (lround_test_data): Likewise.
9242 (lround_test): Likewise.
9243 (llround_test_data): Likewise.
9244 (llround_test): Likewise.
9245 (modf_test_data): Likewise.
9246 (modf_test): Likewise.
9247 (nearbyint_test_data): Likewise.
9248 (nearbyint_test): Likewise.
9249 (nextafter_test_data): Likewise.
9250 (nextafter_test): Likewise.
9251 (nextup_test_data): Likewise.
9252 (nextup_test): Likewise.
9253 (nextdown_test_data): Likewise.
9254 (nextdown_test): Likewise.
9255 (nexttoward_test_data): Likewise.
9256 (nexttoward_test): Likewise.
9257 (pow_test_data): Likewise.
9258 (pow_test): Likewise.
9259 (remainder_test_data): Likewise.
9260 (remainder_test): Likewise.
9261 (drem_test): Likewise.
9262 (remquo_test_data): Likewise.
9263 (remquo_test): Likewise.
9264 (rint_test_data): Likewise.
9265 (rint_test): Likewise.
9266 (round_test_data): Likewise.
9267 (round_test): Likewise.
9268 (roundeven_test_data): Likewise.
9269 (roundeven_test): Likewise.
9270 (scalb_test_data): Likewise.
9271 (scalb_test): Likewise.
9272 (scalbn_test_data): Likewise.
9273 (scalbn_test): Likewise.
9274 (ldexp_test): Likewise.
9275 (scalbln_test_data): Likewise.
9276 (scalbln_test): Likewise.
9277 (setpayload_test_data): Likewise.
9278 (setpayload_test): Likewise.
9279 (setpayloadsig_test_data): Likewise.
9280 (setpayloadsig_test): Likewise.
9281 (signbit_test_data): Likewise.
9282 (signbit_test): Likewise.
9283 (sin_test_data): Likewise.
9284 (sin_test): Likewise.
9285 (sincos_test_data): Likewise.
9286 (sincos_test): Likewise.
9287 (sinh_test_data): Likewise.
9288 (sinh_test): Likewise.
9289 (sqrt_test_data): Likewise.
9290 (sqrt_test): Likewise.
9291 (tan_test_data): Likewise.
9292 (tan_test): Likewise.
9293 (tanh_test_data): Likewise.
9294 (tanh_test): Likewise.
9295 (tgamma_test_data): Likewise.
9296 (tgamma_test): Likewise.
9297 (totalorder_test_data): Likewise.
9298 (totalorder_test): Likewise.
9299 (totalordermag_test_data): Likewise.
9300 (totalordermag_test): Likewise.
9301 (trunc_test_data): Likewise.
9302 (trunc_test): Likewise.
9303 (ufromfp_test_data): Likewise.
9304 (ufromfp_test): Likewise.
9305 (ufromfpx_test_data): Likewise.
9306 (ufromfpx_test): Likewise.
9307 (y0_test_data): Likewise.
9308 (y0_test): Likewise.
9309 (y1_test_data): Likewise.
9310 (y1_test): Likewise.
9311 (yn_test_data): Likewise.
9312 (yn_test): Likewise.
9313 (significand_test_data): Likewise.
9314 (significand_test): Likewise.
9315 * math/Makefile (auto-libm-test-out-files): Remove variable.
9316 (libm-test-funcs-noauto): New variable.
9317 (libm-test-funcs-all): Likewise.
9318 (libm-test-c-auto): Likewise.
9319 (libm-test-c-noauto): Likewise.
9320 (libm-tests-generated): Add $(libm-test-c-auto) and
9321 $(libm-test-c-noauto).
9322 (generated): Do not add auto-libm-test-out.
9323 (libm-test-c-auto-obj): New variable.
9324 (libm-test-c-noauto-obj): Likewise.
9325 ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
9326 ($(libm-test-c-noauto-obj)): New static pattern rule.
9327 ($(libm-test-c-auto-obj)): Likewise.
9328 (libm-test-incs): New variable.
9329 ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
9330 and pass it to gen-libm-have-vector-test.sh.
9331 * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
9332 be passed on command line.
9333 * math/libm-test-acos.inc: New file. Content from
9334 math/libm-test.inc.
9335 * math/libm-test-acosh.inc: Likewise.
9336 * math/libm-test-asin.inc: Likewise.
9337 * math/libm-test-asinh.inc: Likewise.
9338 * math/libm-test-atan.inc: Likewise.
9339 * math/libm-test-atan2.inc: Likewise.
9340 * math/libm-test-atanh.inc: Likewise.
9341 * math/libm-test-cabs.inc: Likewise.
9342 * math/libm-test-cacos.inc: Likewise.
9343 * math/libm-test-cacosh.inc: Likewise.
9344 * math/libm-test-canonicalize.inc: Likewise.
9345 * math/libm-test-carg.inc: Likewise.
9346 * math/libm-test-casin.inc: Likewise.
9347 * math/libm-test-casinh.inc: Likewise.
9348 * math/libm-test-catan.inc: Likewise.
9349 * math/libm-test-catanh.inc: Likewise.
9350 * math/libm-test-cbrt.inc: Likewise.
9351 * math/libm-test-ccos.inc: Likewise.
9352 * math/libm-test-ccosh.inc: Likewise.
9353 * math/libm-test-ceil.inc: Likewise.
9354 * math/libm-test-cexp.inc: Likewise.
9355 * math/libm-test-cimag.inc: Likewise.
9356 * math/libm-test-clog.inc: Likewise.
9357 * math/libm-test-clog10.inc: Likewise.
9358 * math/libm-test-conj.inc: Likewise.
9359 * math/libm-test-copysign.inc: Likewise.
9360 * math/libm-test-cos.inc: Likewise.
9361 * math/libm-test-cosh.inc: Likewise.
9362 * math/libm-test-cpow.inc: Likewise.
9363 * math/libm-test-cproj.inc: Likewise.
9364 * math/libm-test-creal.inc: Likewise.
9365 * math/libm-test-csin.inc: Likewise.
9366 * math/libm-test-csinh.inc: Likewise.
9367 * math/libm-test-csqrt.inc: Likewise.
9368 * math/libm-test-ctan.inc: Likewise.
9369 * math/libm-test-ctanh.inc: Likewise.
9370 * math/libm-test-erf.inc: Likewise.
9371 * math/libm-test-erfc.inc: Likewise.
9372 * math/libm-test-exp.inc: Likewise.
9373 * math/libm-test-exp10.inc: Likewise.
9374 * math/libm-test-exp2.inc: Likewise.
9375 * math/libm-test-expm1.inc: Likewise.
9376 * math/libm-test-fabs.inc: Likewise.
9377 * math/libm-test-fdim.inc: Likewise.
9378 * math/libm-test-floor.inc: Likewise.
9379 * math/libm-test-fma.inc: Likewise.
9380 * math/libm-test-fmax.inc: Likewise.
9381 * math/libm-test-fmaxmag.inc: Likewise.
9382 * math/libm-test-fmin.inc: Likewise.
9383 * math/libm-test-fminmag.inc: Likewise.
9384 * math/libm-test-fmod.inc: Likewise.
9385 * math/libm-test-fpclassify.inc: Likewise.
9386 * math/libm-test-frexp.inc: Likewise.
9387 * math/libm-test-fromfp.inc: Likewise.
9388 * math/libm-test-fromfpx.inc: Likewise.
9389 * math/libm-test-getpayload.inc: Likewise.
9390 * math/libm-test-hypot.inc: Likewise.
9391 * math/libm-test-ilogb.inc: Likewise.
9392 * math/libm-test-iscanonical.inc: Likewise.
9393 * math/libm-test-iseqsig.inc: Likewise.
9394 * math/libm-test-isfinite.inc: Likewise.
9395 * math/libm-test-isgreater.inc: Likewise.
9396 * math/libm-test-isgreaterequal.inc: Likewise.
9397 * math/libm-test-isinf.inc: Likewise.
9398 * math/libm-test-isless.inc: Likewise.
9399 * math/libm-test-islessequal.inc: Likewise.
9400 * math/libm-test-islessgreater.inc: Likewise.
9401 * math/libm-test-isnan.inc: Likewise.
9402 * math/libm-test-isnormal.inc: Likewise.
9403 * math/libm-test-issignaling.inc: Likewise.
9404 * math/libm-test-issubnormal.inc: Likewise.
9405 * math/libm-test-isunordered.inc: Likewise.
9406 * math/libm-test-iszero.inc: Likewise.
9407 * math/libm-test-j0.inc: Likewise.
9408 * math/libm-test-j1.inc: Likewise.
9409 * math/libm-test-jn.inc: Likewise.
9410 * math/libm-test-lgamma.inc: Likewise.
9411 * math/libm-test-llogb.inc: Likewise.
9412 * math/libm-test-llrint.inc: Likewise.
9413 * math/libm-test-llround.inc: Likewise.
9414 * math/libm-test-log.inc: Likewise.
9415 * math/libm-test-log10.inc: Likewise.
9416 * math/libm-test-log1p.inc: Likewise.
9417 * math/libm-test-log2.inc: Likewise.
9418 * math/libm-test-logb.inc: Likewise.
9419 * math/libm-test-lrint.inc: Likewise.
9420 * math/libm-test-lround.inc: Likewise.
9421 * math/libm-test-modf.inc: Likewise.
9422 * math/libm-test-nearbyint.inc: Likewise.
9423 * math/libm-test-nextafter.inc: Likewise.
9424 * math/libm-test-nextdown.inc: Likewise.
9425 * math/libm-test-nexttoward.inc: Likewise.
9426 * math/libm-test-nextup.inc: Likewise.
9427 * math/libm-test-pow.inc: Likewise.
9428 * math/libm-test-remainder.inc: Likewise.
9429 * math/libm-test-remquo.inc: Likewise.
9430 * math/libm-test-rint.inc: Likewise.
9431 * math/libm-test-round.inc: Likewise.
9432 * math/libm-test-roundeven.inc: Likewise.
9433 * math/libm-test-scalb.inc: Likewise.
9434 * math/libm-test-scalbln.inc: Likewise.
9435 * math/libm-test-scalbn.inc: Likewise.
9436 * math/libm-test-setpayload.inc: Likewise.
9437 * math/libm-test-setpayloadsig.inc: Likewise.
9438 * math/libm-test-signbit.inc: Likewise.
9439 * math/libm-test-significand.inc: Likewise.
9440 * math/libm-test-sin.inc: Likewise.
9441 * math/libm-test-sincos.inc: Likewise.
9442 * math/libm-test-sinh.inc: Likewise.
9443 * math/libm-test-sqrt.inc: Likewise.
9444 * math/libm-test-tan.inc: Likewise.
9445 * math/libm-test-tanh.inc: Likewise.
9446 * math/libm-test-tgamma.inc: Likewise.
9447 * math/libm-test-totalorder.inc: Likewise.
9448 * math/libm-test-totalordermag.inc: Likewise.
9449 * math/libm-test-trunc.inc: Likewise.
9450 * math/libm-test-ufromfp.inc: Likewise.
9451 * math/libm-test-ufromfpx.inc: Likewise.
9452 * math/libm-test-y0.inc: Likewise.
9453 * math/libm-test-y1.inc: Likewise.
9454 * math/libm-test-yn.inc: Likewise.
9455 * math/README.libm-test: Update.
9456
9457 * math/gen-auto-libm-tests.c: Update comment about use of program.
9458 (generate_output): Add argument FUNCTION.
9459 (main): Require extra argument. Pass function name to
9460 generate_output.
9461 * math/Makefile (generated): Add auto-libm-test-out.
9462 (libm-test-funcs-auto): New variable.
9463 (auto-libm-test-out-files): New variable.
9464 ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
9465 Concatenate those files to form $(objpfx)auto-libm-test-out and
9466 use it as input to gen-libm-test.pl.
9467 * math/README.libm-test: Update.
9468 * math/auto-libm-test-out: Remove.
9469 * math/auto-libm-test-out-acos: New generated file.
9470 * math/auto-libm-test-out-acosh: Likewise.
9471 * math/auto-libm-test-out-asin: Likewise.
9472 * math/auto-libm-test-out-asinh: Likewise.
9473 * math/auto-libm-test-out-atan: Likewise.
9474 * math/auto-libm-test-out-atan2: Likewise.
9475 * math/auto-libm-test-out-atanh: Likewise.
9476 * math/auto-libm-test-out-cabs: Likewise.
9477 * math/auto-libm-test-out-carg: Likewise.
9478 * math/auto-libm-test-out-cbrt: Likewise.
9479 * math/auto-libm-test-out-ccos: Likewise.
9480 * math/auto-libm-test-out-ccosh: Likewise.
9481 * math/auto-libm-test-out-cexp: Likewise.
9482 * math/auto-libm-test-out-clog: Likewise.
9483 * math/auto-libm-test-out-clog10: Likewise.
9484 * math/auto-libm-test-out-cos: Likewise.
9485 * math/auto-libm-test-out-cosh: Likewise.
9486 * math/auto-libm-test-out-cpow: Likewise.
9487 * math/auto-libm-test-out-csin: Likewise.
9488 * math/auto-libm-test-out-csinh: Likewise.
9489 * math/auto-libm-test-out-csqrt: Likewise.
9490 * math/auto-libm-test-out-ctan: Likewise.
9491 * math/auto-libm-test-out-ctanh: Likewise.
9492 * math/auto-libm-test-out-erf: Likewise.
9493 * math/auto-libm-test-out-erfc: Likewise.
9494 * math/auto-libm-test-out-exp: Likewise.
9495 * math/auto-libm-test-out-exp10: Likewise.
9496 * math/auto-libm-test-out-exp2: Likewise.
9497 * math/auto-libm-test-out-expm1: Likewise.
9498 * math/auto-libm-test-out-fma: Likewise.
9499 * math/auto-libm-test-out-hypot: Likewise.
9500 * math/auto-libm-test-out-j0: Likewise.
9501 * math/auto-libm-test-out-j1: Likewise.
9502 * math/auto-libm-test-out-jn: Likewise.
9503 * math/auto-libm-test-out-lgamma: Likewise.
9504 * math/auto-libm-test-out-log: Likewise.
9505 * math/auto-libm-test-out-log10: Likewise.
9506 * math/auto-libm-test-out-log1p: Likewise.
9507 * math/auto-libm-test-out-log2: Likewise.
9508 * math/auto-libm-test-out-pow: Likewise.
9509 * math/auto-libm-test-out-sin: Likewise.
9510 * math/auto-libm-test-out-sincos: Likewise.
9511 * math/auto-libm-test-out-sinh: Likewise.
9512 * math/auto-libm-test-out-sqrt: Likewise.
9513 * math/auto-libm-test-out-tan: Likewise.
9514 * math/auto-libm-test-out-tanh: Likewise.
9515 * math/auto-libm-test-out-tgamma: Likewise.
9516 * math/auto-libm-test-out-y0: Likewise.
9517 * math/auto-libm-test-out-y1: Likewise.
9518 * math/auto-libm-test-out-yn: Likewise.
9519
9520 * math/Makefile (generated): Do not include libm-test.stmp.
9521 ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
9522 on $(objpfx)libm-test.stmp.
9523 ($(objpfx)libm-test.stmp): Remove rule.
9524 ($(objpfx)libm-test-ulps.h): New rule.
9525 ($(objpfx)libm-test.c): Likewise.
9526 ($(objpfx)libm-have-vector-test.h): Likewise.
9527 ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
9528 individual generated files, not libm-test.stmp.
9529
9530 * math/gen-libm-test.pl ($output_dir): Remove variable.
9531 ($srcdir): Likewise.
9532 ($opt_a): New variable.
9533 ($opt_c): Likewise.
9534 ($opt_C): Likewise.
9535 ($opt_H): Likewise.
9536 (-n): Make option take argument and use it as NewUlps output.
9537 (-a): New option. Use its argument for auto-libm-test-out input.
9538 (-c): New option. Use its argument for libm-test.inc input.
9539 (-C): New option. Use its argument for libm-test.c output.
9540 (-H): New option. Use its argument for libm-test-ulps.h output.
9541 (top level): Only process inputs needed to generate outputs
9542 specified by command-line options. Only generate outputs
9543 specified by command-line options.
9544 * math/README.libm-test: Update example gen-libm-test.pl command.
9545 * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
9546 commands.
9547 (regen-ulps): Likewise.
9548
9549 2017-02-06 Wilco Dijkstra <wdijkstr@arm.com>
9550
9551 * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
9552 * include/string.h (index): Remove define.
9553 (rindex): Likewise.
9554 * misc/getttyent.c (__getttyent): Rename index to strchr.
9555 * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
9556 * sunrpc/rpc_main.c (mkfile_output): Likewise.
9557
9558 2017-02-06 Joseph Myers <joseph@codesourcery.com>
9559
9560 * math/libm-test-driver.c: New file. Based on math/libm-test.inc.
9561 * math/libm-test.inc: Move all contents, other than tests of
9562 individual functions, to libm-test-driver.c.
9563 [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
9564 [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
9565 [!FE_UPWARD] (FE_UPWARD): Likewise.
9566 [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
9567 (NO_EXCEPTION): Likewise.
9568 (INVALID_EXCEPTION): Likewise.
9569 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
9570 (OVERFLOW_EXCEPTION): Likewise.
9571 (UNDERFLOW_EXCEPTION): Likewise.
9572 (INEXACT_EXCEPTION): Likewise.
9573 (INVALID_EXCEPTION_OK): Likewise.
9574 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9575 (OVERFLOW_EXCEPTION_OK): Likewise.
9576 (UNDERFLOW_EXCEPTION_OK): Likewise.
9577 (NO_INEXACT_EXCEPTION): Likewise.
9578 (EXCEPTIONS_OK): Likewise.
9579 (IGNORE_ZERO_INF_SIGN): Likewise.
9580 (TEST_NAN_SIGN): Likewise.
9581 (TEST_NAN_PAYLOAD): Likewise.
9582 (NO_TEST_INLINE): Likewise.
9583 (XFAIL_TEST): Likewise.
9584 (ERRNO_UNCHANGED): Likewise.
9585 (ERRNO_EDOM): Likewise.
9586 (ERRNO_ERANGE): Likewise.
9587 (IGNORE_RESULT): Likewise.
9588 (NON_FINITE): Likewise.
9589 (TEST_SNAN): Likewise.
9590 (NO_TEST_MATHVEC): Likewise.
9591 (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
9592 (__CONCATX): Likewise.
9593 (TYPE_MIN): Likewise.
9594 (TYPE_TRUE_MIN): Likewise.
9595 (TYPE_MAX): Likewise.
9596 (MIN_EXP): Likewise.
9597 (MAX_EXP): Likewise.
9598 (MANT_DIG): Likewise.
9599 (FSTR_MAX): Likewise.
9600 (ULP_IDX): Likewise.
9601 (QTYPE_STR): Likewise.
9602 (TEST_COND_binary32): Likewise.
9603 (TEST_COND_binary64): Likewise.
9604 (TEST_COND_binary128): Likewise.
9605 (TEST_COND_ibm128): Likewise.
9606 (TEST_COND_intel96): Likewise.
9607 (TEST_COND_m68k96): Likewise.
9608 (TEST_COND_ibm128_libgcc): Likewise.
9609 (XFAIL_IBM128_LIBGCC): Likewise.
9610 (PAYLOAD_DIG): Likewise.
9611 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9612 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9613 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9614 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
9615 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9616 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
9617 (TEST_COND_long32): Likewise.
9618 (TEST_COND_long64): Likewise.
9619 (TEST_COND_before_rounding): Likewise.
9620 (TEST_COND_after_rounding): Likewise.
9621 (lit_pi_3_m_4_d): Likewise.
9622 (lit_pi_3_m_4_ln10_m_d): Likewise.
9623 (lit_pi_2_ln10_m_d): Likewise.
9624 (lit_pi_4_ln10_m_d): Likewise.
9625 (lit_pi_ln10_d): Likewise.
9626 (lit_pi_2_d): Likewise.
9627 (lit_pi_4_d): Likewise.
9628 (lit_pi): Likewise.
9629 (lit_e): Likewise.
9630 (ulps_file_name): Likewise.
9631 (ulps_file): Likewise.
9632 (output_ulps): Likewise.
9633 (output_dir): Likewise.
9634 (noErrors): Likewise.
9635 (noTests): Likewise.
9636 (noExcTests): Likewise.
9637 (noErrnoTests): Likewise.
9638 (verbose): Likewise.
9639 (output_max_error): Likewise.
9640 (output_points): Likewise.
9641 (ignore_max_ulp): Likewise.
9642 (plus_zero): Likewise.
9643 (minus_zero): Likewise.
9644 (plus_infty): Likewise.
9645 (minus_infty): Likewise.
9646 (qnan_value_pl): Likewise.
9647 (qnan_value): Likewise.
9648 (snan_value_pl): Likewise.
9649 (snan_value): Likewise.
9650 (max_value): Likewise.
9651 (min_value): Likewise.
9652 (min_subnorm_value): Likewise.
9653 (snan_value_ld): Likewise.
9654 (max_error): Likewise.
9655 (real_max_error): Likewise.
9656 (imag_max_error): Likewise.
9657 (prev_max_error): Likewise.
9658 (prev_real_max_error): Likewise.
9659 (prev_imag_max_error): Likewise.
9660 (max_valid_error): Likewise.
9661 (TYPE_DECIMAL_DIG): Likewise.
9662 (TYPE_HEX_DIG): Likewise.
9663 (fmt_ftostr): Likewise.
9664 (compare_ulp_data): Likewise.
9665 (find_ulps): Likewise.
9666 (init_max_error): Likewise.
9667 (set_max_error): Likewise.
9668 (print_float): Likewise.
9669 (print_screen): Likewise.
9670 (print_screen_max_error): Likewise.
9671 (update_stats): Likewise.
9672 (print_function_ulps): Likewise.
9673 (print_complex_function_ulps): Likewise.
9674 (fpstack_test): Likewise.
9675 (print_max_error): Likewise.
9676 (print_complex_max_error): Likewise.
9677 (test_single_exception): Likewise.
9678 (test_exceptions): Likewise.
9679 (test_single_errno): Likewise.
9680 (test_errno): Likewise.
9681 (ULPDIFF): Likewise.
9682 (ulp): Likewise.
9683 (check_float_internal): Likewise.
9684 (check_float): Likewise.
9685 (check_complex): Likewise.
9686 (check_int): Likewise.
9687 (check_long): Likewise.
9688 (check_bool): Likewise.
9689 (check_longlong): Likewise.
9690 (check_intmax_t): Likewise.
9691 (check_uintmax_t): Likewise.
9692 (enable_test): Likewise.
9693 (struct test_f_f_data): Likewise.
9694 (struct test_ff_f_data): Likewise.
9695 (struct test_fj_f_data): Likewise.
9696 (struct test_fi_f_data): Likewise.
9697 (struct test_fl_f_data): Likewise.
9698 (struct test_if_f_data): Likewise.
9699 (struct test_fff_f_data): Likewise.
9700 (struct test_fiu_M_data): Likewise.
9701 (struct test_fiu_U_data): Likewise.
9702 (struct test_c_f_data): Likewise.
9703 (struct test_f_f1_data): Likewise.
9704 (struct test_fF_f1_data): Likewise.
9705 (struct test_ffI_f1_data): Likewise.
9706 (struct test_c_c_data): Likewise.
9707 (struct test_cc_c_data): Likewise.
9708 (struct test_f_i_data): Likewise.
9709 (struct test_ff_i_data): Likewise.
9710 (struct test_f_l_data): Likewise.
9711 (struct test_f_L_data): Likewise.
9712 (struct test_fFF_11_data): Likewise.
9713 (struct test_Ff_b1_data): Likewise.
9714 (IF_ROUND_INIT_): Likewise.
9715 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9716 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9717 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9718 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9719 (ROUND_RESTORE_): Likewise.
9720 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9721 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9722 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9723 (ROUND_RESTORE_FE_UPWARD): Likewise.
9724 (RM_): Likewise.
9725 (RM_FE_DOWNWARD): Likewise.
9726 (RM_FE_TONEAREST): Likewise.
9727 (RM_FE_TOWARDZERO): Likewise.
9728 (RM_FE_UPWARD): Likewise.
9729 (COMMON_TEST_SETUP): Likewise.
9730 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9731 (COMMON_TEST_CLEANUP): Likewise.
9732 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9733 (RUN_TEST_f_f): Likewise.
9734 (RUN_TEST_LOOP_f_f): Likewise.
9735 (RUN_TEST_fp_f): Likewise.
9736 (RUN_TEST_LOOP_fp_f): Likewise.
9737 (RUN_TEST_2_f): Likewise.
9738 (RUN_TEST_LOOP_2_f): Likewise.
9739 (RUN_TEST_ff_f): Likewise.
9740 (RUN_TEST_LOOP_ff_f): Likewise.
9741 (RUN_TEST_LOOP_fj_f): Likewise.
9742 (RUN_TEST_fi_f): Likewise.
9743 (RUN_TEST_LOOP_fi_f): Likewise.
9744 (RUN_TEST_fl_f): Likewise.
9745 (RUN_TEST_LOOP_fl_f): Likewise.
9746 (RUN_TEST_if_f): Likewise.
9747 (RUN_TEST_LOOP_if_f): Likewise.
9748 (RUN_TEST_fff_f): Likewise.
9749 (RUN_TEST_LOOP_fff_f): Likewise.
9750 (RUN_TEST_fiu_M): Likewise.
9751 (RUN_TEST_LOOP_fiu_M): Likewise.
9752 (RUN_TEST_fiu_U): Likewise.
9753 (RUN_TEST_LOOP_fiu_U): Likewise.
9754 (RUN_TEST_c_f): Likewise.
9755 (RUN_TEST_LOOP_c_f): Likewise.
9756 (RUN_TEST_f_f1): Likewise.
9757 (RUN_TEST_LOOP_f_f1): Likewise.
9758 (RUN_TEST_fF_f1): Likewise.
9759 (RUN_TEST_LOOP_fF_f1): Likewise.
9760 (RUN_TEST_fI_f1): Likewise.
9761 (RUN_TEST_LOOP_fI_f1): Likewise.
9762 (RUN_TEST_ffI_f1_mod8): Likewise.
9763 (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
9764 (RUN_TEST_Ff_b1): Likewise.
9765 (RUN_TEST_LOOP_Ff_b1): Likewise.
9766 (RUN_TEST_Ffp_b1): Likewise.
9767 (RUN_TEST_LOOP_Ffp_b1): Likewise.
9768 (RUN_TEST_c_c): Likewise.
9769 (RUN_TEST_LOOP_c_c): Likewise.
9770 (RUN_TEST_cc_c): Likewise.
9771 (RUN_TEST_LOOP_cc_c): Likewise.
9772 (RUN_TEST_f_i): Likewise.
9773 (RUN_TEST_LOOP_f_i): Likewise.
9774 (RUN_TEST_f_i_tg): Likewise.
9775 (RUN_TEST_LOOP_f_i_tg): Likewise.
9776 (RUN_TEST_ff_b): Likewise.
9777 (RUN_TEST_LOOP_ff_b): Likewise.
9778 (RUN_TEST_ff_i_tg): Likewise.
9779 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9780 (RUN_TEST_f_b): Likewise.
9781 (RUN_TEST_LOOP_f_b): Likewise.
9782 (RUN_TEST_f_b_tg): Likewise.
9783 (RUN_TEST_LOOP_f_b_tg): Likewise.
9784 (RUN_TEST_f_l): Likewise.
9785 (RUN_TEST_LOOP_f_l): Likewise.
9786 (RUN_TEST_f_L): Likewise.
9787 (RUN_TEST_LOOP_f_L): Likewise.
9788 (RUN_TEST_fFF_11): Likewise.
9789 (RUN_TEST_LOOP_fFF_11): Likewise.
9790 (VEC_SUFF): Likewise.
9791 (STR_CONCAT): Likewise.
9792 (STR_CON3): Likewise.
9793 (HAVE_VECTOR): Likewise.
9794 (START): Likewise.
9795 (END): Likewise.
9796 (END_COMPLEX): Likewise.
9797 (ALL_RM_TEST): Likewise.
9798 (matherr): Likewise.
9799 (initialize): Likewise.
9800 (options): Likewise.
9801 (doc): Likewise.
9802 (parse_opt): Likewise.
9803 (argp): Likewise.
9804 (check_ulp): Likewise.
9805 (main): Likewise.
9806 (do_test): New function. Call tests of individual functions
9807 previously called from main.
9808
9809 * math/libm-test.inc: Remove comment listing functions tested and
9810 not tested.
9811
9812 2016-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9813
9814 * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
9815 (allocate_stack): Remove COLORING_INCREMENT usage.
9816 * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
9817 * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
9818
9819 2017-02-06 Joseph Myers <joseph@codesourcery.com>
9820
9821 * manual/libm-err-tab.pl (@all_functions): Change to
9822 %all_functions. Initialize as empty.
9823 (parse_ulps): Add to %all_functions based on functions found in
9824 ulps files. Ignore results for non-default rounding modes and
9825 vector functions.
9826 (print_platforms): Use %all_platforms.
9827 * manual/math.texi (Errors in Math Functions): Document omissions
9828 from the table.
9829
9830 * math/Makefile (before-compile): Remove.
9831
9832 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
9833
9834 [BZ #21075]
9835 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
9836 unused assignment.
9837 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
9838
9839 2017-02-06 Stefan Liebler <stli@linux.vnet.ibm.com>
9840
9841 * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
9842 Add __glibc_unlikely hint.
9843
9844 2017-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9845
9846 [BZ #16640]
9847 * sysdeps/i386/i686/strtok.S: Remove file.
9848 * sysdeps/i386/i686/strtok_r.S: Likewise.
9849 * sysdeps/i386/strtok.S: Likewise.
9850 * sysdeps/i386/strtok_r.S: Likewise.
9851 * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
9852 * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
9853 * sysdeps/x86_64/strtok.S: Likewise.
9854 * sysdeps/x86_64/strtok_r.S: Likewise.
9855
9856 * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
9857 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
9858 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9859 (__ASSUME_FADVISE64_AS_64_64): Define.
9860 * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
9861 !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
9862 [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
9863 __ALIGNMENT_ARG usage.
9864 [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
9865 __NR_fadvise64_64 if it is not defined.
9866
9867 2017-02-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
9868
9869 * version.h (RELEASE): Set to "development"
9870 (VERSION): Set to 2.25.90.
9871 * NEWS: Add 2.26 section.
9872
9873 * version.h (RELEASE): Set to "stable"
9874 (VERSION): Set to 2.25.
9875 * include/features.h (__GLIBC_MINOR__): Set to 25.
9876
9877 * manual/contrib.texi: Add more contributors from this release
9878 and past releases.
9879
9880 * NEWS (2.25): Add list of bugs fixed.
9881
9882 * NEWS: Add missing news items.
9883
9884 2017-02-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
9885
9886 * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
9887 parent if child exited in that manner. Print WEXITSTATUS
9888 instead of the raw status.
9889 (do_test_prep): Rename to do_test.
9890 (do_test): Return the result of run_executable_sgid.
9891 (TEST_FUNCTION_ARGV): Adjust.
9892
9893 2017-02-03 Alexandre Oliva <aoliva@redhat.com>
9894 Florian Weimer <fweimer@redhat.com>
9895 Carlos O'Donell <carlos@redhat.com>
9896
9897 [BZ #20915]
9898 * elf/dl-reloc.c (_dl_nothread_init_static_tls):
9899 Do not initialize DTV.
9900 * nptl/allocatestack.c (init_one_static_tls): Likewise.
9901
9902 2017-02-03 David S. Miller <davem@davemloft.net>
9903
9904 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
9905 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9906 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
9907 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9908 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
9909 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9910 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
9911 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9912 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
9913 (libm-sysdep_routines): Update.
9914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
9915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
9916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
9917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
9918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
9919 * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
9920 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
9921 * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
9922 * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
9923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
9924 Likewise.
9925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
9927 Likewise.
9928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
9930 Likewise.
9931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
9933 Likewise.
9934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9936 (libm-sysdep_routines): Update.
9937
9938 2017-02-02 H.J. Lu <hongjiu.lu@intel.com>
9939
9940 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
9941 _dl_fatal_printf with _dl_error_printf for IFUNC relocation
9942 against unrelocated shared library.
9943 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9944
9945 2017-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
9946
9947 * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
9948 * elf/tst-env-setuid-tunables.c
9949 (test_child_tunables)[!HAVE_TUNABLES]: Verify that
9950 GLIBC_TUNABLES is removed in a setgid process.
9951
9952 [BZ #21073]
9953 * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
9954 * elf/dl-tunables.c (tunables_strdup): Remove.
9955 (get_next_env): Also return the previous envp.
9956 (parse_tunables): Erase tunables of category
9957 TUNABLES_SECLEVEL_SXID_ERASE.
9958 (maybe_enable_malloc_check): Make MALLOC_CHECK_
9959 TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
9960 (__tunables_init)[TUNABLES_FRONTEND ==
9961 TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
9962 after parsing.
9963 [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
9964 tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
9965 * elf/dl-tunables.h (struct _tunable): Change member is_secure
9966 to security_level.
9967 * elf/dl-tunables.list: Add security_level annotations for all
9968 tunables.
9969 * scripts/gen-tunables.awk: Recognize and generate enum values
9970 for security_level.
9971 * elf/tst-env-setuid.c: New test case.
9972 * elf/tst-env-setuid-tunables: new test case.
9973 * elf/Makefile (tests-static): Add them.
9974
9975 2017-02-01 Richard Henderson <rth@twiddle.net>
9976
9977 * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
9978 adjusting the byte count.
9979
9980 2017-02-01 Andreas Schwab <schwab@linux-m68k.org>
9981
9982 * conform/Makefile (linknamespace-libs): Define.
9983
9984 * sysdeps/m68k/m680x0/m68020/atomic-machine.h
9985 (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
9986 (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
9987 operands.
9988
9989 2017-01-31 Chung-Lin Tang <cltang@codesourcery.com>
9990
9991 * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
9992
9993 2017-01-30 H.J. Lu <hongjiu.lu@intel.com>
9994
9995 [BZ #21081]
9996 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9997 (L(stosb)): Add VZEROUPPER before ret.
9998
9999 2016-01-28 Carlos O'Donell <carlos@redhat.com>
10000 Alexey Makhalov <amakhalov@vmware.com>
10001 Florian Weimer <fweimer@redhat.com>
10002
10003 [BZ #20116]
10004 * nptl/pthread_create.c: Document concurrency notes.
10005 Enhance thread creation notes.
10006 (create_thread): Use bool *stopped_start.
10007 (START_THREAD_DEFN): Comment ownership of PD.
10008 (__pthread_create_2_1): Add local bool stopped_start and use
10009 that instead of pd->stopped_start where appropriate.
10010 * nptl/createthread.c (create_thread): Use bool *stopped_start.
10011 * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
10012 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
10013 * nptl/tst-create-detached.c: New file.
10014 * nptl/Makefile (tests): Add tst-create-detached.
10015 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10016 Reference the enhanced thread creation notes.
10017 * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
10018 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10019 * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
10020 (__pthread_current_priority): Likewise.
10021 * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
10022 xpthread_attr_init, xpthread_attr_setdetachstate, and
10023 xpthread_attr_setstacksize.
10024 * support/xpthread_attr_destroy.c: New file.
10025 * support/xpthread_attr_init.c: New file.
10026 * support/xpthread_attr_setdetachstate.c: New file.
10027 * support/xpthread_attr_setstacksize.c: New file.
10028 * support/xthread.h: Define prototypes for xpthread_attr_destroy
10029 xpthread_attr_init, xpthread_attr_setdetachstate, and
10030 xpthread_attr_setstacksize.
10031
10032 2017-01-27 Florian Weimer <fweimer@redhat.com>
10033
10034 * nptl/Makefile (tests): Add tst-robust-fork.
10035 * nptl/tst-robust-fork.c: New file.
10036 * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
10037 xpthread_mutex_consistent, xpthread_mutex_destroy,
10038 xpthread_mutex_init, xpthread_mutexattr_destroy,
10039 xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
10040 xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
10041 xpthread_mutexattr_settype.
10042 * support/xmmap.c: New file.
10043 * support/xmunmap.c: Likewise.
10044 * support/xpthread_mutex_consistent.c: Likewise.
10045 * support/xpthread_mutex_destroy.c: Likewise.
10046 * support/xpthread_mutex_init.c: Likewise.
10047 * support/xpthread_mutexattr_destroy.c: Likewise.
10048 * support/xpthread_mutexattr_init.c: Likewise.
10049 * support/xpthread_mutexattr_setprotocol.c: Likewise.
10050 * support/xpthread_mutexattr_setpshared.c: Likewise.
10051 * support/xpthread_mutexattr_setrobust.c: Likewise.
10052 * support/xpthread_mutexattr_settype.c: Likewise.
10053 * support/xthread.h (xpthread_mutexattr_destroy)
10054 (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
10055 (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
10056 (xpthread_mutexattr_settype, xpthread_mutex_init)
10057 (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
10058 * support/xunistd.h (xmmap, xmunmap): Likewise.
10059
10060 2017-01-25 Florian Weimer <fweimer@redhat.com>
10061
10062 * string/Makefile (xtests): Add comment.
10063 (LOCALES): Add en_GB.UTF-8.
10064 (tst-strcoll-overflow.out): Depend on generated locales.
10065 * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
10066 (SIZE, TIMEOUT): Update comments.
10067 (do_test): Define as static. Fail test if setlocale fails.
10068 Return EXIT_UNSUPPORTED if insufficient memory. Enhance output
10069 messages.
10070 (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
10071 TIMEOUT at 300 seconds should be enough to run this test
10072 successfully.
10073
10074 2017-01-24 Jakub Jelinek <jakub@redhat.com>
10075
10076 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
10077 /* FALLTHRU */ comments.
10078
10079 2017-01-24 James Clarke <jrtc27@jrtc27.com>
10080
10081 [BZ #21053]
10082 * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
10083 constants instead of the old R* ones.
10084 * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
10085 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
10086 (NGREG): ... to this, to fit in with other architectures.
10087 (gpregset_t): Use new NGREG macro.
10088 [__USE_GNU]: Remove condition; all architectures other than tile
10089 are unconditional.
10090 (R*): Rename to REG_R*.
10091
10092 2017-01-20 DJ Delorie <dj@redhat.com>
10093
10094 * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
10095 (tunable_set_val_if_valid_range_signed) ... this, and ...
10096 (tunable_set_val_if_valid_range_unsigned) ... this.
10097 (tunable_initialize): Call the correct one of the above based on type.
10098
10099 2017-01-20 Joseph Myers <joseph@codesourcery.com>
10100
10101 * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
10102 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10103 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10104 * sysdeps/microblaze/libm-test-ulps: Likewise.
10105 * sysdeps/sh/libm-test-ulps: Likewise.
10106
10107 * math/README.libm-test: Update list of characters for input and
10108 output types.
10109
10110 2017-01-20 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10111
10112 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10113 (__lll_unlock_elision): Fix adapt_count decrement.
10114
10115 2017-01-14 Martin Galvan <martingalvan@sourceware.org>
10116
10117 * README.pretty-printers (Known issues): Warn about printers not
10118 always covering everything.
10119 * nptl/nptl-printers.py (MutexPrinter): Change output.
10120 * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
10121
10122 2017-01-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10123
10124 * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
10125 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10126 * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
10127 (__lll_lock_elision): Do not test futex before starting a
10128 transaction. Use __glibc_likely instead of __builtin_expect.
10129 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
10130 (__lll_trylock_elision): Do not test futex before starting a
10131 transaction. Use __glibc_likely instead of __builtin_expect.
10132
10133 2017-01-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
10134
10135 * po/Makefile (update-translations): New target.
10136
10137 2017-01-19 Joseph Myers <joseph@codesourcery.com>
10138
10139 [BZ #21061]
10140 * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
10141
10142 2017-01-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
10143
10144 * elf/dl-tunables (get_next_env): Always advance envp.
10145 * stdlib/tst-empty-env.c: New test case.
10146 * stdlib/Makefile (tests): Use it.
10147
10148 2017-01-19 Joseph Myers <joseph@codesourcery.com>
10149
10150 [BZ #21047]
10151 * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
10152 name for instruction.
10153 [!__SOFTFP__] (_FPU_SETCW): Likewise.
10154
10155 2017-01-18 Joseph Myers <joseph@codesourcery.com>
10156
10157 * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
10158 for make install.
10159
10160 2017-01-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
10161
10162 * po/bg.po: Merge from Translation Project.
10163 * po/fr.po: Likewise.
10164 * po/ko.po: Likewise.
10165 * po/nl.po: Likewise.
10166 * po/sv.po: Likewise.
10167
10168 2017-01-18 Joseph Myers <joseph@codesourcery.com>
10169
10170 * manual/install.texi (Tools for Compilation): Update GCC version
10171 known to work to build glibc.
10172 * INSTALL: Regenerated.
10173
10174 2017-01-17 Stefan Liebler <stli@linux.vnet.ibm.com>
10175
10176 [BZ #21006]
10177 * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
10178
10179 2017-01-16 Joseph Myers <joseph@codesourcery.com>
10180
10181 [BZ #21045]
10182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10183 (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
10184 to __sigprocmask.
10185
10186 2017-01-16 Chris Metcalf <cmetcalf@mellanox.com>
10187
10188 * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
10189 wrap-around.
10190 * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
10191
10192 * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
10193
10194 2016-01-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
10195
10196 * NEWS: Fix typo.
10197
10198 2016-01-13 Torvald Riegel <triegel@redhat.com>
10199
10200 * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
10201 barriers and comments.
10202 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
10203 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10204 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10205
10206 2016-01-13 Torvald Riegel <triegel@redhat.com>
10207
10208 [BZ #19402]
10209 * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
10210 mutexes.
10211
10212 2016-01-13 Torvald Riegel <triegel@redhat.com>
10213
10214 [BZ #20985]
10215 * nptl/Makefile: Adapt.
10216 * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10217 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10218 * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10219 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10220 (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
10221 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
10222 lll_robust* functions and adapt.
10223 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10224 * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
10225 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10226 __lll_robust_timedlock, __lll_robust_unlock): Remove.
10227 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
10228 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10229 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
10230 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10231 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
10232 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10233 __lll_robust_timedlock, __lll_robust_unlock): Remove.
10234 * nptl/lowlevelrobustlock.c: Remove file.
10235 * nptl/lowlevelrobustlock.sym: Likewise.
10236 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
10237 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
10238
10239 2017-01-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10240
10241 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10242
10243 2017-01-12 Siddhesh Poyarekar <siddhesh@sourceware.org>
10244
10245 * po/cs.po: Merge translations from the Translation Project.
10246 * po/de.po: Likewise.
10247 * po/pl.po: Likewise.
10248 * po/ru.po: Likewise.
10249 * po/tr.po: Likewise.
10250 * po/uk.po: Likewise.
10251 * po/vi.po: Likewise.
10252 * po/zh_CN.po: Likewise.
10253
10254 2017-01-12 Joseph Myers <joseph@codesourcery.com>
10255
10256 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
10257
10258 * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
10259 object.
10260
10261 2017-01-11 Joseph Myers <joseph@codesourcery.com>
10262
10263 [BZ #16458]
10264 * bits/uintn-identity.h: New file.
10265 * inet/netinet/in.h: Include <bits/uintn-identity.h>.
10266 [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
10267 [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
10268 [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
10269 [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
10270 * string/endian.h: Include <bits/uintn-identity.h>.
10271 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
10272 __uint16_identity.
10273 [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
10274 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
10275 __uint32_identity.
10276 [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
10277 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
10278 __uint64_identity.
10279 [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
10280 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
10281 __uint16_identity.
10282 [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
10283 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
10284 __uint32_identity.
10285 [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
10286 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
10287 __uint64_identity.
10288 [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
10289 * string/Makefile (headers): Add bits/uintn-identity.h.
10290 (tests): Add test-endian-types.
10291 * string/test-endian-types.c: New file.
10292 * inet/Makefile (tests): Add test-hnto-types.
10293 * inet/test-hnto-types.c: New file.
10294
10295 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10296
10297 * po/be.po: Update from Translation Project.
10298 * po/bg.po: Likewise.
10299 * po/ca.po: Likewise.
10300 * po/cs.po: Likewise.
10301 * po/da.po: Likewise.
10302 * po/de.po: Likewise.
10303 * po/el.po: Likewise.
10304 * po/eo.po: Likewise.
10305 * po/es.po: Likewise.
10306 * po/fi.po: Likewise.
10307 * po/fr.po: Likewise.
10308 * po/gl.po: Likewise.
10309 * po/hr.po: Likewise.
10310 * po/hu.po: Likewise.
10311 * po/ia.po: Likewise.
10312 * po/id.po: Likewise.
10313 * po/it.po: Likewise.
10314 * po/ja.po: Likewise.
10315 * po/ko.po: Likewise.
10316 * po/lt.po: Likewise.
10317 * po/nb.po: Likewise.
10318 * po/nl.po: Likewise.
10319 * po/pl.po: Likewise.
10320 * po/pt_BR.po: Likewise.
10321 * po/ru.po: Likewise.
10322 * po/rw.po: Likewise.
10323 * po/sk.po: Likewise.
10324 * po/sl.po: Likewise.
10325 * po/sv.po: Likewise.
10326 * po/tr.po: Likewise.
10327 * po/uk.po: Likewise.
10328 * po/vi.po: Likewise.
10329 * po/zh_CN.po: Likewise.
10330 * po/zh_TW.po: Likewise.
10331
10332 2017-01-11 Joseph Myers <joseph@codesourcery.com>
10333
10334 * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
10335 -Wformat-truncation instead of -Wformat-length.
10336 * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
10337 * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
10338 GCC 7.
10339 * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
10340 (do_test): Ignore -Wformat-truncation for GCC 7.
10341
10342 * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
10343 buffer used to print long int value.
10344
10345 * elf/sotruss-lib.c (init): Increase space allocated for pid by
10346 one byte. Print it with %ld, cast to long int.
10347
10348 2017-01-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
10349
10350 * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
10351 (re.fullmatch, subprocess.run): Likewise.
10352
10353 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10354
10355 * po/libc.pot: Regenerate.
10356
10357 2016-01-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
10358
10359 * elf/dl-tunables.c (tunables_unsetenv): Remove function.
10360 (min_strlen): Likewise.
10361 (disable_tunable): Likewise.
10362 (maybe_disable_malloc_check): Rename to
10363 maybe_enable_malloc_check.
10364 (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
10365 if /etc/suid-debug file exists.
10366 (__tunables_init): Update caller.
10367 * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
10368 secure.
10369
10370 2016-01-10 Torvald Riegel <triegel@redhat.com>
10371
10372 * nptl/DESIGN-rwlock.txt: Remove.
10373 * nptl/lowlevelrwlock.sym: Remove.
10374 * nptl/Makefile: Add new tests.
10375 * nptl/pthread_rwlock_common.c: New file. Contains the new rwlock.
10376 * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
10377 (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
10378 PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
10379 PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
10380 PTHREAD_RWLOCK_FUTEX_USED): New.
10381 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
10382 implementation.
10383 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
10384 (__pthread_rwlock_rdlock): Adapt.
10385 * nptl/pthread_rwlock_timedrdlock.c
10386 (pthread_rwlock_timedrdlock): Adapt.
10387 * nptl/pthread_rwlock_timedwrlock.c
10388 (pthread_rwlock_timedwrlock): Adapt.
10389 * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
10390 * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
10391 * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
10392 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
10393 (__pthread_rwlock_wrlock): Adapt.
10394 * nptl/tst-rwlock10.c: Adapt.
10395 * nptl/tst-rwlock11.c: Adapt.
10396 * nptl/tst-rwlock17.c: New file.
10397 * nptl/tst-rwlock18.c: New file.
10398 * nptl/tst-rwlock19.c: New file.
10399 * nptl/tst-rwlock2b.c: New file.
10400 * nptl/tst-rwlock8.c: Adapt.
10401 * nptl/tst-rwlock9.c: Adapt.
10402 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10403 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10404 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10405 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10406 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10407 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10408 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10409 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10410 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10411 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10412 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10413 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10414 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
10415 (pthread_rwlock_t): Adapt.
10416 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10417 (pthread_rwlock_t): Adapt.
10418 * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10419 * nptl/nptl-printers.py (): Adapt.
10420 * nptl/nptl_lock_constants.pysym: Adapt.
10421 * nptl/test-rwlock-printers.py: Adapt.
10422 * nptl/test-rwlockattr-printers.c: Adapt.
10423 * nptl/test-rwlockattr-printers.py: Adapt.
10424
10425 2017-01-10 Joseph Myers <joseph@codesourcery.com>
10426
10427 * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
10428 (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
10429 (fma_test_data): Likewise.
10430 (hypot_test_data): Likewise.
10431 (log1p_test_data): Likewise.
10432 (modf_test_data): Likewise.
10433 (pow_test_data): Likewise.
10434 (remainder_test_data): Likewise.
10435 (remquo_test_data): Likewise.
10436 (scalb_test_data): Likewise.
10437 (scalbn_test_data): Likewise.
10438 (scalbln_test_data): Likewise.
10439 * math/gen-libm-test.pl (parse_args): Transform
10440 XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
10441 on the rounding mode.
10442
10443 2017-01-09 Joseph Myers <joseph@codesourcery.com>
10444
10445 * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
10446 xfail-rounding:ibm128-libgcc automatically to tests overflowing
10447 and those that can underflow to zero.
10448 * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
10449 add others.
10450 * math/auto-libm-test-out: Regenerated.
10451
10452 * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
10453 supported.
10454 (feholdexcept_tests): Skip tests requiring exceptions or rounding
10455 modes support if not supported.
10456
10457 * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
10458 Add libc.so PLT entry.
10459 (__tls_get_addr): Make ld.so PLT entry optional.
10460
10461 2017-01-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10462
10463 * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
10464 * string/bits/string3.h: ... here.
10465
10466 2017-01-05 Joseph Myers <joseph@codesourcery.com>
10467
10468 [BZ #21028]
10469 * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
10470 * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
10471 if EXCEPTION_TESTS returns false.
10472
10473 2017-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10474
10475 [BZ #20558]
10476 * string/bits/string3.h [__USE_MISC] (bcopy): Move to
10477 strings_fortified.h.
10478 [__USE_MISC] (bzero): Likewise.
10479 [__USE_MISC] (explicit_bzero): Likewise.
10480 * string/strings.h: Include strings_fortified.h.
10481 * string/Makefile (headers): Add strings_fortified.h.
10482 * string/bits/strings_fortified.h: New file.
10483 * include/bits/strings_fortified.h: Likewise.
10484
10485 2017-01-05 Joseph Myers <joseph@codesourcery.com>
10486
10487 * elf/tst-tls13.c (TIMEOUT): Remove.
10488 * iconvdata/tst-loading.c (TIMEOUT): Likewise.
10489 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
10490 * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
10491 * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
10492 * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
10493
10494 [BZ #21026]
10495 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
10496 (readahead): New syscall entry.
10497
10498 2017-01-04 Joseph Myers <joseph@codesourcery.com>
10499
10500 * string/tester.c (test_strncat): Disable -Wstringop-overflow=
10501 around tests of strncat with large sizes.
10502
10503 * malloc/tst-malloc.c: Include <libc-internal.h>.
10504 (do_test): Disable -Walloc-size-larger-than= around tests of
10505 malloc with negative sizes.
10506 * malloc/tst-mcheck.c: Include <libc-internal.h>.
10507 (do_test): Disable -Walloc-size-larger-than= around tests of
10508 malloc and realloc with negative sizes.
10509 * malloc/tst-realloc.c: Include <libc-internal.h>.
10510 (do_test): Disable -Walloc-size-larger-than= around tests of
10511 realloc with negative sizes.
10512
10513 * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
10514 (init_max_error) [TEST_COND_ibm128]: Increase maximum error
10515 allowed to 16 ulps.
10516 * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
10517 ibm128-libgcc. XFAIL more tests for ibm128-libgcc.
10518 * math/auto-libm-test-out: Regenerated.
10519
10520 2017-01-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10521
10522 * math/Makefile (libm-calls): Move wrappers...
10523 (libm-compat-call-auto): Here.
10524 (libm-routines): Add items in libm-compat-calls-auto.
10525 * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
10526 the filenames of the wrappers that have been renamed.
10527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
10528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10529
10530 * math/w_acos.c: Add _compat suffix to filename.
10531 * math/w_acosf.c: Likewise.
10532 * math/w_acosh.c: Likewise.
10533 * math/w_acoshf.c: Likewise.
10534 * math/w_acoshl.c: Likewise.
10535 * math/w_acosl.c: Likewise.
10536 * math/w_asin.c: Likewise.
10537 * math/w_asinf.c: Likewise.
10538 * math/w_asinl.c: Likewise.
10539 * math/w_atan2.c: Likewise.
10540 * math/w_atan2f.c: Likewise.
10541 * math/w_atan2l.c: Likewise.
10542 * math/w_atanh.c: Likewise.
10543 * math/w_atanhf.c: Likewise.
10544 * math/w_atanhl.c: Likewise.
10545 * math/w_cosh.c: Likewise.
10546 * math/w_coshf.c: Likewise.
10547 * math/w_coshl.c: Likewise.
10548 * math/w_exp10.c: Likewise.
10549 * math/w_exp10f.c: Likewise.
10550 * math/w_exp10l.c: Likewise.
10551 * math/w_exp2.c: Likewise.
10552 * math/w_exp2f.c: Likewise.
10553 * math/w_exp2l.c: Likewise.
10554 * math/w_fmod.c: Likewise.
10555 * math/w_fmodf.c: Likewise.
10556 * math/w_fmodl.c: Likewise.
10557 * math/w_hypot.c: Likewise.
10558 * math/w_hypotf.c: Likewise.
10559 * math/w_hypotl.c: Likewise.
10560 * math/w_j0.c: Likewise.
10561 * math/w_j0f.c: Likewise.
10562 * math/w_j0l.c: Likewise.
10563 * math/w_j1.c: Likewise.
10564 * math/w_j1f.c: Likewise.
10565 * math/w_j1l.c: Likewise.
10566 * math/w_jn.c: Likewise.
10567 * math/w_jnf.c: Likewise.
10568 * math/w_jnl.c: Likewise.
10569 * math/w_log10.c: Likewise.
10570 * math/w_log10f.c: Likewise.
10571 * math/w_log10l.c: Likewise.
10572 * math/w_log2.c: Likewise.
10573 * math/w_log2f.c: Likewise.
10574 * math/w_log2l.c: Likewise.
10575 * math/w_log.c: Likewise.
10576 * math/w_logf.c: Likewise.
10577 * math/w_logl.c: Likewise.
10578 * math/w_pow.c: Likewise.
10579 * math/w_powf.c: Likewise.
10580 * math/w_powl.c: Likewise.
10581 * math/w_remainder.c: Likewise.
10582 * math/w_remainderf.c: Likewise.
10583 * math/w_remainderl.c: Likewise.
10584 * math/w_scalb.c: Likewise.
10585 * math/w_scalbf.c: Likewise.
10586 * math/w_scalbl.c: Likewise.
10587 * math/w_sinh.c: Likewise.
10588 * math/w_sinhf.c: Likewise.
10589 * math/w_sinhl.c: Likewise.
10590 * math/w_sqrt.c: Likewise.
10591 * math/w_sqrtf.c: Likewise.
10592 * math/w_sqrtl.c: Likewise.
10593 * math/w_tgamma.c: Likewise.
10594 * math/w_tgammaf.c: Likewise.
10595 * math/w_tgammal.c: Likewise.
10596
10597 * math/w_acos_compat.c: New file copied from above and
10598 adjusted for new #includes path
10599 * math/w_acosf_compat.c: Likewise.
10600 * math/w_acosh_compat.c: Likewise.
10601 * math/w_acoshf_compat.c: Likewise.
10602 * math/w_acoshl_compat.c: Likewise.
10603 * math/w_acosl_compat.c: Likewise.
10604 * math/w_asin_compat.c: Likewise.
10605 * math/w_asinf_compat.c: Likewise.
10606 * math/w_asinl_compat.c: Likewise.
10607 * math/w_atan2_compat.c: Likewise.
10608 * math/w_atan2f_compat.c: Likewise.
10609 * math/w_atan2l_compat.c: Likewise.
10610 * math/w_atanh_compat.c: Likewise.
10611 * math/w_atanhf_compat.c: Likewise.
10612 * math/w_atanhl_compat.c: Likewise.
10613 * math/w_cosh_compat.c: Likewise.
10614 * math/w_coshf_compat.c: Likewise.
10615 * math/w_coshl_compat.c: Likewise.
10616 * math/w_exp10_compat.c: Likewise.
10617 * math/w_exp10f_compat.c: Likewise.
10618 * math/w_exp10l_compat.c: Likewise.
10619 * math/w_exp2_compat.c: Likewise.
10620 * math/w_exp2f_compat.c: Likewise.
10621 * math/w_exp2l_compat.c: Likewise.
10622 * math/w_fmod_compat.c: Likewise.
10623 * math/w_fmodf_compat.c: Likewise.
10624 * math/w_fmodl_compat.c: Likewise.
10625 * math/w_hypot_compat.c: Likewise.
10626 * math/w_hypotf_compat.c: Likewise.
10627 * math/w_hypotl_compat.c: Likewise.
10628 * math/w_j0_compat.c: Likewise.
10629 * math/w_j0f_compat.c: Likewise.
10630 * math/w_j0l_compat.c: Likewise.
10631 * math/w_j1_compat.c: Likewise.
10632 * math/w_j1f_compat.c: Likewise.
10633 * math/w_j1l_compat.c: Likewise.
10634 * math/w_jn_compat.c: Likewise.
10635 * math/w_jnf_compat.c: Likewise.
10636 * math/w_jnl_compat.c: Likewise.
10637 * math/w_log10_compat.c: Likewise.
10638 * math/w_log10f_compat.c: Likewise.
10639 * math/w_log10l_compat.c: Likewise.
10640 * math/w_log2_compat.c: Likewise.
10641 * math/w_log2f_compat.c: Likewise.
10642 * math/w_log2l_compat.c: Likewise.
10643 * math/w_log_compat.c: Likewise.
10644 * math/w_logf_compat.c: Likewise.
10645 * math/w_logl_compat.c: Likewise.
10646 * math/w_pow_compat.c: Likewise.
10647 * math/w_powf_compat.c: Likewise.
10648 * math/w_powl_compat.c: Likewise.
10649 * math/w_remainder_compat.c: Likewise.
10650 * math/w_remainderf_compat.c: Likewise.
10651 * math/w_remainderl_compat.c: Likewise.
10652 * math/w_scalb_compat.c: Likewise.
10653 * math/w_scalbf_compat.c: Likewise.
10654 * math/w_scalbl_compat.c: Likewise.
10655 * math/w_sinh_compat.c: Likewise.
10656 * math/w_sinhf_compat.c: Likewise.
10657 * math/w_sinhl_compat.c: Likewise.
10658 * math/w_sqrt_compat.c: Likewise.
10659 * math/w_sqrtf_compat.c: Likewise.
10660 * math/w_sqrtl_compat.c: Likewise.
10661 * math/w_tgamma_compat.c: Likewise.
10662 * math/w_tgammaf_compat.c: Likewise.
10663 * math/w_tgammal_compat.c: Likewise.
10664
10665 * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
10666 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
10667 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
10668 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
10669 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
10670 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
10671 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
10672 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
10673 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
10674 * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
10675 * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
10676 * sysdeps/ia64/fpu/w_scalb.c: Likewise.
10677 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
10678 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
10679 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
10680 * sysdeps/ia64/fpu/w_powl.c: Likewise.
10681 * sysdeps/ia64/fpu/w_powf.c: Likewise.
10682 * sysdeps/ia64/fpu/w_pow.c: Likewise.
10683 * sysdeps/ia64/fpu/w_logl.c: Likewise.
10684 * sysdeps/ia64/fpu/w_logf.c: Likewise.
10685 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
10686 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
10687 * sysdeps/ia64/fpu/w_log2.c: Likewise.
10688 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
10689 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
10690 * sysdeps/ia64/fpu/w_log10.c: Likewise.
10691 * sysdeps/ia64/fpu/w_log.c: Likewise.
10692 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
10693 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
10694 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
10695 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
10696 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
10697 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
10698 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
10699 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
10700 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
10701 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
10702 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
10703 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
10704 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
10705 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
10706 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
10707 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
10708 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
10709 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
10710 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
10711 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
10712 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
10713 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
10714 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
10715 * sysdeps/ia64/fpu/w_asin.c: Likewise.
10716 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
10717 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
10718 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
10719 * sysdeps/ia64/fpu/w_acos.c: Likewise.
10720 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
10721 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
10722 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
10723 * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
10724 * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
10725 * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
10726 * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
10727 * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
10728 * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
10729 * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
10730 * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
10731 * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
10732 * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
10733 * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
10734 * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
10735 * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
10736 * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
10737 * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
10738 * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
10739 * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
10740 * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
10741 * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
10742 * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
10743 * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
10744 * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
10745 * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
10746 * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
10747 * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
10748 * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
10749 * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
10750 * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
10751 * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
10752 * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
10753 * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
10754 * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
10755 * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
10756 * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
10757 * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
10758 * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
10759 * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
10760 * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
10761 * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
10762 * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
10763 * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
10764 * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
10765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
10766 Likewise.
10767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
10768 Likewise.
10769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
10770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
10771 Likewise.
10772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
10773 Likewise.
10774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
10775 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10776 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10777 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10778 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10779 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10780 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
10782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
10784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10785 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10786 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10787 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10788 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10789
10790 * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
10791 and adjusted for new #includes path
10792 * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
10793 * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
10794 * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
10795 * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
10796 * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
10797 * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
10798 * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
10799 * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
10800 * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
10801 * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
10802 * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
10803 * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
10804 * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
10805 * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
10806 * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
10807 * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
10808 * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
10809 * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
10810 * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
10811 * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
10812 * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
10813 * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
10814 * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
10815 * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
10816 * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
10817 * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
10818 * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
10819 * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
10820 * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
10821 * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
10822 * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
10823 * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
10824 * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
10825 * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
10826 * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
10827 * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
10828 * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
10829 * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
10830 * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
10831 * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
10832 * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
10833 * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
10834 * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
10835 * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
10836 * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
10837 * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
10838 * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
10839 * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
10840 * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
10841 * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
10842 * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
10843 * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
10844 * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
10845 * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
10846 * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
10847 * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
10848 * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
10849 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
10850 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
10851 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
10852 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
10853 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
10854 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
10855 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
10856 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
10857 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
10858 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
10859 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
10860 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
10861 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
10862 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
10863 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
10864 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
10865 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
10866 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
10867 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
10868 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
10869 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
10870 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
10871 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
10872 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
10873 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
10874 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
10875 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
10876 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
10877 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
10878 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
10879 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
10880 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
10881 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
10882 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
10883 * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
10884 * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
10885 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
10886 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
10887 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
10888 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
10889 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
10890 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
10891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
10892 Likewise.
10893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
10894 Likewise.
10895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
10896 Likewise.
10897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
10898 Likewise.
10899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
10900 Likewise.
10901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
10902 Likewise.
10903 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
10904 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
10905 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
10906 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
10907 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
10908 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
10909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
10910 Likewise.
10911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
10912 Likewise.
10913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
10914 Likewise.
10915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
10916 Likewise.
10917 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
10918 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
10919 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
10920 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
10921
10922 2017-01-04 Joseph Myers <joseph@codesourcery.com>
10923
10924 * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
10925 __jmp_buf_internal_tag.
10926
10927 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
10928 preserve NaN payload if [__mips_nan2008].
10929 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
10930
10931 [BZ #21022]
10932 * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
10933
10934 2017-01-03 Joseph Myers <joseph@codesourcery.com>
10935
10936 * sysdeps/i386/fpu/libm-test-ulps: Update.
10937
10938 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10939
10940 * sysdeps/ia64/strcat.c: Remove file.
10941 * sysdeps/powerpc/strcat.c: Likewise.
10942 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
10943 C implementation.
10944 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
10945 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
10946
10947 2017-01-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10948 Steven Munroe <sjmunroe@us.ibm.com>
10949 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10950
10951 [BZ #20822]
10952 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10953 (__lll_lock_elision): Access adapt_count via C11 atomics.
10954 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10955 (__lll_trylock_elision): Likewise.
10956 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10957 (__lll_unlock_elision): Update adapt_count variable inside the
10958 critical section using C11 atomics.
10959
10960 2017-01-03 Joseph Myers <joseph@codesourcery.com>
10961
10962 * math/test-fenvinline.c (do_test): Disable tests of raised
10963 exceptions if !EXCEPTION_TESTS (FLOAT).
10964
10965 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10966
10967 [BZ #19390]
10968 * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
10969 maximum string size.
10970 * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
10971 in pointer addition.
10972 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
10973 Likewise.
10974
10975 2017-01-03 Joseph Myers <joseph@codesourcery.com>
10976
10977 * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
10978 passed to tst-ldconfig-X.sh.
10979
10980 2017-01-03 Martin Galvan <martingalvan@sourceware.org>
10981
10982 * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
10983
10984 2017-01-02 Joseph Myers <joseph@codesourcery.com>
10985
10986 [BZ #21019]
10987 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
10988 New syscall entry.
10989 * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
10990 * io/test-lfs.c (do_test): Test offset returned from lseek64 and
10991 lseek.
10992
10993 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
10994 power4 glibc for powerpc-linux-gnu.
10995
10996 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10997
10998 * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
10999 semctl.
11000
11001 2017-01-02 Joseph Myers <joseph@codesourcery.com>
11002
11003 * math/test-nearbyint-except.c: Include <stdbool.h>.
11004 (any_supported): New variable.
11005 (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise
11006 set any_supported.
11007 (do_test): Return 77 if no floating-point type supported
11008 exceptions.
11009
11010 * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
11011 condition on [__mips_hard_float].
11012
11013 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11014
11015 [BZ #21014]
11016 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
11017 in pointer addition.
11018 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
11019
11020 2017-01-02 Torvald Riegel <triegel@redhat.com>
11021
11022 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
11023 new condvar.
11024
11025 2017-01-02 Joseph Myers <joseph@codesourcery.com>
11026
11027 * scripts/build-many-glibcs.py (Context.checkout): Default
11028 binutils version to 2.28 branch.
11029
11030 2017-01-01 Florian Weimer <fweimer@redhat.com>
11031
11032 * support/support_format_netent.c (support_format_netent): Work
11033 around alpha struct netent definition difference.
11034
11035 2017-01-01 Florian Weimer <fweimer@redhat.com>
11036
11037 * support/xwrite.c (xwrite): Use %td for pointer difference.
11038
11039 2017-01-01 Florian Weimer <fweimer@redhat.com>
11040
11041 * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
11042 have-tunables only.
11043 (tests-static): Add tst-malloc-usable-static-tunables for
11044 have-tunables only.
11045
11046 2017-01-01 Joseph Myers <joseph@codesourcery.com>
11047
11048 * scripts/config.guess: Update to version 2017-01-01.
11049 * scripts/config.sub: Update to version 2017-01-01.
11050
11051 * NEWS: Update copyright dates.
11052 * catgets/gencat.c (print_version): Likewise.
11053 * csu/version.c (banner): Likewise.
11054 * debug/catchsegv.sh: Likewise.
11055 * debug/pcprofiledump.c (print_version): Likewise.
11056 * debug/xtrace.sh (do_version): Likewise.
11057 * elf/ldconfig.c (print_version): Likewise.
11058 * elf/ldd.bash.in: Likewise.
11059 * elf/pldd.c (print_version): Likewise.
11060 * elf/sotruss.sh: Likewise.
11061 * elf/sprof.c (print_version): Likewise.
11062 * iconv/iconv_prog.c (print_version): Likewise.
11063 * iconv/iconvconfig.c (print_version): Likewise.
11064 * locale/programs/locale.c (print_version): Likewise.
11065 * locale/programs/localedef.c (print_version): Likewise.
11066 * login/programs/pt_chown.c (print_version): Likewise.
11067 * malloc/memusage.sh (do_version): Likewise.
11068 * malloc/memusagestat.c (print_version): Likewise.
11069 * malloc/mtrace.pl: Likewise.
11070 * manual/libc.texinfo: Likewise.
11071 * nptl/version.c (banner): Likewise.
11072 * nscd/nscd.c (print_version): Likewise.
11073 * nss/getent.c (print_version): Likewise.
11074 * nss/makedb.c (print_version): Likewise.
11075 * posix/getconf.c (main): Likewise.
11076 * scripts/test-installation.pl: Likewise.
11077 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11078
11079 * All files with FSF copyright notices: Update copyright dates
11080 using scripts/update-copyrights.
11081 * intl/plural.c: Regenerated.
11082 * locale/programs/charmap-kw.h: Likewise.
11083 * locale/programs/locfile-kw.h: Likewise.
11084
11085 2016-12-31 Florian Weimer <fweimer@redhat.com>
11086
11087 [BZ #20593]
11088 Update DNS RR type definitions.
11089 * scripts/gen-rrtypes.py: New file.
11090 * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
11091 BIND-internal RR type not used on the Internet. Add ns_t_ds,
11092 ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
11093 ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
11094 ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
11095 ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
11096 ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
11097 ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
11098 ns_t_ta, ns_t_dlv.
11099 * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
11100 (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
11101 (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
11102 (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
11103 (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
11104 (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
11105 Define.
11106 * resolv/res_debug.c (__p_type_syms): Update comment. Remove
11107 entry for ns_t_zxfr.
11108
11109 2016-12-31 Florian Weimer <fweimer@redhat.com>
11110
11111 [BZ #18784]
11112 CVE-2015-5180
11113 * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
11114 T_UNSPEC. Adjust value.
11115 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
11116 * resolv/res_query.c (__libc_res_nquery): Likewise.
11117 * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
11118 QTYPEs.
11119 * resolv/tst-resolv-qtypes.c: New file.
11120 * resolv/Makefile (xtests): Add tst-resolv-qtypes.
11121 (tst-resolv-qtypes): Link against libresolv and libpthread.
11122
11123 2016-12-31 Florian Weimer <fweimer@redhat.com>
11124
11125 * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
11126
11127 2016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
11128
11129 * manual/tunables.texi: New chapter.
11130 * manual/Makefile (chapters): Add it.
11131 * manual/probes.texi (@node): Point to the Tunables chapter.
11132
11133 * Makeconfig (have-tunables): Check for non-negative instead
11134 of positive.
11135 * configure.ac: Add 'valstring' as a valid value for
11136 --enable-tunables.
11137 * configure: Regenerate.
11138 * elf/Makefile (have-tunables): Check for non-negative instead
11139 of positive.
11140 (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
11141 dl-tunables.c.
11142 * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
11143 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11144 (tunables_strdup): Likewise.
11145 (disable_tunables): Likewise.
11146 (parse_tunables): Likewise.
11147 (__tunables_init): Process GLIBC_TUNABLES envvar only when.
11148 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11149 * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
11150 (TUNABLES_FRONTEND_yes): New macro, define as
11151 TUNABLES_FRONTEND_valstring by default.
11152 * manual/install.texi: Document new acceptable values for
11153 --enable-tunables.
11154 * INSTALL: Regenerate.
11155
11156 * config.make.in (have-loop-to-function): Define.
11157 * elf/Makefile (CFLAGS-dl-tunables.c): Add
11158 -fno-tree-loop-distribute-patterns.
11159 * elf/dl-tunables.c: Include libc-internals.h.
11160 (GLIBC_TUNABLES): New macro.
11161 (tunables_strdup): New function.
11162 (parse_tunables): New function.
11163 (min_strlen): New function.
11164 (__tunables_init): Use the new functions and macro.
11165 (disable_tunable): Disable tunable from GLIBC_TUNABLES.
11166 * malloc/tst-malloc-usable-tunables.c: New test case.
11167 * malloc/tst-malloc-usable-static-tunables.c: New test case.
11168 * malloc/Makefile (tests, tests-static): Add tests.
11169
11170 * manual/install.texi: Add --enable-tunables option.
11171 * INSTALL: Regenerate.
11172 * README.tunables: New file.
11173 * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
11174 (before-compile): Generate dl-tunable-list.h early.
11175 * config.h.in: Add HAVE_TUNABLES.
11176 * config.make.in: Add have-tunables.
11177 * configure.ac: Add --enable-tunables option.
11178 * configure: Regenerate.
11179 * csu/init-first.c (__libc_init_first): Move
11180 __libc_init_secure earlier...
11181 * csu/init-first.c (LIBC_START_MAIN):... to here.
11182 Include dl-tunables.h, libc-internal.h.
11183 (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
11184 binaries.
11185 * elf/Makefile (dl-routines): Add dl-tunables.
11186 * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
11187 namespace.
11188 * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
11189 only when !HAVE_TUNABLES.
11190 * elf/rtld.c (process_envvars): Likewise.
11191 * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
11192 (_dl_sysdep_start): Call __tunables_init.
11193 * elf/dl-tunable-types.h: New file.
11194 * elf/dl-tunables.c: New file.
11195 * elf/dl-tunables.h: New file.
11196 * elf/dl-tunables.list: New file.
11197 * malloc/tst-malloc-usable-static.c: New test case.
11198 * malloc/Makefile (tests-static): Add it.
11199 * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
11200 Define TUNABLE_NAMESPACE.
11201 (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
11202 (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
11203 callback functions.
11204 (ptmalloc_init): Set tunable values.
11205 * scripts/gen-tunables.awk: New file.
11206 * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
11207 (_dl_sysdep_start): Call __tunables_init.
11208
11209 2016-12-31 Florian Weimer <fweimer@redhat.com>
11210
11211 * resolv/resolv.h (RES_BLAST): Deprecate.
11212 * resolv/res_debug.c (p_option): Remove RES_BLAST.
11213 * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
11214 to RES_BLAST.
11215
11216 2016-12-27 Florian Weimer <fweimer@redhat.com>
11217
11218 [BZ #19582]
11219 Deprecate RES_USE_INET6.
11220 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
11221 (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
11222 (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
11223 RES_USE_INET6.
11224 * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
11225 (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
11226 (_nss_nisplus_gethostbyaddr_r): Likewise.
11227 * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
11228 of res_use_inet6.
11229 * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
11230 instead of RES_USE_INET6.
11231 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
11232 * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
11233 (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
11234 Likewise.
11235 * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
11236 (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
11237 Likewise.
11238 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
11239 (_nss_dns_gethostbyname_r): Likewise.
11240 (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
11241 alternate RES_USE_INET6 handling.
11242 * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
11243 instead of RES_USE_INET6.
11244 * resolv/res_init.c (res_setoptions): Likewise.
11245 * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
11246 * resolv/resolv-internal.h: New file.
11247 * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
11248 make the deprecation warning non-fatal.
11249 * resolv/README (Using the resolver in multi-threaded code): Drop
11250 reference to RES_USE_INET6.
11251 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
11252 DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
11253
11254 2016-12-31 Florian Weimer <fweimer@redhat.com>
11255
11256 * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
11257 tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
11258 tst-resolv-search.
11259 (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
11260 (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
11261 with libresolv and libpthread.
11262 * resolv/tst-bug18665.c: New file.
11263 * resolv/tst-bug18665-tcp: Likewise.
11264 * resolv/tst-res_use_inet6: Likewise.
11265 * resolv/tst-resolv-basic: Likewise.
11266 * resolv/tst-resolv-network: Likewise.
11267 * resolv/tst-resolv-search: Likewise.
11268 * support/Makefile (libsupport-routines): Add check_addrinfo,
11269 check_dns_packet, check_hostent, check_netent, resolv_test,
11270 support_format_address_family, support_format_addrinfo,
11271 support_format_dns_packet, support_format_herrno,
11272 support_format_hostent, support_format_netent, support_run_diff,
11273 xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
11274 xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
11275 xstrdup, xwrite.
11276 * support/check_addrinfo.c: New file.
11277 * support/check_dns_packet.c: Likewise.
11278 * support/check_hostent.c: Likewise.
11279 * support/check_netent.c: Likewise.
11280 * support/check_nss.h: Likewise.
11281 * support/format_nss.h: Likewise.
11282 * support/resolv_test.c: Likewise.
11283 * support/resolv_test.h: Likewise.
11284 * support/run_diff.h: Likewise.
11285 * support/support_format_address_family.c: Likewise.
11286 * support/support_format_addrinfo.c: Likewise.
11287 * support/support_format_dns_packet.c: Likewise.
11288 * support/support_format_herrno.c: Likewise.
11289 * support/support_format_hostent.c: Likewise.
11290 * support/support_format_netent.c: Likewise.
11291 * support/support_run_diff.c: Likewise.
11292 * support/xaccept.c: Likewise.
11293 * support/xbind.c: Likewise.
11294 * support/xconnect.c: Likewise.
11295 * support/xfclose.c: Likewise.
11296 * support/xfopen.c: Likewise.
11297 * support/xgetsockname.c: Likewise.
11298 * support/xlisten.c: Likewise.
11299 * support/xmemstream.c: Likewise.
11300 * support/xmemstream.h: Likewise.
11301 * support/xpoll.c: Likewise.
11302 * support/xpthread_once.c: Likewise.
11303 * support/xrecvfrom.c: Likewise.
11304 * support/xsendto.c: Likewise.
11305 * support/xsetsockopt.c: Likewise.
11306 * support/xstdio.h: Likewise.
11307 * support/xstrdup.c: Likewise.
11308 * support/support.h (xstrdup): Declare.
11309 * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
11310 (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
11311 * support/xthread.h (xpthread_once): Likwise.
11312 * support/xunistd.h (xwrite): Declare.
11313
11314 2016-12-31 Florian Weimer <fweimer@redhat.com>
11315
11316 * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
11317 (test_verbose): Declare.
11318 * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
11319 * support/support_test_main.c (default_options): Likewise.
11320 (usage, support_test_main): Handle 'v'.
11321 (test_verbose): Define.
11322 * support/tst-support_record_failure.c (do_test): Use
11323 test_verbose.
11324 * support/tst-support_record_failure-2.sh (different_status): Add
11325 --verbose test.
11326
11327 2016-12-31 Florian Weimer <fweimer@redhat.com>
11328
11329 * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
11330 test failures are recorded.
11331 * support/check.c (support_print_failure_impl): Call
11332 support_record_failure.
11333 (support_exit_failure_impl): Call support_record_failure if status
11334 indicates failure.
11335 * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
11336 * support/xasprintf.c (xasprintf): Likewise.
11337 * support/xfork.c (xfork): Likewise.
11338 * support/xpthread_check_return.c (xpthread_check_return):
11339 Likewise.
11340 * support/xsocket.c (xsocket): Likeweise.
11341 * support/xwaitpid.c (xwaitpid): Likewise.
11342 * support/support_record_failure.c (struct test_failures): Adjust
11343 to coding style.
11344 * support/support_test_verify_impl.c (support_test_verify_impl):
11345 Adjust error messages.
11346 * support/tst-support_record_failure-2.sh (different_status):
11347 Adjust error messages.
11348
11349 2016-12-31 Florian Weimer <fweimer@redhat.com>
11350
11351 * support/namespace.h: New file.
11352 * support/support_become_root.c: Likewise.
11353 * support/support_enter_network_namespace.c: Likewise.
11354 * support/tst-support-namespace.c: Likewise.
11355 * support/xsocket.c: Likewise.
11356 * support/xsocket.h: Likewise.
11357 * support/Makefile (libsupport-routines): Add support_become_root,
11358 support_enter_network_namespace, xsocket.
11359 (tests): Add tst-support-namespace.
11360
11361 2016-12-31 Florian Weimer <fweimer@redhat.com>
11362
11363 [BZ #17252]
11364 * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
11365 __USE_GNU.
11366
11367 2016-12-31 Torvald Riegel <triegel@redhat.com>
11368
11369 [BZ #13165]
11370 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
11371 use new algorithm.
11372 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11373 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11374 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11375 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11376 (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
11377 (__condvar_confirm_wakeup, __condvar_cancel_waiting,
11378 __condvar_cleanup_waiting, __condvar_dec_grefs,
11379 __pthread_cond_wait_common): New.
11380 (__condvar_cleanup): Remove.
11381 * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
11382 * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
11383 Likewise.
11384 * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
11385 Likewise.
11386 * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
11387 * nptl/tst-cond1.c: Add comment.
11388 * nptl/tst-cond20.c (do_test): Adapt.
11389 * nptl/tst-cond22.c (do_test): Likewise.
11390 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
11391 structure.
11392 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11393 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11394 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11395 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
11396 Likewise.
11397 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11398 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11399 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11400 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11401 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11402 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
11403 Likewise.
11404 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
11405 Likewise.
11406 * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11407 * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
11408 (COND_CLOCK_BITS): Adapt.
11409 * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
11410 * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
11411 __PTHREAD_COND_SHARED_MASK): New.
11412 * nptl/nptl-printers.py (CLOCK_IDS): Remove.
11413 (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
11414 * nptl/nptl_lock_constants.pysym: Adapt.
11415 * nptl/test-cond-printers.py: Adapt.
11416 * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
11417 cond_compat_check_and_clear): Adapt.
11418 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
11419 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11420 (__pthread_cond_timedwait): ... and move here.
11421 * nptl/DESIGN-condvar.txt: Remove file.
11422 * nptl/lowlevelcond.sym: Likewise.
11423 * nptl/pthread_cond_timedwait.c: Likewise.
11424 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
11425 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
11426 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
11427 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
11428 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
11429 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
11430 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
11431 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
11432 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
11433 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
11434 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
11435 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
11436 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
11437 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
11438 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
11439 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
11440
11441 2016-12-31 Joseph Myers <joseph@codesourcery.com>
11442
11443 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11444 (fromfp): New declaration.
11445 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11446 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11447 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11448 * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
11449 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
11450 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11451 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11452 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11453 * math/math.h: Include <bits/types.h>.
11454 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
11455 constant and macro.
11456 (FP_INT_DOWNWARD): Likewise.
11457 (FP_INT_TOWARDZERO): Likewise.
11458 (FP_INT_TONEARESTFROMZERO): Likewise.
11459 (FP_INT_TONEAREST): Likewise.
11460 * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
11461 (fromfpf): Likewise.
11462 (fromfpl): Likewise.
11463 (ufromfp): Likewise.
11464 (ufromfpf): Likewise.
11465 (ufromfpl): Likewise.
11466 (fromfpx): Likewise.
11467 (fromfpxf): Likewise.
11468 (fromfpxl): Likewise.
11469 (ufromfpx): Likewise.
11470 (ufromfpxf): Likewise.
11471 (ufromfpxl): Likewise.
11472 * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
11473 s_fromfpxF and s_ufromfpxF.
11474 * math/gen-fromfp-tests.py: New file.
11475 * math/gen-fromfp-tests-inputs: Likewise.
11476 * math/libm-test.inc: Include <stdint.h>
11477 (check_intmax_t): New function.
11478 (check_uintmax_t): Likewise.
11479 (struct test_fiu_M_data): New type.
11480 (struct test_fiu_U_data): Likewise.
11481 (RUN_TEST_fiu_M): New macro.
11482 (RUN_TEST_LOOP_fiu_M): Likewise.
11483 (RUN_TEST_fiu_U): Likewise.
11484 (RUN_TEST_LOOP_fiu_U): Likewise.
11485 (fromfp_test_data): New array.
11486 (fromfp_test): New function.
11487 (fromfpx_test_data): New array.
11488 (fromfpx_test): New function.
11489 (ufromfp_test_data): New array.
11490 (ufromfp_test): New function.
11491 (ufromfpx_test_data): New array.
11492 (ufromfpx_test): New function.
11493 (main): Call fromfp_test, fromfpx_test, ufromfp_test and
11494 ufromfpx_test.
11495 * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
11496 characters.
11497 * math/test-tgmath-ret.c: Include <stdint.h>.
11498 (rm): New variable.
11499 (width): Likewise.
11500 (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
11501 called function.
11502 (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
11503 CHECK_RET_CONST_TYPE.
11504 (CHECK_RET_CONST_DOUBLE): Likewise.
11505 (CHECK_RET_CONST_LDOUBLE): Likewise.
11506 (CHECK_RET_CONST): Take extra arguments and pass them to calls
11507 macros.
11508 (fromfp): New CHECK_RET_CONST call.
11509 (ufromfp): Likewise.
11510 (fromfpx): Likewise.
11511 (ufromfpx): Likewise.
11512 (do_test): Call check_return_fromfp, check_return_ufromfp,
11513 check_return_fromfpx and check_return_ufromfpx.
11514 * math/test-tgmath.c: Include <stdint.h>
11515 (NCALLS): Increase to 138.
11516 (F(compile_test)): Initialize i. Call fromfp functions.
11517 (F(fromfp)): New function.
11518 (F(fromfpx)): Likewise.
11519 (F(ufromfp)): Likewise.
11520 (F(ufromfpx)): Likewise.
11521 * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
11522 FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
11523 FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
11524 ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
11525 ufromfpxl.
11526 * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
11527 ufromfp and ufromfpx.
11528 * math/fromfp.h: New file.
11529 * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
11530 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
11531 * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
11532 * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
11533 * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
11534 * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
11535 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
11536 * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
11537 * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
11538 * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
11539 * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
11540 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
11541 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
11542 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
11543 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
11544 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
11545 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
11546 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
11547 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
11548 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
11549 * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
11550 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
11551 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
11552 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
11553 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
11554 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
11555 ufromfp, fromfpx and ufromfpx.
11556 (CFLAGS-nldbl-fromfp.c): New variable.
11557 (CFLAGS-nldbl-fromfpx.c): Likewise.
11558 (CFLAGS-nldbl-ufromfp.c): Likewise.
11559 (CFLAGS-nldbl-ufromfpx.c): Likewise.
11560 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
11561 * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
11562 * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
11563 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
11564 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
11565 * sysdeps/nacl/libm.abilist: Update.
11566 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11567 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11568 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11569 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11570 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11571 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11572 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11573 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11574 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11575 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11576 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11577 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11579 Likewise.
11580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11581 Likewise.
11582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11583 Likewise.
11584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11585 Likewise.
11586 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11587 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11588 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11589 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11590 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11591 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11592 Likewise.
11593 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11594 Likewise.
11595 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11596 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11597 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11598
11599 2016-12-30 Florian Weimer <fweimer@redhat.com>
11600
11601 * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
11602 compat-gethnamaddr.
11603 (CPPFLAGS): Remove.
11604 * resolv/gethnamaddr.c: Rename ...
11605 * resolv/compat-gethnamaddr.c: ... to this file.
11606 (_endhtent): Make static.
11607 (res_gethostbyname): Renamed from gethostbyname. Turn into compat
11608 symbol.
11609 (res_gethostbyname2): Renamed from gethostbyname2. Turn into
11610 compat symbol.
11611 (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
11612 symbol.
11613 (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
11614 Turn into compat symbol.
11615 * include/resolv.h (_endhtent): Remove declaration.
11616
11617 2016-12-30 Joseph Myers <joseph@codesourcery.com>
11618
11619 * bits/types.h (__intmax_t): New typedef.
11620 (__uintmax_t): Likewise.
11621 * sysdeps/generic/stdint.h: Include <bits/types.h>.
11622 (intmax_t): Define using __intmax_t.
11623 (uintmax_t): Define using __uintmax_t.
11624
11625 * support/Makefile (tests-special): Make definition conditional on
11626 [$(run-built-tests) = yes].
11627 ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
11628 on [$(run-built-tests) = yes].
11629
11630 2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
11631
11632 * Rules (tests): Add tests-printers-programs to tests to be
11633 built.
11634
11635 2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11636
11637 * sysvipc/Makefile (tests): Add test-sysvshm.
11638 * sysvipc/test-sysvshm.c: New file.
11639
11640 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
11641 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
11642 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
11643 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
11644 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
11645 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
11646 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
11647 Likewise.
11648 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
11649 Likewise.
11650 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
11651 * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
11652 is defined.
11653
11654 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
11655 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
11656 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
11657 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
11658 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
11659 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
11660 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
11661 Likewise.
11662 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
11663 Likewise.
11664 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
11665 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
11666 defined.
11667
11668 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11669 oldshmctl.
11670 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
11671 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
11672 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
11673 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
11674 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
11675 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
11676 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
11677 Likewise.
11678 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
11679 Likewise.
11680 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
11681 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
11682 * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
11683 * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
11684 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
11685 implementation.
11686 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
11687 if it is defined.
11688
11689 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
11690 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
11691 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
11692 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
11693 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
11694 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
11695 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
11696 Likewise.
11697 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
11698 Likewise.
11699 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
11700 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
11701 Define to __NR_osf_shmat.
11702 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
11703 defined.
11704
11705 * sysvipc/Makefile (tests): Add test-sysvsem.
11706 * sysvipc/test-sysvsem.c: New file.
11707
11708 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
11709 * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
11710 * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
11711 Likewise.
11712 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
11713 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
11714 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
11715 Likewise.
11716 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
11717 Likewise.
11718 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
11719 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
11720 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
11721 add a comment about s390 syscall difference from default one.
11722 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
11723 syscall if it is defined.
11724
11725 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
11726 * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
11727 * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
11728 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
11729 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
11730 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
11731 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
11732 Likewise.
11733 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
11734 Likewise.
11735 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
11736 * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
11737 defined.
11738
11739 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
11740 * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
11741 * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
11742 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
11743 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
11744 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
11745 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
11746 Likewise.
11747 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
11748 Likewise.
11749 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
11750 * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
11751 if it is defined.
11752
11753 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11754 oldsemctl.
11755 * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
11756 * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
11757 * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
11758 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
11759 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
11760 implementation.
11761 * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
11762 syscall if it is defined.
11763 * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
11764 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
11765 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
11766 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
11767 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
11768 Likewise.
11769 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
11770
11771 * sysvipc/Makefile (tests): Add test-sysvmsg.
11772 * sysvipc/test-sysvmsg.c: New file.
11773 * support/check.h (FAIL_UNSUPPORTED): New define.
11774
11775 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
11776 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
11777 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
11778 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
11779 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
11780 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
11781 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
11782 Likewise.
11783 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
11784 Likewise.
11785 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
11786 * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
11787 define.
11788
11789 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
11790 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
11791 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
11792 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
11793 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
11794 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
11795 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
11796 Likewise.
11797 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
11798 Likewise.
11799 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
11800 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
11801 if defined.
11802
11803 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
11804 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
11805 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
11806 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
11807 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
11808 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
11809 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
11810 Likewise.
11811 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
11812 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
11813 Likewise.
11814 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
11815 if defined.
11816 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
11817
11818 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11819 oldmsgctl.
11820 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
11821 * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
11822 * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
11823 * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
11824 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
11825 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
11826 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
11827 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
11828 Likewise.
11829 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
11830 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
11831 implementation.
11832 * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
11833 if defined.
11834
11835 * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
11836 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
11837 definition and define its own.
11838 * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
11839 * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
11840 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
11841 * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
11842 * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
11843 definitions to common header.
11844 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
11845 operation from ipc_ops.h.
11846
11847 * sysdeps/unix/sysv/linux/kernel-features.h
11848 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
11849 * sysdeps/unix/sysv/linux/i386/kernel-features.h
11850 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
11851 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11852 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11853 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11854 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11855 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11856 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11857 * sysdeps/unix/sysv/linux/s390/kernel-features.h
11858 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11859 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11860 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11861 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11862 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11863
11864 2016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11865
11866 * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
11867 overflow in pointer addition.
11868
11869 2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11870
11871 * sysdeps/powerpc/powerpc64/multiarch/Makefile
11872 (sysdep_routines): Add strchr-power8 and strchrnul_power8.
11873 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11874 (strchr): Add __strchr_power8 to list of strchr functions.
11875 (strchrnul): Add __strchrnul_power8 to list of strchr functions.
11876 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
11877 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
11878 * sysdeps/powerpc/powerpc64/multiarch/strchr.c
11879 (strchr): Add __strchr_power8 to ifunc list.
11880 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
11881 (__strchrnul): Add __strchrnul_power8 to ifunc list.
11882 * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
11883 * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
11884
11885 2016-12-28 Florian Weimer <fweimer@redhat.com>
11886
11887 * support/Makefile (libsupport-routines): Add
11888 support_test_verify_impl, support_record_failure, xfork, xwaitpid.
11889 (tests): Add tst-support_record_failure.
11890 (tests-special): tst-support_record_failure-2.
11891 (tst-support_record_failure-2.out): Depend on
11892 tst-support_record_failure-2.sh and tst-support_record_failure.
11893 * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
11894 (support_test_verify_impl, support_record_failure)
11895 (support_report_failure, support_report_failure_reset): Declare.
11896 * support/support_test_main.c (adjust_exit_status): New function.
11897 (support_test_main): Call it to incorporate record test failures.
11898 * support/support_test_verify_impl.c: New file.
11899 * support/support_record_failure.c: Likewise.
11900 * support/tst-support_record_failure.c: Likewise.
11901 * support/tst-support_record_failure-2.sh: Likewise.
11902 * support/xunistd.h: Likewise.
11903 * support/xfork.c: Likewise.
11904 * support/xwaitpid.c: Likewise.
11905
11906 2016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
11907
11908 * scripts/check-c++-types.sh: Add comments.
11909
11910 2016-12-27 Dmitry V. Levin <ldv@altlinux.org>
11911
11912 [BZ #19514]
11913 * resolv/res_send.c: Fix typo in comment.
11914 * sysdeps/i386/i386-mcount.S: Likewise.
11915 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11916 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11917 * sysdeps/sparc/sparc-mcount.S: Likewise.
11918
11919 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11920
11921 * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
11922 * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
11923 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
11924 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
11925 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
11926 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
11927 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
11928 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
11929
11930 2016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11931
11932 * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
11933
11934 2016-12-27 Florian Weimer <fweimer@redhat.com>
11935
11936 [BZ #17252]
11937 * posix/unistd.h (getentropy): Declare.
11938
11939 2016-12-27 Florian Weimer <fweimer@redhat.com>
11940
11941 * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
11942 Remove.
11943 * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
11944 (cmd): Remove spoof, nospoof, spoofalert.
11945 (parse_line): Ignore spoof-related lines.
11946 (do_init): Do not process RESOLV_SPOOF_CHECK.
11947
11948 2016-12-27 Florian Weimer <fweimer@redhat.com>
11949
11950 [BZ #20964]
11951 sunrpc: Always obtain AF_INET addresses from NSS.
11952 * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
11953 * sunrpc/rpc_gethostbyname.c: New file.
11954 * sunrpc/Makefile (routines): Add it.
11955 * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
11956 * sunrpc/clnt_simp.c (callrpc): Likewise.
11957 * sunrpc/getrpcport.c (getrpcport): Likewise.
11958
11959 2016-12-27 Florian Weimer <fweimer@redhat.com>
11960
11961 * sunrpc/rpcinfo.c: Remove.
11962 * sunrpc/Makefile: Remove comments referring to rpcinfo.
11963
11964 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11965
11966 [BZ #19387]
11967 * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
11968 addition.
11969 * string/test-memchr.c (do_test): Remove alignment limitation.
11970 (test_main): Add test that trigger BZ #19387.
11971
11972 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
11973
11974 [BZ #7065]
11975 Enable stack protectore if requested by ./configure.
11976 * Makeconfig (+stack-protector): New variable.
11977 (+cflags): Use it.
11978
11979 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
11980
11981 [BZ #7065]
11982 * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
11983 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
11984 (__rt_sigreturn_stub): Use inhibit_stack_protector.
11985 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11986 (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
11987
11988 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
11989
11990 [BZ #7065]
11991 * login/Makefile (pt_chown-cflags): Remove.
11992 * nscd/Makefile (CFLAGS-nscd): Likewise.
11993 * resolv/Makefile (CFLAGS-libresolv): Likewise.
11994
11995 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
11996
11997 [BZ #7065]
11998 * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
11999 non-libc-linking testcase.
12000
12001 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12002 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12003 Florian Weimer <fweimer@redhat.com>
12004
12005 [BZ #7065]
12006 PLT avoidance for __stack_chk_fail*.
12007 * debug/Makefile (CFLAGS-stack_chk_fail.c)
12008 (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
12009 * debug/stack_chk_fail.c (__stack_chk_fail): Add
12010 __stack_chk_fail_local alias.
12011 * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
12012 (__stack_chk_fail): Turn into hidden reference to
12013 __stack_chk_fail_local.
12014
12015 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12016
12017 [BZ #7065]
12018 * configure.ac: Add check for unsupported stack-protection level.
12019 (libc_cv_predef_stack_protector): Remove.
12020 (no_ssp): New variable.
12021 (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
12022 (stack_protector): Set to -fno-stack-protector similarly.
12023 (libc_cv_ld_gnu_indirect_function): Use no_ssp.
12024 (libc_cv_asm_set_directive): Likewise.
12025 (libc_cv_protected_data): Likewise.
12026 (libc_cv_z_combreloc): Likewise.
12027 (libc_cv_hashstyle): Likewise.
12028 (libc_cv_has_glob_dat): Likewise.
12029 (libc_cv_output_format): Likewise.
12030 (libc_cv_output_format): Likewise.
12031 (libc_cv_ehdr_start): Likewise.
12032 * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
12033 (LIBC_LINKER_FEATURE): Likewise.
12034 (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
12035
12036 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12037
12038 [BZ #7065]
12039 * elf/Makefile (dummy-stack-chk-fail): New.
12040 (librtld.map): Use it.
12041
12042 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12043
12044 [BZ #7065]
12045 Compile the dynamic linker without stack protection.
12046 * elf/Makefile (elide-stack-protector): New.
12047 (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
12048 (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
12049 * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
12050 * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
12051
12052 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12053
12054 [BZ #7065]
12055 * config.make.in (have-ssp, no-stack-protector): New.
12056 * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
12057 * misc/Makefile (CFLAGS-sbrk.o): Likewise.
12058 (CFLAGS-sbrk.op): Likewise.
12059 (CFLAGS-brk.o): Likewise.
12060 (CFLAGS-brk.op): Likewise.
12061 * string/Makefile (CFLAGS-memcpy.c): Likewise.
12062 (CFLAGS-wordcopy.c): Likewise.
12063
12064 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12065
12066 [BZ #7065]
12067 * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
12068 * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
12069 * include/libc-symbols.h (inhibit_stack_protector): New macro.
12070 (__ifunc_resolver): Use it.
12071 * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
12072 inhibit_stack_protector.
12073 * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
12074 * elf/ifuncmain7.c (foo_ifunc): Likewise.
12075 * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
12076 (foo_protected_ifunc): Likewise.
12077 * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
12078 (foo_protected_ifunc): Likewise.
12079 * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12080 * sysdeps/nacl/nacl_interface_query.c
12081 (nacl_interface_query_ifunc): Likewise.
12082 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12083 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
12084 Likewise.
12085 * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
12086 * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
12087 the generated vDSO syscall resolver.
12088
12089 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12090 Florian Weimer <fweimer@redhat.com>
12091
12092 [BZ #7065]
12093 Initialize the stack guard earlier when linking statically.
12094 * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
12095 (__pthread_initialize_minimal): Declare.
12096 * csu/libc-start.c (__pthread_initialize_minimal): Remove
12097 declaration.
12098 (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
12099 stack canary and apply_irel initialization up. Call
12100 __pthread_initialize_minimal only if linked in.
12101 * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
12102 constant values.
12103 (__pthread_initialize_minimal): Remove.
12104 * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
12105 (__pthread_initialize_minimal_internal): Do not call
12106 __libc_setup_tls.
12107
12108 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12109
12110 [BZ #7065]
12111 * configure.ac (libc_cv_ssp): Move up.
12112 (libc_cv_ssp_strong): Likewise.
12113 (libc_cv_ssp_all): New.
12114 (stack_protector): Augment, adding -fstack-protector-all.
12115 (no_stack_protector): New.
12116 (STACK_PROTECTOR_LEVEL): New.
12117 (AC_ARG_ENABLE(stack-protector)): New configure flag.
12118 * manual/install.texi (--enable-stack-protector): Document it.
12119 * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
12120
12121 2016-12-24 Carlos O'Donell <carlos@redhat.com>
12122
12123 * README.pretty-printers: Must specify CPPFLAGS-* also.
12124 * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
12125 (CPPFLAGS-test-mutex-printers.c): Define.
12126 (CPPFLAGS-test-condattr-printers.c): Define.
12127 (CPPFLAGS-test-cond-printers.c): Define.
12128 (CPPFLAGS-test-rwlockattr-printers.c): Define.
12129 (CPPFLAGS-test-rwlock-printers.c): Define.
12130
12131 * nss/Makefile [ifeq (yes,$(have-thread-library))]
12132 (tests): Add tst-cancel-getpwuid_r.
12133 * nss/tst-cancel-getpwuid_r.c: New file.
12134
12135 [BZ #11941]
12136 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
12137 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
12138 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
12139 tst-nodelete-dlclose.
12140 (modules-names): Add tst-nodelete-dlclose-dso and
12141 tst-nodelete-dlclose-plugin.
12142 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
12143 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
12144 ($(objpfx)tst-nodelete-dlclose): Define.
12145 ($(objpfx)tst-nodelete-dlclose.out): Define.
12146
12147 2016-12-23 Florian Weimer <fweimer@redhat.com>
12148
12149 * scripts/test_printers_common.py: Log GDB output in case of
12150 Python detection failure.
12151
12152 2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
12153
12154 * configure.ac: Check for python3 or python.
12155 * configure: Regenerated.
12156 * config.make.in (PYTHON): New variable.
12157 * benchtests/Makefile: Don't define PYTHON.
12158 (bench): Define target only if PYTHON was defined.
12159 * Rules: Don't define PYTHON.
12160 Define pretty printer targets only if PYTHON was defined.
12161 (tests-printers): Add to tests-unsupported if PYTHON is not
12162 found.
12163 (python-flags, python-invoke): Remove.
12164 (tests-printers-out): Use PYTHON instead of python-invoke.
12165
12166 2016-12-21 Joseph Myers <joseph@codesourcery.com>
12167
12168 [BZ #20978]
12169 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12170 Compare name == NULL, not name != NULL.
12171
12172 * manual/texinfo.tex: Update to version 2016-09-18.18 with
12173 trailing whitespace removed.
12174 * scripts/config.guess: Update to version 2016-10-02.
12175 * scripts/config.sub: Update to version 2016-11-19.
12176 * scripts/install-sh: Update to version 2016-01-11.22.
12177 * scripts/mkinstalldirs: Update to version 2016-01-11.22.
12178 * scripts/move-if-change: Update to version 2016-01-11 22:04.
12179
12180 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
12181
12182 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
12183 (do_one_test) Restore original string so iteration works.
12184 * string/string-inlines.c (do_test): Create better input strings.
12185 (test_main) Reduce number of testruns.
12186 * string/string-inlines.c (__old_strsep_1c): New function.
12187 (__old_strsep_2c): Likewise.
12188 (__old_strsep_3c): Likewise.
12189 * string/strsep.c (__strsep): Remove case of small delim string.
12190 Call strcspn directly rather than strpbrk.
12191 * string/bits/string2.h (__strsep): Remove define.
12192 (__strsep_1c): Remove.
12193 (__strsep_2c): Remove.
12194 (__strsep_3c): Remove.
12195 (strsep): Remove.
12196 * sysdeps/unix/sysv/linux/internal_statvfs.c
12197 (__statvfs_getflags): Rename to __strsep.
12198
12199 2016-12-21 Florian Weimer <fweimer@redhat.com>
12200
12201 * csu/libc-tls.c (_dl_tls_setup): Remove.
12202 * elf/dl-tls.c (_dl_tls_setup): Likewise.
12203 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
12204 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
12205
12206 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
12207
12208 [BZ #7065]
12209 * sysdeps/x86_64/Makefile [$(subdir) = elf]
12210 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
12211
12212 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
12213 Florian Weimer <fweimer@redhat.com>
12214
12215 [BZ #7065]
12216 * csu/Makefile (tests): Empty assignment and document it.
12217 (tests-static): Remove.
12218 * csu/tst-empty.c: Move to...
12219 * misc/tst-empty.c: ... here. Switch to new test driver.
12220 * csu/tst-atomic.c: Move to...
12221 * misc/tst-atomic.c: ... here. Switch to new test driver.
12222 * csu/tst-atomic-long.c: Move to...
12223 * misc/tst-atomic-long.c: ... here.
12224 * misc/Makefile (tests): Add tst-empty, tst-atomic,
12225 tst-atomic-long.
12226 (tests-static): Add tst-empty.
12227
12228 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
12229
12230 * manual/nss.texi: Change incorrect @vtable to @table.
12231 * manual/arith.texi: Convert @tables of variables to @vtables
12232 and remove unnecessary indexing.
12233 * manual/filesys.texi: Likewise.
12234 * manual/llio.texi: Likewise.
12235 * manual/memory.texi: Likewise.
12236 * manual/process.texi: Likewise.
12237 * manual/resource.texi: Likewise.
12238 * manual/search.texi: Likewise.
12239 * manual/signal.texi: Likewise.
12240 * manual/socket.texi: Likewise.
12241 * manual/stdio.texi: Likewise.
12242 * manual/sysinfo.texi: Likewise.
12243 * manual/syslog.texi: Likewise.
12244 * manual/terminal.texi: Likewise.
12245 * manual/time.texi: Likewise.
12246 * manual/users.texi: Likewise.
12247
12248 2016-12-21 Joseph Myers <joseph@codesourcery.com>
12249
12250 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12251 (roundeven): New declaration.
12252 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
12253 macro.
12254 * math/Versions (roundeven): New libm symbol at version
12255 GLIBC_2.25.
12256 (roundevenf): Likewise.
12257 (roundevenl): Likewise.
12258 * math/Makefile (libm-calls): Add s_roundevenF.
12259 * math/libm-test.inc (roundeven_test_data): New array.
12260 (roundeven_test): New function.
12261 (main): Call roundeven_test.
12262 * math/test-tgmath.c (NCALLS): Increase to 134.
12263 (F(compile_test)): Call roundeven.
12264 (F(roundeven)): New function.
12265 * manual/arith.texi (Rounding Functions): Document roundeven,
12266 roundevenf and roundevenl.
12267 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
12268 * include/math.h (roundeven): Use libm_hidden_proto.
12269 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
12270 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
12271 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
12272 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
12273 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
12274 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
12275 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12276 roundeven.
12277 (CFLAGS-nldbl-roundeven.c): New variable.
12278 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
12279 * sysdeps/nacl/libm.abilist: Update.
12280 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12281 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12282 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12283 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12284 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12285 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12286 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12287 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12288 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12289 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12290 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12291 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12293 Likewise.
12294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12295 Likewise.
12296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12297 Likewise.
12298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12299 Likewise.
12300 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12301 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12302 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12303 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12304 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12305 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12306 Likewise.
12307 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12308 Likewise.
12309 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12310 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12311 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12312
12313 2016-12-20 Joseph Myers <joseph@codesourcery.com>
12314
12315 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
12316 preprocessor indentation inside #if.
12317
12318 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12319
12320 * math/libm-test.inc (fmt_ftostr): New function.
12321 (print_float, check_float_internal): Replace some uses of
12322 FTOSTR with uses of fmt_ftostr.
12323 (print_max_error, print_complex_max_error, print_function_ulps)
12324 (print_complex_function_ulps): Remove uses of the macros
12325 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
12326 * math/test-double.h (FTOSTR): Define to strfromd.
12327 (PRINTF_EXPR): Delete.
12328 (PRINTF_XEXPR): Likewise.
12329 (PRINTF_NEXPR): Likewise.
12330 * math/test-float.h (FTOSTR): Define to strfromf.
12331 (PRINTF_EXPR): Delete.
12332 (PRINTF_XEXPR): Likewise.
12333 (PRINTF_NEXPR): Likewise.
12334 * math/test-ldouble.h (FTOSTR): Define to strfroml.
12335 (PRINTF_EXPR): Delete.
12336 (PRINTF_XEXPR): Likewise.
12337 (PRINTF_NEXPR): Likewise.
12338
12339 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12340
12341 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12342 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
12343 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12344 (__lll_lock_elision): Decrement adapt_count while unlocking
12345 instead of before locking.
12346 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12347 (__lll_trylock_elision): Likewise.
12348 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
12349 (__lll_unlock_elision): Likewise.
12350
12351 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12352
12353 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
12354 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
12355 Use __libc_tbegin_retry macro.
12356
12357 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12358
12359 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
12360 Add -msoft-float.
12361 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
12362 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12363 Use __libc_t* transaction macros instead of __builtin_t*.
12364 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12365 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12366
12367 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12368
12369 * sysdeps/unix/sysv/linux/s390/elision-lock.c
12370 (__lll_lock_elision): Use atomics to load / store adapt_count.
12371 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12372 (__lll_trylock_elision): Likewise.
12373
12374 2016-12-20 Florian Weimer <fweimer@redhat.com>
12375
12376 Do not require memset elimination in explicit_bzero test.
12377 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
12378 (enum test_expectation): Add NO_EXPECTATIONS.
12379 (subtests): NO_EXPECTATIONS for ordinary clear.
12380 (check_test_buffer): Handle NO_EXPECTATIONS.
12381 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
12382
12383 2016-12-20 Joseph Myers <joseph@codesourcery.com>
12384
12385 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12386 (fmaxmag): New declaration.
12387 (fminmag): Likewise.
12388 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
12389 macro.
12390 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
12391 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
12392 (fmaxmagf): Likewise.
12393 (fmaxmagl): Likewise.
12394 (fminmag): Likewise.
12395 (fminmagf): Likewise.
12396 (fminmagl): Likewise.
12397 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
12398 * math/s_fmaxmag_template.c: New file.
12399 * math/s_fminmag_template.c: Likewise.
12400 * math/libm-test.inc (fmaxmag_test_data): New array.
12401 (fmaxmag_test): New function.
12402 (fminmag_test_data): New array.
12403 (fminmag_test): New function.
12404 (main): Call fmaxmag_test and fminmag_test.
12405 * math/test-tgmath.c (NCALLS): Increase to 132.
12406 (F(compile_test)): Call fmaxmag and fminmag.
12407 (F(fminmag)): New function.
12408 (F(fmaxmag)): Likewise.
12409 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
12410 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
12411 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
12412 fminmag.
12413 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
12414 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
12415 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
12416 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
12417 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
12418 and fminmag.
12419 (CFLAGS-nldbl-fmaxmag.c): New variable.
12420 (CFLAGS-nldbl-fminmag.c): Likewise.
12421 * sysdeps/nacl/libm.abilist: Update.
12422 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12423 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12424 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12425 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12426 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12427 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12428 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12429 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12430 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12431 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12432 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12433 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12435 Likewise.
12436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12437 Likewise.
12438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12439 Likewise.
12440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12441 Likewise.
12442 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12443 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12444 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12445 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12446 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12447 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12448 Likewise.
12449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12450 Likewise.
12451 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12452 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12453 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12454
12455 2016-12-19 Torvald Riegel <triegel@redhat.com>
12456
12457 [BZ #20973]
12458 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
12459 wake-up in robust mutexes.
12460 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12461
12462 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12463
12464 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
12465 (CFLAGS-bench-fmaxf.c): New rule.
12466 (CFLAGS-bench-fminf.c): Likewise.
12467 * benchtests/fmaxf-inputs: New file.
12468 * benchtests/fminf-inputs: Likewise.
12469
12470 * benchtests/Makefile (bench-math): Add fmin and fmax.
12471 (CFLAGS-bench-fmax.c): New rule.
12472 (CFLAGS-bench-fmin.c): Likewise.
12473 * benchtests/fmax-inputs: New file.
12474 * benchtests/fmin-inputs: Likewise.
12475
12476 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
12477 parenthesis.
12478 (CMDLINE_PROCESS): Define using function instead of macro.
12479 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
12480 of test-skeleton.
12481 * benchtests/bench-memchr.c: Likewise.
12482 * benchtests/bench-memcmp.c: Likewise.
12483 * benchtests/bench-memcpy-large.c: Likewise.
12484 * benchtests/bench-memcpy.c: Likewise.
12485 * benchtests/bench-memmem.c: Likewise.
12486 * benchtests/bench-memmove-large.c: Likewise.
12487 * benchtests/bench-memmove.c: Likewise.
12488 * benchtests/bench-memset-large.c: Likewise.
12489 * benchtests/bench-memset.c: Likewise.
12490 * benchtests/bench-rawmemchr.c: Likewise.
12491 * benchtests/bench-strcasecmp.c: Likewise.
12492 * benchtests/bench-strcasestr.c: Likewise.
12493 * benchtests/bench-strcat.c: Likewise.
12494 * benchtests/bench-strchr.c: Likewise.
12495 * benchtests/bench-strcmp.c: Likewise.
12496 * benchtests/bench-strcpy.c: Likewise.
12497 * benchtests/bench-strcpy_chk.c: Likewise.
12498 * benchtests/bench-strlen.c: Likewise.
12499 * benchtests/bench-strncasecmp.c: Likewise.
12500 * benchtests/bench-strncmp.c: Likewise.
12501 * benchtests/bench-strncpy.c: Likewise.
12502 * benchtests/bench-strnlen.c: Likewise.
12503 * benchtests/bench-strpbrk.c: Likewise.
12504 * benchtests/bench-strrchr.c: Likewise.
12505 * benchtests/bench-strsep.c: Likewise.
12506 * benchtests/bench-strspn.c: Likewise.
12507 * benchtests/bench-strstr.c: Likewise.
12508 * benchtests/bench-strtok.c: Likewise.
12509
12510 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
12511
12512 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
12513 stepping identification.
12514 (init_cpu_features): Add handle of Haswell.
12515
12516 2016-11-25 Jim Meyering <meyering@fb.com>
12517
12518 [BZ #20386]
12519 Let gcc detect assert(a = 1) errors.
12520 * assert/assert.h (assert): Rewrite, retaining the old definintion
12521 when required, but otherwise putting the expression as-is in an "if"
12522 expression (hence, with no added parentheses) within a statement
12523 expression.
12524
12525 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
12526
12527 * benchtests/Makefile (binaries-benchset): Depend on libsupport
12528 DSO.
12529
12530 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
12531
12532 * Rules (python-flags, python-invoke): New.
12533 ($(test-printers-out)): Use $(python-flags).
12534
12535 2016-12-16 Joseph Myers <joseph@codesourcery.com>
12536
12537 * manual/arith.texi (Math Error Reporting): Document that sNaN
12538 arguments are not considered domain errors.
12539
12540 2016-12-16 Zack Weinberg <zackw@panix.com>
12541 Florian Weimer <fweimer@redhat.com>
12542 Nick Mathewson <nickm@torproject.org>
12543
12544 * string/explicit_bzero.c: New routine.
12545 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
12546 * string/Makefile (routines, strop-tests, tests): Add them.
12547 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
12548 * string/string.h [__USE_MISC]: Declare explicit_bzero.
12549
12550 * debug/explicit_bzero_chk.c: New routine.
12551 * debug/Makefile (routines): Add it.
12552 * debug/tst-chk1.c: Test fortification of explicit_bzero.
12553 * string/bits/string3.h: Fortify explicit_bzero.
12554
12555 * manual/string.texi: Document explicit_bzero.
12556 * NEWS: Mention addition of explicit_bzero.
12557
12558 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
12559 data before returning, using explicit_bzero.
12560 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
12561 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12562 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12563
12564 * include/string.h: Redirect internal uses of explicit_bzero
12565 to __explicit_bzero_chk[_internal].
12566 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
12567 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
12568 * sysdeps/arm/nacl/libc.abilist
12569 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
12570 * sysdeps/unix/sysv/linux/alpha/libc.abilist
12571 * sysdeps/unix/sysv/linux/arm/libc.abilist
12572 * sysdeps/unix/sysv/linux/hppa/libc.abilist
12573 * sysdeps/unix/sysv/linux/i386/libc.abilist
12574 * sysdeps/unix/sysv/linux/ia64/libc.abilist
12575 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12576 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
12577 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
12578 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12579 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12580 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12581 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12582 * sysdeps/unix/sysv/linux/nios2/libc.abilist
12583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12587 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
12588 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12589 * sysdeps/unix/sysv/linux/sh/libc.abilist
12590 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12591 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12593 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12594 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
12595 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
12596 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
12597 Add entries for explicit_bzero and __explicit_bzero_chk.
12598
12599 2016-12-16 Joseph Myers <joseph@codesourcery.com>
12600
12601 * math/fenv.h
12602 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
12603 (FE_SNANS_ALWAYS_SIGNAL): New macro.
12604 * math/test-fe-snans-always-signal.c: New file.
12605 * math/Makefile (tests): Add test-fe-snans-always-signal.
12606 (CFLAGS-test-fe-snans-always-signal.c): New variable.
12607 * manual/arith.texi (Infinity and NaN): Document
12608 FE_SNANS_ALWAYS_SIGNAL.
12609
12610 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12611
12612 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
12613 bracket.
12614
12615 2016-12-16 Joseph Myers <joseph@codesourcery.com>
12616
12617 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
12618 before calling execv.
12619
12620 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12621
12622 [BZ #20971]
12623 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
12624 overflow in pointer addition.
12625 * string/test-memchr.c (do_test): Add an argument to pass as
12626 the size on memchr.
12627 (test_main): Add check for SIZE_MAX.
12628
12629 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12630
12631 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
12632 (libm-calls): Add w_scalblnF.
12633 * math/w_scalbln.c: Remove.
12634 * math/w_scalblnf.c: Likewise.
12635 * math/w_scalblnl.c: Likewise.
12636 * math/w_scalbln_template.c: New file with type-generic
12637 implementation based on math/w_scalbln.c.
12638 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
12639 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
12640
12641 2016-12-15 Joseph Myers <joseph@codesourcery.com>
12642
12643 [BZ #20947]
12644 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
12645 either is a signaling NaN.
12646 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
12647 follow fmaxl more closely.
12648 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
12649 when either is a signaling NaN.
12650 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
12651 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
12652 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
12653 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
12654 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
12655 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
12656 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
12657 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
12658 (fmin_test_data): Likewise.
12659
12660 2016-12-15 Andreas Schwab <schwab@suse.de>
12661
12662 * support/support_test_main.c (support_test_main): Don't shadow
12663 file-local variable test_pid.
12664
12665 2016-12-15 Joseph Myers <joseph@codesourcery.com>
12666
12667 [BZ #20947]
12668 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
12669 either is a signaling NaN.
12670 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
12671
12672 2016-12-14 Joseph Myers <joseph@codesourcery.com>
12673
12674 [BZ #20947]
12675 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
12676 when either is a signaling NaN.
12677 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
12678
12679 * bits/long-double.h: New file.
12680 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
12681 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
12682 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
12683 * sysdeps/mips/bits/long-double.h: Likewise.
12684 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
12685 * math/Makefile (headers): Add bits/long-double.h.
12686 * misc/sys/cdefs.h: Include <bits/long-double.h>.
12687 * stdlib/strtold.c: Include <bits/long-double.h> instead of
12688 <bits/wordsize.h>.
12689 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
12690 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
12691 * math/math.h: Do not include <bits/mathdef.h>.
12692 * sysdeps/aarch64/bits/mathdef.h: Remove file.
12693 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
12694 inclusion.
12695 * sysdeps/ia64/bits/mathdef.h: Remove file.
12696 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
12697 * sysdeps/mips/bits/mathdef.h: Likewise.
12698 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12699 * sysdeps/s390/bits/mathdef.h: Likewise.
12700 * sysdeps/sparc/bits/mathdef.h: Likewise.
12701 * sysdeps/x86/bits/mathdef.h: Likewise.
12702 * sysdeps/s390/s390-32/bits/wordsize.h
12703 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
12704 conditional code.
12705 * sysdeps/s390/s390-64/bits/wordsize.h
12706 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12707 Likewise.
12708 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
12709 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12710 Likewise.
12711 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
12712 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12713 Likewise.
12714 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
12715 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12716 Likewise.
12717
12718 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
12719 <linux/falloc.h>.
12720 (FALLOC_FL_KEEP_SIZE): Remove.
12721 (FALLOC_FL_PUNCH_HOLE): Likewise.
12722 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
12723 (FALLOC_FL_ZERO_RANGE): Likewise.
12724
12725 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12726
12727 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
12728
12729 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12730
12731 * sysdeps/unix/sysv/linux/renameat.c: New file.
12732 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
12733
12734 * sysdeps/unix/sysv/linux/rename.c: New file.
12735 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
12736
12737 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
12738
12739 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
12740 * string/strtok.c (strtok): Change to tailcall __strtok_r.
12741 * string/strtok_r.c (__strtok_r): Optimize for performance.
12742 * string/string-inlines.c (__old_strtok_r_1c): New function.
12743 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
12744
12745 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12746
12747 * math/Makefile (gen-libm-calls): Add w_log1pF.
12748 (libm-calls): Remove w_log1pF.
12749 * math/w_log1p.c: Remove.
12750 * math/w_log1pf.c: Likewise.
12751 * math/w_log1pl.c: Likewise.
12752 * math/w_log1p_template.c: New file with type-generic
12753 implementation based on math/w_log1p.c.
12754 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
12755 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
12756
12757 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
12758
12759 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
12760
12761 2016-12-14 Joseph Myers <joseph@codesourcery.com>
12762
12763 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12764 kernel version to 4.9.
12765
12766 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
12767
12768 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
12769 ($(inst_libdir)/libm.a): Fix rule to create the target only.
12770
12771 2016-12-13 Andreas Schwab <schwab@suse.de>
12772
12773 * sysdeps/powerpc/dl-procinfo.c: Don't define
12774 _dl_powerpc_platforms.
12775 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
12776 constants instead of referencing _dl_powerpc_platforms.
12777 (_dl_platform_string): Remove.
12778
12779 2016-12-13 Florian Weimer <fweimer@redhat.com>
12780
12781 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
12782
12783 2016-12-13 Florian Weimer <fweimer@redhat.com>
12784
12785 * Rules (binaries-shared-tests, binaries-pie-tests)
12786 (binaries-static-tests): Link with $(link-extra-libs-tests).
12787 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
12788 Remove $(link-extra-libs-tests).
12789
12790 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12791
12792 * sysdeps/powerpc/powerpc64/multiarch/Makefile
12793 (sysdep_routines): Add strncmp_power9.
12794 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12795 (strncmp): Add __strncmp_power9 to list of strncmp functions.
12796 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
12797 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
12798 (strncmp): Add __strncmp_power9 to ifunc list.
12799 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
12800
12801 2016-12-12 Florian Weimer <fweimer@redhat.com>
12802
12803 [BZ #17252]
12804 Add getentropy, getrandom.
12805 * stdlib/sys/random.h: New file.
12806 (headers): Add it.
12807 * stdlib/Makefile (routines): Add getentropy, getrandom.
12808 (tests): Add tst-getrandom.
12809 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
12810 * stdlib/getentropy.c: New file.
12811 * stdlib/getrandom.c: Likewise.
12812 * stdlib/tst-getrandom.c: Likewise.
12813 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
12814 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
12815 * manual/crypt.texi (Unpredictable Bytes): New section.
12816 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
12817 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
12818 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12819 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12820 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12821 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12822 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12823 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12824 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12825 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12826 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12827 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12828 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12829 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12830 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12831 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12833 Likewise.
12834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12835 Likewise.
12836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12838 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12839 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12840 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12841 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12842 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12845 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12846 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12847 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12848
12849 2016-12-10 Florian Weimer <fweimer@redhat.com>
12850
12851 [BZ #20956]
12852 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
12853 as additional compiler barriers.
12854 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
12855 (fn2, do_test): Declare with external linkage.
12856 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
12857 (do_test): Declare with external linkage.
12858 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
12859 (do_test): Declare with external linkage.
12860 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
12861 (do_test): Declare with external linkage.
12862
12863 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
12864
12865 * support/support_test_main.c (support_test_main): Use correct
12866 timeout.
12867
12868 2016-12-09 Carlos O'Donell <carlos@redhat.com>
12869 Florian Weimer <fweimer@redhat.com>
12870
12871 [BZ #16421]
12872 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
12873 and __u6_addr32 members.
12874 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
12875 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
12876 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
12877 Use __u6_addr32.
12878 * inet/tst-checks.c: Use <support/test-driver.c>
12879 * inet/tst-checks-posix.c: New file.
12880 * inet/Makefile (tests): Add it.
12881 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
12882
12883 2016-12-09 Florian Weimer <fweimer@redhat.com>
12884
12885 New subdirectory support for build and test infrastructure.
12886 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
12887 setting install-lib.
12888 * Makeconfig (link-extra-libs-tests): Define.
12889 (+link-pie-tests, +link-static-tests, +link-tests): Use
12890 link-extra-libs-tests.
12891 (rpath-dirs, all-subdirs): Add support.
12892 (built-modules): Add libsupport.
12893 (libsupport): Define.
12894 * support: New directory.
12895 * support/Makefile: New file.
12896 * support/check.c: Likewise.
12897 * support/check.h: Likewise.
12898 * support/delayed_exit.c: Likewise.
12899 * support/ignore_stderr.c: Likewise.
12900 * support/oom_error.c: Likewise.
12901 * support/set_fortify_handler.c: Likewise.
12902 * support/support.h: Likewise.
12903 * support/temp_file-internal.h: Likewise.
12904 * support/temp_file.c: Likewise.
12905 * support/test-driver.c: Likewise.
12906 * support/test-driver.h: Likewise.
12907 * support/test_main.c: Likewise.
12908 * support/write_message.c: Likewise.
12909 * support/xasprintf.c: Likewise.
12910 * support/xcalloc.c: Likewise.
12911 * support/xmalloc.c: Likewise.
12912 * support/xpthread_barrier_destroy.c: Likewise.
12913 * support/xpthread_barrier_init.c: Likewise.
12914 * support/xpthread_barrier_wait.c: Likewise.
12915 * support/xpthread_cancel.c: Likewise.
12916 * support/xpthread_check_return.c: Likewise.
12917 * support/xpthread_cond_wait.c: Likewise.
12918 * support/xpthread_create.c: Likewise.
12919 * support/xpthread_detach.c: Likewise.
12920 * support/xpthread_join.c: Likewise.
12921 * support/xpthread_mutex_lock.c: Likewise.
12922 * support/xpthread_mutex_unlock.c: Likewise.
12923 * support/xpthread_sigmask.c: Likewise.
12924 * support/xpthread_spin_lock.c: Likewise.
12925 * support/xpthread_spin_unlock.c: Likewise.
12926 * support/xrealloc.c: Likewise.
12927 * support/xsignal.h: Likewise.
12928 * support/xthread.h: Likewise.
12929 * support_tempfile.h: Likewise.
12930 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
12931 (TEST_DATA_LIMIT): Remove unused macro.
12932 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
12933 <support/check.h>.
12934 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
12935 (ignore_stderr, set_fortify_handler): Remove. Now in
12936 <support/support.h>.
12937 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
12938 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
12939 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
12940 (xpthread_join): Remove. Now in <support/xthread.h>.
12941 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
12942 Introduce legacy wrappers.
12943 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
12944 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
12945 (write_message): Remove.
12946 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
12947 test-skeleton.c.
12948 * io/test-open-tmpfile: Likewise.
12949 * io/tst-posix_fallocate-common.c: Likewise.
12950 * libio/tst-fseek.c: Likewise.
12951 * malloc/tst-malloc-backtrace.c: Likewise.
12952 * malloc/tst-malloc-fork-deadlock.c: Likewise.
12953 * malloc/tst-malloc-thread-exit.c: Likewise.
12954 * nptl/tst-cancel7.c: Likewise.
12955 * nptl/tst-cleanup0.c: Likewise.
12956 * posix/tst-posix_fadvise-common.c: Likewise.
12957 * rt/tst-shm.c: Likewise.
12958 * time/bug-getdate1.c: Likewise.
12959 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
12960 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
12961 * elf/Makefile (tst-piemod1.so): Link against libsupport.
12962
12963 2016-12-08 Joseph Myers <joseph@codesourcery.com>
12964
12965 * Rules [$(run-built-tests) != no] (tests-expected): Add
12966 $(tests-printers).
12967 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
12968
12969 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
12970
12971 [BZ #20539]
12972 * math/Makefile (install-lib-ldscripts): Add libm.a.
12973 (install_subdir): Remove.
12974 (install-others): Add.
12975 ($(inst_libdir)/libm.a): Add rule for installation as
12976 linker script.
12977 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
12978
12979 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
12980
12981 * INSTALL: Regenerated.
12982 * Makeconfig: Add comments and whitespace to make the control flow
12983 clearer.
12984 (+link-printers-tests, +link-pie-printers-tests,
12985 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
12986 built-rtld-LDFLAGS, link-libc-rpath,
12987 link-libc-tests-after-rpath-link,
12988 link-libc-printers-tests): New.
12989 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
12990 link-libc-tests): Use the new variables as required.
12991 * Makerules ($(py-const)): New rule.
12992 generated: Add $(py-const).
12993 * README.pretty-printers: New file.
12994 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
12995 (others): Depend on $(py-const).
12996 (tests): Depend on $(tests-printers-programs) or
12997 $(tests-printers-out),
12998 as required. Pass $(tests-printers) to merge-test-results.sh.
12999 * manual/install.texi: Add requirements for testing the pretty
13000 printers.
13001 * nptl/Makefile (gen-py-const-headers, pretty-printers,
13002 tests-printers, CFLAGS-test-mutexattr-printers.c
13003 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
13004 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
13005 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
13006 * nptl/nptl-printers.py: New file.
13007 * nptl/nptl_lock_constants.pysym: Likewise.
13008 * nptl/test-cond-printers.c: Likewise.
13009 * nptl/test-cond-printers.py: Likewise.
13010 * nptl/test-condattr-printers.c: Likewise.
13011 * nptl/test-condattr-printers.py: Likewise.
13012 * nptl/test-mutex-printers.c: Likewise.
13013 * nptl/test-mutex-printers.py: Likewise.
13014 * nptl/test-mutexattr-printers.c: Likewise.
13015 * nptl/test-mutexattr-printers.py: Likewise.
13016 * nptl/test-rwlock-printers.c: Likewise.
13017 * nptl/test-rwlock-printers.py: Likewise.
13018 * nptl/test-rwlockattr-printers.c: Likewise.
13019 * nptl/test-rwlockattr-printers.py: Likewise.
13020 * scripts/gen-py-const.awk: Likewise.
13021 * scripts/test_printers_common.py: Likewise.
13022 * scripts/test_printers_exceptions.py: Likewise.
13023
13024 2016-12-07 Joseph Myers <joseph@codesourcery.com>
13025
13026 * scripts/build-many-glibcs.py (Context.__init__): Take strip
13027 argument.
13028 (Glibc.build_glibc): Strip installed shared libraries if
13029 requested.
13030 (get_parser): Add --strip option.
13031 (main): Update Context call.
13032
13033 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13034 Dominik Vogt <vogt@linux.vnet.ibm.com>
13035
13036 [BZ #20847]
13037 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
13038 array bounds for else branch.
13039 (__execvpe): Style fixes.
13040 * posix/tst-vfork3.c (run_script): New function.
13041 (create_script): Likewise.
13042 (do_test): Use run_script internal function.
13043 (do_prepare): Use create_script internal function.
13044
13045 2016-12-07 Andreas Schwab <schwab@suse.de>
13046
13047 * sysdeps/unix/sysv/linux/x86/elision-conf.h
13048 (__elision_available): Don't declare.
13049 * sysdeps/unix/sysv/linux/x86/elision-conf.c
13050 (__elision_available): Don't define.
13051 (elision_init): Don't set __elision_available.
13052
13053 2016-12-07 Joseph Myers <joseph@codesourcery.com>
13054
13055 [BZ #20940]
13056 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
13057 return Inf for arguments Inf and sNaN.
13058 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13059 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13060 Likewise.
13061 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13062 Likewise.
13063 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13064 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
13065 for arguments Inf and sNaN. When returning a NaN, compute it by
13066 arithmetic on the arguments.
13067 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
13068 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
13069 arguments.
13070
13071 2016-12-06 Joseph Myers <joseph@codesourcery.com>
13072
13073 [BZ #20916]
13074 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
13075 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
13076 to compute result.
13077 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13078 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
13079
13080 2016-12-05 Torvald Riegel <triegel@redhat.com>
13081
13082 * include/atomic.h (__atomic_check_size_ls): New.
13083 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
13084 atomic_store_release): Use it.
13085 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
13086 (elision_adapt, ELIDE_LOCK): Use atomics.
13087 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
13088 atomics and improve code comments.
13089 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
13090 (__lll_trylock_elision): Likewise.
13091
13092 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13093
13094 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
13095 programs.
13096
13097 2016-12-02 Joseph Myers <joseph@codesourcery.com>
13098
13099 [BZ #20916]
13100 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
13101 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
13102 arguments to compute result.
13103 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
13104 1 for arguments (sNaN, 0) or (1, sNaN).
13105 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13106 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13107
13108 [BZ #20919]
13109 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
13110 NaN first argument when raised to power 0.
13111 * math/w_pow.c (__pow): Do not check for NaN or zero results from
13112 raising to power zero.
13113 * math/w_powf.c (__powf): Likewise.
13114 * math/w_powl.c (__powl): Likewise.
13115 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
13116 pow (0, 0) or pow (NaN, 0).
13117
13118 2016-12-02 Carlos O'Donell <carlos@redhat.com>
13119
13120 [BZ #20918]
13121 * configure.ac: Test for static NSS cryptographic libraries and set
13122 libc_cv_static_nss_crypt.
13123 * configure: Regenerate.
13124 * config.make.in (static-nss-crypt): Define.
13125 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
13126 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
13127 (CFLAGS-tst-linkall-static.c): Define.
13128 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
13129 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
13130 ($(objpfx)tst-linkall-static): Define.
13131 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
13132 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
13133
13134 2016-12-02 Florian Weimer <fweimer@redhat.com>
13135
13136 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
13137 (one-hundred, tst-tls-many-dynamic-modules): Define.
13138 (modules-names): Add $(tst-tls-many-dynamic-modules).
13139 (tst-tls-manydynamic%mod.os): Build with special preprocessor
13140 macros.
13141 (tst-tls-manydynamic): Link against libdl, libpthread.
13142 (tst-tls-manydynamic.out): The test needs the test modules at run
13143 time.
13144 * elf/tst-tls-manydynamic.c: New file.
13145 * elf/tst-tls-manydynamic.h: Likewise.
13146 * elf/tst-tls-manydynamicmod.c: Likewise.
13147
13148 2016-12-02 Florian Weimer <fweimer@redhat.com>
13149
13150 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
13151 (TLS_DTV_UNALLOCATED): Add.
13152 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
13153 offsets.
13154
13155 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
13156
13157 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13158
13159 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
13160
13161 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
13162 Add -fno-optimize-sibling-calls.
13163
13164 2016-12-02 Joseph Myers <joseph@codesourcery.com>
13165
13166 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
13167 New declaration.
13168 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
13169 macro.
13170 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
13171 New macro.
13172 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
13173 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
13174 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
13175 (llogbf): Likewise.
13176 (llogbl): Likewise.
13177 * math/Makefile (gen-libm-calls): Add w_llogbF.
13178 (tests): Add test-fp-llogb-constants.
13179 * math/w_llogb_template.c: New file. Based on
13180 math/w_ilogb_template.c.
13181 * math/libm-test.inc (llogb_test_data): New array.
13182 (llogb_test): New function.
13183 (main): Call llogb_test.
13184 * math/test-fp-llogb-constants.c: New file. Based on
13185 math/test-fp-ilogb-constants.c.
13186 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
13187 (do_test): Call check_return_llogb.
13188 * math/test-tgmath.c (NCALLS): Increase to 126.
13189 (F(compile_test)): Call llogb.
13190 (F(llogb)): New function.
13191 * manual/math.texi (Exponents and Logarithms): Document llogb,
13192 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
13193 * manual/libm-err-tab.pl (@all_functions): Add llogb.
13194 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
13195 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
13196 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
13197 (CFLAGS-nldbl-llogb.c): New variable.
13198 * sysdeps/nacl/libm.abilist: Update.
13199 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13200 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13201 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13202 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13203 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13204 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13205 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13206 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13207 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13208 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13209 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13210 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13212 Likewise.
13213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13214 Likewise.
13215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13216 Likewise.
13217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13218 Likewise.
13219 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13220 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13221 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13222 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13223 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13224 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13225 Likewise.
13226 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13227 Likewise.
13228 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13229 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13230 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13231
13232 2016-12-01 Joseph Myers <joseph@codesourcery.com>
13233
13234 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
13235 _Float128 instead of long double.
13236 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
13237
13238 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
13239 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
13240 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
13241 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
13242 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
13243 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
13244 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
13245 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
13246 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
13247 Likewise.
13248
13249 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13250
13251 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
13252 Remove redirection to __strrchr_ppc.
13253
13254 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13255
13256 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13257 (sysdep_routines): Add strcmp_power9.
13258 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13259 (strcmp): Add __strcmp_power9 to list of strcmp functions.
13260 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
13261 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13262 (strcmp): Add __strcmp_power9 to ifunc list.
13263 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
13264
13265 2016-12-01 Joseph Myers <joseph@codesourcery.com>
13266
13267 * bits/fp-logb.h: New file.
13268 * sysdeps/ia64/bits/fp-logb.h: Likewise.
13269 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
13270 * sysdeps/x86/bits/fp-logb.h: Likewise.
13271 * math/Makefile (headers): Add bits/fp-logb.h.
13272 * math/math.h: Include <bits/fp-logb.h>.
13273 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
13274 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
13275 * bits/mathdef.h (FP_ILOGB0): Remove.
13276 (FP_ILOGBNAN): Likewise.
13277 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
13278 (FP_ILOGBNAN): Likewise.
13279 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
13280 (FP_ILOGBNAN): Likewise.
13281 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
13282 (FP_ILOGBNAN): Likewise.
13283 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
13284 (FP_ILOGBNAN): Likewise.
13285 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
13286 (FP_ILOGBNAN): Likewise.
13287 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
13288 (FP_ILOGBNAN): Likewise.
13289 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
13290 (FP_ILOGBNAN): Likewise.
13291 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
13292 (FP_ILOGBNAN): Likewise.
13293 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
13294 (FP_ILOGBNAN): Likewise.
13295
13296 * scripts/build-many-glibcs.py: Add bot to usage message. Import
13297 time module.
13298 (Context.__init__): Initialize self.logsdir_old.
13299 (Context.run_builds): Handle bot action.
13300 (Context.bot_cycle): Copy logs directory before running builds.
13301 (Context.bot_run_self): Take argument for whether to check
13302 subprocess result. Flush stdout before running subprocess.
13303 (Context.bot): New function.
13304 (get_parser): Allow bot action.
13305
13306 2016-11-30 Joseph Myers <joseph@codesourcery.com>
13307
13308 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
13309 Import email.mime.text, email.utils and smtplib modules.
13310 (Context.__init__): Initialize self.bot_config_json.
13311 (Context.run_builds): Handle bot-cycle action.
13312 (Context.load_bot_config_json): New function.
13313 (Context.part_build_old): Likewise.
13314 (Context.bot_cycle): Likewise.
13315 (Context.bot_build_mail): Likewise.
13316 (Context.bot_run_self): Likewise.
13317 (get_parser): Allow bot-cycle action.
13318
13319 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13320
13321 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
13322 Remove redirection to __stpcpy_ppc.
13323
13324 2016-11-30 Florian Weimer <fweimer@redhat.com>
13325
13326 Remove __libc_memalign from ld.so because it is unused.
13327 * elf/dl-minimal.c: Update comment on the malloc implementation.
13328 (malloc): Renamed from __libc_memalign, replacing the original
13329 malloc implementation. Replace the align parameter with
13330 MALLOC_ALIGNMENT.
13331 * elf/Versions (ld): Update comment and remove __libc_memalign.
13332 * sysdeps/nacl/ld.abilist: Likewise.
13333 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13334 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13335 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13336 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13337 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13338 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13339 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13340 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13341 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13342 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13343 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13344 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13345 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13349 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13350 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13351 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13352 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13353 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13354 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
13355 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
13356 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
13357 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13358 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13359 * sysdeps/generic/localplt.data (ld.so): Likewise.
13360 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13361 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13362 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13363 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13364 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13365 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13366 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13367 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
13368 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13370 (ld.so): Likewise.
13371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13372 (ld.so): Likewise.
13373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13374 Likewise.
13375 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13376 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13377 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
13378 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
13379 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13380
13381 2016-11-30 Florian Weimer <fweimer@redhat.com>
13382
13383 [BZ #16628]
13384 Implement _dl_catch_error, _dl_signal_error in libc.so.
13385 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
13386 (catch_hook): Define as thread-local or regular variable,
13387 depending on DL_ERROR_BOOTSTRAP.
13388 (CATCH_HOOK): Remove.
13389 (dl_signal_error, _dl_catch_error): Use
13390 catch_hook. Add hidden definition for libc.
13391 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
13392 for DL_ERROR_BOOTSTRAP only.
13393 * elf/dl-error.c: New file.
13394 * elf/dl-error-minimal.c: Likewise.
13395 * elf/tst-latepthread.c: Likewise.
13396 * elf/tst-latepthreadmod.c: Likewise.
13397 * elf/Makefile (routines): Add dl-error.
13398 (dl-routines): Remove dl-error.
13399 (rtld-routines): Add dl-error-minimal.
13400 [build-shared] (tests): Add tst-latepthread.
13401 (module-names): Add tst-latepthreadmod.
13402 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
13403 symbol.
13404 (tst-latepthreadmod.so): Link against libpthread.
13405 (tst-latepthread): Link against libdbl.
13406 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
13407 _dl_catch_error.
13408 [ld] (GLIBC_PRIVATE): Likewise.
13409 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
13410 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
13411 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
13412 directly.
13413 * elf/dl-tsd.c: Remove file.
13414 * elf/rtld.c (_rtld_global_ro): Remove initializers for
13415 _dl_catch_error, _dl_signal_error.
13416 (_dl_initial_error_catch_tsd): Remove definition.
13417 (do_preload): Remove initialization of dl_error_catch_tsd.
13418 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
13419 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
13420 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13421 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13422 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
13423 set dl_error_catch_tsd.
13424 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
13425 _dl_error_catch_tsd member.
13426 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
13427 members.
13428 (_dl_initial_error_catch_tsd): Remove declaration.
13429 (_dl_dprintf): Provide definition for use outside of ld.so.
13430 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
13431 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
13432 prototype for libc.
13433 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
13434 _dl_catch_error.
13435 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13436 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13437 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13438 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13439 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13440 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13441 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13442 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
13443 Likewise.
13444 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13446 (ld.so): Likewise.
13447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13448 (ld.so): Likewise.
13449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13450 Likewise.
13451 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13452 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13453 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
13454 Likewise.
13455 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
13456 Likewise.
13457 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13458
13459 2016-11-30 Florian Weimer <fweimer@redhat.com>
13460
13461 [BZ #4099]
13462 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
13463 _IO_BUFSIZ (8192).
13464
13465 2016-11-30 Carlos O'Donell <carlos@redhat.com>
13466
13467 * PROJECTS: Remove file.
13468
13469 2016-11-29 Florian Weimer <fweimer@redhat.com>
13470
13471 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
13472
13473 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
13474 Steve Ellcey <sellcey@caviumnetworks.com>
13475
13476 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
13477 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
13478 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
13479 fxstatat.
13480 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
13481 lxstat.
13482 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
13483 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
13484 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
13485 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
13486 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
13487 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
13488 __xstat.
13489
13490 2016-11-29 Florian Weimer <fweimer@redhat.com>
13491
13492 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
13493 Define.
13494 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
13495 definition.
13496
13497 2016-11-29 Florian Weimer <fweimer@redhat.com>
13498
13499 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
13500 version and turn into strong alias. Remove compat symbol.
13501
13502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13503 (__longjmp): Remove.
13504
13505 2016-11-29 Joseph Myers <joseph@codesourcery.com>
13506
13507 * bits/fp-fast.h: New file.
13508 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
13509 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
13510 * math/Makefile (headers): Add bits/fp-fast.h.
13511 * math/math.h: Include <bits/fp-fast.h>.
13512 * bits/mathdef.h (FP_FAST_FMA): Remove.
13513 (FP_FAST_FMAF): Likewise.
13514 (FP_FAST_FMAL): Likewise.
13515 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
13516 (FP_FAST_FMAF): Likewise.
13517 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
13518 (FP_FAST_FMAF): Likewise.
13519 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
13520 (FP_FAST_FMAF): Likewise.
13521 (FP_FAST_FMAL): Likewise.
13522 * sysdeps/arm/bits/mathdef.h: Remove file.
13523 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
13524 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13525 * sysdeps/tile/bits/mathdef.h: Likewise.
13526
13527 2016-11-28 Joseph Myers <joseph@codesourcery.com>
13528
13529 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
13530 * math/w_ilogb.c: Remove.
13531 * math/w_ilogbf.c: Likewise.
13532 * math/w_ilogbl.c: Likewise.
13533 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
13534 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
13535 * math/Makefile (gen-libm-calls): Add w_ilogbF.
13536 (libm-calls): Remove w_ilogbF.
13537 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
13538 (LDOUBLE_ilogbl_libm_version): New macro.
13539
13540 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
13541
13542 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
13543 [!__STRICT_ANSI__ && !__cplusplus].
13544
13545 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
13546
13547 [BZ #20750]
13548 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
13549 of PIC.
13550
13551 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
13552 Yury Norov <ynorov@caviumnetworks.com>
13553 Steve Ellcey <sellcey@caviumnetworks.com>
13554
13555 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
13556 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
13557 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
13558 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
13559 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
13560 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
13561 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
13562 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
13563 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
13564 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
13565 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
13566 to get correct reg name for ILP32.
13567 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
13568 (RELA_SIZE): New Macro.
13569 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
13570 to support ILP32.
13571 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
13572 cast for ILP32 mode.
13573 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
13574 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
13575 * sysdeps/aarch64/memset.S (__memset): Ditto.
13576 * sysdeps/aarch64/strchr.S (strchr): Ditto.
13577 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
13578 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
13579 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
13580 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
13581 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
13582 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
13583 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
13584 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
13585 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
13586 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
13587 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
13588 change PTR_MANGLE call to use register numbers instead of names.
13589 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
13590 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
13591 ILP32 mode, change PTR_MANGLE calls to use register numbers.
13592 * sysdeps/aarch64/start.S (_start): Ditto.
13593 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
13594 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
13595 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
13596 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
13597 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
13598 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
13599 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
13600 Make defined values dependent on __ILP32__.
13601 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
13602 (sem_t): Change __align type.
13603 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
13604 PTR_SIZE): New Macros.
13605 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
13606 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
13607 Set when in ILP32 mode.
13608 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
13609 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
13610 Set elf flags for ILP32.
13611 (add_system_dir): Set ILP32 library directories.
13612 * sysdeps/unix/sysv/linux/aarch64/init-first.c
13613 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
13614 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
13615 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
13616 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
13617 New Macros.
13618 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
13619
13620 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
13621
13622 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
13623 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
13624 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
13625
13626 2016-11-28 Joseph Myers <joseph@codesourcery.com>
13627
13628 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
13629 <asm/cachectl.h>.
13630
13631 2016-11-27 Zack Weinberg <zackw@panix.com>
13632
13633 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
13634 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
13635
13636 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13637
13638 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
13639 error_t to fix usage in C++ programs.
13640
13641 2016-11-26 Joseph Myers <joseph@codesourcery.com>
13642
13643 * scripts/build-many-glibcs.py: Import datetime module.
13644 (Context.__init__): Load JSON build state. Initialize list of
13645 status logs.
13646 (Context.run_builds): Update saved build state.
13647 (Context.add_makefile_cmdlist): Update list of status logs.
13648 (Context.load_build_state_json): New function.
13649 (Context.store_build_state_json): Likewise.
13650 (Context.clear_last_build_state): Likewise.
13651 (Context.update_build_state): Likewise.
13652 (CommandList.status_logs): Likewise.
13653
13654 2016-11-25 Joseph Myers <joseph@codesourcery.com>
13655
13656 * scripts/build-many-glibcs.py (Context.__init__): Save text of
13657 script being executed.
13658 (Context.get_script_text): New function.
13659 (Context.exec_self): Likewise.
13660 (Context.checkout): Re-exec script if changed by checkout process.
13661
13662 2016-11-24 Joseph Myers <joseph@codesourcery.com>
13663
13664 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13665 (setpayloadsig): New declaration.
13666 * math/Versions (setpayloadsig): New libm symbol at version
13667 GLIBC_2.25.
13668 (setpayloadsigf): Likewise.
13669 (setpayloadsigl): Likewise.
13670 * math/Makefile (libm-calls): Add s_setpayloadsigF.
13671 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
13672 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
13673 (setpayloadsig_test_data): New array.
13674 (setpayloadsig_test): New function.
13675 (main): Call setpayloadsig_test.
13676 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
13677 setpayloadsigf and setpayloadsigl.
13678 * manual/libm-err-tab.pl: Update comment on interfaces without
13679 ulps tabulated.
13680 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
13681 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
13682 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
13683 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
13684 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
13685 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
13686 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13687 setpayloadsig.
13688 (CFLAGS-nldbl-setpayloadsig.c): New variable.
13689 * sysdeps/nacl/libm.abilist: Update.
13690 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13691 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13692 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13693 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13694 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13695 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13696 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13697 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13698 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13699 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13700 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13701 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13703 Likewise.
13704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13705 Likewise.
13706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13707 Likewise.
13708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13709 Likewise.
13710 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13711 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13712 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13713 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13714 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13715 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13716 Likewise.
13717 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13718 Likewise.
13719 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13720 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13721 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13722
13723 * scripts/build-many-glibcs.py: Import json module.
13724 (Context.__init__): Take replace_sources argument. Load
13725 versions.json.
13726 (Context.load_versions_json): New function.
13727 (Context.store_json): Likewise.
13728 (Context.store_versions_json): Likewise.
13729 (Context.set_component_version): Likewise.
13730 (Context.checkout): Update versions.json. Check for and handle
13731 changes of version. Prefer previously explicitly specified
13732 version to default version.
13733 (Context.checkout_vcs): Return a revision identifier.
13734 (Context.git_checkout): Likewise.
13735 (Context.gcc_checkout): Likewise.
13736 (get_parser): Add --replace-sources option.
13737 (main): Pass replace_sources argument to Context call.
13738
13739 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13740
13741 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
13742 * nptl/allocatestack.c (allocate_stack): Likewise.
13743 (__reclaim_stacks): Likewise.
13744 (setxid_signal_thread): Obtain pid through syscall.
13745 * nptl/nptl-init.c (sigcancel_handler): Likewise.
13746 (sighandle_setxid): Likewise.
13747 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
13748 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
13749 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
13750 Likewise.
13751 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
13752 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
13753 comment.
13754 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
13755 * nptl/descr.h (struct pthread): Change comment about pid value.
13756 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
13757 pid assert.
13758 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
13759 Do not set pid value.
13760 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
13761 pid cache check.
13762 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
13763 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
13764 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
13765 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
13766 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
13767 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
13768 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
13769 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
13770 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
13771 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
13772 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
13773 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
13774 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
13775 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
13776 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
13777 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
13778 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13779 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
13780 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
13781 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
13782 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
13783 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13784 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
13785 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
13786 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
13787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13789 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13790 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13791 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13792 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
13793 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
13794 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
13795 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13796 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
13797 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
13798 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
13799 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13800 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
13801 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
13802 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
13803 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
13804 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
13805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
13806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
13807 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13808 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13809 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13810 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13811 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13812 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
13813 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13814 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
13815 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
13816 struct access.
13817 (clone_test): Remove function.
13818 (do_test): Rewrite to take in consideration pid is not cached anymore.
13819
13820 2016-11-24 Joseph Myers <joseph@codesourcery.com>
13821
13822 * bits/flt-eval-method.h: New file.
13823 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
13824 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
13825 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
13826 * math/Makefile (headers): Add bits/flt-eval-method.h.
13827 * math/math.h: Include <bits/flt-eval-method.h>.
13828 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
13829 [__USE_ISOC99] (double_t): Likewise.
13830 * bits/mathdef.h (float_t): Remove.
13831 (double_t): Likewise.
13832 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
13833 (double_t): Likewise.
13834 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
13835 (double_t): Likewise.
13836 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
13837 (double_t): Likewise.
13838 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
13839 (double_t): Likewise.
13840 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
13841 (double_t): Likewise.
13842 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
13843 (double_t): Likewise.
13844 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
13845 (double_t): Likewise.
13846 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
13847 (double_t): Likewise.
13848 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
13849 (double_t): Likewise.
13850 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
13851 (double_t): Likewise.
13852 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
13853 (double_t): Likewise.
13854 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
13855 (double_t): Likewise.
13856 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
13857 (double_t): Likewise.
13858
13859 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
13860
13861 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
13862 instead of PIC.
13863
13864 2016-11-23 Joseph Myers <joseph@codesourcery.com>
13865
13866 [BZ #20859]
13867 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
13868 (-0x7fffffff) instead of 0x80000001.
13869 * math/test-fp-ilogb-constants.c: New file.
13870 * math/Makefile (tests): Add test-fp-ilogb-constants.
13871
13872 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
13873
13874 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
13875 (_init): Use it in place of hardcoded R_MIPS_JALR.
13876 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
13877 (_init): Use it in place of hardcoded R_MIPS_JALR.
13878 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
13879 (_init): Use it in place of hardcoded R_MIPS_JALR.
13880
13881 2016-11-23 Joseph Myers <joseph@codesourcery.com>
13882
13883 [BZ #20787]
13884 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
13885 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
13886 (double_t): Do not define to double if [__x86_64__] when
13887 __FLT_EVAL_METHOD__ is nonzero.
13888 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
13889 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
13890 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13891 test-flt-eval-method-387 and test-flt-eval-method-sse.
13892 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
13893 variable.
13894 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
13895
13896 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
13897
13898 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
13899 use of -fno-isolate-erroneous-paths options for tilepro.
13900
13901 2016-11-23 Florian Weimer <fweimer@redhat.com>
13902
13903 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
13904 structure initialization is no longer needed.
13905
13906 2016-11-23 Joseph Myers <joseph@codesourcery.com>
13907
13908 [BZ #20855]
13909 * bits/mathdef.h (float_t): Define to float.
13910 * math/test-flt-eval-method.c: New file.
13911 * math/Makefile (tests): Add test-flt-eval-method.
13912 (CFLAGS-test-flt-eval-method.c): New variable.
13913
13914 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
13915
13916 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
13917 and __fstatfs. Make them aliases of __fstatfs64 if
13918 STATFS_IS_STATFS64 is set to non-zero.
13919 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
13920 and __statfs64.
13921 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
13922 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
13923 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
13924 for __statfs and statfs.
13925 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
13926 to 0.
13927 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
13928 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
13929 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
13930 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
13931 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
13932 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
13933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
13934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
13935 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
13936 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
13937 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
13938 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
13939
13940 2016-11-22 Andreas Schwab <schwab@suse.de>
13941
13942 * misc/mkstemp.c: Include <fcntl.h>.
13943 * misc/mkstemps.c: Likewise.
13944 * misc/mkostemp.c: Likewise.
13945 * misc/mkostemps.c: Likewise.
13946
13947 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
13948
13949 [BZ #20847]
13950 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
13951 array bounds.
13952 (__execvpe): Likewise.
13953
13954 2016-11-22 Joseph Myers <joseph@codesourcery.com>
13955
13956 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
13957 -fno-isolate-erroneous-paths options for tilepro.
13958
13959 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
13960
13961 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
13962 to 0 when in 32 bit mode.
13963 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
13964 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
13965 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
13966 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
13967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
13968 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
13969 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
13970 XSTAT_IS_XSTAT64 test.
13971 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
13972 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
13973 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
13974 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
13975 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
13976 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
13977 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
13978 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
13979 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
13980 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
13981 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
13982
13983 2016-11-19 Joseph Myers <joseph@codesourcery.com>
13984
13985 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13986 (setpayload): New declaration.
13987 * math/Versions (setpayload): New libm symbol at version
13988 GLIBC_2.25.
13989 (setpayloadf): Likewise.
13990 (setpayloadl): Likewise.
13991 * math/Makefile (libm-calls): Add s_setpayloadF.
13992 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
13993 test_Ff_b1_data.
13994 (RUN_TEST_Ff_b1): New macro.
13995 (RUN_TEST_LOOP_Ff_b1): Likewise.
13996 (canonicalize_test_data): Update type.
13997 (setpayload_test_data): New array.
13998 (setpayload_test): New function.
13999 (main): Call setpayload_test.
14000 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
14001 setpayloadf and setpayloadl.
14002 * manual/libm-err-tab.pl: Update comment on interfaces without
14003 ulps tabulated.
14004 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
14005 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
14006 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
14007 Likewise.
14008 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
14009 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
14010 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
14011 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
14012 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
14013 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
14014 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
14015 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
14016 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
14017 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14018 setpayload.
14019 (CFLAGS-nldbl-setpayload.c): New variable.
14020 * sysdeps/nacl/libm.abilist: Update.
14021 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14022 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14023 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14024 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14025 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14026 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14027 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14028 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14029 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14030 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14031 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14032 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14034 Likewise.
14035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14036 Likewise.
14037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14038 Likewise.
14039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14040 Likewise.
14041 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14042 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14043 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14044 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14045 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14046 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14047 Likewise.
14048 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14049 Likewise.
14050 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14051 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14052 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14053
14054 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14055
14056 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
14057 * include/unistd.h: Extend comment about __access_noerrno return
14058 semantics.
14059 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
14060 (access_common): Correct typo for EACCES.
14061
14062 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
14063
14064 * sysdeps/tile/math-tests.h: New file.
14065
14066 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
14067 (__old_set_dataplane): Rename from set_dataplane and make a
14068 compatibility symbol.
14069 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
14070 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
14071 sys/dataplane.h.
14072
14073 2016-11-18 Joseph Myers <joseph@codesourcery.com>
14074
14075 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
14076 script quote words in command output to log suitably for input to
14077 the shell.
14078
14079 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
14080 Maciej W. Rozycki <macro@imgtec.com>
14081
14082 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
14083 `.Lno_weak_fn' label.
14084 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
14085 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
14086
14087 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14088 Yury Norov <ynorov@caviumnetworks.com>
14089
14090 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
14091 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
14092 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14093 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
14094 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14095 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
14096 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14097 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14098 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14099 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
14100 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14101 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
14102 (sysdep_routines): Remove oldgetrlimit64.
14103 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
14104 (sysdep_routines): Likewise.
14105 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
14106 (sysdep_routines): Likewise.
14107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14108 [$(subdir) = resource] (sysdep_routines): Likewise.
14109 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
14110 [$(subdir) = resource] (sysdep_routines): Likewise.
14111 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
14112 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
14113 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
14114 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
14115 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
14116 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14117 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
14118 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
14119 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
14120 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
14121 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
14122 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
14123 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
14124 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
14125 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
14126 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
14127 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
14128 setrlimit and getrlimit.
14129 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
14130 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14131 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
14132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
14134 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14135 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
14136 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14137 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14138 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
14139 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
14140 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
14141 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
14142 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
14143 (__old_getrlimit64): Add compatibility symbol.
14144 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
14145
14146 2016-11-17 Joseph Myers <joseph@codesourcery.com>
14147
14148 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
14149 newly built gmp, mpfr and mpc.
14150
14151 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
14152
14153 2016-11-16 Joseph Myers <joseph@codesourcery.com>
14154
14155 * conform/Makefile (linknamespace-libs): Rename to
14156 linknamespace-libs-thr.
14157 (linknamespace-libs-posix): New variable.
14158 (linknamespace-libs-xsi): Likewise.
14159 (linknamespace-libs-XPG3): Include libcrypt.a.
14160 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
14161 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
14162 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
14163 (linknamespace-libs-XOPEN2K): Likewise.
14164 (linknamespace-libs-XOPEN2K8): Likewise.
14165 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
14166
14167 [BZ #20829]
14168 * stdio-common/Versions (__snprintf): Add to version
14169 GLIBC_PRIVATE.
14170 * include/stdio.h (__snprintf): Use libc_hidden_proto.
14171 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
14172 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
14173 of snprintf.
14174 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14175
14176 2016-11-16 Zack Weinberg <zackw@panix.com>
14177
14178 * string/string.h: Remove obsolete comment stating that
14179 strcoll_l and strxfrm_l have not yet been standardized.
14180
14181 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14182
14183 * hurd/hurd.h (__hurd_fail_noerrno): New function.
14184 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
14185 __access_noerrno.
14186 * io/access.c (__access_noerrno): New function.
14187 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
14188 (hurd_fail_seterrno): Likewise.
14189 (access_common): Likewise.
14190 (__access_noerrno): Likewise.
14191 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
14192 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
14193 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
14194 macro.
14195
14196 2016-11-16 Joseph Myers <joseph@codesourcery.com>
14197
14198 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
14199 Only declare fpregs if [__SH_FPU_ANY__].
14200
14201 2016-11-15 Joseph Myers <joseph@codesourcery.com>
14202
14203 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
14204 Make code unconditional.
14205 [!(__SH4__ || __SH4A__)]: Remove conditional code.
14206
14207 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
14208
14209 * manual/sysinfo.texi (S_APPEND): Delete.
14210 (S_IMMUTABLE): Likewise.
14211
14212 2016-11-15 Denis Kaganovich <mahatma@eu.by>
14213 Magnus Granberg <zorry@gentoo.org>
14214 Mike Frysinger <vapier@gentoo.org>
14215
14216 [BZ #20662]
14217 * configure.ac (libc_cv_predef_stack_protector): Also check for
14218 __stack_chk_fail_local symbols.
14219 * configure: Regenerated.
14220
14221 2016-11-15 Florian Weimer <fweimer@redhat.com>
14222
14223 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14224 (libc_hidden_def): Remove redefinition.
14225 (__sigsetjmp): Add hidden definition.
14226 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14227 (libc_hidden_def): Remove redefinition.
14228 (__sigsetjmp): Add hidden definition.
14229
14230 2016-11-14 Joseph Myers <joseph@codesourcery.com>
14231
14232 * scripts/build-many-glibcs.py (os.path): Do not import.
14233 (Context): Inherit explicitly from object. Remove blank line
14234 between class and docstring.
14235 (Config): Likewise.
14236 (Glibc): Likewise.
14237 (Command): Likewise.
14238 (CommandList): Likewise.
14239 (Context.write_files): Store chmod mode in a variable.
14240
14241 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
14242 LIBC_SLIBDIR_RTLDDIR for tilegx32.
14243 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
14244
14245 2016-11-14 Zack Weinberg <zackw@panix.com>
14246
14247 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
14248 creating or re-creating it.
14249
14250 * string/bits/string2.h: Fix typo in comment.
14251
14252 2016-11-14 Zack Weinberg <zackw@panix.com>
14253
14254 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
14255 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
14256 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
14257 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
14258 of redirected function names.
14259
14260 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
14261 as well. Document that MESSAGE must be a single string literal.
14262
14263 2016-11-11 Joseph Myers <joseph@codesourcery.com>
14264
14265 * scripts/build-many-glibcs.py: New file.
14266
14267 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
14268 (do_test): Disable -Wmaybe-uninitialized around uses of
14269 except_mask.
14270
14271 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
14272
14273 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
14274
14275 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
14276 (atomic_store_release): Provide tilepro-specific implementations.
14277
14278 2016-11-10 Joseph Myers <joseph@codesourcery.com>
14279
14280 * math/math.h (__MATH_TG): New macro.
14281 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
14282 [__USE_ISOC99] (signbit): Likewise.
14283 [__USE_ISOC99] (isfinite): Likewise.
14284 [__USE_ISOC99] (isnan): Likewise.
14285 [__USE_ISOC99] (isinf): Likewise.
14286 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
14287 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
14288 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
14289 __MATH_TG and __MATH_EVAL_FMT2.
14290 * sysdeps/generic/math_private.h (fabs_tg): Define using
14291 __MATH_TG.
14292 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
14293 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
14294 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
14295 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
14296 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
14297 macro.
14298 (__iscanonical): Likewise.
14299 (iscanonical): Define using __MATH_TG.
14300
14301 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14302
14303 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
14304 guards.
14305
14306 * sysdeps/unix/sysv/linux/access.c: New file.
14307 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
14308
14309 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
14310
14311 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
14312 and __WORDSIZE32_PTRDIFF_LONG.
14313
14314 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
14315
14316 * sysdeps/aarch64/libm-test-ulps: Regenerated.
14317
14318 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14319
14320 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
14321 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
14322 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
14323 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
14324 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
14325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
14326 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
14327 * sysdeps/unix/sysv/linux/truncate.c: New file.
14328 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
14329 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14330 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
14331 Remove.
14332 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
14333 Likewise.
14334
14335 * posix/tst-truncate-common.c: New file.
14336 * posix/tst-truncate.c: Use tst-truncate-common.c.
14337 * posix/tst-truncate64.c: Likewise and add LFS tests.
14338 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
14339 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
14340 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
14341 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
14342 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
14343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
14344 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
14345 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
14346 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
14347 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14348 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
14349 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
14350 Remove.
14351 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
14352 Likewise.
14353
14354 2016-11-08 Joseph Myers <joseph@codesourcery.com>
14355
14356 [BZ #20790]
14357 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
14358 to MAXLINESIZE.
14359 * sunrpc/bug20790.x: New file.
14360 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
14361 variable.
14362 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
14363 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
14364
14365 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
14366
14367 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
14368
14369 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
14370 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
14371 calloc, realloc, free, memalign and __libc_memalign rather than
14372 making them optional.
14373
14374 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
14375 for libc.so.
14376
14377 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14378
14379 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
14380 ptw-lseek64.
14381 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
14382 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
14383 Likewise.
14384 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
14385 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
14386 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
14387 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
14388 * sysdeps/unix/sysv/linux/lseek.c: New file.
14389 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
14390 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
14391 __libc_lseek64 from auto-generation.
14392 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14393 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
14394
14395 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14396
14397 * nptl/tst-basic1.c (tf, do_test): Use write_message.
14398 * nptl/tst-cleanup1.c (do_test): Likewise.
14399 * nptl/tst-cleanup3.c (do_test): Likewise.
14400 * nptl/tst-key1.c (do_test): Likewise.
14401 * nptl/tst-key2.c (tf, do_test): Likewise.
14402 * nptl/tst-key3.c (tf, do_test): Likewise.
14403 * nptl/tst-stdio1.c (do_test): Likewise.
14404 * nptl/tst-stdio2.c (do_test): Likewise.
14405
14406 * nptl/tst-kill3.c (handler): Use write_message in place of write.
14407 * nptl/tst-kill6.c (handler): Likewise.
14408 * nptl/tst-tls2.c (CB): Likewise.
14409 * nptl/tst-tls3.c (CB): Likewise.
14410
14411 2016-11-07 Joseph Myers <joseph@codesourcery.com>
14412
14413 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
14414
14415 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
14416 Steve Ellcey <sellcey@caviumnetworks.com>
14417
14418 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
14419 __ASSUME_ST_INO_64_BIT as 0
14420 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
14421 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
14422 over the code where __ASSUME_ST_INO_64_BIT is used.
14423 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
14424 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
14425 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14426
14427 2016-11-07 Florian Weimer <fweimer@redhat.com>
14428
14429 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14430 Document ABI exposure of the __kind offset.
14431 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14432 Mention reason for the __kind offset exposure in the ABI.
14433 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14434 Likewise.
14435 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14436 Likewise.
14437 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14438 Likewise.
14439 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
14440 (struct __pthread_mutex_s): Likewise.
14441 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14442 Likewise.
14443 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14444 Likewise.
14445 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14446 Likewise.
14447 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14448 Likewise.
14449 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14450 Likewise.
14451 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14452 Likewise.
14453 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
14454 (struct __pthread_mutex_s): Likewise.
14455 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14456 (struct __pthread_mutex_s): Likewise.
14457 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
14458 Likewise.
14459
14460 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
14461
14462 * test-skeleton.c: Document do_test usage.
14463
14464 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
14465
14466 * iconv/gconv.h (__gconv_info): Define __data element using a
14467 zero-length array.
14468
14469 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
14470
14471 * math/test-tgmath2.c: Split up test function.
14472
14473 2016-11-04 Joseph Myers <joseph@codesourcery.com>
14474
14475 * Rules (tests-expected): New variable, depending on
14476 $(run-built-tests).
14477 (tests): Pass $(tests-expected) to merge-test-results.sh, not
14478 $(tests).
14479
14480 * Rules [$(run-built-tests) = no] (tests): Do not depend on
14481 $(tests-unsupported).
14482
14483 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14484
14485 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
14486 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
14487
14488 2016-11-04 Joseph Myers <joseph@codesourcery.com>
14489
14490 [BZ #20768]
14491 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
14492 __fegetenv instead of fegetenv.
14493
14494 [BZ #14139]
14495 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
14496 (find_files): Obtain platform name from libm-test-ulps-name and
14497 store in %pplatforms.
14498 (canonicalize_platform): Remove.
14499 (print_platforms): Use $pplatforms directly.
14500 (by_platforms): Do not allow for platforms missing from
14501 %pplatforms.
14502 * sysdeps/aarch64/libm-test-ulps-name: New file.
14503 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
14504 * sysdeps/arm/libm-test-ulps-name: Likewise.
14505 * sysdeps/generic/libm-test-ulps-name: Likewise.
14506 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
14507 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
14508 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
14509 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
14510 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
14511 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
14512 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
14513 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
14514 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
14515 * sysdeps/nios2/libm-test-ulps-name: Likewise.
14516 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
14517 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
14518 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
14519 * sysdeps/sh/libm-test-ulps-name: Likewise.
14520 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
14521 * sysdeps/tile/libm-test-ulps-name: Likewise.
14522 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
14523
14524 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
14525
14526 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
14527 (test-xfail-check-execstack): New variable.
14528
14529 * sysdeps/mips/localplt.data: New file.
14530
14531 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
14532 Steve Ellcey <sellcey@caviumnetworks.com>
14533
14534 * bits/wordsize.h: Add documentation.
14535 * sysdeps/aarch64/bits/wordsize.h : New file
14536 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
14537 definitions.
14538 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
14539 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
14540 with #if instead of #ifdef.
14541 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
14542 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
14543 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
14544 Add or change defines.
14545 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
14546 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14547 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
14548 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
14549 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14550 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14551 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
14552 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
14553 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
14554 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14555 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
14556 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
14557 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
14558 * sysdeps/x86/bits/wordsize.h: Likewise.
14559
14560 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
14561 Kevin Petit <kevin.petit@arm.com>
14562
14563 * sysdeps/aarch64/memchr.S (__memchr): New file.
14564
14565 2016-11-04 Joseph Myers <joseph@codesourcery.com>
14566
14567 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
14568
14569 2016-11-03 Joseph Myers <joseph@codesourcery.com>
14570
14571 [BZ #19398]
14572 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
14573 $(linknamespace-symlists-tests).
14574
14575 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
14576
14577 * time/tst-strptime2.c: Ignore -Wformat-length warning.
14578
14579 2016-11-02 Florian Weimer <fweimer@redhat.com>
14580 Carlos O'Donell <carlos@redhat.com>
14581
14582 [Bug #20729]
14583 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
14584 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
14585 for -Os related change.
14586
14587 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
14588
14589 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
14590
14591 2016-11-01 Joseph Myers <joseph@codesourcery.com>
14592
14593 [BZ #19673]
14594 * manual/math.texi (Exponents and Logarithms): Correct description
14595 of clog10.
14596
14597 2016-10-31 Carlos O'Donell <carlos@redhat.com>
14598
14599 [Bz #20729]
14600 * locale/weight.h: Include libc-internal.h.
14601 * locale/weightwc.h: Likewise.
14602 * nptl/nptl_dbP.h: Likewise.
14603
14604 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
14605
14606 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
14607 when it is MACH_PORT_NULL.
14608
14609 2016-10-31 Andreas Schwab <schwab@suse.de>
14610
14611 [BZ #20707]
14612 * posix/glob.c (glob): Initialize pglob before checking for
14613 GLOB_BRACE. Don't call glob recursively if pattern contains no
14614 valid brace expression despite GLOB_BRACE.
14615 * posix/globtest.sh: Test it.
14616
14617 2016-10-28 Carlos O'Donell <carlos@redhat.com>
14618
14619 [BZ #20729]
14620 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
14621 Define.
14622 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
14623 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
14624 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
14625 for seq2.back_us and seq1.back_us only for -Os compiles.
14626 * locale/weightwc.h (findix): Likewise.
14627 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
14628 DB_GET_FIELD_ADDRESS only for -Os compiles.
14629 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
14630 for slen only for -Os compiles.
14631 * string/strcoll_l.c (get_next_seq): Ignore
14632 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
14633 for -Os compiles.
14634
14635 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
14636 * include/crypt.h: New file.
14637
14638 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14639
14640 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
14641 from test-skeleton.c.
14642 (statclass): Replace calls to write with calls to write_message.
14643
14644 2016-10-28 Joseph Myers <joseph@codesourcery.com>
14645
14646 * math/math.h
14647 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
14648 New macro.
14649 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
14650 Likewise.
14651 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
14652 Likewise.
14653 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
14654 SNANL.
14655 * math/test-double.h (snan_value_MACRO): New macro.
14656 * math/test-float.h (snan_value_MACRO): Likewise.
14657 * math/test-ldouble.h (snan_value_MACRO): Likewise.
14658 * math/libm-test.inc (issignaling_test_data): Add tests of
14659 snan_value_MACRO.
14660
14661 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14662
14663 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
14664 behavior when eliding a lock not held by the current thread.
14665 * sysdeps/powerpc/nptl/elide.h: Likewise.
14666
14667 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14668
14669 [BZ #20728]
14670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
14671 branch to _exit() by a function call.
14672
14673 2016-10-28 Florian Weimer <fweimer@redhat.com>
14674
14675 * malloc/malloc.c: Update chunk layout comments.
14676 (chunk_main_arena): Update comment.
14677
14678 2016-10-28 Florian Weimer <fweimer@redhat.com>
14679
14680 * crypt/sha256.c, crypt/sha256-block.c,
14681 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
14682 sha256_process_block to __sha256_process_block.
14683 * crypt/sha512.c, crypt/sha512-block.c,
14684 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
14685 sha512_process_block to __sha512_process_block.
14686
14687 2016-10-28 Carlos O'Donell <carlos@redhat.com>
14688
14689 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
14690
14691 * math/test-nan-overflow.c: Include stdlib.h for malloc.
14692
14693 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
14694
14695 [BZ #20019]
14696 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
14697 definition in unrelocated shared library.
14698 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14699
14700 2016-10-28 Florian Weimer <fweimer@redhat.com>
14701
14702 [BZ #20729]
14703 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
14704 * sysdeps/unix/sysv/linux/i386/Makefile
14705 (uses-6-syscall-arguments): Define.
14706 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
14707 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
14708 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
14709 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
14710 Likewise.
14711 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
14712 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
14713 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
14714 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
14715 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
14716 (CFLAGS-fallocate64.os): Likewise.
14717 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
14718 (CFLAGS-pthread_rwlock_timedrdlock.os)
14719 (CFLAGS-pthread_rwlock_timedwrlock.o)
14720 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
14721 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
14722 (CFLAGS-sem_timedwait.os): Likewise.
14723
14724 2016-10-28 Florian Weimer <fweimer@redhat.com>
14725
14726 * elf/tst-linkall-static.c: New file.
14727 * elf/Makefile (tests-static): Add tst-linkall-static.
14728 (tst-linkall-static): Link against static libraries.
14729
14730 2016-10-27 Florian Weimer <fweimer@redhat.com>
14731
14732 * malloc/malloc.c (sysmalloc): Initialize previous size field of
14733 mmaped chunks.
14734
14735 2016-10-28 Florian Weimer <fweimer@redhat.com>
14736
14737 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
14738 members to mchunk_prev_size, mchunk_size.
14739 (chunk_main_arena): Reverse sense and rename from
14740 chunk_non_main_arena.
14741 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
14742 mchunk_size instead of size.
14743 (set_non_main_arena): Define.
14744 (chunksize): Use chunksize_nomask instead of direct member access.
14745 (chunksize_nomask): Define.
14746 (next_chunk): Use chunksize instead of direct member access.
14747 (prev_size, set_prev_size): Define.
14748 (prev_chunk): Use prev_size instead of direct member access.
14749 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
14750 (inuse_bit_at_offset, set_inuse_bit_at_offset)
14751 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
14752 (mchunk_prev_size, mchunk_size): Poison tokens.
14753 (unlink): Use chunksize_nomask, prev_size accessors.
14754 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
14755 (do_check_free_chunk): Use prev_size accessor.
14756 (sysmalloc): Use set_prev_size, set_head accessors.
14757 (munmap_chunk, mremap_chunk): Use prev_size accessor.
14758 (__libc_free): Use chunksize_nomask accessor.
14759 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
14760 chunk_main_arena accessors.
14761 (_int_free): Use chunksize_nomask, prev_size accessors.
14762 (malloc_consolidate): Use chunksize, prev_size accessors.
14763 (_int_realloc): Use chunksize_nomask accessor.
14764 (_int_memalign): Use set_prev_size accessor.
14765 (__malloc_info): Use chunksize_nomask accessor.
14766 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
14767 accessors.
14768 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
14769 (heap_trim): Use chunksize_nomask, prev_size accessors.
14770
14771 2016-10-28 Joseph Myers <joseph@codesourcery.com>
14772
14773 [BZ #19380]
14774 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
14775 for inexact results.
14776 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
14777 of inexact result where mpfr_subnormalize is the only inexact
14778 step.
14779 * stdlib/tst-strtod-round-data.h: Regenerated.
14780 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
14781 Define to 0.
14782 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
14783
14784 2016-10-27 David S. Miller <davem@davemloft.net>
14785
14786 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
14787
14788 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
14789
14790 * malloc/malloc.c (do_set_mallopt_check): New function.
14791 (do_set_mmap_threshold): Likewise.
14792 (do_set_mmaps_max): Likewise.
14793 (do_set_top_pad): Likewise.
14794 (do_set_perturb_byte): Likewise.
14795 (do_set_trim_threshold): Likewise.
14796 (do_set_arena_max): Likewise.
14797 (do_set_arena_test): Likewise.
14798 (__libc_mallopt): Use them.
14799
14800 2016-10-26 Joseph Myers <joseph@codesourcery.com>
14801
14802 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14803 (canonicalize): New declaration.
14804 * math/Versions (canonicalize): New libm symbol at version
14805 GLIBC_2.25.
14806 (canonicalizef): Likewise.
14807 (canonicalizel): Likewise.
14808 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
14809 * math/s_canonicalize_template.c: New file.
14810 * math/libm-test.inc: Update comment on functions tested and
14811 testing of NaN payloads.
14812 (TEST_NAN_PAYLOAD): New macro.
14813 (NO_TEST_INLINE): Update value.
14814 (XFAIL_TEST): Likewise.
14815 (ERRNO_UNCHANGED): Likewise.
14816 (ERRNO_EDOM): Likewise.
14817 (ERRNO_ERANGE): Likewise.
14818 (IGNORE_RESULT): Likewise.
14819 (NON_FINITE): Likewise.
14820 (TEST_SNAN): Likewise.
14821 (NO_TEST_MATHVEC): Likewise.
14822 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
14823 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
14824 (struct test_Ffp_b1_data): New type.
14825 (RUN_TEST_Ffp_b1): New macro.
14826 (RUN_TEST_LOOP_Ffp_b1): Likewise.
14827 (canonicalize_test_data): New array.
14828 (canonicalize_test): New function.
14829 (main): Call canonicalize_test.
14830 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
14831 canonicalizef and canonicalizel.
14832 * manual/libm-err-tab.pl: Update comment on interfaces without
14833 ulps tabulated.
14834 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
14835 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
14836 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14837 canonicalize.
14838 (CFLAGS-nldbl-canonicalize.c): New variable.
14839 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
14840 to ...
14841 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
14842 ... here.
14843 (do_test): Also test canonicalizel.
14844 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
14845 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
14846 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
14847 file.
14848 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
14849 Use libm_hidden_def.
14850 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
14851 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
14852 (do_test): Also test canonicalizel.
14853 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
14854 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
14855 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
14856 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
14857 libm_hidden_def.
14858 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
14859 macro.
14860 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
14861 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
14862 * sysdeps/nacl/libm.abilist: Update.
14863 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14864 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14865 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14866 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14867 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14868 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14869 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14870 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14871 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14872 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14873 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14874 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14876 Likewise.
14877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14878 Likewise.
14879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14880 Likewise.
14881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14882 Likewise.
14883 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14884 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14885 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14886 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14887 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14889 Likewise.
14890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14891 Likewise.
14892 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14893 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14894 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14895
14896 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
14897 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14898 getpayload.
14899 (CFLAGS-nldbl-getpayload.c): New variable.
14900
14901 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14902
14903 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
14904 integer from the format string.
14905
14906 2016-10-26 Florian Weimer <fweimer@redhat.com>
14907
14908 [BZ #19473]
14909 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
14910 declarations.
14911 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
14912 weak aliases.
14913 * malloc/hooks.c (__malloc_get_state): Remove definition.
14914 (malloc_get_state): New stub implementation as
14915 compatibility symbol.
14916 (malloc_set_state): Rename from __malloc_set_state. Turn into
14917 compat symbol.
14918 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
14919 malloc_set_state.
14920 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
14921
14922 2016-10-26 Florian Weimer <fweimer@redhat.com>
14923
14924 * iconvdata/iso646.c (enum variant): Drop illegal_var.
14925 (names): Turn into concatenation of strings.
14926 (gconv_init): Adapt iteration over names.
14927
14928 2016-10-26 Florian Weimer <fweimer@redhat.com>
14929
14930 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
14931 make const.
14932 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
14933 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
14934 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
14935 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
14936 character in sbconv.
14937 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
14938 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
14939 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
14940
14941 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
14942
14943 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
14944
14945 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
14946 (M_TRIM_THRESHOLD): Likewise.
14947
14948 * manual/memory.texi (M_ARENA_TEST): Add documentation.
14949 (M_ARENA_MAX): Likewise.
14950 * malloc/malloc.c: Remove obsolete comment.
14951
14952 * manual/memory.texi: Add environment variable alternatives to
14953 setting mallopt parameters.
14954
14955 2016-10-26 Carlos O'Donell <carlos@redhat.com>
14956
14957 * include/atomic.h
14958 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
14959 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
14960
14961 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14962
14963 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
14964 * stdlib/tst-strfrom.h: New file.
14965 * stdlib/tst-strfrom.c: New file.
14966 * stdlib/tst-strfrom-locale.c: New file.
14967
14968 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
14969 * stdlib/bug-strtod2.c: Likewise.
14970 * stdlib/tst-strtod-round-skeleton.c: Likewise.
14971 * stdlib/tst-strtod6.c: Likewise.
14972 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
14973
14974 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14975
14976 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
14977 * manual/arith.texi: Document strfromd, strfromf, strfroml.
14978 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
14979 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
14980 * stdlib/stdlib.h (strfromd): New declaration.
14981 (strfromf): Likewise.
14982 (strfroml): Likewise.
14983 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
14984 strfrom.
14985 * stdlib/strfromd.c: New file.
14986 * stdlib/strfromf.c: Likewise.
14987 * stdlib/strfroml.c: Likewise.
14988 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
14989 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
14990 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
14991 * sysdeps/arm/nacl/libc.abilist: Update.
14992 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
14993 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14994 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14995 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14996 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14997 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14998 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14999 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15000 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15001 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15002 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15003 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15004 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15005 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
15007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
15008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15010 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15011 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15012 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15013 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15014 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15017 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15018 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15019 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15020
15021 2016-10-25 Joseph Myers <joseph@codesourcery.com>
15022
15023 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
15024 instead of cmpli.
15025 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
15026 instead of cmpli.
15027
15028 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
15029
15030 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
15031 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
15032 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
15033 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15034 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15035 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15036
15037 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15038
15039 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
15040 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15041 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
15042 SYSCALL_LL64_PRW.
15043 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15044 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
15045 __ASSUME_PRW_DUMMY_ARG.
15046 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
15047 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15048 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15049 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15050 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
15051 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
15052
15053 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
15054
15055 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
15056
15057 2016-10-22 Florian Weimer <fweimer@redhat.com>
15058
15059 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
15060 "C++", to override a potential extern "C" directive around the
15061 header file inclusion.
15062
15063 2016-10-21 Joseph Myers <joseph@codesourcery.com>
15064
15065 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
15066
15067 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15068
15069 * sysdeps/powerpc/fpu/fenv_private.h:
15070 (_FPU_MASK_ALL): Rename to...
15071 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
15072 XE FPSCR bits.
15073
15074 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
15075
15076 (_FPU_MASK_ROUNDING): Rename to...
15077 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
15078 NI bits.
15079
15080 (_FPU_MASK_EXCEPT_ROUND): Rename to...
15081 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
15082 bits and rounding bits.
15083
15084 (__libc_feholdbits_ppc): New inline function to mask, set,
15085 and pontentially clear FSPCR bits, and change MSR[FE] bits.
15086 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
15087 (libc_feholdexcept_setround_ppc): Likewise.
15088
15089 (__libc_femergeenv_ppc): New function to dynamically mask both
15090 old and new FP environments and merge.
15091 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
15092 (libc_feresetround_ppc): Likewise.
15093 (libc_feupdateenv_test_ppc): Likewise.
15094 (libc_feupdateenv_ppc): Likewise.
15095
15096 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
15097 of ISA RN bits, and update macro names.
15098 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
15099 effectively the same as the previously mentioned function.
15100
15101 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
15102 usage with fe_resetround_ppc.
15103
15104 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
15105 to be used.
15106 (libc_feholdexcept_setround_ctxf): Likewise.
15107 (libc_feholdexcept_setround_ctxl): Likewise.
15108
15109 2016-10-21 Florian Weimer <fweimer@redhat.com>
15110
15111 [BZ #20715]
15112 * math/math.h [__cplusplus] (iszero): Define as function template.
15113 * math/Makefile [CXX] (tests): Add test-math-iszero.
15114 (CFLAGS-test-math-iszero.cc): Set.
15115 * math/test-math-iszero.cc: New file.
15116
15117 2016-10-20 Joseph Myers <joseph@codesourcery.com>
15118
15119 [BZ #20660]
15120 * sysdeps/arm/e_sqrt.c: New file.
15121 * sysdeps/arm/e_sqrtf.c: Likewise.
15122
15123 2016-10-19 Joseph Myers <joseph@codesourcery.com>
15124
15125 [BZ #20718]
15126 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
15127 not use floating-point comparisons to test sign.
15128 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
15129 Likewise.
15130
15131 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15132 (getpayload): New declaration.
15133 * math/Versions (getpayload): New libm symbol at version
15134 GLIBC_2.25.
15135 (getpayloadf): Likewise.
15136 (getpayloadl): Likewise.
15137 * math/Makefile (libm-calls): Add s_getpayloadF.
15138 * math/libm-test.inc: Include <nan-high-order-bit.h>.
15139 (struct test_f_f_data): Add comment.
15140 (RUN_TEST_fp_f): New macro.
15141 (RUN_TEST_LOOP_fp_f): Likewise.
15142 (getpayload_test_data): New array.
15143 (getpayload_test): New function.
15144 (main): Call getpayload_test.
15145 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
15146 descriptor.
15147 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
15148 getpayloadf and getpayloadl.
15149 * manual/libm-err-tab.pl: Update comment on interfaces without
15150 ulps tabulated.
15151 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
15152 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
15153 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
15154 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
15155 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
15156 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
15157 * sysdeps/nacl/libm.abilist: Update.
15158 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15159 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15160 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15161 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15162 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15163 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15164 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15165 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15166 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15167 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15168 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15169 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15171 Likewise.
15172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15173 Likewise.
15174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15175 Likewise.
15176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15177 Likewise.
15178 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15179 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15180 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15181 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15182 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15183 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15184 Likewise.
15185 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15186 Likewise.
15187 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15188 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15189 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15190
15191 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15192
15193 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
15194 tst-fallocate{64}.
15195 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
15196 on syscall return.
15197
15198 2016-10-17 Carlos O'Donell <carlos@redhat.com>
15199
15200 [BZ #20689]
15201 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
15202 usable.
15203
15204 2016-10-17 Joseph Myers <joseph@codesourcery.com>
15205
15206 * sysdeps/generic/nan-high-order-bit.h: New file.
15207 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
15208 * sysdeps/mips/nan-high-order-bit.h: Likewise.
15209 * sysdeps/hppa/math_private.h: Remove file.
15210 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
15211 not define here.
15212 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
15213 <nan-high-order-bit.h>.
15214 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15215 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
15216 <nan-high-order-bit.h>.
15217 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15218 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
15219 <nan-high-order-bit.h>.
15220 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15221 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
15222 <nan-high-order-bit.h>.
15223 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15224 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
15225 <nan-high-order-bit.h>.
15226 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15227 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
15228 <nan-high-order-bit.h>.
15229 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15230 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
15231 <nan-high-order-bit.h>.
15232 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15233 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
15234 <nan-high-order-bit.h>.
15235 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15236 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
15237 <nan-high-order-bit.h>.
15238 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15239 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
15240 <nan-high-order-bit.h>.
15241 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15242 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
15243 <nan-high-order-bit.h>.
15244 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15245 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
15246 <nan-high-order-bit.h>.
15247 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15248 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
15249 <nan-high-order-bit.h>.
15250 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15251 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
15252 <nan-high-order-bit.h>.
15253 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15254 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
15255 <nan-high-order-bit.h>.
15256 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15257 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
15258 <nan-high-order-bit.h>.
15259 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15260 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
15261 <nan-high-order-bit.h>.
15262 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15263 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
15264 <nan-high-order-bit.h>.
15265 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15266
15267 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
15268
15269 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
15270
15271 2016-09-22 John David Anglin <dave.anglin@bell.net>
15272
15273 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
15274 abort-instr.h.
15275 (EFAULT): Remove conditional define.
15276 (ENOSYS): Likewise.
15277 (atomic_compare_and_exchange_val_acq): Use instruction nullification
15278 instead of conditional branch instructions.
15279
15280 2016-10-15 Joseph Myers <joseph@codesourcery.com>
15281
15282 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15283 (totalordermag): New declaration.
15284 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
15285 New macro.
15286 * math/Versions (totalordermag): New libm symbol at version
15287 GLIBC_2.25.
15288 (totalordermagf): Likewise.
15289 (totalordermagl): Likewise.
15290 * math/Makefile (libm-calls): Add s_totalordermagF.
15291 * math/libm-test.inc (totalordermag_test_data): New array.
15292 (totalordermag_test): New function.
15293 (main): Call totalordermag_test.
15294 * math/test-tgmath.c (NCALLS): Increase to 125.
15295 (F(compile_test)): Call totalordermag.
15296 (F(totalordermag)): New function.
15297 * manual/arith.texi (FP Comparison Functions): Document
15298 totalordermag, totalordermagf and totalordermagl.
15299 * manual/libm-err-tab.pl: Update comment on interfaces without
15300 ulps tabulated.
15301 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
15302 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
15303 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
15304 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
15305 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
15306 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
15307 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
15308 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15309 totalordermag.
15310 (CFLAGS-nldbl-totalordermag.c): New variable.
15311 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
15312 (do_test): Also test totalordermagl.
15313 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
15314 Likewise.
15315 * sysdeps/nacl/libm.abilist: Update.
15316 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15317 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15318 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15319 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15320 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15321 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15322 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15323 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15324 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15325 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15326 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15327 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15329 Likewise.
15330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15331 Likewise.
15332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15333 Likewise.
15334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15335 Likewise.
15336 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15337 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15338 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15339 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15340 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15341 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15342 Likewise.
15343 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15344 Likewise.
15345 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15346 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15347 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15348
15349 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
15350
15351 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
15352 boolean.
15353
15354 2016-10-13 Joseph Myers <joseph@codesourcery.com>
15355
15356 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
15357 raising FE_INVALID with feraisexcept in case where part of
15358 argument is infinite, subtract that part of argument from itself.
15359 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
15360 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
15361 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15362
15363 2016-10-12 Joseph Myers <joseph@codesourcery.com>
15364
15365 * math/libm-test.inc (totalorder_test_data): Add more tests.
15366
15367 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
15368
15369 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
15370 Undefine weak_alias and add a comment why mips64 require
15371 versioning.
15372
15373 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
15374
15375 [BZ #20647]
15376 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
15377 maximum CPUID level is less than 2.
15378
15379 2016-10-12 Joseph Myers <joseph@codesourcery.com>
15380
15381 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15382 (totalorder): New declaration.
15383 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
15384 New macro.
15385 * math/Versions (totalorder): New libm symbol at version
15386 GLIBC_2.25.
15387 (totalorderf): Likewise.
15388 (totalorderl): Likewise.
15389 * math/Makefile (libm-calls): Add s_totalorderF.
15390 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
15391 string.
15392 * math/libm-test.inc (PAYLOAD_DIG): New macro.
15393 (qnan_value_pl): Likewise.
15394 (snan_value_pl): Likewise.
15395 (qnan_value): Define using qnan_value_pl.
15396 (snan_value): Define using snan_value_pl.
15397 (struct test_ff_i_data): Add comment about which tests use this
15398 structure.
15399 (RUN_TEST_ff_b): New macro.
15400 (RUN_TEST_LOOP_ff_b): Likewise.
15401 (totalorder_test_data): New array.
15402 (totalorder_test): New function.
15403 (main): Call totalorder_test.
15404 * math/test-tgmath.c (NCALLS): Increase to 122.
15405 (F(compile_test)): Call totalorder.
15406 (F(totalorder)): New function.
15407 * manual/arith.texi (FP Comparison Functions): Document
15408 totalorder, totalorderf and totalorderl.
15409 * manual/libm-err-tab.pl: Update comment on interfaces without
15410 ulps tabulated.
15411 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
15412 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
15413 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
15414 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
15415 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
15416 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
15417 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
15418 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15419 totalorder.
15420 (CFLAGS-nldbl-totalorder.c): New variable.
15421 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
15422 file.
15423 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15424 Add test-totalorderl-ldbl-128ibm.
15425 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
15426 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
15427 test-totalorderl-ldbl-96.
15428 * sysdeps/nacl/libm.abilist: Update.
15429 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15430 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15431 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15432 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15433 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15434 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15435 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15436 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15437 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15438 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15439 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15440 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15442 Likewise.
15443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15444 Likewise.
15445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15446 Likewise.
15447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15448 Likewise.
15449 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15450 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15451 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15452 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15453 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15454 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15455 Likewise.
15456 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15457 Likewise.
15458 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15459 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15460 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15461
15462 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15463
15464 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
15465 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
15466 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
15467 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
15468 remove ENOSYS implementation.
15469 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
15470 Consolidate all Linux implementations.
15471
15472 2016-10-11 Florian Weimer <fweimer@redhat.com>
15473
15474 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
15475 * resolv/herror.c (herror): Cast away const-ness.
15476 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
15477 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
15478
15479 2016-10-11 Joseph Myers <joseph@codesourcery.com>
15480
15481 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
15482 instead of M_NAN + M_NAN.
15483 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15484
15485 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15486
15487 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
15488 unused variable 'p'.
15489
15490 2016-10-09 Alan Modra <amodra@gmail.com>
15491 Andreas Schwab <schwab@linux-m68k.org>
15492
15493 [BZ #20554]
15494 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
15495 [PIC && !SHARED]: Set up PIC register for PLT call.
15496
15497 2016-10-07 Joseph Myers <joseph@codesourcery.com>
15498
15499 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
15500 conditional on value of [__FLT_EVAL_METHOD__].
15501 * math/test-iseqsig-excess-precision.c: New file.
15502 * math/Makefile (tests): Add test-iseqsig-excess-precision.
15503
15504 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15505
15506 * math/s_iseqsig_template.c: Include math-private.h.
15507
15508 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
15509 * posix/tst-posix_fadvise.c: New file.
15510 * posix/tst-posix_fadvise64.c: Likewise.
15511 * posix/tst-posix_fadvise-common.c: Likewise.
15512 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15513 (__ASSUME_FADVISE64_64_6ARG): Define.
15514 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15515 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
15516 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15517 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
15518 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
15519 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
15520 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
15521 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
15522 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
15523 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
15524 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
15525 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
15526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
15527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
15528 Likewise.
15529 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
15530 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
15531 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
15532 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15533 Alias to __posix_fadvise64_l32.
15534 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
15535 Add compat definition to posix_fadvise64.
15536 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15537 Add versioned definition to posix_fadvise64.
15538 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
15539 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
15540 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
15541 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
15542 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
15543
15544 * io/Makefile (tests): Add tst-posix_fallocate and
15545 tst-posix_fallocate64.
15546 * io/tst-posix_fallocate-common.c: New file.
15547 * io/tst-posix_fallocate.c: Likewise.
15548 * io/tst-posix_fallocate64.c: Likewise.
15549 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
15550 file.
15551 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
15552 Likewise.
15553 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
15554 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
15555 Likewise.
15556 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
15557 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
15558 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
15559 SYSCALL_LL to pass both offset and len arguments.
15560 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
15561 Likewise.
15562 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
15563 __libc_pwrite64 alias used by posix_fallocate64.
15564
15565 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15566 tst-fallocate64.
15567 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15568 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15569 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15570 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15571 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15572 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15573 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15574 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15575 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15576 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15577 macro on offset argument.
15578 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15579 SYSCALL_LL64 on offset argument.
15580
15581 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15582 tst-fallocate64.
15583 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15584 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15585 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15586 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15587 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15588 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15589 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15590 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15591 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15592 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15593 macro on offset argument.
15594 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15595 SYSCALL_LL64 on offset argument.
15596 * test-skeleton.c (FAIL_RET): Add macro.
15597 (FAIL_EXIT): Likewise.
15598 (FAIL_EXIT1): Likewise.
15599 (_FAIL): Likewise.
15600
15601 2016-10-07 Florian Weimer <fweimer@redhat.com>
15602
15603 [BZ #20629]
15604 resolv: Remove RES_USEBSTRING and its implementation.
15605 * resolv/resolv.h (RES_USEBSTRING): Remove.
15606 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
15607 (digitvalue, encode_bitstring, decode_bitstring): Remove.
15608 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
15609 (labellen): Remove extended label types support.
15610 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
15611 * resolv/res_init.c (res_setoptions): Likewise.
15612 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15613
15614 2016-10-07 Florian Weimer <fweimer@redhat.com>
15615
15616 resolv: Remove RES_NOIP6DOTINT and its implementation.
15617 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
15618 (RES_NOIP6DOTINT): Remove.
15619 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
15620 handling.
15621 * resolv/res_debug.c (p_option): Likewise.
15622 * resolv/res_init.c (res_setoptions): Likewise.
15623 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15624
15625 2016-10-07 Florian Weimer <fweimer@redhat.com>
15626
15627 resolv: Deprecate unimplemented flags.
15628 * misc/sys/cdefs.h (__glibc_macro_warning1)
15629 (__glibc_macro_warning): Define.
15630 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
15631 (RES_KEEPTSIG): Mark as deprecated.
15632 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
15633 RES_NOCHECKNAME, RES_KEEPTSIG.
15634 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
15635
15636 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15637
15638 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
15639 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
15640 Use strong_alias to create symbols for glibc verison 2.19.
15641
15642 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15643
15644 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
15645
15646 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15647
15648 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
15649
15650 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15651
15652 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
15653
15654 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15655
15656 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15657 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
15658 in header for using it as type for ifunc function because __GI_* symbols
15659 for ppc32 do not target the ifunc symbols.
15660 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15661
15662 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15663
15664 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
15665 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
15666 libc_ifunc_hidden_def.
15667 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
15668 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
15669 Redirect ifunced function in header for using it as type of ifunc'ed
15670 function. Redefine libc_hidden_def to use fallback non ifunc'ed
15671 function for __GI_* symbol.
15672 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
15673 * include/libc-symbols.h
15674 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
15675
15676 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15677
15678 [BZ #20478]
15679 * sysdeps/s390/multiarch/ifunc-resolve.h
15680 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
15681 to create ifunc symbols.
15682 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
15683 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
15684 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
15685 for using it as type for ifunc function.
15686 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
15687 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15688 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
15689 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
15690 * sysdeps/s390/multiarch/strcat.c: Likewise.
15691 * sysdeps/s390/multiarch/strchr.c: Likewise.
15692 * sysdeps/s390/multiarch/strcmp.c: Likewise.
15693 * sysdeps/s390/multiarch/strcpy.c: Likewise.
15694 * sysdeps/s390/multiarch/strcspn.c: Likewise.
15695 * sysdeps/s390/multiarch/strlen.c: Likewise.
15696 * sysdeps/s390/multiarch/strncmp.c: Likewise.
15697 * sysdeps/s390/multiarch/strncpy.c: Likewise.
15698 * sysdeps/s390/multiarch/strnlen.c: Likewise.
15699 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15700 * sysdeps/s390/multiarch/strrchr.c: Likewise.
15701 * sysdeps/s390/multiarch/strspn.c: Likewise.
15702 * sysdeps/s390/multiarch/wcschr.c: Likewise.
15703 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
15704 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15705 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
15706 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15707 * sysdeps/s390/multiarch/wmemset.c: Likewise.
15708 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
15709 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
15710 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
15711 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
15712 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
15713 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
15714
15715 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15716
15717 * include/libc-symbols.h (__ifunc_resolver):
15718 New macro is used by __ifunc* macros.
15719 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
15720 depending on HAVE_GCC_IFUNC.
15721 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
15722 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
15723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
15724 Redirect ifunced function in header for using as type for ifunc function.
15725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
15726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
15727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
15728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
15729 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
15730 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
15731 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
15732 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
15733 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
15734 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
15735 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
15736 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
15737 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
15738 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
15739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
15740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
15741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
15742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
15743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
15744 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
15745 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
15746 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
15747 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
15748 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
15749 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
15750 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
15751 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
15752 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
15753 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
15754 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
15755 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
15756 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
15757 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
15758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
15759 Add libc_hidden_def() and use libc_ifunc_hidden() macro
15760 instead of libc_ifunc() macro.
15761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
15762 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
15763
15764 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15765
15766 * config.h.in (HAVE_GCC_IFUNC): New undef.
15767 * configure.ac: Add check if gcc supports attribute ifunc feature.
15768 * configure: Regenerated.
15769 * manual/install.texi: Add recommendation for gcc with
15770 indirect-function support.
15771 * INSTALL: Regenerated.
15772
15773 2016-10-06 Joseph Myers <joseph@codesourcery.com>
15774
15775 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
15776 macro.
15777 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15778 (__iseqsig): New declaration.
15779 * math/s_iseqsig_template.c: New file.
15780 * math/Versions (__iseqsigf): New libm symbol at version
15781 GLIBC_2.25.
15782 (__iseqsig): Likewise.
15783 (__iseqsigl): Likewise.
15784 * math/libm-test.inc (iseqsig_test_data): New array.
15785 (iseqsig_test): New function.
15786 (main): Call iseqsig_test.
15787 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
15788 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
15789 * manual/libm-err-tab.pl: Update comment on interfaces without
15790 ulps tabulated.
15791 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
15792 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
15793 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
15794 * sysdeps/nacl/libm.abilist: Update.
15795 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15796 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15797 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15798 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15799 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15800 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15801 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15802 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15803 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15804 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15805 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15806 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15808 Likewise.
15809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15810 Likewise.
15811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15812 Likewise.
15813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15814 Likewise.
15815 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15816 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15817 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15818 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15819 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15821 Likewise.
15822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15823 Likewise.
15824 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15825 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15826 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15827
15828 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
15829
15830 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
15831 do_sincos_2, sloww, sloww1): Update comments.
15832
15833 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
15834 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
15835
15836 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
15837 K boolean and rename it.
15838 (__sin): Adjust.
15839 (__cos): Adjust.
15840
15841 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
15842 Siddhesh Poyarekar <siddhesh@sourceware.org>
15843
15844 * manual/nss.texi: Fix typos in the manual.
15845
15846 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
15847
15848 * manual/contrib.texi: Fix typos in the manual.
15849
15850 * manual/maint.texi: Fix typos in the manual.
15851
15852 * manual/install.texi: Fix typos in the manual.
15853 * INSTALL: Regenerated.
15854
15855 * manual/lang.texi: Fix typos in the manual.
15856
15857 * manual/probes.texi: Fix typos in the manual.
15858
15859 * manual/threads.texi: Fix typos in the manual.
15860
15861 * manual/debug.texi: Fix typos in the manual.
15862
15863 * manual/crypt.texi: Fix typos in the manual.
15864
15865 * manual/conf.texi: Fix typos in the manual.
15866
15867 * manual/sysinfo.texi: Fix typos in the manual.
15868
15869 * manual/users.texi: Fix typos in the manual.
15870
15871 * manual/job.texi: Fix typos in the manual.
15872
15873 * manual/process.texi: Fix typos in the manual.
15874
15875 * manual/argp.texi: Fix typos in the manual.
15876 * manual/getopt.texi: Likewise.
15877 * manual/startup.texi: Likewise.
15878
15879 * manual/signal.texi: Fix typos in the manual.
15880
15881 * manual/setjmp.texi: Fix typos in the manual.
15882
15883 * manual/resource.texi: Fix typos in the manual.
15884
15885 * manual/time.texi: Fix typos in the manual.
15886
15887 * manual/arith.texi: Fix typos in the manual.
15888
15889 * manual/math.texi: Fix typos in the manual.
15890
15891 * manual/syslog.texi: Fix typos in the manual.
15892
15893 * manual/terminal.texi: Fix typos in the manual.
15894
15895 * manual/socket.texi: Fix typos in the manual.
15896
15897 * manual/filesys.texi: Fix typos in the manual.
15898
15899 * manual/llio.texi: Fix typos in the manual.
15900
15901 * manual/stdio.text: Fix typos in the manual.
15902
15903 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
15904
15905 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
15906 instead of K1.
15907
15908 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
15909 SHIFT_QUADRANT and make it bool.
15910 (do_sincos_2): Likewise.
15911 (sloww): Likewise.
15912 (sloww1): Likewise.
15913 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
15914 (__cos): Likewise.
15915
15916 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15917
15918 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
15919
15920 2016-10-04 Joseph Myers <joseph@codesourcery.com>
15921
15922 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
15923 Define to __WORDSIZE, not conditional on [LONG_MAX ==
15924 0x7fffffffL].
15925 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
15926
15927 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15928
15929 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
15930 inline by __inline__.
15931 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
15932 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
15933 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
15934 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
15935 sigset_t from signal.h.
15936 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
15937 which is already required.
15938
15939 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
15940
15941 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15942
15943 2016-10-03 Joseph Myers <joseph@codesourcery.com>
15944
15945 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
15946 (struct tcp_repair_window): New type.
15947
15948 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15949
15950 * libio/tst-memstream3.c: Include string.h.
15951
15952 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15953
15954 [BZ #18241]
15955 [BZ #20181]
15956 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
15957 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
15958 write position is at the end the buffer.
15959 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
15960 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
15961 (_IO_str_seekoff): Set correct offset from negative displacement and
15962 set EINVAL for invalid ones.
15963 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
15964 buffer length.
15965 (_IO_wstr_switch_to_get_mode): New function.
15966 (_IO_wstr_seekoff): Set correct offset from negative displacement and
15967 set EINVAL for invalid ones.
15968 * libio/tst-memstream3.c: New file.
15969 * libio/tst-wmemstream3.c: Likewise.
15970 * manual/examples/memstrm.c: Remove warning when priting size_t.
15971
15972 2016-09-30 Joseph Myers <joseph@codesourcery.com>
15973
15974 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
15975 macro to use __builtin_fma.
15976 * sysdeps/x86_64/fpu/dla.h: Remove file.
15977
15978 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
15979 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
15980 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
15981
15982 2016-09-30 Carlos O'Donell <carlos@redhat.com>
15983
15984 [BZ #20292]
15985 * elf/Makefile (routines): Add dl-addr-obj.
15986 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
15987 tst-_dl_addr_inside_object.
15988 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
15989 [ifeq (yesyes,$(have-fpie)$(build-shared))]
15990 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
15991 [ifeq (yesyes,$(have-fpie)$(build-shared))]
15992 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
15993 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
15994 * elf/dl-open.c: Likewise.
15995 * elf/dl-addr-obj.c: New file.
15996 * elf/tst-_dl_addr_inside_object.c: New file.
15997
15998 2016-09-30 Joseph Myers <joseph@codesourcery.com>
15999
16000 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
16001 <bits/iscanonical.h>.
16002 * bits/iscanonical.h: New file.
16003 * math/s_iscanonicall.c: Likewise.
16004 * math/Versions (__iscanonicall): New libm symbol at version
16005 GLIBC_2.25.
16006 * math/libm-test.inc (iscanonical_test_data): New array.
16007 (iscanonical_test): New function.
16008 (main): Call iscanonical_test.
16009 * math/Makefile (headers): Add bits/iscanonical.h.
16010 (type-ldouble-routines): Add s_iscanonicall.
16011 * manual/arith.texi (Floating Point Classes): Document
16012 iscanonical.
16013 * manual/libm-err-tab.pl: Update comment on interfaces without
16014 ulps tabulated.
16015 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
16016 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
16017 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
16018 Likewise.
16019 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
16020 test-iscanonical-ldbl-128ibm.
16021 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
16022 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
16023 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
16024 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
16025 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
16026 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16027 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16029 Likewise.
16030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16031 Likewise.
16032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16033 Likewise.
16034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16035 Likewise.
16036 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16037 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16038
16039 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16040
16041 * string/bits/string3.h: Remove C++ style comments.
16042
16043 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
16044
16045 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
16046 instead of ternary condition.
16047 (do_sincos_2): Likewise.
16048 (__sin): Likewise.
16049 (__cos): Likewise.
16050 (slow): Likewise.
16051 (sloww): Likewise.
16052 (sloww1): Likewise.
16053 (bsloww): Likewise.
16054 (bsloww1): Likewise.
16055
16056 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
16057 instead of ternary condition.
16058 (do_sin_slow): Likewise.
16059 (do_sincos_1): Likewise.
16060 (do_sincos_2): Likewise.
16061 (__cos): Likewise.
16062 (sloww): Likewise.
16063 (sloww1): Likewise.
16064 (sloww2): Likewise.
16065 (bsloww): Likewise.
16066 (bsloww1): Likewise.
16067 (bsloww2): Likewise.
16068
16069 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
16070 check from here...
16071 (slow2): ... and here...
16072 (__sin): ... to here.
16073
16074 2016-09-28 Joseph Myers <joseph@codesourcery.com>
16075
16076 * math/math.h
16077 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
16078 Cast argument to its own type.
16079 * math/test-iszero-excess-precision.c: New file.
16080 * math/Makefile (tests): Add test-iszero-excess-precision.
16081 (CFLAGS-test-iszero-excess-precision.c): New variable.
16082
16083 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
16084
16085 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
16086 field, add err field.
16087 (__spawni_child): Report error through err member instead of pipe.
16088 (__spawnix): Likewise.
16089
16090 2016-09-28 Zack Weinberg <zackw@panix.com>
16091
16092 * scripts/check-installed-headers.sh: Generalize treatment of
16093 sys/elf.h to all target architectures.
16094
16095 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
16096 deleted typedef ucontext_t.
16097
16098 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16099
16100 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
16101 (__INTERNAL_SYSCALL1): Likewise.
16102 (__INTERNAL_SYSCALL2): Likewise.
16103 (__INTERNAL_SYSCALL3): Likewise.
16104 (__INTERNAL_SYSCALL4): Likewise.
16105 (__INTERNAL_SYSCALL5): Likewise.
16106 (__INTERNAL_SYSCALL6): Likewise.
16107 (__INTERNAL_SYSCALL7): Likewise.
16108 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
16109 (__INTERNAL_SYSCALL_NARGS): Likewise.
16110 (__INTERNAL_SYSCALL_DISP): Likewise.
16111 (INTERNAL_SYSCALL_CALL): Likewise.
16112 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
16113 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
16114 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
16115 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
16116 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
16117 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
16118 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
16119 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
16120 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
16121 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
16122 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
16123 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
16124 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
16125
16126 2016-09-23 Joseph Myers <joseph@codesourcery.com>
16127
16128 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
16129 macro.
16130 * math/libm-test.inc (iszero_test_data): New array.
16131 (iszero_test): New function.
16132 (main): Call iszero_test.
16133 * manual/arith.texi (Floating Point Classes): Document iszero.
16134 * manual/libm-err-tab.pl: Update comment on interfaces without
16135 ulps tabulated.
16136
16137 2016-09-23 Zack Weinberg <zackw@panix.com>
16138
16139 * scripts/check-installed-headers.sh: New script.
16140 * Rules: In each directory that defines header files to be installed,
16141 run check-installed-headers.sh on them as a special test.
16142 * Makefile: Likewise for the headers installed at top level.
16143
16144 * include/aliases.h, include/alloca.h, include/argz.h
16145 * include/arpa/nameser.h, include/arpa/nameser_compat.h
16146 * include/elf.h, include/envz.h, include/err.h
16147 * include/execinfo.h, include/fpu_control.h, include/getopt.h
16148 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
16149 * include/link.h, include/malloc.h, include/mcheck.h
16150 * include/mntent.h, include/netinet/ether.h
16151 * include/nss.h, include/obstack.h, include/printf.h
16152 * include/pty.h, include/resolv.h, include/rpc/auth.h
16153 * include/rpc/auth_des.h, include/rpc/auth_unix.h
16154 * include/rpc/clnt.h, include/rpc/des_crypt.h
16155 * include/rpc/key_prot.h, include/rpc/netdb.h
16156 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
16157 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
16158 * include/rpc/rpc_msg.h, include/rpc/svc.h
16159 * include/rpc/svc_auth.h, include/rpc/xdr.h
16160 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
16161 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
16162 * include/rpcsvc/ypupd.h, include/shadow.h
16163 * include/stdio_ext.h, include/sys/epoll.h
16164 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
16165 * include/sys/prctl.h, include/sys/profil.h
16166 * include/sys/statfs.h, include/sys/sysctl.h
16167 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
16168 * sysdeps/arm/nacl/include/bits/setjmp.h
16169 * sysdeps/mips/include/sys/asm.h
16170 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
16171 * sysdeps/unix/sysv/linux/include/sys/timex.h
16172 * sysdeps/x86/fpu/include/bits/fenv.h:
16173 Add #ifndef _ISOMAC guard around internal declarations.
16174 Add multiple-inclusion guard if not already present.
16175
16176 2016-09-23 Zack Weinberg <zackw@panix.com>
16177
16178 * sysdeps/generic/sys/ucontext.h
16179 * sysdeps/arm/sys/ucontext.h
16180 * sysdeps/i386/sys/ucontext.h
16181 * sysdeps/m68k/sys/ucontext.h
16182 * sysdeps/mips/sys/ucontext.h
16183 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
16184 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
16185 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
16186 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
16187 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
16188 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
16189 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
16190 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
16191 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
16192 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
16193 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
16194 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
16195 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
16196 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
16197 Include both bits/sigcontext.h and bits/sigstack.h.
16198 Fix grammar error in comment, if present.
16199
16200 * bits/sigstack.h
16201 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
16202 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
16203 * sysdeps/unix/sysv/linux/bits/sigstack.h
16204 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
16205 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
16206 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
16207 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
16208 * bits/sigcontext.h
16209 * sysdeps/mach/hurd/i386/bits/sigcontext.h
16210 * sysdeps/unix/sysv/linux/bits/sigcontext.h
16211 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
16212 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
16213 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
16214 as well as signal.h, if this was not already allowed. Request
16215 definition of size_t if necessary. Minimize semantically-null
16216 differences across files.
16217
16218 2016-09-23 Zack Weinberg <zackw@panix.com>
16219
16220 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
16221 Remove all logic conditional on __need macros. Move all the
16222 conditionally defined types to their own headers...
16223 * time/bits/types/clock_t.h: Define clock_t here.
16224 * time/bits/types/clockid_t.h: Define clockid_t here.
16225 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
16226 * time/bits/types/struct_timespec.h: Define struct timespec here.
16227 * time/bits/types/struct_timeval.h: Define struct timeval here.
16228 * time/bits/types/struct_tm.h: Define struct tm here.
16229 * time/bits/types/time_t.h: Define time_t here.
16230 * time/bits/types/timer_t.h: Define timer_t here.
16231 * time/Makefile: Install the new headers.
16232
16233 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
16234 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
16235 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
16236 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
16237 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
16238 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
16239 * sysdeps/unix/sysv/linux/bits/resource.h
16240 * sysdeps/unix/sysv/linux/bits/timex.h
16241 * sysdeps/unix/sysv/linux/mips/bits/resource.h
16242 * sysdeps/unix/sysv/linux/net/ppp_defs.h
16243 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
16244 * sysdeps/unix/sysv/linux/sys/acct.h
16245 * sysdeps/unix/sysv/linux/sys/timerfd.h
16246 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
16247 * time/sys/time.h, time/sys/timeb.h
16248 Use the new bits/types headers.
16249
16250 * include/time.h: Remove __need logic.
16251 * include/bits/time.h
16252 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
16253 * include/bits/types/time_t.h, include/bits/types/timer_t.h
16254 * include/bits/types/struct_itimerspec.h
16255 * include/bits/types/struct_timespec.h
16256 * include/bits/types/struct_timeval.h
16257 * include/bits/types/struct_tm.h:
16258 New wrapper headers.
16259
16260 2016-09-23 Zack Weinberg <zackw@panix.com>
16261
16262 * sysdeps/mach/hurd/net/if_ppp.h
16263 * sysdeps/unix/sysv/linux/net/if_ppp.h:
16264 Only define struct ifpppstatsreq and struct ifpppcstatsreq
16265 if __USE_MISC is defined, to ensure struct ifreq is declared.
16266
16267 * inet/netinet/ether.h: Condition all function prototypes
16268 on __USE_MISC, to ensure struct ether_addr is declared.
16269
16270 * socket/bits/types/struct_osockaddr.h: New header.
16271 * include/bits/types/struct_osockaddr.h: New wrapper.
16272 * socket/Makefile: Install the new header.
16273 * socket/sys/socket.h, inet/protocols/talkd.h:
16274 Refer to bits/types/struct_osockaddr.h for the definition of
16275 struct osockaddr.
16276
16277 2016-09-23 Zack Weinberg <zackw@panix.com>
16278
16279 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
16280 * inet/protocols/routed.h, inet/protocols/talkd.h
16281 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
16282 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
16283 * sysdeps/generic/netinet/if_ether.h
16284 * sysdeps/generic/netinet/in_systm.h
16285 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
16286 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16287 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
16288 * sysdeps/mach/hurd/net/if_arp.h
16289 * sysdeps/mach/hurd/net/if_ppp.h
16290 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
16291 * sysdeps/unix/sysv/linux/bits/in.h
16292 * sysdeps/unix/sysv/linux/net/ethernet.h
16293 * sysdeps/unix/sysv/linux/net/if_arp.h
16294 * sysdeps/unix/sysv/linux/net/if_ppp.h
16295 * sysdeps/unix/sysv/linux/net/if_shaper.h
16296 * sysdeps/unix/sysv/linux/net/route.h
16297 * sysdeps/unix/sysv/linux/netinet/if_ether.h
16298 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16299 * sysdeps/unix/sysv/linux/netinet/if_tr.h
16300 * sysdeps/unix/sysv/linux/netipx/ipx.h
16301 * sysdeps/unix/sysv/linux/sys/acct.h
16302 * include/arpa/nameser.h, include/resolv.h:
16303 Change all uses of u_char to unsigned char,
16304 u_short and ushort to unsigned short, u_int and uint to unsigned int,
16305 u_long and ulong to unsigned long, u_int8_t to uint8_t,
16306 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
16307 and u_int64_t and u_quad_t to uint64_t.
16308
16309 * mach/sys/reboot.h: Remove two casts of integer literals
16310 to the types they already have.
16311
16312 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
16313 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
16314 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
16315 from referring to 'unsigned char' to 'uint8_t' for consistency with
16316 the macro definition below.
16317
16318 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
16319 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
16320 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
16321 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
16322 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
16323 * sysdeps/unix/sysv/linux/sys/acct.h
16324 * include/arpa/nameser.h, include/resolv.h:
16325 Fix indentation disrupted by mechanical edits.
16326
16327 * inet/protocols/talkd.h, resolv/arpa/nameser.h
16328 * sysdeps/generic/netinet/in_systm.h
16329 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16330 * sysdeps/gnu/netinet/udp.h
16331 * sysdeps/unix/sysv/linux/net/ethernet.h
16332 * sysdeps/unix/sysv/linux/net/if_arp.h
16333 * sysdeps/unix/sysv/linux/net/if_ppp.h
16334 * sysdeps/unix/sysv/linux/net/if_shaper.h
16335 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16336 * sysdeps/unix/sysv/linux/netinet/if_tr.h
16337 * sysdeps/unix/sysv/linux/netipx/ipx.h
16338 * sysdeps/unix/sysv/linux/sys/acct.h
16339 Include stdint.h for uintNN_t definitions.
16340 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
16341
16342 2016-09-23 Zack Weinberg <zackw@panix.com>
16343
16344 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
16345 * sysdeps/unix/sysv/linux/netrose/rose.h:
16346 Include sys/socket.h and netax25/ax25.h.
16347
16348 * inet/netinet/icmp6.h, inet/netinet/ip6.h
16349 * resolv/arpa/nameser_compat.h:
16350 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
16351
16352 * sysdeps/unix/sysv/linux/sys/quota.h:
16353 Use __caddr_t instead of caddr_t.
16354 * sysdeps/unix/sysv/linux/sys/timerfd.h:
16355 Use __clockid_t instead of clockid_t.
16356
16357 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
16358
16359 * argp/argp.h: Check whether _LIBC is defined before expanding it.
16360 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
16361 expanding it.
16362
16363 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
16364 Define __glibc_c99_flexarr_available to 1 when the compiler
16365 supports C99-compatible flexible array members, 0 otherwise.
16366 * sysdeps/unix/sysv/linux/bits/socket.h
16367 * sysdeps/mach/hurd/bits/socket.h
16368 * bits/socket.h: Use __glibc_c99_flexarr_available in
16369 definitions of struct cmsghdr and CMSG_DATA.
16370
16371 2016-09-23 Florian Weimer <fweimer@redhat.com>
16372
16373 * manual/nss.texi (NSS Modules Interface): Adjust function return
16374 type to enum nss_status. Document errnop argument. Clarify
16375 h_errnop semantics. Fix cross-reference formatting.
16376 (NSS Module Function Internals): Mention that *errnop needs to be
16377 set on failure, but not to zero.
16378
16379 2016-09-23 Florian Weimer <fweimer@redhat.com>
16380
16381 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
16382 (get_random_name): New functions.
16383 (check_wrapper_flags_mode): Use linkat to give the new file a name
16384 determined by get_random_name.
16385 (do_test): Add calls to test open64 and openat64.
16386
16387 2016-09-23 Florian Weimer <fweimer@redhat.com>
16388
16389 * test-skeleton.c: Remove #include <stdarg.h>.
16390
16391 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
16392
16393 [BZ #19826]
16394 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
16395 initialization of static TLS entries.
16396 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
16397 * nptl/allocatestack.c (init_one_static_tls): Likewise.
16398
16399 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16400
16401 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
16402 _hurd_malloc_fork_prepare.
16403 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
16404 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
16405 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
16406 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
16407 (_hurd_fork_child_hook): Drop malloc_fork_child.
16408 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
16409 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
16410 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
16411 after locking locks (notably hurd_dtable_lock). Call
16412 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
16413 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
16414 __malloc_fork_unlock_child.
16415 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
16416
16417 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
16418
16419 * soft-fp/extendhftf2.c: New.
16420 * soft-fp/fixhfti.c: Likewise.
16421 * soft-fp/fixunshfti.c: Likewise.
16422 * soft-fp/floattihf.c: Likewise.
16423 * soft-fp/floatuntihf.c: Likewise.
16424 * soft-fp/half.h: Likewise.
16425 * soft-fp/trunctfhf2.c: Likewise.
16426
16427 2016-09-21 Joseph Myers <joseph@codesourcery.com>
16428
16429 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
16430 macro.
16431 * math/libm-test.inc (issubnormal_test_data): New array.
16432 (issubnormal_test): New function.
16433 * manual/arith.texi (Floating Point Classes): Document
16434 issubnormal.
16435 * manual/libm-err-tab.pl: Update comment on interfaces without
16436 ulps tabulated.
16437
16438 * sysdeps/generic/stdint.h: Define
16439 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16440 <bits/libc-header-start.h> instead of including <features.h>.
16441 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
16442 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
16443 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
16444 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
16445 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
16446 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
16447 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
16448 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
16449 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
16450 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
16451 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
16452 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
16453 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
16454 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
16455 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
16456 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
16457 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
16458 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
16459 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
16460 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
16461 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
16462 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
16463 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
16464 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
16465 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
16466 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
16467 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
16468 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
16469 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
16470 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
16471 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
16472 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
16473 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
16474 * manual/arith.texi (Integers): Document these macros for types
16475 specified by width properties.
16476 * manual/lang.texi (Width of Type): Document these macros for
16477 other standard typedefs.
16478 * stdlib/tst-width-stdint.c: New file.
16479 * stdlib/Makefile (tests): Add tst-width-stdint.
16480
16481 2016-09-21 Florian Weimer <fweimer@redhat.com>
16482
16483 [BZ #20016]
16484 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
16485 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
16486 Move ...
16487 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
16488 ... here, as compatibility symbols in a new file.
16489 * resolv/Makefile (libresolv-routines): Add compat-hooks.
16490 * resolv/res_init.c (__res_vinit): Adjust member names.
16491 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
16492 * resolv/resolv.h (res_sendhookact, res_send_qhook)
16493 (res_send_rhook): Remove.
16494 (struct __res_state): Rename qhook, rhook members.
16495
16496 2016-09-21 Florian Weimer <fweimer@redhat.com>
16497
16498 malloc: Use __libc_lock wrappers.
16499 * malloc/arena.c (list_lock, free_list_lock): Define using
16500 __libc_lock_define_initialized.
16501 (arena_lock): Adjust formatting.
16502 * malloc/malloc.c (struct malloc_state): Define mutex using
16503 __libc_lock_define.
16504 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
16505 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
16506 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
16507 (mutex_unlock, mutex_trylock): Remove.
16508 (__pthread_initialize): Remove unused macro.
16509 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
16510 (mutex_unlock, mutex_trylock): Remove.
16511
16512 2016-09-21 Florian Weimer <fweimer@redhat.com>
16513
16514 [BZ #20592]
16515 Remove RR type classification macros.
16516 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
16517 (ns_t_udp_p, ns_t_xfr_p): Remove.
16518
16519 2016-09-21 Florian Weimer <fweimer@redhat.com>
16520
16521 Remove misleading version information.
16522 * resolv/arpa/nameser.h (__NAMESER): Remove.
16523 * resolv/arpa/nameser_compat.h (__BIND): Remove.
16524
16525 2016-09-21 Florian Weimer <fweimer@redhat.com>
16526
16527 Remove the always-defined BIND_4_COMPAT macro.
16528 * resolv/arpa/nameser.h: Unconditionally include
16529 <arpa/nameser_compat.h>.
16530 (BIND_4_COMPAT): Remove.
16531 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
16532
16533 2016-09-21 Florian Weimer <fweimer@redhat.com>
16534
16535 [BZ #20591]
16536 Remove obsolete DNSSEC support.
16537 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
16538 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
16539 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
16540 (ns_verify_tcp, ns_verify_tcp_init): Remove.
16541 (ns_cert_types): Add comment.
16542 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
16543 separately.
16544 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
16545 (dst_s_dns_key_id): Remove.
16546 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
16547 variables.
16548
16549 2016-09-21 Florian Weimer <fweimer@redhat.com>
16550
16551 [BZ #20524]
16552 * manual/string.texi (String/Array Comparison): Clarify the
16553 strverscmp behavior.
16554
16555 2016-09-21 Florian Weimer <fweimer@redhat.com>
16556
16557 * test-skeleton.c (xasprintf): Add function.
16558 * io/tst-open-tmpfile.c: New test.
16559 * io/Makefile (tests): Add it.
16560
16561 2016-09-21 Florian Weimer <fweimer@redhat.com>
16562
16563 Avoid running $(CXX) during build to obtain header file paths.
16564 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
16565 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
16566 * Makerules (cstdlib, cmath): Remove variables. Use
16567 $(c++-cstdlib-header), $(c++-cmath-header) instead.
16568 * configure: Regenerate.
16569
16570 2016-09-21 Florian Weimer <fweimer@redhat.com>
16571
16572 * Makeconfig (all-object-suffixes): Include .op only if
16573 $(build-profile).
16574
16575 2016-09-21 Florian Weimer <fweimer@redhat.com>
16576
16577 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
16578 conditionals. Do not define PATH_MAX.
16579
16580 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16581
16582 * posix/Makefile (tests): Add tst-spawn3.
16583 * posix/tst-spawn3.c: New file.
16584 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
16585 if it is already opened for open action.
16586
16587 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
16588 all signals when executing the clone vfork child.
16589 (SIGALL_SET): Remove macro.
16590
16591 * nptl/Makefile (tests): Add tst-exec5.
16592 * nptl/tst-exec5.c: New file.
16593 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
16594 asynchronous cancellation.
16595
16596 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16597
16598 * hurd/exc2signal.c: #include <hurd/signal.h>
16599 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
16600 'sigcode', 'error' parameters with 'detail' parameter. Fix code
16601 accordingly.
16602 * mach/mach_error.c (mach_error): Fix old-style function definition.
16603 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
16604
16605 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16606
16607 * math/Makefile (libm-calls): Remove s_nanF.
16608 (gen-libm-calls): Add s_nanF.
16609
16610 * math/s_nan.c: Refactor into ...
16611 * math/s_nan_template.c: New file.
16612
16613 * math/s_nanf.c: Removed.
16614 * math/s_nanl.c: Removed.
16615 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
16616 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
16617
16618 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16619 (LDOUBLE_nanl_libm_version): New macro.
16620
16621 * sysdeps/generic/math-type-macros-double.h:
16622 (M_STRTO_NAN): New macro.
16623 * sysdeps/generic/math-type-macros-float.h: Likewise.
16624 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
16625
16626 * sysdeps/generic/math-type-macros.h: Document
16627 M_STRTO_NAN.
16628
16629 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16630
16631 * math/s_nanf.c: Remove __nanf undef.
16632 * math/s_nan.c: Remove __nan undef.
16633 * math/s_nanl.c: Remove __nanl undef.
16634
16635 * sysdeps/generic/math_private.h (__nan): Remove macro
16636 override.
16637 (__nanf): Likewise.
16638 (__nanl): Likewise.
16639
16640 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16641
16642 * math/Makefile (gen-all-calls): New variable.
16643 (generated): Replace gen-libm-calls with gen-all-calls.
16644 (gen-libm-templates.stmp): Likewise. Also, ensure
16645 the output directory exists or is created and add
16646 dependency on the Makefile.
16647 (calls): Move s_ldexpF into gen-calls.
16648 (gen-calls): New variable.
16649
16650 * math/s_ldexpf.c: Removed.
16651 * math/s_ldexpl.c: Removed.
16652 * math/s_ldexp.c: Refactored into ...
16653 * math/s_ldexp_template.c: New file.
16654
16655 * sysdeps/generic/math-type-macros-double.h: Remove
16656 redundant fall-through definition of declare_mgen_alias.
16657 (declare_mgen_alias_2): New macro.
16658
16659 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
16660 New macro for function aliased to two exported symbols.
16661
16662 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
16663 new template file.
16664 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
16665
16666 2016-09-20 Florian Weimer <fweimer@redhat.com>
16667
16668 * Makeconfig (all-object-suffixes): Remove .og.
16669 * Makerules (elide-routines.og): Remove.
16670 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
16671 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
16672 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
16673
16674 2016-09-20 Florian Weimer <fweimer@redhat.com>
16675
16676 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
16677 .os objects.
16678
16679 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16680
16681 [BZ #20615]
16682 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
16683 fpu directory by non-fpu.
16684 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
16685 on non-fpu directory from a fpu directory.
16686
16687 2016-09-19 Joseph Myers <joseph@codesourcery.com>
16688
16689 * include/limits.h: Define
16690 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16691 <bits/libc-header-start.h> instead of including <features.h>.
16692 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
16693 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
16694 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
16695 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
16696 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
16697 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
16698 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
16699 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
16700 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
16701 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
16702 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
16703 * manual/lang.texi (Width of Type): Document these macros.
16704 * stdlib/tst-width.c: New file.
16705 * stdlib/Makefile (tests): Add tst-width.
16706
16707 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16708
16709 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
16710 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
16711
16712 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16713
16714 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
16715 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
16716 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
16717
16718 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16719
16720 [BZ #18243]
16721 * rt/Makefile (test): Add tst-shm-cancel.
16722 * rt/tst-shm-cancel.c: New file.
16723 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
16724
16725 [BZ #18243]
16726 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
16727 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
16728 definition.
16729 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
16730 uncontended case.
16731 * nptl/sem_wait.c (__new_sem_wait): Likewise.
16732 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
16733 (tf): Fix check for uncontended case.
16734 (do_test): Likewise.
16735 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
16736 (tf): Fix check for uncontended case.
16737 (do_test): Likewise.
16738 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
16739 (tf): Fix check for uncontended case.
16740 (do_test): Likewise.
16741 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
16742 (tf): Fix check for uncontended case.
16743 (do_test): Likewise.
16744
16745 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
16746 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
16747
16748 [BZ #15765]
16749 * nptl/Makefile (tests): Add tst-sem16.
16750 * nptl/tst-sem16.c: New file.
16751 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
16752
16753 * nptl/sem_open.c (sem_open): Init pad value to 0.
16754 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
16755 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
16756
16757 2016-09-15 Florian Weimer <fweimer@redhat.com>
16758
16759 [BZ #20611]
16760 * inet/Makefile (routines): Add inet6_scopeid_pton.
16761 (tests): Add tst-inet6_scopeid_pton.
16762 * inet/inet6_scopeid_pton.c: New file.
16763 * inet/net-internal.h: Likewise.
16764 * inet/tst-inet6_scopeid_pton.c: New test.
16765 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
16766 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
16767 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16768
16769 2016-09-14 Florian Weimer <fweimer@redhat.com>
16770
16771 Remove support for compiling wrappers with PTW.
16772 * sysdeps/nptl/Makeconfig: Drop ptw- support.
16773 * nptl/Makefile (pthread-compat-wrappers): Define.
16774 (libpthread-routines): Use pthread-compat-wrappers.
16775 * sysdeps/unix/sysv/linux/alpha/Makefile
16776 (libpthread-routines, libpthread-shared-only-routines): Remove
16777 ptw- prefix.
16778 * sysdeps/s390/nptl/Makefile
16779 (libpthread-routines, libpthread-shared-only-routines): Likewise.
16780 * sysdeps/ia64/nptl/Makefile
16781 (libpthread-routines, libpthread-shared-only-routines): Likewise.
16782 * sysdeps/nacl/Makefile (libpthread-routines): Use
16783 pthread-compat-wrappers to filter the routines list instead of the
16784 ptw- prefix.
16785
16786 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16787
16788 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
16789 with L() and remove explicit suffix, convert real literals
16790 which can be equivalentally substituted with integers, and
16791 transform -L(x) to L(-x).
16792
16793 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16794 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16795 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16796 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16797 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16798 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16799 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16800 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16801 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16802 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16803 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16804 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16805 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16806 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16807 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16808 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16809 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16810 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16811 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16812 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16813 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16814 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16815 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16816 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16817 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16818 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16819 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16820 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16821 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16822 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16823 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16824 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
16825 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16826 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16827 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16828 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16829 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16830 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16831 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16832 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16833 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16834 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16835 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16836 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16837 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16838 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16839 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16840 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
16841 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16842 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16843
16844 2016-09-13 Florian Weimer <fweimer@redhat.com>
16845
16846 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
16847
16848 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
16849
16850 * malloc/Makefile (tests): Remove individual static test names
16851 and just add all of tests-static.
16852
16853 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
16854
16855 2016-09-07 Joseph Myers <joseph@codesourcery.com>
16856
16857 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
16858 file.
16859
16860 * sysdeps/sparc/fpu/fegetmode.c: New file.
16861 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
16862
16863 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
16864 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
16865
16866 * sysdeps/s390/fpu/fegetmode.c: New file.
16867 * sysdeps/s390/fpu/fesetmode.c: Likewise.
16868
16869 * sysdeps/powerpc/fpu/fegetmode.c: New file.
16870 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
16871 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
16872 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
16873 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
16874 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
16875
16876 * sysdeps/mips/fpu/fegetmode.c: New file.
16877 * sysdeps/mips/fpu/fesetmode.c: Likewise.
16878
16879 * sysdeps/m68k/fpu/fegetmode.c: New file.
16880 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
16881
16882 * sysdeps/ia64/fpu/fegetmode.c: New file.
16883 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
16884
16885 * sysdeps/hppa/fpu/fegetmode.c: New file.
16886 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
16887
16888 * sysdeps/arm/fegetmode.c: New file.
16889 * sysdeps/arm/fesetmode.c: Likewise.
16890
16891 * sysdeps/alpha/fpu/fegetmode.c: New file.
16892 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
16893
16894 * sysdeps/aarch64/fpu/fegetmode.c: New file.
16895 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
16896
16897 * math/fegetmode.c: New file.
16898 * math/fesetmode.c: Likewise.
16899 * sysdeps/i386/fpu/fegetmode.c: Likewise.
16900 * sysdeps/i386/fpu/fesetmode.c: Likewise.
16901 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
16902 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
16903 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
16904 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
16905 declaration.
16906 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
16907 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
16908 typedef.
16909 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16910 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16911 (femode_t): New typedef.
16912 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16913 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16914 (femode_t): New typedef.
16915 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16916 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16917 (femode_t): New typedef.
16918 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16919 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16920 (femode_t): New typedef.
16921 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16922 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16923 (femode_t): New typedef.
16924 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16925 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16926 (femode_t): New typedef.
16927 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16928 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16929 (femode_t): New typedef.
16930 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16931 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16932 (femode_t): New typedef.
16933 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16934 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16935 (femode_t): New typedef.
16936 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16937 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16938 (femode_t): New typedef.
16939 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
16940 declaration.
16941 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16942 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16943 (femode_t): New typedef.
16944 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16945 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16946 (femode_t): New typedef.
16947 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16948 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16949 (femode_t): New typedef.
16950 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16951 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16952 (femode_t): New typedef.
16953 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16954 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16955 (femode_t): New typedef.
16956 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16957 * manual/arith.texi (FE_DFL_MODE): Document macro.
16958 (fegetmode): Document function.
16959 (fesetmode): Likewise.
16960 * math/Versions (fegetmode): New libm symbol at version
16961 GLIBC_2.25.
16962 (fesetmode): Likewise.
16963 * math/Makefile (libm-support): Add fegetmode and fesetmode.
16964 (tests): Add test-femode and test-femode-traps.
16965 * math/test-femode-traps.c: New file.
16966 * math/test-femode.c: Likewise.
16967 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
16968 alias for __fe_dfl_env.
16969 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
16970 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
16971 (__fe_dfl_mode): Likewise.
16972 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
16973 version GLIBC_2.25.
16974 * sysdeps/nacl/libm.abilist: Update.
16975 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16976 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16977 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16978 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16979 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16980 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16981 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16982 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16983 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16984 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16985 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16986 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16988 Likewise.
16989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16990 Likewise.
16991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16992 Likewise.
16993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16994 Likewise.
16995 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16996 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16997 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16998 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16999 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17000 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17001 Likewise.
17002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17003 Likewise.
17004 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17005 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17006 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17007
17008 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
17009
17010 [BZ #20495]
17011 [BZ #20508]
17012 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
17013 processors, set Use_dl_runtime_resolve_slow and set
17014 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
17015 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
17016 New.
17017 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
17018 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
17019 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
17020 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
17021 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
17022 if Use_dl_runtime_resolve_opt is set. Use
17023 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
17024 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
17025 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
17026 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
17027 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
17028 New.
17029 (_dl_runtime_resolve_opt): Likewise.
17030 (_dl_runtime_profile): Define only if _dl_runtime_profile is
17031 defined.
17032
17033 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
17034
17035 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
17036 __libc_memalign with "+ RELA R_390_GLOB_DAT".
17037
17038 2016-09-06 Florian Weimer <fweimer@redhat.com>
17039
17040 Convert malloc to __libc_lock. Automated part, using this Perl
17041 s/// command:
17042 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
17043 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
17044 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
17045 conversion.
17046
17047 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
17048
17049 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
17050 (linknamespace-symlists-tests): Likewise.
17051 (linknamespace-header-tests): Likewise.
17052
17053 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
17054
17055 [BZ #19810]
17056 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
17057 * elf/tst-noload.c: New test case.
17058 * elf/Makefile (tests): Add tst-noload.
17059
17060 2016-09-02 Roland McGrath <roland@hack.frob.com>
17061
17062 * sysdeps/nacl/dup.c: Add libc_hidden_def.
17063
17064 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
17065 not any more.
17066
17067 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
17068
17069 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
17070
17071 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
17072 (do_cos_slow): Likewise.
17073 (do_sin): Likewise.
17074 (do_sin_slow): Likewise.
17075 (slow): Likewise.
17076 (slow1): Likewise.
17077 (slow2): Likewise.
17078 (sloww): Likewise.
17079 (sloww1): Likewise.
17080 (sloww2): Likewise.
17081 (bsloww): Likewise.
17082 (bsloww1): Likewise.
17083 (bsloww2): Likewise.
17084 (cslow2): Likewise.
17085
17086 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
17087
17088 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
17089 arguments. Consolidate input partitioning from callers here.
17090 (do_cos_slow): Likewise.
17091 (do_sin): Likewise.
17092 (do_sin_slow): Likewise.
17093 (do_sincos_1): Remove the no longer necessary input partitioning.
17094 (do_sincos_2): Likewise.
17095 (__sin): Likewise.
17096 (__cos): Likewise.
17097 (slow1): Likewise.
17098 (slow2): Likewise.
17099 (sloww1): Likewise.
17100 (sloww2): Likewise.
17101 (bsloww1): Likewise.
17102 (bsloww2): Likewise.
17103 (cslow2): Likewise.
17104
17105 2016-09-02 Florian Weimer <fweimer@redhat.com>
17106
17107 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
17108 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
17109 outside of allocated array.
17110
17111 2016-09-02 Florian Weimer <fweimer@redhat.com>
17112
17113 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
17114 instead of MB_CUR_MAX to avoid variable-length array.
17115
17116 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17117
17118 * math/Makefile (libm-calls): Remove k_rem_pio2F.
17119 (type-double-routines): Add k_rem_pio2.
17120 (type-float-routines): Add k_rem_pio2f.
17121
17122 * sysdeps/generic/math_private.h:
17123 (__kernel_rem_pio2l): Removed.
17124
17125 * math/k_rem_pio2l.c: Removed.
17126 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
17127 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
17128 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
17129 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
17130
17131 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17132
17133 * math/Makefile (gen-libm-calls): Add s_fmin
17134 (libm-calls): Remove above.
17135
17136 * math/s_fmin.c: Refactor into ...
17137 * math/s_fmin_template.c: New file.
17138
17139 * math/s_fminf.c: Removed.
17140 * math/s_fminl.c: Removed.
17141 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17142 (LDOUBLE_fmin_libm_version): New macro.
17143
17144 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
17145 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
17146
17147 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17148
17149 * math/Makefile: (gen-libm-calls): Add s_fmax.
17150 (libm-calls): Remove above.
17151
17152 * math/s_fmax.c: Refactor into ...
17153 * math/s_fmax_template.c: New file.
17154 * math/s_fmaxf.c: Removed.
17155 * math/s_fmaxl.c: Removed.
17156
17157 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17158 (LDOUBLE_fmaxl_libm_version): New macro.
17159
17160 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
17161 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
17162
17163 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
17164 s_fmin.c to pick the aarch64 version of the file.
17165 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
17166 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
17167
17168 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17169
17170 * math/Makefile: (gen-libm-calls): Add s_nextdown.
17171 (libm-calls): Remove above.
17172
17173 * math/s_nextdown.c: Refactor into ...
17174 * math/s_nextdown_template.c: New file.
17175 * math/s_nextdownf.c: Removed.
17176 * math/s_nextdownl.c: Removed.
17177
17178 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
17179
17180 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17181
17182 * math/Makefile (gen-libm-calls): Add s_fdim.
17183 (libm-calls): Move to above.
17184
17185 * math/s_fdim.c: Renamed and refactored into to ...
17186 * math/s_fdim_template.c: New file.
17187 * math/s_fdiml.c: Removed.
17188 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
17189 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
17190
17191 * sysdeps/generic/math-type-macros-double.h:
17192 (declare_mgen_alias): Don't declare if already declared.
17193 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
17194 Likewise.
17195
17196 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17197 (declare_mgen_alias): Don't declare if already declared.
17198 (M_LIBM_NEED_COMPAT): Likewise.
17199 (declare_mgen_libm_compat): Likewise.
17200 (LDOUBLE_fdiml_libm_version): New macro.
17201
17202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17203 Include math/s_fdim.c now that ldbl-opt version is not needed.
17204 (declare_mgen_alias): New macro to disable aliasing.
17205
17206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
17207 (declare_mgen_alias): Likewise.
17208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
17209 (declare_mgen_alias): Likewise.
17210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
17211 (declare_mgen_alias): Likewise.
17212 (M_LIBM_NEED_COMPAT): Likewise.
17213
17214 2016-09-01 Florian Weimer <fweimer@redhat.com>
17215
17216 [BZ #20525]
17217 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
17218 Include <linux/quota.h>.
17219 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
17220 and btodb.
17221 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
17222 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
17223 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
17224 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
17225 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
17226 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
17227 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
17228 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
17229 types.
17230 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
17231 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
17232
17233 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17234
17235 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
17236 (gammal_positive): Fix spacing.
17237 (__ieee754_gammal_r): Likewise.
17238
17239 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17240
17241 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
17242 (_Float128): Define as long double, always.
17243 (L): Apply long double type suffix, always.
17244
17245 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
17246 _Float128, excepting comments.
17247
17248 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17249 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17250 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17251 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17252 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17253 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17254 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17255 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17256 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17257 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
17258 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17259 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17260 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17261 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17262 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17263 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17264 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17265 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17266 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17267 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17268 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17269 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17270 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17271 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17272 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17273 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17274 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17275 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17276 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17277 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17278 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17279 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17280 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17281 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17282 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17283 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17284 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17285 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17286 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17287 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17288 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17289 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17290 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17291 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17292 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17293 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17294 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17295 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17296 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17297 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17298 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17299 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17300 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17301 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17302 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17303 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17304 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17305 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17306 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17307 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17308 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17309 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17310 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17311 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17312 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17313 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17314 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17315 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17316
17317 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
17318 _Float128, and include math_private.h.
17319 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17320
17321 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
17322 long double semantics.
17323 (_Float128): Likewise.
17324 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
17325 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17326 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
17327 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
17328
17329 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
17330
17331 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
17332 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
17333 * sysdeps/s390/configure: Regenerated.
17334 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
17335 instruction for raising over-/underflow if z196 zarch is supported
17336 by default.
17337 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
17338
17339 2016-08-30 Svante Signell <svante.signell@gmail.com>
17340
17341 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
17342 it point to a dumb buffer for RPC to fill it.
17343
17344 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
17345
17346 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
17347 instead of if/else.
17348 (do_sin_slow): Likewise.
17349 (do_sincos_1): Use fabs instead of if/else.
17350 (do_sincos_2): Likewise.
17351 (__sin): Likewise.
17352 (__cos): Likewise.
17353 (slow2): Likewise.
17354 (sloww): Likewise.
17355 (sloww1): Likewise. Drop argument M.
17356 (sloww2): Use fabs instead of if/else.
17357 (bsloww): Likewise.
17358 (bsloww1): Likewise.
17359 (bsloww2): Likewise.
17360
17361 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
17362 fall through comment.
17363 (do_sincos_1): Likewise.
17364
17365 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
17366 Consolidate switch cases 0 and 2.
17367
17368 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17369
17370 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
17371 (libm-calls): Remove the above.
17372
17373 * math/s_cexp_template.c: Update using type-generic macros.
17374 * math/s_clog10_template.c: Likewise.
17375 * math/s_cpow_template.c: Likewise.
17376 * math/s_clog_template.c: Likewise.
17377 * math/s_cproj_template.c: Likewise.
17378 * math/s_csqrt_template.c: Likewise.
17379
17380 * math/s_cexp.c: Removed.
17381 * math/s_cexpf.c: Removed.
17382 * math/s_cexpl.c: Removed.
17383 * math/s_clog10.c: Removed.
17384 * math/s_clog10f.c: Removed.
17385 * math/s_clog10l.c: Removed.
17386 * math/s_cpow.c: Removed.
17387 * math/s_cpowf.c: Removed.
17388 * math/s_cpowl.c: Removed.
17389 * math/s_clog.c: Removed.
17390 * math/s_clogf.c: Removed.
17391 * math/s_clogl.c: Removed.
17392 * math/s_cproj.c: Removed.
17393 * math/s_cprojf.c: Removed.
17394 * math/s_cprojl.c: Removed.
17395 * math/s_csqrt.c: Removed.
17396 * math/s_csqrtf.c: Removed.
17397 * math/s_csqrtl.c: Removed.
17398
17399 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
17400 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
17401 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
17402 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
17403 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
17404 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
17405
17406 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
17407 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
17408 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
17409 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
17410 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
17411 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
17412 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
17413 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
17414 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
17415 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
17416 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
17417
17418 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
17419 version.
17420
17421 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
17422 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
17423 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
17424 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
17425
17426 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17427
17428 * s_cexp_template.c: Copy of s_cexp.c.
17429 * s_clog_template.c: Copy of s_clog.c.
17430 * s_clog10_template.c: Copy of s_clog10.c.
17431 * s_cpow_template.c: Copy of s_cpow.c.
17432 * s_cproj_template.c: Copy of s_cproj.c.
17433 * s_csqrt_template.c: Copy of s_csqrt.c.
17434
17435 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17436
17437 [BZ #20517]
17438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17439 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
17440 exported.
17441
17442 2016-08-29 Joseph Myers <joseph@codesourcery.com>
17443
17444 * math/fetestexceptflag.c: New file.
17445 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
17446 Stefan Liebler.
17447 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17448 (fetestexceptflag): New function declaration.
17449 * manual/arith.texi (fetestexceptflag): Document function.
17450 * math/Versions (fetestexceptflag): New libm symbol at version
17451 GLIBC_2.25.
17452 * math/Makefile (libm-support): Add fetestexceptflag.
17453 (tests): Add test-fetestexceptflag.
17454 * math/test-fetestexceptflag.c: New file.
17455 * sysdeps/nacl/libm.abilist: Update.
17456 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17457 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17458 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17459 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17460 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17461 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17462 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17463 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17464 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17465 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17466 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17467 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17469 Likewise.
17470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17471 Likewise.
17472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17473 Likewise.
17474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17475 Likewise.
17476 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17477 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17478 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17479 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17480 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17481 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17482 Likewise.
17483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17484 Likewise.
17485 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17486 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17487 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17488
17489 2016-08-26 Florian Weimer <fweimer@redhat.com>
17490
17491 [BZ #20432]
17492 Avoid strong references to malloc-internal symbols when linking
17493 statically, to support statically interposed mallocs.
17494 * include/libc-symbols.h (call_function_static_weak): New macro.
17495 * malloc/Makefile (tests): Add tst-interpose-nothread,
17496 tst-interpose-thread, tst-interpose-static-nothread,
17497 tst-interpose-static-thread.
17498 (tests-static): Add tst-interpose-static-nothread,
17499 tst-interpose-static-thread.
17500 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
17501 tst-interpose-aux-thread.o.
17502 (test-extras): Add tst-interpose-aux-nothread,
17503 tst-interpose-aux-thread.
17504 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
17505 tst-interpose-aux-nothread.o.
17506 (tst-interpose-thread, tst-interpose-static-thread): Link with
17507 tst-interpose-aux-thread.o and libthread.
17508 * malloc/tst-interpose-aux-nothread.c: New file.
17509 * malloc/tst-interpose-aux-thread.c: Likewise.
17510 * malloc/tst-interpose-aux.c: Likewise.
17511 * malloc/tst-interpose-aux.h: Likewise.
17512 * malloc/tst-interpose-nothread.c: Likewise.
17513 * malloc/tst-interpose-skeleton.c: Likewise.
17514 * malloc/tst-interpose-static-nothread.c: Likewise.
17515 * malloc/tst-interpose-static-thread.c: Likewise.
17516 * malloc/tst-interpose-thread.c: Likewise.
17517 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
17518 * sysdeps/mach/hurd/fork.c (__fork): Only call
17519 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
17520 __malloc_fork_unlock_child if defined.
17521 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17522
17523 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17524
17525 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
17526 timespec C99 designated initialization.
17527
17528 2016-08-26 Florian Weimer <fweimer@redhat.com>
17529
17530 [BZ #19946]
17531 Avoid expected SIGALRM signals.
17532 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
17533 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
17534 (xpthread_create, xpthread_detach, xpthread_join)
17535 (delayed_exit_thread, delayed_exit): New functions.
17536 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
17537 (tf): Use xpthread_cond_wait.
17538 (do_test): Likewise. Replace alarm with delayed_exit.
17539 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17540 (do_test): Call delayed_exit. Report failure.
17541 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17542 (do_test): Call delayed_exit.
17543 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17544 (do_test): Call delayed_exit. Use xpthread_join. Report error.
17545 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17546 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
17547 error.
17548 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17549 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
17550 error.
17551 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
17552 (do_test): Call delayed_exit.
17553 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
17554 (do_test): Call delayed_exit.
17555 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
17556 (do_test): Call delayed_exit instead of alarm. Use
17557 xpthread_mutex_lock.
17558 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
17559 (do_test): Call delayed_exit instead of alarm. Use
17560 xpthread_mutex_lock.
17561 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
17562 (do_test): Call delayed_exit instead of alarm.
17563 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
17564 (do_test): Call delayed_exit instead of alarm. Use
17565 xpthread_spin_lock.
17566 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
17567 (do_test): Call delayed_exit instead of alarm. Use
17568 xpthread_join.
17569
17570 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
17571
17572 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
17573 adjust CFA when allocating register save area on re-aligned
17574 stack.
17575
17576 2016-08-26 Florian Weimer <fweimer@redhat.com>
17577
17578 * string/tst-cmp.c: New test.
17579 * string/Makefile (tests): Add it.
17580
17581 2016-08-25 Mark Wielaard <mark@klomp.org>
17582
17583 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
17584 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
17585 (check_tree_recurse): Use newly defined accessors.
17586 (check_tree): Likewise.
17587 (maybe_split_for_insert): Likewise.
17588 (__tfind): Likewise.
17589 (__tdelete): Likewise.
17590 (trecurse): Likewise.
17591 (tdestroy_recurse): Likewise.
17592 (__tsearch): Likewise. And add asserts for malloc alignment.
17593 (__twalk): Cast root to node in case CHECK_TREE is defined.
17594
17595 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17596
17597 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
17598
17599 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17600
17601 * math/Makefile (libm-gen-calls): Add
17602 catan, catanh, ctan, ctanh.
17603 (libm-calls): Remove the above.
17604
17605 * math/s_catan_template.c: Update using type-generic macros.
17606 * math/s_catanh_template.c: Likewise.
17607 * math/s_ctan_template.c: Likewise.
17608 * math/s_ctanh_template.c: Likewise.
17609
17610 * math/s_catanf.c: Removed.
17611 * math/s_catan.c: Removed.
17612 * math/s_catanl.c: Removed.
17613 * math/s_catanhf.c: Removed.
17614 * math/s_catanh.c: Removed.
17615 * math/s_catanhl.c: Removed.
17616 * math/s_ctanf.c: Removed.
17617 * math/s_ctan.c: Removed.
17618 * math/s_ctanl.c: Removed.
17619 * math/s_ctanhf.c: Removed.
17620 * math/s_ctanh.c: Removed.
17621 * math/s_ctanhl.c: Removed.
17622
17623 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
17624 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
17625 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
17626 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
17627 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
17628 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
17629
17630 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
17631 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
17632 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
17633 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
17634
17635 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17636
17637 * s_catan_template.c: Copy of s_catan.c.
17638 * s_catanh_template.c: Copy of s_catanh.c.
17639 * s_ctan_template.c: Copy of s_ctan.c.
17640 * s_ctanh_template.c: Copy of s_ctanh.c.
17641
17642 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17643
17644 * math/Makefile (gen-libm-calls): Move
17645 casin, casinh, csin, csinh here.
17646 (libm-calls): Remove the above.
17647
17648 * math/s_casin_template.c: Update using type-generic macros.
17649 * math/s_casinh_template.c: Likewise.
17650 * math/s_csin_template.c: Likewise.
17651 * math/s_csinh_template.c: Likewise.
17652 * math/k_casinh_template.c: Likewise.
17653
17654 * math/s_casinf.c: Removed.
17655 * math/s_casin.c: Removed.
17656 * math/s_casinl.c: Removed.
17657 * math/s_casinh.c: Removed.
17658 * math/s_casinhf.c: Removed.
17659 * math/s_casinhl.c: Removed.
17660 * math/s_csin.c: Removed.
17661 * math/s_csinf.c: Removed.
17662 * math/s_csinl.c: Removed.
17663 * math/s_csinh.c: Removed.
17664 * math/s_csinhf.c: Removed.
17665 * math/s_csinhl.c: Removed.
17666 * math/k_casinh.c: Removed.
17667 * math/k_casinhf.c: Removed.
17668 * math/k_casinhl.c: Removed.
17669
17670 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
17671 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
17672 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
17673 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
17674
17675 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
17676 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
17677 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
17678 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
17679 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
17680 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
17681 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
17682 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
17683
17684 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
17685 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
17686 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
17687 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
17688
17689 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
17690 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
17691 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
17692 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
17693
17694 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17695
17696 * s_casin_template.c: Copy of s_casin.c.
17697 * s_casinh_template.c: Copy of s_casinh.c.
17698 * s_csin_template.c: Copy of s_csin.c.
17699 * s_csinh_template.c: Copy of s_csinh.c.
17700 * k_casinh_template.c: Copy of k_casinh.c.
17701
17702 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
17703
17704 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
17705
17706 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17707
17708 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
17709 (mul_split) Remove, rename as mul_splitl, remove
17710 redundant float.h include, and include via mul_splitl.h
17711
17712 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17713 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17714 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17715 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
17716 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17717
17718 * math/mul_splitl.h: New file.
17719
17720 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
17721 Move into mul_split.h, and remove redundant float.h include.
17722
17723 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
17724 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
17725 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17726 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
17727
17728 * math/mul_split.h: New file.
17729
17730 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17731
17732 * math/Makefile (libm-gen-calls): Move
17733 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
17734 (libm-calls): Remove above.
17735
17736 * math/s_cacos_template.c: Update using type-generic macros.
17737 * math/s_cacosh_template.c: Likewise.
17738 * math/s_ccos_template.c: Likewise.
17739 * math/s_ccosh_template.c: Likewise.
17740
17741 * math/s_cacosf.c: Removed.
17742 * math/s_cacos.c: Removed.
17743 * math/s_cacosl.c: Removed.
17744 * math/s_cacoshf.c: Removed.
17745 * math/s_cacosh.c: Removed.
17746 * math/s_cacoshl.c: Removed.
17747 * math/s_ccosf.c: Removed.
17748 * math/s_ccos.c: Removed.
17749 * math/s_ccosl.c: Removed.
17750 * math/s_ccoshf.c: Removed.
17751 * math/s_ccosh.c: Removed.
17752 * math/s_ccoshl.c: Removed.
17753
17754 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
17755 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
17756 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
17757 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
17758 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
17759 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
17760
17761 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
17762 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
17763 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
17764 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
17765
17766 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
17767 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
17768 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
17769 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
17770
17771 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17772
17773 * s_cacos_template.c: Copy of s_cacos.c.
17774 * s_cacosh_template.c: Copy of s_cacosh.c.
17775 * s_ccos_template.c: Copy of s_ccos.c.
17776 * s_ccosh_template.c: Copy of s_ccosh.c.
17777
17778 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17779
17780 * stdlib/tst-strtod-round-skeleton.c:
17781 Refactored from tst-strtod-round.c.
17782
17783 (L_): New macro to apply literal modifier.
17784 (FNPFX): New macro to select str or wcs prefix.
17785 (CHAR): New macro to choose wchar_t or char.
17786 (STRM): New macro to choose printf for tested character type.
17787
17788 (STRTO): New macro to choose appropriate string -> real function.
17789 (FNPFXS): Stringitized version of FNPFX.
17790 (STR): Support for above macro.
17791 (STRX): Likewise.
17792
17793 (TEST): Update with above macros.
17794 (test): Likewise.
17795 (GEN_ONE_TEST): Likewise.
17796 (test_in_one_mode): Likewise.
17797
17798 * stdlib/tst-strtod-round.c: New file.
17799 * wcsmbs/tst-wcstod-round.c: New file.
17800
17801 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
17802 (tst-wcstod-round): Add libm depencency for fesetround.
17803
17804 2016-08-19 Zack Weinberg <zackw@panix.com>
17805
17806 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
17807
17808 2016-08-18 Torvald Riegel <triegel@redhat.com>
17809
17810 [BZ #20477]
17811 * resolv/res_hconf.c (do_init): Use atomic access.
17812 * resolv/res_hconf.h: Add comments.
17813 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
17814 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
17815 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17816
17817 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
17818
17819 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
17820 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
17821 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17822 Likewise.
17823
17824 2016-08-18 Florian Weimer <fweimer@redhat.com>
17825
17826 [BZ #16907]
17827 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
17828 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
17829 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
17830 (__attribute__): Remove definition.
17831
17832 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17833
17834 * sysdeps/ieee754/ldbl-128/e_asinl.c:
17835 Remove unused sqrtl declaration.
17836
17837 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17838
17839 * math/Makefile: (gen-libm-templates.stmp): New rule.
17840 (libm-calls): Move carg conj cimag and cabs into ...
17841 (gen-libm-calls): New variable.
17842 (generated): Inform Make objects from gen-libm-calls
17843 may be generated.
17844
17845 * sysdeps/generic/math-type-macros.h: New file.
17846 * sysdeps/generic/math-type-macros-float.h: Likewise.
17847 * sysdeps/generic/math-type-macros-double.h: Likewise.
17848 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
17849 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
17850 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
17851
17852 * math/cabs.c: Refactor into
17853 * math/cabs_template.c: new file.
17854 * math/cabsf.c: Removed.
17855 * math/cabsl.c: Removed.
17856 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
17857 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
17858
17859 * math/carg.c: Refactor into
17860 * math/carg_template.c: new file.
17861 * math/cargf.c: Removed.
17862 * math/cargl.c: Removed.
17863 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
17864 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
17865
17866 * math/conj.c: Refactor into
17867 * math/conj_template.c: new file.
17868 * math/conjf.c: Removed.
17869 * math/conjl.c: Removed.
17870 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
17871 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
17872
17873 * math/cimag.c: Refactor into
17874 * math/cimag_template.c: new file.
17875 * math/cimagf.c: Removed.
17876 * math/cimagl.c: Removed.
17877 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
17878 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
17879
17880 * math/cimag.c: Refactor into
17881 * math/cimag_template.c: new file.
17882 * math/cimagf.c: Removed.
17883 * math/cimagl.c: Removed.
17884 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
17885 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
17886
17887 2016-08-17 Florian Weimer <fweimer@redhat.com>
17888
17889 Reduce time to expected nptl/tst-once5 failure.
17890 * nptl/tst-once5.cc (TIMEOUT): Define.
17891
17892 2016-08-17 Florian Weimer <fweimer@redhat.com>
17893
17894 [BZ #20452]
17895 Avoid additional copies of objects in libc.a in static libraries.
17896 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
17897 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
17898 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
17899 rt-sysdep.
17900 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
17901 Add nptl-sysdep.
17902 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
17903 Add ptw-sysdep.
17904 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
17905 rt-sysdep.
17906 * sysdeps/unix/sysv/linux/alpha/Makefile
17907 (libpthread-shared-only-routines): Add ptw-sysdep,
17908 ptw-sigprocmask, ptw-rt_sigaction.
17909 * sysdeps/unix/sysv/linux/ia64/Makefile
17910 (librt-shared-only-routines): Add rt-sysdep.
17911 * sysdeps/unix/sysv/linux/i386/Makefile
17912 (libpthread-shared-only-routines): Add libc-do-syscall.
17913 * sysdeps/unix/sysv/linux/microblaze/Makefile
17914 (libpthread-shared-only-routines): Add sysdep.
17915 * sysdeps/unix/sysv/linux/powerpc/Makefile
17916 (librt-shared-only-routines): Add rt-sysdep.
17917 (libpthread-shared-only-routines): Add sysdep.
17918 * sysdeps/unix/sysv/linux/s390/Makefile
17919 (librt-shared-only-routines): Add rt-sysdep.
17920 * sysdeps/unix/sysv/linux/sparc/Makefile
17921 (librt-shared-only-routines): Add rt-sysdep.
17922 (libpthread-shared-only-routines): Add sysdep.
17923 * sysdeps/unix/sysv/linux/tile/Makefile
17924 (libpthread-shared-only-routines): Likewise.
17925
17926 2016-08-16 Joseph Myers <joseph@codesourcery.com>
17927
17928 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
17929 Mask implicit bit out of unpacked value.
17930 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
17931 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
17932 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
17933
17934 * sysdeps/sparc/fpu/fesetexcept.c: New file.
17935
17936 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
17937
17938 * sysdeps/s390/fpu/fesetexcept.c: New file.
17939
17940 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
17941 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
17942 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
17943
17944 * sysdeps/mips/fpu/fesetexcept.c: New file.
17945
17946 * sysdeps/m68k/fpu/fesetexcept.c: New file.
17947
17948 * sysdeps/ia64/fpu/fesetexcept.c: New file.
17949
17950 * sysdeps/hppa/fpu/fesetexcept.c: New file.
17951
17952 * sysdeps/arm/fesetexcept.c: New file.
17953
17954 * sysdeps/alpha/fpu/fesetexcept.c: New file.
17955
17956 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
17957
17958 * math/fesetexcept.c: New file.
17959 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
17960 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
17961 * math/fenv.h: Define
17962 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17963 <bits/libc-header-start.h> instead of including <features.h>.
17964 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
17965 declaration.
17966 * manual/arith.texi (fesetexcept): Document function.
17967 * math/Versions (fesetexcept): New libm symbol at version
17968 GLIBC_2.25.
17969 * math/Makefile (libm-support): Add fesetexcept.
17970 (tests): Add test-fesetexcept and test-fesetexcept-traps.
17971 * math/test-fesetexcept.c: New file.
17972 * math/test-fesetexcept-traps.c: Likewise.
17973 * sysdeps/nacl/libm.abilist: Update.
17974 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17975 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17976 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17977 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17978 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17979 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17980 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17981 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17982 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17983 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17984 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17985 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17987 Likewise.
17988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17989 Likewise.
17990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17991 Likewise.
17992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17993 Likewise.
17994 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17995 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17996 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17997 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17998 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18000 Likewise.
18001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18002 Likewise.
18003 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18004 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18005 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18006
18007 2016-08-16 Florian Weimer <fweimer@redhat.com>
18008
18009 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
18010 New.
18011 (do_test): Apply default_stack_size_in_mb if not set.
18012 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
18013
18014 2016-08-15 Andreas Schwab <schwab@suse.de>
18015
18016 [BZ #20435]
18017 CVE-2016-6323
18018 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
18019 as .cantunwind.
18020
18021 2016-08-12 Joseph Myers <joseph@codesourcery.com>
18022
18023 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
18024 comment from fraiseexcpt.c.
18025
18026 * math/test-fexcept.c (feraiseexcept_exact): New function.
18027 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
18028 (test_except): Likewise.
18029
18030 2016-08-10 Joseph Myers <joseph@codesourcery.com>
18031
18032 [BZ #20455]
18033 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
18034 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
18035 to be restored.
18036
18037 * math/test-fexcept-traps.c: New file.
18038 * math/test-fexcept.c: Likewise.
18039 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
18040 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
18041 macro.
18042 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
18043 (EXCEPTION_SET_FORCES_TRAP): Likewise.
18044
18045 2016-08-09 Torvald Riegel <triegel@redhat.com>
18046
18047 * include/atomic.h (atomic_fetch_and_relaxed,
18048 atomic_fetch_and_release, atomic_fetch_or_release,
18049 atomic_fetch_xor_release): New.
18050
18051 2016-08-06 Christian Seiler <christian@iwakd.de>
18052
18053 [BZ #20444]
18054 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
18055 MACH_PORT_NULL.
18056
18057 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18058
18059 * math/s_fdim.c: Avoid alias renamed.
18060 * math/s_fdimf.c: Likewise.
18061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18062 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18063 Add s_fdimf-vis3, s_fdim-vis3.
18064 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18065 (CFLAGS-s_fdim-vis3.c): Likewise.
18066 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
18067 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
18068
18069 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18070
18071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18072 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18073 Remove s_fdimf-vis3, s_fdim-vis3.
18074 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
18075 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
18076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
18077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
18078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
18079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
18080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
18081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
18082 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
18083 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
18084
18085 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18086
18087 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
18088 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
18089 -Wa,-Av9a -mvis.
18090
18091 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18092
18093 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
18094 LIT() to individual constants in simple expressions
18095 after splitting on spaces.
18096 (_apply_lit): Rename replaced version, and use it to
18097 apply to what appears to be a token.
18098
18099 * math/libm-test.inc: Fix many, many issues with
18100 spacing.
18101
18102 2016-08-05 Joseph Myers <joseph@codesourcery.com>
18103
18104 * math/math.h: Move comment about <bits/mathdef.h> definitions
18105 above inclusion of <bits/mathdef.h>. Do not mention
18106 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
18107
18108 2016-08-05 Torvald Riegel <triegel@redhat.com>
18109
18110 * include/atomic.h (atomic_exchange_relaxed): New.
18111
18112 2016-08-04 Joseph Myers <joseph@codesourcery.com>
18113
18114 * math/e_scalb.c: Do not include <fenv.h>.
18115 (invalid_fn): Do calculation resulting in NaN instead of raising
18116 FE_INVALID and returning a NaN explicitly.
18117 * math/e_scalbf.c: Do not include <fenv.h>.
18118 (invalid_fn): Do calculation resulting in NaN instead of raising
18119 FE_INVALID and returning a NaN explicitly.
18120 * math/e_scalbl.c: Do not include <fenv.h>.
18121 (invalid_fn): Do calculation resulting in NaN instead of raising
18122 FE_INVALID and returning a NaN explicitly.
18123
18124 2016-08-04 Carlos O'Donell <carlos@redhat.com>
18125
18126 * po/de.po: Updated from Translation Project.
18127 * po/fi.po: Likewise.
18128 * po/sv.po: Likewise.
18129
18130 2016-08-04 Florian Weimer <fweimer@redhat.com>
18131
18132 [BZ #20452]
18133 Use sysdep.o from libc.a in static libraries.
18134 * sysdeps/unix/sysv/linux/i386/Makefile
18135 (libpthread-shared-only-routines): Add sysdep.
18136 (librt-shared-only-routines): Likewise.
18137
18138 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18139
18140 * math/tgmath.h (nextdown): Define if
18141 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
18142 (nextup): Likewise.
18143
18144 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
18145 macro.
18146 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18147 Document.
18148 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18149 Document macro.
18150 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
18151 (exp10f): Likewise.
18152 (exp10l): Likewise.
18153 * math/bits/mathcalls.h (exp10): Declare if
18154 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
18155
18156 * manual/arith.texi (nextup): Fix typo in last change.
18157
18158 2016-08-03 Zack Weinberg <zackw@panix.com>
18159
18160 [BZ #19239]
18161 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
18162 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
18163 define major, minor, and makedev to issue deprecation warnings on use.
18164 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
18165 previously-activated deprecation warnings for these macros and prevent
18166 subsequent inclusions of this header from having any effect.
18167 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
18168 including <sys/sysmacros.h>, and undefine it again afterward.
18169
18170 2016-08-03 Zack Weinberg <zackw@panix.com>
18171
18172 * sysdeps/generic/sys/sysmacros.h: Delete file.
18173 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
18174 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
18175 * bits/sysmacros.h: ... here; this encoding is now the generic
18176 encoding. Now defines only the following macros:
18177 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
18178 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
18179 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
18180
18181 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
18182 bits/sysmacros.h and the above new macros to generate the
18183 public implementations of major, minor, and makedev.
18184 * misc/tst-makedev.c: New test.
18185 * include/sys/sysmacros.h: New wrapper.
18186
18187 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
18188 (routines): Add makedev.
18189 (tests): Add tst-makedev.
18190 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
18191 gnu_dev_makedev.
18192 * posix/Makefile (headers): Remove sys/sysmacros.h.
18193 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
18194
18195 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
18196 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
18197 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
18198 * sysdeps/unix/sysv/linux/alpha/libc.abilist
18199 * sysdeps/unix/sysv/linux/arm/libc.abilist
18200 * sysdeps/unix/sysv/linux/hppa/libc.abilist
18201 * sysdeps/unix/sysv/linux/i386/libc.abilist
18202 * sysdeps/unix/sysv/linux/ia64/libc.abilist
18203 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18204 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
18205 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
18206 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18207 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18208 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18209 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18210 * sysdeps/unix/sysv/linux/nios2/libc.abilist
18211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18215 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
18216 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
18217 * sysdeps/unix/sysv/linux/sh/libc.abilist
18218 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18219 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18220 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18221 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18222 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
18223 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
18224 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
18225 Add GLIBC_2.25.
18226
18227 * include/features.h (__glibc_clang_prereq): New macro.
18228 * misc/sys/cdefs.h (__glibc_clang_has_extension)
18229 (__attribute_deprecated_msg__): New macros.
18230
18231 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18232
18233 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
18234 macro.
18235 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
18236 * manual/arith.texi (issignaling): Document as ISO from TS
18237 18661-1:2014.
18238 (nextup): Likewise.
18239 (nextupf): Likewise.
18240 (nextupl): Likewise.
18241 (nextdown): Likewise.
18242 (nextdownf): Likewise.
18243 (nextdownl): Likewise.
18244 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
18245 macro.
18246 * math/math.h: Define
18247 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18248 <bits/libc-header-start.h> instead of including <features.h>.
18249 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
18250 [__USE_GNU].
18251 * math/bits/mathcalls.h (nextdown): Declare if
18252 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
18253 (nextup): Likewise.
18254 (__issignaling): Likewise.
18255
18256 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18257
18258 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
18259 check, and remove __glibc_likely hint
18260 from FP_INFINITE check.
18261 * s_csinhf.c (__csinhf): Likewise.
18262
18263 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
18264 hint from FP_INFINITE check.
18265 * s_csinhl.c (__csinhl): Likewise.
18266
18267 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18268
18269 * math/Makefile (libm-calls): Insert F placeholder into
18270 object names. Move w_lgamma_compat* routines into
18271 (libm-compat-calls): New variable.
18272 (libm-compat-calls-ldouble-yes): New variable.
18273 (calls): Insert F placeholder.
18274 (generated): Redefine using new type-foreach macro call.
18275 (routines): Likewise.
18276
18277 (types): New variable to hold a list of symbolic names
18278 for each type supported by the target machine.
18279 (libm-routines): Redefine using new types variable.
18280 (type-foreach): macro to replace fooF with the
18281 appropriately suffixed foo for each types.
18282
18283 (type-ldouble-suffix): New variable.
18284 (type-ldouble-routines): Likewise.
18285 (type-ldouble-yes): Likewise.
18286 (type-double-suffix): Likewise.
18287 (type-double-routines): Likewise.
18288 (type-float-suffix): Likewise.
18289 (type-float-routines): Likewise.
18290
18291 (dbl-only-routines): Remove.
18292 (long-c-yes): Likewise.
18293 (long-m-routines): Likewise.
18294 (long-m-support): Likewise.
18295 (long-m-yes): Likewise.
18296 (test-longdouble-yes): Likewise.
18297
18298 (test-float.o): Simplify by increasing the scope of the
18299 recipe which adds libm-test.stmp to the vector types.
18300 (test-ifloat.o): Likewise.
18301 (test-float-finite.o): Likewise.
18302 (test-double.o): Likewise
18303 (test-idouble.o): Likewise.
18304 (test-double-finite.o): Likewise.
18305 (test-ldouble.o): Likewise
18306 (test-ildoubl.o): Likewise.
18307 (test-ldouble-finite.o): Likewise.
18308
18309 (libm-tests): Redefine type tests using foreach and the
18310 list of types in types.
18311
18312 (CPPFLAGS-test-ildoubl.c): Rename to
18313 (CPPFLAGS-test-ildouble.c): New variable
18314
18315 * math/test-ildoubl.c: Rename to
18316 * math/test-ildouble.c: New file.
18317
18318 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18319
18320 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
18321 Use fabsl instead of fabs.
18322 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
18323 Likewise.
18324 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
18325 Add long double suffix to constant to ensure proper
18326 promotion to long double.
18327
18328 2016-08-03 Tom Tromey <tom@tromey.com>
18329
18330 [BZ #20311]
18331 * nptl_db/Makefile (headers): Add proc_service.h.
18332 * nptl_db/proc_service.h: Add include guard. Use
18333 __BEGIN/__END_DECLS.
18334 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
18335 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
18336 arguments.
18337
18338
18339 2016-08-03 Florian Weimer <fweimer@redhat.com>
18340
18341 [BZ #17730]
18342 Avoid using memalign for TCB allocations.
18343 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
18344 (_dl_allocate_tls_storage): Use malloc and manual alignment.
18345 Avoid alignment gap in the TLS_DTV_AT_TP case.
18346 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
18347 determine the pointer to free.
18348 * nptl/tst-tls3-malloc.c: New test.
18349 * nptl/Makefile (tests): Add it.
18350 (tst-tls3-malloc): Link with libdl, libpthread.
18351 (LDFLAGS-tst-tls3-malloc): Set.
18352 (tst-tls3-malloc.out): Depend on DSO used in test.
18353
18354 2016-08-03 Florian Weimer <fweimer@redhat.com>
18355
18356 [BZ #17730]
18357 Avoid using memalign for TLS allocations.
18358 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
18359 is_static member with to_free member.
18360 (union dtv): Use struct dtv_pointer.
18361 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
18362 dtv_pointer instead of is_static.
18363 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
18364 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
18365 instead of val.
18366 (allocate_dtv_entry): New function.
18367 (allocate_and_init): Return struct dtv_pointer. Call
18368 allocate_dtv_entry instead of __libc_memalign.
18369 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
18370 instead of val.
18371 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
18372 instead of is_static. Adjust call to allocate_and_init.
18373 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
18374 struct dtv_pointer instead of val.
18375
18376 2016-08-03 Florian Weimer <fweimer@redhat.com>
18377
18378 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
18379 (MALLOC_ALIGN_MASK): Move ...
18380 * malloc/malloc-internal.h: ... to here.
18381 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
18382
18383 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18384
18385 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
18386 (UDP_ENCAP_GTP1U): Likewise.
18387
18388 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
18389 (PF_MAX): Update value.
18390 (AF_QIPCRTR): New macro.
18391
18392 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
18393
18394 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
18395 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18396 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18397 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18398 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18399 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18400 s_truncf-vis3, s_trunc-vis3.
18401 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18402 (CFLAGS-s_ceil-vis3.c): Likewise.
18403 (CFLAGS-s_floorf-vis3.c): Likewise.
18404 (CFLAGS-s_floor-vis3.c): Likewise.
18405 (CFLAGS-s_truncf-vis3.c): Likewise.
18406 (CFLAGS-s_trunc-vis3.c): Likewise.
18407 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
18408 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
18409 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
18410 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
18411 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
18412 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
18413 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
18414 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
18415 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
18416 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
18417 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
18418 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
18419
18420 2016-08-02 David S. Miller <davem@davemloft.net>
18421
18422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
18423 (__nearbyint_vis3): Don't check for sNaN before float register is
18424 loaded with the incoming argument.
18425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
18426 (__nearbyintf_vis3): Likewise.
18427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
18428 Likewise.
18429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
18430 Likewise.
18431
18432 * string/test-strncmp.c (do_test_limit): Make sure the test data
18433 stream is aligned as required for the type "CHAR".
18434 (do_test): Likewise.
18435
18436 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
18437
18438 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
18439 by beq instructions jumping to the end of the function.
18440 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
18441 clobber list. Use "i" constraint instead of "X".
18442 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
18443 of "X".
18444
18445 2016-08-02 Joseph Myers <joseph@codesourcery.com>
18446
18447 * bits/libc-header-start.h: New file.
18448 * Makefile (headers): Add bits/libc-header-start.h.
18449 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
18450 (__GLIBC_USE): New macro.
18451 * libio/stdio.h: Define
18452 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18453 <bits/libc-header-start.h> instead of including <features.h>.
18454 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
18455 (open_memstream): Likewise.
18456 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
18457 (__asprintf): Likewise.
18458 (asprintf): Likewise.
18459 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
18460 (getdelim): Likewise.
18461 (getline): Likewise.
18462 * string/string.h: Define
18463 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18464 <bits/libc-header-start.h> instead of including <features.h>.
18465 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
18466 (strndup): Likewise.
18467 * wcsmbs/wchar.h: Define
18468 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18469 <bits/libc-header-start.h> instead of including <features.h>.
18470 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
18471 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
18472
18473 2016-08-02 Florian Weimer <fweimer@redhat.com>
18474
18475 Support linking against compatibility symbols, for use in tests.
18476 * include/libc-symbols.h (symbol_version_reference): New macro.
18477 (symbol_version): Use it.
18478 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
18479 (compat_symbol): Use compat_symbol_reference.
18480 (compat_symbol_1, compat_symbol_2): Remove.
18481 (compat_symbol_reference, compat_symbol_reference_1)
18482 (compat_symbol_reference_2): New macro. Use
18483 symbol_version_reference.
18484
18485 2016-08-02 Florian Weimer <fweimer@redhat.com>
18486
18487 [BZ #19469]
18488 * malloc/Makefile (CPPFLAGS): Compile tests with
18489 -DTEST_NO_MALLOPT.
18490 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
18491
18492 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
18493
18494 [BZ #20033]
18495 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
18496 finite version.
18497 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
18498 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
18499 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
18500 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
18501 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
18502 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
18503 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
18504 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
18505 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
18506 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
18507 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
18508 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
18509 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
18510 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
18511 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
18512 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
18513 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
18514 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
18515 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
18516 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
18517 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
18518 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
18519 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
18520 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
18521 in zero power.
18522
18523 2016-08-02 Florian Weimer <fweimer@redhat.com>
18524
18525 [BZ #20370]
18526 * malloc/arena.c (get_free_list): Update comment. Assert that
18527 arenas on the free list have no attached threads.
18528 (remove_from_free_list): New function.
18529 (reused_arena): Call it.
18530
18531 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
18532
18533 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
18534 when it is a NaN.
18535 [_IEEE_FP_INEXACT] Remove.
18536 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
18537 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
18538 when it is a NaN.
18539 [_IEEE_FP_INEXACT] Remove.
18540 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
18541 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
18542 when it is a NaN.
18543 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
18544 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
18545 when its absolute value is greater than 0x1.0p52.
18546 [_IEEE_FP_INEXACT] Remove.
18547 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
18548 when its absolute value is greater than 0x1.0p23.
18549 [_IEEE_FP_INEXACT] Remove.
18550
18551 2016-08-01 Carlos O'Donell <carlos@redhat.com>
18552
18553 * version.h (RELEASE): Set to "development"
18554 (VERSION): Set to 2.24.90.
18555 * NEWS: Add 2.25 section.
18556
18557 * version.h (RELEASE): Set to "stable"
18558 (VERSION): Set to 2.24.
18559 * include/features.h (__GLIBC_MINOR__): Set to 24.
18560
18561 * NEWS: Add 2.24 fixed bugs.
18562 * po/libc.pot: Regenerate.
18563
18564 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
18565
18566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18567 [$(subdir) = math] (libm-sysdep_routines): Remove.
18568 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18569 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18570 s_truncf-vis3, s_trunc-vis3.
18571 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
18573 file.
18574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
18575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
18576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
18580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
18581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
18583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
18584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
18585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
18586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
18587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
18588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
18589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
18593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
18594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
18595 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
18596 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18597 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18598 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18599 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18600 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18601 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
18602 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18603 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18604 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
18605 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18606 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18607 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
18608 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
18609 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
18610 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
18611 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18612 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18613 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
18614 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
18615 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
18616 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
18617
18618 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
18619
18620 [BZ #20384]
18621 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
18622 test-double-libmvec-sincos-avx-main.o,
18623 test-double-libmvec-sincos-avx2-main.o,
18624 test-double-libmvec-sincos-main.o,
18625 test-float-libmvec-sincosf-avx-main.o,
18626 test-float-libmvec-sincosf-avx2-main.o and
18627 test-float-libmvec-sincosf-main.o.
18628 test-float-libmvec-sincosf-avx512-main.o.
18629 ($(objpfx)test-double-libmvec-sincos): Also link with
18630 $(objpfx)test-double-libmvec-sincos-main.o.
18631 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
18632 $(objpfx)test-double-libmvec-sincos-avx-main.o.
18633 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
18634 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
18635 ($(objpfx)test-float-libmvec-sincosf): Also link with
18636 $(objpfx)test-float-libmvec-sincosf-main.o.
18637 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
18638 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
18639 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
18640 test-double-libmvec-sincos-avx512-main.o and
18641 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
18642 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
18643 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
18644 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
18645 (CFLAGS-test-double-libmvec-sincos.c): Removed.
18646 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
18647 (CFLAGS-test-double-libmvec-sincos-main.c): New.
18648 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
18649 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
18650 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
18651 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
18652 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
18653 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
18654 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
18655 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
18656 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
18657 -DREQUIRE_AVX2.
18658 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
18659 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
18660 -DREQUIRE_AVX512F.
18661 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
18662 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
18663 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
18664 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
18665 file.
18666 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
18667 Likewise.
18668 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
18669 Likewise.
18670 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
18671 Likewise.
18672 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
18673 Likewise.
18674 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
18675 Likewise.
18676 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
18677 Likewise.
18678 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
18679 Likewise.
18680
18681 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
18682
18683 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
18684
18685 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
18686
18687 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
18688 and typo in a comment about AT_HWCAP entry.
18689
18690 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
18691
18692 * sysdeps/aarch64/libm-test-ulps: Updated.
18693
18694 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
18695
18696 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
18697 of r13 as it is not restored in mvcle case.
18698
18699 2016-07-19 Mike Frysinger <vapier@gentoo.org>
18700
18701 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
18702 Rename "ret" to "__ret".
18703 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
18704 inline_syscall5, inline_syscall6): Likewise.
18705
18706 2016-07-19 Will Newton <will.newton@gmail.com>
18707
18708 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
18709 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
18710 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
18711 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
18712 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
18713
18714 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
18715
18716 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
18717 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
18718 -mfpmath=387 with $(rtld-CFLAGS).
18719 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
18720 $(rtld-CFLAGS).
18721
18722 2016-07-18 Ross Burton <ross.burton@intel.com>
18723 Khem Raj <raj.khem@gmail.com>
18724
18725 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
18726 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
18727 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
18728 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
18729 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
18730 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
18731 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
18732 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
18733 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
18734 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
18735 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
18736 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
18737 R_METAG_TLS_DTPOFF): New.
18738
18739 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
18740 Matt Clay <mclay@lycos.com>
18741
18742 [BZ #20357]
18743 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
18744 to call __mpsin/__mpcos and to negate values.
18745 * math/auto-libm-test-in: Add test.
18746 * math/auto-libm-test-out: Regenerate.
18747
18748 2016-07-18 Zack Weinberg <zackw@panix.com>
18749
18750 * grp/Makefile: Don't install the internal header grp-merge.h.
18751
18752 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
18753
18754 * sysdeps/aarch64/libm-test-ulps: Regenerated.
18755
18756 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
18757
18758 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
18759
18760 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18761
18762 [BZ #15368]
18763 * sysdeps/unix/sysv/linux/nptl-signals.h
18764 (__nptl_clear_internal_signals): New function.
18765 (__libc_signal_block_all): Likewise.
18766 (__libc_signal_block_app): Likewise.
18767 (__libc_signal_restore_set): Likewise.
18768 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
18769 implementation.
18770 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
18771 the cached pid/tid value in pthread structure.
18772
18773 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
18774
18775 [BZ #20347]
18776 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
18777
18778 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
18779
18780 [BZ #20348]
18781 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
18782 preadv64, pwrite64 and pwritev64.
18783
18784 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
18785
18786 [BZ #20350]
18787 * posix/tst-preadwrite.c: Renamed to ...
18788 * posix/tst-preadwrite-common.c: This.
18789 (PREAD): Removed.
18790 (PWRITE): Likewise.
18791 (STRINGIFY): Likewise.
18792 (STRINGIFY2): Likewise.
18793 (do_prepare): Make it static and remove function arguments.
18794 (do_test): Likewise.
18795 (PREPARE): Updated.
18796 (TEST_FUNCTION): New.
18797 (name): Make it static.
18798 (fd): Likewise.
18799 (do_prepare): Use create_temp_file.
18800 (do_test): Renamed to ...
18801 (do_test_with_offset): This. Make it static and accept offset.
18802 Properly check return value of PWRITE and PREAD. Return bytes
18803 read. Don't close fd nor unlink name.
18804 * posix/tst-preadwrite.c: Rewrite.
18805 * posix/tst-preadwrite64.c: Likewise.
18806
18807 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
18808
18809 [BZ #20309]
18810 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
18811 -mtls-dialect=gnu2 works.
18812 * configure: Regenerated.
18813 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
18814 (tests): Add tst-gnu2-tls1.
18815 (modules-names): Add tst-gnu2-tls1mod.
18816 ($(objpfx)tst-gnu2-tls1): New.
18817 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
18818 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
18819 * elf/tst-gnu2-tls1.c: New file.
18820 * elf/tst-gnu2-tls1mod.c: Likewise.
18821 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
18822 bytes for push in the PLT entry to align the stack.
18823
18824 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
18825
18826 [BZ #20349]
18827 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
18828
18829 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
18830
18831 [BZ #18707]
18832 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
18833 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
18834
18835 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18836
18837 * sysdeps/unix/sysv/linux/sysdep.h
18838 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
18839 guards.
18840 * misc/tst-preadvwritev-common.c: New file.
18841 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
18842 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
18843 a check for files larger than 2GB.
18844
18845 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18846 (__ASSUME_OFF_DIFF_OFF64): Remove define.
18847 * sysdeps/unix/sysv/linux/pread.c
18848 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
18849 __OFF_T_MATCHES_OFF64_T.
18850 * sysdeps/unix/sysv/linux/pread64.c
18851 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
18852 * sysdeps/unix/sysv/linux/preadv.c
18853 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
18854 * sysdeps/unix/sysv/linux/preadv64.c
18855 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
18856 * sysdeps/unix/sysv/linux/pwrite.c
18857 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
18858 * sysdeps/unix/sysv/linux/pwrite64.c
18859 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
18860 * sysdeps/unix/sysv/linux/pwritev.c
18861 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
18862 * sysdeps/unix/sysv/linux/pwritev64.c
18863 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
18864
18865 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
18866
18867 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18868 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
18869
18870 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
18871
18872 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
18873
18874 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
18875
18876 [BZ #20240]
18877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
18878 (CFLAGS-s_modf-ppc32.c): New variable.
18879 (CFLAGS-s_modff-ppc32.c): Likewise.
18880 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
18881 (CFLAGS-s_modf-ppc64.c): Likewise.
18882 (CFLAGS-s_modff-ppc64.c): Likewise.
18883
18884 2016-07-07 Andreas Schwab <schwab@suse.de>
18885
18886 [BZ #20263]
18887 * nptl/tst-robust10.c: New test.
18888 * nptl/Makefile (tests): Add tst-robust10.
18889
18890 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
18891
18892 [BZ #20263]
18893 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
18894
18895 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
18896
18897 * sysdeps/s390/linkmap.h (struct link_map_machine):
18898 Remove member gotplt and add member jmprel.
18899 * sysdeps/s390/s390-32/dl-machine.h
18900 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
18901 instead of gotplt with &got[3].
18902 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
18903 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18904
18905 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
18906
18907 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
18908
18909 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18910
18911 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
18912 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
18913 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
18914 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
18915 * libio/vtables.c (_IO_vtable_check)
18916 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
18917 * libio/libioP.h (IO_set_accept_foreign_vtables)
18918 [!PTR_MANGLE]: Do not call PTR_MANGLE.
18919
18920 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
18921
18922 [BZ #20314]
18923 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
18924 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
18925 $(common-objpfx)cmath.
18926 ($(common-objpfx)cstdlib): New target.
18927 ($(common-objpfx)cmath): Likewise.
18928
18929 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
18930
18931 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
18932
18933 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18934
18935 [BZ #20327]
18936 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
18937 are not part of the string.
18938
18939 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18940
18941 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
18942 * nptl/tst-cancel4-common.h (fifoname): New variable.
18943 (fifofd): Likewise.
18944 (cl_fifo): New function.
18945 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
18946 SIGINT.
18947 (tf_open): Add early cancel test.
18948
18949 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
18950
18951 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
18952
18953 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
18954
18955 * sysdeps/generic/ldsodefs.h
18956 (dl_symbol_visibility_binds_local_p): New inline function.
18957 * elf/dl-addr.c (determine_info): Treat hidden and internal
18958 symbols as local.
18959 * elf/dl-lookup.c (do_lookup_x): Likewise.
18960 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
18961
18962 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
18963
18964 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
18965 invalid exception for a sNaN input.
18966 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
18967 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
18968 (__nearbyint_vis3): Likewise
18969 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
18970 (__nearbyintf_vis3): Likewise
18971 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
18972 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
18973 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
18974 Likewise.
18975 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
18976 Likewise.
18977
18978 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
18979
18980 [BZ #20139]
18981 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
18982 (HAVE_AVX512DQ_ASM_SUPPORT): This.
18983 * sysdeps/x86_64/configure.ac: Require assembler from binutils
18984 2.24 or above.
18985 (HAVE_AVX512_ASM_SUPPORT): Removed.
18986 (HAVE_AVX512DQ_ASM_SUPPORT): New.
18987 * sysdeps/x86_64/configure: Regenerated.
18988 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
18989 check unconditional.
18990 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
18991 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18992 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18993 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
18994 Likewise.
18995 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
18996 Likewise.
18997 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
18998 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
18999 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19000 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19001 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
19002 Likewise.
19003 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19004 Likewise.
19005 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19006 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19007 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
19008 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
19009 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
19010 Likewise.
19011 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
19012 Likewise.
19013 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
19014 Likewise.
19015 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
19016 Likewise.
19017 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
19018 Likewise.
19019 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
19020 Likewise.
19021 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
19022 Likewise.
19023 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
19024 Likewise.
19025 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
19026 Likewise.
19027 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
19028 Likewise.
19029 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
19030 Likewise.
19031
19032 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
19033
19034 [BZ #20024]
19035 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
19036 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
19037 of this implementation of vector function.
19038 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19039 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19040 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
19041 Likewise.
19042 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19043 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19044 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
19045 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
19046 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
19047 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
19048 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
19049 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
19050 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
19051 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
19052 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
19053 for testing vector sincos with fixed ABI.
19054 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19055 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19056 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19057 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19058 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19059 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19060 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19061 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
19062 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
19063 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
19064 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
19065 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
19066 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
19067 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
19068 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
19069 * sysdeps/x86_64/fpu/Makefile: Added new tests.
19070
19071 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
19072
19073 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
19074
19075 2016-06-30 Anton Blanchard <anton@samba.org>
19076
19077 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19078 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
19079 s_sinf-ppc64.
19080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
19081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
19082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
19083 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
19084
19085 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19086
19087 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19088 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19089 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
19090 e_expf-ppc64.
19091 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
19092 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
19093 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
19094 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
19095
19096 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
19097
19098 [BZ #20277]
19099 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
19100 when SHARED is defined.
19101
19102 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
19103
19104 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
19105 (index_arch_Prefer_ERMS): Likewise.
19106 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
19107 __memcpy_erms for Prefer_ERMS.
19108 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
19109 (__memmove_erms): Enabled for libc.a.
19110 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
19111 __memmove_erms or Prefer_ERMS.
19112 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
19113 __mempcpy_erms for Prefer_ERMS.
19114 * sysdeps/x86_64/multiarch/memset.S (memset): Return
19115 __memset_erms for Prefer_ERMS.
19116
19117 2016-06-30 Andreas Schwab <schwab@suse.de>
19118
19119 [BZ #20262]
19120 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
19121 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
19122 of memory.
19123
19124 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
19125
19126 [BZ #18645]
19127 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
19128 (test-extras): Add tst-cleanupx4aux.
19129 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
19130 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
19131 tst-cleanupx4aux.o.
19132 * nptl/tst-cleanupx4aux.c: New file.
19133
19134 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
19135
19136 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19137
19138 2016-06-29 Andreas Schwab <schwab@suse.de>
19139
19140 [BZ #20260]
19141 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
19142 address before the beginning of the string as an integer to avoid
19143 array-bounds warning.
19144
19145 2016-06-28 Richard Henderson <rth@redhat.com>
19146
19147 * elf/elf.h (EM_BPF): New.
19148 (EM_NUM): Update.
19149 (R_BPF_NONE, R_BPF_MAP_FD): New.
19150
19151 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
19152 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
19153 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
19154 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
19155 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
19156 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
19157 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
19158 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
19159 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
19160 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
19161 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
19162 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
19163 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
19164 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
19165 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
19166 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
19167 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
19168 (EM_NUM): Update.
19169
19170 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
19171
19172 [BZ #18960]
19173 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
19174 Set _nl_current_LC_CATEGORY_used to two instead of one.
19175
19176 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
19177
19178 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
19179 (do_test): ... this.
19180 (TEST_FUNCTION): New macro.
19181 Include test-skeleton.c.
19182 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
19183 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
19184
19185 2016-06-27 Joseph Myers <joseph@codesourcery.com>
19186
19187 [BZ #15479]
19188 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
19189 floating-point environment rather than just control word.
19190 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19191 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
19192 floating-point environment, with "invalid" exceptions merged in,
19193 rather than just control word.
19194 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
19195 * math/libm-test.inc (trunc_test_data): Do not allow spurious
19196 "inexact" exceptions.
19197
19198 [BZ #15479]
19199 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
19200 floating-point environment rather than just control word.
19201 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19202 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
19203 floating-point environment, with "invalid" exceptions merged in,
19204 rather than just control word.
19205 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
19206 * math/libm-test.inc (floor_test_data): Do not allow spurious
19207 "inexact" exceptions.
19208
19209 [BZ #15479]
19210 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
19211 floating-point environment rather than just control word.
19212 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19213 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
19214 floating-point environment, with "invalid" exceptions merged in,
19215 rather than just control word.
19216 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
19217 * math/libm-test.inc (ceil_test_data): Do not allow spurious
19218 "inexact" exceptions.
19219
19220 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
19221
19222 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
19223 __libc_vfork.
19224 (__vfork) [IS_IN (libc)]: Remove alias.
19225 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
19226 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19227 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19228
19229 2016-06-24 Torvald Riegel <triegel@redhat.com>
19230
19231 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
19232 of atomic_compare_and_exchange_bool_rel.
19233 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19234 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
19235 catomic_compare_and_exchange_bool_rel): Remove.
19236 * sysdeps/aarch64/atomic-machine.h
19237 (atomic_compare_and_exchange_bool_rel): Likewise.
19238 * sysdeps/alpha/atomic-machine.h
19239 (atomic_compare_and_exchange_bool_rel): Likewise.
19240 * sysdeps/arm/atomic-machine.h
19241 (atomic_compare_and_exchange_bool_rel): Likewise.
19242 * sysdeps/mips/atomic-machine.h
19243 (atomic_compare_and_exchange_bool_rel): Likewise.
19244 * sysdeps/microblaze/atomic-machine.h
19245 ( __arch_compare_and_exchange_bool_8_rel,
19246 __arch_compare_and_exchange_bool_16_rel): Likewise.
19247 * sysdeps/powerpc/atomic-machine.h
19248 ( __arch_compare_and_exchange_bool_8_rel,
19249 __arch_compare_and_exchange_bool_16_rel): Likewise.
19250 * sysdeps/powerpc/powerpc32/atomic-machine.h
19251 ( __arch_compare_and_exchange_bool_32_rel,
19252 __arch_compare_and_exchange_bool_64_rel): Likewise.
19253 * sysdeps/powerpc/powerpc64/atomic-machine.h
19254 ( __arch_compare_and_exchange_bool_32_rel,
19255 __arch_compare_and_exchange_bool_64_rel): Likewise.
19256 * sysdeps/tile/atomic-machine.h
19257 (atomic_compare_and_exchange_bool_rel): Likewise.
19258
19259 2016-06-23 Joseph Myers <joseph@codesourcery.com>
19260
19261 [BZ #20296]
19262 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
19263 when either argument is a NaN.
19264 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19265 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
19266
19267 * math/libm-test.inc (snan_value_ld): New macro.
19268 (isgreater_test_data): Add sNaN tests.
19269 (isgreaterequal_test_data): Likewise.
19270 (isless_test_data): Likewise.
19271 (islessequal_test_data): Likewise.
19272 (islessgreater_test_data): Likewise.
19273 (isunordered_test_data): Likewise.
19274 (nextafter_test_data): Likewise.
19275 (nexttoward_test_data): Likewise.
19276 (remainder_test_data): Likewise.
19277 (remquo_test_data): Likewise.
19278 (significand_test_data): Likewise.
19279 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
19280
19281 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
19282
19283 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
19284 environment macros are defined.
19285 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
19286
19287 2016-06-23 Florian Weimer <fweimer@redhat.com>
19288
19289 [BZ #20191]
19290 Implement vtable verification in libio.
19291 * Makerules (shlib.lds): Place __libc_IO_vtables section.
19292 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
19293 * debug/vdprintf_chk.c (__vdprintf_chk): Call
19294 _IO_new_file_init_internal instead of _IO_file_init.
19295 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
19296 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
19297 * libio/Makefile (routines): Add vtables.
19298 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
19299 (_IO_init): Remove, not for internal use.
19300 (_IO_init_internal): Declare, internal replacement for _IO_init.
19301 (_IO_file_init): Remove, not for internal use.
19302 (_IO_new_file_init): Remove, not for internal use.
19303 (_IO_new_file_init_internal): Declare, internal replacement for
19304 _IO_new_file_init.
19305 (_IO_old_file_init): Remove, not for internal use.
19306 (_IO_old_file_init_internal): Declare, internal replacement for
19307 _IO_old_file_init.
19308 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
19309 internal use.
19310 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
19311 Declare.
19312 (libio_vtable): New macro.
19313 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
19314 functions.
19315 * libio/fileops.c (_IO_new_file_init_internal): Rename from
19316 _IO_new_file_init.
19317 (_IO_new_file_init): New externally visible wrapper which disables
19318 vtable verification.
19319 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
19320 Define as vtables.
19321 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
19322 (_IO_init): New externally visible wrapper which disables
19323 vtable verification.
19324 * libio/iofdopen.c (_IO_new_fdopen): Call
19325 _IO_new_file_init_internal instead of _IO_file_init. Adjust
19326 comment.
19327 * libio/iofopen.c (__fopen_internal): Call
19328 _IO_new_file_init_internal instead of _IO_file_init.
19329 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
19330 Define as vtables.
19331 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
19332 _IO_new_file_init_internal instead of _IO_file_init.
19333 * libio/iopopen.c (_IO_new_popen): Likewise.
19334 (_IO_proc_jumps): Define as vtable.
19335 * libio/iovdprintf.c (_IO_vdprintf): Call
19336 _IO_new_file_init_internal instead of _IO_file_init.
19337 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
19338 (__open_memstream): Call _IO_init_internal instead of _IO_init.
19339 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
19340 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
19341 _IO_old_file_init.
19342 (_IO_old_file_init): New externally visible wrapper which disables
19343 vtable verification.
19344 (_IO_old_file_jumps): Define as vtable.
19345 * libio/oldiofdopen.c (_IO_old_fdopen): Call
19346 _IO_old_file_init_internal instead of _IO_old_file_init.
19347 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19348 * libio/oldiopopen.c (_IO_old_popen): Likewise.
19349 (_IO_old_proc_jumps): Define as vtable.
19350 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
19351 Define as vtables.
19352 * libio/vtables.c: New file.
19353 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
19354 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
19355 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
19356 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
19357 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
19358 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
19359 instead of _IO_init.
19360
19361 2016-06-23 Florian Weimer <fweimer@redhat.com>
19362
19363 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
19364
19365 2016-06-23 Florian Weimer <fweimer@redhat.com>
19366
19367 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
19368 potentially unused.
19369
19370 2016-06-22 Florian Weimer <fweimer@redhat.com>
19371
19372 * test-skeleton.c (write_message): New function.
19373 * malloc/tst-mallocfork2.c (write_message): Remove.
19374 * debug/tst-longjmp_chk2.c (write_indented): New function.
19375 (write_message): Remove.
19376 (stackoverflow_handler): Call write_indented.
19377
19378 2016-06-22 Joseph Myers <joseph@codesourcery.com>
19379
19380 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
19381 "inexact" exceptions after fnstenv.
19382 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19383 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19384 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19385
19386 2015-06-22 Zack Weinberg <zackw@panix.com>
19387
19388 * sysdeps/generic/bits/hwcap.h: Moved to ...
19389 * bits/hwcap.h: Here.
19390
19391 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
19392
19393 * sysdeps/aarch64/memcpy.S (memcpy):
19394 Further tuning for performance.
19395
19396 2016-06-21 Florian Weimer <fweimer@redhat.com>
19397
19398 [BZ #20284]
19399 * malloc/arena.c (reused_arena): Do not return NULL if we start
19400 out with a non-corrupted arena.
19401
19402 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19403
19404 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
19405 * misc/tst-preadvwritev.c: New file.
19406 * misc/tst-preadvwritev64.c: Likewise.
19407 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
19408 usage.
19409 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
19410 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
19411 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
19412 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
19413
19414 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
19415
19416 [BZ #19654]
19417 * sysdeps/x86_64/fpu/Makefile: Added new tests.
19418 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
19419 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
19420 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
19421 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
19422 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
19423 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
19424 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
19425 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
19426 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
19427 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
19428 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
19429 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
19430 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
19431 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
19432 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
19433 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
19434 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
19435 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
19436 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
19437 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
19438 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
19439 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
19440 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
19441 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
19442 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
19443
19444 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
19445
19446 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
19447 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
19448
19449 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
19450
19451 * sysdeps/aarch64/memcpy.S (memcpy):
19452 Rewrite of optimized memcpy and memmove.
19453 * sysdeps/aarch64/memmove.S (memmove): Remove
19454 memmove code (merged into memcpy.S).
19455
19456 2016-06-20 Florian Weimer <fweimer@redhat.com>
19457
19458 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
19459 * sysdeps/generic/dl-dtv.h: New file.
19460 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19461 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
19462 (dtv_t): Remove.
19463 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19464 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
19465 (dtv_t): Remove.
19466 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19467 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
19468 (dtv_t): Remove.
19469 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19470 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
19471 (dtv_t): Remove.
19472 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19473 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
19474 (dtv_t): Remove.
19475 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19476 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
19477 (dtv_t): Remove.
19478 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19479 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
19480 (dtv_t): Remove.
19481 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
19482 (dtv_t): Remove.
19483 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19484 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
19485 (dtv_t): Remove.
19486 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19487 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
19488 (dtv_t): Remove.
19489 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19490 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
19491 (dtv_t): Remove.
19492 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19493 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
19494 (dtv_t): Remove.
19495 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19496 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
19497 (dtv_t): Remove.
19498 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19499 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
19500 (dtv_t): Remove.
19501 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19502 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
19503 (dtv_t): Remove.
19504 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19505 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
19506 (dtv_t): Remove.
19507
19508 2016-06-20 Florian Weimer <fweimer@redhat.com>
19509
19510 Revert symbol poisoning of __malloc_initialize_hook.
19511 * include/stdc-predef.h (__malloc_initialize_hook): Remove
19512 poisoning.
19513 * malloc/Makefile: Remove un-poisoning.
19514 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
19515 instead of old__malloc_initialize_hook.
19516 * malloc/malloc-hooks.h: Likewise.
19517 * malloc/malloc.c: Likewise.
19518 * malloc/mcheck-init.c: Likewise.
19519
19520 2016-06-19 Carlos O'Donell <carlos@redhat.com>
19521
19522 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
19523
19524 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
19525
19526 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
19527 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
19528 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19529 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19530
19531 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19532
19533 * NEWS: Mention addition of nextup and nextdown.
19534 * manual/arith.texi: Document nextup and nextdown.
19535 * manual/libm-err-tab.pl: Add nextup and nextdown.
19536 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
19537 * math/Versions (libm): Add GLIBC_2.24.
19538 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
19539 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
19540 Add new test.
19541 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
19542 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
19543 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
19544 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
19545 (nextup_test_data): Likewise.
19546 (nextdown_test_data): Likewise.
19547 * math/s_nextdown.c: New file.
19548 * math/s_nextdownf.c: Likewise.
19549 * math/s_nextdownl.c: Likewise.
19550 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
19551 F(nextup): New function.
19552 F(nextdown): Likewise.
19553 * math/tgmath.h: Add nextup and nextdown.
19554 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
19555 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
19556 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
19557 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
19558 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
19559 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
19560 Add nextup and nextdown.
19561 (CFLAGS-nldbl-nextup.c): New variable.
19562 (CFLAGS-nldbl-nextdown.c): Likewise.
19563 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
19564 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
19565 * sysdeps/nacl/libm.abilist: Update.
19566 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19567 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19568 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19569 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19570 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19571 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19572 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19573 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19574 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19575 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19576 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19577 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19580 Likewise.
19581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19583 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19584 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19585 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19586 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19587 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
19589 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
19590 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19591 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19592 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
19593 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19594
19595 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19596
19597 * manual/pattern.texi: Fix typos & grammar errors.
19598
19599 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19600
19601 * manual/search.texi: Fix typos & grammar errors.
19602
19603 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19604
19605 * manual/message.texi: Fix typos & grammar errors.
19606
19607 2016-06-16 Mike Frysinger <vapier@gentoo.org>
19608
19609 * manual/contrib.texi: Fix spelling typos.
19610 * manual/crypt.texi: Likewise.
19611 * manual/filesys.texi: Likewise.
19612 * manual/locale.texi: Likewise.
19613 * manual/message.texi: Likewise.
19614 * manual/nss.texi: Likewise.
19615 * manual/string.texi: Likewise.
19616
19617 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19618
19619 * manual/locale.texi: Fix typos & grammar errors.
19620
19621 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19622
19623 * manual/charset.texi: Fix typos & grammar errors.
19624
19625 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19626
19627 * manual/string.texi: Fix typos.
19628
19629 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19630
19631 * manual/ctype.texi: Fix typos.
19632
19633 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19634
19635 * manual/memory.texi: Fix various typos & grammar errors.
19636
19637 2016-06-14 Joseph Myers <joseph@codesourcery.com>
19638
19639 [BZ #20255]
19640 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
19641 * math/libm-test.inc (fdim_test_data): Add another test.
19642
19643 [BZ #6796]
19644 [BZ #20255]
19645 [BZ #20256]
19646 * math/s_fdim.c: Include <math_private.h>.
19647 (__fdim): Use math_narrow_eval on result.
19648 * math/s_fdimf.c: Include <math_private.h>.
19649 (__fdimf): Use math_narrow_eval on result.
19650 * sysdeps/i386/fpu/s_fdim.S: Remove file.
19651 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
19652 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
19653 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
19654 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
19655 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
19656 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
19657 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
19658 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
19659 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
19660 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
19661 * math/libm-test.inc (fdim_test_data): Expect errno setting on
19662 overflow. Add sNaN tests.
19663
19664 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
19665 fpclassify.
19666 * math/s_fdimf.c (__fdimf): Likewise.
19667 * math/s_fdiml.c (__fdiml): Likewise.
19668
19669 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19670
19671 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19672 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
19673 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19674 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
19675 ifunc'ed strcasecmp/strncasecmp.
19676 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
19677 [EALIGN]: Removed.
19678 [END]: Likewise.
19679 [__strcasecmp]: Define instead of the above to control symbol name.
19680 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
19681 for __strcasecmp_power8.
19682 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
19683 for __strncasecmp_power8.
19684 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
19685 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
19686 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
19687 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
19688 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
19689 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
19690
19691 2016-06-13 Joseph Myers <joseph@codesourcery.com>
19692
19693 [BZ #20252]
19694 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
19695 arguments when second argument is a NaN.
19696 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
19697 qNaN tests.
19698
19699 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
19700 (conj_test_data): Likewise.
19701 (copysign_test_data): Likewise.
19702 (creal_test_data): Likewise.
19703 (fma_test_data): Likewise.
19704 (fmod_test_data): Likewise.
19705
19706 [BZ #20250]
19707 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
19708 itself.
19709 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
19710 zero input to itself.
19711 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
19712 Likewise.
19713 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
19714 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
19715 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19716 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
19717 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
19718
19719 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19720
19721 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
19722 * nptl/tst-cancel4-common.c: New file.
19723 * nptl/tst-cancel4-common.h: Likewise.
19724 * nptl/tst-cancel4.c: Move common definitions to
19725 tst-cancel4-common.{c,h} file.
19726 * nptl/tst-cancel4_1.c: New test.
19727 * nptl/tst-cancel4_2.c: New test.
19728
19729 2016-06-13 Florian Weimer <fweimer@redhat.com>
19730
19731 [BZ #20248]
19732 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
19733 (write_message): New function.
19734 (stackoverflow_handler): Call it instead of printf, to avoid
19735 excessive stack usage by printf.
19736 (do_test): Restore SIGSEGV, SIGBUS default handlers.
19737
19738 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19739
19740 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
19741 (prio_inherit_missing): Remove define.
19742 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19743 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19744 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
19745 Likewise.
19746 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19747 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19748 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19749 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19750 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19751 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19752
19753 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
19754
19755 [BZ #19670]
19756 [BZ #19672]
19757
19758 * io/test-lfs.c (do_prepare): Use xmalloc.
19759 * io/tst-fcntl.c (do_prepare): Likewise.
19760 * libio/tst-fopenloc.c (do_bz17916): Likewise.
19761 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
19762 * login/tst-utmp.c (do_prepare): Likewise.
19763 * posix/tst-exec.c (do_prepare): Likewise.
19764 * posix/tst-pathconf.c (prepare): Likewise.
19765 * posix/tst-spawn.c (do_prepare): Likewise.
19766 * posix/tst-truncate.c (do_prepare): Likewise.
19767 * rt/tst-aio.c (do_prepare): Likewise.
19768 * rt/tst-aio64.c (do_prepare): Likewise.
19769
19770 2016-06-11 Florian Weimer <fweimer@redhat.com>
19771
19772 [BZ #20237]
19773 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
19774 (get*ent): Set entidx to NULL during initialization. If entidx is
19775 NULL, start iteration from the beginning.
19776
19777 2016-06-11 Florian Weimer <fweimer@redhat.com>
19778
19779 * malloc/malloc.c (musable): Return correct size for dumped fake
19780 mmapped chunk.
19781
19782 2016-06-11 Florian Weimer <fweimer@redhat.com>
19783
19784 [BZ #20222]
19785 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
19786 (_IO_cookie_write): Likewise.
19787 (_IO_cookie_seek): Likewise.
19788 (_IO_cookie_close): Likewise.
19789 (_IO_old_cookie_seek): Likewise.
19790 (set_callbacks): New function.
19791 (_IO_cookie_init): Call set_callbacks to copy callbacks.
19792
19793 2016-06-11 Marko Myllynen <myllynen@redhat.com>
19794
19795 * locale/programs/localedef.c (oldstyle_tables): Remove.
19796 * locale/programs/localedef.h (oldstyle_tables): Likewise.
19797
19798 2016-06-10 Joseph Myers <joseph@codesourcery.com>
19799
19800 [BZ #20240]
19801 * math/Makefile (CFLAGS-s_modf.c): New variable.
19802 (CFLAGS-s_modff.c): Likewise.
19803 (CFLAGS-s_modfl.c): Likewise.
19804 * math/libm-test.inc (modf_test_data): Add sNaN tests.
19805
19806 2016-06-09 Carlos O'Donell <carlos@redhat.com>
19807
19808 [BZ #20215]
19809 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
19810 [!__GNUC_PREREQ (3,2)]: Likewise.
19811
19812 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
19813
19814 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
19815 (msghdr.msg_controllen): Likewise.
19816 (cmsghdr.cmsg_len): Likewise.
19817 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
19818 ptw-oldsendmsg.
19819 (CFLAGS-oldrecvmsg.c): Remove rule.
19820 (CFLAGS-oldsendmsg.c): Likewise.
19821 (CFLAGS-recvmsg.c): Add rule.
19822 (CFLAGS-sendmsg.c): Likewise.
19823 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
19824 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
19825 (CFLAGS-recvmsg.c): Remove rule.
19826 (CFLAGS-sendmsg.c): Likewise.
19827 (CFLAGS-oldrecvmsg.c): Likewise.
19828 (CFLAGS-oldsendmsg.c): Likewise.
19829 (CFLAGS-recvmmsg.c): Likewise.
19830 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
19831 to kernel defined interfaces.
19832 (msghdr.msg_controllen): Likewise.
19833 (cmsghdr.cmsg_len): Likewise.
19834 (msghdr.__glibc_reserved1): Remove member.
19835 (msghdr.__glibc_reserved2): Likewise.
19836 (cmsghdr.__glibc_reserved1): Likewise.
19837 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
19838 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
19839 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
19840 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
19841 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
19842 version.
19843 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
19844 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
19845 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
19846 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
19847 Remove recvmsg and sendmsg.
19848 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
19849 Likewise.
19850 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
19851 Likewise.
19852 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
19853 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
19854 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
19855 Likewise.
19856 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
19857 Likewise.
19858 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
19859 [libc] (GLIBC_2.24): Likewise.
19860 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
19861 Likewise.
19862 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
19863 Likewise.
19864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19865 [libc] (GLIBC_2.24): Likewise.
19866 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
19867 Likewise.
19868 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
19869 Likewise.
19870 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
19871 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
19872 Likewise.
19873 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
19874 Likewise.
19875 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
19876 Likewise.
19877 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
19878 Likewise.
19879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
19880 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
19881 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
19882 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
19883 version for {recv,send,recm,sendm}msg.
19884 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19885 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19886 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19887 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19888 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19889 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19890 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19891 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19892 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19893 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
19894 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19895 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19897 Likewise.
19898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19899 Likewise.
19900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19902 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19903 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19904 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19905 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19906 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19907 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
19909 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
19910 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19911 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19912 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19913
19914 2016-06-10 Florian Weimer <fweimer@redhat.com>
19915
19916 [BZ #19564]
19917 Remove __malloc_initialize_hook from the API.
19918 * malloc/malloc.h (__malloc_initialize_hook): Remove.
19919 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
19920 #pragma GCC poison.
19921 * malloc/malloc-hooks.h: New file.
19922 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
19923 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
19924 (old__malloc_initialize_hook): Rename from
19925 __malloc_initialize_hook to evade poisoning. Turn into compat
19926 symbol.
19927 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
19928 __malloc_initialize_hook.
19929 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
19930 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
19931 * manual/memory.texi (Hooks for Malloc): Remove
19932 __malloc_initialize_hook. Adjust hook example.
19933
19934 2016-06-09 Joseph Myers <joseph@codesourcery.com>
19935
19936 [BZ #20235]
19937 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
19938 itself.
19939 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
19940 * math/libm-test.inc (log2_test_data): Add sNaN tests.
19941
19942 [BZ #20234]
19943 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
19944 infinity or NaN input to itself.
19945
19946 [BZ #20233]
19947 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
19948 to itself.
19949
19950 [BZ #20232]
19951 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
19952 itself.
19953
19954 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
19955
19956 * sysdeps/x86_64/start.S (_start): Always indirect branch to
19957 __libc_start_main via GOT.
19958
19959 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
19960
19961 * sysdeps/x86_64/memcopy.h: New file.
19962 * sysdeps/x86_64/wordcopy.c: Likewise.
19963
19964 2016-06-09 Florian Weimer <fweimer@redhat.com>
19965
19966 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
19967 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
19968 <cstdlib>.
19969 (optimization_barrier): New.
19970 (do_test): Use it. Call quick_exit in the global namespace.
19971 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
19972 instead of <cstdlib>, <thread>.
19973 (optimization_barrier): New.
19974 (non_main_thread): Adjust declaration. Call optimization_barrier.
19975 Call quick_exit in the global namespace.
19976 (do_test): Call optimization_barrier. Use pthread_create,
19977 pthread_join instead of std::thread.
19978
19979 2016-06-09 Andreas Schwab <schwab@suse.de>
19980
19981 [BZ #19755]
19982 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
19983 new entries in auto-propagate mode.
19984 * nscd/grpcache.c (cache_addgr): Likewise.
19985
19986 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
19987
19988 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
19989 New functions.
19990 (add_temp_file): Use them.
19991
19992 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
19993
19994 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
19995
19996 2016-06-08 Joseph Myers <joseph@codesourcery.com>
19997
19998 [BZ #20229]
19999 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
20000 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
20001 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
20002
20003 [BZ #20228]
20004 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
20005 itself.
20006 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20007 * math/libm-test.inc (log10_test_data): Add sNaN tests.
20008
20009 [BZ #20227]
20010 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
20011 itself.
20012 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20013 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
20014 * math/libm-test.inc (log_test_data): Add sNaN tests.
20015
20016 [BZ #20226]
20017 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
20018 itself.
20019 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20020 * math/libm-test.inc (exp_test_data): Add sNaN tests.
20021 (exp10_test_data): Likewise.
20022 (expm1_test_data): Likewise.
20023
20024 [BZ #20225]
20025 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
20026 itself.
20027 * math/s_ldexpf.c (__ldexpf): Likewise.
20028 * math/s_ldexpl.c (__ldexpl): Likewise.
20029 * math/w_scalbln.c (__w_scalbln): Likewise.
20030 * math/w_scalblnf.c (__w_scalblnf): Likewise.
20031 * math/w_scalblnl.c (__w_scalblnl): Likewise.
20032 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
20033 (scalbln_test_data): Likewise.
20034
20035 [BZ #20224]
20036 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
20037 argument to itself.
20038 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
20039
20040 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
20041
20042 [BZ #19776]
20043 * sysdeps/x86_64/memcpy.S: Make it dummy.
20044 * sysdeps/x86_64/mempcpy.S: Likewise.
20045 * sysdeps/x86_64/memmove.S: New file.
20046 * sysdeps/x86_64/memmove_chk.S: Likewise.
20047 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
20048 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
20049 * sysdeps/x86_64/memmove.c: Removed.
20050 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20051 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20052 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
20053 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
20054 Likewise.
20055 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20056 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20057 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20058 memcpy-sse2-unaligned, memmove-avx-unaligned,
20059 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
20060 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20061 (__libc_ifunc_impl_list): Replace
20062 __memmove_chk_avx512_unaligned_2 with
20063 __memmove_chk_avx512_unaligned. Remove
20064 __memmove_chk_avx_unaligned_2. Replace
20065 __memmove_chk_sse2_unaligned_2 with
20066 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
20067 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
20068 with __memmove_avx512_unaligned. Replace
20069 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
20070 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
20071 with __memcpy_chk_avx512_unaligned. Remove
20072 __memcpy_chk_avx_unaligned_2. Replace
20073 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
20074 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
20075 Replace __memcpy_avx512_unaligned_2 with
20076 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
20077 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
20078 with __mempcpy_chk_avx512_unaligned. Remove
20079 __mempcpy_chk_avx_unaligned_2. Replace
20080 __mempcpy_chk_sse2_unaligned_2 with
20081 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
20082 Replace __mempcpy_avx512_unaligned_2 with
20083 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
20084 Replace __mempcpy_sse2_unaligned_2 with
20085 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
20086 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
20087 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
20088 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
20089 if processor has ERMS. Default to __memcpy_sse2_unaligned.
20090 (ENTRY): Removed.
20091 (END): Likewise.
20092 (ENTRY_CHK): Likewise.
20093 (libc_hidden_builtin_def): Likewise.
20094 Don't include ../memcpy.S.
20095 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
20096 __memcpy_chk_avx512_unaligned_erms and
20097 __memcpy_chk_avx512_unaligned. Use
20098 __memcpy_chk_avx_unaligned_erms and
20099 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20100 Default to __memcpy_chk_sse2_unaligned.
20101 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
20102 Change function suffix from unaligned_2 to unaligned.
20103 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
20104 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
20105 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
20106 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
20107 (ENTRY): Removed.
20108 (END): Likewise.
20109 (ENTRY_CHK): Likewise.
20110 (libc_hidden_builtin_def): Likewise.
20111 Don't include ../mempcpy.S.
20112 (mempcpy): New. Add a weak alias.
20113 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
20114 __mempcpy_chk_avx512_unaligned_erms and
20115 __mempcpy_chk_avx512_unaligned. Use
20116 __mempcpy_chk_avx_unaligned_erms and
20117 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20118 Default to __mempcpy_chk_sse2_unaligned.
20119
20120 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
20121
20122 [BZ #19881]
20123 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
20124 into ...
20125 * sysdeps/x86_64/memset.S: This.
20126 (__bzero): Removed.
20127 (__memset_tail): Likewise.
20128 (__memset_chk): Likewise.
20129 (memset): Likewise.
20130 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
20131 defined.
20132 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
20133 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
20134 (__memset_zero_constant_len_parameter): Check SHARED instead of
20135 PIC.
20136 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20137 memset-avx2 and memset-sse2-unaligned-erms.
20138 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20139 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
20140 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
20141 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
20142 (__bzero): Enabled.
20143 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
20144 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
20145 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
20146 or __memset_avx2_unaligned_erms if processor has ERMS. Support
20147 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
20148 (memset): Removed.
20149 (__memset_chk): Likewise.
20150 (MEMSET_SYMBOL): New.
20151 (libc_hidden_builtin_def): Replace __memset_sse2 with
20152 __memset_sse2_unaligned.
20153 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
20154 __memset_chk_sse2 and __memset_chk_avx2 with
20155 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
20156 Use __memset_chk_sse2_unaligned_erms or
20157 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
20158 __memset_chk_avx512_unaligned_erms and
20159 __memset_chk_avx512_unaligned.
20160
20161 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20162
20163 * math/gen-auto-libm-test.c (fp_format_desc): remove
20164 suffix member.
20165 (output_generic_value): Remove usage of suffix member,
20166 and the resulting unuse of the fp_format argument.
20167 (output_for_one_input_case): Remove unused fp_format
20168 parameter.
20169
20170 * math/auto-libm-test-out: Regenerate.
20171
20172 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
20173 usage with TEST_COND_ibm128.
20174 (TEST_COND_flt_32): Remove.
20175 (TEST_COND_dbl_64): Remove.
20176 (TEST_COND_ldbl_96_intel): Remove.
20177 (TEST_COND_ldbl_96_m68k): Remove.
20178 (TEST_COND_ldbl_128): Remove.
20179
20180 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20181
20182 * auto-libm-test-in:
20183 Replace flt-32 usage with binary32.
20184 Replace dbl-64 usage with binary64.
20185 Replace ldbl-intel-96 usage with intel96.
20186 Replace ldbl-m68k-96 usage with m68k96.
20187 Replace ldbl-128ibm usage with ibm128.
20188 Replace ldbl-128 usage with binary128.
20189
20190 * auto-libm-test-out: Regenerate.
20191
20192 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20193
20194 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
20195 (parse_ulps): Dynamically generate type name matching
20196 string from all_floats.
20197 (get_ulps): Generate the ulps as an array instead.
20198 (output_ulps): Dynamically compose the type based
20199 on the number of supported formats, and print
20200 the indices as type specific helper macros.
20201
20202 * math/libm-test.inc: Remove comment about CHOOSE.
20203 (ulp_data): Generate the type in libm-test-ulps.h.
20204 (ULP_IDX): New macro.
20205 (find_ulps): Update usage of max_ulp.
20206
20207 * math/test-double-vlen2.h (CHOOSE): Remove.
20208 * math/test-double-vlen4.h (CHOOSE): Likewise.
20209 * math/test-double-vlen8.h (CHOOSE): Likewise.
20210 * math/test-float.c (CHOOSE): Likewise.
20211 * math/test-float-finite.c (CHOOSE): Likewise.
20212 * math/test-double.c (CHOOSE): Likewise.
20213 * math/test-double-finite.c (CHOOSE): Likewise.
20214 * math/test-idouble.c (CHOOSE): Likewise.
20215 * math/test-ifloat.c (CHOOSE): Likewise.
20216 * math/test-ildoubl.c (CHOOSE): Likewise.
20217 * math/test-ldouble-finite.c (CHOOSE): Likewise.
20218 * math/test-ldouble.c (CHOOSE): Likewise.
20219
20220 * math/test-float.h (TEST_FLOAT): Remove.
20221 * math/test-double.h (TEST_DOUBLE): Likewise.
20222 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
20223
20224 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20225
20226 * math/gen-libm-test.pl: (apply_lit): New subroutine.
20227 (parse_args): Strip C suffix from floating point literals
20228 typed with 'f' and wrap them with LIT().
20229
20230 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
20231 (test_ff_f_data_nexttoward): Rename to
20232 (test_fj_f_data): New struct.
20233 (nexttoward_test_data): Relabel tests as
20234 TEST_fj_f instead of TEST_ff_f.
20235
20236 2016-06-08 Florian Weimer <fweimer@redhat.com>
20237
20238 Emacs bug 23726.
20239 * malloc/malloc.c (dumped_main_arena_start): Update comment.
20240 (__libc_realloc): Correct size computation for dumped fake mmapped
20241 chunks.
20242
20243 2016-06-07 Joseph Myers <joseph@codesourcery.com>
20244
20245 [BZ #20219]
20246 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
20247 to itself.
20248 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
20249
20250 [BZ #20218]
20251 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
20252 to itself.
20253 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
20254
20255 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
20256
20257 [BZ #20195]
20258 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
20259 check to ...
20260 (init_cpu_features): Here.
20261
20262 2016-06-07 Carlos O'Donell <carlos@redhat.com>
20263
20264 [BZ #20214]
20265 * sysdeps/unix/sysv/linux/bits/in.h
20266 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20267 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
20268 Define to 1.
20269 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20270 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
20271 Define to 0.
20272 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
20273 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
20274
20275 2016-06-06 Carlos O'Donell <carlos@redhat.com>
20276
20277 [BZ #20198]
20278 * stdlib/Makefile (tests): Add tst-quick_exit, and
20279 tst-thread-quick_exit.
20280 [ifeq ($(have-cxx-thread_local),yes)]
20281 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
20282 (CFLAGS-tst-thread-quick_exit.o): Likewise.
20283 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
20284 (LDLIBS-tst-thread-quick_exit): Likewise.
20285 [ifneq ($(have-cxx-thread_local),yes)]
20286 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
20287 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
20288 If run_dtors is true call __call_tls_dtors.
20289 (exit): Call __run_exit_handlers with run_dtors set to true.
20290 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
20291 definition.
20292 * stdlib/quick_exit.c (quick_exit): Remove function.
20293 (__new_quick_exit): New function.
20294 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
20295 function.
20296 * stdlib/tst-quick_exit.cc: New file.
20297 * stdlib/tst-thread-quick_exit.cc: New file.
20298 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
20299 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
20300 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
20301 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
20302 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
20303 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
20304 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
20305 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
20306 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
20307 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
20308 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
20309 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
20310 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
20311 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
20312 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
20313 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
20314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
20315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
20316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
20317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
20318 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
20319 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
20320 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
20321 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
20322 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
20323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
20324 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
20325 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
20326 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
20327 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
20328
20329 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
20330
20331 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
20332 a typo in comments.
20333
20334 2016-06-06 Joseph Myers <joseph@codesourcery.com>
20335
20336 [BZ #20213]
20337 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
20338 argument to itself.
20339 * math/libm-test.inc (asin_test_data): Add sNaN tests.
20340
20341 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20342
20343 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
20344 required flags.
20345 (CFLAGS-pwritev64.c): Likewise.
20346 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
20347 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
20348 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
20349 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20350 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
20351 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
20352 syscall from auto-generation.
20353 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
20354 [WORDSIZE == 64] (pwritev64): Remove macro.
20355 [!PWRITEV] (PWRITEV): Likewise.
20356 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20357 [!PWRITEV] (PWRITE): Likewise.
20358 [!PWRITEV] (OFF_T): Likewise.
20359 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20360 (LO_HI_LONG): Remove macro.
20361 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
20362 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
20363 (PWRITEV): Remove macro.
20364 (PWRITEV_REPLACEMENTE): Likewise.
20365 (PWRITE): Likewise.
20366 (OFF_T): Likewise.
20367 (pwritev64): New function.
20368 * nptl/tst-cancel4.c (tf_writev): Add test.
20369
20370 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
20371 required flags.
20372 (CFLAGS-preadv64.c): Likewise.
20373 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
20374 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
20375 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
20376 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
20377 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
20378 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
20379 syscall from auto-generation.
20380 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
20381 [WORDSIZE == 64] (preadv64): Remove macro.
20382 [!PREADV] (PREADV): Likewise.
20383 [!PREADV] (PREADV_REPLACEMENT): Likewise.
20384 [!PREADV] (PREAD): Likewise.
20385 [!PREADV] (OFF_T): Likewise.
20386 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
20387 (LO_HI_LONG): Remove macro.
20388 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
20389 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
20390 (PREADV): Remove macro.
20391 (PREADV_REPLACEMENTE): Likewise.
20392 (PREAD): Likewise.
20393 (OFF_T): Likewise.
20394 (preadv64): New function.
20395 * nptl/tst-cancel4.c (tf_preadv): Add test.
20396
20397 2016-06-06 Joseph Myers <joseph@codesourcery.com>
20398
20399 [BZ #20212]
20400 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
20401 argument to itself.
20402 * math/libm-test.inc (acos_test_data): Add sNaN tests.
20403
20404 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20405
20406 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
20407 New symbol defined as libc_hidden_def.
20408 (strcasestr): Became a weak alias to __strcasestr.
20409 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
20410 according to multi-arch support. Move __stpncpy hidden
20411 definition from here to...
20412 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
20413 symbol stpncpy.
20414 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
20415 libc_hidden_builtin_def.
20416 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
20417 memset symbol to use when multi-arch support is available.
20418
20419 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
20420
20421 * dlfcn/tst-rec-dlopen.c: Include string.h.
20422
20423 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20424
20425 * manual/install.texi: Remove mention of --without-tls
20426 * INSTALL: Regenerate.
20427
20428 2016-06-05 Florian Weimer <fweimer@redhat.com>
20429
20430 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
20431 Remove.
20432 (call_function, interposed_malloc_called): New variables.
20433 (malloc): New function.
20434 (do_test): Do not change malloc hooks. Initialize malloc. Set
20435 and clear call_function as needed.
20436
20437 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
20438
20439 * include/wchar.h (__wmemset): Use __typeof.
20440
20441 2016-06-03 Carlos O'Donell <carlos@redhat.com>
20442
20443 * include/wchar.h (__wmemset): Declare function without typeof.
20444
20445 2016-06-03 Joseph Myers <joseph@codesourcery.com>
20446
20447 [BZ #20205]
20448 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
20449 exponent when incrementing negative subnormal with low mantissa
20450 word zero.
20451 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
20452 Add another test.
20453
20454 2016-06-03 Florian Weimer <fweimer@redhat.com>
20455
20456 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
20457 __wmemset instead of wmemset.
20458
20459 2016-06-02 Carlos O'Donell <carlos@redhat.com>
20460
20461 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
20462 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
20463 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
20464 __USE_KERNEL_IPV6_DEFS to 0.
20465 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
20466 Update comment.
20467
20468 2016-06-01 Florian Weimer <fweimer@redhat.com>
20469
20470 [BZ #19861]
20471 Do not use IFUNC resolver with potentially unrelocated symbol.
20472 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
20473 (DEFINE_FORK): Remove macro and inline definition.
20474 (fork_alias): Renamed from fork_ifunc.
20475 (__fork_alias): Renamed from __fork_ifunc.
20476
20477 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
20478
20479 [BZ 19653]
20480 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
20481 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
20482
20483 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20484
20485 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
20486 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
20487 i386-linux-gnu).
20488 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
20489 Set to no.
20490 * sysdeps/mach/hurd/configure: Refresh.
20491
20492 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20493
20494 [BZ #20178]
20495 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
20496 on failure instead of exit.
20497
20498 2016-05-30 Roland McGrath <roland@hack.frob.com>
20499
20500 [BZ #3629]
20501 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
20502 of POSIX.1-2008.
20503
20504 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20505
20506 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
20507 Use PLT entry for calling _hurd_self_sigstate.
20508
20509 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
20510
20511 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
20512 available logical processors with SMT level type sharing L2
20513 cache for Intel processors.
20514
20515 2016-05-27 Joseph Myers <joseph@codesourcery.com>
20516
20517 [BZ #20160]
20518 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
20519 argument to itself before returning the result.
20520 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
20521 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
20522 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
20523 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
20524 Likewise.
20525 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
20526 Likewise.
20527 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
20528 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
20529 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
20530 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
20531 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
20532 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
20533
20534 [BZ #20160]
20535 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
20536 argument to itself before returning the result.
20537 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
20538 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
20539 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
20540 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
20541 Likewise.
20542 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20543 Likewise.
20544 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
20545 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
20546 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
20547 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
20548 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
20549 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
20550
20551 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20552
20553 * libm-test.inc: Replace usage of M_El with
20554 (lit_e): New macro.
20555
20556 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20557
20558 * libm-test.inc: Replace usage of M_PI_4l with
20559 (lit_pi_4_d): New macro.
20560
20561 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20562
20563 * libm-test.inc: Replace usage of M_PIl with
20564 (lit_pi): New macro.
20565
20566 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20567
20568 * libm-test.inc: Replace usage of M_PI2l with
20569 (lit_pi_2_d): New macro.
20570
20571 * math/test-double.h (LITM): New macro.
20572 * math/test-float.h (LITM): Likewise.
20573 * math/test-ldouble.h (LITM): Likewise.
20574
20575 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20576
20577 * libm-test.inc (M_PI_34l): Rename to
20578 (lit_pi_3_m_4_d): New Macro.
20579 (M_PI_34_LOG10El): Rename to
20580 (lit_pi_3_m_4_ln10_m_d): New Macro.
20581 (M_PI2_LOG10El): Rename to
20582 (lit_pi_2_ln10_m_d): New Macro.
20583 (M_PI4_LOG10El): Rename to
20584 (lit_pi_4_ln10_m_d): New Macro.
20585 (M_PI_LOG10El): Rename to
20586 (lit_pi_ln10_d): New Macro.
20587
20588 2016-05-27 Joseph Myers <joseph@codesourcery.com>
20589
20590 [BZ #20157]
20591 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
20592 determine whether to negate low half if [_ARCH_PPCGR], and integer
20593 comparison otherwise.
20594 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
20595 determine whether to negate low half.
20596
20597 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
20598 (NO_TEST_INLINE_DOUBLE): Likewise.
20599 (TEST_COND_x86_64): Likewise.
20600 (TEST_COND_x86): Likewise.
20601 (M_PI_6l): Likewise.
20602
20603 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20604
20605 * math/libm-test.inc:
20606 (TEST_FLOAT): Change usage to TEST_COND_binary32.
20607 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
20608 (TEST_LDOUBLE): Update usage to evaluate as true if
20609 the guarded tests match the property being tested.
20610 (LDBL_MAX_EXP): Change to MAX_EXP.
20611 (LDBL_MIN_EXP): Change to MIN_EXP.
20612 (LDBL_MANT_DIG): Change to MANT_DIG, except for
20613 nexttoward tests.
20614
20615 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20616
20617 * math/libm-test.inc:
20618 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
20619 (TYPE_MIN): Likewise.
20620 (TYPE_TRUE_MIN): Likewise.
20621 (TYPE_MAX): Likewise.
20622 (MIN_EXP): Likewise.
20623 (MAX_EXP): Likewise.
20624 (MANT_DIG): Likewise.
20625
20626 (FSTR_MAX): New macro.
20627 (__CONCATX): Likewise.
20628 (QTYPE_STR): Likewise.
20629 (TEST_COND_binary32): Likewise.
20630 (TEST_COND_binary64): Likewise.
20631 (TEST_COND_binary128): Likewise.
20632 (TEST_COND_ibm128): Likewise.
20633 (TEST_COND_intel96): Likewise.
20634 (TEST_COND_m68k96): Likewise.
20635
20636 (TEST_COND_flt_32): Redefine as equivalent format test macro.
20637 (TEST_COND_dbl_64): Likewise.
20638 (TEST_COND_ldbl_96_intel): Likewise.
20639 (TEST_COND_ldbl_96_m68k): Likewise.
20640 (TEST_COND_ldbl_128): Likewise.
20641 (TEST_COND_ldbl_128ibm): Likewise.
20642
20643 (plus_zero): Redefine using LIT macro.
20644 (minus_zero): Likewise.
20645 (plus_infty): Redefine as (INF).
20646 (minux_infty): Redefine as (-INF).
20647 (max_value): Redefine as TYPE_MAX.
20648 (min_value): Redefine as TYPE_MIN.
20649 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
20650
20651 (print_float): Refactor to use snprintf to convert FLOAT values
20652 to string. This brings it closer to dropin replacement of strtof
20653 for the TS 18661 defined types.
20654 (update_stats): Likewise.
20655 (print_complex_function_ulps): Likewise.
20656 (print_max_error): Likewise.
20657 (print_complex_max_error): Likewise.
20658 (check_float_internal): Likewise.
20659
20660 * math/test-float.h (PREFIX): New macro.
20661 (LIT): Likewise.
20662 (TYPE_STR): Likewise.
20663 (FTOSTR): Likewise.
20664
20665 * math/test-double.h (PREFIX): New macro.
20666 (LIT): Likewise.
20667 (TYPE_STR): Likewise.
20668 (FTOSTR): Likewise.
20669
20670 * math/test-ldouble.h (PREFIX): New macro.
20671 (LIT): Likewise.
20672 (TYPE_STR): Likewise.
20673 (FTOSTR): Likewise.
20674
20675 2016-05-27 Joseph Myers <joseph@codesourcery.com>
20676
20677 [BZ #20156]
20678 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
20679 to itself when zero or not finite.
20680 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
20681 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20682 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
20683 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
20684
20685 2016-05-26 Joseph Myers <joseph@codesourcery.com>
20686
20687 [BZ #20153]
20688 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
20689 x * x + x for infinities and NaNs.
20690
20691 [BZ #20151]
20692 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
20693 argument to itself before returning result.
20694 (__ieee754_y0l): Likewise.
20695 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20696 (__ieee754_y1l).
20697
20698 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
20699 (atan_test_data): Likewise.
20700 (ceil_test_data): Likewise.
20701 (cos_test_data): Likewise.
20702 (cosh_test_data): Likewise.
20703 (erf_test_data): Likewise.
20704 (exp2_test_data): Likewise.
20705 (fabs_test_data): Likewise.
20706 (floor_test_data): Likewise.
20707 (ilogb_test_data): Likewise.
20708 (j0_test_data): Likewise.
20709 (j1_test_data): Likewise.
20710 (jn_test_data): Likewise.
20711 (lgamma_test_data): Likewise.
20712 (lrint_test_data): Likewise.
20713 (llrint_test_data): Likewise.
20714 (logb_test_data): Likewise.
20715 (lround_test_data): Likewise.
20716 (llround_test_data): Likewise.
20717 (nearbyint_test_data): Likewise.
20718 (rint_test_data): Likewise.
20719 (round_test_data): Likewise.
20720 (sin_test_data): Likewise.
20721 (sincos_test_data): Likewise.
20722 (sinh_test_data): Likewise.
20723 (sqrt_test_data): Likewise.
20724 (tan_test_data): Likewise.
20725 (tanh_test_data): Likewise.
20726 (tgamma_test_data): Likewise.
20727 (trunc_test_data): Likewise.
20728 (y0_test_data): Likewise.
20729 (y1_test_data): Likewise.
20730 (yn_test_data): Likewise.
20731
20732 * math/libm-test.inc: Update comment about NaN testing.
20733 (TEST_SNAN): New macro.
20734 (snan_value): Likewise.
20735 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
20736 (fpclassify_test_data): Add sNaN tests.
20737 (isfinite_test_data): Likewise.
20738 (isinf_test_data): Likewise.
20739 (isnan_test_data): Likewise.
20740 (isnormal_test_data): Likewise.
20741 (issignaling_test_data): Likewise.
20742 (signbit_test_data): Likewise.
20743 * math/gen-libm-test.pl (%beautify): Add snan_value.
20744 (show_exceptions): Add argument $test_snan.
20745 (parse_args): Handle snan_value as non-finite. Update call to
20746 show_exceptions.
20747 * math/Makefile (libm-test-no-inline-cflags): Add
20748 -fsignaling-nans.
20749
20750 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20751
20752 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
20753 (CFLAGS-oldsendmsg.c): Add rule.
20754 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
20755 Correct recvmsg symbol name.
20756 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
20757 Likewise.
20758
20759 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20760
20761 * sysdeps/unix/sysv/linux/Makefile
20762 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
20763 oldsendmmsg.
20764 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
20765 sendmmsg.
20766 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20767 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20768 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20769 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20771 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20772 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20773 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20774 Likewise.
20775 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20776 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
20777 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
20778 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
20779 iovlen and controllen fields to adjust to POSIX specification.
20780 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
20781
20782 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
20783 and change to correct expected type.
20784 (msghdr.msg_controllen): Likewise.
20785 (cmsghdr.cmsg_len): Likewise.
20786 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
20787 expected POSIX assumption about the size.
20788 (msghdr.msg_controllen): Likewise.
20789 (msghdr.__glibc_reserved1): Likewise.
20790 (msghdr.__glibc_reserved2): Likewise.
20791 (cmsghdr.cmsg_len): Likewise.
20792 (cmsghdr.__glibc_reserved1): Likewise.
20793 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
20794 Add ptw-oldrecvmsg and ptw-oldsendmsg.
20795 (CFLAGS-sendmsg.c): Remove rule.
20796 (CFLAGS-recvmsg.c): Likewise.
20797 (CFLAGS-oldsendmsg.c): Add rule.
20798 (CFLAGS-oldrecvmsg.c): Likewise.
20799 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
20800 recvmsg and sendmsg.
20801 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
20802 Likewise.
20803 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
20804 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
20805 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
20806 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
20807 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
20808 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
20809 Likewise.
20810 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
20811 Likewise.
20812 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
20813 Likewise.
20814 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
20815 Likewise.
20816 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
20817 Likewise.
20818 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
20819 Likewise.
20820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
20821 (GLIBC_2.24): Likewise.
20822 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
20823 Likewise.
20824 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
20825 Likewise.
20826 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
20827 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
20828 Likewise.
20829 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
20830 Likewise.
20831 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
20832 Likewise.
20833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
20834 (GLIBC_2.24): Likewise.
20835 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
20836 Likewise.
20837 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
20838 Likewise.
20839 * sysdeps/unix/sysv/linux/Makefile
20840 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
20841 (CFLAGS-sendmsg.c): Add rule.
20842 (CFLAGS-recvmsg.c): Likewise.
20843 (CFLAGS-oldsendmsg.c): Likewise.
20844 (CFLAGS-oldrecvmsg.c): Likewise.
20845 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
20846 initialization.
20847 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
20848 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
20849 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
20850 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
20851 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
20852 iovlen and controllen fields to adjust to POSIX specification.
20853 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
20854 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
20855 added recvmsg and sendmsg.
20856 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20857 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20858 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20859 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20860 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20861 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20862 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20863 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20864 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20865 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20866 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20867 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
20868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20869 Likewise.
20870 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
20871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20872 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20873 Likewise.
20874 Likewise.
20875 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20876 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20877 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20878 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20879 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20880 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20882 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20884 Likewise.
20885 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20886 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20887
20888 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
20889 from auto-generation.
20890 (sendmsg): Likewise.
20891 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
20892 (sendmsg): Likewise.
20893 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
20894 (sendmsg): Likewise.
20895 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
20896 (sendmsg): Likewise.
20897 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
20898 (sendmsg): Likewise.
20899 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
20900 (sendmsg): Likewise.
20901 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
20902 Likewise.
20903 (sendmsg): Likewise.
20904 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
20905 (sendmsg): Likewise.
20906 * sysdeps/unix/sysv/linux/i386/kernel-features.h
20907 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20908 Remove.
20909 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20910 Likewise.
20911 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20912 Undefine.
20913 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20914 Likewise.
20915 * sysdeps/unix/sysv/linux/kernel-features.h
20916 (__ASSUME_SENDMSG_SYSCALL): Define.
20917 (__ASSUME_RECVMSG_SYSCALL): Likewise.
20918 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20919 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20920 Remove.
20921 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20922 Likewise.
20923 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20924 Undefine.
20925 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20926 Likewise.
20927 * sysdeps/unix/sysv/linux/s390/kernel-features.h
20928 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20929 Remove.
20930 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20931 Likewise.
20932 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20933 Undefine.
20934 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20935 Likewise.
20936 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20937 (__ASSUME_SENDMSG_SYSCALL): Undefine.
20938 (__ASSUME_RECVMSG_SYSCALL): Likewise.
20939 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20940 (__ASSUME_SENDMSG_SYSCALL): Likewise.
20941 (__ASSUME_RECVMSG_SYSCALL): Likewise.
20942 * sysdeps/unix/sysv/linux/sh/kernel-features.h
20943 (__ASSUME_SENDMSG_SYSCALL): Likewise.
20944 (__ASSUME_RECVMSG_SYSCALL): Likewise.
20945
20946 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20947
20948 * stdlib/gen-tst-strtod-round.c: Add backslash to
20949 compile command in comment.
20950 (printfp): Remove the literal suffix, and define an infinite
20951 value as INF to avoid expansion clash with INFINITY.
20952 (round_str): Remove the literal suffix.
20953 (round_for_all): Likewise, remove the now duplicate ldbl-64
20954 entry, and remove some magic constants.
20955
20956 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
20957 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
20958 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
20959 (_CONCAT): New macro.
20960 (CONCAT): Likewise.
20961 (CHOOSE_ld): Likewise.
20962 (CHOOSE_f): Likewise.
20963 (CHOOSE_d): Likewise.
20964 (FTYPE_MEMBER): Likewise.
20965 (BOOL_MEMBER): Likewise.
20966 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
20967 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
20968 (_XNTRY): Likewise.
20969 (XNTRY): Likewise.
20970 (_ENTRY): Likewise.
20971 (ENTRY): Likewise.
20972 (test_exactness): Generate members via macro.
20973 (test_results): Likewise.
20974 (test): Update members.
20975 (TEST): Redefine using new macros.
20976 (INF): New macro.
20977 (fetestmodes): New structure.
20978 (do_test): Refactor to be type generic.
20979 (test_in_one_mode): Refactor duplicate code into
20980 (GEN_ONE_TEST): New macro.
20981
20982 * stdlib/tst-strtod-round-data.h: Regenerate.
20983
20984 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
20985 Extend to pass additional arbitrary parameters to
20986 generators.
20987
20988 2016-05-25 Joseph Myers <joseph@codesourcery.com>
20989
20990 [BZ #15479]
20991 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
20992 floating-point state after first floating-point operation on
20993 input. Restore full floating-point state instead of just rounding
20994 mode.
20995 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
20996 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
20997 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
20998 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
20999 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
21000
21001 [BZ #15479]
21002 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
21003 floating-point state after first floating-point operation on
21004 input. Restore full floating-point state instead of just rounding
21005 mode.
21006 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
21007 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
21008 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
21009 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
21010 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
21011
21012 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21013
21014 [BZ #19727]
21015 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
21016 valid high surrogate.
21017 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
21018 of an utf16 surrogate.
21019 * iconv/gconv_simple.c (BODY): Likewise.
21020 * iconvdata/bug-iconv12.c: New file.
21021 * iconvdata/Makefile (tests): Add bug-iconv12.
21022
21023 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21024
21025 [BZ #19726]
21026 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
21027 outptrp in case of an illegal input.
21028 * iconv/tst-iconv6.c: New file.
21029 * iconv/Makefile (tests): Add tst-iconv6.
21030
21031 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21032
21033 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
21034 an error in case of a value in range of an utf16 low surrogate.
21035
21036 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21037
21038 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
21039 an error in case of a value in range of an utf16 low surrogate.
21040
21041 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21042
21043 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
21044 Move to ...
21045 * sysdeps/s390/Makefile: ... here.
21046 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
21047 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
21048 (BRANCH_ON_COUNT): New define.
21049 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
21050 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
21051 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
21052 run on s390-32, too.
21053 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
21054 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
21055 run on s390-32, too.
21056 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
21057 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
21058 run on s390-32, too.
21059
21060 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21061
21062 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
21063 etf3eh or new vector loop-variant.
21064
21065 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21066
21067 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
21068 etf3eh or new vector loop-variant.
21069
21070 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21071
21072 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
21073 or new vector loop-variant.
21074
21075 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21076
21077 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
21078 Rename to TR_LOOP and usage of tr instead of troo instruction.
21079
21080 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21081
21082 * sysdeps/s390/multiarch/gconv_simple.c: New File.
21083 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
21084
21085 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21086
21087 * sysdeps/s390/multiarch/8bit-generic.c: New File.
21088 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
21089 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
21090 New override define.
21091 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
21092
21093 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21094
21095 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
21096 * sysdeps/s390/configure.ac: Add test for S390 vector register
21097 support in gcc.
21098 * sysdeps/s390/configure: Regenerated.
21099
21100 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21101
21102 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
21103 Install file from $(objpfx)gconv-modules.
21104 ($(objpfx)gconv-modules): Concatenate architecture specific file
21105 in variable sysdeps-gconv-modules and gconv-modules in src dir.
21106 * sysdeps/s390/gconv-modules: New file.
21107 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
21108 Deleted.
21109 ($(objpfx)gconv-modules-s390): Deleted.
21110 (sysdeps-gconv-modules): New variable.
21111
21112 2016-05-24 Joseph Myers <joseph@codesourcery.com>
21113
21114 [BZ #15479]
21115 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
21116 of immediate operand to rounding instruction.
21117 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
21118 Likewise.
21119 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
21120 Likewise.
21121 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
21122 Likewise.
21123
21124 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21125
21126 * math/libm-test.inc (MIN_EXP): Directly define as
21127 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
21128
21129 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21130
21131 * math/libm-test.inc (MANT_DIG): Directly define as
21132 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
21133
21134 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21135
21136 * stdlib/gen-tst-strtod-round.c (main):
21137 Change usage to more closely match the generated
21138 output. Add usage and compilation instructions.
21139 (string_to_fp): Add and use FILE* parameter as
21140 output target.
21141 (print_fp): Likewise.
21142 (round_str): Likewise.
21143 (round_for_all): Likewise.
21144 * stdlib/tst-strtod-round.c (tests): Move into
21145 * stdlib/tst-strtod-round-data.h: New file.
21146
21147 2016-05-24 Joseph Myers <joseph@codesourcery.com>
21148
21149 [BZ #15479]
21150 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
21151 (__round): Do not force "inexact" exception.
21152 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
21153 variable.
21154 (__round): Do not force "inexact" exception.
21155 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
21156 (__roundf): Do not force "inexact" exception.
21157 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
21158 (__roundl): Do not force "inexact" exception.
21159 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
21160 (__roundl): Do not force "inexact" exception.
21161 * math/libm-test.inc (round_test_data): Do not allow spurious
21162 "inexact" exceptions.
21163
21164 [BZ #15479]
21165 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
21166 exception in comment.
21167 (huge): Remove variable.
21168 (__floor): Do not force "inexact" exception.
21169 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
21170 "inexact" exception in comment.
21171 (huge): Remove variable.
21172 (__floor): Do not force "inexact" exception.
21173 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
21174 exception in comment.
21175 (huge): Remove variable.
21176 (__floorf): Do not force "inexact" exception.
21177 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
21178 exception in comment.
21179 (huge): Remove variable.
21180 (__floorl): Do not force "inexact" exception.
21181
21182 [BZ #15479]
21183 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
21184 exception in comment.
21185 (huge): Remove variable.
21186 (__ceil): Do not force "inexact" exception.
21187 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
21188 "inexact" exception in comment.
21189 (huge): Remove variable.
21190 (__ceil): Do not force "inexact" exception.
21191 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
21192 (__ceilf): Do not force "inexact" exception.
21193 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
21194 exception in comment.
21195 (huge): Remove variable.
21196 (__ceill): Do not force "inexact" exception.
21197
21198 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
21199
21200 * config.h.in (BIND_NOW): New.
21201 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
21202 * configure: Regenerated.
21203 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
21204 indirect branch via the GOT slot.
21205
21206 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21207
21208 [BZ #19765]
21209 * sysdeps/s390/mempcpy.S: New File.
21210 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
21211 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
21212 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21213 Add mempcpy variants.
21214 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
21215 (memcpy): Adjust to be usable from mempcpy entry point.
21216 (__memcpy_mvcle): Likewise.
21217 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21218 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
21219 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
21220 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
21221 (__memcpy_z10): Likewise.
21222 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21223
21224 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21225
21226 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
21227 Remove __GI_ symbol.
21228 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
21229 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
21230 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
21231 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21232 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
21233 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
21234
21235 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21236
21237 * sysdeps/s390/s390-64/memcpy.S (memcpy):
21238 Use cghi instead of chi to compare 64bit value.
21239
21240 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21241
21242 * sysdeps/s390/s390-32/memcpy.S (memcpy):
21243 Jump to 1MB check before executing mvc-loop.
21244
21245 2016-05-24 Florian Weimer <fweimer@redhat.com>
21246
21247 [BZ #6527]
21248 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
21249 unconditionally.
21250 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
21251
21252 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21253
21254 * stdlib/tst-strtod6.c (do_test): Use new type generic
21255 invocation of the test function.
21256 (test): Refactor into ...
21257 (TEST_STRTOD): New macro base function.
21258
21259 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21260
21261 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
21262 (TEST_STRTOD): New macro.
21263 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
21264
21265 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21266
21267 * stdlib/tst-strtod6.c (do_test): Use new type generic
21268 invocation of the test function.
21269 (test): Refactor into ...
21270 (TEST_STRTOD): New macro base function.
21271
21272 2016-05-23 Florian Weimer <fweimer@redhat.com>
21273
21274 CVE-2016-4429
21275 [BZ #20112]
21276 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
21277 payload.
21278
21279 2016-05-23 Florian Weimer <fweimer@redhat.com>
21280
21281 [BZ #20111]
21282 * bits/sockaddr.h (_SS_SIZE): Define.
21283 * bits/socket.h (_SS_SIZE): Remove.
21284 (_SS_PADSIZE): Adjust to account for all padding.
21285 (struct sockaddr_storage): Update comment. Avoid implicit
21286 padding.
21287 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
21288 (_SS_PADSIZE): Adjust to account for all padding.
21289 (struct sockaddr_storage): Update comment. Avoid implicit
21290 padding.
21291 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
21292 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
21293 (_SS_PADSIZE): Adjust to account for all padding.
21294 (struct sockaddr_storage): Update comment. Avoid implicit
21295 padding.
21296 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
21297 __SS_SIZE is 126 in this version.
21298 * inet/tst-sockaddr.c: New file.
21299 * inet/Makefile (tests): Add tst-sockaddr.c
21300 (tst-sockaddr.c): Compile with non-strict aliasing.
21301
21302 2016-05-23 Joseph Myers <joseph@codesourcery.com>
21303
21304 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
21305 [XPG3 || XPG4].
21306 (NL_ARGMAX): Also expect for [XPG3].
21307 (NL_LANGMAX): Likewise.
21308 (NL_MSGMAX): Likewise.
21309 (NL_NMAX): Likewise.
21310 (NL_SETMAX): Likewise.
21311 (NL_TEXTMAX): Likewise.
21312 (NZERO): Likewise.
21313 (TMP_MAX): Likewise.
21314 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
21315 variable.
21316
21317 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
21318 (PF_MAX): Update value.
21319 (AF_KCM): New macro.
21320 (SOL_NETBEUI): Likewise.
21321 (SOL_LLC): Likewise.
21322 (SOL_DCCP): Likewise.
21323 (SOL_NETLINK): Likewise.
21324 (SOL_TIPC): Likewise.
21325 (SOL_RXRPC): Likewise.
21326 (SOL_PPPOL2TP): Likewise.
21327 (SOL_BLUETOOTH): Likewise.
21328 (SOL_PNPIPE): Likewise.
21329 (SOL_RDS): Likewise.
21330 (SOL_IUCV): Likewise.
21331 (SOL_CAIF): Likewise.
21332 (SOL_ALG): Likewise.
21333 (SOL_NFC): Likewise.
21334 (SOL_KCM): Likewise.
21335 (MSG_BATCH): New enum value and macro.
21336
21337 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
21338
21339 [BZ #18185]
21340 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
21341 sharing L2 cache to 2 for Knights Landing.
21342
21343 2016-05-20 Joseph Myers <joseph@codesourcery.com>
21344
21345 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
21346 (FTW_DP): Do not expect for [XPG3 || XPG4].
21347 (FTW_SL): Do not expect for [XPG3].
21348 (FTW_SLN): Likewise.
21349 (FTW_PHYS): Likewise.
21350 (FTW_MOUNT): Likewise.
21351 (FTW_DEPTH): Likewise.
21352 (FTW_CHDIR): Likewise.
21353 (nftw): Likewise.
21354 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
21355 variable.
21356
21357 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
21358
21359 * manual/errno.texi: Fix various typos & grammar errors.
21360
21361 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
21362
21363 * manual/intro.texi: Fix duplicated typo.
21364
21365 2016-05-19 Joseph Myers <joseph@codesourcery.com>
21366
21367 [BZ #13304]
21368 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
21369 <float.h>, <math_private.h> and <stdlib.h>.
21370 (add_split): New function.
21371 (mul_split): Likewise.
21372 (ext_val): New typedef.
21373 (store_ext_val): New function.
21374 (mul_ext_val): New function.
21375 (compare): New function.
21376 (add_split_ext): New function.
21377 (__fmal): After checking for Inf, NaN and zero, compute result as
21378 an exact sum of scaled double values in round-to-nearest before
21379 adding those up and adjusting for other rounding modes.
21380 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
21381 tests of fma.
21382 * math/auto-libm-test-out: Regenerated.
21383
21384 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21385
21386 [BZ #20119]
21387 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
21388 processor level type mask for CPUID with EAX == 11.
21389
21390 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21391
21392 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
21393 logical threads if the HTT bit is 0.
21394 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
21395 (index_cpu_HTT): Likewise.
21396 (reg_HTT): Likewise.
21397
21398 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21399
21400 [BZ #20115]
21401 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
21402 Remove alignments on jump targets.
21403
21404 2016-05-19 Joseph Myers <joseph@codesourcery.com>
21405
21406 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
21407 (getpwent): Likewise.
21408 (setpwent): Likewise.
21409 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
21410 variable.
21411
21412 * conform/data/search.h-data (insque): Do not expect for [XPG3].
21413 (remque): Likewise.
21414 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
21415 variable.
21416
21417 2016-05-18 Joseph Myers <joseph@codesourcery.com>
21418
21419 * math/libm-test.inc: Update comment not to refer to signs of NaNs
21420 not being tested.
21421
21422 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21423
21424 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21425 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
21426 call.
21427 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21428 (__condvar_cleanup1): Likewise.
21429
21430 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21431
21432 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
21433 New
21434 (__pthread_unwind): Renamed to ...
21435 (PTHREAD_UNWIND): This.
21436 (__pthread_enable_asynccancel): Replace
21437 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
21438
21439 2016-05-18 Joseph Myers <joseph@codesourcery.com>
21440
21441 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
21442 (CLONE_NEWCGROUP): New macro.
21443
21444 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
21445 (Q_GETNEXTQUOTA): New macro.
21446
21447 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21448
21449 [BZ #19907]
21450 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
21451 buffer updated by the previous run.
21452 * string/test-memcpy.c (do_one_test): Likewise.
21453 * benchtests/bench-memmove.c (do_one_test): Add a comment.
21454 * string/test-memmove.c (do_one_test): Likewise.
21455
21456 2016-05-17 Joseph Myers <joseph@codesourcery.com>
21457
21458 [BZ #20094]
21459 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
21460 not [__USE_XOPEN].
21461 (unlockpt): Likewise.
21462 (ptsname): Likewise.
21463 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
21464 variable.
21465
21466 [BZ #20076]
21467 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
21468 instead of [__USE_UNIX98].
21469 (S_ISSOCK): Likewise.
21470 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
21471 variable.
21472
21473 [BZ #20074]
21474 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
21475 [__USE_POSIX].
21476 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
21477 variable.
21478
21479 [BZ #20051]
21480 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
21481 (ttyslot): Do not declare.
21482 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
21483 (ttyslot): New prototype.
21484 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
21485 variable.
21486 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21487
21488 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
21489
21490 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
21491
21492 2016-05-13 Florian Weimer <fweimer@redhat.com>
21493
21494 Fix race condition in tst-mallocfork2, use fewer resources.
21495 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
21496 to current process group.
21497 (signal_sender): Yield in the non-sleeping case.
21498
21499 2016-05-13 Joseph Myers <joseph@codesourcery.com>
21500
21501 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
21502 (ecvt): Likewise.
21503 (fcvt): Likewise.
21504 (gcvt): Likewise.
21505 (getsubopt): Likewise.
21506 (grantpt): Likewise.
21507 (initstate): Likewise.
21508 (l64a): Likewise.
21509 (mktemp): Likewise.
21510 (mkstemp): Likewise.
21511 (ptsname): Likewise.
21512 (random): Likewise.
21513 (realpath): Likewise.
21514 (setstate): Likewise.
21515 (srandom): Likewise.
21516 (ttyslot): Likewise.
21517 (unlockpt): Likewise.
21518 (valloc): Likewise.
21519
21520 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
21521 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
21522 variable.
21523
21524 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
21525
21526 [BZ #20072]
21527 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
21528 init_cpu_features only if SHARED is defined.
21529 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
21530
21531 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
21532
21533 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
21534 non-inclusive caches on Intel processors.
21535
21536 2016-05-13 Florian Weimer <fweimer@redhat.com>
21537
21538 * malloc/malloc.c (dumped_main_arena_start)
21539 (dumped_main_arena_end): New variables.
21540 (DUMPED_MAIN_ARENA_CHUNK): New macro.
21541 (do_check_chunk): Skip dumped fake mmapped chunks.
21542 (munmap_chunk): Likewise.
21543 (__libc_free): Do not adjust statistics for fake mmapped chunks.
21544 (__libc_realloc): Adjust hardening check. Always copy dumped fake
21545 mmapped chunks.
21546 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
21547 Mark dumped chunks as using mmap. Update dumped_main_arena_start
21548 and dumped_main_arena_end to cover the dumped heap.
21549
21550 2016-05-12 Joseph Myers <joseph@codesourcery.com>
21551
21552 * conform/data/time.h-data (getdate_err): Do not expect for
21553 [XPG3].
21554 (getdate): Likewise.
21555 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
21556 variable.
21557
21558 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
21559 (F_ULOCK): Likewise.
21560 (F_TEST): Likewise.
21561 (F_TLOCK): Likewise.
21562 (useconds_t): Likewise.
21563 (intptr_t): Do not expect for [XPG3] or [XPG4].
21564 (brk): Do not expect for [XPG3]
21565 (fchown): Likewise.
21566 (fchdir): Likewise.
21567 (ftruncate): Likewise.
21568 (getdtablesize): Likewise.
21569 (gethostid): Likewise.
21570 (getpagesize): Likewise.
21571 (getpgid): Likewise.
21572 (getsid): Likewise.
21573 (getwd): Likewise.
21574 (lchown): Likewise.
21575 (lockf): Likewise.
21576 (readlink): Likewise.
21577 (sbrk): Likewise.
21578 (setpgrp): Likewise.
21579 (setregid): Likewise.
21580 (setreuid): Likewise.
21581 (symlink): Likewise.
21582 (sync): Likewise.
21583 (truncate): Likewise.
21584 (ualarm): Likewise.
21585 (usleep): Likewise.
21586 (vfork): Likewise.
21587 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
21588 variable.
21589
21590 [BZ #20054]
21591 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
21592 not [__USE_UNIX98].
21593 * conform/data/unistd.h-data (gethostname): Do not expect for
21594 [XPG3].
21595
21596 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
21597 [!POSIX] (S_IFBLK): Likewise.
21598 [!POSIX] (S_IFCHR): Likewise.
21599 [!POSIX] (S_IFIFO): Likewise.
21600 [!POSIX] (S_IFREG): Likewise.
21601 [!POSIX] (S_IFDIR): Likewise.
21602 [!POSIX] (S_IFLNK): Likewise.
21603 [!POSIX] (S_IFSOCK): Likewise.
21604 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
21605 variable.
21606 (test-xfail-XPG4/fcntl.h/conform): Likewise.
21607
21608 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
21609
21610 * sysdeps/aarch64/memset.S (__memset):
21611 Rewrite of optimized memset.
21612
21613 2016-05-12 Florian Weimer <fweimer@redhat.com>
21614
21615 [BZ #19703]
21616 Partially async-signal-safe fork for single-threaded processes.
21617 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
21618 variable. Do not acquire and reset/release malloc and libio locks
21619 in single-threaded processes.
21620 * malloc/tst-mallocfork2.c: New file.
21621 * malloc/Makefile (tests): Add it.
21622
21623 2016-05-12 Florian Weimer <fweimer@redhat.com>
21624
21625 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
21626 argument. Use scratch buffer instead of extend_alloca.
21627 (gethosts): Use scratch buffer instead of extend_alloca.
21628 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
21629 extend_alloca.
21630 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
21631
21632 2016-05-11 Joseph Myers <joseph@codesourcery.com>
21633
21634 [BZ #20055]
21635 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
21636 instead of [__USE_UNIX98].
21637 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
21638 [__USE_UNIX98].
21639 * conform/data/termios.h-data (tcgetsid): Do not expect for
21640 [XPG3].
21641 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
21642 variable.
21643 (test-xfail-XPG4/termios.h/conform): Likewise.
21644
21645 2016-05-11 Florian Weimer <fweimer@redhat.com>
21646
21647 Do not use mcheck in localedef.
21648 * locale/programs/localedef.c (turn_on_mcheck)
21649 (__malloc_initialize_hook): Remove.
21650
21651 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21652
21653 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
21654 * sysdeps/s390/s390-64/Makefile: Likewise.
21655
21656 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
21657
21658 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
21659 Remove ifunc-defines.sym.
21660 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
21661 Likewise.
21662 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
21663 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
21664 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
21665 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
21666 rtld-global-offsets.sym.
21667 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
21668 * sysdeps/x86/cpu-features-offsets.sym: This.
21669 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
21670 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
21671
21672 2016-05-10 Joseph Myers <joseph@codesourcery.com>
21673
21674 [BZ #20073]
21675 * io/sys/stat.h (fchmod): Declare for
21676 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
21677 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
21678 variable.
21679
21680 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
21681 [XPG3] (S_IFSOCK): Likewise.
21682 [XPG3] (S_ISVTX): Likewise.
21683 [XPG3] (S_ISLNK): Likewise.
21684 [XPG3] (S_ISSOCK): Likewise.
21685 [XPG3] (fchmod): Likewise.
21686 [XPG3] (lstat): Likewise.
21687 [XPG3] (mknod): Likewise.
21688
21689 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
21690 [XPG3]. Expect type long and XFAIL for [XPG4].
21691 (st_blocks): Likewise.
21692
21693 [BZ #20044]
21694 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
21695 (pthread_atfork): New prototype.
21696 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
21697 variable.
21698
21699 [BZ #20043]
21700 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
21701 prototype.
21702
21703 2016-05-10 Florian Weimer <fweimer@redhat.com>
21704
21705 [BZ #20017]
21706 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
21707 gmtime.
21708
21709 2016-05-10 Florian Weimer <fweimer@redhat.com>
21710
21711 [BZ #19994]
21712 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
21713 flag in _res.options.
21714
21715 2016-05-09 Joseph Myers <joseph@codesourcery.com>
21716
21717 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
21718 [XPG3 || XPG4].
21719 (blksize_t): Likewise.
21720 (clockid_t): Likewise.
21721 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
21722 variable.
21723 (test-xfail-XPG4/sys/types.h/conform): Likewise.
21724
21725 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
21726
21727 * sysdeps/unix/sysv/linux/s390/init-first.c:
21728 Add VDSO_SYMBOL(getcpu).
21729 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
21730 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
21731 Add VDSO_SYMBOL(getcpu).
21732 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
21733 New define HAVE_GETCPU_VSYSCALL.
21734 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21735
21736 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
21737
21738 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
21739 instead of <sysdeps/x86_64/cacheinfo.c>.
21740 * sysdeps/x86_64/cacheinfo.c: Moved to ...
21741 * sysdeps/x86/cacheinfo.c: Here.
21742
21743 2016-05-04 Florian Weimer <fweimer@redhat.com>
21744
21745 * malloc/malloc-internal.h: Adjust header file guard.
21746
21747 2016-05-04 Florian Weimer <fweimer@redhat.com>
21748
21749 [BZ #19787]
21750 * inet/getnameinfo.c (check_sprintf_result): New function.
21751 (CHECKED_SNPRINTF): New macro.
21752 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
21753 to the host buffer.
21754 (gni_host_local): Use checked_copy to copy the host name.
21755 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
21756 (gni_serv_local): Use checked_copy to copy the service name.
21757 (getnameinfo): Remove unnecessary truncation of result buffers.
21758
21759 2016-05-04 Florian Weimer <fweimer@redhat.com>
21760
21761 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
21762 in case of inet_ntop failure.
21763
21764 2016-05-04 Florian Weimer <fweimer@redhat.com>
21765
21766 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
21767 avoid long lines.
21768 (gni_host_inet_numeric): Likewise. Reduce scope of local
21769 variables.
21770 (gni_host_inet, gni_host_local): Add comment.
21771 (gni_host): Add comment. Use temporary to avoid long lines.
21772
21773 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
21774
21775 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
21776 registers specifiers where general purpose registers specifiers should
21777 have been used.
21778
21779 2016-05-04 Florian Weimer <fweimer@redhat.com>
21780
21781 [BZ #19779]
21782 CVE-2016-1234
21783 Avoid copying names of directory entries.
21784 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
21785 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
21786 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
21787 (struct readdir_result): New type.
21788 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
21789 (GL_READDIR): New macros.
21790 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
21791 (convert_dirent, convert_dirent64): New functions.
21792 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
21793 convert_dirent64. Adjust references to the readdir result.
21794 * sysdeps/unix/sysv/linux/i386/glob64.c:
21795 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
21796 * posix/bug-glob2.c (LONG_NAME): Define.
21797 (filesystem): Add LONG_NAME.
21798 (my_DIR): Increase the size of room_for_dirent.
21799
21800 2016-05-03 Joseph Myers <joseph@codesourcery.com>
21801
21802 [BZ #20041]
21803 * misc/sys/select.h (__need_timespec): Only define if
21804 [__USE_XOPEN2K].
21805 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
21806 variable.
21807 (test-xfail-XPG4/utmpx.h/conform): Likewise.
21808 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21809 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21810
21811 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21812 Segher Boessenkool <segher@gcc.gnu.org>
21813
21814 [BZ #20004]
21815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
21816 (__novec_swapcontext): Add missing load.
21817
21818 2016-05-02 Joseph Myers <joseph@codesourcery.com>
21819
21820 [BZ #20023]
21821 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
21822 <time.h>.
21823 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
21824 variable.
21825 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21826
21827 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21828
21829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
21830 flags CLONE_VM compare.
21831
21832 2016-05-02 Florian Weimer <fweimer@redhat.com>
21833
21834 [BZ #20031]
21835 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
21836 completely empty.
21837
21838 2016-05-02 Florian Weimer <fweimer@redhat.com>
21839
21840 [BZ #19573]
21841 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
21842 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
21843 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
21844 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
21845 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
21846 (hesiod_free_list): Mark as hidden.
21847 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
21848 res_set, res_get.
21849 * hesiod/hesiod.c: Remove unnecessary forward declarations.
21850 (init, __hesiod_res_get, __hesiod_res_set): Remove.
21851 (hesiod_init): Remove obsolete res_ninit call.
21852 (hesiod_end): Do not free resolver state. Do not invoke callback.
21853 (hesiod_bind): Do not call init.
21854 (get_txt_records): Use res_mkquery, res_send instead of
21855 res_nmkquery, res_nsend.
21856 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
21857 instead of _nss_hesiod_init.
21858 (_nss_hesiod_initgroups_dyn): Likewise.
21859 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
21860 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
21861 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
21862
21863 2016-05-02 Florian Weimer <fweimer@redhat.com>
21864
21865 * hesiod/hesiod_p.h (DEF_RHS): Remove.
21866 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
21867
21868 2016-05-02 Florian Weimer <fweimer@redhat.com>
21869
21870 * hesiod/hesiod.h: Remove RCS keyword.
21871 * hesiod/hesiod_p.h: Likewise.
21872
21873 * hesiod/hesiod.c: Likewise.
21874
21875 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
21876
21877 [BZ #12450]
21878 * locale/iso-639.def: Add Samogitian/sgs.
21879
21880 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
21881
21882 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
21883
21884 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
21885
21886 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
21887 Carlos O'Donell <carlos@redhat.com>
21888
21889 [BZ #19072]
21890 * grp/Makefile (headers): Add grp-merge.h
21891 (routines): Add grp-merge.
21892 * grp/getgrgid_r.c: Include grp-merge.h.
21893 (DEEPCOPY_FN): Define.
21894 (MERGE_FN): Define.
21895 * grp/getgrname_r.c: Include grp-merge.h.
21896 (DEEPCOPY_FN): Define.
21897 (MERGE_FN): Define.
21898 * grp/grp-merge.c: New file.
21899 * grp/grp-merge.h: New file.
21900 * include/grp-merge.h: New file.
21901 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
21902 __copy_grp@GLIBC_PRIVATE.
21903 * manual/nss.texi (Actions in the NSS configuration): Describe
21904 return, continue, and merge.
21905 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
21906 (DEEPCOPY_FN): Define.
21907 (MERGE_FN): Define.
21908 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
21909 (DEEPCOPY_FN): Define.
21910 (MERGE_FN): Define.
21911 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
21912 [!MERGE_FN]: Define __merge_einval.
21913 (CHECK_MERGE): Define.
21914 (REENTRANT_NAME): Process merge if do_merge is true.
21915 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
21916 (__nss_getent_r): Likewise.
21917 * nss/nsswitch.c (nss_parse_service_list): Likewise.
21918 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
21919
21920 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21921
21922 [BZ #20012]
21923 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
21924 length to calculate the buffer to read.
21925 (fmemopen_write): Set the buffer position based on bytes written.
21926 (fmemopen_seek): Return EINVAL for invalid whence modes.
21927
21928 [BZ #19957]
21929 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
21930 tst-getpid2.
21931 (test): Add tst-clone2.
21932 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
21933 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
21934 pid/tid fields for CLONE_VM.
21935 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
21936 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
21937 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
21938 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
21939 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
21940 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
21941 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
21942 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
21943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
21944 Likewise.
21945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21946 Likewise.
21947 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
21948 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
21949 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
21950 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
21951 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
21952 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
21953 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
21954 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
21955
21956 2016-04-29 Florian Weimer <fweimer@redhat.com>
21957
21958 [BZ #19642]
21959 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
21960 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
21961 (gni_serv_local, gni_serv): New functions extracted from
21962 getnameinfo.
21963 (getnameinfo): Call gni_host and gni_serv to perform the
21964 processing. Always free scratch buffer.
21965
21966 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
21967
21968 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
21969 remaining bytes in the dest string, with zeros.
21970
21971 2016-04-29 Florian Weimer <fweimer@redhat.com>
21972
21973 [BZ #20010]
21974 CVE-2016-3706
21975 * sysdeps/posix/getaddrinfo.c
21976 (convert_hostent_to_gaih_addrtuple): New function.
21977 (gethosts): Call convert_hostent_to_gaih_addrtuple.
21978 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
21979 AF_INET data.
21980
21981 2016-04-29 Florian Weimer <fweimer@redhat.com>
21982
21983 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
21984 callback function gl_readdir.
21985 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
21986 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
21987 (glob_in_dir): Remove len. Use strdup instead of malloc and
21988 memcpy to copy the name.
21989 * manual/pattern.texi (Calling Glob): Document requirements for
21990 implementations of the gl_readdir callback function.
21991 * manual/examples/mkdirent.c: New example.
21992 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
21993 per the manual guidance.
21994 * posix/tst-gnuglob.c (my_readdir): Likewise.
21995
21996 2016-04-28 Joseph Myers <joseph@codesourcery.com>
21997
21998 [BZ #20014]
21999 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
22000 not [__USE_POSIX].
22001 (getchar_unlocked): Likewise.
22002 (putc_unlocked): Likewise.
22003 (putchar_unlocked): Likewise.
22004 (flockfile): Likewise.
22005 (ftrylockfile): Likewise.
22006 (funlockfile): Likewise.
22007 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
22008 variable.
22009 (test-xfail-XPG4/stdio.h/conform): Likewise.
22010
22011 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
22012 Expect constant.
22013 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
22014 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
22015 variable.
22016 (test-xfail-XPG4/langinfo.h/conform): Likewise.
22017 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22018
22019 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
22020 [__USE_LARGEFILE64] (off64_t): Likewise.
22021 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
22022 variable.
22023
22024 2016-04-28 Florian Weimer <fweimer@redhat.com>
22025
22026 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
22027
22028 2016-04-28 Florian Weimer <fweimer@redhat.com>
22029
22030 * resolv/inet_addr.c: Reindent preprocessor conditionals.
22031 * resolv/res_init.c: Likewise.
22032 * resolv/res_mkquery.c: Likewise.
22033
22034 2016-04-28 Florian Weimer <fweimer@redhat.com>
22035
22036 * resolv/res_init.c (isascii): Do not define. Use definition in
22037 <ctype.h>.
22038 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
22039 (LOG_AUTH): Remove.
22040 (SPRINTF): Remove, adjust caller.
22041 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
22042
22043 2016-04-28 Florian Weimer <fweimer@redhat.com>
22044
22045 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
22046 SUNSECURITY conditional.
22047 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
22048
22049 2016-04-28 Florian Weimer <fweimer@redhat.com>
22050
22051 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
22052 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
22053 Remove BSD-related preprocessor conditionals.
22054 * conf/portability.h: Remove.
22055
22056 2016-04-28 Florian Weimer <fweimer@redhat.com>
22057
22058 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
22059 * resolv/res_data.c: Likewise.
22060
22061 2016-04-28 Florian Weimer <fweimer@redhat.com>
22062
22063 * resolv/res_comp.c: Remove code conditional on __ultrix__.
22064 * resolv/res_data.c: Remove code conditional on ultrix.
22065
22066 2016-04-28 Florian Weimer <fweimer@redhat.com>
22067
22068 * resolv/res_init.c (RFC1535): Do not define. Remove
22069 RFC1535 preprocessor conditionals.
22070 * resolv/README: Update. Do not claim strict RFC 1535 compliance
22071 because there configuration options which make the resolver
22072 behavior different.
22073
22074 2016-04-28 Florian Weimer <fweimer@redhat.com>
22075
22076 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
22077 RESOLVSORT preprocessor conditionals.
22078 * resolv/nss_dns/dns-host.c: Likewise.
22079 * resolv/res_init.c: Likewise.
22080
22081 2016-04-28 Florian Weimer <fweimer@redhat.com>
22082
22083 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
22084 is never defined.
22085
22086 2016-04-28 Florian Weimer <fweimer@redhat.com>
22087
22088 * inet/inet_lnaof.c: Remove SCSS keyword.
22089 * inet/inet_mkadr.c: Likewise.
22090 * inet/inet_net.c: Likewise.
22091 * inet/inet_netof.c: Likewise.
22092 * inet/rcmd.c: Likewise.
22093 * inet/rexec.c: Likewise.
22094 * inet/ruserpass.c: Likewise.
22095
22096 2016-04-28 Florian Weimer <fweimer@redhat.com>
22097
22098 * resolv/inet_addr.c: Remove _LIBC conditionals.
22099 * resolv/res_data.c: Likewise.
22100 * resolv/res_init.c: Likewise.
22101 * resolv/res_mkquery.c: Likewise.
22102 * resolv/res_libc.c: Update comment.
22103 * resolv/README: Update.
22104
22105 2016-04-28 Florian Weimer <fweimer@redhat.com>
22106
22107 * resolv/gethnamaddr.c: Remove SCSS keyword.
22108 * resolv/herror.c: Likewise.
22109 * resolv/inet_addr.c: Likewise.
22110 * resolv/inet_net_ntop.c: Likewise.
22111 * resolv/inet_net_pton.c: Likewise.
22112 * resolv/inet_neta.c: Likewise.
22113 * resolv/inet_ntop.c: Likewise.
22114 * resolv/inet_pton.c: Likewise.
22115 * resolv/ns_date.c: Remove RCS keyword.
22116 * resolv/ns_name.c: Likewise.
22117 * resolv/ns_netint.c: Likewise.
22118 * resolv/ns_parse.c: Likewise.
22119 * resolv/ns_print.c: Likewise.
22120 * resolv/ns_samedomain.c: Likewise.
22121 * resolv/ns_ttl.c: Likewise.
22122 * resolv/nsap_addr.c: Likewise.
22123 * resolv/res_comp.c: Remove SCSS and RCS keyword.
22124 * resolv/res_data.c: Remove RCS keyword.
22125 * resolv/res_debug.c: Remove SCSS and RCS keyword.
22126 * resolv/res_init.c: Likewise.
22127 * resolv/res_mkquery.c: Likewise.
22128 * resolv/res_query.c: Likewise.
22129 * resolv/res_send.c: Likewise.
22130
22131 2016-04-27 Joseph Myers <joseph@codesourcery.com>
22132
22133 * conform/data/stdio.h-data (fdopen): Expect also for
22134 [XPG3 || XPG4].
22135
22136 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
22137 (fseeko): Likewise.
22138 (ftello): Likewise.
22139 (ftrylockfile): Likewise.
22140 (funlockfile): Likewise.
22141 (getc_unlocked): Likewise.
22142 (getchar_unlocked): Likewise.
22143 (putc_unlocked): Likewise.
22144 (putchar_unlocked): Likewise.
22145
22146 2016-04-27 Florian Weimer <fweimer@redhat.com>
22147
22148 [BZ #19868]
22149 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
22150 DNS packet syntax checks (which were not needed before). Skip
22151 over non-PTR records.
22152
22153 2016-04-27 Florian Weimer <fweimer@redhat.com>
22154
22155 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
22156 definition. Include <stddef.h> instead.
22157
22158 2016-04-27 Florian Weimer <fweimer@redhat.com>
22159
22160 [BZ #19831]
22161 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
22162 function.
22163 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
22164 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
22165
22166 2016-04-27 Florian Weimer <fweimer@redhat.com>
22167
22168 [BZ #19862]
22169 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
22170 (getanswer_r): Do not call syslog.
22171 (gaih_getanswer_slice): Likewise.
22172 * resolv/gethnamaddr.c (AskedForGot): Remove.
22173 (getanswer): Do not call syslog.
22174 (gethostbyaddr): Likewise.
22175
22176 2016-04-27 Joseph Myers <joseph@codesourcery.com>
22177
22178 * conform/data/signal.h-data (union sigval): Expect also if
22179 [XOPEN2K].
22180 (struct sigevent): Likewise.
22181 (SIGEV_NONE): Likewise.
22182 (SIGEV_SIGNAL): Likewise.
22183 (SIGEV_THREAD): Likewise.
22184 (SIGRTMIN): Likewise.
22185 (SIGRTMAX): Likewise.
22186 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
22187 variable.
22188 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22189
22190 2016-04-27 Florian Weimer <fweimer@redhat.com>
22191
22192 [BZ #19830]
22193 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
22194 (gaih_getanswer_slice): Likewise.
22195 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
22196 Also check for availability of RR metadata.
22197
22198 2016-04-27 Florian Weimer <fweimer@redhat.com>
22199
22200 [BZ #19825]
22201 * resolv/res_send.c (send_vc): Remove early *resplen2
22202 initialization. Set *resplen2 on socket error. Call
22203 close_and_return_error for other errors.
22204
22205 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
22206
22207 * sysdeps/unix/sysv/linux/netiucv/iucv.h
22208 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
22209 (SCM_IUCV_TRGCLS): New define.
22210
22211 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22212
22213 [BZ #20005]
22214 * libio/fmemopen.c (fmemopen_write): Update internal position after
22215 write.
22216 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
22217 * stdio-common/tst-fmemopen4.c: New file..
22218
22219 2016-04-26 Joseph Myers <joseph@codesourcery.com>
22220
22221 [BZ #19996]
22222 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
22223 not [__USE_XOPEN2K].
22224 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
22225 variable.
22226
22227 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
22228 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
22229 variable.
22230
22231 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
22232 [__USE_XOPEN2K8].
22233 [__USE_LARGEFILE64] (off64_t): Likewise.
22234 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
22235 variable.
22236
22237 2016-04-25 Joseph Myers <joseph@codesourcery.com>
22238
22239 [BZ #19989]
22240 * libio/stdio.h (cuserid): Do not declare if
22241 [__USE_XOPEN2K && !__USE_GNU].
22242 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
22243 variable.
22244
22245 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22246
22247 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22248 (sysdep_routines): Add P8 and PPC64 strcspn targets.
22249 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22250 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
22251 ifunc'ed strcspn.
22252 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
22253 [EALIGN]: Removed.
22254 [END]: Likewise
22255 [STRSPN]: Define instead of the above to control symbol name.
22256 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
22257 New file.
22258 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
22259 Likewise.
22260 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
22261 Likewise.
22262 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
22263 Likewise.
22264 * sysdeps/powerpc/powerpc64/power8/strspn.S:
22265 [INITIAL_MASK]: New macro.
22266 [STRCSPN]: Likewise.
22267 [UPDATE_MASK]: Likewise.
22268 [USE_AS_STRCSPN]: Likewise.
22269
22270 2016-04-25 Florian Weimer <fweimer@redhat.com>
22271
22272 [BZ #19931]
22273 * stdio-common/tst-vfprintf-width-prec.c: New file.
22274 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
22275 (tests-special): Add tst-vfprintf-width-prec-mem.out.
22276 (generated): Add mtrace-related files.
22277 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
22278 (tst-%-mem.out): New pattern rule, replaces
22279 tst-printf-bz18872-mem.out.
22280 * stdio-common/vfprintf.c (vfprintf): When handling a precision
22281 specifier, deallocate any previously allocated work buffer.
22282
22283 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22284
22285 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
22286 Add nop before __startcontext, add explaining comments.
22287
22288 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
22289
22290 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
22291 any more. Notably since IPV6_PKTINFO has been reintroduced with a
22292 completely different API.
22293
22294 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
22295 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
22296 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
22297 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
22298 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
22299 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
22300 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
22301 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
22302 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
22303 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
22304
22305 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
22306
22307 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
22308
22309 2016-04-23 Mike Frysinger <vapier@gentoo.org>
22310
22311 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
22312 when it is the default of 0.
22313
22314 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22315
22316 * sysdeps/powerpc/locale-defines.sym: Add new macros.
22317 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22318 (sysdep_routines): Add new strcasestr targets.
22319 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22320 (__libc_ifunc_impl_list): Likewise.
22321 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
22322 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
22323 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
22324 * sysdeps/powerpc/powerpc64/power8/Makefile:
22325 New file to add strcasestr-ppc64 to sysdep_routines.
22326 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
22327 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
22328
22329 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
22330
22331 * benchtests/Makefile (wcsmbs-benchset): Include only for
22332 native builds and runs.
22333 (LOCALES): Likewise.
22334 (bench-build): Build timing-type here instead of the bench
22335 target. Generate locale only for native builds.
22336 * benchtests/README: Add note for cross-building.
22337
22338 * benchtests/Makefile (bench-clean): Clean up extra-objs.
22339
22340 * benchtests/README: Update README to include instructions on
22341 using bench-build.
22342
22343 * Makefile.in (bench-build): New target.
22344 * Rules (PHONY): Add bench-build target.
22345 * benchtests/Makefile (bench): Depend on bench-build.
22346 (bench-build): New target.
22347
22348 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
22349
22350 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
22351 profil_reply_port.
22352 (profile_waiter): Do not initialize profil_reply_port.
22353 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
22354 frequency instead of tick length in us.
22355
22356 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
22357
22358 [BZ #18712]
22359 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
22360 (__old_mempcpy_small): Likewise.
22361 (__old_strcpy_small): Likewise.
22362 (__old_stpcpy_small): Likewise.
22363 (__old_strpbrk_c2): Fix compat symbol name.
22364 (__old_strpbrk_c3): Likewise.
22365 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
22366 (__mempcpy_small): Remove.
22367 (__strcpy_small): Remove.
22368 (__stpcpy_small): Remove.
22369
22370 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
22371
22372 [BZ #19400]
22373 * locale/iso-639.def: Add the Talossan/tzl language.
22374
22375 2016-04-16 Mike Frysinger <vapier@gentoo.org>
22376
22377 [BZ #16983]
22378 * locale/programs/ld-address.c (address_finish): Update postal_fmt
22379 comment. Add "ln" to strchr check on postal_fmt.
22380
22381 2016-04-16 Mike Frysinger <vapier@gentoo.org>
22382
22383 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
22384 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
22385 tel_dom_fmt.
22386
22387 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22388
22389 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22390 (sysdep_routines): Added __strlen_power8.
22391 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
22392 __strlen_power8 entry.
22393 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
22394 Implementation for POWER8.
22395 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
22396 for __strlen_power8.
22397 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
22398 Implementation for POWER8.
22399
22400 2016-04-15 Mike Frysinger <vapier@gentoo.org>
22401
22402 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
22403
22404 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
22405
22406 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
22407 Goldmont and Airmont processors.
22408
22409 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
22410
22411 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
22412 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
22413 (__STRING2_SMALL_GET32): Remove.
22414 (memset): Remove.
22415 (__memset_1): Remove.
22416 (__memset_gc): Remove.
22417 (__mempcpy): Remove.
22418 (mempcpy): Remove.
22419 (__mempcpy_args): Remove.
22420 (strchr): Remove.
22421 (strcpy): Remove.
22422 (strcpy_args): Remove.
22423 (__stpcpy_args): Remove.
22424 (__strcmp_cc): Remove.
22425 (__strcmp_gc): Remove.
22426 (strstr): Remove.
22427
22428 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
22429
22430 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
22431 * nis/nis_call.c (nis_server_cache_add): Likewise.
22432
22433 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22434
22435 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
22436
22437 2016-04-14 Florian Weimer <fweimer@redhat.com>
22438
22439 * malloc/arena.c (__malloc_fork_lock_parent)
22440 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
22441 internal_function attribute.
22442
22443 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
22444
22445 * stdio-common/printf_fp.c (__printf_fp_l):
22446 Rename ___printf_fp_l to __printf_fp_l and
22447 remove strong alias. Use libc_hidden_def instead
22448 of ldbl_hidden_def macro.
22449
22450 2016-04-14 Florian Weimer <fweimer@redhat.com>
22451
22452 Remove malloc hooks from fork handler. They are no longer needed
22453 because malloc runs right before fork, and no malloc calls from
22454 other fork handlers are not possible anymore.
22455 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
22456 declarations.
22457 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
22458 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
22459 (atfork_recursive_cntr): Remove.
22460 (__malloc_fork_lock_parent): Do not override malloc hooks and
22461 thread_arena.
22462 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
22463 thread_arena.
22464 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
22465 thread_arena instead of save_arena.
22466
22467 2016-04-14 Florian Weimer <fweimer@redhat.com>
22468
22469 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
22470 (thread_atfork, thread_atfork_static): Remove.
22471 * sysdeps/mach/hurd/malloc-machine.h:
22472 (thread_atfork, thread_atfork_static): Remove.
22473
22474 2016-04-14 Florian Weimer <fweimer@redhat.com>
22475
22476 [BZ #19431]
22477 Run the malloc fork handler as late as possible to avoid deadlocks.
22478 * malloc/malloc-internal.h: New file.
22479 * malloc/malloc.c: Include it.
22480 * malloc/arena.c (ATFORK_MEM): Remove.
22481 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
22482 Update comment.
22483 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
22484 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
22485 Remove outdated comment.
22486 (ptmalloc_init): Do not call thread_atfork. Remove
22487 thread_atfork_static.
22488 * malloc/tst-malloc-fork-deadlock.c: New file.
22489 * Makefile (tests): Add tst-malloc-fork-deadlock.
22490 (tst-malloc-fork-deadlock): Link against libpthread.
22491 * manual/memory.texi (Aligned Memory Blocks): Update safety
22492 annotation comments.
22493 * sysdeps/nptl/fork.c (__libc_fork): Call
22494 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
22495 __malloc_fork_unlock_child.
22496 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
22497
22498 2016-04-14 Florian Weimer <fweimer@redhat.com>
22499
22500 [BZ #19613]
22501 Remove union wait.
22502 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
22503 (w_stopsig, w_stopval): Remove.
22504 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
22505 stat_loc argument.
22506 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
22507 (__WAIT_STATUS_DEFN): Remove.
22508 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22509 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
22510 (wait, wait3, wait4): Use int * for the stat_loc argument.
22511 * posix/wait.c (__wait): Likewise.
22512 * posix/wait3.c (__wait3): Likewise.
22513 * posix/wait4.c (__wait4): Likewise.
22514 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
22515 (__WAIT_STATUS_DEFN): Remove.
22516 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22517 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
22518 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
22519 argument.
22520 * sysdeps/posix/wait.c (__libc_wait): Likewise.
22521 * sysdeps/posix/wait3.c (__wait3): Likewise.
22522 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
22523 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
22524 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
22525 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
22526 stat_loc argument.
22527 * manual/process.texi (BSD Wait Functions): Remove union wait.
22528
22529 2016-04-13 Andreas Schwab <schwab@suse.de>
22530
22531 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
22532 (test-extras): Add tst-tlsalign-vars.
22533 * math/Makefile: Wrap long lines.
22534 (libm-vec-test-wrappers): Define.
22535 (test-extras): Add $(libm-vec-test-wrappers).
22536 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
22537 * nss/Makefile (extra-test-objs): Add nss_test1.os.
22538 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
22539 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
22540 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
22541 (extra-test-objs): Add corresponding objects.
22542
22543 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
22544
22545 [BZ #19928]
22546 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
22547 New.
22548 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
22549 times of shared cache size.
22550 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
22551 (VMOVNT): New.
22552 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
22553 (VMOVNT): Likewise.
22554 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
22555 (VMOVNT): Likewise.
22556 (VMOVU): Changed to movups for smaller code sizes.
22557 (VMOVA): Changed to movaps for smaller code sizes.
22558 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
22559 comments.
22560 (PREFETCH): New.
22561 (PREFETCH_SIZE): Likewise.
22562 (PREFETCHED_LOAD_SIZE): Likewise.
22563 (PREFETCH_ONE_SET): Likewise.
22564 Rewrite to use forward and backward loops, which move 4 vector
22565 registers at a time, to support overlapping addresses and use
22566 non temporal store if size is above the threshold and there is
22567 no overlap between destination and source.
22568
22569 2016-04-12 Alex Smith <alex.smith@imgtec.com>
22570
22571 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
22572 Include dl-vdso.
22573 * sysdeps/unix/sysv/linux/mips/Versions: Add
22574 __vdso_clock_gettime.
22575 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
22576 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
22577 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
22578 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
22579 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
22580 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
22581 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
22582 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
22583 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
22584
22585 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22586
22587 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
22588 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
22589 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
22590 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
22591 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
22592 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
22593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
22594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
22595 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
22596 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
22597 syscalls generation.
22598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22599 [__NR_pwrite64] (__NR_write): Remove define.
22600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22601 [__NR_pwrite64] (__NR_write): Remove define.
22602 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
22603 Remove define.
22604 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
22605 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
22606 Remove define.
22607 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
22608 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
22609 Linux implementation as base.
22610 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
22611
22612 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
22613 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
22614 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
22615 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
22616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
22617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
22618 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
22619 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
22620 syscall generation.
22621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22622 [__NR_pread64] (__NR_pread): Remove define.
22623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22624 [__NR_pread64] (__NR_pread): Likewise.
22625 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
22626 define.
22627 (__libc_pread): Use SYSCALL_LL macro on offset argument.
22628 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
22629 Remove define.
22630 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
22631 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
22632 Linux implementation as base.
22633 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
22634 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
22635 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
22636
22637 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
22638 definition.
22639 (__ALIGNMENT_COUNT): Likewise.
22640 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
22641 (__ALIGNMENT_COUNT): Likewise.
22642 (SYSCALL_LL): New define.
22643 (SYSCALL_LL64): Likewise.
22644 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
22645 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
22646 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
22647 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
22648
22649 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22650 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
22651 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22652 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
22653 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22654 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
22655
22656 2016-04-11 Florian Weimer <fweimer@redhat.com>
22657
22658 [BZ #19865]
22659 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
22660 original buffer before retry.
22661
22662 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22663
22664 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
22665 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
22666 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
22667 GLRO(dl_auxv) list.
22668 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
22669 including <ldsodefs.h>.
22670 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
22671
22672 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
22673
22674 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
22675 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
22676 $(CPPFLAGS).
22677
22678 2016-04-09 Khem Raj <raj.khem@gmail.com>
22679
22680 [BZ #17950]
22681 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
22682 Add -mfpmath=387.
22683
22684 2016-04-09 Mike Frysinger <vapier@gentoo.org>
22685
22686 * sysdeps/i386/configure.ac: Change == to = when calling test.
22687 * sysdeps/x86_64/configure.ac: Likewise.
22688 * sysdeps/i386/configure: Regenerated.
22689 * sysdeps/x86_64/configure: Likewise.
22690
22691 2016-04-08 Mike Frysinger <vapier@gentoo.org>
22692
22693 [BZ #16137]
22694 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
22695 * benchtests/bench-strcoll.c (input_files): Likewise.
22696 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
22697 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
22698 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
22699
22700 2016-04-08 Joseph Myers <joseph@codesourcery.com>
22701
22702 [BZ #19929]
22703 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
22704 [__USE_XOPEN2K8 && !__USE_GNU].
22705 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
22706 variable.
22707
22708 [BZ #19925]
22709 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
22710 define if [!__USE_MISC && __USE_XOPEN2K].
22711 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
22712 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
22713 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
22714 Likewise.
22715 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
22716 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
22717 variable.
22718 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22719
22720 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22721
22722 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22723 (sysdep_routines): Add new strspn targets.
22724 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22725 (__libc_ifunc_impl_list): Add strspn.
22726 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
22727 New file.
22728 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
22729 Likewise.
22730 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
22731 Likewise.
22732 * sysdeps/powerpc/powerpc64/power8/strspn.S:
22733 Likewise.
22734
22735 2016-04-07 Florian Weimer <fweimer@redhat.com>
22736
22737 * misc/hsearch_r.c: Include <limits.h>.
22738
22739 2016-04-07 Florian Weimer <fweimer@redhat.com>
22740
22741 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
22742
22743 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
22744
22745 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
22746 (MEMCPY_SYMBOL): New.
22747 (MEMPCPY_SYMBOL): Likewise.
22748 (MEMMOVE_CHK_SYMBOL): Likewise.
22749 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
22750 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
22751 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
22752 Provide alias for memcpy in libc.a and ld.so.
22753
22754 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
22755
22756 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
22757 (MEMSET_CHK_SYMBOL): New. Define if not defined.
22758 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
22759 Disabled fro now.
22760 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
22761 symbols. Properly check USE_MULTIARCH on __memset symbols.
22762
22763 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
22764
22765 * benchtests/Makefile (string-benchset): Add memcpy-large,
22766 memmove-large and memset-large.
22767 * benchtests/bench-memcpy-large.c: New file.
22768 * benchtests/bench-memmove-large.c: Likewise.
22769 * benchtests/bench-memmove-large.c: Likewise.
22770 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
22771
22772 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
22773
22774 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
22775 32-bit displacement to avoid long nop between instructions.
22776
22777 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
22778
22779 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
22780 a comment on VMOVU and VMOVA.
22781
22782 2016-04-04 Florian Weimer <fweimer@redhat.com>
22783
22784 [BZ #19633]
22785 Use specified locale for number formatting in strfmon_l.
22786 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
22787 (__nl_lookup_word): New inline functions.
22788 * include/printf.h (__print_fp_l): Declare.
22789 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
22790 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
22791 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
22792 (___printf_fp): New function.
22793 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
22794 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
22795 * stdlib/tst-strfmon_l.c (do_test): New test.
22796 * stdlib/Makefile (tests): Add kt.
22797 (LOCALES): Build additional locales.
22798 (tst-strfmon_l.out): Require locales.
22799
22800 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
22801
22802 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
22803 if not in libc.
22804 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
22805 Likewise.
22806 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
22807 Likewise.
22808 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
22809 Likewise.
22810
22811 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
22812
22813 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
22814 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
22815 with unaligned_erms.
22816 (__memmove_erms): Skip if source == destination.
22817 (__memmove_unaligned_erms): Don't check source == destination
22818 first.
22819
22820 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
22821
22822 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
22823 bit_arch_Fast_Copy_Backward for Intel Core proessors.
22824
22825 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22826
22827 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
22828 * string/strspn.c (strspn): Likewise.
22829
22830 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
22831
22832 * benchtests/bench-memset.c (do_test): Support 64-byte
22833 alignment.
22834 (test_main): Test 64-byte alignment.
22835
22836 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
22837
22838 * benchtests/bench-memmove.c (test_main): Test 64-byte
22839 alignment.
22840
22841 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
22842
22843 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
22844
22845 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22846
22847 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
22848 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
22849 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
22850
22851 * string/strpbrk.c (strpbrk): Rewrite function.
22852 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
22853 (__strpbrk_c2): Likewise.
22854 (__strpbrk_c3): Likewise.
22855 * string/string-inlines.c
22856 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
22857 Likewise.
22858 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
22859 Likewise.
22860
22861 * string/strspn.c (strcspn): Rewrite function.
22862 * string/bits/string2.h (strspn): Use __builtin_strcspn.
22863 (__strspn_c1): Remove inline function.
22864 (__strspn_c2): Likewise.
22865 (__strspn_c3): Likewise.
22866 * string/string-inlines.c
22867 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
22868 compatibility symbol.
22869 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
22870 Likewise.
22871 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
22872 Likewise.
22873 * string/string-inlines.c: Include generic version.
22874
22875 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
22876 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22877
22878 * string/Version (libc): Add GLIBC_2.24.
22879 * string/strcspn.c (strcspn): Rewrite function.
22880 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
22881 (__strcspn_c1): Remove inline function.
22882 (__strcspn_c2): Likewise.
22883 (__strcspn_c3): Likewise.
22884 * string/string-inline.c
22885 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
22886 compatibility symbol.
22887 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
22888 Likewise.
22889 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
22890 Likewise.
22891 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
22892
22893 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
22894
22895 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
22896 Use ahi instead of aghi to adjust stack pointer.
22897
22898 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22899
22900 [BZ #19853]
22901 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
22902 TEST to take significant digits as second parameter.
22903 [TEST]: Redefine in terms of TEST_N taking 30
22904 significant digits.
22905 (do_test): Add test case to demonstrate precision
22906 failure in the ldbl-128ibm printf.
22907 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
22908 (__mpn_extract_long_double): Carry 7 extra intermediate
22909 bits of precision to aide computing difference when
22910 signs differ.
22911
22912 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
22913
22914 [BZ #19881]
22915 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22916 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
22917 memset-avx512-unaligned-erms.
22918 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22919 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
22920 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
22921 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
22922 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
22923 __memset_sse2_unaligned_erms, __memset_erms,
22924 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
22925 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
22926 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
22927 file.
22928 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
22929 Likewise.
22930 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
22931 Likewise.
22932 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
22933 Likewise.
22934
22935 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
22936
22937 [BZ #19776]
22938 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22939 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
22940 memmove-avx512-unaligned-erms.
22941 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22942 (__libc_ifunc_impl_list): Test
22943 __memmove_chk_avx512_unaligned_2,
22944 __memmove_chk_avx512_unaligned_erms,
22945 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
22946 __memmove_chk_sse2_unaligned_2,
22947 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
22948 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
22949 __memmove_avx512_unaligned_erms, __memmove_erms,
22950 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
22951 __memcpy_chk_avx512_unaligned_2,
22952 __memcpy_chk_avx512_unaligned_erms,
22953 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
22954 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
22955 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
22956 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
22957 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
22958 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
22959 __mempcpy_chk_avx512_unaligned_erms,
22960 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
22961 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
22962 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
22963 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
22964 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
22965 __mempcpy_erms.
22966 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
22967 file.
22968 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
22969 Likewise.
22970 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
22971 Likewise.
22972 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
22973 Likewise.
22974
22975 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
22976
22977 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
22978 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
22979 (La_s390_64_regs): Likewise.
22980 (La_s390_32_retval): Append vector register lrv_v24.
22981 (La_s390_64_retval): Likeweise.
22982 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
22983 Handle extended structs La_s390_32_regs and La_s390_32_retval.
22984 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
22985 Handle extended structs La_s390_64_regs and La_s390_64_retval.
22986
22987 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
22988
22989 [BZ #19916]
22990 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
22991 to create a non-vector/vector version for _dl_runtime_resolve and
22992 _dl_runtime_profile. Move implementation to ...
22993 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
22994 (_dl_runtime_resolve) Save and restore fpr/vrs.
22995 (_dl_runtime_profile) Save and restore vrs and fix some issues
22996 if _dl_call_pltexit is called.
22997 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
22998 Choose the correct resolver function if running on a machine with vx.
22999 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
23000 to create a non-vector/vector version for _dl_runtime_resolve and
23001 _dl_runtime_profile. Move implementation to ...
23002 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
23003 (_dl_runtime_resolve) Save and restore fpr/vrs.
23004 (_dl_runtime_profile) Save and restore vrs and fix some issues
23005 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
23006 Choose the correct resolver function if running on a machine with vx.
23007
23008 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23009
23010 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
23011
23012 2016-03-31 Florian Weimer <fweimer@redhat.com>
23013
23014 [BZ #19509]
23015 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
23016 skip_map != NULL.
23017 * elf/tst-dlsym-error.c: New file.
23018 * elf/Makefile (tests): Add tst-dlsym-error.
23019 (tst-dlsym-error): Link against libdl.
23020
23021 2016-03-29 Joseph Myers <joseph@codesourcery.com>
23022
23023 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23024 (__ASSUME_FUTIMESAT): Remove macro.
23025 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
23026
23027 2016-03-29 Florian Weimer <fweimer@redhat.com>
23028
23029 [BZ #19879]
23030 CVE-2016-3075
23031 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
23032 copy name.
23033
23034 2016-03-29 Florian Weimer <fweimer@redhat.com>
23035
23036 [BZ #19837]
23037 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
23038 error if parse_line fails.
23039
23040 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23041
23042 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
23043 (index_cpu_ERMS): Likewise.
23044 (reg_ERMS): Likewise.
23045
23046 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
23047
23048 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
23049 PER_LINUX_FDPIC): Add.
23050
23051 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23052
23053 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23054 memcpy-avx512-no-vzeroupper.
23055 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
23056 to ...
23057 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
23058 (MEMCPY): Don't define.
23059 (MEMCPY_CHK): Likewise.
23060 (MEMPCPY): Likewise.
23061 (MEMPCPY_CHK): Likewise.
23062 (MEMPCPY_CHK): Renamed to ...
23063 (__mempcpy_chk_avx512_no_vzeroupper): This.
23064 (MEMPCPY_CHK): Renamed to ...
23065 (__mempcpy_chk_avx512_no_vzeroupper): This.
23066 (MEMCPY_CHK): Renamed to ...
23067 (__memmove_chk_avx512_no_vzeroupper): This.
23068 (MEMCPY): Renamed to ...
23069 (__memmove_avx512_no_vzeroupper): This.
23070 (__memcpy_avx512_no_vzeroupper): New alias.
23071 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
23072
23073 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23074
23075 [BZ #18858]
23076 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23077 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
23078 and mempcpy-avx512-no-vzeroupper.
23079 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
23080 New.
23081 (MEMPCPY): Likewise.
23082 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
23083 (MEMPCPY_CHK): New.
23084 (MEMPCPY): Likewise.
23085 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
23086 (MEMPCPY): Likewise.
23087 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
23088 (MEMPCPY): Likewise.
23089 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
23090 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
23091 Likewise.
23092 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
23093 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
23094
23095 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23096 Amit Pawar <Amit.Pawar@amd.com>
23097
23098 [BZ #19583]
23099 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
23100 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
23101 processors. Set Fast_Copy_Backward for AMD Excavator
23102 processors.
23103 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
23104 New.
23105 (index_arch_Fast_Unaligned_Copy): Likewise.
23106 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
23107 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
23108
23109 2016-03-25 Florian Weimer <fweimer@redhat.com>
23110
23111 [BZ #19791]
23112 * resolv/res_send.c (close_and_return_error): New function.
23113 (send_dg): Initialize *resplen2 after reopen failure. Call
23114 close_and_return_error for error returns. On error paths without
23115 __res_iclose, initialze *resplen2 explicitly. Update comment for
23116 successful return.
23117
23118 2016-03-25 Florian Weimer <fweimer@redhat.com>
23119
23120 [BZ #19860]
23121 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
23122 zero if the compiler does not provide the AVX512F bit.
23123
23124 2016-03-24 Joseph Myers <joseph@codesourcery.com>
23125
23126 [BZ #19848]
23127 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
23128 from 8 to 4.
23129 (__ieee754_powl): Compare integer exponent against 4 not 8.
23130 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
23131 from 8 to 4.
23132 (__ieee754_powl): Compare integer exponent against 4 not 8.
23133 * math/auto-libm-test-in: Add more tests of pow.
23134 * math/auto-libm-test-out: Regenerated.
23135 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
23136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23137
23138 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
23139
23140 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
23141 Make code unconditional.
23142 [!__NR_utimensat]: Remove conditional code.
23143 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
23144 Make code unconditional.
23145 [!__NR_utimensat]: Remove conditional code.
23146 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
23147 Make code unconditional.
23148 [!__NR_utimensat]: Remove conditional code.
23149
23150 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
23151
23152 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
23153 Make code unconditional.
23154
23155 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
23156
23157 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
23158 call-clobbered %eax on retry path.
23159 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
23160
23161 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
23162
23163 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
23164 Don't set %rcx twice before "rep movsb".
23165
23166 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
23167
23168 [BZ #19583]
23169 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
23170 inline. Check family before setting family, model and
23171 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
23172 bits here.
23173 (init_cpu_features): Replace HAS_CPU_FEATURE and
23174 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
23175 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
23176 for Intel processors with usable AVX2. Call get_common_indeces
23177 for other processors with family == NULL.
23178 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
23179 (CPU_FEATURES_ARCH_P): Likewise.
23180 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
23181 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
23182
23183 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23184
23185 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
23186 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
23187 $(shared-thread-library) instead of hardcoding the path to libpthread.
23188
23189 2016-03-22 Joseph Myers <joseph@codesourcery.com>
23190
23191 * sysdeps/unix/sysv/linux/kernel-features.h
23192 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
23193 * sysdeps/unix/sysv/linux/getdents.c
23194 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
23195 [!have_no_getdents64_defined]: Likewise.
23196 (__GETDENTS): Remove __have_no_getdents64 conditional.
23197
23198 2016-03-21 Joseph Myers <joseph@codesourcery.com>
23199
23200 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
23201 Remove macro.
23202 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
23203 <kernel-features.h>.
23204 (signalfd) [__NR_signalfd4]: Make code unconditional.
23205 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
23206
23207 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23208
23209 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
23210 style.
23211
23212 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
23213
23214 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
23215 (__pthread_enable_asynccancel): Use JUMPTARGET to call
23216 __pthread_unwind.
23217 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
23218 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
23219 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
23220 (__condvar_cleanup1): Likewise.
23221
23222 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
23223
23224 [BZ #19822]
23225 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
23226 move it to the final $@ location.
23227
23228 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23229
23230 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
23231 access where posix_spawn success and pid argument is null.
23232 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
23233 success case.
23234
23235 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
23236
23237 * sysdeps/mach/hurd/i386/c++-types.data: New file.
23238
23239 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
23240
23241 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
23242 and __fcntl.
23243 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
23244 __fcntl only.
23245 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
23246 adding attribute_hidden to __open and __fcntl.
23247
23248 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
23249 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
23250 depend on libc-modules.h,
23251 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
23252
23253 2016-03-17 Joseph Myers <joseph@codesourcery.com>
23254
23255 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
23256 Remove macro.
23257 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
23258 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
23259 entry.
23260
23261 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
23262 Remove macro.
23263 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
23264 include <kernel-features.h>.
23265 [!__ASSUME_FALLOCATE]: Remove conditional code.
23266 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
23267
23268 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
23269
23270 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
23271 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
23272 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
23273 (_ZGVdN4v_cos_avx2): Likewise.
23274 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
23275 (_ZGVdN4v_cos): Likewise.
23276 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
23277 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
23278 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
23279 (_ZGVdN4v_exp_avx2): Likewise.
23280 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
23281 (_ZGVdN4v_exp): Likewise.
23282 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
23283 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
23284 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
23285 (_ZGVdN4v_log_avx2): Likewise.
23286 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
23287 (_ZGVdN4v_log): Likewise.
23288 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
23289 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
23290 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
23291 (_ZGVdN4vv_pow_avx2): Likewise.
23292 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
23293 (_ZGVdN4vv_pow): Likewise.
23294 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
23295 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
23296 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
23297 (_ZGVdN4v_sin_avx2): Likewise.
23298 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
23299 (_ZGVdN4v_sin): Likewise.
23300 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
23301 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
23302 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
23303 (_ZGVdN4vvv_sincos_avx2): Likewise.
23304 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
23305 (_ZGVdN4vvv_sincos): Likewise.
23306 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
23307 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
23308 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
23309 (_ZGVbN4v_cosf_sse4): Likewise.
23310 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
23311 (_ZGVdN8v_cosf_avx2): Likewise.
23312 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
23313 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
23314 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
23315 (_ZGVbN4v_expf_sse4): Likewise.
23316 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
23317 (_ZGVdN8v_expf_avx2): Likewise.
23318 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
23319 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
23320 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
23321 (_ZGVbN4v_logf_sse4): Likewise.
23322 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
23323 (_ZGVdN8v_logf_avx2): Likewise.
23324 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
23325 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
23326 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
23327 (_ZGVbN4vv_powf_sse4): Likewise.
23328 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
23329 (_ZGVdN8vv_powf_avx2): Likewise.
23330 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
23331 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
23332 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
23333 (_ZGVbN4vvv_sincosf_sse4): Likewise.
23334 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
23335 (_ZGVdN8vvv_sincosf_avx2): Likewise.
23336 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
23337 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
23338 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
23339 (_ZGVbN4v_sinf_sse4): Likewise.
23340 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
23341 (_ZGVdN8v_sinf_avx2): Likewise.
23342 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23343 Use JUMPTARGET to call callee.
23344 (WRAPPER_IMPL_SSE2_ff): Likewise.
23345 (WRAPPER_IMPL_SSE2_fFF): Likewise.
23346 (WRAPPER_IMPL_AVX): Likewise.
23347 (WRAPPER_IMPL_AVX_ff): Likewise.
23348 (WRAPPER_IMPL_AVX_fFF): Likewise.
23349 (WRAPPER_IMPL_AVX512): Likewise.
23350 (WRAPPER_IMPL_AVX512_ff): Likewise.
23351 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23352 Likewise.
23353 (WRAPPER_IMPL_SSE2_ff): Likewise.
23354 (WRAPPER_IMPL_SSE2_fFF): Likewise.
23355 (WRAPPER_IMPL_AVX): Likewise.
23356 (WRAPPER_IMPL_AVX_ff): Likewise.
23357 (WRAPPER_IMPL_AVX_fFF): Likewise.
23358 (WRAPPER_IMPL_AVX512): Likewise.
23359 (WRAPPER_IMPL_AVX512_ff): Likewise.
23360 (WRAPPER_IMPL_AVX512_fFF): Likewise.
23361
23362 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23363
23364 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
23365 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
23366 qualifier.
23367 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
23368 internal_function qualifiers.
23369
23370 2016-03-15 Carlos O'Donell <carlos@redhat.com>
23371
23372 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
23373 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
23374 * math/atest-exp.c (exp_mpn): Mark chk unused.
23375 * math/atest-exp2.c (exp_mpn): Likewise.
23376 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
23377 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
23378
23379 2016-03-15 Joseph Myers <joseph@codesourcery.com>
23380
23381 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
23382 Remove macro.
23383 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
23384 <kernel-features.h>.
23385 [__NR_ppoll]: Make code unconditional.
23386 [!__ASSUME_PPOLL]: Remove conditional code.
23387
23388 * sysdeps/unix/sysv/linux/kernel-features.h
23389 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
23390 (__ASSUME_ACCEPT4): Likewise.
23391 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23392 Define.
23393 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
23394 Likewise.
23395 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23396 Likewise.
23397 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
23398 Likewise.
23399 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
23400 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
23401 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23402 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23403 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23404 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23405 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23406 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23407 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23408 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23409 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23410 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23411 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23412 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23413 * sysdeps/unix/sysv/linux/i386/kernel-features.h
23414 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23415 Likewise.
23416 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23417 Likewise.
23418 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23419 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23420 0x040300].
23421 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23422 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23423 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23424 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23425 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23426 0x030300].
23427 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
23428 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23429 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23430 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23431 0x040300].
23432 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23433 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23434 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23435 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23436 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23437 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23438 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23439 0x030300].
23440 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23441 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23442 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23443 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23444 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23445 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23446 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23447 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23448 * sysdeps/unix/sysv/linux/s390/kernel-features.h
23449 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23450 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23451 0x040300].
23452 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23453 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23454 * sysdeps/unix/sysv/linux/sh/kernel-features.h
23455 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23456 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23457 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23458 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
23459 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23460 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23461 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23462 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23463 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23464 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23465 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23466 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
23467 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23468 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23469 Likewise.
23470 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23471 Likewise.
23472
23473 2016-03-15 Andreas Schwab <schwab@suse.de>
23474
23475 [BZ #19257]
23476 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
23477 statp->_u._ext.nscount as loop count.
23478
23479 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
23480
23481 * math/test-signgam-finite-c99.c: Also #undef
23482 __LIBC_INTERNAL_MATH_INLINES.
23483 * math/test-signgam-main.c: Likewise.
23484
23485 2016-03-14 Joseph Myers <joseph@codesourcery.com>
23486
23487 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
23488 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
23489 (MADV_FREE): Likewise.
23490 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
23491 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
23492 EPOLLEXCLUSIVE.
23493
23494 2016-03-14 Carlos O'Donell <carlos@redhat.com>
23495
23496 * timezone/README: Remove mention of checktab.awk. Mention wiki
23497 SharedSourceFiles.
23498
23499 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
23500
23501 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
23502 WUNTRACED.
23503
23504 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23505
23506 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
23507 order to match the type of p when calling atomic_exchange_acq().
23508
23509 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23510
23511 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
23512 cfi_offset calls.
23513 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
23514 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
23515 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
23516 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
23517 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
23518
23519 2016-03-10 Carlos O'Donell <carlos@redhat.com>
23520
23521 * timezone/checktab.awk: Removed.
23522
23523 2016-03-10 Joseph Myers <joseph@codesourcery.com>
23524
23525 * manual/math.texi (Errors in Math Functions): Document relaxed
23526 accuracy goals for IBM long double.
23527 * math/libm-test.inc (test_exceptions): Always allow spurious
23528 "underflow" and "inexact" exceptions for IBM long double.
23529
23530 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
23531
23532 [BZ #19762]
23533 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
23534 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
23535 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
23536 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
23537 (bit_arch_*): This for feature array.
23538 (bit_*): Renamed to ...
23539 (bit_cpu_*): This for cpu array.
23540 (index_*): Renamed to ...
23541 (index_arch_*): This for feature array.
23542 (index_*): Renamed to ...
23543 (index_cpu_*): This for cpu array.
23544 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
23545 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
23546 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
23547 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
23548 bit_##name with index_cpu_##name and bit_cpu_##name.
23549 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
23550 bit_##name with index_arch_##name and bit_arch_##name.
23551
23552 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
23553
23554 [BZ #19792]
23555 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
23556 Terminate FDE before return label.
23557
23558 2016-03-09 Joseph Myers <joseph@codesourcery.com>
23559
23560 [BZ #19790]
23561 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
23562 (rintl): Define as macro.
23563 [USE_AS_NEARBYINTL] (__rintl): Likewise.
23564 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
23565 of fesetround. Ensure results are evaluated before end of scope.
23566 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
23567 USE_AS_NEARBYINTL and include s_rintl.c.
23568 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
23569 Disable exception traps in new environment.
23570 (libc_feholdsetround_ppc_ctx): Likewise.
23571
23572 2016-03-08 Roland McGrath <roland@hack.frob.com>
23573
23574 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
23575 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
23576 (tst_audit10_aux) [__AVX512F__]: ... here.
23577
23578 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
23579
23580 * include/sys/auxv.h: New file.
23581
23582 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
23583
23584 [BZ #19759]
23585 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
23586
23587 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
23588
23589 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
23590 operand modifier.
23591 (feclearexcept): Likewise.
23592
23593 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
23594
23595 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
23596 to reflect the entire 32-bit HWCAP.
23597 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
23598 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
23599
23600 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
23601
23602 [BZ #19783]
23603 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
23604 $(test-via-rtld-prefix).
23605 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
23606
23607 2016-03-08 Florian Weimer <fweimer@redhat.com>
23608
23609 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
23610 union wait. Report any non-zero exit status as error.
23611
23612 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23613
23614 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
23615 configured with --enable-hardcoded-path-in-tests.
23616
23617 2016-03-08 Joseph Myers <joseph@codesourcery.com>
23618
23619 [BZ #19677]
23620 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
23621 (__ieee754_remainderl): Put zero low parts in canonical form.
23622 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
23623 file. Based on
23624 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
23625 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
23626 with wrapper round test-fmodrem-ldbl-128ibm.c.
23627 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
23628 file.
23629 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
23630 Likewise.
23631 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
23632 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
23633
23634 2016-03-07 Florian Weimer <fweimer@redhat.com>
23635
23636 [BZ #19610]
23637 * elf/ldconfig.c (opt_link): Update comment.
23638 (options): Update help string for option -X.
23639 (search_dir): Unlink stale symbolic link only if updating symbolic
23640 links.
23641 * elf/tst-ldconfig-X.sh: New file.
23642 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
23643 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
23644
23645 2016-03-07 Andreas Schwab <schwab@suse.de>
23646
23647 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
23648 needed arguments.
23649
23650 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
23651
23652 [BZ #15333]
23653 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
23654 to lstat64.
23655
23656 2016-03-07 Florian Weimer <fweimer@redhat.com>
23657
23658 * libio/filedoalloc.c (isatty): Remove.
23659 (local_isatty): Add comment. Call __isatty directly.
23660 (_IO_file_doallocate): Update comment. Assume _LIBC.
23661 * libio/wfiledoalloc.c (isatty): Remove.
23662 (_IO_wfile_doallocate): Update comment.
23663
23664 2016-03-07 Florian Weimer <fweimer@redhat.com>
23665
23666 [BZ #19269]
23667 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
23668 tst-audit4-aux.o.
23669 (tst-audit10): Depend on tst-audit10-aux.o.
23670 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
23671 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
23672 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
23673 instead of inline AVX code.
23674 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
23675 instead of inline AVX512 code.
23676 * sysdeps/x86_64/tst-audit4-aux.c: New file
23677 * sysdeps/x86_64/tst-audit10-aux.c: New file
23678
23679 [BZ #19648]
23680 * test-skeleton.c (main): Do not set RLIMIT_DATA.
23681
23682 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23683
23684 [BZ #14750]
23685 [BZ #10354]
23686 [BZ #18433]
23687 * include/sched.h (__clone): Add hidden prototype.
23688 (__clone2): Likewise.
23689 * include/unistd.h (__dup): Likewise.
23690 * posix/Makefile (tests): Add tst-spawn2.
23691 * posix/tst-spawn2.c: New file.
23692 * sysdeps/posix/dup.c (__dup): Add hidden definition.
23693 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
23694 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
23695 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
23696 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
23697 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
23698 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
23699 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
23700 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
23701 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
23702 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
23703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
23704 Likewise.
23705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23706 Likewise.
23707 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
23708 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
23709 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
23710 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
23711 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
23712 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
23713 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
23714 * sysdeps/unix/sysv/linux/nptl-signals.h
23715 (____nptl_is_internal_signal): New function.
23716 * sysdeps/unix/sysv/linux/spawni.c: New file.
23717
23718 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
23719 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
23720 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
23721 * posix/tst-execvp2.c (do_test): Likewise.
23722 * posix/tst-execvp3.c (do_test): Likewise.
23723 * posix/tst-execvp4.c (do_test): Likewise.
23724 * posix/tst-execvpe1.c: New file.
23725 * posix/tst-execvpe2.c: Likewise.
23726 * posix/tst-execvpe3.c: Likewise.
23727 * posix/tst-execvpe4.c: Likewise.
23728 * posix/tst-execvpe5.c: Likewise.
23729 * posix/tst-execvpe6.c: Likewise.
23730
23731 [BZ #19534]
23732 * posix/execl.c (execl): Remove dynamic memory allocation.
23733 * posix/execle.c (execle): Likewise.
23734 * posix/execlp.c (execlp): Likewise.
23735
23736 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
23737
23738 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
23739 Replace .text with .text.avx512.
23740 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
23741 Likewise.
23742
23743 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
23744
23745 * sysdeps/generic/libnsl.abilist: New file.
23746 * sysdeps/generic/libutil.abilist: New file.
23747
23748 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
23749
23750 [BZ #19762]
23751 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
23752 HAS_ARCH_FEATURE with Fast_Rep_String.
23753 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
23754 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
23755 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
23756 Likewise.
23757 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
23758 Likewise.
23759 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
23760 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
23761 Likewise.
23762 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
23763 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
23764 Likewise.
23765
23766 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
23767
23768 [BZ #19745]
23769 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
23770 with *%rax in call.
23771
23772 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
23773
23774 [BZ #19745]
23775 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
23776 with *__libc_start_main@GOTPCREL(%rip) in call.
23777
23778 2016-03-04 Roland McGrath <roland@hack.frob.com>
23779
23780 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
23781 inside conditional for nonempty $(CXX).
23782
23783 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
23784 nonempty.
23785
23786 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
23787 to test for empty $(CXX) rather than $(CXX) of "no".
23788
23789 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
23790
23791 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
23792
23793 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
23794 H.J. Lu <hongjiu.lu@intel.com>
23795
23796 [BZ #18880]
23797 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
23798 instead of Slow_BSF, and also check for Fast_Copy_Backward to
23799 enable __memcpy_ssse3_back.
23800
23801 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
23802
23803 [BZ #19758]
23804 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
23805 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
23806
23807 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
23808
23809 [BZ #19490]
23810 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
23811 (__fentry__): Likewise.
23812
23813 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
23814
23815 * gmon/Makefile (noprof): Add $(sysdep_noprof).
23816 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
23817
23818 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
23819
23820 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
23821 __mcount_internal directly.
23822 (C_LABEL(__fentry__)): Likewise.
23823 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
23824 directly.
23825
23826 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
23827
23828 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23829 (__start_context): Call __setcontext directly.
23830
23831 2016-02-26 Joseph Myers <joseph@codesourcery.com>
23832
23833 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23834 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23835 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
23836 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
23837 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23838 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23839 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
23840 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23841 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23842 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
23843 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
23844 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
23845 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23846 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23847 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23848 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23849 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
23850 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23851 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23852 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
23853 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
23854 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23855 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23856 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
23857 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
23858 Remove conditional code.
23859 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23860 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
23861 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23862 * sysdeps/unix/sysv/linux/sh/kernel-features.h
23863 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
23864 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23865 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
23866 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
23867 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23868 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23869 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23870 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23871
23872 2016-02-24 Marko Myllynen <myllynen@redhat.com>
23873
23874 * NEWS (2.23): Fix typo in bug 19048 text.
23875
23876 2016-02-24 Carlos O'Donell <carlos@redhat.com>
23877
23878 [BZ #14259]
23879 * Makeconfig: Rename msgcatdir to localedir.
23880 Rename inst_msgcatdir to inst_localedir.
23881 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
23882 * config.make.in: Add localedir.
23883 * elf/Makefile ($(objpfx)sotruss): Use localedir.
23884 (ldd-rewrite): Likewise.
23885 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
23886 (install-others): Use inst_localedir.
23887 (CPPFLAGS): Use localedir.
23888 * locale/Makefile (locale-CPPFLAGS): Likewise.
23889 * po/Makefile (mo-installed): Use inst_localedir.
23890
23891 [BZ #19575]
23892 * localedata/charmaps/GB18030: Update comments regarding PAU to
23893 non-PUA mappings.
23894
23895 2016-02-24 Joseph Myers <joseph@codesourcery.com>
23896
23897 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
23898 test for header.
23899 * sysdeps/unix/sysv/linux/configure: Regenerated.
23900 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
23901 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
23902 Remove conditional code.
23903 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
23904
23905 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
23906 Define to 3.2.0.
23907 (arch_minimum_kernel): Likewise.
23908 * sysdeps/unix/sysv/linux/configure: Regenerated.
23909 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
23910 Define to 2.6.32.
23911 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
23912 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
23913 (arch_minimum_kernel): Define to 2.6.32.
23914 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
23915 * README: Document Linux 3.2 requirement.
23916 * manual/install.texi (Linux): Document Linux 3.2 headers
23917 requirement.
23918 * INSTALL: Regenerated.
23919
23920 2016-02-24 Andreas Schwab <schwab@suse.de>
23921
23922 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
23923 if !NO_LONG_DOUBLE.
23924
23925 2016-02-22 Roland McGrath <roland@hack.frob.com>
23926
23927 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
23928 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
23929
23930 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
23931
23932 [BZ #19512]
23933 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
23934
23935 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
23936
23937 * posix/tst-dir.c: Include libc-internal.h.
23938
23939 2016-02-20 Florian Weimer <fweimer@redhat.com>
23940
23941 [BZ #19056]
23942 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
23943 * manual/filesys.texi (Reading/Closing Directory): Mention
23944 deprecaion.
23945 * posix/tst-dir.c (main): Disable deprecation warning in test.
23946
23947 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
23948
23949 [BZ #19679]
23950 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
23951 Renamed to ...
23952 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
23953 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
23954 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
23955 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
23956 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
23957 * sysdeps/x86_64/dl-trampoline.h
23958 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
23959 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
23960
23961 2016-02-19 Mark Wielaard <mjw@redhat.com>
23962
23963 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
23964
23965 2016-02-19 Mark Wielaard <mjw@redhat.com>
23966
23967 * elf/elf.h (R_386_GOT32X): New.
23968 (R_386_NUM): Update.
23969 (R_X86_64_GOTPCRELX: New.
23970 (R_X86_64_REX_GOTPCRELX): New.
23971 (R_X86_64_NUM): Update.
23972
23973 2016-02-19 Mike Frysinger <vapier@gentoo.org>
23974
23975 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
23976
23977 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
23978
23979 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
23980 assign attr->stackaddr to it, and adjust it down when
23981 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
23982 [_STACK_GROWS_UP]: Delete assert.
23983 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
23984 Implement stack grows up logic.
23985 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
23986 stack grows up logic.
23987
23988 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23989
23990 * NEWS: Update with 2.24 template.
23991
23992 2016-02-19 Joseph Myers <joseph@codesourcery.com>
23993
23994 [BZ #19678]
23995 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
23996 Ensure +0.0 is returned when taking the next value below the least
23997 positive value.
23998
23999 2016-02-19 Florian Weimer <fweimer@redhat.com>
24000
24001 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
24002 available. Do not define NO_THREADS.
24003 * malloc/malloc.c: Do not check NO_THREADS.
24004 * malloc/arena.c: Likewise.
24005
24006 2016-02-19 Florian Weimer <fweimer@redhat.com>
24007
24008 * malloc/malloc.c (__libc_mallinfo): Update comment.
24009 (struct malloc_par): Remove max_total_mem member, it was always 0.
24010 (int_mallinfo): Store 0 into usmblks (no functional change).
24011 * malloc/hooks.c (struct malloc_state): Document that
24012 max_total_mem is always 0.
24013 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
24014 always 0.
24015 * manual/memory.texi (Statistics of Malloc): Likewise.
24016
24017 2016-02-19 Florian Weimer <fweimer@redhat.com>
24018
24019 * malloc/malloc.c (sysmalloc): Do not update arena_max.
24020 * malloc/arena.c (arena_max): Remove.
24021 (heap_trim, _int_new_arena): Do not update arena_max.
24022
24023 2016-02-19 Florian Weimer <fweimer@redhat.com>
24024
24025 * resolv/res_init.c (res_ninit): Update comment.
24026
24027 2016-02-19 Florian Weimer <fweimer@redhat.com>
24028
24029 [BZ #19505]
24030 * posix/spawn_int.h: Add headers and include guard.
24031 (__spawn_valid_fd): New function.
24032 * posix/spawn_faction_addopen.c
24033 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
24034 * posix/spawn_faction_addclose.c
24035 (posix_spawn_file_actions_addclose): Likewise.
24036 * posix/spawn_faction_adddup2.c
24037 (posix_spawn_file_actions_adddup2): Likewise. Add check for
24038 second file descriptor.
24039 * posix/spawn_valid_fd.c: New file.
24040 * posix/tst-posix_spawn-fd.c: New file.
24041 * posix/Makefile (routines): Add spawn_valid_fd.
24042 (tests): Add tst-posix_spawn-fd.
24043
24044 2016-02-19 Florian Weimer <fweimer@redhat.com>
24045
24046 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
24047 (do_test): Limit the number of arenas, so that we can use fewer
24048 outer threads. Limit timeout to 3 seconds, in preparation for a
24049 larger TIMEOUT value.
24050
24051 2016-02-19 Joseph Myers <joseph@codesourcery.com>
24052
24053 [BZ #19674]
24054 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
24055 sign in overflowing and underflowing results when overflow or
24056 underflow is detected early. Include sign in result before rather
24057 than after scaling.
24058
24059 [BZ #19603]
24060 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
24061 (__ieee754_remainderl): Adjust sign of integer version of low part
24062 when taking absolute value of high part.
24063 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24064 * math/libm-test.inc (remainder_test_data): Add another test.
24065 (remquo_test_data): Likewise.
24066
24067 2016-02-18 Joseph Myers <joseph@codesourcery.com>
24068
24069 [BZ #19602]
24070 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
24071 equal high parts and both low parts zero specially.
24072 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
24073 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
24074 Add test-fmodl-ldbl-128ibm.
24075
24076 [BZ #19595]
24077 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
24078 common logic for all cases of shifting subnormal results. Do not
24079 insert sign bit in shifted mantissa. Always pass -1023 as biased
24080 exponent to ldbl_insert_mantissa in subnormal case.
24081
24082 [BZ #19594]
24083 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
24084 on high and low parts then adjust result and use
24085 ldbl_canonicalize_int if needed.
24086
24087 [BZ #19593]
24088 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
24089 on high part and __floor or __ceil on low part then use
24090 ldbl_canonicalize_int if needed.
24091
24092 [BZ #19592]
24093 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
24094 high and low parts then use ldbl_canonicalize_int if needed.
24095
24096 [BZ #17899]
24097 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
24098 New function.
24099 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
24100 on high and low parts then use ldbl_canonicalize_int if needed.
24101
24102 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24103
24104 * configure: Regenerated.
24105
24106 * po/libc.pot: Regenerated.
24107
24108 * po/be.po: Updated translation.
24109 * po/bg.po: Likewise.
24110 * po/ca.po: Likewise.
24111 * po/cs.po: Likewise.
24112 * po/da.po: Likewise.
24113 * po/el.po: Likewise.
24114 * po/eo.po: Likewise.
24115 * po/es.po: Likewise.
24116 * po/fi.po: Likewise.
24117 * po/fr.po: Likewise.
24118 * po/gl.po: Likewise.
24119 * po/hr.po: Likewise.
24120 * po/hu.po: Likewise.
24121 * po/ia.po: Likewise.
24122 * po/id.po: Likewise.
24123 * po/it.po: Likewise.
24124 * po/ja.po: Likewise.
24125 * po/lt.po: Likewise.
24126 * po/nb.po: Likewise.
24127 * po/nl.po: Likewise.
24128 * po/pt_BR.po: Likewise.
24129 * po/rw.po: Likewise.
24130 * po/sk.po: Likewise.
24131 * po/sl.po: Likewise.
24132 * po/sv.po: Likewise.
24133 * po/tr.po: Likewise.
24134 * po/zh_CN.po: Likewise.
24135 * po/zh_TW.po: Likewise.
24136
24137 * version.h (RELEAES): Set to "development".
24138 (VERSION): Set to 2.23.90.
24139
24140 * version.h (RELEASE): Set to "stable".
24141 (VERSION): Set to 2.23.
24142 * include/feature.h (__GLIBC_MINOR__): Set to 23.
24143
24144 * NEWS: Updated fixed bugs.
24145
24146 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
24147 Wilco Dijkstra <wdijkstr@arm.com>
24148
24149 [BZ #19462]
24150 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
24151 (_STRING_INLINE_unaligned): This.
24152 * include/string.h: Include <string_private.h>.
24153 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
24154 _STRING_INLINE_unaligned.
24155 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
24156 (_STRING_INLINE_unaligned): New.
24157 * sysdeps/aarch64/string_private.h: New file.
24158 * sysdeps/generic/string_private.h: Likewise.
24159 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
24160 * sysdeps/s390/string_private.h: Likewise.
24161 * sysdeps/x86/string_private.h: Likewise.
24162 * sysdeps/m68k/m680x0/m68020/bits/string.h
24163 (_STRING_ARCH_unaligned): Renamed to ...
24164 (_STRING_INLINE_unaligned): This.
24165 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
24166 to ...
24167 (_STRING_INLINE_unaligned): This.
24168 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
24169 to ...
24170 (_STRING_INLINE_unaligned): This.
24171 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
24172 to ...
24173 (_STRING_INLINE_unaligned): This.
24174
24175 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
24176 H.J. Lu <hongjiu.lu@intel.com>
24177
24178 [BZ #19590]
24179 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
24180 relocation.
24181
24182 2016-02-15 Carlos O'Donell <carlos@redhat.com>
24183
24184 [BZ #18665]
24185 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
24186 *herrno_p.
24187 (gaih_getanswer): Document functional behviour. Return tryagain
24188 if any result is tryagain.
24189 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
24190 when freed.
24191 * resolv/res_send.c: Add copyright text.
24192 (__libc_res_nsend): Document that MAXPACKET is expected.
24193 (send_vc): Document. Remove buffer reuse.
24194 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
24195 size of the buffer. Add Dprint for truncated UDP buffer.
24196
24197 2016-02-14 Carlos O'Donell <carlos@redhat.com>
24198
24199 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
24200 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
24201 * INSTALL: Regenerate.
24202
24203 2016-02-14 Jakub Jelinek <jakub@redhat.com>
24204 Jonathan Wakely <jwakely@redhat.com>
24205 Carlos O'Donell <carlos@redhat.com>
24206
24207 [BZ 19439]
24208 * math/Makefile (tests): Add test-math-isinff.
24209 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
24210 * math/bits/mathcalls.h [__USE_MISC]: Use
24211 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
24212 functions not in C++11 and which don't conflict e.g. isinff,
24213 isinfl etc.
24214 * math/test-math-isinff.cc: New file.
24215
24216 2016-02-12 Florian Weimer <fweimer@redhat.com>
24217
24218 * misc/bug18240.c (do_test): Set RLIMIT_AS.
24219
24220 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
24221
24222 [BZ #19529]
24223 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
24224
24225 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24226
24227 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
24228
24229 2016-02-01 Joseph Myers <joseph@codesourcery.com>
24230
24231 [BZ #19550]
24232 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
24233 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
24234 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
24235 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
24236 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
24237 New syscall entry.
24238 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
24239 New syscall entry.
24240 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
24241 syscall entry.
24242
24243 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
24244
24245 [BZ #18240]
24246 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
24247 unsigned int wraparound.
24248
24249 2016-01-27 Florian Weimer <fweimer@redhat.com>
24250
24251 [BZ #18240]
24252 * misc/bug18240.c: New test.
24253 * misc/Makefile (tests): Add it.
24254
24255 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
24256 Joseph Myers <joseph@codesourcery.com>
24257
24258 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
24259 load in branch delay slot when less than a word of input left.
24260
24261 2016-01-27 Andreas Schwab <schwab@suse.de>
24262
24263 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
24264 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
24265 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
24266 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
24267
24268 2016-01-26 David S. Miller <davem@davemloft.net>
24269
24270 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
24271
24272 2016-01-25 David S. Miller <davem@davemloft.net>
24273
24274 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
24275 __sqrtl_finite.
24276 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
24277 instead using versioned_symbol.
24278 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
24279 of entries.
24280
24281 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
24282 __sqrtl_finite to GLIBC_2.23
24283
24284 2016-01-25 Ricchard Henderson <rth@redhat.com>
24285
24286 * sysdeps/alpha/fpu/libm-test-ulps: Update.
24287
24288 2016-01-25 Andreas Schwab <schwab@suse.de>
24289
24290 [BZ #17514]
24291 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
24292 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
24293 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
24294 * nptl/tst-mutex-errorcheck.c: New file.
24295
24296 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24297
24298 [BZ #18560]
24299 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
24300 (IPCOP_semop): Likewise.
24301 (IPCOP_semget): Likewise.
24302 (IPCOP_semctl): Likewise.
24303 (IPCOP_msgsnd): Likewise.
24304 (IPCOP_msgrcv): Likewise.
24305 (IPCOP_msgget): Likewise.
24306 (IPCOP_msgctl): Likewise.
24307 (IPCOP_shmat): Likewise.
24308 (IPCOP_shmdt): Likewise.
24309 (IPCOP_shmget): Likewise.
24310 (IPCOP_shmctl): Likewise.
24311
24312 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
24313
24314 * string/tst-endian.c: Include <libc-internal.h>.
24315 (do_test): Ignore tautological-compare warnings around
24316 "htobeXX (beXXtoh (i)) != i" and
24317 "htoleXX (leXXtoh (i)) != i" if-statements.
24318
24319 2016-01-24 David S. Miller <davem@davemloft.net>
24320
24321 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
24322 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
24323 alias.
24324 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24325 __sqrtl_finite.
24326
24327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24328
24329 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
24330
24331 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
24332 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
24333 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24334
24335 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24336
24337 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
24338 (thread_func): Use new function to simplify barrier check.
24339 (do_test): Use new function to simplify checking barrier exit
24340 code, and actually join the child thread.
24341
24342 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24343
24344 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
24345 semicolon.
24346 (__libc_tend): Likewise.
24347 (__libc_tabort): Likewise.
24348
24349 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
24350
24351 * sysdeps/nios2/libm-test-ulps: Update.
24352 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
24353 (__gtsf2): Likewise.
24354 (__unorddf2): Likewise.
24355 (__unordsf2): Likewise.
24356 (__ledf2): Likewise.
24357
24358 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
24359
24360 * nis/nis_table.c (__follow_path): Disable diagnostic for
24361 uninitialized variable that is a false positive for gcc 4.7.
24362 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
24363
24364 2016-01-20 Roland McGrath <roland@hack.frob.com>
24365
24366 * sysdeps/nacl/lowlevellock-futex.h
24367 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
24368 Always evaluate PRIVATE argument.
24369
24370 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
24371
24372 [BZ #19490]
24373 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
24374 (pthread_cond_broadcast): Use ENTRY/END
24375 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
24376 (pthread_cond_signal): Likewise.
24377 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
24378 Likewise.
24379 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
24380 Likewise.
24381 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
24382 Likewise.
24383
24384 2016-01-20 Joseph Myers <joseph@codesourcery.com>
24385
24386 * sysdeps/ieee754/dbl-64/s_finite.c
24387 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
24388 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
24389 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
24390 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
24391 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
24392
24393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
24394 (__gtsf2): Add as optional for libc.so.
24395 (__unordsf2): Likewise.
24396 (__signbit): Remove for libc.so.
24397 (__signbitl): Likewise.
24398
24399 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24400
24401 * iconvdata/bug-iconv11.c (test_ibm93x):
24402 Use %zu printf format specifier for size_t argument.
24403
24404 2016-01-19 Joseph Myers <joseph@codesourcery.com>
24405
24406 * math/gen-libm-test.pl (parse_ulps): Do not reduce
24407 already-recorded ulps.
24408 * sysdeps/arm/libm-test-ulps: Regenerated.
24409 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24410 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24411 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24412
24413 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
24414 Paul Pluzhnikov <ppluzhnikov@google.com>
24415
24416 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
24417 assembler not supporting AVX-512.
24418
24419 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
24420
24421 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24422
24423 2016-01-18 Joseph Myers <joseph@codesourcery.com>
24424
24425 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24426 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24427
24428 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24429
24430 * sysdeps/arm/libm-test-ulps: Regenerated.
24431
24432 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24433
24434 [BZ #19451]
24435 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
24436
24437 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
24438
24439 [BZ #19486]
24440 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
24441 * sysdeps/generic/fix-fp-int-convert-overflow.h
24442 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
24443 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
24444 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
24445 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
24446 Likewise.
24447 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
24448 Avoid conversions to long int where inexact exceptions
24449 could be raised.
24450 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
24451 Likewise.
24452 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
24453 Avoid conversions to long long int where inexact exceptions
24454 could be raised.
24455 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
24456 Likewise.
24457
24458 2016-01-17 Mike Frysinger <vapier@gentoo.org>
24459
24460 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
24461 * configure: Regenerated.
24462
24463 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
24464
24465 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
24466
24467 2016-01-16 Mike Frysinger <vapier@gentoo.org>
24468
24469 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
24470 outside of comment.
24471
24472 2016-01-15 Torvald Riegel <triegel@redhat.com>
24473
24474 * nptl/tst-barrier1.c: Add description on first line.
24475 * nptl/tst-barrier2.c: Likewise.
24476 * nptl/tst-barrier3.c: Likewise.
24477 * nptl/tst-barrier4.c: Likewise.
24478 * nptl/tst-barrier5.c: Likewise.
24479
24480 2016-01-15 Torvald Riegel <triegel@redhat.com>
24481
24482 [BZ #18868]
24483 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
24484
24485 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
24486
24487 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
24488 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
24489 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
24490 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
24491 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
24492 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
24493 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24494 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24495 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24496 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24497 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24498
24499 2016-01-15 Torvald Riegel <triegel@redhat.com>
24500
24501 [BZ #13065]
24502 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
24503 new implementation.
24504 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
24505 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
24506 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
24507 (BARRIER_IN_THRESHOLD): New macro.
24508 * nptl/pthread_barrierattr_setpshared.c
24509 (pthread_barrierattr_setpshared): Clean up.
24510 * nptl/tst-barrier4.c: Correct comment.
24511 * nptl/tst-barrier5.c: New file.
24512 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
24513 (gen-as-const-headers): Remove lowlevelbarrier.sym.
24514 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
24515 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
24516 * nptl/lowlevelbarrier.sym: Remove.
24517 * nptl/DESIGN-barrier.txt: Remove.
24518 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
24519 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
24520 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
24521 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
24522 error.
24523 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
24524 implementation.
24525
24526 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24527
24528 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
24529 (do_child): Mask SIGRTMIN while thr is running.
24530
24531 2016-01-15 Martin Sebor <msebor@redhat.com>
24532
24533 [BZ #19432]
24534 * iconvdata/Makefile: Add bug-iconv11.
24535 * iconvdata/bug-iconv11.c: New test.
24536 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
24537 * iconvdata/ibm933.c: Same.
24538 * iconvdata/ibm935.c: Same.
24539 * iconvdata/ibm937.c: Same.
24540 * iconvdata/ibm939.c: Same.
24541
24542 2016-01-15 Martin Sebor <msebor@redhat.com>
24543
24544 [BZ #19443]
24545 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
24546 [DEBUG] (_ufc_set_bits): Declare used.
24547 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
24548 [DEBUG] (print_all): Declare used.
24549 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
24550 operands of the ternary ?: expression to target type.
24551 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
24552 calling the undeclared abort.
24553 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
24554
24555 2016-01-15 Martin Sebor <msebor@redhat.com>
24556
24557 [BZ #18755]
24558 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
24559 warnings.
24560 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
24561 (__gai_create_helper_thread): Same.
24562 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
24563 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
24564 to suppress -Wmaybe-uninitialized warnings.
24565
24566 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
24567
24568 [BZ #19465]
24569 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
24570 inside if.
24571 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24572 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24573 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24574
24575 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
24576
24577 [BZ #19466]
24578 * time/tst-mktime2.c (time_t_max): Removed.
24579 (time_t_min): Likewise.
24580 (TYPE_SIGNED): New.
24581 (TYPE_MINIMUM): Likewise.
24582 (TYPE_MAXIMUM): Likewise.
24583 (TIME_T_MIN): Likewise.
24584 (TIME_T_MAX): Likewise.
24585 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
24586 and TIME_T_MIN.
24587 (do_test): Likewise.
24588
24589 2016-01-14 Amit Pawar <amit.pawar@amd.com>
24590
24591 [BZ #19467]
24592 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
24593 index_Fast_Unaligned_Load flag for Excavator family CPUs.
24594
24595 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
24596
24597 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
24598
24599 2016-01-13 Carlos O'Donell <carlos@redhat.com>
24600
24601 * benchtests/Makefile (PYTHON): Define.
24602 (bench-func): Use $(PYTHON) to run python scripts.
24603 ($(objpfx)bench-%.c): Likewise.
24604
24605 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
24606
24607 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
24608 leading slash when `file_name' is "/".
24609
24610 2016-01-12 Joseph Myers <joseph@codesourcery.com>
24611
24612 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
24613 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
24614 Likewise.
24615 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
24616 Likewise.
24617 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
24618 Likewise.
24619 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
24620 enum constant and macro.
24621 (PTRACE_SETSIGMASK): Likewise.
24622 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24623 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
24624 (PTRACE_GETSIGMASK): Likewise.
24625 (PTRACE_SETSIGMASK): Likewise.
24626 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24627 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
24628 Likewise.
24629 (PTRACE_SETSIGMASK): Likewise.
24630 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24631 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
24632 (PTRACE_GETSIGMASK): Likewise.
24633 (PTRACE_SETSIGMASK): Likewise.
24634 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24635 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
24636 Likewise.
24637 (PTRACE_SETSIGMASK): Likewise.
24638 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24639 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
24640 Likewise.
24641 (PTRACE_SETSIGMASK): Likewise.
24642 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24643 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
24644 Likewise.
24645 (PTRACE_SETSIGMASK): Likewise.
24646 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24647
24648 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
24649 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24650
24651 [BZ #19439]
24652 * math/bits/mathcalls.h
24653 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
24654 prototype.
24655 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
24656
24657 2016-01-11 Andreas Schwab <schwab@suse.de>
24658
24659 [BZ #19253]
24660 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
24661 cache when TZDEFRULES was used.
24662 * time/tst-tzname.c: New file.
24663 * time/Makefile (test): Add tst-tzname.
24664 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
24665 * timezone/Makefile (test-zones): Add $(posixrules-file).
24666 ($(testdata)/$(posixrules-file)): New rule.
24667
24668 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
24669
24670 Fix doc quoting problems with Texinfo 5
24671 Without this change, in the info file output, Texinfo 5 quotes code
24672 in text with undirected single quotes 'like this' and generates
24673 code examples that with many PDF readers cannot be cut out of PDFs
24674 and pasted into code.
24675 * manual/libc.texinfo: Configure the libc manual like the GNU
24676 Emacs manual, by using @documentencoding and setting
24677 txicodequoteundirected and txicodequotebacktick. This way,
24678 Texinfo 5 quotes code in text with directed single quotes ‘like
24679 this’ and produces examples that can be cut out of PDFs. This
24680 change causes Texinfo 5 to generate info files that contain UTF-8
24681 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
24682 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
24683
24684 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24685
24686 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
24687 __libc_tabort, __libc_tend): New wrappers that enforce compiler
24688 barriers to their respective compiler built-ins.
24689 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
24690 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
24691 * sysdeps/powerpc/sysdep.h: Likewise.
24692 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
24693 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
24694 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
24695
24696 2016-01-08 Marko Myllynen <myllynen@redhat.com>
24697
24698 * scripts/config.guess: Revert previous shebang change.
24699 * scripts/config.sub: Likewise.
24700 * scripts/mkinstalldirs: Likewise.
24701
24702 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
24703
24704 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
24705 PPC_FEATURE2_HAS_IEEE128.
24706 * sysdeps/powerpc/dl-procinfo.c:
24707 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
24708
24709 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
24710
24711 [BZ #19415]
24712 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
24713 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
24714 (_dl_lookup_address): Rewrite using function resolver trampoline.
24715 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
24716 two bits in address.
24717
24718 2016-01-07 Mike Frysinger <vapier@gentoo.org>
24719
24720 * longlong.h: Change !__SHMEDIA__ to
24721 (!defined (__SHMEDIA__) || !__SHMEDIA__).
24722 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
24723
24724 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
24725 Joseph Myers <joseph@codesourcery.com>
24726 Mark Shinwell <shinwell@codesourcery.com>
24727 Andrew Stubbs <ams@codesourcery.com>
24728 Rich Felker <dalias@libc.org>
24729
24730 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
24731
24732 2016-01-07 Richard Henderson <rth@redhat.com>
24733
24734 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
24735
24736 2016-01-07 Mike Frysinger <vapier@gentoo.org>
24737
24738 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
24739 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
24740 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24741 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24742 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
24743
24744 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
24745 Joseph Myers <joseph@codesourcery.com>
24746
24747 * timezone/private.h: Update from tzcode 2015g.
24748 * timezone/tzfile.h: Likewise.
24749 * timezone/tzselect.ksh: Likewise.
24750 * timezone/zdump.c: Likewise.
24751 * timezone/zic.c: Likewise.
24752 * timezone/ialloc.c: Remove file.
24753 * timezone/scheck.c: Likewise.
24754 * timezone/Makefile (extra-objs): Remove variable.
24755 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
24756 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
24757 -Wno-maybe-uninitialized.
24758 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
24759 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
24760 (CFLAGS-ialloc.c): Remove variable.
24761 (CFLAGS-scheck.c): Likewise.
24762 * timezone/README: Update list of files from tzcode.
24763
24764 2016-01-07 Khem Raj <raj.khem@gmail.com>
24765
24766 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
24767 instead of __fxprintf when _LIBC is undefined.
24768
24769 2016-01-07 Marko Myllynen <myllynen@redhat.com>
24770
24771 * catgets/test-gencat.sh: Remove space after shebang.
24772 * conform/GlibcConform.pm: Likewise.
24773 * conform/check-header-lists.sh: Likewise.
24774 * conform/conformtest.pl: Likewise.
24775 * conform/linknamespace.pl: Likewise.
24776 * conform/list-header-symbols.pl: Likewise.
24777 * debug/catchsegv.sh: Likewise.
24778 * elf/genrtldtbl.awk: Likewise.
24779 * elf/tst-pathopt.sh: Likewise.
24780 * elf/tst-rtld-load-self.sh: Likewise.
24781 * grp/tst_fgetgrent.sh: Likewise.
24782 * iconvdata/gen-8bit-gap-1.sh: Likewise.
24783 * iconvdata/gen-8bit-gap.sh: Likewise.
24784 * iconvdata/gen-8bit.sh: Likewise.
24785 * iconvdata/run-iconv-test.sh: Likewise.
24786 * intl/tst-gettext.sh: Likewise.
24787 * intl/tst-gettext2.sh: Likewise.
24788 * intl/tst-gettext4.sh: Likewise.
24789 * intl/tst-gettext6.sh: Likewise.
24790 * intl/tst-translit.sh: Likewise.
24791 * io/ftwtest-sh: Likewise.
24792 * libio/test-freopen.sh: Likewise.
24793 * locale/gen-translit.pl: Likewise.
24794 * malloc/tst-mtrace.sh: Likewise.
24795 * manual/check-safety.sh: Likewise.
24796 * manual/libc-texinfo.sh: Likewise.
24797 * manual/tsort.awk: Likewise.
24798 * manual/xtract-typefun.awk: Likewise.
24799 * nptl/tst-cancel-wrappers.sh: Likewise.
24800 * nptl/tst-tls6.sh: Likewise.
24801 * posix/globtest.sh: Likewise.
24802 * posix/tst-getconf.sh: Likewise.
24803 * posix/wordexp-tst.sh: Likewise.
24804 * scripts/check-c++-types.sh: Likewise.
24805 * scripts/check-local-headers.sh: Likewise.
24806 * scripts/config.guess: Likewise.
24807 * scripts/config.sub: Likewise.
24808 * scripts/cpp: Likewise.
24809 * scripts/cross-test-ssh.sh: Likewise.
24810 * scripts/documented.sh: Likewise.
24811 * scripts/evaluate-test.sh: Likewise.
24812 * scripts/gen-libc-abis: Likewise.
24813 * scripts/gen-sorted.awk: Likewise.
24814 * scripts/list-fixed-bugs.py: Likewise.
24815 * scripts/merge-test-results.sh: Likewise.
24816 * scripts/mkinstalldirs: Likewise.
24817 * scripts/rellns-sh: Likewise.
24818 * scripts/test-installation.pl: Likewise.
24819 * scripts/update-copyrights: Likewise.
24820 * stdio-common/tst-printf.sh: Likewise.
24821 * stdio-common/tst-unbputc.sh: Likewise.
24822 * stdlib/tst-fmtmsg.sh: Likewise.
24823 * stdlib/tst-setcontext3.sh: Likewise.
24824 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
24825 * sysdeps/unix/make-syscalls.sh: Likewise.
24826
24827 2016-01-06 John David Anglin <dave.anglin@bell.net>
24828
24829 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
24830 asm stw with atomic_exchange_rel. Add explanatory comment.
24831 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
24832 Likewise.
24833
24834 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
24835
24836 [BZ #19122]
24837 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
24838 * sysdeps/generic/dl-unistd.h: New file.
24839 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
24840
24841 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
24842
24843 [BZ #19122]
24844 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
24845 * sysdeps/generic/dl-mman.h: New file.
24846 * sysdeps/mach/hurd/dl-mman.h: Likewise.
24847
24848 2016-01-05 Joseph Myers <joseph@codesourcery.com>
24849
24850 * manual/texinfo.tex: Update to version 2016-01-04.21 with
24851 trailing whitespace removed.
24852 * scripts/config.guess: Update to version 2016-01-01.
24853 * scripts/config.sub: Update to version 2016-01-01.
24854 * scripts/move-if-change: Update from gnulib.
24855
24856 2016-01-04 Anton Blanchard <anton@samba.org>
24857
24858 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
24859 for array indices.
24860 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
24861
24862 2016-01-04 Joseph Myers <joseph@codesourcery.com>
24863
24864 * NEWS: Update copyright dates.
24865 * catgets/gencat.c (print_version): Likewise.
24866 * csu/version.c (banner): Likewise.
24867 * debug/catchsegv.sh: Likewise.
24868 * debug/pcprofiledump.c (print_version): Likewise.
24869 * debug/xtrace.sh (do_version): Likewise.
24870 * elf/ldconfig.c (print_version): Likewise.
24871 * elf/ldd.bash.in: Likewise.
24872 * elf/pldd.c (print_version): Likewise.
24873 * elf/sotruss.sh: Likewise.
24874 * elf/sprof.c (print_version): Likewise.
24875 * iconv/iconv_prog.c (print_version): Likewise.
24876 * iconv/iconvconfig.c (print_version): Likewise.
24877 * locale/programs/locale.c (print_version): Likewise.
24878 * locale/programs/localedef.c (print_version): Likewise.
24879 * login/programs/pt_chown.c (print_version): Likewise.
24880 * malloc/memusage.sh (do_version): Likewise.
24881 * malloc/memusagestat.c (print_version): Likewise.
24882 * malloc/mtrace.pl: Likewise.
24883 * manual/libc.texinfo: Likewise.
24884 * nptl/version.c (banner): Likewise.
24885 * nscd/nscd.c (print_version): Likewise.
24886 * nss/getent.c (print_version): Likewise.
24887 * nss/makedb.c (print_version): Likewise.
24888 * posix/getconf.c (main): Likewise.
24889 * scripts/test-installation.pl: Likewise.
24890 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
24891
24892 * All files with FSF copyright notices: Update copyright dates
24893 using scripts/update-copyrights.
24894 * intl/plural.c: Regenerated.
24895 * locale/programs/charmap-kw.h: Likewise.
24896 * locale/programs/locfile-kw.h: Likewise.
24897
24898 2016-01-02 Helge Deller <deller@gmx.de>
24899
24900 [BZ #19285]
24901 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
24902 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
24903 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
24904 (MADV_xxK_PAGES): Remove.
24905
24906 2016-01-01 Mike Frysinger <vapier@gentoo.org>
24907
24908 [BZ #15421]
24909 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
24910 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
24911 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
24912 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
24913
24914 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
24915
24916 [BZ #19408]
24917 * sysdeps/unix/sysv/linux/personality.c: New file.
24918 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
24919 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
24920 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
24921 (sysdep_routines): Add personality.
24922 (tests): Add tst-personality.
24923 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
24924 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
24925 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
24926 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
24927 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
24928 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
24929 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
24930 Likewise.
24931 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
24932 Likewise.
24933 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
24934 Likewise.
24935 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
24936 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
24937 Likewise.
24938
24939 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
24940
24941 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
24942 (PATH_ARM_SYSTYPE): Remove.
24943 (PATH_CPUINFO): Likewise.
24944 (IO_BASE_FOOTBRIDGE): Likewise.
24945 (IO_SHIFT_FOOTBRIDGE): Likewise.
24946 (struct platform): Likewise.
24947 (init_iosys): Remove compatibility code for 2.4 kernels.
24948 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
24949
24950 2015-12-29 Florian Weimer <fweimer@redhat.com>
24951
24952 * malloc/tst-malloc-thread-fail.c: New file.
24953 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
24954 (tst-malloc-thread-fail): Link against libpthread.
24955
24956 2015-12-29 Mike Frysinger <vapier@gentoo.org>
24957
24958 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
24959 (get_parser): New function.
24960 (main): New function.
24961
24962 2015-12-29 Rob Wu <rob@robwu.nl>
24963
24964 [BZ #19369]
24965 * resolv/res_init.c (__res_vinit): Reset defdname before use.
24966
24967 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
24968
24969 [BZ #19270]
24970 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
24971
24972 2015-12-28 Mike Frysinger <vapier@gentoo.org>
24973
24974 [BZ #15421]
24975 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
24976
24977 2015-12-23 Torvald Riegel <triegel@redhat.com>
24978
24979 [BZ #13690]
24980 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
24981 after releasing it.
24982 (__lll_robust_unlock): Likewise.
24983 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
24984 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
24985 (lll_robust_unlock): Likewise.
24986 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
24987 Prevent warnings in callers.
24988
24989 2015-12-23 Florian Weimer <fweimer@redhat.com>
24990
24991 * malloc/arena.c (list_lock): Update comment.
24992
24993 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
24994
24995 * sysdeps/powerpc/hwcapinfo.c: Export symbol
24996 __parse_hwcap_and_convert_at_platform to libc.a.
24997
24998 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
24999
25000 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
25001 platform and feature support for POWER9.
25002 * sysdeps/powerpc/dl-procinfo.h: Likewise.
25003 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
25004 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
25005 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
25006 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
25007 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
25008 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
25009 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
25010
25011 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25012
25013 Harmonize generic stdio-lock support with nptl
25014
25015 This fixes build when _IO_funlockfile is a macro, fixes build where
25016 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
25017 stack unwind.
25018
25019 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
25020 _IO_release_lock ): Use cleanup attribute on new
25021 _IO_acquire_lock_file variable instead of assuming that
25022 _IO_release_lock will be called.
25023 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
25024 _IO_acquire_lock_needs_exceptions_enabled.
25025 (_IO_acquire_lock_clear_flags2): New macro.
25026
25027 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25028
25029 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
25030
25031 2015-12-21 Florian Weimer <fweimer@redhat.com>
25032
25033 [BZ #19182]
25034 * malloc/arena.c (list_lock): Document lock ordering requirements.
25035 (free_list_lock): New lock.
25036 (ptmalloc_lock_all): Comment on free_list_lock.
25037 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
25038 (detach_arena): Update comment. free_list_lock is now needed.
25039 (_int_new_arena): Use free_list_lock around detach_arena call.
25040 Acquire arena lock after list_lock. Add comment, including FIXME
25041 about incorrect synchronization.
25042 (get_free_list): Switch to free_list_lock.
25043 (reused_arena): Acquire free_list_lock around detach_arena call
25044 and attached threads counter update. Add two FIXMEs about
25045 incorrect synchronization.
25046 (arena_thread_freeres): Switch to free_list_lock.
25047 * malloc/malloc.c (struct malloc_state): Update comments to
25048 mention free_list_lock.
25049
25050 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
25051
25052 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
25053 Remove functions.
25054 (sloww, sloww1): Accept argument to offset quadrant.
25055 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
25056 quadrant.
25057 (__sin, __cos): Consolidate common code into new functions.
25058 (reduce_sincos_1, do_sincos_1): New functions.
25059 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25060
25061 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
25062 code to new functions.
25063 (reduce_sincos_2, do_sincos_2): New functions.
25064 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25065
25066 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
25067 common code for sincos.
25068 (__cos) [!IN_SINCOS]: Likewise.
25069 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
25070 New function.
25071 (__sincos): Use it.
25072
25073 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
25074
25075 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
25076 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
25077 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25078
25079 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
25080
25081 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
25082 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
25083 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
25084 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
25085 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25086 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
25087 index_Prefer_No_VZEROUPPER): New feature.
25088 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
25089 Prefer_No_VZEROUPPER for Knights Landing.
25090
25091 015-12-18 Torvald Riegel <triegel@redhat.com>
25092
25093 * math/atest-exp2.c (mp_exp_m1): Remove.
25094
25095 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25096
25097 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
25098 syscalls.
25099 (__SYSCALL0): New macro.
25100 (__SYSCALL1): Likewise.
25101 (__SYSCALL2): Likewise.
25102 (__SYSCALL3): Likewise.
25103 (__SYSCALL4): Likewise.
25104 (__SYSCALL5): Likewise.
25105 (__SYSCALL6): Likewise.
25106 (__SYSCALL_CONCAT_X): Likewise.
25107 (__SYSCALL_CONCAT): Likewise.
25108 (__SYSCALL_DIST): Likewise.
25109 (__SYSCALL_CALL): Likewise.
25110
25111 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
25112
25113 [BZ #19363]
25114 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
25115
25116 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25117
25118 [BZ #19375]
25119 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
25120 negative subnormals.
25121
25122 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
25123
25124 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
25125 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
25126 (INTERNAL_SYSCALL_NCS): Use it.
25127 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25128
25129 2015-12-16 Florian Weimer <fweimer@redhat.com>
25130
25131 [BZ #19243]
25132 * malloc/arena.c (get_free_list): Remove assert and adjust
25133 reference count handling. Add comment about reused_arena
25134 interaction.
25135 (reused_arena): Add comments abount get_free_list interaction.
25136 * malloc/tst-malloc-thread-exit.c: New file.
25137 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
25138 (tst-malloc-thread-exit): Link against libpthread.
25139
25140 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
25141
25142 [BZ #19367]
25143 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
25144 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
25145 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
25146 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
25147 (index_Prefer_MAP_32BIT_EXEC): Likewise.
25148
25149 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
25150
25151 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
25152 Silvermont optimizations for Knights Landing.
25153
25154 2015-12-15 Andreas Schwab <schwab@suse.de>
25155
25156 [BZ #17197]
25157 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
25158 immediately after emitting SI.
25159 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
25160 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
25161 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
25162 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
25163 * iconvdata/bug-iconv10.c: New file.
25164 * iconvdata/Makefile (tests): Add bug-iconv10.
25165 ($(objpfx)bug-iconv10.out): New rule.
25166
25167 2015-12-15 Florian Weimer <fweimer@redhat.com>
25168
25169 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
25170 aliasing violation.
25171
25172 2015-12-14 Joseph Myers <joseph@codesourcery.com>
25173
25174 [BZ #18472]
25175 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
25176 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
25177 conditionals for them.
25178 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
25179 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
25180 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
25181 sys/kdaemon.h.
25182 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
25183 compat-only syscall, obsoleted in glibc 2.23.
25184 (create_module): Likewise.
25185 (get_kernel_syms): Likewise.
25186 (query_module): Likewise.
25187 (uselib): Likewise.
25188 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
25189
25190 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
25191
25192 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
25193 <linux/version.h>.
25194 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
25195 conditional code.
25196 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
25197 and ioshift_name initialization.
25198
25199 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
25200
25201 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
25202 Fix indentation.
25203
25204 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
25205
25206 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
25207
25208 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
25209
25210 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
25211
25212 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
25213 Jakub Wilk <jwilk@debian.org>
25214
25215 [BZ #19347]
25216 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
25217 to change the group of the device to the tty group.
25218
25219 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
25220
25221 Split large string section; add truncation advice
25222 * manual/examples/strncat.c: Remove.
25223 This example was misleading, as the code would have undefined
25224 behavior if "hello" was longer than SIZE. Anyway, the manual
25225 shouldn't encourage strncpy+strncat for this sort of thing.
25226 * manual/string.texi (Copying Strings and Arrays): Split into
25227 three sections Copying Strings and Arrays, Concatenating Strings,
25228 and Truncating Strings, as this section was way too long. All
25229 cross-referenced changed. Add advice about string-truncation
25230 functions. Remove misleading strncat example.
25231
25232 2015-12-10 Carlos O'Donell <carlos@redhat.com>
25233
25234 * manual/nss.texi (NSS Modules Interface): Document
25235 NSS_STATUS_NOTFOUND and SUCCESS.
25236
25237 2015-12-09 Mike FABIAN <mfabian@redhat.com>
25238
25239 [BZ 18568]
25240 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
25241 201505L, for Unicode 8.
25242
25243 2015-12-09 Carlos O'Donell <carlos@redhat.com>
25244
25245 * locale/C-translit.h: Regenerate.
25246
25247 2015-12-09 Mike FABIAN <mfabian@redhat.com>
25248
25249 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
25250 and U+0153.
25251
25252 2015-12-09 Joseph Myers <joseph@codesourcery.com>
25253
25254 [BZ #19351]
25255 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
25256 expanding log(1+z), compare z rather than its square with epsilon
25257 to determine when to avoid evaluating the expansion.
25258
25259 [BZ #19350]
25260 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
25261 Increase overflow threshold.
25262
25263 [BZ #19349]
25264 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
25265 when small.
25266
25267 * sysdeps/unix/sysv/linux/i386/kernel-features.h
25268 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25269 New macro.
25270 [__LINUX_KERNEL_VERSION >= 0x040300]
25271 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25272 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25273 Likewise.
25274 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25275 Likewise.
25276 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25277 Likewise.
25278 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25279 Likewise.
25280 [__LINUX_KERNEL_VERSION >= 0x040300]
25281 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25282 [__LINUX_KERNEL_VERSION >= 0x040300]
25283 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25284 [__LINUX_KERNEL_VERSION >= 0x040300]
25285 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25286 [__LINUX_KERNEL_VERSION >= 0x040300]
25287 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25288 [__LINUX_KERNEL_VERSION >= 0x040300]
25289 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25290 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25291 Likewise.
25292 [__LINUX_KERNEL_VERSION >= 0x040300]
25293 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25294 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25295 Likewise.
25296 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25297 Likewise.
25298 [__LINUX_KERNEL_VERSION >= 0x040300]
25299 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25300 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25301 Likewise.
25302 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25303 Likewise.
25304 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25305 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
25306 Likewise.
25307 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
25308 Likewise.
25309 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25310 Likewise.
25311 [__LINUX_KERNEL_VERSION >= 0x040300]
25312 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25313 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25314 Likewise.
25315 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25316 Likewise.
25317 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25318 Likewise.
25319 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25320 Likewise.
25321 [__LINUX_KERNEL_VERSION >= 0x040300]
25322 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25323 [__LINUX_KERNEL_VERSION >= 0x040300]
25324 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25325 [__LINUX_KERNEL_VERSION >= 0x040300]
25326 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25327 [__LINUX_KERNEL_VERSION >= 0x040300]
25328 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25329 [__LINUX_KERNEL_VERSION >= 0x040300]
25330 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25331 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25332 Likewise.
25333 [__LINUX_KERNEL_VERSION >= 0x040300]
25334 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25335 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25336 Likewise.
25337 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25338 Likewise.
25339 [__LINUX_KERNEL_VERSION >= 0x040300]
25340 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25341 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25342 Likewise.
25343 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25344 Likewise.
25345 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25346 (__ASSUME_SOCKET_SYSCALL): Likewise.
25347 (__ASSUME_BIND_SYSCALL): Likewise.
25348 (__ASSUME_CONNECT_SYSCALL): Likewise.
25349 (__ASSUME_LISTEN_SYSCALL): Likewise.
25350 (__ASSUME_ACCEPT_SYSCALL): Likewise.
25351 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25352 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25353 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25354 (__ASSUME_SEND_SYSCALL): Likewise.
25355 (__ASSUME_SENDTO_SYSCALL): Likewise.
25356 (__ASSUME_RECV_SYSCALL): Likewise.
25357 (__ASSUME_RECVFROM_SYSCALL): Likewise.
25358 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
25359 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25360 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25361 (__ASSUME_SENDMSG_SYSCALL): Likewise.
25362 (__ASSUME_RECVMSG_SYSCALL): Likewise.
25363 * sysdeps/unix/sysv/linux/sh/kernel-features.h
25364 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
25365 Likewise.
25366 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
25367 Likewise.
25368 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
25369 Likewise.
25370 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
25371 Likewise.
25372 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
25373 Likewise.
25374 [__LINUX_KERNEL_VERSION >= 0x020625]
25375 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25376 [__LINUX_KERNEL_VERSION >= 0x020625]
25377 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25378 [__LINUX_KERNEL_VERSION >= 0x020625]
25379 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25380 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
25381 Likewise.
25382 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
25383 Likewise.
25384 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
25385 Likewise.
25386 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
25387 Likewise.
25388 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
25389 Likewise.
25390 [__LINUX_KERNEL_VERSION >= 0x020625]
25391 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25392 [__LINUX_KERNEL_VERSION >= 0x020625]
25393 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25394 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
25395 Likewise.
25396 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
25397 Likewise.
25398
25399 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
25400
25401 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
25402 record the current if the current ABI and CPU support the FP64
25403 extension.
25404 (has-modd-spreg): Define to record the current if the current ABI and
25405 CPU support 32-bit floating point values in odd FPU registers.
25406 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25407 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
25408 $(has-modd-spreg) equals yes.
25409 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
25410 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
25411 $(has-modd-spreg) equal yes.
25412
25413 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
25414
25415 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
25416 basename.
25417
25418 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
25419
25420 * benchtests/Makefile (bench-math): Move ffs and ffsll...
25421 (bench-string): ... here.
25422 (bench): Add bench-string.
25423 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
25424 to *-benchset to reflect what they are.
25425 (benchset): Adjust.
25426
25427 * benchtests/sincos-inputs: Add inputs from sin-inputs and
25428 cos-inputs.
25429
25430 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
25431
25432 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
25433 __attribute__ ((__simd__)) for vector math function declarations.
25434
25435 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
25436
25437 Fix typo in strncat, wcsncat manual entries
25438 * manual/string.texi (Copying and Concatenation): Fix typos in
25439 sample implementations of strncat and wcsncat, by having them use
25440 the old value of the destination length, not the new one.
25441
25442 2015-12-04 Joseph Myers <joseph@codesourcery.com>
25443
25444 [BZ #16961]
25445 [BZ #16962]
25446 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
25447 string on the stack for strtod.
25448 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
25449 a string on the stack for strtof.
25450 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
25451 constructing a string on the stack for strtold.
25452 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
25453 __strtold_nan to GLIBC_PRIVATE.
25454 * math/test-nan-overflow.c: New file.
25455 * math/test-nan-payload.c: Likewise.
25456 * math/Makefile (tests): Add test-nan-overflow and
25457 test-nan-payload.
25458
25459 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
25460
25461 Consistency about byte vs character in string.texi
25462 * manual/string.texi (String and Array Utilities):
25463 Distinguish more carefully among bytes, multibyte characters,
25464 and wide characters. Use "byte" when talking about C 'char',
25465 to distinguish it more clearly from multibyte characters.
25466 Say "wide character" or "multibyte character" instead of
25467 "character", when a wide or multibyte character is intended.
25468 Similarly for "multibyte string" versus "string".
25469 Define these terms more carefully.
25470
25471 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
25472
25473 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
25474 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
25475 Likewise.
25476 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25477 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25478 * sysdeps/sh/math_private.h: New file.
25479 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
25480 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
25481 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
25482 long double function name.
25483 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25484 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25485 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25486 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25487 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25488 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25489 Remove __finitel, __isinfl, and __isnanl.
25490 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25491 Likewise.
25492 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25494 Remove __finitel.
25495 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25496 Likewise.
25497 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25498
25499 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
25500
25501 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
25502 installed libmvec_nonshared.a.
25503
25504 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25505
25506 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
25507 (sysdep_routines): Likewise.
25508 (sysdep-rtld-routines): Likewise.
25509 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
25510 [$(subdir) = nptl](tests-static): test-get_hwcap-static
25511 * sysdeps/powerpc/Versions: Added new
25512 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
25513 * sysdeps/powerpc/hwcapinfo.c: New file.
25514 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
25515 and parse hwcap, hwcap2 and platform number information.
25516 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
25517 to store HWCAP+HWCAP2 and platform number.
25518 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
25519 for HWCAP+HWCAP2 and platform number in the TCB.
25520 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
25521 the HWCAP, HWCAP2 and platform number in the TCB.
25522 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
25523 (TLS_INIT_TP): Included calls to add the hwcap and
25524 at_platform values in the TCB in TP initialization.
25525 (TLS_DEFINE_INIT_TP): Likewise.
25526 (THREAD_GET_HWCAP): New macro.
25527 (THREAD_SET_HWCAP): Likewise.
25528 (THREAD_GET_AT_PLATFORM): Likewise.
25529 (THREAD_SET_AT_PLATFORM): Likewise.
25530 * sysdeps/powerpc/powerpc32/dl-machine.h:
25531 (dl_platform_init): New function that calls
25532 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
25533 powerpc32.
25534 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
25535 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
25536 this functionality, static linking case.
25537 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
25538 linking case.
25539 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
25540 __parse_hwcap_and_convert_at_platform for the static linking case.
25541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
25542 Included the new __parse_hwcap_and_convert_at_platform symbol in the
25543 ABI list for GLIBC 2.23.
25544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
25545 Likewise.
25546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
25547 Likewise.
25548
25549 2015-12-02 Ludovic Courtès <ludo@gnu.org>
25550
25551 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
25552 * configure: Regenerate.
25553 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
25554 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
25555
25556 2015-12-02 Carlos O'Donell <carlos@redhat.com>
25557
25558 * iconvdata/ibm930.c: Add comment explaining encoding uses.
25559 * iconvdata/ibm933.c: Likewise.
25560 * iconvdata/ibm935.c: Likewise.
25561 * iconvdata/ibm937.c: Likewise.
25562 * iconvdata/ibm939.c: Likewise.
25563
25564 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25565
25566 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
25567 pthread_join.
25568 * nptl/tst-cancel21.c (tf): Likewise.
25569
25570 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
25571
25572 [BZ #19313]
25573 * bits/typesizes.h (__CPU_MASK_TYPE): New.
25574 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25575 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25576 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
25577 Likewise.
25578 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
25579 Likewise.
25580 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
25581 Likewise.
25582 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
25583 Likewise.
25584 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
25585 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
25586 unsigned long int with __CPU_MASK_TYPE.
25587
25588 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
25589
25590 * sysdeps/aarch64/libm-test-ulps: Regenerated.
25591
25592 2015-12-01 Joseph Myers <joseph@codesourcery.com>
25593
25594 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
25595 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
25596 t512.x.
25597 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
25598
25599 2015-11-30 Amit Pawar <amit.pawar@amd.com>
25600
25601 [BZ #19214]
25602 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
25603 argument to return extended model. Update family and model
25604 with extended family and model when family == 0x0f.
25605 (init_cpu_features): Updated.
25606
25607 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25608
25609 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
25610 signed off_t, so 32bit bigger than 2GiB values are fine actually.
25611
25612 * sysdeps/mach/hurd/mmap64.c: New file.
25613
25614 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
25615
25616 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
25617 rights for its main user thread in NEWTASK.
25618
25619 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
25620
25621 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
25622 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
25623
25624 2015-11-27 Carlos O'Donell <carlos@redhat.com>
25625
25626 [BZ #14259]
25627 * Makeconfig: Rename localedir to complocaledir.
25628 Rename inst_localedir to inst_complocaledir.
25629 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
25630 * config.make.in: Use complocaledir and libc_cv_complocaledir.
25631 * configure.ac: Use libc_cv_complocaledir.
25632 * configure: Regenerate.
25633 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
25634 -DCOMPLOCALEDIR.
25635 * locale/findlocale.c: Use COMPLOCALEDIR.
25636 * locale/loadarchive.c: Likewise.
25637 * locale/programs/locale.c: Likewise.
25638 * locale/programs/localedef.c: Likewise.
25639 * locale/programs/locarchive.c: Likewise.
25640 * localedata/Makefile: Use inst_complocaledir.
25641 * sysdeps/gnu/configure: Regenerate.
25642 * sysdeps/hppa/configure: Regenerate.
25643 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
25644 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
25646 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
25647 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
25648 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
25649 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
25650
25651 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
25652
25653 [BZ #19058]
25654 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
25655 AS_NEEDED.
25656 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
25657 workaround.
25658 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
25659 libmvec-static-only-routines): Added new file.
25660 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
25661
25662 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
25663
25664 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
25665 of interrupted RPC instead of restoring it.
25666
25667 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
25668 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
25669 libc_hidden_def.
25670 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
25671 into initialized data instead of common. Define rtld_hidden_data_def.
25672 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
25673 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
25674 libc_hidden_def.
25675 (if_freenameindex): Add libc_hidden_weak.
25676 (if_nameindex): Add libc_hidden_weak.
25677 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
25678 __open64.
25679 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
25680 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
25681 * sysdeps/mach/nanosleep.c: Include <time.h>
25682 (__nanosleep): Rename to __libc_nanosleep.
25683 (__nanosleep): Add weak_alias.
25684 (nanosleep): Update alias.
25685
25686 2015-11-24 Joseph Myers <joseph@codesourcery.com>
25687
25688 * stdlib/strtod_nan.c: New file.
25689 * stdlib/strtod_nan_double.h: Likewise.
25690 * stdlib/strtod_nan_float.h: Likewise.
25691 * stdlib/strtod_nan_main.c: Likewise.
25692 * stdlib/strtod_nan_narrow.h: Likewise.
25693 * stdlib/strtod_nan_wide.h: Likewise.
25694 * stdlib/strtof_nan.c: Likewise.
25695 * stdlib/strtold_nan.c: Likewise.
25696 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
25697 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
25698 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
25699 * wcsmbs/wcstod_nan.c: Likewise.
25700 * wcsmbs/wcstof_nan.c: Likewise.
25701 * wcsmbs/wcstold_nan.c: Likewise.
25702 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
25703 strtold_nan.
25704 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
25705 wcstof_nan.
25706 * include/stdlib.h (__strtof_nan): Declare and use
25707 libc_hidden_proto.
25708 (__strtod_nan): Likewise.
25709 (__strtold_nan): Likewise.
25710 (__wcstof_nan): Likewise.
25711 (__wcstod_nan): Likewise.
25712 (__wcstold_nan): Likewise.
25713 * include/wchar.h (____wcstoull_l_internal): Declare.
25714 * stdlib/strtod_l.c: Do not include <ieee754.h>.
25715 (____strtoull_l_internal): Remove declaration.
25716 (STRTOF_NAN): Define macro.
25717 (SET_MANTISSA): Remove macro.
25718 (STRTOULL): Likewise.
25719 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
25720 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
25721 (STRTOF_NAN): Define macro.
25722 (SET_MANTISSA): Remove macro.
25723 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
25724 (SET_MANTISSA): Remove macro.
25725 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
25726 macro.
25727 (SET_MANTISSA): Remove macro.
25728 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
25729 macro.
25730 (SET_MANTISSA): Remove macro.
25731 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
25732 (SET_MANTISSA): Remove macro.
25733 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
25734 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
25735 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
25736
25737 [BZ #19266]
25738 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
25739 upper case and lower case letters inside NAN(), not using TOLOWER.
25740 * stdlib/tst-strtod-nan-locale-main.c: New file.
25741 * stdlib/tst-strtod-nan-locale.c: Likewise.
25742 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
25743 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
25744 Depend on $(gen-locales).
25745 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
25746 * wcsmbs/tst-wcstod-nan-locale.c: New file.
25747 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
25748 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
25749 Depend on $(gen-locales).
25750 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
25751
25752 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
25753
25754 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
25755
25756 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
25757 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
25758 __finitel, __isinfl, and __isnanl.
25759 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25760 Likewise.
25761 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25762 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
25763 __finitel.
25764 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25765 Likewise.
25766 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25767
25768 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
25769
25770 * malloc/memusage.c (me): Remove redundant getenv call.
25771
25772 2015-10-24 Florian Weimer <fweimer@redhat.com>
25773
25774 [BZ #19143]
25775 [BZ #19164]
25776 * nptl/check-cpuset.h: Remove.
25777 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25778 Remove CPU set size check.
25779 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25780 Likewise.
25781 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
25782 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
25783 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
25784 (__pthread_setaffinity_new): Remove CPU set size check.
25785 * sysdeps/unix/sysv/linux/sched_setaffinity.c
25786 (__kernel_cpumask_size): Remove.
25787 (__sched_setaffinity_new): Remove CPU set size check.
25788 * manual/threads.texi (Default Thread Attributes): Remove stale
25789 reference to check_cpuset_attr, determine_cpumask_size in comment.
25790 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
25791 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
25792 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
25793 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
25794 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
25795 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
25796 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
25797 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
25798 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
25799 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
25800 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
25801 skeleton test file.
25802 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
25803 tst-affinity-pid.
25804
25805 2015-11-24 Florian Weimer <fweimer@redhat.com>
25806
25807 * scripts/update-abilist.sh: New file.
25808 * Makefile (+subdir_targets): Add subdir_update-all-abi.
25809 * Makerules (update-all-abi-%, update-all-abi)
25810 (subdir_update-all-abi): New targets.
25811 * elf/Makefile (update-all-abi): New target.
25812
25813 2015-11-24 Florian Weimer <fweimer@redhat.com>
25814
25815 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
25816 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
25817 (__libc_lock_define_initialized): Use it.
25818 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
25819 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
25820 * malloc/malloc.c (main_arena): Likewise.
25821 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
25822 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
25823
25824 2015-11-23 Joseph Myers <joseph@codesourcery.com>
25825
25826 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
25827 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
25828 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
25829 (PTRACE_O_MASK): Update value.
25830 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
25831 New value in enum __ptrace_setoptions.
25832 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
25833 (PTRACE_O_MASK): Update value.
25834 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
25835 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
25836 (PTRACE_O_MASK): Update value.
25837 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
25838 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
25839 (PTRACE_O_MASK): Update value.
25840 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
25841 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
25842 (PTRACE_O_MASK): Update value.
25843 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
25844 New value in enum __ptrace_setoptions.
25845 (PTRACE_O_MASK): Update value.
25846 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
25847 New value in enum __ptrace_setoptions.
25848 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
25849 (PTRACE_O_MASK): Update value.
25850
25851 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
25852 New macro.
25853 (PACKET_AUXDATA): Likewise.
25854 (PACKET_ORIGDEV): Likewise.
25855 (PACKET_VERSION): Likewise.
25856 (PACKET_HDRLEN): Likewise.
25857 (PACKET_RESERVE): Likewise.
25858 (PACKET_TX_RING): Likewise.
25859 (PACKET_LOSS): Likewise.
25860 (PACKET_VNET_HDR): Likewise.
25861 (PACKET_TX_TIMESTAMP): Likewise.
25862 (PACKET_TIMESTAMP): Likewise.
25863 (PACKET_FANOUT): Likewise.
25864 (PACKET_TX_HAS_OFF): Likewise.
25865 (PACKET_QDISC_BYPASS): Likewise.
25866 (PACKET_ROLLOVER_STATS): Likewise.
25867 (PACKET_FANOUT_DATA): Likewise.
25868 (PACKET_MR_UNICAST): Likewise.
25869
25870 [BZ #19242]
25871 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
25872 (TOUPPER): Likewise.
25873 * stdlib/tst-strtol-locale-main.c: New file.
25874 * stdlib/tst-strtol-locale.c: Likewise.
25875 * stdlib/Makefile (tests): Add tst-strtol-locale.
25876 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
25877 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
25878 Depend on $(gen-locales).
25879 * wcsmbs/tst-wcstol-locale.c: New file.
25880 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
25881 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
25882 tr_TR.ISO-8859-9.
25883 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
25884 Depend on $(gen-locales).
25885
25886 2015-11-20 Roland McGrath <roland@hack.frob.com>
25887
25888 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
25889 __glibc_likely instead of __builtin_expect. After falling back to
25890 dyncode_create in a non-ET_DYN case, use the allocate_code_data
25891 system interface to register the code pages as occupied.
25892
25893 2015-11-20 Joseph Myers <joseph@codesourcery.com>
25894
25895 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25896 [!ARM_MATH_PRIVATE_H].
25897 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
25898 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25899 [!HPPA_MATH_PRIVATE_H].
25900 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
25901 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
25902 to [!I386_MATH_PRIVATE_H].
25903 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
25904 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
25905 Change guard to [!M68K_MATH_PRIVATE_H].
25906 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
25907 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
25908 guard to [!MICROBLAZE_MATH_PRIVATE_H].
25909 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
25910 macro.
25911 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25912 [!MIPS_MATH_PRIVATE_H].
25913 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
25914 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25915 [!NIO2_MATH_PRIVATE_H].
25916 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
25917 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25918 [!TILE_MATH_PRIVATE_H].
25919 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
25920
25921 [BZ #15421]
25922 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
25923 initialize with 0 and define as weak alias of __signgam.
25924 * include/math.h [!_ISOMAC] (__signgam): Declare.
25925 * math/Makefile (libm-calls): Add w_lgamma_compat.
25926 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
25927 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
25928 test-signgam-ullong-init.
25929 (tests-static): Add test-signgam-uchar-static,
25930 test-signgam-uchar-init-static, test-signgam-uint-static,
25931 test-signgam-uint-init-static, test-signgam-ullong-static and
25932 test-signgam-ullong-init-static.
25933 (CFLAGS-test-signgam-uchar.c): New variable.
25934 (CFLAGS-test-signgam-uchar-init.c): Likewise.
25935 (CFLAGS-test-signgam-uchar-static.c): Likewise.
25936 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
25937 (CFLAGS-test-signgam-uint.c): Likewise.
25938 (CFLAGS-test-signgam-uint-init.c): Likewise.
25939 (CFLAGS-test-signgam-uint-static.c): Likewise.
25940 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
25941 (CFLAGS-test-signgam-ullong.c): Likewise.
25942 (CFLAGS-test-signgam-ullong-init.c): Likewise.
25943 (CFLAGS-test-signgam-ullong-static.c): Likewise.
25944 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
25945 * math/Versions (libm): Add GLIBC_2.23.
25946 * math/lgamma-compat.h: New file.
25947 * math/test-signgam-main.c: Likewise.
25948 * math/test-signgam-uchar-init-static.c: Likewise.
25949 * math/test-signgam-uchar-init.c: Likewise.
25950 * math/test-signgam-uchar-static.c: Likewise.
25951 * math/test-signgam-uchar.c: Likewise.
25952 * math/test-signgam-uint-init-static.c: Likewise.
25953 * math/test-signgam-uint-init.c: Likewise.
25954 * math/test-signgam-uint-static.c: Likewise.
25955 * math/test-signgam-uint.c: Likewise.
25956 * math/test-signgam-ullong-init-static.c: Likewise.
25957 * math/test-signgam-ullong-init.c: Likewise.
25958 * math/test-signgam-ullong-static.c: Likewise.
25959 * math/test-signgam-ullong.c: Likewise.
25960 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
25961 wrapper of w_lgamma_main.c.
25962 * math/w_lgamma_compat.c: New file.
25963 * math/w_lgamma_compatf.c: Likewise.
25964 * math/w_lgamma_compatl.c: Likewise.
25965 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
25966 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
25967 defining compatibility symbols.
25968 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
25969 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
25970 wrapper of w_lgammaf_main.c.
25971 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
25972 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
25973 defining compatibility symbols.
25974 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
25975 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
25976 wrapper of w_lgammal_main.c.
25977 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
25978 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
25979 defining compatibility symbols.
25980 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
25981 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
25982 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
25983 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
25984 <lgamma-compat.h>.
25985 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
25986 (__ieee754_gamma): Define as alias.
25987 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
25988 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
25989 <lgamma-compat.h>.
25990 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
25991 (__ieee754_gammaf): Define as alias.
25992 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
25993 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
25994 <lgamma-compat.h>.
25995 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
25996 (__ieee754_gammal): Define as alias.
25997 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
25998 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
25999 <math/w_lgamma_compat.c>.
26000 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
26001 Define as alias of __lgamma_compat and use in defining lgammal.
26002 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
26003 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
26004 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
26005 (USE_AS_COMPAT): New macro.
26006 (LGAMMA_OLD_VER): Undefine and redefine.
26007 (lgammal): Do not define here.
26008 (gammal): Only define here if [GAMMA_ALIAS].
26009 * conform/linknamespace.pl (@whitelist): Remove signgam.
26010 * sysdeps/nacl/libm.abilist: Update.
26011 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26012 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26013 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26014 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26015 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26016 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26017 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26018 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26019 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26020 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26021 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26022 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26024 Likewise.
26025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26026 Likewise.
26027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26028 Likewise.
26029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26030 Likewise.
26031 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26032 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26033 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26034 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26035 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26036 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26037 Likewise.
26038 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26039 Likewise.
26040 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26041 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26042 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26043
26044 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26045
26046 [BZ #16364]
26047 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
26048 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
26049
26050 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
26051
26052 * sysdeps/s390/fpu/bits/mathinline.h:
26053 Use __asm__ [__volatile__] instead of asm [volatile].
26054 * sysdeps/s390/abort-instr.h: Likewise.
26055 * sysdeps/s390/atomic-machine.h: Likewise.
26056 * sysdeps/s390/bits/string.h: Likewise.
26057 * sysdeps/s390/dl-tls.h: Likewise.
26058 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26059 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26060 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26061 * sysdeps/s390/fpu/fesetround.c: Likewise.
26062 * sysdeps/s390/fpu/fpu_control.h: Likewise.
26063 * sysdeps/s390/fpu/s_fma.c: Likewise.
26064 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
26065 * sysdeps/s390/memusage.h: Likewise.
26066 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
26067 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
26068 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
26069 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
26070 * sysdeps/s390/nptl/tls.h: Likewise.
26071 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
26072 * sysdeps/s390/s390-32/backtrace.c: Likewise.
26073 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26074 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
26075 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26076 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26077 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
26078 * sysdeps/s390/s390-64/backtrace.c: Likewise.
26079 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26080 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
26081 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
26082 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26083 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26084 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
26085 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26086 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26087 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
26088 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
26089 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
26090 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26091 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
26092 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26093 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
26094
26095 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26096 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26097
26098 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
26099 Add lwarx hint, and use macro for acquire instruction.
26100 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26101 Likewise.
26102 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
26103 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
26104 update to use new atomic macros.
26105
26106 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26107
26108 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
26109 (__lll_trylock_elision): Fix setting of adapt_count.
26110 * sysdeps/unix/sysv/linux/powerpc/htm.h
26111 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
26112 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
26113 (_ABORT_SYSCALL): Renumber, and clarify definition.
26114 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
26115
26116 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26117
26118 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
26119 after system headers to prevent MIN/MAX redefinition. Define
26120 HAVE_ALLOCA to preserve builtin alloca usage.
26121
26122 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
26123
26124 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
26125 static and don't set or restore rounding.
26126 (__cos)[IN_SINCOS]: Likewise.
26127 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
26128 (__sincos): Set and restore rounding mode. Remove check for infinite
26129 or NaN input.
26130
26131 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
26132
26133 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
26134 as used.
26135
26136 2015-11-16 Florian Weimer <fweimer@redhat.com>
26137
26138 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
26139
26140 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
26141
26142 * config.make.in (have-glob-dat-reloc): New.
26143 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
26144 target supports GLOB_DAT relocaton. AC_SUBST.
26145 * configure: Regenerated.
26146 * elf/Makefile (tests): Add tst-prelink.
26147 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26148 (tst-prelink-ENV): New.
26149 ($(objpfx)tst-prelink-conflict.out): Likewise.
26150 ($(objpfx)tst-prelink-cmp.out): Likewise.
26151 * sysdeps/x86/tst-prelink.c: Moved to ...
26152 * elf/tst-prelink.c: Here.
26153 * sysdeps/x86/tst-prelink.exp: Moved to ...
26154 * elf/tst-prelink.exp: Here.
26155 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
26156 (tst-prelink-ENV): Removed.
26157 ($(objpfx)tst-prelink-conflict.out): Likewise.
26158 ($(objpfx)tst-prelink-cmp.out): Likewise.
26159 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
26160
26161 2015-11-13 Joseph Myers <joseph@codesourcery.com>
26162
26163 [BZ #14551]
26164 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
26165 (__mpn_construct_long_double): If high part overflows to infinity,
26166 set errno and recompute overflowed result of the correct sign.
26167 * sysdeps/ieee754/ldbl-128ibm/Makefile
26168 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
26169 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
26170 $(libm).
26171 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
26172
26173 2015-11-12 Joseph Myers <joseph@codesourcery.com>
26174
26175 [BZ #15479]
26176 [BZ #19238]
26177 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
26178 floating-point state after first operation on input. Restore full
26179 state rather than just rounding mode.
26180 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
26181 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
26182 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
26183
26184 [BZ #19235]
26185 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
26186 add 0.5 to integer arguments.
26187 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
26188 Likewise.
26189 (.LC2): New object.
26190
26191 2015-11-11 Mike Frysinger <vapier@gentoo.org>
26192
26193 * scripts/pylintrc (reports): Set to no.
26194
26195 2015-11-10 Roland McGrath <roland@hack.frob.com>
26196
26197 * elf/dl-load.c (open_verify): Take new argument FD.
26198 Skip __open call if passed FD is not -1.
26199 (_dl_map_object, open_path): Update callers.
26200 * elf/dl-sysdep-open.h: New file.
26201 * elf/dl-load.c: Include it.
26202 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
26203 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
26204 * sysdeps/nacl/dl-sysdep-open.h: New file.
26205 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
26206 from libc to rtld.
26207
26208 2015-11-10 Joseph Myers <joseph@codesourcery.com>
26209
26210 [BZ #19228]
26211 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
26212 and restore full floating-point state.
26213 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
26214 Likewise.
26215 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
26216 Likewise.
26217 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
26218 Likewise.
26219 * math/test-nearbyint-except-2.c: New file.
26220 * math/Makefile (tests): Add test-nearbyint-except-2.
26221
26222 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
26223
26224 [BZ #19178]
26225 * sysdeps/x86/Makefile (tests): Add tst-prelink.
26226 (tst-prelink-ENV): New.
26227 ($(objpfx)tst-prelink-conflict.out): Likewise.
26228 ($(objpfx)tst-prelink-cmp.out): Likewise.
26229 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26230 * sysdeps/x86/tst-prelink.c: New file.
26231 * sysdeps/x86/tst-prelink.exp: Likewise.
26232
26233 2015-11-10 Joseph Myers <joseph@codesourcery.com>
26234
26235 * math/auto-libm-test-in: Add another test of pow.
26236 * math/auto-libm-test-out: Regenerated.
26237 * math/libm-test.inc (pow_test_data): Add another test.
26238
26239 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26240
26241 [BZ #19219]
26242 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
26243 weak_alias to nearbyintl.
26244
26245 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
26246
26247 * sysdeps/aarch64/bits/string.h: New file.
26248 (_STRING_ARCH_unaligned): Define.
26249
26250 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
26251
26252 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
26253 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26254 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26255 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
26256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
26257
26258 2015-11-09 Ulrich Drepper <drepper@gmail.com>
26259
26260 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
26261 for original name of the DSO. Add it to the name list of the DSO
26262 if it is actually given.
26263 (_dl_map_object): Keep track of whether an audit module rewrote
26264 the file name. If yes, pass the original name to
26265 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
26266 debugging is enabled, log the change of the file name.
26267 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
26268 _dl_map_object_from_fd.
26269 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
26270 * elf/tst-audit11.c: New file
26271 * elf/tst-auditmod11.c: New file.
26272 * elf/tst-audit11mod1.c: New file.
26273 * elf/tst-audit11mod2.c: New file.
26274 * elf/tst-audit11mod2.map: New file.
26275 * elf/tst-audit12.c: New file
26276 * elf/tst-auditmod12.c: New file.
26277 * elf/tst-audit12mod1.c: New file.
26278 * elf/tst-audit12mod2.c: New file.
26279 * elf/tst-audit12mod2.map: New file.
26280 * elf/tst-audit12mod3.c: New file.
26281
26282 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
26283
26284 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
26285 Don't create weak aliases,
26286 because versioned symbols are created later.
26287 * sysdeps/s390/s390-32/setjmp.S
26288 (setjmp, _setjmp): Remove weak and rename to an unique name
26289 in SHARED case due to existing versioned symbols.
26290 * sysdeps/s390/s390-64/setjmp.S: Likewise.
26291 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
26292 (getcontext): Create weak alias only in non SHARED case.
26293 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26294
26295 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
26296
26297 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
26298 (__ASSUME_*_SYSCALL) Define new macros.
26299 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
26300 Remove socketcall syscalls.
26301 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
26302 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
26303 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
26304 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
26305 * sysdeps/unix/sysv/linux/send.c (__libc_send):
26306 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
26307
26308 2015-11-09 Florian Weimer <fweimer@redhat.com>
26309
26310 [BZ #12926]
26311 Terminate process on invalid netlink response.
26312 * sysdeps/unix/sysv/linux/netlinkaccess.h
26313 (__netlink_assert_response): Declare.
26314 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
26315 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
26316 (sysdep_routines): Add netlink_assert_response.
26317 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
26318 __netlink_assert_response.
26319 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
26320 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
26321 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
26322 __netlink_assert_response.
26323
26324 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
26325
26326 [BZ #19178]
26327 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
26328 (RTYPE_CLASS_PLT): Likewise.
26329 (RTYPE_CLASS_COPY): Likewise.
26330 (RTYPE_CLASS_TLS): Likewise.
26331 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
26332 to set relocation type class for DL_DEBUG_PRELINK. Keep only
26333 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
26334 DL_DEBUG_PRELINK.
26335
26336 2015-11-06 Joseph Myers <joseph@codesourcery.com>
26337
26338 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
26339 calls with argument -0.5.
26340 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
26341
26342 * configure.ac (libc_cv_z_nodelete): Remove configure test.
26343 (libc_cv_z_nodlopen): Likewise.
26344 (libc_cv_z_initfirst): Likewise.
26345 * configure: Regenerated.
26346
26347 2015-11-06 Florian Weimer <fweimer@redhat.com>
26348
26349 Simplify abilist format to be line-based.
26350 * scripts/abilist.awk: Collect descriptors in the descs variable.
26351 (emit): Write descs variable and sort it
26352 externally, with sort.
26353 * sysdeps/**/*.abilist: Convert to new format.
26354
26355 2015-11-06 Mark Wielaard <mjw@redhat.com>
26356
26357 [BZ #11460]
26358 * io/Makefile (routines): Add fts64.
26359 (tests): Add tst-fts and tst-fts-lfs.
26360 (CFLAGS-fts64.c): New.
26361 * io/Versions (GLIBC_2.23): New.
26362 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
26363 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
26364 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
26365 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
26366 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
26367 (FTSENT64): Likewise.
26368 (fts64_children): Likewise.
26369 (fts64_close): Likewise.
26370 (fts64_open): Likewise.
26371 (fts64_read): Likewise.
26372 (fts64_set): Likewise.
26373 * io/fts64.c: New file.
26374 * io/tst-fts.c: New test.
26375 * io/tst-fts-lfs.c: Likewise.
26376 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
26377 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
26378 fts64_set.
26379 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26380 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26381 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26382 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26383 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26384 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26385 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26386 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26387 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26388 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26389 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26390 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26391 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26393 Likewise.
26394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26395 Likewise.
26396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
26398 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26399 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26400 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26401 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26402 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26403 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26405 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26406 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26407 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26408 * sysdeps/wordsize-64/fts.c: New file.
26409 * sysdeps/wordsize-64/fts64.c: Likewise.
26410 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
26411 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
26412 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
26413 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
26414
26415 2015-11-05 Joseph Myers <joseph@codesourcery.com>
26416
26417 * math/libm-test.inc (NON_FINITE): New macro.
26418 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
26419 * math/gen-libm-test.pl (show_exceptions): Add argument
26420 $non_finite.
26421 (parse_args): Update call to show_exceptions.
26422 * math/test-math-finite.h: New file.
26423 * math/test-math-no-finite.h: Likewise.
26424 * math/test-double-finite.c: Likewise.
26425 * math/test-float-finite.c: Likewise.
26426 * math/test-ldouble-finite.c: Likewise.
26427 * math/test-double.c: Include "test-math-no-finite.h".
26428 * math/test-float.c: Include "test-math-no-finite.h".
26429 * math/test-ldouble.c: Include "test-math-no-finite.h".
26430 * math/test-math-inline.h (TEST_FINITE): New macro.
26431 * math/test-math-vector.h (TEST_FINITE): Likewise.
26432 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
26433 (libm-tests): Add test-float-finite and test-double-finite.
26434 ($(objpfx)test-float-finite.o): New dependency on
26435 $(objpfx)libm-test.stmp.
26436 ($(objpfx)test-double-finite.o): Likewise.
26437 ($(objpfx)test-ldouble-finite.o): Likewise.
26438 (libm-test-no-inline-cflags): New variable.
26439 (libm-test-finite-cflags): Likewise.
26440 (CFLAGS-test-float-finite.c): Likewise.
26441 (CFLAGS-test-double-finite.c): Likewise.
26442 (CFLAGS-test-ldouble-finite.c): Likewise.
26443 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
26444 (CFLAGS-test-double.c): Likewise.
26445 (CFLAGS-test-ldouble.c): Likewise.
26446
26447 2015-11-05 Roland McGrath <roland@hack.frob.com>
26448
26449 * io/fcntl.c (__fcntl): Add ... to prototype.
26450 * misc/ioctl.c (__ioctl): Likewise.
26451 * misc/syscall.c (syscall): Likewise.
26452
26453 2015-11-05 Joseph Myers <joseph@codesourcery.com>
26454
26455 * scripts/list-fixed-bugs.py: New file.
26456
26457 [BZ #19213]
26458 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
26459 returned for argument 1.
26460 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
26461 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
26462 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
26463 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
26464 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
26465 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
26466
26467 [BZ #19211]
26468 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
26469 __USE_XOPEN], not if [!__USE_ISOC99].
26470 (lgammaf): Likewise.
26471 (lgammal): Likewise.
26472 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
26473 (gammaf): Likewise.
26474 (gammal): Likewise.
26475 * math/test-signgam-finite-c11.c: New file.
26476 * math/test-signgam-finite-c99.c: Likewise.
26477 * math/test-signgam-finite.c: Likewise.
26478 * math/Makefile (tests): Add test-signgam-finite,
26479 test-signgam-finite-c99 and test-signgam-finite-c11.
26480 (CFLAGS-test-signgam-finite.c): New variable.
26481 (CFLAGS-test-signgam-finite-c99.c): Likewise.
26482 (CFLAGS-test-signgam-finite-c11.c): Likewise.
26483
26484 [BZ #19212]
26485 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
26486 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
26487 500].
26488 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
26489 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
26490 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
26491 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
26492 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
26493 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
26494 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
26495 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
26496 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
26497 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
26498
26499 [BZ #19209]
26500 * math/bits/math-finite.h (ldexp): Remove declaration.
26501 (ldexpf): Likewise.
26502 (ldexpl): Likewise.
26503
26504 [BZ #19205]
26505 * math/bits/math-finite.h (acosf): Condition declaration on
26506 [__USE_ISOC99].
26507 (acosl): Likewise.
26508 (acoshf): Likewise.
26509 (acoshl): Likewise.
26510 (asinf): Likewise.
26511 (asinl): Likewise.
26512 (atan2f): Likewise.
26513 (atan2l): Likewise.
26514 (atanhf): Likewise.
26515 (atanhl): Likewise.
26516 (coshf): Likewise.
26517 (coshl): Likewise.
26518 (expf): Likewise.
26519 (expl): Likewise.
26520 (fmodf): Likewise.
26521 (fmodl): Likewise.
26522 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
26523 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
26524 (j0l): Likewise.
26525 (y0f): Likewise.
26526 (y0l): Likewise.
26527 (j1f): Likewise.
26528 (j1l): Likewise.
26529 (y1f): Likewise.
26530 (y1l): Likewise.
26531 (jnf): Likewise.
26532 (jnl): Likewise.
26533 (ynf): Likewise.
26534 (ynl): Likewise.
26535 (lgammaf_r): Condition declaration on [__USE_ISOC99].
26536 (lgammal_r): Likewise.
26537 (__lgamma_r_finite): New declaration.
26538 (__lgammaf_r_finite): Likewise.
26539 (__lgammal_r_finite): Likewise.
26540 (lgamma): Use __lgamma_r_finite.
26541 (lgammaf): Condition definition on [__USE_ISOC99]. Use
26542 __lgammaf_r_finite.
26543 (lgammal): Condition definition on [__USE_ISOC99]. Use
26544 __lgammal_r_finite.
26545 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
26546 __lgamma_r_finite.
26547 (gammaf): Condition definition on [__USE_ISOC99]. Use
26548 __lgammaf_r_finite.
26549 (gammal): Condition definition on [__USE_ISOC99]. Use
26550 __lgammal_r_finite.
26551 (logf): Condition declaration on [__USE_ISOC99].
26552 (logl): Likewise.
26553 (log10f): Likewise.
26554 (log10l): Likewise.
26555 (ldexpf): Likewise.
26556 (ldexpl): Likewise.
26557 (powf): Likewise.
26558 (powl): Likewise.
26559 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
26560 __USE_ISOC99].
26561 (remainderf): Condition declaration on [__USE_ISOC99].
26562 (remainderl): Likewise.
26563 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
26564 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
26565 (scalbl): Likewise.
26566 (sinhf): Condition declaration on [__USE_ISOC99].
26567 (sinhl): Likewise.
26568 (sqrtf): Likewise.
26569 (sqrtl): Likewise.
26570
26571 2015-11-04 Joseph Myers <joseph@codesourcery.com>
26572
26573 * sysdeps/arm/atomic-machine.h
26574 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26575 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26576 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
26577 Remove conditional code.
26578 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26579 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26580 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
26581 Change conditional to [__ASSEMBLER__].
26582 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
26583 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
26584 [!__ASSEMBLER__].
26585 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
26586 code.
26587 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
26588 conditional macro definitions.
26589 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
26590 (__arch_compare_and_exchange_val_16_acq): Likewise.
26591 (__arch_compare_and_exchange_val_32_acq): Likewise.
26592 (atomic_exchange_and_add): Likewise.
26593 (atomic_add): Likewise.
26594 (atomic_add_negative): Likewise.
26595 (atomic_add_zero): Likewise.
26596 (atomic_bit_set): Likewise.
26597 (atomic_bit_test_set): Likewise.
26598 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
26599 code unconditional.
26600 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26601
26602 * math/test-math-errno.h: New file.
26603 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
26604 empty.
26605 (TEST_ERRNO): New macro.
26606 (TEST_EXCEPTIONS): Likewise.
26607 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
26608 (TEST_EXCEPTIONS): Likewise.
26609 * math/test-math-vector.h (TEST_ERRNO): Likewise.
26610 * math/test-double.c: Include "test-math-errno.h".
26611 * math/test-float.c: Likewise.
26612 * math/test-ldouble.c: Likewise.
26613 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
26614 code unconditional.
26615 (test_exceptions): Only run code if TEST_EXCEPTIONS.
26616 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
26617 unconditional.
26618 (test_errno): Only run code if TEST_ERRNO.
26619 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
26620
26621 2015-11-04 Florian Weimer <fweimer@redhat.com>
26622
26623 * nptl/tst-once5.cc: Remove attribution.
26624
26625 2015-11-04 Joseph Myers <joseph@codesourcery.com>
26626
26627 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
26628 sqrt, tan, tanh, y0, y1 and yn.
26629 * math/auto-libm-test-out: Regenerated.
26630 * math/libm-test.inc (scalb_test_data): Add more tests.
26631 (scalbn_test_data): Likewise.
26632 (scalbln_test_data): Likewise.
26633 (signbit_test_data): Likewise.
26634 (sin_test_data): Likewise.
26635 (sincos_test_data): Likewise.
26636 (sinh_test_data): Likewise.
26637 (sqrt_test_data): Likewise.
26638 (tan_test_data): Likewise.
26639 (tanh_test_data): Likewise.
26640 (tgamma_test_data): Likewise.
26641 (y0_test_data): Likewise.
26642 (y1_test_data): Likewise.
26643 (yn_test_data): Likewise.
26644 (significand_test_data): Likewise.
26645 * sysdeps/i386/fpu/libm-test-ulps: Update.
26646
26647 2015-11-03 David Kastrup <dak@gnu.org>
26648
26649 [BZ #18604]
26650 * assert/assert.h (assert): Don't macro-expand failed assertion
26651 expression in error message.
26652 * malloc/malloc.c (assert): Likewise.
26653
26654 2015-11-03 Joseph Myers <joseph@codesourcery.com>
26655
26656 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
26657 test.
26658 * configure: Regenerated.
26659
26660 2015-11-02 Joseph Myers <joseph@codesourcery.com>
26661
26662 * math/libm-test.inc (modf_test_data): Add more tests.
26663 (nearbyint_test_data): Likewise.
26664 (nextafter_test_data): Likewise.
26665 (nexttoward_test_data): Likewise.
26666 (pow_test_data): Likewise.
26667 (remainder_test_data): Likewise.
26668 (remquo_test_data): Likewise.
26669 (rint_test_data): Likewise.
26670
26671 [BZ #19201]
26672 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26673 Check for zero remainder in case of large exponents and ensure
26674 correct sign of result in that case.
26675 * math/libm-test.inc (remainder_test_data): Add more tests.
26676
26677 [BZ #6799]
26678 * math/s_nextafter.c: Include <errno.h>.
26679 (__nextafter): Set errno on overflow and underflow.
26680 * math/s_nexttowardf.c: Include <errno.h>.
26681 (__nexttowardf): Set errno on overflow and underflow.
26682 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
26683 (__nextafterl): Set errno on overflow and underflow.
26684 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
26685 (__nexttoward): Set errno on overflow and underflow.
26686 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
26687 (__nexttowardf): Set errno on overflow and underflow.
26688 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
26689 (__nextafterf): Set errno on overflow and underflow.
26690 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
26691 (__nextafterl): Set errno on overflow and underflow.
26692 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
26693 (__nexttoward): Set errno on overflow and underflow.
26694 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
26695 (__nexttowardf): Set errno on overflow and underflow.
26696 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
26697 (__nextafterl): Set errno on overflow and underflow.
26698 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
26699 (__nexttoward): Set errno on overflow and underflow.
26700 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
26701 (__nexttowardf): Set errno on overflow and underflow.
26702 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
26703 (__nexttoward): Set errno on overflow and underflow.
26704 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
26705 (__nexttowardf): Set errno on overflow and underflow.
26706 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
26707 (__nldbl_nexttowardf): Set errno on overflow and underflow.
26708 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
26709 (__nextafterl): Set errno on overflow and underflow.
26710 * math/libm-test.inc (nextafter_test_data): Do not allow errno
26711 setting to be missing on overflow. Add more tests.
26712 (nexttoward_test_data): Likewise.
26713
26714 * configure.ac (libc_cv_initfini_array): Remove configure test.
26715 * configure: Regenerated.
26716
26717 2015-10-29 Joseph Myers <joseph@codesourcery.com>
26718
26719 [BZ #19189]
26720 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
26721 non-finite argument handle arguments with negative sign.
26722
26723 * math/libm-test.inc (j0_test_data): Do not test sign of zero
26724 result from infinite argument.
26725 (j1_test_data): Likewise.
26726 (jn_test_data): Likewise.
26727 (y0_test_data): Likewise.
26728 (y1_test_data): Likewise.
26729 (yn_test_data): Likewise.
26730
26731 [BZ #16171]
26732 * math/w_remainder.c (drem): Define as weak alias of __remainder.
26733 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
26734 * math/w_remainderf.c (dremf): Define as weak alias of
26735 __remainderf.
26736 * math/w_remainderl.c (dreml): Define as weak alias of
26737 __remainderl.
26738 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
26739 __remainder.
26740 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
26741 __remainderf.
26742 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
26743 __remainderl.
26744 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
26745 weak alias of remainderl.
26746 * sysdeps/ieee754/ldbl-opt/w_remainder.c
26747 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
26748 alias of __remainder.
26749 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
26750 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
26751 strong alias of __remainderl.
26752 (dreml): Use long_double_symbol.
26753 * math/Makefile (libm-calls): Remove w_drem.
26754 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
26755 (CFLAGS-nldbl-drem.c): Remove variable.
26756 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
26757 * math/w_drem.c: Remove file.
26758 * math/w_dremf.c: Likewise.
26759 * math/w_dreml.c: Likewise.
26760 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
26761 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
26762 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
26763
26764 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
26765 * sysdeps/i386/configure: Regenerated.
26766 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
26767 * sysdeps/x86_64/configure: Regenerated.
26768
26769 * configure.ac (libc_cv_asm_protected_directive): Remove configure
26770 test.
26771 (libc_cv_visibility_attribute): Likewise.
26772 (libc_cv_protected_data): Test unconditionally.
26773 (libc_cv_broken_visibility_attribute): Remove configure test.
26774 (libc_cv_have_sdata_section): Test unconditionally.
26775 * configure: Regenerated.
26776
26777 * include/libc-internal.h (libc_max_align_t): Remove typedef.
26778 * include/scratch_buffer.h: Include <stddef.h> instead of
26779 <libc-internal.h>.
26780 (struct scratch_buffer): Use max_align_t instead of
26781 libc_max_align_t.
26782
26783 2015-10-29 Florian Weimer <fweimer@redhat.com>
26784
26785 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
26786 instead of extend_alloca. Change control flow to avoid a goto.
26787 Remove assert which is trivially always true.
26788
26789 2015-10-28 Joseph Myers <joseph@codesourcery.com>
26790
26791 [BZ #16068]
26792 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
26793 (FE_ALL_EXCEPT_X86): New macro.
26794 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
26795 FE_ALL_EXCEPT. Ensure precision control is included in
26796 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
26797 handle "denormal operand exception" and clear FZ and DAZ bits.
26798 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
26799 (FE_ALL_EXCEPT_X86): New macro.
26800 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
26801 FE_ALL_EXCEPT. Ensure precision control is included in
26802 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
26803 handle "denormal operand exception" and clear FZ and DAZ bits.
26804 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
26805 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
26806 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
26807 test-fenv-x87 and test-fenv-sse-2.
26808 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
26809
26810 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
26811 * math/test-double.h (BUILD_COMPLEX): New macro.
26812 * math/test-float.h (BUILD_COMPLEX): Likewise.
26813 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
26814
26815 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
26816 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
26817 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
26818 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
26819 instead of DBL_DENORM_MIN in comment.
26820 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
26821 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
26822 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
26823 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
26824 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
26825 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
26826
26827 2015-10-28 Florian Weimer <fweimer@redhat.com>
26828
26829 [BZ #19048]
26830 * malloc/malloc.c (struct malloc_state): Update comment. Add
26831 attached_threads member.
26832 (main_arena): Initialize attached_threads.
26833 * malloc/arena.c (list_lock): Update comment.
26834 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
26835 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
26836 (deattach_arena): New function.
26837 (_int_new_arena): Initialize arena reference count and deattach
26838 replaced arena.
26839 (get_free_list, reused_arena): Update reference count and deattach
26840 replaced arena.
26841 (arena_thread_freeres): Update arena reference count and only put
26842 unreferenced arenas on the free list.
26843
26844 2015-10-28 Joseph Myers <joseph@codesourcery.com>
26845
26846 [BZ #19181]
26847 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
26848 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
26849 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
26850 * math/test-fenv-clear-main.c: New file.
26851 * math/test-fenv-clear.c: Likewise.
26852 * math/Makefile (tests): Add test-fenv-clear.
26853 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
26854 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
26855 test-fenv-clear-sse.
26856 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
26857
26858 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
26859 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
26860 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
26861
26862 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
26863
26864 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
26865 static libc.
26866
26867 2015-10-28 Joseph Myers <joseph@codesourcery.com>
26868
26869 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
26870 test.
26871 * sysdeps/i386/configure: Regenerated.
26872 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
26873 test.
26874 * sysdeps/x86_64/configure: Regenerated.
26875 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
26876 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26877 memset-avx2 unconditionally instead of conditionally on
26878 [$(config-cflags-avx2) = yes].
26879 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
26880 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
26881 unconditional.
26882 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
26883 * sysdeps/x86_64/multiarch/memset_chk.S
26884 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
26885 to [IS_IN (libc) && SHARED].
26886
26887 2015-10-27 Joseph Myers <joseph@codesourcery.com>
26888
26889 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
26890 configure test.
26891 * sysdeps/arm/configure: Regenerated.
26892 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
26893 Define variable if not already defined.
26894
26895 [BZ #17404]
26896 * sysdeps/mips/atomic-machine.h
26897 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
26898 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
26899 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
26900
26901 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
26902 unconditional.
26903 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
26904 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26905 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
26906 unconditional.
26907 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26908 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
26909 unconditional.
26910 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26911 * stdlib/setenv.c
26912 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
26913 code unconditional.
26914 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
26915 Remove conditional code.
26916 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
26917 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
26918 unconditional.
26919 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
26920 code.
26921 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
26922 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
26923 unconditional.
26924 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
26925 code.
26926 * sysdeps/ieee754/ldbl-128/k_tanl.c
26927 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
26928 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26929 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
26930 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
26931 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26932 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
26933 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
26934 unconditional.
26935 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
26936 code.
26937 * sysdeps/ieee754/ldbl-96/k_tanl.c
26938 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
26939 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26940
26941 * nptl/tst-initializers1-c11.c: New file.
26942 * nptl/tst-initializers1-gnu11.c: Likewise.
26943 * nptl/Makefile (tests): Add these new tests.
26944 (CFLAGS-tst-initializers1-c11.c): New variable.
26945 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
26946
26947 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
26948 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
26949 instead of -std=gnu99.
26950 * configure.ac (systemtap): Test with -std=gnu11 instead of
26951 -std=gnu99.
26952 * configure: Regenerated.
26953 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
26954 in compilation command in comment.
26955
26956 * sysdeps/nptl/configure.ac: Remove file.
26957 * sysdeps/nptl/configure: Remove generated file.
26958 * configure.ac (libc_cv_forced_unwind): Do not substitute.
26959 * configure: Regenerated.
26960 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
26961 * config.make.in (have-forced-unwind): Remove variable.
26962 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
26963 unconditional.
26964 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
26965 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
26966 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
26967 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
26968 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
26969 unconditional.
26970
26971 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26972
26973 [BZ #19174]
26974 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
26975 .skip_lock_out_of_tbegin_retries.
26976 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
26977 (__lll_lock_elision): Likewise, and respect a value of
26978 try_tbegin <= 0.
26979
26980 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
26981
26982 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
26983 statement.
26984
26985 2015-10-27 Joseph Myers <joseph@codesourcery.com>
26986
26987 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
26988 variable.
26989 (test-xfail-ISO11/stdalign.h/conform): Likewise.
26990 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
26991
26992 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
26993 of -std=c1x -D_ISOC11_SOURCE.
26994
26995 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
26996 * configure: Regenerated.
26997 * manual/install.texi (Tools for Compilation): Document
26998 requirement for GCC 4.7 or later.
26999 * INSTALL: Regenerated.
27000
27001 2015-10-27 Ludovic Courtès <ludo@gnu.org>
27002
27003 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
27004 on CNT to a conditional jump to 'puntdata'.
27005
27006 2015-10-27 Joseph Myers <joseph@codesourcery.com>
27007
27008 * configure.ac (libc_cv_gcc___thread): Remove configure test.
27009 (libc_cv_gcc_tls_model_attr): Likewise.
27010 * configure: Regenerated.
27011
27012 * configure.ac (libc_cv_need_minus_P): Remove configure test.
27013 * configure: Regenerated.
27014 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
27015
27016 2015-10-26 Joseph Myers <joseph@codesourcery.com>
27017
27018 * configure.ac (old_glibc_headers): Remove configure test.
27019 * configure: Regenerated.
27020 * config.make.in (old-glibc-headers): Remove variable.
27021 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
27022 (install): Remove dependency on remove-old-headers.
27023 (headers2_0): Remove variable.
27024 (remove-old-headers): Remove rule.
27025
27026 * configure.ac (libc_cv_dot_text): Remove configure test.
27027 (libc_cv_asm_set_directive): Use .text instead of
27028 ${libc_cv_dot_text} in configure test.
27029 * configure: Regenerated.
27030
27031 2015-10-26 Florian Weimer <fweimer@redhat.com>
27032
27033 [BZ #19168]
27034 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27035
27036 2015-10-26 Florian Weimer <fweimer@redhat.com>
27037
27038 * configure.ac (CXX): Clear the variable if the C++ toolchain does
27039 not support static linking.
27040 * configure: Regenerate.
27041
27042 2015-10-23 Joseph Myers <joseph@codesourcery.com>
27043
27044 * math/libm-test.inc (check_float_internal): Do not special-case
27045 errors up to 0.5 ulp.
27046
27047 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27048 log2.
27049 * math/auto-libm-test-out: Regenerated.
27050 * math/libm-test.inc (MAX_EXP): New macro.
27051 (ilogb_test_data): Add more tests.
27052 (isfinite_test_data): Likewise.
27053 (isgreater_test_data): Likewise.
27054 (isgreaterequal_test_data): Likewise.
27055 (isinf_test_data): Likewise.
27056 (isless_test_data): Likewise.
27057 (islessequal_test_data): Likewise.
27058 (islessgreater_test_data): Likewise.
27059 (isnan_test_data): Likewise.
27060 (isnormal_test_data): Likewise.
27061 (issignaling_test_data): Likewise.
27062 (isunordered_test_data): Likewise.
27063 (j0_test_data): Likewise.
27064 (j1_test_data): Likewise.
27065 (jn_test_data): Likewise.
27066 (lgamma_test_data): Likewise.
27067 (log_test_data): Likewise.
27068 (log10_test_data): Likewise.
27069 (log1p_test_data): Likewise.
27070 (log2_test_data): Likewise.
27071 (logb_test_data): Likewise.
27072 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27073
27074 [BZ #18611]
27075 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
27076 avoid excess range and precision on underflow.
27077 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27078 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
27079 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27080 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
27081 underflow.
27082 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27083 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27084 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27085 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27086 * math/auto-libm-test-in: Do not allow missing errno setting for
27087 tests of j1 and jn.
27088 * math/auto-libm-test-out: Regenerated.
27089
27090 2015-10-22 Joseph Myers <joseph@codesourcery.com>
27091
27092 [BZ #15491]
27093 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
27094 floating-point environment instead of clearing all exceptions.
27095 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
27096 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
27097 merging in "invalid" exceptions from frndint.
27098 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
27099 * math/test-nearbyint-except.c: New file.
27100 * math/Makefile (tests): Add test-nearbyint-except.
27101
27102 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
27103
27104 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
27105
27106 * sysdeps/tile/libm-test-ulps: Regenerated.
27107
27108 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27109
27110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
27111 (__NR_sync_file_range2): Assume it is always defined.
27112 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
27113 (__NR_sync_file_range): Assume it is always defined.
27114
27115 2015-10-22 Andreas Schwab <schwab@suse.de>
27116
27117 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
27118 INTERNAL_SYSCALL_ERRNO.
27119 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27120 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
27121 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27122 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
27123 Likewise.
27124 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27125
27126 2015-10-21 Joseph Myers <joseph@codesourcery.com>
27127
27128 * io/tst-fcntl.c (fd): New static variable.
27129 (do_prepare): Open temporary file here....
27130 (do_test): ...not here.
27131
27132 * io/ftwtest-sh: Also trap on exit to remove temporary files.
27133
27134 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
27135
27136 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
27137 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27138 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27139 Moved before "#ifdef __ASSEMBLER__".
27140
27141 2015-10-21 Joseph Myers <joseph@codesourcery.com>
27142
27143 [BZ #19156]
27144 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
27145 arguments very close to 0.
27146
27147 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
27148
27149 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
27150 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
27151
27152 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
27153
27154 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27155 New. Defined for GCC 5 and above when not compiling for
27156 profiling.
27157 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27158
27159 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
27160 Renamed to ...
27161 (CFLAGS-epoll_pwait.o): This.
27162 (CFLAGS-mmap.c): Renamed to ...
27163 (CFLAGS-mmap.o): This.
27164 (CFLAGS-mmap64.c): Renamed to ...
27165 (CFLAGS-mmap64.o): This.
27166 (CFLAGS-epoll_pwait.os): New.
27167 (CFLAGS-mmap.os): Likewise.
27168 (CFLAGS-mmap64.os): Likewise.
27169 (CFLAGS-semtimedop.os): Likewise.
27170 (CFLAGS-semtimedop.c): Renamed to ...
27171 (CFLAGS-semtimedop.o): This.
27172
27173 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27174
27175 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
27176 warning message.
27177
27178 2015-10-21 Joseph Myers <joseph@codesourcery.com>
27179
27180 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
27181 * Makefile ($(objpfx)c++-types-check.out): Filter out
27182 $(+gccwarn-c) instead of -Wstrict-prototypes.
27183
27184 * io/fts.c (fts_open): Convert to prototype-style function
27185 definition.
27186 * malloc/mcheck.c (mcheck): Likewise.
27187 (mcheck_pedantic): Likewise.
27188 * posix/regexec.c (re_search_2_stub): Likewise. Use
27189 internal_function.
27190 (re_search_internal): Likewise.
27191 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
27192 prototype-style function definition.
27193 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27194 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
27195 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
27196 (xdr_utmpptr): Likewise.
27197 (xdr_utmparr): Likewise.
27198 (xdr_utmpidle): Likewise.
27199 (xdr_utmpidleptr): Likewise.
27200 (xdr_utmpidlearr): Likewise.
27201
27202 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
27203 log, log10 and log2.
27204 * math/auto-libm-test-out: Regenerated.
27205 * math/libm-test.inc (fmod_test_data): Add more tests.
27206 (fpclassify_test_data): Likewise.
27207 (frexp_test_data): Likewise.
27208 (hypot_test_data): Likewise.
27209 (ilogb_test_data): Likewise.
27210
27211 2015-10-20 Joseph Myers <joseph@codesourcery.com>
27212
27213 * debug/fortify_fail.c (__fortify_fail): Convert to
27214 prototype-style function definition. Use internal_function.
27215 * libio/genops.c (save_for_backup): Convert to prototype-style
27216 function definition.
27217 * libio/wgenops.c (save_for_wbackup): Likewise.
27218 * login/grantpt.c (grantpt): Likewise.
27219 * login/ptsname.c (ptsname): Likewise.
27220 (__ptsname_r): Likewise.
27221 * login/unlockpt.c (unlockpt): Likewise.
27222 * mach/msgserver.c (__mach_msg_server): Likewise.
27223 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
27224 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
27225 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
27226 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
27227 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
27228 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
27229 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
27230 Likewise.
27231 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
27232 internal_function.
27233 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
27234 prototype-style function definition.
27235 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
27236 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
27237 (__pthread_create_2_0): Likewise.
27238 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
27239 * nptl/register-atfork.c (__register_atfork): Likewise.
27240 * posix/glob.c (glob): Likewise.
27241 * posix/regcomp.c (re_comp): Likewise.
27242 * posix/regexec.c (re_exec): Likewise.
27243 * stdlib/add_n.c [__STDC__]: Make code unconditional.
27244 [!__STDC__]: Remove conditional code.
27245 * stdlib/cmp.c [__STDC__]: Make code unconditional.
27246 [!__STDC__]: Remove conditional code.
27247 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
27248 [!__STDC__]: Remove conditional code.
27249 * stdlib/divrem.c [__STDC__]: Make code unconditional.
27250 [!__STDC__]: Remove conditional code.
27251 * stdlib/lshift.c [__STDC__]: Make code unconditional.
27252 [!__STDC__]: Remove conditional code.
27253 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
27254 [!__STDC__]: Remove conditional code.
27255 * stdlib/mul.c [__STDC__]: Make code unconditional.
27256 [!__STDC__]: Remove conditional code.
27257 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
27258 [!__STDC__]: Remove conditional code.
27259 * stdlib/rshift.c [__STDC__]: Make code unconditional.
27260 [!__STDC__]: Remove conditional code.
27261 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
27262 function definition.
27263 (STRTOF): Likewise.
27264 * stdlib/strtod_l.c (__STRTOF): Likewise.
27265 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
27266 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
27267 (__strtol_l): Likewise.
27268 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
27269 [!__STDC__]: Remove conditional code.
27270 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
27271 definition.
27272 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27273 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27274 type.
27275 (__strcasecmp): Convert to prototype-style function definition.
27276 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
27277 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27278 type.
27279 (__strncasecmp): Convert to prototype-style function definition.
27280 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
27281 * sunrpc/xdr.c (xdr_union): Likewise.
27282 * sunrpc/xdr_array.c (xdr_array): Likewise.
27283 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
27284 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
27285 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
27286 Likewise.
27287 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
27288 Likewise.
27289 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
27290 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27291 Likewise.
27292 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
27293 (LOCALE_PARAM_PROTO): Likewise.
27294 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
27295 argument type.
27296 (ut_argument_spec): Remove macro.
27297 (ut_argument_spec_iso): Rename to ut_argument_spec.
27298 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
27299 prototype-style function definition.
27300 (memcpy_uppcase): Likewise.
27301 (__strftime_internal): Likewise.
27302 (my_strftime): Likewise.
27303 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
27304 (LOCALE_PARAM_DECL): Likewise.
27305 [_LIBC] (LOCALE_PARAM): Include argument type.
27306 (__strptime_internal): Convert to prototype-style function
27307 definition.
27308 (strptime): Likewise.
27309 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27310 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27311 type.
27312 (__wcscasecmp): Convert to prototype-style function definition.
27313 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
27314 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27315 type.
27316 (__wcsncasecmp): Convert to prototype-style function definition.
27317
27318 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
27319 function definition.
27320 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27321 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27322 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
27323 * elf/dl-minimal.c (_itoa): Likewise.
27324 * hurd/hurdmalloc.c (malloc): Likewise.
27325 (free): Likewise.
27326 (realloc): Likewise.
27327 * inet/inet6_option.c (inet6_option_space): Likewise.
27328 (inet6_option_init): Likewise.
27329 (inet6_option_append): Likewise.
27330 (inet6_option_alloc): Likewise.
27331 (inet6_option_next): Likewise.
27332 (inet6_option_find): Likewise.
27333 * io/ftw.c (FTW_NAME): Likewise.
27334 (NFTW_NAME): Likewise.
27335 (NFTW_NEW_NAME): Likewise.
27336 (NFTW_OLD_NAME): Likewise.
27337 * libio/iofwide.c (_IO_fwide): Likewise.
27338 * libio/strops.c (_IO_str_init_static_internal): Likewise.
27339 (_IO_str_init_static): Likewise.
27340 (_IO_str_init_readonly): Likewise.
27341 (_IO_str_overflow): Likewise.
27342 (_IO_str_underflow): Likewise.
27343 (_IO_str_count): Likewise.
27344 (_IO_str_seekoff): Likewise.
27345 (_IO_str_pbackfail): Likewise.
27346 (_IO_str_finish): Likewise.
27347 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
27348 (_IO_wstr_overflow): Likewise.
27349 (_IO_wstr_underflow): Likewise.
27350 (_IO_wstr_count): Likewise.
27351 (_IO_wstr_seekoff): Likewise.
27352 (_IO_wstr_pbackfail): Likewise.
27353 (_IO_wstr_finish): Likewise.
27354 * locale/programs/localedef.c (normalize_codeset): Likewise.
27355 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27356 (add_locales_to_archive): Likewise.
27357 (delete_locales_from_archive): Likewise.
27358 * malloc/malloc.c (__libc_mallinfo): Likewise.
27359 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
27360 * misc/tsearch.c (__tfind): Likewise.
27361 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
27362 * nptl/pthread_attr_getdetachstate.c
27363 (__pthread_attr_getdetachstate): Likewise.
27364 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
27365 Likewise.
27366 * nptl/pthread_attr_getinheritsched.c
27367 (__pthread_attr_getinheritsched): Likewise.
27368 * nptl/pthread_attr_getschedparam.c
27369 (__pthread_attr_getschedparam): Likewise.
27370 * nptl/pthread_attr_getschedpolicy.c
27371 (__pthread_attr_getschedpolicy): Likewise.
27372 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
27373 Likewise.
27374 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
27375 Likewise.
27376 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
27377 Likewise.
27378 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
27379 Likewise.
27380 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
27381 (__pthread_attr_init_2_0): Likewise.
27382 * nptl/pthread_attr_setdetachstate.c
27383 (__pthread_attr_setdetachstate): Likewise.
27384 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
27385 Likewise.
27386 * nptl/pthread_attr_setinheritsched.c
27387 (__pthread_attr_setinheritsched): Likewise.
27388 * nptl/pthread_attr_setschedparam.c
27389 (__pthread_attr_setschedparam): Likewise.
27390 * nptl/pthread_attr_setschedpolicy.c
27391 (__pthread_attr_setschedpolicy): Likewise.
27392 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
27393 Likewise.
27394 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
27395 Likewise.
27396 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
27397 Likewise.
27398 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
27399 Likewise.
27400 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
27401 Likewise.
27402 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
27403 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
27404 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
27405 use internal_function.
27406 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
27407 prototype-style function definition.
27408 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
27409 (__pthread_mutex_cond_lock_adjust): Likewise. Use
27410 internal_function.
27411 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
27412 Convert to prototype-style function definition.
27413 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27414 Likewise.
27415 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
27416 Likewise.
27417 (__pthread_mutex_unlock): Likewise.
27418 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
27419 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
27420 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
27421 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
27422 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
27423 * nss/makedb.c (process_input): Likewise.
27424 * posix/fnmatch.c (__strchrnul): Likewise.
27425 (__wcschrnul): Likewise.
27426 (fnmatch): Likewise.
27427 * posix/fnmatch_loop.c (FCT): Likewise.
27428 * posix/glob.c (globfree): Likewise.
27429 (__glob_pattern_type): Likewise.
27430 (__glob_pattern_p): Likewise.
27431 * posix/regcomp.c (re_compile_pattern): Likewise.
27432 (re_set_syntax): Likewise.
27433 (re_compile_fastmap): Likewise.
27434 (regcomp): Likewise.
27435 (regerror): Likewise.
27436 (regfree): Likewise.
27437 * posix/regexec.c (regexec): Likewise.
27438 (re_match): Likewise.
27439 (re_search): Likewise.
27440 (re_match_2): Likewise.
27441 (re_search_2): Likewise.
27442 (re_search_stub): Likewise. Use internal_function
27443 (re_copy_regs): Likewise.
27444 (re_set_registers): Convert to prototype-style function
27445 definition.
27446 (prune_impossible_nodes): Likewise. Use internal_function.
27447 * resolv/inet_net_pton.c (inet_net_pton): Convert to
27448 prototype-style function definition.
27449 (inet_net_pton_ipv4): Likewise.
27450 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27451 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
27452 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
27453 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
27454 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27455 Make variadic.
27456 * time/strptime_l.c (localtime_r): Convert to prototype-style
27457 function definition.
27458 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27459 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27460 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27461 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27462
27463 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
27464 definition.
27465 (_ufc_doit_r): Likewise.
27466 * crypt/crypt_util.c (_ufc_copymem): Likewise.
27467 (_ufc_output_conversion_r): Likewise.
27468 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
27469 * inet/rcmd.c (rcmd_af): Likewise.
27470 (rcmd): Likewise.
27471 (ruserok_af): Likewise.
27472 (ruserok): Likewise.
27473 (ruserok2_sa): Likewise.
27474 (ruserok_sa): Likewise.
27475 (iruserok_af): Likewise.
27476 (iruserok): Likewise.
27477 (__ivaliduser): Likewise.
27478 (__validuser2_sa): Likewise.
27479 * inet/rexec.c (rexec_af): Likewise.
27480 (rexec): Likewise.
27481 * inet/ruserpass.c (ruserpass): Likewise.
27482 * locale/programs/xmalloc.c (xcalloc): Likewise.
27483 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
27484 * math/w_drem.c (__drem): Likewise.
27485 * math/w_dremf.c (__dremf): Likewise.
27486 * math/w_dreml.c (__dreml): Likewise.
27487 * misc/daemon.c (daemon): Likewise.
27488 * resolv/res_debug.c (p_fqnname): Likewise.
27489 * stdlib/div.c (div): Likewise.
27490 * string/memcmp.c (memcmp_bytes): Likewise.
27491 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
27492 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
27493
27494 * crypt/cert.c (main): Convert to prototype-style function
27495 definition.
27496 * io/pipe.c (__pipe): Likewise.
27497 * io/pipe2.c (__pipe2): Likewise.
27498 * misc/futimesat.c (futimesat): Likewise.
27499 * misc/utimes.c (__utimes): Likewise.
27500 * posix/execve.c (__execve): Likewise.
27501 * posix/execvp.c (execvp): Likewise.
27502 * posix/execvpe.c (__execvpe): Likewise.
27503 * posix/fexecve.c (fexecve): Likewise.
27504 * socket/socketpair.c (socketpair): Likewise.
27505 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27506 * stdlib/erand48.c (erand48): Likewise.
27507 * stdlib/erand48_r.c (__erand48_r): Likewise.
27508 * stdlib/jrand48.c (jrand48): Likewise.
27509 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
27510 * stdlib/lcong48.c (lcong48): Likewise.
27511 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
27512 * stdlib/nrand48.c (nrand48): Likewise.
27513 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
27514 * stdlib/seed48.c (seed48): Likewise.
27515 * stdlib/seed48_r.c (__seed48_r): Likewise.
27516 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
27517 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
27518 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
27519
27520 2015-10-19 Joseph Myers <joseph@codesourcery.com>
27521
27522 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
27523 * configure: Regenerated.
27524 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
27525 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
27526 unconditional.
27527 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27528 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27529 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27530 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
27531 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
27532 unconditional.
27533 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27534
27535 * posix/Makefile (CFLAGS-regex.c): Remove variable.
27536 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
27537
27538 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
27539 function definition.
27540 * crypt/crypt_util.c (__encrypt_r): Likewise.
27541 * libio/genops.c (_IO_no_init): Likewise.
27542 * libio/iofopncook.c (_IO_fopencookie): Likewise.
27543 (_IO_old_fopencookie): Likewise.
27544 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27545 * libio/iogetline.c (_IO_getline): Likewise.
27546 (_IO_getline_info): Likewise.
27547 * libio/iogetwline.c (_IO_getwline): Likewise.
27548 (_IO_getwline_info): Likewise.
27549 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
27550 * libio/vswprintf.c (_IO_vswprintf): Likewise.
27551 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
27552 (find_entry): Likewise.
27553 (iterate_table): Likewise.
27554 (lookup): Likewise.
27555 * login/forkpty.c (forkpty): Likewise.
27556 * misc/hsearch_r.c (__hsearch_r): Likewise.
27557 * misc/select.c (__select): Likewise.
27558 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
27559 Likewise.
27560 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
27561 Likewise.
27562 * nptl/old_pthread_cond_timedwait.c
27563 (__pthread_cond_timedwait_2_0): Likewise.
27564 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
27565 * nptl/pthread_barrierattr_getpshared.c
27566 (pthread_barrierattr_getpshared): Likewise.
27567 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
27568 Likewise.
27569 * nptl/pthread_mutex_setprioceiling.c
27570 (pthread_mutex_setprioceiling): Likewise.
27571 * nptl/pthread_mutexattr_getprioceiling.c
27572 (pthread_mutexattr_getprioceiling): Likewise.
27573 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
27574 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27575 Likewise.
27576 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27577 Likewise.
27578 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
27579 Likewise.
27580 * socket/recvfrom.c (__recvfrom): Likewise.
27581 * socket/sendto.c (__sendto): Likewise.
27582 * socket/setsockopt.c (__setsockopt): Likewise.
27583 * stdio-common/_itoa.c (_itoa): Likewise.
27584 * stdio-common/_itowa.c (_itowa): Likewise.
27585 * stdio-common/reg-printf.c (__register_printf_specifier):
27586 Likewise.
27587 (__register_printf_function): Likewise.
27588 * stdio-common/tempname.c (__path_search): Likewise.
27589 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
27590 * stdlib/mul_1.c (mpn_mul_1): Likewise.
27591 * stdlib/random_r.c (__initstate_r): Likewise.
27592 * stdlib/setenv.c (__add_to_environ): Likewise.
27593 * stdlib/submul_1.c (mpn_submul_1): Likewise.
27594 * streams/getpmsg.c (getpmsg): Likewise.
27595 * streams/putmsg.c (putmsg): Likewise.
27596 * streams/putpmsg.c (putpmsg): Likewise.
27597 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
27598 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
27599 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
27600 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
27601 * sunrpc/pm_getport.c (pmap_getport): Likewise.
27602 * sunrpc/svc_udp.c (cache_get): Likewise.
27603 * sunrpc/xdr_array.c (xdr_vector): Likewise.
27604 * sysdeps/mach/hurd/getcwd.c
27605 (__canonicalize_directory_name_internal): Likewise.
27606 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
27607 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
27608 * sysdeps/mach/hurd/select.c (__select): Likewise.
27609 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
27610 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
27611 * sysdeps/sparc/nptl/pthread_barrier_init.c
27612 (__pthread_barrier_init): Likewise.
27613 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
27614 (__pthread_cond_timedwait): Likewise.
27615 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
27616 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
27617 Likewise.
27618 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
27619 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
27620 Likewise.
27621 * sysvipc/semtimedop.c (semtimedop): Likewise.
27622 * time/setitimer.c (__setitimer): Likewise.
27623 * time/strftime_l.c (emacs_strftime): Likewise.
27624
27625 2015-10-19 Mike Frysinger <vapier@gentoo.org>
27626
27627 * config.make.in (have-ssp): Delete.
27628 (stack-protector): New variable.
27629 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
27630 cache test for -fstack-protector-strong. Export stack_protector to
27631 the best ssp flag.
27632 * configure: Regenerated.
27633 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
27634 * nscd/Makefile (CFLAGS-nscd): Likewise.
27635 * resolv/Makefile (CFLAGS-libresolv): Likewise.
27636
27637 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
27638
27639 [BZ #19122]
27640 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
27641 attribute_hidden.
27642
27643 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27644
27645 [BZ #18743]
27646 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
27647 code to...
27648 (ELIDE_LOCK): ...here.
27649 (__get_new_count): New function with part of the code from
27650 __elide_lock that updates the value of adapt_count after a
27651 transaction abort.
27652 (__elided_trylock): Moved this code to...
27653 (ELIDE_TRYLOCK): ...here.
27654
27655 2015-10-19 Mike Frysinger <vapier@gentoo.org>
27656
27657 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
27658 * configure: Regenerate.
27659 * INSTALL: Regenerate.
27660 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
27661 and tweak grammar.
27662
27663 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
27664
27665 * login/programs/pt_chown.c: Include signal.h
27666 (main): Clear any signal mask from the parent process.
27667
27668 2015-10-19 Joseph Myers <joseph@codesourcery.com>
27669
27670 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
27671 * configure: Regenerated.
27672 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
27673 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
27674 $(gnu89-inline-CFLAGS).
27675
27676 * configure.ac (libc_cv_asm_weak_directive): Remove configure
27677 test.
27678 (libc_cv_asm_weakext_directive): Likewise.
27679 * configure: Regenerated.
27680 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
27681 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
27682 * include/libc-symbols.h
27683 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
27684 #error.
27685 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
27686 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
27687
27688 * sysdeps/arm/backtrace.c (__backtrace): Convert to
27689 prototype-style function definition.
27690 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
27691 * sysdeps/i386/ffs.c (__ffs): Likewise.
27692 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
27693 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
27694 Likewise.
27695 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
27696 Likewise.
27697 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27698 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
27699 Likewise.
27700 * sysdeps/m68k/ffs.c (__ffs): Likewise.
27701 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
27702 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
27703 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
27704 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
27705 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
27706 * sysdeps/mach/hurd/access.c (__access): Likewise.
27707 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
27708 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
27709 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
27710 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
27711 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
27712 (cthread_getspecific): Likewise.
27713 (cthread_setspecific): Likewise.
27714 (__libc_getspecific): Likewise.
27715 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
27716 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
27717 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
27718 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
27719 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
27720 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
27721 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
27722 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
27723 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
27724 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
27725 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
27726 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
27727 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
27728 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
27729 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
27730 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
27731 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
27732 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
27733 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
27734 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
27735 * sysdeps/mach/hurd/link.c (__link): Likewise.
27736 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
27737 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
27738 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
27739 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
27740 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
27741 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
27742 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
27743 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
27744 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
27745 * sysdeps/mach/hurd/rename.c (rename): Likewise.
27746 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
27747 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27748 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
27749 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
27750 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
27751 * sysdeps/mach/hurd/send.c (__send): Likewise.
27752 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
27753 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
27754 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
27755 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
27756 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
27757 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
27758 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
27759 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
27760 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
27761 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
27762 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
27763 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
27764 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
27765 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
27766 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
27767 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
27768 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
27769 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
27770 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
27771 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
27772 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
27773 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
27774 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
27775 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
27776 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
27777 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
27778 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
27779 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
27780 * sysdeps/posix/alarm.c (alarm): Likewise.
27781 * sysdeps/posix/cuserid.c (cuserid): Likewise.
27782 * sysdeps/posix/dirfd.c (dirfd): Likewise.
27783 * sysdeps/posix/dup.c (__dup): Likewise.
27784 * sysdeps/posix/dup2.c (__dup2): Likewise.
27785 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
27786 (main): Likewise.
27787 * sysdeps/posix/flock.c (__flock): Likewise.
27788 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
27789 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
27790 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
27791 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
27792 * sysdeps/posix/isatty.c (__isatty): Likewise.
27793 * sysdeps/posix/killpg.c (killpg): Likewise.
27794 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27795 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
27796 * sysdeps/posix/raise.c (raise): Likewise.
27797 * sysdeps/posix/remove.c (remove): Likewise.
27798 * sysdeps/posix/rename.c (rename): Likewise.
27799 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
27800 * sysdeps/posix/seekdir.c (seekdir): Likewise.
27801 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
27802 * sysdeps/posix/sigignore.c (sigignore): Likewise.
27803 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
27804 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
27805 * sysdeps/posix/sigset.c (sigset): Likewise.
27806 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
27807 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
27808 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
27809 * sysdeps/posix/time.c (time): Likewise.
27810 * sysdeps/posix/ttyname.c (getttyname): Likewise.
27811 (ttyname): Likewise.
27812 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
27813 * sysdeps/posix/utime.c (utime): Likewise.
27814 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
27815 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
27816 Likewise.
27817 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
27818 (pthread_spin_trylock): Likewise.
27819 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
27820 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
27821 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
27822 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
27823 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
27824 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
27825 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
27826 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
27827 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
27828 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
27829 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
27830 * sysdeps/s390/ffs.c (__ffs): Likewise.
27831 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
27832 Likewise.
27833 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
27834 Likewise.
27835 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
27836 Likewise.
27837 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
27838 (pthread_barrier_destroy): Likewise.
27839 * sysdeps/sparc/nptl/pthread_barrier_wait.c
27840 (__pthread_barrier_wait): Likewise.
27841 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
27842 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
27843 (__pthread_barrier_wait): Likewise.
27844 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
27845 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
27846 (memcmp_not_common_alignment): Likewise.
27847 (MEMCMP): Likewise.
27848 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
27849 (_wordcopy_fwd_dest_aligned): Likewise.
27850 (_wordcopy_bwd_aligned): Likewise.
27851 (_wordcopy_bwd_dest_aligned): Likewise.
27852 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
27853 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
27854 * sysdeps/unix/bsd/stty.c (stty): Likewise.
27855 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
27856 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
27857 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
27858 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
27859 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
27860 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
27861 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
27862 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
27863 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
27864 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
27865 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
27866 * sysdeps/unix/stime.c (stime): Likewise.
27867 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
27868 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
27869 Likewise. Use internal_function.
27870 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
27871 Convert to prototype-style function definition.
27872 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27873 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27874 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
27875 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27876 Likewise. Use internal_function.
27877 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
27878 prototype-style function definition
27879 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27880 Likewise.
27881 (__getlogin_r): Likewise.
27882 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
27883 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
27884 (__pthread_cond_broadcast): Likewise.
27885 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
27886 (__pthread_cond_destroy): Likewise.
27887 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
27888 (__pthread_cond_init): Likewise.
27889 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
27890 (__pthread_cond_signal): Likewise.
27891 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
27892 (__pthread_cond_wait): Likewise.
27893 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
27894 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
27895 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
27896 Likewise.
27897 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
27898 Likewise.
27899 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
27900 Likewise.
27901 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
27902 Likewise.
27903 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
27904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
27905 (__ftruncate64): Likewise.
27906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
27907 (truncate64): Likewise.
27908 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
27909 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
27910 (pthread_getcpuclockid): Likewise.
27911 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
27912 Likewise.
27913 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
27914 Likewise.
27915 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
27916 Likewise.
27917 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
27918 Likewise.
27919 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
27920 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
27921 (__libc_sigaction): Likewise.
27922 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
27923 Likewise.
27924 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
27925 (__sigprocmask): Likewise.
27926 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
27927 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
27928 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
27929 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
27930 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27931 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
27932 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27933 Likewise.
27934 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
27935 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
27936 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27937 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
27938 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
27939 Likewise.
27940 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
27941 (__sigprocmask): Likewise.
27942 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
27943 (cfgetispeed): Likewise.
27944 (cfsetospeed): Likewise.
27945 (cfsetispeed): Likewise.
27946 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
27947 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
27948 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27949 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
27950 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
27951 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
27952 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
27953 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
27954 Likewise.
27955 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
27956 Likewise.
27957 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
27958 Likewise.
27959 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
27960 Likewise.
27961 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
27962
27963 2015-10-17 Florian Weimer <fweimer@redhat.com>
27964
27965 sunrpc: Rewrite with explicit TLS access using __thread.
27966 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
27967 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
27968 directly.
27969 (__rpc_thread_variables): Access thread_rpc_vars directly.
27970 Eliminate redundant assignment of the tvp variable.
27971
27972 2015-10-17 Florian Weimer <fweimer@redhat.com>
27973
27974 malloc: Rewrite with explicit TLS access using __thread.
27975 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
27976 (tsd_setspecific, tsd_getspecific): Remove.
27977 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
27978 (tsd_setspecific, tsd_getspecific): Likewise.
27979 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
27980 (tsd_setspecific, tsd_getspecific): Likewise.
27981 * malloc/arena.c (thread_arena): New TLS variable.
27982 (arena_key): Remove variable.
27983 (arena_get): Use thread_arena.
27984 (arena_lookup): Remove macro.
27985 (malloc_atfork, free_atfork, ptmalloc_lock_all)
27986 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
27987 (_int_new_arena, get_free_list, reused_arena)
27988 (arena_thread_freeres): Use thread_arena.
27989 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
27990 tsd_getspecific, tsd_setspecific from safety annotations.
27991 (Allocating Cleared Space): Remove arena_lookup from safety
27992 annotations.
27993
27994 2015-10-17 Florian Weimer <fweimer@redhat.com>
27995
27996 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
27997 struct scratch_buffer instead of extend_alloca.
27998
27999 2015-10-17 Florian Weimer <fweimer@redhat.com>
28000
28001 * sysdeps/unix/sysv/linux/kernel-features.h
28002 (__ASSUME_SOCK_CLOEXEC): Remove.
28003 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
28004 (__have_paccept): Remove unused macro.
28005 * include/unistd.h (__have_sock_cloexec): Remove declaration.
28006 * misc/syslog.c (openlog_internal): Remove fallback code for
28007 !__ASSUME_SOCK_CLOEXEC.
28008 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
28009 missing SOCK_CLOEXEC.
28010 * nscd/connections.c (have_sock_cloexec): Remove definition.
28011 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28012 * nscd/nscd_helper.c (open_socket): Remove fallback code for
28013 !__ASSUME_SOCK_CLOEXEC.
28014 * resolv/res_send.c (__have_o_nonblock): Remove definition.
28015 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28016 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
28017 definition.
28018 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
28019 code for !__ASSUME_SOCK_CLOEXEC.
28020
28021 2015-10-17 Florian Weimer <fweimer@redhat.com>
28022
28023 [BZ #18982]
28024 * manual/stdio.texi (Variable Arguments Output): Add portability
28025 note, explaining that vfprintf clobbers the va_list pointer.
28026
28027 2015-10-16 Joseph Myers <joseph@codesourcery.com>
28028
28029 * math/libm-test.inc (fabs_test_data): Add more tests.
28030 (fdim_test_data): Likewise.
28031 (fma_test_data): Likewise.
28032 (fmax_test_data): Likewise.
28033 (fmin_test_data): Likewise.
28034 (fmod_test_data): Likewise.
28035
28036 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
28037
28038 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
28039 data.
28040
28041 2015-10-16 Joseph Myers <joseph@codesourcery.com>
28042
28043 * math/libm-test.inc (ceil_test_data): Add more tests and more
28044 expectations for "inexact".
28045 (floor_test_data): Add more tests.
28046 (round_test_data): Likewise.
28047 (trunc_test_data): Likewise.
28048
28049 * crypt/cert.c (good_bye): Convert to prototype-style function
28050 definition.
28051 (get8): Likewise.
28052 (put8): Likewise.
28053 * crypt/crypt-entry.c (crypt): Likewise.
28054 (__fcrypt): Likewise.
28055 * crypt/crypt_util.c (_ufc_prbits): Likewise.
28056 (_ufc_set_bits): Likewise.
28057 (_ufc_clearmem): Likewise.
28058 (__init_des_r): Likewise.
28059 (shuffle_sb): Likewise.
28060 (shuffle_sb): Likewise.
28061 (_ufc_setup_salt_r): Likewise.
28062 (_ufc_mk_keytab_r): Likewise.
28063 (_ufc_dofinalperm_r): Likewise.
28064 (encrypt): Likewise.
28065 (__setkey_r): Likewise.
28066 (setkey): Likewise.
28067 * crypt/md5.c (md5_init_ctx): Likewise.
28068 (md5_read_ctx): Likewise.
28069 (md5_finish_ctx): Likewise.
28070 (md5_stream): Likewise.
28071 (md5_buffer): Likewise.
28072 (md5_process_bytes): Likewise.
28073 * crypt/sha256.c (__sha256_init_ctx): Likewise.
28074 (__sha256_finish_ctx): Likewise.
28075 (__sha256_process_bytes): Likewise.
28076 * crypt/sha512.c (__sha512_init_ctx): Likewise.
28077 (__sha512_finish_ctx): Likewise.
28078 (__sha512_process_bytes): Likewise.
28079 * ctype/isctype.c (__isctype): Likewise.
28080 * debug/backtrace.c (__backtrace): Likewise.
28081 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
28082 * debug/fgets_chk.c (__fgets_chk): Likewise.
28083 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
28084 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
28085 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28086 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28087 * debug/memset_chk.c (__memset_chk): Likewise.
28088 * debug/strcat_chk.c (__strcat_chk): Likewise.
28089 * debug/strncat_chk.c (__strncat_chk): Likewise.
28090 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
28091 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
28092 * dirent/dirfd.c (dirfd): Likewise.
28093 * dirent/getdents.c (__getdirentries): Likewise.
28094 * dirent/getdents64.c (getdirentries64): Likewise.
28095 * dirent/rewinddir.c (__rewinddir): Likewise.
28096 * dirent/seekdir.c (seekdir): Likewise.
28097 * dirent/telldir.c (telldir): Likewise.
28098 * elf/sln.c (makesymlinks): Likewise.
28099 (makesymlink): Likewise.
28100 * gmon/gmon.c (__moncontrol): Likewise.
28101 (__monstartup): Likewise.
28102 (write_hist): Likewise.
28103 (write_call_graph): Likewise.
28104 (write_bb_counts): Likewise.
28105 * grp/setgroups.c (setgroups): Likewise.
28106 * inet/inet_lnaof.c (inet_lnaof): Likewise.
28107 * inet/inet_net.c (inet_network): Likewise.
28108 * inet/inet_netof.c (inet_netof): Likewise.
28109 * inet/rcmd.c (rresvport_af): Likewise.
28110 (rresvport): Likewise.
28111 * io/access.c (__access): Likewise.
28112 * io/chdir.c (__chdir): Likewise.
28113 * io/chmod.c (__chmod): Likewise.
28114 * io/chown.c (__chown): Likewise.
28115 * io/close.c (__close): Likewise.
28116 * io/creat.c (creat): Likewise.
28117 * io/creat64.c (creat64): Likewise.
28118 * io/dup.c (__dup): Likewise.
28119 * io/dup2.c (__dup2): Likewise.
28120 * io/dup3.c (__dup3): Likewise.
28121 * io/euidaccess.c (__euidaccess): Likewise.
28122 * io/faccessat.c (faccessat): Likewise.
28123 * io/fchmod.c (__fchmod): Likewise.
28124 * io/fchmodat.c (fchmodat): Likewise.
28125 * io/fchown.c (__fchown): Likewise.
28126 * io/fchownat.c (fchownat): Likewise.
28127 * io/fcntl.c (__fcntl): Likewise.
28128 * io/flock.c (__flock): Likewise.
28129 * io/fts.c (fts_load): Likewise.
28130 (fts_close): Likewise.
28131 (fts_read): Likewise.
28132 (fts_set): Likewise.
28133 (fts_children): Likewise.
28134 (fts_build): Likewise.
28135 (fts_stat): Likewise.
28136 (fts_sort): Likewise.
28137 (fts_alloc): Likewise.
28138 (fts_lfree): Likewise.
28139 (fts_palloc): Likewise.
28140 (fts_padjust): Likewise.
28141 (fts_maxarglen): Likewise.
28142 (fts_safe_changedir): Likewise.
28143 * io/getwd.c (getwd): Likewise.
28144 * io/isatty.c (__isatty): Likewise.
28145 * io/lchown.c (__lchown): Likewise.
28146 * io/link.c (__link): Likewise.
28147 * io/linkat.c (linkat): Likewise.
28148 * io/lseek.c (__libc_lseek): Likewise.
28149 * io/mkdir.c (__mkdir): Likewise.
28150 * io/mkdirat.c (mkdirat): Likewise.
28151 * io/mkfifo.c (mkfifo): Likewise.
28152 * io/mkfifoat.c (mkfifoat): Likewise.
28153 * io/open.c (__libc_open): Likewise.
28154 * io/open64.c (__libc_open64): Likewise.
28155 * io/readlink.c (__readlink): Likewise.
28156 * io/readlinkat.c (readlinkat): Likewise.
28157 * io/rmdir.c (__rmdir): Likewise.
28158 * io/symlink.c (__symlink): Likewise.
28159 * io/symlinkat.c (symlinkat): Likewise.
28160 * io/ttyname.c (ttyname): Likewise.
28161 * io/ttyname_r.c (__ttyname_r): Likewise.
28162 * io/umask.c (__umask): Likewise.
28163 * io/unlink.c (__unlink): Likewise.
28164 * io/unlinkat.c (unlinkat): Likewise.
28165 * io/utime.c (utime): Likewise.
28166 * libio/clearerr.c (clearerr): Likewise.
28167 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
28168 * libio/feof.c (_IO_feof): Likewise.
28169 * libio/feof_u.c (feof_unlocked): Likewise.
28170 * libio/ferror.c (_IO_ferror): Likewise.
28171 * libio/ferror_u.c (ferror_unlocked): Likewise.
28172 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
28173 * libio/fileno.c (__fileno): Likewise.
28174 * libio/fputc.c (fputc): Likewise.
28175 * libio/fputc_u.c (fputc_unlocked): Likewise.
28176 * libio/fputwc.c (fputwc): Likewise.
28177 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
28178 * libio/freopen.c (freopen): Likewise.
28179 * libio/freopen64.c (freopen64): Likewise.
28180 * libio/fseek.c (fseek): Likewise.
28181 * libio/fseeko.c (fseeko): Likewise.
28182 * libio/fseeko64.c (fseeko64): Likewise.
28183 * libio/ftello.c (__ftello): Likewise.
28184 * libio/ftello64.c (ftello64): Likewise.
28185 * libio/fwide.c (fwide): Likewise.
28186 * libio/genops.c (_IO_un_link): Likewise.
28187 (_IO_link_in): Likewise.
28188 (_IO_least_marker): Likewise.
28189 (_IO_switch_to_main_get_area): Likewise.
28190 (_IO_switch_to_backup_area): Likewise.
28191 (_IO_switch_to_get_mode): Likewise.
28192 (_IO_free_backup_area): Likewise.
28193 (_IO_switch_to_put_mode): Likewise.
28194 (__overflow): Likewise.
28195 (__underflow): Likewise.
28196 (__uflow): Likewise.
28197 (_IO_setb): Likewise.
28198 (_IO_doallocbuf): Likewise.
28199 (_IO_default_underflow): Likewise.
28200 (_IO_default_uflow): Likewise.
28201 (_IO_default_xsputn): Likewise.
28202 (_IO_sgetn): Likewise.
28203 (_IO_default_xsgetn): Likewise.
28204 (_IO_sync): Likewise.
28205 (_IO_default_setbuf): Likewise.
28206 (_IO_default_seekpos): Likewise.
28207 (_IO_default_doallocate): Likewise.
28208 (_IO_init): Likewise.
28209 (_IO_old_init): Likewise.
28210 (_IO_default_sync): Likewise.
28211 (_IO_default_finish): Likewise.
28212 (_IO_default_seekoff): Likewise.
28213 (_IO_sputbackc): Likewise.
28214 (_IO_sungetc): Likewise.
28215 (_IO_set_column): Likewise.
28216 (_IO_set_column): Likewise.
28217 (_IO_adjust_column): Likewise.
28218 (_IO_get_column): Likewise.
28219 (_IO_init_marker): Likewise.
28220 (_IO_remove_marker): Likewise.
28221 (_IO_marker_difference): Likewise.
28222 (_IO_marker_delta): Likewise.
28223 (_IO_seekmark): Likewise.
28224 (_IO_unsave_markers): Likewise.
28225 (_IO_nobackup_pbackfail): Likewise.
28226 (_IO_default_pbackfail): Likewise.
28227 (_IO_default_seek): Likewise.
28228 (_IO_default_stat): Likewise.
28229 (_IO_default_read): Likewise.
28230 (_IO_default_write): Likewise.
28231 (_IO_default_showmanyc): Likewise.
28232 (_IO_default_imbue): Likewise.
28233 (_IO_iter_next): Likewise.
28234 (_IO_iter_file): Likewise.
28235 * libio/getc.c (_IO_getc): Likewise.
28236 * libio/getwc.c (_IO_getwc): Likewise.
28237 * libio/iofclose.c (_IO_new_fclose): Likewise.
28238 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28239 * libio/iofflush.c (_IO_fflush): Likewise.
28240 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
28241 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
28242 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
28243 * libio/iofgets.c (_IO_fgets): Likewise.
28244 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
28245 * libio/iofgetws.c (fgetws): Likewise.
28246 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
28247 * libio/iofopen64.c (_IO_fopen64): Likewise.
28248 * libio/iofopncook.c (_IO_cookie_read): Likewise.
28249 (_IO_cookie_write): Likewise.
28250 (_IO_cookie_seek): Likewise.
28251 (_IO_cookie_close): Likewise.
28252 (_IO_cookie_seekoff): Likewise.
28253 (_IO_old_cookie_seek): Likewise.
28254 * libio/iofputs.c (_IO_fputs): Likewise.
28255 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
28256 * libio/iofputws.c (fputws): Likewise.
28257 * libio/iofputws_u.c (fputws_unlocked): Likewise.
28258 * libio/iofread.c (_IO_fread): Likewise.
28259 * libio/iofread_u.c (__fread_unlocked): Likewise.
28260 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
28261 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28262 * libio/ioftell.c (_IO_ftell): Likewise.
28263 * libio/iofwrite.c (_IO_fwrite): Likewise.
28264 * libio/iogetdelim.c (_IO_getdelim): Likewise.
28265 * libio/iogets.c (_IO_gets): Likewise.
28266 * libio/iopadn.c (_IO_padn): Likewise.
28267 * libio/iopopen.c (_IO_new_proc_open): Likewise.
28268 (_IO_new_popen): Likewise.
28269 (_IO_new_proc_close): Likewise.
28270 * libio/ioputs.c (_IO_puts): Likewise.
28271 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
28272 (_IO_seekoff): Likewise.
28273 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
28274 (_IO_seekpos): Likewise.
28275 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
28276 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
28277 * libio/ioungetc.c (_IO_ungetc): Likewise.
28278 * libio/ioungetwc.c (ungetwc): Likewise.
28279 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28280 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
28281 * libio/iowpadn.c (_IO_wpadn): Likewise.
28282 * libio/libc_fatal.c (__libc_fatal): Likewise.
28283 * libio/memstream.c (__open_memstream): Likewise.
28284 (_IO_mem_sync): Likewise.
28285 (_IO_mem_finish): Likewise.
28286 * libio/oldfileops.c (_IO_old_file_init): Likewise.
28287 (_IO_old_file_close_it): Likewise.
28288 (_IO_old_file_finish): Likewise.
28289 (_IO_old_file_fopen): Likewise.
28290 (_IO_old_file_attach): Likewise.
28291 (_IO_old_file_setbuf): Likewise.
28292 (_IO_old_do_write): Likewise.
28293 (old_do_write): Likewise.
28294 (_IO_old_file_underflow): Likewise.
28295 (_IO_old_file_overflow): Likewise.
28296 (_IO_old_file_sync): Likewise.
28297 (_IO_old_file_seekoff): Likewise.
28298 (_IO_old_file_write): Likewise.
28299 (_IO_old_file_xsputn): Likewise.
28300 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
28301 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28302 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
28303 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
28304 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
28305 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
28306 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
28307 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
28308 (_IO_old_popen): Likewise.
28309 (_IO_old_proc_close): Likewise.
28310 * libio/oldpclose.c (__old_pclose): Likewise.
28311 * libio/pclose.c (__new_pclose): Likewise.
28312 * libio/peekc.c (_IO_peekc_locked): Likewise.
28313 * libio/putc.c (_IO_putc): Likewise.
28314 * libio/putc_u.c (putc_unlocked): Likewise.
28315 * libio/putchar.c (putchar): Likewise.
28316 * libio/putchar_u.c (putchar_unlocked): Likewise.
28317 * libio/putwc.c (putwc): Likewise.
28318 * libio/putwc_u.c (putwc_unlocked): Likewise.
28319 * libio/putwchar.c (putwchar): Likewise.
28320 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
28321 * libio/rewind.c (rewind): Likewise.
28322 * libio/setbuf.c (setbuf): Likewise.
28323 * libio/setlinebuf.c (setlinebuf): Likewise.
28324 * libio/vasprintf.c (_IO_vasprintf): Likewise.
28325 * libio/vscanf.c (_IO_vscanf): Likewise.
28326 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
28327 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
28328 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
28329 * libio/wgenops.c (_IO_least_wmarker): Likewise.
28330 (_IO_switch_to_main_wget_area): Likewise.
28331 (_IO_switch_to_wbackup_area): Likewise.
28332 (_IO_wsetb): Likewise.
28333 (_IO_wdefault_pbackfail): Likewise.
28334 (_IO_wdefault_finish): Likewise.
28335 (_IO_wdefault_uflow): Likewise.
28336 (__woverflow): Likewise.
28337 (__wuflow): Likewise.
28338 (__wunderflow): Likewise.
28339 (_IO_wdefault_xsputn): Likewise.
28340 (_IO_wdefault_xsgetn): Likewise.
28341 (_IO_wdoallocbuf): Likewise.
28342 (_IO_wdefault_doallocate): Likewise.
28343 (_IO_switch_to_wget_mode): Likewise.
28344 (_IO_free_wbackup_area): Likewise.
28345 (_IO_switch_to_wput_mode): Likewise.
28346 (_IO_sputbackwc): Likewise.
28347 (_IO_sungetwc): Likewise.
28348 (_IO_adjust_wcolumn): Likewise.
28349 (_IO_init_wmarker): Likewise.
28350 (_IO_wmarker_delta): Likewise.
28351 (_IO_seekwmark): Likewise.
28352 (_IO_unsave_wmarkers): Likewise.
28353 * libio/wmemstream.c (open_wmemstream): Likewise.
28354 (_IO_wmem_sync): Likewise.
28355 (_IO_wmem_finish): Likewise.
28356 * locale/nl_langinfo.c (nl_langinfo): Likewise.
28357 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
28358 * locale/programs/simple-hash.c (init_hash): Likewise.
28359 (delete_hash): Likewise.
28360 (insert_entry): Likewise.
28361 (set_entry): Likewise.
28362 (next_prime): Likewise.
28363 (is_prime): Likewise.
28364 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
28365 (xmalloc): Likewise.
28366 (xrealloc): Likewise.
28367 * locale/programs/xstrdup.c (xstrdup): Likewise.
28368 * localedata/collate-test.c (xstrcoll): Likewise.
28369 * localedata/xfrm-test.c (xstrcmp): Likewise.
28370 * login/getlogin_r.c (__getlogin_r): Likewise.
28371 * login/getpt.c (__posix_openpt): Likewise.
28372 * login/login_tty.c (login_tty): Likewise.
28373 * login/setlogin.c (setlogin): Likewise.
28374 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
28375 (mach_msg_destroy_port): Likewise.
28376 (mach_msg_destroy_memory): Likewise.
28377 * malloc/mcheck.c (flood): Likewise.
28378 * misc/acct.c (acct): Likewise.
28379 * misc/brk.c (__brk): Likewise.
28380 * misc/chflags.c (chflags): Likewise.
28381 * misc/chroot.c (chroot): Likewise.
28382 * misc/fchflags.c (fchflags): Likewise.
28383 * misc/fstab.c (getfsspec): Likewise.
28384 (getfsfile): Likewise.
28385 * misc/fsync.c (fsync): Likewise.
28386 * misc/ftruncate.c (__ftruncate): Likewise.
28387 * misc/ftruncate64.c (__ftruncate64): Likewise.
28388 * misc/getdomain.c (getdomainname): Likewise.
28389 (getdomainname): Likewise.
28390 * misc/gethostname.c (__gethostname): Likewise.
28391 * misc/getpass.c (getpass): Likewise.
28392 * misc/getttyent.c (skip): Likewise.
28393 (value): Likewise.
28394 * misc/gtty.c (gtty): Likewise.
28395 * misc/hsearch.c (hsearch): Likewise.
28396 (hcreate): Likewise.
28397 * misc/hsearch_r.c (__hcreate_r): Likewise.
28398 (__hdestroy_r): Likewise.
28399 * misc/ioctl.c (__ioctl): Likewise.
28400 * misc/mkdtemp.c (mkdtemp): Likewise.
28401 * misc/mkostemp.c (mkostemp): Likewise.
28402 * misc/mkostemp64.c (mkostemp64): Likewise.
28403 * misc/mkostemps.c (mkostemps): Likewise.
28404 * misc/mkostemps64.c (mkostemps64): Likewise.
28405 * misc/mkstemp.c (mkstemp): Likewise.
28406 * misc/mkstemp64.c (mkstemp64): Likewise.
28407 * misc/mkstemps.c (mkstemps): Likewise.
28408 * misc/mkstemps64.c (mkstemps64): Likewise.
28409 * misc/mktemp.c (__mktemp): Likewise.
28410 * misc/preadv.c (preadv): Likewise.
28411 * misc/preadv64.c (preadv64): Likewise.
28412 * misc/pwritev.c (pwritev): Likewise.
28413 * misc/pwritev64.c (pwritev64): Likewise.
28414 * misc/readv.c (__readv): Likewise.
28415 * misc/revoke.c (revoke): Likewise.
28416 * misc/setdomain.c (setdomainname): Likewise.
28417 * misc/setegid.c (setegid): Likewise.
28418 * misc/seteuid.c (seteuid): Likewise.
28419 * misc/sethostid.c (sethostid): Likewise.
28420 * misc/sethostname.c (sethostname): Likewise.
28421 * misc/setregid.c (__setregid): Likewise.
28422 * misc/setreuid.c (__setreuid): Likewise.
28423 * misc/sstk.c (sstk): Likewise.
28424 * misc/stty.c (stty): Likewise.
28425 * misc/syscall.c (syscall): Likewise.
28426 * misc/syslog.c (setlogmask): Likewise.
28427 * misc/truncate.c (__truncate): Likewise.
28428 * misc/truncate64.c (truncate64): Likewise.
28429 * misc/ualarm.c (ualarm): Likewise.
28430 * misc/usleep.c (usleep): Likewise.
28431 * misc/ustat.c (ustat): Likewise.
28432 * misc/writev.c (__writev): Likewise.
28433 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
28434 * nptl/old_pthread_cond_broadcast.c
28435 (__pthread_cond_broadcast_2_0): Likewise.
28436 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
28437 Likewise.
28438 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
28439 Likewise.
28440 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
28441 Likewise.
28442 * nptl/pt-raise.c (raise): Likewise.
28443 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
28444 Likewise.
28445 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
28446 * nptl/pthread_barrierattr_destroy.c
28447 (pthread_barrierattr_destroy): Likewise.
28448 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28449 Likewise.
28450 * nptl/pthread_barrierattr_setpshared.c
28451 (pthread_barrierattr_setpshared): Likewise.
28452 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28453 Likewise.
28454 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
28455 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28456 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
28457 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
28458 Likewise.
28459 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
28460 Likewise.
28461 * nptl/pthread_condattr_getpshared.c
28462 (pthread_condattr_getpshared): Likewise.
28463 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
28464 Likewise.
28465 * nptl/pthread_condattr_setpshared.c
28466 (pthread_condattr_setpshared): Likewise.
28467 * nptl/pthread_detach.c (pthread_detach): Likewise.
28468 * nptl/pthread_equal.c (__pthread_equal): Likewise.
28469 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
28470 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
28471 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
28472 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
28473 Likewise.
28474 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
28475 Likewise.
28476 * nptl/pthread_mutex_getprioceiling.c
28477 (pthread_mutex_getprioceiling): Likewise.
28478 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
28479 Likewise.
28480 * nptl/pthread_mutexattr_getprotocol.c
28481 (pthread_mutexattr_getprotocol): Likewise.
28482 * nptl/pthread_mutexattr_getpshared.c
28483 (pthread_mutexattr_getpshared): Likewise.
28484 * nptl/pthread_mutexattr_getrobust.c
28485 (pthread_mutexattr_getrobust): Likewise.
28486 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
28487 Likewise.
28488 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
28489 Likewise.
28490 * nptl/pthread_mutexattr_setprioceiling.c
28491 (pthread_mutexattr_setprioceiling): Likewise.
28492 * nptl/pthread_mutexattr_setprotocol.c
28493 (pthread_mutexattr_setprotocol): Likewise.
28494 * nptl/pthread_mutexattr_setpshared.c
28495 (pthread_mutexattr_setpshared): Likewise.
28496 * nptl/pthread_mutexattr_setrobust.c
28497 (pthread_mutexattr_setrobust): Likewise.
28498 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
28499 Likewise.
28500 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
28501 Likewise.
28502 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
28503 Likewise.
28504 * nptl/pthread_rwlockattr_getkind_np.c
28505 (pthread_rwlockattr_getkind_np): Likewise.
28506 * nptl/pthread_rwlockattr_getpshared.c
28507 (pthread_rwlockattr_getpshared): Likewise.
28508 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
28509 Likewise.
28510 * nptl/pthread_rwlockattr_setkind_np.c
28511 (pthread_rwlockattr_setkind_np): Likewise.
28512 * nptl/pthread_rwlockattr_setpshared.c
28513 (pthread_rwlockattr_setpshared): Likewise.
28514 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
28515 Likewise.
28516 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
28517 Likewise.
28518 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
28519 Likewise.
28520 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
28521 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
28522 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
28523 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
28524 * nptl/sem_close.c (sem_close): Likewise.
28525 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
28526 * nptl/sem_init.c (__old_sem_init): Likewise.
28527 * nptl/sigaction.c (__sigaction): Likewise.
28528 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
28529 * posix/_exit.c (_exit): Likewise.
28530 * posix/alarm.c (alarm): Likewise.
28531 * posix/confstr.c (confstr): Likewise.
28532 * posix/fpathconf.c (__fpathconf): Likewise.
28533 * posix/getgroups.c (__getgroups): Likewise.
28534 * posix/getpgid.c (__getpgid): Likewise.
28535 * posix/group_member.c (__group_member): Likewise.
28536 * posix/pathconf.c (__pathconf): Likewise.
28537 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
28538 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
28539 * posix/setgid.c (__setgid): Likewise.
28540 * posix/setpgid.c (__setpgid): Likewise.
28541 * posix/setuid.c (__setuid): Likewise.
28542 * posix/sleep.c (__sleep): Likewise.
28543 * posix/sysconf.c (__sysconf): Likewise.
28544 * posix/times.c (__times): Likewise.
28545 * posix/uname.c (__uname): Likewise.
28546 * posix/waitid.c (__waitid): Likewise.
28547 * pwd/getpw.c (__getpw): Likewise.
28548 * resolv/base64.c (b64_pton): Likewise.
28549 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28550 * resolv/gethnamaddr.c (Dprintf): Likewise.
28551 (gethostbyname): Likewise.
28552 (gethostbyname2): Likewise.
28553 (gethostbyaddr): Likewise.
28554 (_sethtent): Likewise.
28555 (_gethtbyname): Likewise.
28556 (_gethtbyname2): Likewise.
28557 (_gethtbyaddr): Likewise.
28558 (map_v4v6_address): Likewise.
28559 (map_v4v6_hostent): Likewise.
28560 (addrsort): Likewise.
28561 (ht_sethostent): Likewise.
28562 (ht_gethostbyname): Likewise.
28563 (ht_gethostbyaddr): Likewise.
28564 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
28565 (inet_net_ntop_ipv4): Likewise.
28566 * resolv/inet_neta.c (inet_neta): Likewise.
28567 * resolv/inet_ntop.c (inet_ntop): Likewise.
28568 (inet_ntop4): Likewise.
28569 (inet_ntop6): Likewise.
28570 * resolv/inet_pton.c (__inet_pton): Likewise.
28571 (inet_pton4): Likewise.
28572 (inet_pton6): Likewise.
28573 * resolv/res_debug.c (loc_aton): Likewise.
28574 (loc_ntoa): Likewise.
28575 * resource/getpriority.c (__getpriority): Likewise.
28576 * resource/getrusage.c (__getrusage): Likewise.
28577 * resource/nice.c (nice): Likewise.
28578 * resource/setpriority.c (__setpriority): Likewise.
28579 * resource/setrlimit64.c (setrlimit64): Likewise.
28580 * resource/vlimit.c (vlimit): Likewise.
28581 * resource/vtimes.c (vtimes): Likewise.
28582 * rt/aio_error.c (aio_error): Likewise.
28583 * rt/aio_return.c (aio_return): Likewise.
28584 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
28585 * signal/kill.c (__kill): Likewise.
28586 * signal/killpg.c (killpg): Likewise.
28587 * signal/raise.c (raise): Likewise.
28588 * signal/sigaction.c (__sigaction): Likewise.
28589 * signal/sigaddset.c (sigaddset): Likewise.
28590 * signal/sigaltstack.c (sigaltstack): Likewise.
28591 * signal/sigandset.c (sigandset): Likewise.
28592 * signal/sigblock.c (__sigblock): Likewise.
28593 * signal/sigdelset.c (sigdelset): Likewise.
28594 * signal/sigempty.c (sigemptyset): Likewise.
28595 * signal/sigfillset.c (sigfillset): Likewise.
28596 * signal/sighold.c (sighold): Likewise.
28597 * signal/sigignore.c (sigignore): Likewise.
28598 * signal/sigintr.c (siginterrupt): Likewise.
28599 * signal/sigisempty.c (sigisemptyset): Likewise.
28600 * signal/sigismem.c (sigismember): Likewise.
28601 * signal/signal.c (signal): Likewise.
28602 * signal/sigorset.c (sigorset): Likewise.
28603 * signal/sigpause.c (__sigpause): Likewise.
28604 * signal/sigpending.c (sigpending): Likewise.
28605 * signal/sigprocmask.c (__sigprocmask): Likewise.
28606 * signal/sigrelse.c (sigrelse): Likewise.
28607 * signal/sigreturn.c (__sigreturn): Likewise.
28608 * signal/sigset.c (sigset): Likewise.
28609 * signal/sigsetmask.c (__sigsetmask): Likewise.
28610 * signal/sigstack.c (sigstack): Likewise.
28611 * signal/sigsuspend.c (__sigsuspend): Likewise.
28612 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
28613 * signal/sysv_signal.c (__sysv_signal): Likewise.
28614 * socket/accept.c (accept): Likewise.
28615 * socket/accept4.c (__libc_accept4): Likewise.
28616 * socket/bind.c (__bind): Likewise.
28617 * socket/connect.c (__connect): Likewise.
28618 * socket/getpeername.c (getpeername): Likewise.
28619 * socket/getsockname.c (__getsockname): Likewise.
28620 * socket/getsockopt.c (getsockopt): Likewise.
28621 * socket/listen.c (__listen): Likewise.
28622 * socket/recv.c (__recv): Likewise.
28623 * socket/recvmsg.c (__recvmsg): Likewise.
28624 * socket/send.c (__send): Likewise.
28625 * socket/sendmsg.c (__sendmsg): Likewise.
28626 * socket/shutdown.c (shutdown): Likewise.
28627 * socket/sockatmark.c (sockatmark): Likewise.
28628 * socket/socket.c (__socket): Likewise.
28629 * stdio-common/ctermid.c (ctermid): Likewise.
28630 * stdio-common/cuserid.c (cuserid): Likewise.
28631 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
28632 * stdio-common/remove.c (remove): Likewise.
28633 * stdio-common/rename.c (rename): Likewise.
28634 * stdio-common/renameat.c (renameat): Likewise.
28635 * stdio-common/tempname.c (__gen_tempname): Likewise.
28636 * stdio-common/xbug.c (InitBuffer): Likewise.
28637 (AppendToBuffer): Likewise.
28638 (ReadFile): Likewise.
28639 * stdlib/a64l.c (a64l): Likewise.
28640 * stdlib/drand48_r.c (drand48_r): Likewise.
28641 * stdlib/getcontext.c (getcontext): Likewise.
28642 * stdlib/getenv.c (getenv): Likewise.
28643 * stdlib/l64a.c (l64a): Likewise.
28644 * stdlib/llabs.c (llabs): Likewise.
28645 * stdlib/lldiv.c (lldiv): Likewise.
28646 * stdlib/lrand48_r.c (lrand48_r): Likewise.
28647 * stdlib/mrand48_r.c (mrand48_r): Likewise.
28648 * stdlib/putenv.c (putenv): Likewise.
28649 * stdlib/random.c (__srandom): Likewise.
28650 (__initstate): Likewise.
28651 (__setstate): Likewise.
28652 * stdlib/random_r.c (__srandom_r): Likewise.
28653 (__setstate_r): Likewise.
28654 (__random_r): Likewise.
28655 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
28656 * stdlib/setcontext.c (setcontext): Likewise.
28657 * stdlib/setenv.c (setenv): Likewise.
28658 (unsetenv): Likewise.
28659 * stdlib/srand48.c (srand48): Likewise.
28660 * stdlib/srand48_r.c (__srand48_r): Likewise.
28661 * stdlib/swapcontext.c (swapcontext): Likewise.
28662 * stdlib/system.c (__libc_system): Likewise.
28663 * stdlib/tst-strtod.c (expand): Likewise.
28664 * stdlib/tst-strtol.c (expand): Likewise.
28665 * stdlib/tst-strtoll.c (expand): Likewise.
28666 * streams/fattach.c (fattach): Likewise.
28667 * streams/fdetach.c (fdetach): Likewise.
28668 * streams/getmsg.c (getmsg): Likewise.
28669 * streams/isastream.c (isastream): Likewise.
28670 * string/ffs.c (__ffs): Likewise.
28671 * string/ffsll.c (ffsll): Likewise.
28672 * string/memcmp.c (memcmp_common_alignment): Likewise.
28673 (memcmp_not_common_alignment): Likewise.
28674 (MEMCMP): Likewise.
28675 * string/memcpy.c (memcpy): Likewise.
28676 * string/memmove.c (MEMMOVE): Likewise.
28677 * string/memset.c (memset): Likewise.
28678 * string/rawmemchr.c (RAWMEMCHR): Likewise.
28679 * string/strchrnul.c (STRCHRNUL): Likewise.
28680 * string/strerror.c (strerror): Likewise.
28681 * string/strndup.c (__strndup): Likewise.
28682 * string/strverscmp.c (__strverscmp): Likewise.
28683 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
28684 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
28685 (clnttcp_freeres): Likewise.
28686 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
28687 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
28688 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
28689 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
28690 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
28691 (xdr_callhdr): Likewise.
28692 * sunrpc/rpcinfo.c (udpping): Likewise.
28693 (tcpping): Likewise.
28694 (pstatus): Likewise.
28695 (pmapdump): Likewise.
28696 (brdcst): Likewise.
28697 (deletereg): Likewise.
28698 (getprognum): Likewise.
28699 (getvers): Likewise.
28700 (get_inet_address): Likewise.
28701 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
28702 * sunrpc/svc_udp.c (svcudp_create): Likewise.
28703 (svcudp_stat): Likewise.
28704 (svcudp_recv): Likewise.
28705 (svcudp_reply): Likewise.
28706 (svcudp_getargs): Likewise.
28707 (svcudp_freeargs): Likewise.
28708 (svcudp_destroy): Likewise.
28709 * sunrpc/xdr.c (xdr_bytes): Likewise.
28710 (xdr_netobj): Likewise.
28711 (xdr_string): Likewise.
28712 (xdr_wrapstring): Likewise.
28713 * sunrpc/xdr_float.c (xdr_float): Likewise.
28714 (xdr_double): Likewise.
28715 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
28716 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
28717 * sysvipc/ftok.c (ftok): Likewise.
28718 * sysvipc/msgctl.c (msgctl): Likewise.
28719 * sysvipc/msgget.c (msgget): Likewise.
28720 * sysvipc/msgrcv.c (msgrcv): Likewise.
28721 * sysvipc/msgsnd.c (msgsnd): Likewise.
28722 * sysvipc/semget.c (semget): Likewise.
28723 * sysvipc/semop.c (semop): Likewise.
28724 * sysvipc/shmat.c (shmat): Likewise.
28725 * sysvipc/shmctl.c (shmctl): Likewise.
28726 * sysvipc/shmdt.c (shmdt): Likewise.
28727 * sysvipc/shmget.c (shmget): Likewise.
28728 * termios/cfmakeraw.c (cfmakeraw): Likewise.
28729 * termios/speed.c (cfgetospeed): Likewise.
28730 (cfgetispeed): Likewise.
28731 (cfsetospeed): Likewise.
28732 (cfsetispeed): Likewise.
28733 * termios/tcflow.c (tcflow): Likewise.
28734 * termios/tcflush.c (tcflush): Likewise.
28735 * termios/tcgetattr.c (__tcgetattr): Likewise.
28736 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
28737 * termios/tcgetsid.c (tcgetsid): Likewise.
28738 * termios/tcsendbrk.c (tcsendbreak): Likewise.
28739 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
28740 * time/adjtime.c (__adjtime): Likewise.
28741 * time/dysize.c (dysize): Likewise.
28742 * time/ftime.c (ftime): Likewise.
28743 * time/getitimer.c (__getitimer): Likewise.
28744 * time/gettimeofday.c (__gettimeofday): Likewise.
28745 * time/gmtime.c (__gmtime_r): Likewise.
28746 (gmtime): Likewise.
28747 * time/localtime.c (__localtime_r): Likewise.
28748 (localtime): Likewise.
28749 * time/offtime.c (__offtime): Likewise.
28750 * time/settimeofday.c (__settimeofday): Likewise.
28751 * time/stime.c (stime): Likewise.
28752 * time/strftime_l.c (tm_diff): Likewise.
28753 (iso_week_days): Likewise.
28754 * time/strptime.c (strptime): Likewise.
28755 * time/time.c (time): Likewise.
28756 * time/timespec_get.c (timespec_get): Likewise.
28757 * time/tzset.c (tzset_internal): Likewise.
28758 (compute_change): Likewise.
28759 (__tz_compute): Likewise.
28760 * wcsmbs/btowc.c (__btowc): Likewise.
28761 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
28762 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
28763 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
28764 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
28765 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
28766 * wcsmbs/wcscat.c (__wcscat): Likewise.
28767 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
28768 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
28769 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
28770 * wcsmbs/wcscspn.c (wcscspn): Likewise.
28771 * wcsmbs/wcsdup.c (wcsdup): Likewise.
28772 * wcsmbs/wcslen.c (__wcslen): Likewise.
28773 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
28774 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
28775 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
28776 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
28777 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
28778 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
28779 * wcsmbs/wcsspn.c (wcsspn): Likewise.
28780 * wcsmbs/wcsstr.c (wcsstr): Likewise.
28781 * wcsmbs/wcstok.c (wcstok): Likewise.
28782 * wcsmbs/wctob.c (wctob): Likewise.
28783 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
28784 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28785 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
28786 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
28787 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
28788 * wcsmbs/wmemset.c (__wmemset): Likewise.
28789 * wctype/wcfuncs.c (__towlower): Likewise.
28790 (__towupper): Likewise.
28791
28792 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
28793 (lll_unlock_elision): Add adapt_count parameter.
28794
28795 2015-10-15 Joseph Myers <joseph@codesourcery.com>
28796
28797 * sysdeps/nptl/configure.ac: Do not give errors based on the
28798 results of top-level configure tests.
28799 * sysdeps/nptl/configure: Regenerated.
28800
28801 * configure.ac (libc_cv_Bgroup): Remove configure test.
28802 * configure: Regenerated.
28803 * config.make.in (have-Bgroup): Remove variable.
28804
28805 * configure.ac (sizeof_long_double): Remove configure test.
28806 * configure: Regenerated.
28807 * config.make.in (sizeof-long-double): Remove variable.
28808
28809 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
28810 * configure: Regenerated.
28811 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
28812 variable.
28813 (exceptions): Likewise.
28814 * sysdeps/arm/configure: Regenerated.
28815 * config.make.in (exceptions): Remove variable.
28816 * Makeconfig (uses-callbacks): Use -fexceptions instead of
28817 $(exceptions).
28818 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
28819 (CFLAGS-vdprintf_chk.c): Likewise.
28820 (CFLAGS-printf_chk.c): Likewise.
28821 (CFLAGS-fprintf_chk.c): Likewise.
28822 (CFLAGS-vprintf_chk.c): Likewise.
28823 (CFLAGS-vfprintf_chk.c): Likewise.
28824 (CFLAGS-gets_chk.c): Likewise.
28825 (CFLAGS-fgets_chk.c): Likewise.
28826 (CFLAGS-fgets_u_chk.c): Likewise.
28827 (CFLAGS-fread_chk.c): Likewise.
28828 (CFLAGS-fread_u_chk.c): Likewise.
28829 (CFLAGS-wprintf_chk.c): Likewise.
28830 (CFLAGS-fwprintf_chk.c): Likewise.
28831 (CFLAGS-vwprintf_chk.c): Likewise.
28832 (CFLAGS-vfwprintf_chk.c): Likewise.
28833 (CFLAGS-fgetws_chk.c): Likewise.
28834 (CFLAGS-fgetws_u_chk.c): Likewise.
28835 * libio/Makefile (CFLAGS-fileops.c): Likewise.
28836 (CFLAGS-fputc.c): Likewise.
28837 (CFLAGS-fputwc.c): Likewise.
28838 (CFLAGS-freopen64.c): Likewise.
28839 (CFLAGS-freopen.c): Likewise.
28840 (CFLAGS-fseek.c): Likewise.
28841 (CFLAGS-fseeko64.c): Likewise.
28842 (CFLAGS-fseeko.c): Likewise.
28843 (CFLAGS-ftello64.c): Likewise.
28844 (CFLAGS-ftello.c): Likewise.
28845 (CFLAGS-fwide.c): Likewise.
28846 (CFLAGS-genops.c): Likewise.
28847 (CFLAGS-getc.c): Likewise.
28848 (CFLAGS-getchar.c): Likewise.
28849 (CFLAGS-getwc.c): Likewise.
28850 (CFLAGS-getwchar.c): Likewise.
28851 (CFLAGS-iofclose.c): Likewise.
28852 (CFLAGS-iofflush.c): Likewise.
28853 (CFLAGS-iofgetpos64.c): Likewise.
28854 (CFLAGS-iofgetpos.c): Likewise.
28855 (CFLAGS-iofgets.c): Likewise.
28856 (CFLAGS-iofgetws.c): Likewise.
28857 (CFLAGS-iofputs.c): Likewise.
28858 (CFLAGS-iofputws.c): Likewise.
28859 (CFLAGS-iofread.c): Likewise.
28860 (CFLAGS-iofsetpos64.c): Likewise.
28861 (CFLAGS-iofsetpos.c): Likewise.
28862 (CFLAGS-ioftell.c): Likewise.
28863 (CFLAGS-iofwrite.c): Likewise.
28864 (CFLAGS-iogetdelim.c): Likewise.
28865 (CFLAGS-iogetline.c): Likewise.
28866 (CFLAGS-iogets.c): Likewise.
28867 (CFLAGS-iogetwline.c): Likewise.
28868 (CFLAGS-ioputs.c): Likewise.
28869 (CFLAGS-ioseekoff.c): Likewise.
28870 (CFLAGS-ioseekpos.c): Likewise.
28871 (CFLAGS-iosetbuffer.c): Likewise.
28872 (CFLAGS-iosetvbuf.c): Likewise.
28873 (CFLAGS-ioungetc.c): Likewise.
28874 (CFLAGS-ioungetwc.c): Likewise.
28875 (CFLAGS-oldfileops.c): Likewise.
28876 (CFLAGS-oldiofclose.c): Likewise.
28877 (CFLAGS-oldiofgetpos64.c): Likewise.
28878 (CFLAGS-oldiofgetpos.c): Likewise.
28879 (CFLAGS-oldiofsetpos64.c): Likewise.
28880 (CFLAGS-oldiofsetpos.c): Likewise.
28881 (CFLAGS-peekc.c): Likewise.
28882 (CFLAGS-putc.c): Likewise.
28883 (CFLAGS-putchar.c): Likewise.
28884 (CFLAGS-putwc.c): Likewise.
28885 (CFLAGS-putwchar.c): Likewise.
28886 (CFLAGS-rewind.c): Likewise.
28887 (CFLAGS-wfileops.c): Likewise.
28888 (CFLAGS-wgenops.c): Likewise.
28889 (CFLAGS-oldiofopen.c): Likewise.
28890 (CFLAGS-iofopen.c): Likewise.
28891 (CFLAGS-iofopen64.c): Likewise.
28892 (CFLAGS-oldtmpfile.c): Likewise.
28893 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
28894 (CFLAGS-fprintf.c): Likewise.
28895 (CFLAGS-printf.c): Likewise.
28896 (CFLAGS-vfwprintf.c): Likewise.
28897 (CFLAGS-vfscanf.c): Likewise.
28898 (CFLAGS-vfwscanf.c): Likewise.
28899 (CFLAGS-fscanf.c): Likewise.
28900 (CFLAGS-scanf.c): Likewise.
28901 (CFLAGS-isoc99_vfscanf.c): Likewise.
28902 (CFLAGS-isoc99_vscanf.c): Likewise.
28903 (CFLAGS-isoc99_fscanf.c): Likewise.
28904 (CFLAGS-isoc99_scanf.c): Likewise.
28905 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
28906 (CFLAGS-isoc99_fwscanf.c): Likewise.
28907 (CFLAGS-isoc99_vwscanf.c): Likewise.
28908 (CFLAGS-isoc99_vfwscanf.c): Likewise.
28909
28910 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
28911 after mkstemp64.
28912 * login/tst-utmp.c (do_prepare): Likewise.
28913 * rt/tst-aio.c (do_prepare): Likewise.
28914 * rt/tst-aio64.c (do_prepare): Likewise.
28915
28916 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
28917
28918 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
28919 (__lll_lock_elision): Remove adapt_count decrement...
28920 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
28921 (__lll_trylock_elision): Likewise.
28922 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
28923 (__lll_unlock_elision): ... to here. And utilize
28924 new adapt_count parameter.
28925 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
28926 (__lll_unlock_elision): Update to include adapt_count
28927 parameter.
28928 (lll_unlock_elision): Pass pointer to adapt_count
28929 variable.
28930
28931 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
28932
28933 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
28934 Add elision adapt_count parameter to list of arguments.
28935 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
28936 (lll_unlock_elision): Update with new parameter list
28937 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
28938 (lll_unlock_elision): Likewise.
28939 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
28940 (lll_unlock_elision): Likewise.
28941
28942 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
28943
28944 [BZ #19122]
28945 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
28946 attribute_hidden.
28947
28948 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
28949 attribute_hidden.
28950 [IS_IN (rtld)] (__strdup): Likewise.
28951 [IS_IN (rtld)] (__strerror_r): Likewise.
28952 [IS_IN (rtld)] (__strsep_g): Likewise.
28953 [IS_IN (rtld)] (memchr): Likewise.
28954 [IS_IN (rtld)] (memcmp): Likewise.
28955 [IS_IN (rtld)] (memcpy): Likewise.
28956 [IS_IN (rtld)] (memmove): Likewise.
28957 [IS_IN (rtld)] (memset): Likewise.
28958 [IS_IN (rtld)] (rawmemchr): Likewise.
28959 [IS_IN (rtld)] (stpcpy): Likewise.
28960 [IS_IN (rtld)] (strchr): Likewise.
28961 [IS_IN (rtld)] (strcmp): Likewise.
28962 [IS_IN (rtld)] (strlen): Likewise.
28963 [IS_IN (rtld)] (strnlen): Likewise.
28964 [IS_IN (rtld)] (strsep): Likewise.
28965
28966 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
28967 attribute_hidden.
28968 [IS_IN (rtld)] (__strtoul_internal): Likewise.
28969
28970 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
28971 attribute_hidden.
28972 [IS_IN (rtld)] (__libc_sigaction): Likewise.
28973
28974 * include/setjmp.h (__longjmp): Add attribute_hidden.
28975 [IS_IN (rtld)] (__sigsetjmp): Likewise.
28976
28977 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
28978 Add attribute_hidden.
28979
28980 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
28981 [IS_IN (rtld)] (__open): Likewise.
28982 [IS_IN (rtld)] (__fcntl): Likewise.
28983
28984 * include/dirent.h (__opendirat): Add attribute_hidden.
28985 (__getdents): Likewise.
28986 (__getdents64): Likewise.
28987 (__alloc_dir): Likewise.
28988 [IS_IN (rtld)] (__closedir): Likewise.
28989 [IS_IN (rtld)] (__fdopendir): Likewise.
28990 [IS_IN (rtld)] (__readdir): Likewise.
28991 [IS_IN (rtld)] (__readdir64): Likewise.
28992 [IS_IN (rtld)] (__rewinddir): Likewise.
28993
28994 * include/dlfcn.h (_dl_catch_error): Moved to ...
28995 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
28996 attribute_hidden.
28997
28998 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
28999 (_itoa_word): Likewise.
29000
29001 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
29002 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29003 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29004 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
29005 (_dl_higher_prime_number): Likewise.
29006 (_dl_debug_printf_c): Likewise.
29007 (_dl_signal_cerror): Likewise.
29008 (_dl_receive_error): Likewise.
29009 (_dl_reloc_bad_type): Likewise.
29010 (_dl_resolve_conflicts): Likewise.
29011 (_dl_check_all_versions): Likewise.
29012 (_dl_check_map_versions): Likewise.
29013 (_dl_sort_fini): Likewise.
29014 (_dl_debug_initialize): Likewise.
29015 (_dl_init_paths): Likewise.
29016 (_dl_show_auxv): Likewise.
29017 (_dl_next_ld_env_entry): Likewise.
29018 (_dl_important_hwcaps): Likewise.
29019 (_dl_load_cache_lookup): Likewise.
29020 (_dl_update_slotinfo): Likewise.
29021 (_dl_show_scope): Likewise.
29022
29023 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
29024 attribute_hidden.
29025 (_wordcopy_fwd_dest_aligned): Likewise.
29026 (_wordcopy_bwd_aligned): Likewise.
29027 (_wordcopy_bwd_dest_aligned): Likewise.
29028
29029 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
29030 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29031 Likewise.
29032 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29033 Likewise.
29034 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29035
29036 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29037
29038 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
29039 GCC 5 requirement.
29040
29041 2015-10-15 Joseph Myers <joseph@codesourcery.com>
29042
29043 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
29044 test.
29045 * sysdeps/i386/configure: Regenerated.
29046 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
29047 code unconditional.
29048
29049 * configure.ac (libc_cv_asm_previous_directive): Remove configure
29050 test.
29051 (libc_cv_asm_popsection_directive): Likewise.
29052 * configure: Regenerated.
29053 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
29054 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
29055 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
29056 (__make_section_unallocated): Make definition unconditional.
29057 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
29058 Remove conditional definition.
29059 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
29060 (__make_section_unallocated): Likewise.
29061
29062 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
29063 * configure: Regenerated.
29064 * config.make.in (static-libgcc): Remove variable.
29065 * Makerules (build-shlib-helper): Use -static-libgcc instead of
29066 $(static-libgcc).
29067 (build-module-helper): Likewise.
29068
29069 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
29070 * configure: Regenerated.
29071
29072 2015-10-15 Florian Weimer <fweimer@redhat.com>
29073
29074 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
29075 (struct char_buffer): New type.
29076 (char_buffer_start, char_buffer_size, char_buffer_error)
29077 (char_buffer_rewind, char_buffer_add): New functions.
29078 (ADDW): Remove macro, replaced by the char_buffer_add function.
29079 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
29080 of extend_alloca. Make control flow more explicit.
29081
29082 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29083
29084 [BZ #19137]
29085 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
29086 Add -fomit-frame-pointer.
29087 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
29088
29089 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29090
29091 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
29092 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
29093 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
29094 only if !__GNUC_PREREQ (5,0).
29095 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
29096 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
29097 (INTERNAL_SYSCALL_NCS): Likewise.
29098 (LOADREGS_0): New macro for GCC 5.
29099 (ASMARGS_0): Likewise.
29100 (LOADREGS_1): Likewise.
29101 (ASMARGS_1): Likewise.
29102 (LOADREGS_2): Likewise.
29103 (ASMARGS_2): Likewise.
29104 (LOADREGS_3): Likewise.
29105 (ASMARGS_3): Likewise.
29106 (LOADREGS_4): Likewise.
29107 (ASMARGS_4): Likewise.
29108 (LOADREGS_5): Likewise.
29109 (ASMARGS_5): Likewise.
29110 (LOADREGS_6): Likewise.
29111 (ASMARGS_6): Likewise.
29112
29113 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29114
29115 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
29116 -fomit-frame-pointer.
29117 (CFLAGS-mmap64.c): Likewise.
29118 (CFLAGS-semtimedop.c): Likewise.
29119 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
29120 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
29121 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29122 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29123
29124 2015-10-15 Florian Weimer <fweimer@redhat.com>
29125
29126 [BZ #18928]
29127 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
29128 _dl_pointer_guard member.
29129 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
29130 initializer.
29131 (security_init): Always set up pointer guard.
29132 (process_envvars): Do not process LD_POINTER_GUARD.
29133
29134 2015-10-14 Joseph Myers <joseph@codesourcery.com>
29135
29136 [BZ #19134]
29137 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
29138 (.LC2): Likewise.
29139 (.LC3): Likewise.
29140 (__lround): Do not add 0.5 to integer or out-of-range arguments.
29141
29142 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
29143
29144 [BZ #19129]
29145 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
29146 r0 and r1.
29147
29148 2015-10-14 Namhyung Kim <namhyung@gmail.com>
29149
29150 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
29151
29152 2015-10-14 Carlos O'Donell <carlos@redhat.com>
29153
29154 * include/stap-probe.h: Fix macro definition formatting.
29155
29156 2015-10-14 Florian Weimer <fweimer@redhat.com>
29157
29158 [BZ #19074]
29159 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
29160 load and store num_ifs.
29161
29162 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29163
29164 [BZ #18822]
29165 * sysdeps/unix/sysv/linux/sched_getaffinity.c
29166 (__sched_getaffinity_new): Add libc_hidden_proto and
29167 libc_hidden_def.
29168
29169 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29170
29171 [BZ #19007]
29172 * scripts/localplt.awk: Also allow GOT references.
29173 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
29174 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
29175 with "+ REL R_386_GLOB_DAT".
29176 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
29177 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
29178
29179 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29180
29181 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
29182 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29183 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
29184 Likewise.
29185 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
29186 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
29187 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
29188 INTERNAL_SYSCALLINTERNAL_SYSCALL and
29189 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29190 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
29191 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29192 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
29193 Likewise.
29194 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29195
29196 2015-10-13 Joseph Myers <joseph@codesourcery.com>
29197
29198 [BZ #19125]
29199 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
29200 <math_private.h> and <stdint.h>.
29201 (__llround): Avoid conversions to and from long long int, and
29202 subtractions, where those might raise spurious exceptions.
29203 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
29204 <math_private.h> and <stdint.h>.
29205 (__llroundf): Avoid conversions to and from long long int, and
29206 subtractions, where those might raise spurious exceptions.
29207
29208 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29209
29210 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
29211 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29212 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
29213 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
29214 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
29215 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
29216 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
29217 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
29218 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
29219 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29220 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29221 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29222 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
29223 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29224 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29225 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
29226 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
29227 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
29228 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
29229 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
29230 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
29231 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
29232 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
29233 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
29234 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
29235 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
29236 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
29237 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
29238 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29239 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
29240 (__xstat64_conv): Likewise.
29241 (__xstat32_conv): Likewise.
29242
29243 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29244
29245 * sysdeps/unix/sysv/linux/sysdep.h: New file.
29246 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
29247 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
29248 <sysdeps/unix/sysv/linux/sysdep.h>.
29249 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
29250 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
29251 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
29252 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29253 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
29254 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
29255 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
29256 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
29257 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
29258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29260 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29261 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29262 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29263 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29264 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29265 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
29266 (sysdep-dl-routines): Add sysdep.
29267 [$(subdir) == nptl] (libpthread-routines): Likewise.
29268 [$(subdir) == rt] (librt-routines): Likewise.
29269 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
29270 PIC when branching to SYSCALL_ERROR_LABEL.
29271 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
29272 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
29273 <sysdeps/unix/sysv/linux/sysdep.h>.
29274 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
29275 (SYSCALL_ERROR_ERRNO): Removed.
29276 (SYSCALL_ERROR_HANDLER): Changed to empty.
29277 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
29278 (__syscall_error): New prototype.
29279 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
29280 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
29281
29282 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29283
29284 [BZ #19124]
29285 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
29286 (_dl_runtime_resolve_avx512): Make it a hidden alias of
29287 _dl_runtime_resolve_avx.
29288 (_dl_runtime_profile_avx512): Make it a hidden alias of
29289 _dl_runtime_profile_avx.
29290
29291 2015-10-13 Joseph Myers <joseph@codesourcery.com>
29292
29293 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
29294 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
29295 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
29296 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
29297
29298 [BZ #16422]
29299 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
29300 New configure test.
29301 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
29302 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
29303 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
29304 <math_private.h> and <stdint.h>.
29305 (__llrint): Avoid conversions to long long int where those might
29306 raise spurious exceptions.
29307 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
29308 <math_private.h> and <stdint.h>.
29309 (__llrintf): Avoid conversions to long long int where those might
29310 raise spurious exceptions.
29311
29312 2015-10-12 Andreas Schwab <schwab@suse.de>
29313
29314 [BZ #18969]
29315 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
29316 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
29317 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
29318 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
29319 $(gen-locales).
29320 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
29321 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
29322 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
29323 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
29324 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
29325 $(gen-locales).
29326 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
29327 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
29328 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
29329 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
29330 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
29331 ($(objpfx)tst-ftell-active-handler.out)
29332 ($(objpfx)tst-ftell-append.out)
29333 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
29334 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
29335 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
29336 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
29337 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
29338 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
29339 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
29340 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
29341 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
29342 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
29343 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
29344 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
29345 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
29346 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
29347 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
29348 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
29349 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
29350 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
29351 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
29352 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
29353 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
29354 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
29355 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
29356 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
29357 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
29358 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
29359 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
29360 $(gen-locales).
29361 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
29362 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
29363 $(gen-locales).
29364 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
29365 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
29366 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
29367 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
29368 $(gen-locales).
29369 * libio/tst_wprintf2.c (main): Use explicit locale.
29370 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
29371
29372 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29373
29374 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
29375 __msg_sig_post.
29376 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
29377
29378 2015-10-09 Joseph Myers <joseph@codesourcery.com>
29379
29380 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29381 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29382
29383 * sysdeps/arm/libm-test-ulps: Regenerated.
29384
29385 [BZ #15470]
29386 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
29387
29388 [BZ #16399]
29389 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
29390 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
29391 and <fix-fp-int-convert-overflow.h>.
29392 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29393 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29394 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
29395 and <fix-fp-int-convert-overflow.h>.
29396 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
29397 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29398 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
29399 <fix-fp-int-convert-overflow.h>.
29400 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29401 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29402 * sysdeps/ieee754/dbl-64/s_lround.c: Include
29403 <fix-fp-int-convert-overflow.h>.
29404 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
29405 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29406 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
29407 and <fix-fp-int-convert-overflow.h>.
29408 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29409 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29410 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
29411 <limits.h> and <fix-fp-int-convert-overflow.h>.
29412 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29413 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29414 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
29415 and <fix-fp-int-convert-overflow.h>.
29416 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29417 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29418 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
29419 and <fix-fp-int-convert-overflow.h>.
29420 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29421 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29422 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
29423
29424 2015-10-09 Carlos O'Donell <carlos@redhat.com>
29425
29426 [BZ #18589]
29427 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
29428 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
29429 $(gen-locales).
29430
29431 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29432 Phil Blundell <pb@pbcl.net>
29433
29434 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
29435 * nptl/tst-cancel26.c: New file.
29436 * nptl/tst-cancel27.c: Likewise.
29437
29438 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
29439
29440 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
29441 __ILP32__ isn't defined.
29442 (lrint): Likewise.
29443 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
29444 (lrintf): Likewise.
29445 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
29446 (lrintl): Likewise.
29447 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
29448 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
29449 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
29450
29451 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29452
29453 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
29454 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
29455
29456 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
29457 file.
29458 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
29459 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
29460
29461 2015-10-09 Joseph Myers <joseph@codesourcery.com>
29462
29463 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
29464 configure test.
29465 * sysdeps/i386/configure: Regenerated.
29466 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
29467 configure test.
29468 * sysdeps/x86_64/configure: Regenerated.
29469 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
29470 Make code unconditional.
29471
29472 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
29473 test.
29474 * sysdeps/i386/configure: Regenerated.
29475 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
29476 test.
29477 * sysdeps/x86_64/configure: Regenerated.
29478 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
29479 Make code unconditional.
29480 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
29481 Likewise.
29482 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
29483 Likewise.
29484 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29485 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
29486 code unconditional.
29487 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29488 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
29489 code unconditional.
29490 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29491 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
29492 code unconditional.
29493 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
29494 code unconditional.
29495 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29496 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
29497 code unconditional.
29498 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29499 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
29500 code unconditional.
29501 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29502 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
29503 code unconditional.
29504 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29505 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
29506 code unconditional.
29507 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29508 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
29509
29510 [BZ #19095]
29511 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
29512 mantissa to long int before shifting left.
29513
29514 2015-10-08 Joseph Myers <joseph@codesourcery.com>
29515
29516 [BZ #19094]
29517 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
29518 <limits.h>.
29519 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29520 when result overflows but exception would not result from cast.
29521 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
29522 <limits.h>.
29523 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29524 when result overflows but exception would not result from cast.
29525 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
29526 <limits.h>.
29527 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29528 when result overflows but exception would not result from cast.
29529 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
29530 <limits.h>.
29531 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29532 when result overflows but exception would not result from cast.
29533 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
29534 <limits.h>.
29535 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29536 when result overflows but exception would not result from cast.
29537 * math/libm-test.inc (lrint_test_data): Add more tests.
29538 (llrint_test_data): Likewise.
29539
29540 2015-10-08 Roland McGrath <roland@hack.frob.com>
29541
29542 [BZ #18872]
29543 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
29544 Move out from under [$(run-built-tests) = yes] conditional.
29545 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
29546 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
29547
29548 2015-10-08 Carlos O'Donell <carlos@redhat.com>
29549
29550 [BZ #18589]
29551 * string/Makefile (tests): Add bug-strcoll2.
29552 (LOCALES): Add cs_CZ.UTF-8.
29553 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
29554
29555 [BZ #18589]
29556 * string/bug-strcoll2.c: New file.
29557 * locale/categories.def: Revert commit
29558 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
29559 * locale/langinfo.h: Likewise.
29560 * locale/localeinfo.h: Likewise.
29561 * locale/C-collate.c: Likewise.
29562 * locale/programs/ld-collate.c (collate_output): Likewise.
29563 * string/strcoll_l.c (STRDIFF): Likewise.
29564 (STRCOLL): Likewise.
29565 * wcsmbs/wcscoll_l.c: Likewise.
29566
29567 2015-10-08 Joseph Myers <joseph@codesourcery.com>
29568
29569 * math/libm-test.inc (lround_test_data): Do not expect the absence
29570 of "inexact" for some tests with non-integer arguments.
29571 (llround_test_data): Likewise.
29572
29573 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
29574 test.
29575 (libc_cv_cc_sse2avx): Likewise.
29576 * sysdeps/i386/configure: Regenerated.
29577 * sysdeps/i386/i686/multiarch/Makefile
29578 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
29579 [$(subdir) = math].
29580 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
29581 code unconditional.
29582 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29583 Likewise.
29584 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
29585 Likewise.
29586 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29587 Likewise.
29588 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
29589 test.
29590 (libc_cv_cc_sse2avx): Likewise.
29591 * sysdeps/x86_64/configure: Regenerated.
29592 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
29593 unconditional.
29594 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
29595 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
29596 unconditional.
29597 (_dl_runtime_profile)
29598 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
29599 conditional code.
29600 * sysdeps/x86_64/fpu/multiarch/Makefile
29601 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
29602 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
29603 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29604 * sysdeps/x86_64/fpu/multiarch/e_exp.c
29605 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29606 * sysdeps/x86_64/fpu/multiarch/e_log.c
29607 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29608 * sysdeps/x86_64/fpu/multiarch/s_atan.c
29609 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29610 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29611 Likewise.
29612 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29613 Likewise.
29614 * sysdeps/x86_64/fpu/multiarch/s_sin.c
29615 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29616 * sysdeps/x86_64/fpu/multiarch/s_tan.c
29617 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29618 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
29619 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
29620 (HAVE_SSE2AVX_SUPPORT): Likewise.
29621
29622 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
29623
29624 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
29625 instead of #pragma optimize.
29626
29627 2015-10-07 Carlos O'Donell <carlos@redhat.com>
29628
29629 [BZ #17195]
29630 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
29631 as is similarly done in systrim and _int_free already.
29632
29633 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
29634
29635 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
29636
29637 2015-10-07 Joseph Myers <joseph@codesourcery.com>
29638
29639 [BZ #19088]
29640 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
29641 <limits.h>.
29642 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
29643 overflows but exception would not result from cast.
29644 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
29645 and <limits.h>.
29646 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
29647 overflows but exception would not result from cast.
29648 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
29649 <limits.h>.
29650 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
29651 overflows but exception would not result from cast.
29652 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
29653 <limits.h>.
29654 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
29655 overflows but exception would not result from cast.
29656 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
29657 <limits.h>.
29658 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
29659 overflows but exception would not result from cast.
29660 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
29661 <limits.h>.
29662 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
29663 overflows but exception would not result from cast.
29664 * math/libm-test.inc (lround_test_data): Add more tests.
29665 (llround_test_data): Likewise.
29666
29667 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
29668
29669 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
29670 (CFLAGS-ialloc.c): Ditto.
29671 (CFLAGS-scheck.c): Ditto.
29672
29673 2015-10-07 Carlos O'Donell <carlos@redhat.com>
29674
29675 [BZ #19086]
29676 * manual/filesys.texi (Storage Allocation): Fix argument order for
29677 posix_fallocate64.
29678
29679 2015-10-07 Joseph Myers <joseph@codesourcery.com>
29680
29681 [BZ #19085]
29682 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
29683 exponent below 48 inside case for non-overflowing exponent.
29684 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
29685
29686 2015-10-07 Florian Weimer <fweimer@redhat.com>
29687
29688 * iconvdata/cp737.h (from_idx): Add const.
29689 * iconvdata/cp775.h (from_idx): Likewise.
29690
29691 2015-10-07 Joseph Myers <joseph@codesourcery.com>
29692
29693 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
29694 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
29695 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
29696
29697 [BZ #19079]
29698 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
29699 file, conditioned on [!_LP64].
29700 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
29701 [!_LP64] (__lround): Do not define as function or alias.
29702 [!_LP64] (lround): Likewise.
29703 [!_LP64] (__lroundl): Likewise.
29704 [!_LP64] (lroundl): Likewise.
29705 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
29706 macro.
29707 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
29708 Likewise.
29709
29710 2015-10-06 Joseph Myers <joseph@codesourcery.com>
29711
29712 * math/libm-test.inc (lrint_test_data): Add more tests.
29713 (llrint_test_data): Likewise.
29714 (lround_test_data): Likewise.
29715 (llround_test_data): Likewise.
29716
29717 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
29718 (llrint_test_data): Add tests used for lrint.
29719
29720 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
29721 test.
29722 * sysdeps/i386/configure: Regenerated.
29723 * sysdeps/i386/i686/multiarch/Makefile
29724 [$(config-cflags-sse4) = yes]: Make code unconditional.
29725 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
29726 Likewise.
29727 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
29728 Likewise.
29729 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
29730 test.
29731 * sysdeps/x86_64/configure: Regenerated.
29732 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
29733 Make code unconditional.
29734 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
29735 Likewise.
29736 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
29737 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
29738
29739 * scripts/rpm2dynsym.sh: Remove file.
29740
29741 2015-10-06 Florian Weimer <fweimer@redhat.com>
29742
29743 * configure.ac (libc_cv_cxx_thread_local): Define.
29744 * configure: Regenerate.
29745 * config.make.in (have-cxx-thread_local): Define.
29746 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
29747 (LDLIBS-tst-thread_local1): Define.
29748 (tests): Add tst-thread_local1.
29749 [have-cxx-thread_local != yes] (tests-unsupported): Add
29750 tst-thread_local1.
29751 * nptl/tst-thread_local1.cc: New file.
29752
29753 2015-10-06 Joseph Myers <joseph@codesourcery.com>
29754
29755 [BZ #19078]
29756 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
29757 (u_thres): Likewise.
29758 (__expl): Determine whether to call __kernel_standard_l based on
29759 value of result, not argument.
29760
29761 * math/libm-test.inc (scalb_test_data): Add more expectations for
29762 the "inexact" exception.
29763
29764 [BZ #19077]
29765 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
29766 0.0L for argument 1.0L.
29767
29768 [BZ #19076]
29769 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
29770 constant 0.0L when computing infinite result.
29771
29772 2015-10-06 Florian Weimer <fweimer@redhat.com>
29773
29774 [BZ #10432]
29775 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
29776 malloc_usable_size.
29777
29778 2015-10-06 Florian Weimer <fweimer@redhat.com>
29779
29780 [BZ #19018]
29781 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
29782 Mangle function pointer before storing it.
29783 (__call_tls_dtors): Demangle function pointer before calling it.
29784
29785 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29786
29787 [BZ #19012]
29788 * iconv/gconv_db.c (gen_steps): Check for additional errors.
29789 Clean up on failure.
29790
29791 2015-10-05 Joseph Myers <joseph@codesourcery.com>
29792
29793 [BZ #19071]
29794 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
29795 long int variable to store possibly incremented high part of
29796 mantissa.
29797 * math/libm-test.inc (lround_test_data): Add tests used for
29798 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
29799 for tests requiring 64-bit long. Do not condition tests on
29800 [TEST_FLOAT] unnecessarily.
29801 (llround_test_data): Add tests used for lround. Add another
29802 expectation for the "inexact" exception. Do not condition tests
29803 on [TEST_FLOAT] unnecessarily.
29804
29805 [BZ #887]
29806 [BZ #19049]
29807 [BZ #19050]
29808 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
29809 * sysdeps/ieee754/dbl-64/e_log10.c: Include
29810 <fix-int-fp-convert-zero.h>.
29811 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29812 * sysdeps/ieee754/dbl-64/e_log2.c: Include
29813 <fix-int-fp-convert-zero.h>.
29814 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29815 * sysdeps/ieee754/dbl-64/s_erf.c: Include
29816 <fix-int-fp-convert-zero.h>.
29817 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29818 * sysdeps/ieee754/dbl-64/s_logb.c: Include
29819 <fix-int-fp-convert-zero.h>.
29820 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29821 * sysdeps/ieee754/flt-32/e_log10f.c: Include
29822 <fix-int-fp-convert-zero.h>.
29823 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29824 * sysdeps/ieee754/flt-32/e_log2f.c: Include
29825 <fix-int-fp-convert-zero.h>.
29826 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29827 * sysdeps/ieee754/flt-32/s_erff.c: Include
29828 <fix-int-fp-convert-zero.h>.
29829 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29830 * sysdeps/ieee754/flt-32/s_logbf.c: Include
29831 <fix-int-fp-convert-zero.h>.
29832 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29833 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
29834 <fix-int-fp-convert-zero.h>.
29835 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29836 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
29837 <fix-int-fp-convert-zero.h>.
29838 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29839 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
29840 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
29841 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
29842 file.
29843 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
29844
29845 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
29846
29847 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29848
29849 2015-10-02 Joseph Myers <joseph@codesourcery.com>
29850
29851 [BZ #19059]
29852 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
29853 overflowing computation.
29854 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29855 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
29856 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
29857 Likewise.
29858 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
29859 Likewise.
29860 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
29861 Likewise.
29862 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29863 Likewise.
29864 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
29865 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29866 Likewise.
29867 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29868 Likewise.
29869 * math/libm-test.inc (nexttoward_test_data): Add more tests.
29870
29871 * nss/rewrite_field.c (__nss_rewrite_field): Use
29872 internal_function.
29873 * nss/valid_field.c (__nss_valid_field): Likewise.
29874 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
29875
29876 2015-10-02 Florian Weimer <fweimer@redhat.com>
29877
29878 [BZ #18724]
29879 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
29880 (__nss_invalid_field_characters, __nss_valid_field)
29881 (__nss_valid_list_field, __nss_rewrite_field): Declare.
29882 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
29883 tst-field.c: New file.
29884 * nss/Makefile (routines): Add valid_field, rewrite_field.
29885 (tests-static): Define unconditionally.
29886 (tests): Include tests-static.
29887 [build-static-nss] (tests-static): Use append.
29888 [build-static-nss] (tests): Remove modification.
29889 * nss/getent.c (print_group): Call putgrent. Report error.
29890 (print_gshadow): Call putsgent. Report error.
29891 (print_passwd): Call putpwent. Report error.
29892 (print_shadow): Call putspent. Report error.
29893 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
29894 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
29895 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
29896 name, password, directory, shell fields for valid syntax. Rewrite
29897 GECOS field to match syntax.
29898 * pwd/Makefile (tests): Add tst-putpwent.
29899 * pwd/tst-putpwent.c: New file.
29900 * grp/putgrent.c (putgrent): Convert to ISO function definition.
29901 Check grName, grpasswd, gr_mem fields for valid syntax.
29902 Change loop variable i to size_t.
29903 * grp/Makefile (tests): Add tst-putgrent.
29904 * grp/tst-putgrent.c: New file.
29905 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
29906 valid syntax.
29907 * shadow/Makefile (tests): Add tst-putspent.
29908 * shadow/tst-putspent.c: New file.
29909 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
29910 sg_mem fields for valid syntax.
29911 * gshadow/Makefile (tests): Add tst-putsgent.
29912 * gshadow/tst-putsgent.c: New file.
29913
29914 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29915
29916 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
29917 assembly instructions.
29918
29919 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29920
29921 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
29922 prefix from operands.
29923
29924 2015-10-01 Joseph Myers <joseph@codesourcery.com>
29925
29926 [BZ #16347]
29927 [BZ #19046]
29928 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
29929 <libc-internal.h>.
29930 (MAXLGM): Do not use diagnostic control macros.
29931 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
29932 threshold for ldbl-128ibm.
29933 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
29934 instead of multiplying by log then subtracting.
29935 * math/auto-libm-test-in: Add more tests of lgamma.
29936 * math/auto-libm-test-out: Regenerated.
29937
29938 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
29939 (TYPE_HEX_DIG): Likewise.
29940 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
29941 precisions when printing floating-point numbers.
29942 (check_float_internal): Likewise.
29943
29944 2015-09-30 Joseph Myers <joseph@codesourcery.com>
29945
29946 [BZ #16620]
29947 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
29948 of log (10) rounded downward to 48 bits.
29949 (log10_low): Use corresponding low part of log (10).
29950
29951 [BZ #19032]
29952 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
29953 compute result as (x - x) / (x - x) not as 0 / 0.
29954 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
29955 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
29956
29957 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
29958 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
29959 and expm1.
29960 * math/auto-libm-test-out: Regenerated.
29961 * math/libm-test.inc (acos_test_data): Add more tests.
29962 (asin_test_data): Likewise.
29963 (asinh_test_data): Likewise.
29964 (atan_test_data): Likewise.
29965 (atanh_test_data): Likewise.
29966 (atan2_test_data): Likewise.
29967 (cbrt_test_data): Likewise.
29968 (ceil_test_data): Likewise.
29969 (copysign_test_data): Likewise.
29970 (cos_test_data): Likewise.
29971 (cosh_test_data): Likewise.
29972 (erf_test_data): Likewise.
29973 (erfc_test_data): Likewise.
29974 (exp_test_data): Likewise.
29975 (exp10_test_data): Likewise.
29976 (exp2_test_data): Likewise.
29977 (expm1_test_data): Likewise.
29978 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29979
29980 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
29981
29982 [BZ #19006]
29983 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
29984 to ...
29985 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
29986 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
29987 to ...
29988 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
29989 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
29990 to ...
29991 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
29992 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
29993 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
29994 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
29995 to ...
29996 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
29997 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
29998 Moved to ...
29999 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
30000 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
30001 Moved to ...
30002 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
30003 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
30004 to ...
30005 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
30006 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
30007 Moved to ...
30008 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
30009 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
30010 to ...
30011 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
30012 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
30013 Removed.
30014 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
30015 Likewise.
30016 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
30017 Likewise.
30018 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
30019 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
30020 Likewise.
30021 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
30022 Likewise.
30023 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
30024 Likewise.
30025 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
30026 Likewise.
30027 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
30028 Likewise.
30029 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
30030 Likewise.
30031 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
30032 Likewise.
30033 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
30034 Likewise.
30035 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
30036 Likewise.
30037 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
30038 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
30039 Likewise.
30040 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
30041 Likewise.
30042 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
30043 Likewise.
30044 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
30045 Likewise.
30046 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
30047 Likewise.
30048 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
30049 Replace ../i486/pthread_cond_timedwait.S with
30050 ../pthread_cond_timedwait.S.
30051
30052 2015-09-30 Joseph Myers <joseph@codesourcery.com>
30053
30054 * math/libm-test.inc (acos_test_data): Refine expectations for
30055 errno and "inexact" exceptions.
30056 (acosh_test_data): Likewise.
30057 (asin_test_data): Likewise.
30058 (asinh_test_data): Likewise.
30059 (atan_test_data): Likewise.
30060 (atanh_test_data): Likewise.
30061 (atan2_test_data): Likewise.
30062 (cbrt_test_data): Likewise.
30063 (ceil_test_data): Likewise.
30064 (copysign_test_data): Likewise.
30065 (cosh_test_data): Likewise.
30066 (erf_test_data): Likewise.
30067 (erfc_test_data): Likewise.
30068 (exp_test_data): Likewise.
30069 (exp10_test_data): Likewise.
30070 (exp2_test_data): Likewise.
30071 (expm1_test_data): Likewise.
30072 (fabs_test_data): Likewise.
30073 (floor_test_data): Likewise.
30074 (fma_test_data): Likewise.
30075 (fmax_test_data): Likewise.
30076 (fmin_test_data): Likewise.
30077 (fmod_test_data): Likewise.
30078 (fpclassify_test_data): Likewise.
30079 (frexp_test_data): Likewise.
30080 (hypot_test_data): Likewise.
30081 (ilogb_test_data): Likewise.
30082 (isgreater_test_data): Likewise.
30083 (isgreaterequal_test_data): Likewise.
30084 (isinf_test_data): Likewise.
30085 (isless_test_data): Likewise.
30086 (islessequal_test_data): Likewise.
30087 (islessgreater_test_data): Likewise.
30088 (isnan_test_data): Likewise.
30089 (isnormal_test_data): Likewise.
30090 (issignaling_test_data): Likewise.
30091 (isunordered_test_data): Likewise.
30092 (j0_test_data): Likewise.
30093 (j1_test_data): Likewise.
30094 (jn_test_data): Likewise.
30095 (lgamma_test_data): Likewise.
30096 (lrint_test_data): Likewise.
30097 (llrint_test_data): Likewise.
30098 (log_test_data): Likewise.
30099 (log10_test_data): Likewise.
30100 (log1p_test_data): Likewise.
30101 (log2_test_data): Likewise.
30102 (logb_test_data): Likewise.
30103 (lround_test_data): Likewise.
30104 (llround_test_data): Likewise.
30105 (modf_test_data): Likewise.
30106 (nearbyint_test_data): Likewise.
30107 (nextafter_test_data): Likewise.
30108 (nexttoward_test_data): Likewise.
30109 (pow_test_data): Likewise.
30110 (remainder_test_data): Likewise.
30111 (remquo_test_data): Likewise.
30112 (rint_test_data): Likewise.
30113 (round_test_data): Likewise.
30114 (signbit_test_data): Likewise.
30115 (sinh_test_data): Likewise.
30116 (sqrt_test_data): Likewise.
30117 (tanh_test_data): Likewise.
30118 (tgamma_test_data): Likewise.
30119 (trunc_test_data): Likewise.
30120 (y0_test_data): Likewise.
30121 (y1_test_data): Likewise.
30122 (yn_test_data): Likewise.
30123 (significand_test_data): Likewise.
30124
30125 2015-09-29 Carlos O'Donell <carlos@redhat.com>
30126
30127 * manual/filesys.texi (Storage Allocation): Document that
30128 posix_fallocate emulation fails when fd is open with O_WRONLY.
30129
30130 2015-09-28 Joseph Myers <joseph@codesourcery.com>
30131
30132 [BZ #19016]
30133 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
30134 allow more cases with X^2 + Y^2 >= 0.5.
30135 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
30136 normal element in sum instead of special-casing based on values of
30137 arguments.
30138 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
30139 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
30140 -1 as normal element in sum instead of special-casing based on
30141 values of arguments.
30142 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
30143 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
30144 (__x2y2m1): Update comment.
30145 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
30146 as normal element in sum instead of special-casing based on values
30147 of arguments.
30148 * math/s_clog.c (__clog): Handle more cases using log1p without
30149 hypot.
30150 * math/s_clog10.c (__clog10): Likewise.
30151 * math/s_clog10f.c (__clog10f): Likewise.
30152 * math/s_clog10l.c (__clog10l): Likewise.
30153 * math/s_clogf.c (__clogf): Likewise.
30154 * math/s_clogl.c (__clogl): Likewise.
30155 * math/auto-libm-test-in: Add more tests of clog and clog10.
30156 * math/auto-libm-test-out: Regenerated.
30157 * sysdeps/i386/fpu/libm-test-ulps: Update.
30158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30159
30160 2015-09-28 Martin Sebor <msebor@redhat.com>
30161
30162 [BZ #18969]
30163 * string/Makefile (LOCALES): Define.
30164 (gen-locales.mk): Include.
30165 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
30166 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
30167 * string/tst-strxfrm2.c (do_test): Print the name of the locale
30168 on setlocale failure.
30169
30170 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
30171
30172 [BZ #18985]
30173 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
30174 (__strftime_internal): Likewise.
30175 * time/tst-strftime.c (do_bz18985): New test.
30176 (do_test): Call it.
30177
30178 2015-09-26 Joseph Myers <joseph@codesourcery.com>
30179
30180 [BZ #18956]
30181 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
30182 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
30183 extracting high part.
30184 * math/auto-libm-test-in: Add another test of pow.
30185 * math/auto-libm-test-out: Regenerated.
30186 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30187
30188 2015-09-25 Joseph Myers <joseph@codesourcery.com>
30189
30190 [BZ #18825]
30191 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
30192 New macro.
30193 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
30194 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30195 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
30196 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
30197 DBL_NARROW_EVAL, reloading the PIC register as needed.
30198 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
30199 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
30200 FLT_NARROW_EVAL. Use separate return path for case when first
30201 argument is NaN.
30202 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
30203 DEFINE_LDBL_MIN.
30204 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
30205 PIC register.
30206 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
30207 math_check_force_underflow_nonneg.
30208 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
30209 underflow for subnormal result.
30210 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
30211 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
30212 math_check_force_underflow_nonneg.
30213 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
30214 math_check_force_underflow.
30215 * sysdeps/x86_64/fpu/x86_64-math-asm.h
30216 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
30217 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
30218 DEFINE_LDBL_MIN.
30219 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
30220 * math/auto-libm-test-in: Add more tests of pow.
30221 * math/auto-libm-test-out: Regenerated.
30222
30223 2015-09-25 Florian Weimer <fweimer@redhat.com>
30224
30225 * nss/bug17079.c (init_test_items): Add diagnostic for
30226 inconsistent entries.
30227 (test_buffer_size): Skip inconsistent entries.
30228
30229 2015-09-25 Joseph Myers <joseph@codesourcery.com>
30230
30231 [BZ #13304]
30232 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
30233 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
30234 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
30235
30236 [BZ #13304]
30237 * sysdeps/microblaze/s_fma.c: New file.
30238 * sysdeps/microblaze/s_fmaf.c: Likewise.
30239 * sysdeps/microblaze/sfp-machine.h: Likewise.
30240
30241 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
30242
30243 [BZ #17250]
30244 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
30245 member.
30246
30247 2015-09-24 Joseph Myers <joseph@codesourcery.com>
30248
30249 [BZ #18803]
30250 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
30251 (MO): New macro.
30252 (__ieee754_hypot) [PIC]: Load PIC register.
30253 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
30254 DBL_NARROW_EVAL.
30255 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
30256 math_check_force_underflow_nonneg in case where result might be
30257 tiny.
30258 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
30259 Likewise.
30260 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30261 Likewise.
30262 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
30263 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
30264 * math/auto-libm-test-in: Add more tests of hypot.
30265 * math/auto-libm-test-out: Regenerated.
30266
30267 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
30268
30269 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
30270
30271 2015-09-24 Joseph Myers <joseph@codesourcery.com>
30272
30273 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
30274 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
30275 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30276 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30277 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
30278 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30279 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30280
30281 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
30282 LOAD_PIC_REG.
30283
30284 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
30285 (FLT_CHECK_FORCE_UFLOW): Likewise.
30286 (DBL_CHECK_FORCE_UFLOW): Likewise.
30287 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
30288 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
30289 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
30290 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30291 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30292 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30293 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30294 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30295 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
30296 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30297 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
30298 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
30299 (flt_min): Replace with use of DEFINE_FLT_MIN.
30300 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
30301 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
30302 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30303 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
30304 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
30305 (flt_min): Replace with use of DEFINE_FLT_MIN.
30306 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
30307 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
30308 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30309 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
30310 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
30311 (flt_min): Replace with use of DEFINE_FLT_MIN.
30312 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
30313 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
30314 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30315 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30316 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
30317 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30318 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30319 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
30320 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30321 (__atan): Use DBL_CHECK_FORCE_UFLOW.
30322 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
30323 (flt_min): Replace with use of DEFINE_FLT_MIN.
30324 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
30325 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
30326 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30327 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
30328 main computation.
30329 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
30330 (flt_min): Replace with use of DEFINE_FLT_MIN.
30331 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
30332 main computation.
30333 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
30334 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30335 (MO): New macro.
30336 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
30337 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
30338 (flt_min): Replace with use of DEFINE_FLT_MIN.
30339 (MO): New macro.
30340 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
30341 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
30342 (__log1pl): Use MO.
30343
30344 [BZ #19003]
30345 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
30346 $(config-cflags-nofma).
30347
30348 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30349
30350 * sysdeps/aarch64/libm-test-ulps: Regenerated.
30351
30352 2015-09-23 Joseph Myers <joseph@codesourcery.com>
30353
30354 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
30355 (TWO127): Likewise.
30356
30357 * sysdeps/generic/math_private.h (fabs_tg): New macro.
30358 (min_of_type): Likewise.
30359 (math_check_force_underflow): Likewise.
30360 (math_check_force_underflow_nonneg): Likewise.
30361 (math_check_force_underflow_complex): Likewise.
30362 * math/e_exp2l.c (__ieee754_exp2l): Use
30363 math_check_force_underflow_nonneg.
30364 * math/k_casinh.c (__kernel_casinh): Likewise.
30365 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30366 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30367 * math/s_catan.c (__catan): Use
30368 math_check_force_underflow_complex.
30369 * math/s_catanf.c (__catanf): Likewise.
30370 * math/s_catanh.c (__catanh): Likewise.
30371 * math/s_catanhf.c (__catanhf): Likewise.
30372 * math/s_catanhl.c (__catanhl): Likewise.
30373 * math/s_catanl.c (__catanl): Likewise.
30374 * math/s_ccosh.c (__ccosh): Likewise.
30375 * math/s_ccoshf.c (__ccoshf): Likewise.
30376 * math/s_ccoshl.c (__ccoshl): Likewise.
30377 * math/s_cexp.c (__cexp): Likewise.
30378 * math/s_cexpf.c (__cexpf): Likewise.
30379 * math/s_cexpl.c (__cexpl): Likewise.
30380 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
30381 * math/s_clog10.c (__clog10): Likewise.
30382 * math/s_clog10f.c (__clog10f): Likewise.
30383 * math/s_clog10l.c (__clog10l): Likewise.
30384 * math/s_clogf.c (__clogf): Likewise.
30385 * math/s_clogl.c (__clogl): Likewise.
30386 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
30387 * math/s_csinf.c (__csinf): Likewise.
30388 * math/s_csinh.c (__csinh): Likewise.
30389 * math/s_csinhf.c (__csinhf): Likewise.
30390 * math/s_csinhl.c (__csinhl): Likewise.
30391 * math/s_csinl.c (__csinl): Likewise.
30392 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
30393 * math/s_csqrtf.c (__csqrtf): Likewise.
30394 * math/s_csqrtl.c (__csqrtl): Likewise.
30395 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
30396 * math/s_ctanf.c (__ctanf): Likewise.
30397 * math/s_ctanh.c (__ctanh): Likewise.
30398 * math/s_ctanhf.c (__ctanhf): Likewise.
30399 * math/s_ctanhl.c (__ctanhl): Likewise.
30400 * math/s_ctanl.c (__ctanl): Likewise.
30401 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
30402 instead of volatile.
30403 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
30404 math_check_force_underflow.
30405 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
30406 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
30407 volatile when forcing underflow.
30408 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30409 math_check_force_underflow_nonneg.
30410 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
30411 Likewise.
30412 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
30413 math_check_force_underflow.
30414 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30415 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30416 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
30417 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
30418 math_check_force_underflow_nonneg.
30419 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
30420 math_check_force_underflow.
30421 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
30422 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
30423 instead of volatile.
30424 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
30425 math_check_force_underflow.
30426 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30427 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30428 math_check_force_underflow_nonneg.
30429 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
30430 math_check_force_underflow.
30431 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
30432 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
30433 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
30434 math_check_force_underflow_nonneg.
30435 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30436 Likewise.
30437 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
30438 math_check_force_underflow.
30439 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30440 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30441 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
30442 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
30443 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
30444 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
30445 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
30446 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
30447 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30448 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
30449 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
30450 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
30451 Likewise.
30452 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
30453 math_check_force_underflow_nonneg.
30454 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30455 Likewise.
30456 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
30457 math_check_force_underflow.
30458 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30459 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
30460 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
30461 Likewise.
30462 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
30463 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
30464 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
30465 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
30466 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
30467 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
30468 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
30469 instead of volatile.
30470 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
30471 math_check_force_underflow.
30472 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
30473 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
30474 math_check_force_underflow.
30475 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
30476 Likewise.
30477 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30478 Use math_check_force_underflow_nonneg.
30479 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
30480 math_check_force_underflow.
30481 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
30482 Likewise.
30483 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
30484 Likewise.
30485 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30486 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30487 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30488 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30489 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
30490 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30491 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
30492 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
30493 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
30494 math_check_force_underflow_nonneg.
30495 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
30496 math_check_force_underflow.
30497 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30498 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
30499 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
30500 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
30501 math_check_force_underflow_nonneg.
30502 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
30503 math_check_force_underflow.
30504 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
30505 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
30506 instead of volatile.
30507 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
30508 math_check_force_underflow.
30509
30510 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
30511 * stdlib/strtod_l.c: Include <math_private.h>.
30512 (overflow_value): Use math_narrow_eval.
30513 (underflow_value): Likewise.
30514 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30515 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30516 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
30517 (__ieee754_gamma_r): Likewise.
30518 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
30519 Likewise.
30520 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
30521 Likewise.
30522 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
30523 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
30524 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
30525 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
30526 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
30527 (__ieee754_gammaf_r): Likewise.
30528 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
30529 Likewise.
30530 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
30531 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
30532 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
30533 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
30534 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
30535 volatile.
30536 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
30537 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
30538 math_narrow_eval.
30539 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30540 Likewise.
30541 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30542 Likewise.
30543 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
30544 Likewise.
30545 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
30546 volatile.
30547 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
30548 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
30549 math_narrow_eval.
30550 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30551 Likewise.
30552 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30553 Likewise.
30554
30555 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
30556
30557 * nptl/Versions: Remove ignored symbols.
30558
30559 2015-09-22 Florian Weimer <fweimer@redhat.com>
30560
30561 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
30562 * nss/Makefile (tests): Update.
30563
30564 2015-09-22 Florian Weimer <fweimer@redhat.com>
30565
30566 * nss/bug18287.c: New file.
30567 * nss/Makefile (tests): Add bug18287.
30568
30569 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30570
30571 * mach/Versions (__mach_host_self_): Add symbol.
30572
30573 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
30574
30575 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
30576 vm_page_size.
30577
30578 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
30579
30580 Really fix sysdeps/i386/fpu/s_scalbn.S build
30581
30582 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
30583 (libc: GLIBC_2_22): Remove unused version set.
30584
30585 2015-09-18 Mike Frysinger <vapier@gentoo.org>
30586
30587 * config.make.in (enable-timezone-tools): New variable.
30588 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
30589 (enable_timezone_tools): Export to generated files.
30590 * configure: Regenerate.
30591 * INSTALL: Regenerate.
30592 * manual/install.texi (--disable-timezone-tools): Document new flag.
30593 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
30594 ifeq ($(enable-timezone-tools),yes) check.
30595
30596 2015-09-18 Joseph Myers <joseph@codesourcery.com>
30597
30598 * timezone/Makefile: Revert previous change.
30599
30600 [BZ #18980]
30601 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
30602 (DEFINE_DBL_MIN): Likewise.
30603 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30604 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30605 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30606 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30607 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
30608 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30609 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30610 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
30611 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
30612 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30613 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30614 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
30615 (flt_min): Replace with use of DEFINE_FLT_MIN.
30616 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30617 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
30618 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30619 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30620 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
30621 (flt_min): Replace with use of DEFINE_FLT_MIN.
30622 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30623 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
30624 (flt_min): Replace with use of DEFINE_FLT_MIN.
30625 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30626 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
30627 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
30628 (__ieee754_hypot): Use DBL_NARROW_EVAL.
30629 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
30630 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
30631 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
30632 (__ieee754_pow): Use DBL_NARROW_EVAL.
30633 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
30634 (__ieee754_powf): Use FLT_NARROW_EVAL.
30635 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
30636 (__ieee754_expf_sse2): Convert double-precision result to single
30637 precision.
30638 * sysdeps/i386/fpu/libm-test-ulps: Update.
30639
30640 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30641
30642 * timezone/Makefile: Ignore unused variable errors due to private.h
30643 (time_t_min) and (time_t_max).
30644 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
30645 Likewise.
30646
30647 2015-09-18 Joseph Myers <joseph@codesourcery.com>
30648
30649 [BZ #18981]
30650 * sysdeps/i386/fpu/i386-math-asm.h: New file.
30651 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
30652 (__ieee754_scalb): Use DBL_NARROW_EVAL.
30653 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
30654 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
30655 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
30656 (__scalbn): Use DBL_NARROW_EVAL.
30657 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
30658 (__scalbnf): Use FLT_NARROW_EVAL.
30659
30660 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30661
30662 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
30663 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
30664 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
30665 * stdio-common/printf_fp.c (___printf_fp):
30666 Use signbit to get the sign. Use isinf macro to allow inlining.
30667 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
30668 * stdio-common/printf_size.c (__printf_size): Likewise.
30669
30670 2015-09-18 Mike Frysinger <vapier@gentoo.org>
30671
30672 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
30673
30674 2015-09-18 Joseph Myers <joseph@codesourcery.com>
30675
30676 [BZ #18980]
30677 * sysdeps/generic/math_private.h: Include <float.h>.
30678 (math_narrow_eval): New macro.
30679 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
30680 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
30681 math_narrow_eval on overflowing return value.
30682 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
30683 Likewise.
30684 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30685 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
30686 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
30687 Likewise.
30688 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30689
30690 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30691
30692 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
30693 * math/Makefile: Remove isinf_ns.c.
30694 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
30695 * math/multc3.c (__multc3): Likewise.
30696 * math/s_casin.c (__casin): Likewise.
30697 * math/s_casinf.c (__casinf): Likewise.
30698 * math/s_casinl.c (__casinl): Likewise.
30699 * math/s_cproj.c (__cproj): Likewise.
30700 * math/s_cprojf.c (__cprojf): Likewise.
30701 * math/s_cprojl.c (__cprofl): Likewise.
30702 * math/s_ctan.c (__ctan): Likewise.
30703 * math/s_ctanf.c (__ctanf): Likewise.
30704 * math/s_ctanh.c (__ctanh): Likewise.
30705 * math/s_ctanhf.c (__ctanhf): Likewise.
30706 * math/s_ctanhl.c (__ctanhl): Likewise.
30707 * math/s_ctanl.c (__ctanl): Likewise.
30708 * math/w_fmod.c (__fmod): Likewise.
30709 * math/w_fmodf.c (__fmodf): Likewise.
30710 * math/w_fmodl.c (_fmodl): Likewise.
30711 * math/w_remainder.c (__remainder): Likewise.
30712 * math/w_remainderf.c (__remainderf): Likewise.
30713 * math/w_remainderl.c (__remainderl): Likewise.
30714 * math/w_scalb.c (__scalb): Likewise.
30715 * math/w_scalbf.c (__scalbf): Likewise.
30716 * math/w_scalbl.c (__scalbl): Likewise.
30717 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
30718 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
30719 with isinf.
30720 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
30721 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
30722 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
30723 __isinf_nsf with isinf.
30724 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
30725 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
30726 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
30727 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
30728 with isinf.
30729 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
30730 __isinf_nsl with isinf.
30731 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
30732 with isinf.
30733 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
30734 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
30735 __isinf_nsl with isinf.
30736 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
30737 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
30738 with isinf.
30739
30740 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30741
30742 * resolv/base64.c (rcsid): Remove unused static.
30743 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
30744 static. (tqpi1): Likewise.
30745 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
30746 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
30747 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
30748 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
30749 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
30750 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
30751 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
30752 * timezone/private.h (time_t_min): Likewise. (time_t_max):
30753 Likewise.
30754
30755 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
30756
30757 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
30758 <nptl/pthreadP.h>.
30759 (_longjmp_unwind): Use __libc_ptf_call.
30760 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
30761
30762 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
30763
30764 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
30765 * sysdeps/arm/__longjmp.S: Likewise.
30766
30767 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30768
30769 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
30770 Use __builtin_signbit.
30771 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
30772 Use __builtin_signbitf.
30773 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
30774 Use __builtin_signbitl.
30775 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30776 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
30777
30778 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30779
30780 [BZ #15367]
30781 [BZ #17441]
30782
30783 * math/Makefile: Build test-snan.c with -fsignaling-nans.
30784 * math/math.h (fpclassify): Use __builtin_fpclassify when
30785 available. (signbit): Use __builtin_signbit(f/l).
30786 (isfinite): Use__builtin_isfinite. (isnormal): Use
30787 __builtin_isnormal. (isnan): Use __builtin_isnan.
30788 (isinf): Use __builtin_isinf_sign.
30789
30790 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30791
30792 * benchtests/Makefile: Add bench-math-inlines, link with libm.
30793 * benchtests/bench-math-inlines.c: New benchmark.
30794 * benchtests/bench-util.h: New file.
30795 * benchtests/bench-util.c: New file.
30796 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
30797
30798 2015-09-18 Carlos O'Donell <carlos@redhat.com>
30799
30800 * elf/tst-dlmopen1.c: Define TEST_SO.
30801 (do_test): Use TEST_SO.
30802
30803 * elf/dl-load.c: Include libc-internal.h.
30804 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
30805
30806 2015-09-18 Vincent Bernat <vincent@bernat.im>
30807
30808 [BZ #17887]
30809 * time/strptime_l.c (__strptime_internal): Make %z accept
30810 [+-]HH:MM time zones.
30811
30812 2015-09-18 Vincent Bernat <vincent@bernat.im>
30813
30814 [BZ #17886]
30815 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
30816 valid time zone.
30817
30818 2015-09-17 Mike Frysinger <vapier@gentoo.org>
30819
30820 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
30821 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
30822 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30823 (__ASSUME_FDATASYNC): Delete.
30824
30825 2015-09-17 Joseph Myers <joseph@codesourcery.com>
30826
30827 * conform/linknamespace.pl: Require weak undefined symbols to be
30828 in the standard namespace.
30829 (%strong_syms): Rename to %seen_syms.
30830 (%strong_seen): Rename to %seen_where.
30831
30832 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
30833
30834 [BZ #18970]
30835 * misc/error.c (error): Replace pthread_setcancelstate with
30836 __pthread_setcancelstate.
30837 (error_at_line): Likewise.
30838 * posix/wordexp.c (parse_comm): Likewise.
30839 * stdlib/fmtmsg.c (fmtmsg): Likewise.
30840 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
30841 (__pthread_setcancelstate): This.
30842 (pthread_setcancelstate): Add an alias.
30843 * nptl/nptl-init.c (pthread_functions): Replace
30844 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
30845 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
30846 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
30847 hidden_proto.
30848 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
30849 it with hidden_def.
30850 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
30851 (pthread_setcancelstate): Renamed to ...
30852 (__pthread_setcancelstate): This.
30853 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
30854 __libc_ptf_call with __pthread_setcancelstate.
30855
30856 2015-09-17 Joseph Myers <joseph@codesourcery.com>
30857 Andreas Schwab <schwab@suse.de>
30858
30859 [BZ #17118]
30860 * math/s_ctan.c (__ctan): Determine sign of zero real part of
30861 result when imaginary part of argument is infinite using sine and
30862 cosine.
30863 * math/s_ctanf.c (__ctanf): Likewise.
30864 * math/s_ctanl.c (__ctanl): Likewise.
30865 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
30866 of result when real part of argument is infinite using sine and
30867 cosine.
30868 * math/s_ctanhf.c (__ctanhf): Likewise.
30869 * math/s_ctanhl.c (__ctanhl): Likewise.
30870 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
30871 (ctanh_test_data): Add more tests of ctanh.
30872
30873 2015-09-17 Joseph Myers <joseph@codesourcery.com>
30874
30875 [BZ #15384]
30876 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
30877 bit-mask as in subtraction.
30878 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
30879 Likewise.
30880 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
30881 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
30882 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
30883
30884 [BZ #18951]
30885 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
30886 underflow exception for small results.
30887 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30888 Likewise.
30889 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30890 Likewise.
30891 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30892 Likewise.
30893 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
30894 Likewise.
30895 * math/auto-libm-test-in: Add more tests of tgamma.
30896 * math/auto-libm-test-out: Regenerated.
30897
30898 2015-09-17 Andreas Schwab <schwab@suse.de>
30899
30900 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
30901
30902 2015-09-16 Joseph Myers <joseph@codesourcery.com>
30903
30904 [BZ #18977]
30905 * math/bits/mathcalls.h
30906 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
30907 not declare.
30908 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
30909 Likewise.
30910 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
30911 Likewise.
30912 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
30913 Likewise.
30914 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
30915 Likewise.
30916 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
30917 Likewise.
30918 * conform/data/math.h-data
30919 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
30920 function.
30921 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
30922 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
30923 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
30924 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
30925 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
30926 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
30927 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
30928 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
30929 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
30930 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
30931 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
30932
30933 [BZ #6803]
30934 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
30935 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
30936 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
30937 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
30938 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
30939 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
30940 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
30941 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
30942 [NO_LONG_DOUBLE] (scalbnl): Likewise.
30943 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
30944 Likewise.
30945 [NO_LONG_DOUBLE] (scalbnl): Likewise.
30946 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
30947 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
30948 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
30949 long_double_symbol calls.
30950 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
30951 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
30952 strong alias of __ldexpl.
30953 (scalbnl): Define using long_double_symbol.
30954 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
30955 Remove alias.
30956 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
30957 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
30958 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
30959 (scalbln_test_data): Add more errno expectations.
30960
30961 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
30962
30963 Cache the host port like we cache the task port. This way we do not
30964 need to call the kernel just to get the port. Furthermore, we no
30965 longer increase the reference count on every invocation of
30966 `mach_host_self'.
30967
30968 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
30969 Protect declarations against the macro expansion.
30970 * mach/mach_init.c (__mach_host_self_): New variable.
30971 (mach_init): Initialize `__mach_host_self_'.
30972 * mach/mach_init.h (__mach_host_self_): New declaration.
30973 (__mach_host_self, mach_host_self): New macros.
30974 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
30975 Release reference.
30976
30977 2015-09-16 Joseph Myers <joseph@codesourcery.com>
30978
30979 [BZ #4404]
30980 * po/de.po: Update from Translation Project.
30981
30982 [BZ #16415]
30983 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
30984 (__expm1l): Remove code to handle positive infinity and overflow.
30985 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
30986 variable.
30987 (__expm1l): Remove code to handle positive infinity and overflow.
30988
30989 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
30990 Paul Pluzhnikov <ppluzhnikov@google.com>
30991
30992 [BZ #18872]
30993 * stdio-common/Makefile (tst-printf-bz18872): New test.
30994 (tst-printf-bz18872-mem.out): Likewise.
30995 * stdio-common/tst-printf-bz18872.sh: Generate new test.
30996 * stdio-common/vfprintf.c: Fix memory leaks.
30997
30998 2015-09-16 Andreas Schwab <schwab@suse.de>
30999
31000 [BZ #17244]
31001 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
31002 Remove extra va_start/va_end calls.
31003
31004 [BZ #17243]
31005 * posix/execl.c (execl): Add missing va_end.
31006 * posix/execle.c (execle): Likewise.
31007 * posix/execlp.c (execlp): Likewise.
31008
31009 2015-09-15 Roland McGrath <roland@hack.frob.com>
31010
31011 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
31012 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
31013
31014 2015-09-15 Joseph Myers <joseph@codesourcery.com>
31015
31016 [BZ #18967]
31017 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
31018 undefine around includes of <bits/mathcalls.h>.
31019 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
31020 not declare function.
31021 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
31022 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
31023 (scalb): Likewise.
31024 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
31025 not define macro.
31026 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
31027 variable.
31028 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31029 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31030 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31031
31032 [BZ #18857]
31033 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
31034 return non-finite argument without doing ordered comparisons on
31035 it.
31036
31037 [BZ #16296]
31038 * math/fenv.h (fegetround): Use __attribute_pure__.
31039 * include/fenv.h (__fegetround): Likewise.
31040
31041 [BZ #18595]
31042 * math/s_ctan.c (__ctan): Force underflow exception for results
31043 whose real or imaginary part has small absolute value.
31044 * math/s_ctanf.c (__ctanf): Likewise.
31045 * math/s_ctanh.c (__ctanh): Likewise.
31046 * math/s_ctanhf.c (__ctanhf): Likewise.
31047 * math/s_ctanhl.c (__ctanhl): Likewise.
31048 * math/s_ctanl.c (__ctanl): Likewise.
31049 * math/auto-libm-test-in: Do not allow missing underflow for ctan
31050 and ctanh. Add more tests of ctan and ctanh.
31051
31052 [BZ #15918]
31053 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
31054 handling of cases where one argument is an infinity.
31055
31056 [BZ #18875]
31057 [BZ #18966]
31058 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
31059 (MO): New macro.
31060 (__ieee754_exp10): For small results, force underflow exception
31061 and remove excess range and precision from return value.
31062 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
31063 (MO): New macro.
31064 (__ieee754_exp10f): For small results, force underflow exception
31065 and remove excess range and precision from return value.
31066 * math/auto-libm-test-in: Add more tests of exp10.
31067 * math/auto-libm-test-out: Regenerated.
31068
31069 2015-09-14 Joseph Myers <joseph@codesourcery.com>
31070
31071 [BZ #18875]
31072 [BZ #18961]
31073 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
31074 (MO): New macro.
31075 (__ieee754_exp): For small results, force underflow exception and
31076 remove excess range and precision from return value.
31077 (__exp_finite): Likewise.
31078 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
31079 (MO): New macro.
31080 (__ieee754_expf): For small results, force underflow exception and
31081 remove excess range and precision from return value.
31082 (__expf_finite): Likewise.
31083 * math/auto-libm-test-in: Add more tests of exp.
31084 * math/auto-libm-test-out: Regenerated.
31085
31086 [BZ #16521]
31087 [BZ #18875]
31088 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
31089 small results.
31090 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
31091 (MO): New macro.
31092 (__ieee754_exp2): For small results, force underflow exception and
31093 remove excess range and precision from return value.
31094 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
31095 (MO): New macro.
31096 (__ieee754_exp2f): For small results, force underflow exception
31097 and remove excess range and precision from return value.
31098 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
31099 (MO): New macro.
31100 (__ieee754_exp2l): Force underflow exception for small results.
31101 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31102 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31103 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
31104 (MO): New macro.
31105 (__ieee754_exp2l): Force underflow exception for small results.
31106 * math/auto-libm-test-in: Add more tests or exp2.
31107 * math/auto-libm-test-out: Regenerated.
31108
31109 2015-09-14 Carlos O'Donell <carlos@redhat.com>
31110
31111 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
31112
31113 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
31114 /dev/null.
31115
31116 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
31117
31118 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31119 io fs process)): Drop spurious backslash.
31120
31121 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
31122
31123 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
31124 Use sysinfo system call instead of parsing /proc/meminfo.
31125 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
31126 Likewise.
31127
31128 2015-09-11 Mike Frysinger <vapier@gentoo.org>
31129
31130 [BZ #16985]
31131 * programs/localedef.c (main): Display argv[remaining] when
31132 output_path is NULL.
31133
31134 2015-09-11 Joseph Myers <joseph@codesourcery.com>
31135
31136 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31137 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
31138 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
31139 tanh.
31140 * math/auto-libm-test-out: Regenerated.
31141 * sysdeps/i386/fpu/libm-test-ulps: Update.
31142 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31143 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31145
31146 2015-09-11 Roland McGrath <roland@hack.frob.com>
31147
31148 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
31149 Use 'override' keyword to freeze the value here, preventing
31150 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
31151
31152 2015-09-11 Joseph Myers <joseph@codesourcery.com>
31153
31154 [BZ #14912]
31155 * sysdeps/aarch64/bits/atomic.h: Move to ...
31156 * sysdeps/aarch64/atomic-machine.h: ...here.
31157 (_AARCH64_BITS_ATOMIC_H): Rename macro to
31158 _AARCH64_ATOMIC_MACHINE_H.
31159 * sysdeps/alpha/bits/atomic.h: Move to ...
31160 * sysdeps/alpha/atomic-machine.h: ...here.
31161 * sysdeps/arm/bits/atomic.h: Move to ...
31162 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
31163 * bits/atomic.h: Move to ...
31164 * sysdeps/generic/atomic-machine.h: ...here.
31165 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31166 * sysdeps/i386/bits/atomic.h: Move to ...
31167 * sysdeps/i386/atomic-machine.h: ...here.
31168 * sysdeps/ia64/bits/atomic.h: Move to ...
31169 * sysdeps/ia64/atomic-machine.h: ...here.
31170 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
31171 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
31172 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31173 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
31174 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
31175 * sysdeps/microblaze/bits/atomic.h: Move to ...
31176 * sysdeps/microblaze/atomic-machine.h: ...here.
31177 * sysdeps/mips/bits/atomic.h: Move to ...
31178 * sysdeps/mips/atomic-machine.h: ...here.
31179 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
31180 * sysdeps/powerpc/bits/atomic.h: Move to ...
31181 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
31182 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
31183 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
31184 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
31185 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
31186 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
31187 <atomic-machine.h> instead of <bits/atomic.h>.
31188 * sysdeps/s390/bits/atomic.h: Move to ...
31189 * sysdeps/s390/atomic-machine.h: ...here.
31190 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
31191 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
31192 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31193 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
31194 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
31195 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
31196 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
31197 * sysdeps/tile/bits/atomic.h: Move to ...
31198 * sysdeps/tile/atomic-machine.h: ...here.
31199 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
31200 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
31201 <sysdeps/tile/atomic-machine.h> instead of
31202 <sysdeps/tile/bits/atomic.h>.
31203 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31204 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
31205 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
31206 <sysdeps/tile/atomic-machine.h> instead of
31207 <sysdeps/tile/bits/atomic.h>.
31208 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31209 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
31210 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
31211 <sysdeps/arm/atomic-machine.h> instead of
31212 <sysdeps/arm/bits/atomic.h>.
31213 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
31214 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
31215 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31216 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
31217 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
31218 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31219 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
31220 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
31221 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
31222 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
31223 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
31224 * sysdeps/x86_64/bits/atomic.h: Move to ...
31225 * sysdeps/x86_64/atomic-machine.h: ...here.
31226 * include/atomic.h: Include <atomic-machine.h> instead of
31227 <bits/atomic.h>.
31228
31229 * sysdeps/mips/mips32/libm-test-ulps: Update.
31230 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31231
31232 [BZ #18952]
31233 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
31234 not convert non-integer negative arguments to int to determine the
31235 value of signgam.
31236 * math/auto-libm-test-in: Add more tests of lgamma.
31237 * math/auto-libm-test-out: Regenerated.
31238
31239 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
31240 cosh, csqrt, erfc, expm1 and lgamma.
31241 * math/auto-libm-test-out: Regenerated.
31242 * sysdeps/i386/fpu/libm-test-ulps: Update.
31243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31244
31245 2015-09-10 Joseph Myers <joseph@codesourcery.com>
31246
31247 [BZ #2542]
31248 [BZ #2543]
31249 [BZ #2558]
31250 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
31251 __lgamma_neg for arguments from -28.0 to -2.0.
31252 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
31253 __lgamma_negf for arguments from -15.0 to -2.0.
31254 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31255 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
31256 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
31257 Call __lgamma_negl for arguments from -33.0 to -2.0.
31258 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
31259 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
31260 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
31261 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
31262 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
31263 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
31264 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
31265 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
31266 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
31267 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
31268 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
31269 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
31270 (__lgamma_neg): Likewise.
31271 (__lgamma_negl): Likewise.
31272 (__lgamma_product): Likewise.
31273 (__lgamma_productl): Likewise.
31274 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
31275 * math/auto-libm-test-in: Add more tests of lgamma.
31276 * math/auto-libm-test-out: Regenerated.
31277 * sysdeps/i386/fpu/libm-test-ulps: Update.
31278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31279
31280 2015-09-09 Justin Maggard <jmaggard@netgear.com>
31281
31282 [BZ #18675]
31283 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
31284
31285 2015-09-08 Joseph Myers <joseph@codesourcery.com>
31286
31287 [BZ #14912]
31288 * bits/libc-lock.h: Move to ...
31289 * sysdeps/generic/libc-lock.h: ...here.
31290 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31291 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
31292 * sysdeps/mach/hurd/libc-lock.h: ...here.
31293 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31294 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
31295 * sysdeps/mach/bits/libc-lock.h: Move to ...
31296 * sysdeps/mach/libc-lock.h: ...here.
31297 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31298 * sysdeps/nptl/bits/libc-lock.h: Move to ...
31299 * sysdeps/nptl/libc-lock.h: ...here.
31300 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31301 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
31302 * sysdeps/nptl/libc-lockP.h: ...here.
31303 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
31304 * crypt/crypt_util.c: Include <libc-lock.h> instead of
31305 <bits/libc-lock.h>.
31306 * dirent/scandir-tail.c: Likewise.
31307 * dlfcn/dlerror.c: Likewise.
31308 * elf/dl-close.c: Likewise.
31309 * elf/dl-iteratephdr.c: Likewise.
31310 * elf/dl-lookup.c: Likewise.
31311 * elf/dl-open.c: Likewise.
31312 * elf/dl-support.c: Likewise.
31313 * elf/dl-writev.h: Likewise.
31314 * elf/rtld.c: Likewise.
31315 * grp/fgetgrent.c: Likewise.
31316 * gshadow/fgetsgent.c: Likewise.
31317 * gshadow/sgetsgent.c: Likewise.
31318 * iconv/gconv_conf.c: Likewise.
31319 * iconv/gconv_db.c: Likewise.
31320 * iconv/gconv_dl.c: Likewise.
31321 * iconv/gconv_int.h: Likewise.
31322 * iconv/gconv_trans.c: Likewise.
31323 * include/link.h: Likewise.
31324 * inet/getnameinfo.c: Likewise.
31325 * inet/getnetgrent.c: Likewise.
31326 * inet/getnetgrent_r.c: Likewise.
31327 * intl/bindtextdom.c: Likewise.
31328 * intl/dcigettext.c: Likewise.
31329 * intl/finddomain.c: Likewise.
31330 * intl/gettextP.h: Likewise.
31331 * intl/loadmsgcat.c: Likewise.
31332 * intl/localealias.c: Likewise.
31333 * intl/textdomain.c: Likewise.
31334 * libidn/idn-stub.c: Likewise.
31335 * libio/libioP.h: Likewise.
31336 * locale/duplocale.c: Likewise.
31337 * locale/freelocale.c: Likewise.
31338 * locale/newlocale.c: Likewise.
31339 * locale/setlocale.c: Likewise.
31340 * login/getutent_r.c: Likewise.
31341 * login/getutid_r.c: Likewise.
31342 * login/getutline_r.c: Likewise.
31343 * login/utmp-private.h: Likewise.
31344 * login/utmpname.c: Likewise.
31345 * malloc/mtrace.c: Likewise.
31346 * misc/efgcvt.c: Likewise.
31347 * misc/error.c: Likewise.
31348 * misc/fstab.c: Likewise.
31349 * misc/getpass.c: Likewise.
31350 * misc/mntent.c: Likewise.
31351 * misc/syslog.c: Likewise.
31352 * nis/nis_call.c: Likewise.
31353 * nis/nis_callback.c: Likewise.
31354 * nis/nss-default.c: Likewise.
31355 * nis/nss_compat/compat-grp.c: Likewise.
31356 * nis/nss_compat/compat-initgroups.c: Likewise.
31357 * nis/nss_compat/compat-pwd.c: Likewise.
31358 * nis/nss_compat/compat-spwd.c: Likewise.
31359 * nis/nss_nis/nis-alias.c: Likewise.
31360 * nis/nss_nis/nis-ethers.c: Likewise.
31361 * nis/nss_nis/nis-grp.c: Likewise.
31362 * nis/nss_nis/nis-hosts.c: Likewise.
31363 * nis/nss_nis/nis-network.c: Likewise.
31364 * nis/nss_nis/nis-proto.c: Likewise.
31365 * nis/nss_nis/nis-pwd.c: Likewise.
31366 * nis/nss_nis/nis-rpc.c: Likewise.
31367 * nis/nss_nis/nis-service.c: Likewise.
31368 * nis/nss_nis/nis-spwd.c: Likewise.
31369 * nis/nss_nisplus/nisplus-alias.c: Likewise.
31370 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
31371 * nis/nss_nisplus/nisplus-grp.c: Likewise.
31372 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
31373 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
31374 * nis/nss_nisplus/nisplus-network.c: Likewise.
31375 * nis/nss_nisplus/nisplus-proto.c: Likewise.
31376 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
31377 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
31378 * nis/nss_nisplus/nisplus-service.c: Likewise.
31379 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
31380 * nis/ypclnt.c: Likewise.
31381 * nptl/libc_pthread_init.c: Likewise.
31382 * nss/getXXbyYY.c: Likewise.
31383 * nss/getXXent.c: Likewise.
31384 * nss/getXXent_r.c: Likewise.
31385 * nss/nss_db/db-XXX.c: Likewise.
31386 * nss/nss_db/db-netgrp.c: Likewise.
31387 * nss/nss_db/nss_db.h: Likewise.
31388 * nss/nss_files/files-XXX.c: Likewise.
31389 * nss/nss_files/files-alias.c: Likewise.
31390 * nss/nsswitch.c: Likewise.
31391 * posix/regex_internal.h: Likewise.
31392 * posix/wordexp.c: Likewise.
31393 * pwd/fgetpwent.c: Likewise.
31394 * resolv/res_hconf.c: Likewise.
31395 * resolv/res_libc.c: Likewise.
31396 * shadow/fgetspent.c: Likewise.
31397 * shadow/lckpwdf.c: Likewise.
31398 * shadow/sgetspent.c: Likewise.
31399 * socket/opensock.c: Likewise.
31400 * stdio-common/reg-modifier.c: Likewise.
31401 * stdio-common/reg-printf.c: Likewise.
31402 * stdio-common/reg-type.c: Likewise.
31403 * stdio-common/vfprintf.c: Likewise.
31404 * stdio-common/vfscanf.c: Likewise.
31405 * stdlib/abort.c: Likewise.
31406 * stdlib/cxa_atexit.c: Likewise.
31407 * stdlib/fmtmsg.c: Likewise.
31408 * stdlib/random.c: Likewise.
31409 * stdlib/setenv.c: Likewise.
31410 * string/strsignal.c: Likewise.
31411 * sunrpc/auth_none.c: Likewise.
31412 * sunrpc/bindrsvprt.c: Likewise.
31413 * sunrpc/create_xid.c: Likewise.
31414 * sunrpc/key_call.c: Likewise.
31415 * sunrpc/rpc_thread.c: Likewise.
31416 * sysdeps/arm/backtrace.c: Likewise.
31417 * sysdeps/generic/ldsodefs.h: Likewise.
31418 * sysdeps/generic/stdio-lock.h: Likewise.
31419 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
31420 * sysdeps/i386/backtrace.c: Likewise.
31421 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31422 * sysdeps/m68k/backtrace.c: Likewise.
31423 * sysdeps/mach/hurd/cthreads.c: Likewise.
31424 * sysdeps/mach/hurd/dirstream.h: Likewise.
31425 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31426 * sysdeps/nptl/malloc-machine.h: Likewise.
31427 * sysdeps/nptl/stdio-lock.h: Likewise.
31428 * sysdeps/posix/dirstream.h: Likewise.
31429 * sysdeps/posix/getaddrinfo.c: Likewise.
31430 * sysdeps/posix/system.c: Likewise.
31431 * sysdeps/pthread/aio_suspend.c: Likewise.
31432 * sysdeps/s390/s390-32/backtrace.c: Likewise.
31433 * sysdeps/s390/s390-64/backtrace.c: Likewise.
31434 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31435 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31436 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
31437 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
31438 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
31439 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31440 * sysdeps/unix/sysv/linux/system.c: Likewise.
31441 * sysdeps/x86_64/backtrace.c: Likewise.
31442 * time/alt_digit.c: Likewise.
31443 * time/era.c: Likewise.
31444 * time/tzset.c: Likewise.
31445 * wcsmbs/wcsmbsload.c: Likewise.
31446 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
31447 instead of <bits/libc-lock.h> in comment.
31448
31449 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
31450
31451 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
31452 Only use .set mips2 if the current ISA is below mips2.
31453 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
31454 Likewise.
31455 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
31456 mips32r2 if the current ISA is below mips32r2.
31457 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
31458 (TLS_IE): Updated to use the TLD_RDHWR macro.
31459 (TLS_LE): Likewise.
31460 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
31461 __ASSEMBLER__ condition.
31462
31463 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
31464
31465 Fix parallel build of before-compile targets.
31466
31467 * sysdeps/mach/Makefile ($(patsubst
31468 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
31469 mach-before-compile target.
31470 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31471 io fs process)): Move rule to dedicated hurd-before-compile target.
31472
31473 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31474
31475 Fix rules generating headers in hurd/ and mach/ when initial make call
31476 has subdir= explicitly set.
31477
31478 * sysdeps/mach/Makefile ($(patsubst
31479 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
31480 calling $(MAKE).
31481 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31482 io fs process)): Force subdir to hurd when calling $(MAKE).
31483 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
31484 subdir to mach when calling $(MAKE).
31485
31486 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
31487
31488 Check sysheaders when looking for Mach and Hurd headers
31489
31490 * sysdeps/mach/configure.ac: Add sysheaders check.
31491 * sysdeps/mach/configure: Regenerate.
31492 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
31493 * sysdeps/mach/hurd/configure: Regenerate.
31494
31495 2015-09-04 Roland McGrath <roland@hack.frob.com>
31496
31497 [BZ #18921]
31498 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
31499 Fix inverted sense of test of 'o_directory_works' value.
31500 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
31501 Bernhard Voelker <mail@bernhard-voelker.de>.
31502
31503 2015-09-04 Joseph Myers <joseph@codesourcery.com>
31504
31505 [BZ #14912]
31506 * bits/linkmap.h: Move to ...
31507 * sysdeps/generic/linkmap.h: ...here.
31508 * sysdeps/aarch64/bits/linkmap.h: Move to ...
31509 * sysdeps/aarch64/linkmap.h: ...here.
31510 * sysdeps/arm/bits/linkmap.h: Move to ...
31511 * sysdeps/arm/linkmap.h: ...here.
31512 * sysdeps/hppa/bits/linkmap.h: Move to ...
31513 * sysdeps/hppa/linkmap.h: ...here.
31514 * sysdeps/ia64/bits/linkmap.h: Move to ...
31515 * sysdeps/ia64/linkmap.h: ...here.
31516 * sysdeps/mips/bits/linkmap.h: Move to ...
31517 * sysdeps/mips/linkmap.h: ...here.
31518 * sysdeps/s390/bits/linkmap.h: Move to ...
31519 * sysdeps/s390/linkmap.h: ...here.
31520 * sysdeps/sh/bits/linkmap.h: Move to ...
31521 * sysdeps/sh/linkmap.h: ...here.
31522 * sysdeps/x86/bits/linkmap.h: Move to ...
31523 * sysdeps/x86/linkmap.h: ...here.
31524 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
31525
31526 2015-09-04 Andreas Schwab <schwab@suse.de>
31527
31528 [BZ #18635]
31529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
31530 (__makecontext): Terminate FDE before return label.
31531 (__novec_makecontext): Likewise.
31532
31533 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
31534
31535 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
31536 first member of struct sv in syscall macro.
31537
31538 2015-09-04 Joseph Myers <joseph@codesourcery.com>
31539
31540 [BZ #14912]
31541 * bits/stdio-lock.h: Move to ...
31542 * sysdeps/generic/stdio-lock.h: ...here.
31543 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31544 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
31545 * sysdeps/nptl/stdio-lock.h: ...here.
31546 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31547 * include/libio.h: Include <stdio-lock.h> instead of
31548 <bits/stdio-lock.h>.
31549 * sysdeps/nptl/fork.c: Likewise.
31550 * sysdeps/pthread/flockfile.c: Likewise.
31551 * sysdeps/pthread/ftrylockfile.c: Likewise.
31552 * sysdeps/pthread/funlockfile.c: Likewise.
31553
31554 [BZ #14912]
31555 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
31556 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
31557 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
31558 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
31559 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
31560 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
31561 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
31562
31563 2015-09-03 Roland McGrath <roland@hack.frob.com>
31564
31565 * elf/Makefile (test-xfail-tst-protected1a): New variable.
31566 (test-xfail-tst-protected1b): New variable.
31567
31568 2015-09-03 Joseph Myers <joseph@codesourcery.com>
31569
31570 [BZ #14912]
31571 * bits/libc-tsd.h: Move to ...
31572 * sysdeps/generic/libc-tsd.h: ...here.
31573 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
31574 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
31575 * sysdeps/mach/hurd/libc-tsd.h: ...here.
31576 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
31577 * include/ctype.h: Include <libc-tsd.h> instead of
31578 <bits/libc-tsd.h>.
31579 * include/rpc/rpc.h: Likewise.
31580 * locale/localeinfo.h: Likewise.
31581 * sunrpc/rpc_thread.c: Likewise.
31582 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31583 * sysdeps/nptl/malloc-machine.h: Likewise.
31584
31585 * Makefile (headers): Remove bits/libc-lock.h.
31586 * libio/Makefile (headers): Remove bits/stdio-lock.h.
31587
31588 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
31589 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
31590 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
31591 <bits/stdio-lock.h>.
31592 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
31593 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
31594
31595 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31596
31597 [BZ #18757]
31598 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
31599 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
31600 BZ #18757.
31601
31602 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31603
31604 * malloc/mtrace.pl: Filter out NULL entries.
31605
31606 2015-09-01 Joseph Myers <joseph@codesourcery.com>
31607
31608 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
31609 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
31610 macro.
31611
31612 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
31613 (TCP_CC_INFO): Likewise.
31614 (TCP_SAVE_SYN): Likewise.
31615 (TCP_SAVED_SYN): Likewise.
31616
31617 2015-08-31 Brett Neumeier <brett@neumeier.us>
31618
31619 [BZ #18870]
31620 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
31621
31622 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
31623
31624 [BZ #18873]
31625 Fix broken overflow check in posix_fallocate
31626 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
31627 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
31628 Fix parenthesization typo.
31629
31630 2015-08-28 Mike Frysinger <vapier@gentoo.org>
31631
31632 [BZ #18887]
31633 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
31634 tst-mntent-blank-passno.
31635 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
31636 * misc/tst-mntent-blank-corrupt.c: New test.
31637 * misc/tst-mntent-blank-passno.c: New test ripped from ...
31638 * misc/tst-mntent.c (do_test): ... here.
31639
31640 2015-08-29 Mike Frysinger <vapier@gentoo.org>
31641
31642 [BZ #4404]
31643 * po/de.po: Fix SIGALRM typo.
31644
31645 2015-08-28 James Perkins <james@loowit.net>
31646
31647 * time/tst-strptime2.c (tests): Replace short list of test
31648 strings for strptime %z specifier with code which exhaustively
31649 tests every combination of sign and 0 to 5 digits. Tests for
31650 rejection of invalid strings.
31651
31652 2015-08-28 James Perkins <james@loowit.net>
31653
31654 [BZ #16141]
31655 * time/strptime_l.c (__strptime_internal): Fix %z minutes
31656 calculation, removing incorrect decimal time rounding, so that
31657 all minute values result in a valid seconds value.
31658 * time/strptime_l.c (__strptime_internal): Extend %z time zone
31659 offset range limits to UTC-99:59 through UTC+99:59 to parse
31660 current and historical use cases.
31661 * time/tst-strptime2.c (tests): Modify and add tests for the
31662 strptime %z input field descriptor, specifically conversion of
31663 minutes to seconds and validating an offset range of -9959 to
31664 +9959.
31665
31666 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31667 Dmitry V. Levin <ldv@altlinux.org>
31668
31669 [BZ #18877]
31670 * posix/Makefile (tests): Add tst-mmap-offset.
31671 * posix/tst-mmap.c: New file.
31672 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
31673 offset calculation for negative values.
31674
31675 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31676
31677 * sysdeps/i386/init-arch.h: New file.
31678 * sysdeps/i386/i586/init-arch.h: Likewise.
31679 * sysdeps/i386/i686/init-arch.h: Likewise.
31680 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
31681 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
31682 * sysdeps/x86/cpu-features.h (bit_I586): New.
31683 (bit_I686): Likewise.
31684 (bit_CX8): Likewise.
31685 (bit_CMOV): Likewise.
31686 (index_CX8): Likewise.
31687 (index_CMOV): Likewise.
31688 (index_I586): Likewise.
31689 (index_I686): Likewise.
31690 (reg_CX8): Likewise.
31691 (reg_CMOV): Likewise.
31692 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
31693 available at compile-time.
31694 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
31695 available at compile-time.
31696 * sysdeps/x86/init-arch.h (USE_I586): New macro.
31697 (USE_I686): Likewise.
31698
31699 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31700
31701 * sysdeps/i386/bcopy.S: New file.
31702 * sysdeps/i386/bzero.S: Likewise.
31703 * sysdeps/i386/memcpy.S: Likewise.
31704 * sysdeps/i386/memmove.S: Likewise.
31705 * sysdeps/i386/mempcpy.S: Likewise.
31706 * sysdeps/i386/memset.S: Likewise.
31707 * sysdeps/i386/bzero.c: Removed.
31708 * sysdeps/i386/memset.c: Likewise.
31709 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
31710 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
31711 * sysdeps/i386/i586/memset_chk.S: Likewise.
31712 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
31713 * sysdeps/i386/memcpy_chk.S: Here.
31714 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
31715 * sysdeps/i386/memmove_chk.S: Here.
31716 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
31717 * sysdeps/i386/mempcpy_chk.S: Likewise.
31718 * sysdeps/i386/i686/memset_chk.S: Moved to ...
31719 * sysdeps/i386/memset_chk.S: Likewise.
31720
31721 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
31722
31723 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
31724 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
31725 file, move DIAG_POP_NEEDS_COMMENT to end of file.
31726 * soft-fp/fmadf4.c: Ditto.
31727 * soft-fp/fmatf4.c: Ditto.
31728
31729 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31730
31731 * sysdeps/i386/i586/Implies: Removed.
31732 * sysdeps/i386/i686/Implies: Likewise.
31733
31734 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31735
31736 * sysdeps/i386/i486/strlen.S: Moved to ...
31737 * sysdeps/i386/strlen.S: Here.
31738
31739 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31740
31741 * sysdeps/i386/i486/strcat.S: Moved to ...
31742 * sysdeps/i386/strcat.S: Here.
31743
31744 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31745
31746 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
31747 * sysdeps/i386/pthread_spin_trylock.S: Here.
31748 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
31749 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
31750
31751 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31752
31753 * sysdeps/i386/i486/string-inlines.c: Moved to ...
31754 * sysdeps/i386/string-inlines.c: Here.
31755
31756 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31757
31758 * sysdeps/i386/i486/htonl.S: Moved ...
31759 * sysdeps/i386/htonl.S: here.
31760
31761 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31762
31763 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
31764 * sysdeps/i386/bits/atomic.h: Here.
31765
31766 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31767
31768 * sysdeps/i386/i486/Versions: Removed.
31769
31770 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
31771
31772 [BZ #2898]
31773 * misc/mktemp.c: Add mkdtemp to the link_warning message.
31774 Based on patch by Aurelien Jarno.
31775
31776 2015-08-26 Stan Shebs <stanshebs@google.com>
31777
31778 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
31779 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31780
31781 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
31782
31783 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
31784 * sysdeps/powerpc/dl-procinfo.c:
31785 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
31786 feature so it shows when LD_SHOW_AUXV=1.
31787
31788 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
31789
31790 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
31791 (__arch_compare_and_exchange_val_32_acq): Remove and use common
31792 definition. ISA 2.07B no longer requires full sync.
31793
31794 2015-08-26 Mike Frysinger <vapier@gentoo.org>
31795
31796 [BZ #18863]
31797 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
31798 (si_call_addr): Define.
31799 (si_syscall): Define.
31800 (si_arch): Define.
31801
31802 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
31803
31804 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
31805 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
31806 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
31807 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
31808 (__memset_zero_constant_len_parameter): New.
31809 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
31810 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
31811 (__memset_zero_constant_len_parameter): Don't define if
31812 __memset_chk or USE_AS_BZERO are defined.
31813
31814 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
31815 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
31816 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
31817
31818 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
31819 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
31820 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
31821 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
31822 comments.
31823 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
31824 -mno-mmx for $(all-rtld-routines).
31825 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
31826 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
31827 i386.
31828
31829 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
31830
31831 * sysdeps/generic/unwind.h
31832 (_Unwind_Word): Use __mode__(__unwind_word__)
31833 instead of __mode__(__word__).
31834 (_Unwind_Sword): Likewise.
31835
31836 * sysdeps/s390/s390-64/utf8-utf16-z9.c
31837 (MAX_NEEDED_INPUT): New define.
31838 (MAX_NEEDED_OUTPUT): New define.
31839
31840 * NEWS: New item for IBM z13 string optimizations.
31841
31842 * sysdeps/s390/multiarch/memrchr-c.c: New File.
31843 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
31844 * sysdeps/s390/multiarch/memrchr.c: Likewise.
31845 * sysdeps/s390/multiarch/Makefile
31846 (sysdep_routines): Add memrchr functions.
31847 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31848 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
31849
31850 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
31851 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
31852 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
31853 * sysdeps/s390/multiarch/Makefile
31854 (sysdep_routines): Add wmemcmp functions.
31855 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31856 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
31857 * benchtests/bench-wmemcmp.c: New File.
31858 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
31859
31860 * sysdeps/s390/multiarch/wmemset-c.c: New File.
31861 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
31862 * sysdeps/s390/multiarch/wmemset.c: Likewise.
31863 * sysdeps/s390/multiarch/Makefile
31864 (sysdep_routines): Add wmemset functions.
31865 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31866 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
31867 * wcsmbs/wmemset.c: Use WMEMSET if defined.
31868 * string/test-memset.c: Add wmemset support.
31869 * wcsmbs/test-wmemset.c: New File.
31870 * wcsmbs/Makefile (strop-tests): Add wmemset.
31871 * benchtests/bench-memset.c: Add wmemset support.
31872 * benchtests/bench-wmemset.c: New File.
31873 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
31874
31875 * sysdeps/s390/multiarch/memccpy-c.c: New File.
31876 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
31877 * sysdeps/s390/multiarch/memccpy.c: Likewise.
31878 * sysdeps/s390/multiarch/Makefile
31879 (sysdep_routines): Add memccpy functions.
31880 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31881 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
31882 * string/memccpy.c: Use MEMCCPY if defined.
31883
31884 * sysdeps/s390/multiarch/memchr-vx.S: New File.
31885 * sysdeps/s390/multiarch/memchr.c: Likewise.
31886 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
31887 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
31888 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
31889 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
31890 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
31891 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
31892 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
31893 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
31894 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
31895 and rawmemchr functions.
31896 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31897 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
31898 and wmemchr.
31899 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
31900 * string/test-memchr.c: Add wmemchr support.
31901 * wcsmbs/test-wmemchr.c: New File.
31902 * wcsmbs/Makefile (strop-tests): Add wmemchr.
31903 * benchtests/bench-memchr.c: Add wmemchr support.
31904 * benchtests/bench-wmemchr.c: New File.
31905 * benchtests/Makefile (wcsmbs-bench): wmemchr.
31906
31907 * sysdeps/s390/multiarch/strcspn-c.c: New File.
31908 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
31909 * sysdeps/s390/multiarch/strcspn.c: Likewise.
31910 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
31911 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
31912 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
31913 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
31914 wcscspn functions.
31915 * sysdeps/s390/multiarch/ifunc-impl-list.c
31916 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
31917 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
31918 * string/test-strcspn.c: Add wcscspn support.
31919 * wcsmbs/test-wcscspn.c: New File.
31920 * wcsmbs/Makefile (strop-tests): Add wcscspn.
31921 * benchtests/bench-strcspn.c: Add wcscspn support.
31922 * benchtests/bench-wcscspn.c: New File.
31923 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
31924
31925 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
31926 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
31927 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
31928 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
31929 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
31930 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
31931 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
31932 wcspbrk functions.
31933 * sysdeps/s390/multiarch/ifunc-impl-list.c
31934 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
31935 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
31936 * string/test-strpbrk.c: Add wcspbrk support.
31937 * wcsmbs/test-wcspbrk.c: New File.
31938 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
31939 * benchtests/bench-strpbrk.c: Add wcspbrk support.
31940 * benchtests/bench-wcspbrk.c: New File.
31941 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
31942
31943 * sysdeps/s390/multiarch/strspn-c.c: New File.
31944 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
31945 * sysdeps/s390/multiarch/strspn.c: Likewise.
31946 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
31947 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
31948 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
31949 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
31950 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
31951 wcsspn functions.
31952 * sysdeps/s390/multiarch/ifunc-impl-list.c
31953 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
31954 * string/test-strspn.c: Add wcsspn support.
31955 * wcsmbs/test-wcsspn.c: New File.
31956 * wcsmbs/Makefile (strop-tests): Add wcsspn.
31957 * benchtests/bench-strspn.c: Add wcsspn support.
31958 * benchtests/bench-wcsspn.c: New File.
31959 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
31960
31961 * sysdeps/s390/multiarch/strrchr-c.c: New File.
31962 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
31963 * sysdeps/s390/multiarch/strrchr.c: Likewise.
31964 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
31965 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
31966 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
31967 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
31968 wcsrchr functions.
31969 * sysdeps/s390/multiarch/ifunc-impl-list.c
31970 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
31971 * benchtests/bench-wcsrchr.c: New File.
31972 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
31973
31974 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
31975 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
31976 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
31977 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
31978 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
31979 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
31980 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
31981 wcschrnul functions.
31982 * sysdeps/s390/multiarch/ifunc-impl-list.c
31983 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
31984 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
31985 * string/test-strchr.c: Add wcschrnul support.
31986 * wcsmbs/test-wcschrnul.c: New File.
31987 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
31988 * benchtests/bench-strchr.c: Add wcschrnul support.
31989 * benchtests/bench-wcschrnul.c: New File.
31990 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
31991
31992 * sysdeps/s390/multiarch/strchr-c.c: New File.
31993 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
31994 * sysdeps/s390/multiarch/strchr.c: Likewise.
31995 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
31996 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
31997 * sysdeps/s390/multiarch/wcschr.c: Likewise.
31998 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
31999 wcschr functions.
32000 * sysdeps/s390/multiarch/ifunc-impl-list.c
32001 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
32002 * string/strchr.c (STRCHR): Define and use macro.
32003 * benchtests/bench-wcschr.c: New File.
32004 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
32005
32006 * sysdeps/s390/multiarch/strncmp-c.c: New File.
32007 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
32008 * sysdeps/s390/multiarch/strncmp.c: Likewise.
32009 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
32010 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
32011 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
32012 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
32013 wcsncmp functions.
32014 * sysdeps/s390/multiarch/ifunc-impl-list.c
32015 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
32016 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
32017 * benchtests/bench-strncmp.c: Add wcsncmp support.
32018 * benchtests/bench-wcsncmp.c: New File.
32019 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
32020
32021 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
32022 * sysdeps/s390/multiarch/strcmp.c: Likewise.
32023 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
32024 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
32025 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
32026 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
32027 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
32028 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
32029 wcscmp functions.
32030 * sysdeps/s390/multiarch/ifunc-impl-list.c
32031 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
32032 * string/strcmp.c (STRCMP): Define and use macro.
32033 * benchtests/bench-wcscmp.c: New File.
32034 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
32035 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
32036 instead of _HAVE_STRING_ARCH_memchr.
32037
32038 * sysdeps/s390/multiarch/strncat-c.c: New File.
32039 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
32040 * sysdeps/s390/multiarch/strncat.c: Likewise.
32041 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
32042 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
32043 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
32044 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
32045 wcsncat functions.
32046 * sysdeps/s390/multiarch/ifunc-impl-list.c
32047 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
32048 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
32049 * string/test-strncat.c: Add wcsncat support.
32050 * wcsmbs/test-wcsncat.c: New File.
32051 * wcsmbs/Makefile (strop-tests): Add wcsncat.
32052 * benchtests/bench-strncat.c: Add wcsncat support.
32053 * benchtests/bench-wcsncat.c: New File.
32054 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
32055
32056 * sysdeps/s390/multiarch/strcat-c.c: New File.
32057 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
32058 * sysdeps/s390/multiarch/strcat.c: Likewise.
32059 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
32060 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
32061 * sysdeps/s390/multiarch/wcscat.c: Likewise.
32062 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
32063 wcscat functions.
32064 * sysdeps/s390/multiarch/ifunc-impl-list.c
32065 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
32066 * string/strcat.c (STRCAT): Define and use macro.
32067 * wcsmbs/wcscat.c: Use WCSCAT if defined.
32068 * string/test-strcat.c: Add wcscat support.
32069 * wcsmbs/test-wcscat.c: New File.
32070 * wcsmbs/Makefile (strop-tests): Add wcscat.
32071 * benchtests/bench-strcat.c: Add wcscat support.
32072 * benchtests/bench-wcscat.c: New File.
32073 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
32074
32075 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
32076 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
32077 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
32078 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
32079 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
32080 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
32081 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
32082 wcpncpy functions.
32083 * sysdeps/s390/multiarch/ifunc-impl-list.c
32084 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
32085 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
32086 * string/test-stpncpy.c: Add wcpncpy support.
32087 * wcsmbs/test-wcpncpy.c: New File.
32088 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
32089 * benchtests/bench-stpncpy.c: Add wcpncpy support.
32090 * benchtests/bench-wcpncpy.c: New File.
32091 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
32092
32093 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
32094 * sysdeps/s390/multiarch/strncpy.c: Likewise.
32095 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
32096 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
32097 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
32098 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
32099 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
32100 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
32101 wcsncpy functions.
32102 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
32103 * sysdeps/s390/multiarch/ifunc-impl-list.c
32104 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
32105 * string/test-strncpy.c: Add wcsncpy support.
32106 * wcsmbs/test-wcsncpy.c: New File.
32107 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
32108 * benchtests/bench-strncpy.c: Add wcsncpy support.
32109 * benchtests/bench-wcsncpy.c: New File.
32110 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
32111
32112 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
32113 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
32114 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
32115 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
32116 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
32117 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
32118 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
32119 wcpcpy functions.
32120 * string/stpcpy.c: Use STPCPY if defined.
32121 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
32122 * sysdeps/s390/multiarch/ifunc-impl-list.c
32123 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
32124 * string/test-stpcpy.c: Add wcpcpy support.
32125 * wcsmbs/test-wcpcpy.c: New File.
32126 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
32127 * benchtests/bench-stpcpy.c: Add wcpcpy support.
32128 * benchtests/bench-wcpcpy.c: New File.
32129 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
32130
32131 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
32132 * sysdeps/s390/multiarch/strcpy.c: Likewise.
32133 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
32134 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
32135 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
32136 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
32137 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
32138 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
32139 wcscpy functions.
32140 * sysdeps/s390/multiarch/ifunc-impl-list.c
32141 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
32142 * benchtests/bench-wcscpy.c: New File.
32143 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
32144
32145 * sysdeps/s390/multiarch/strnlen-c.c: New File.
32146 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
32147 * sysdeps/s390/multiarch/strnlen.c: Likewise.
32148 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
32149 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
32150 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
32151 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
32152 wcsnlen functions.
32153 * sysdeps/s390/multiarch/ifunc-impl-list.c
32154 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
32155 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
32156 * string/test-strnlen.c: Add wcsnlen support.
32157 * wcsmbs/test-wcsnlen.c: New File.
32158 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
32159 * benchtests/bench-strnlen.c: Add wcsnlen support.
32160 * benchtests/bench-wcsnlen.c: New File.
32161 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
32162
32163 * sysdeps/s390/multiarch/Makefile: New File.
32164 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
32165 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
32166 * sysdeps/s390/multiarch/strlen.c: Likewise.
32167 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
32168 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
32169 * sysdeps/s390/multiarch/wcslen.c: Likewise.
32170 * string/strlen.c (STRLEN): Define and use macro.
32171 * sysdeps/s390/multiarch/ifunc-impl-list.c
32172 (IFUNC_VX_IMPL): New macro function.
32173 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
32174 * benchtests/Makefile (wcsmbs-bench): New variable.
32175 (string-bench-all): Added wcsmbs-bench.
32176 * benchtests/bench-wcslen.c: New File.
32177
32178 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
32179 s390_vx_libc_ifunc2): New macro function.
32180
32181 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
32182 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
32183 assembler support.
32184 * sysdeps/s390/configure: Regenerated.
32185
32186 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
32187 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32188
32189 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
32190 * sysdeps/s390/dl-procinfo.h: Add vector capability.
32191 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
32192
32193 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
32194 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
32195 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
32196 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
32197 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
32198 (memcmp, bcmp): Use __memcmp_default as alias source.
32199 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
32200 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
32201 Rename to __memcmp_default.
32202 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
32203 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
32204 (memcpy): Use __memcpy_default as alias source.
32205 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
32206 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
32207 Rename to __memcpy_default.
32208 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
32209 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
32210 (memset): Use __memset_default as alias source.
32211 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
32212 * sysdeps/s390/s390-32/memset.S (__memset_g5):
32213 Rename to __memset_default.
32214 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
32215 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
32216 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
32217 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
32218 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
32219 (memcmp, bcmp): Use __memcmp_default as alias source.
32220 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
32221 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
32222 Rename to __memcmp_default.
32223 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
32224 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
32225 (memcpy): Use __memcpy_default as alias source.
32226 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
32227 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
32228 Rename to __memcpy_default.
32229 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
32230 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
32231 (memset): Use __memset_default as alias source.
32232 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
32233 * sysdeps/s390/s390-64/memset.S (__memset_z900):
32234 Rename to __memset_default.
32235 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
32236 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
32237
32238 [BZ #18610]
32239 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
32240 __ieee_instruction_pointer to __unused.
32241 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
32242 __ieee_instruction_pointer.
32243 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
32244 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
32245 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32246 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32247 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
32248 Mark dxc-field as reserved.
32249
32250 2015-08-25 Roland McGrath <roland@hack.frob.com>
32251
32252 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
32253 if the weak reference is not null.
32254
32255 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32256
32257 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
32258
32259 [BZ #11214]
32260 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
32261
32262 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32263
32264 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
32265 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
32266 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
32267 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
32268 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
32269 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
32270 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
32271 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
32272 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
32273 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
32274 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
32275 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
32276 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
32277 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
32278 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
32279 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
32280 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
32281 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
32282
32283 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
32284
32285 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
32286 register other than r0 for tabort, it has special meaning.
32287 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
32288 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
32289 transaction before starting syscall.
32290
32291 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32292
32293 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
32294
32295 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32296
32297 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
32298
32299 * sysdeps/x86_64/rtld-memcmp.c: Removed.
32300 * sysdeps/x86_64/rtld-memset.S: Likewise.
32301 * sysdeps/x86_64/rtld-strchr.S: Likewise.
32302 * sysdeps/x86_64/rtld-strlen.S: Likewise.
32303 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
32304 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32305
32306 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
32307
32308 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
32309
32310 * debug/strcpy_chk.c: Improve performance.
32311 * debug/stpcpy_chk.c: Likewise.
32312 * sysdeps/x86_64/strcpy_chk.S: Remove.
32313 * sysdeps/x86_64/stpcpy_chk.S: Remove.
32314
32315 [BZ #18240]
32316 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
32317
32318 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32319
32320 [BZ #15128]
32321 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
32322 ifuncmain8.
32323 (modules-names): Add ifuncmod8.
32324 ($(objpfx)ifuncmain8): New rule.
32325 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
32326 <cpuid.h>.
32327 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
32328 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
32329 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
32330 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
32331 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
32332 * sysdeps/x86_64/dl-trampoline.h: Likewise.
32333 * sysdeps/x86_64/ifuncmain8.c: New file.
32334 * sysdeps/x86_64/ifuncmod8.c: Likewise.
32335 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
32336 Removed.
32337 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
32338 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
32339 Change rtld_savespace_sse to __glibc_unused2.
32340 (RTLD_CHECK_FOREIGN_CALL): Removed.
32341 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
32342 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
32343 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
32344
32345 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
32346
32347 * sysdeps/aarch64/bzero.S (__bzero): Remove.
32348
32349 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
32350
32351 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
32352 Unconditionally set __fpcr to avoid uninialized warning.
32353 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
32354
32355 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32356
32357 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
32358 is corrupt.
32359
32360 * malloc/arena.c (arena_get2): Drop unused argument.
32361 (arena_lock): Adjust.
32362 (arena_get_retry): Likewise.
32363
32364 2015-08-24 Andreas Schwab <schwab@suse.de>
32365
32366 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
32367 Don't define.
32368 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
32369 (__ASSUME_IPC64): Don't undef.
32370 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
32371 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32372 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32373 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
32374 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
32375 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
32376 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
32377 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
32378 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
32379 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
32380 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
32381 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
32382 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
32383 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
32384 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
32385 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
32386 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
32387 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
32388 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
32389 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
32390 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
32391
32392 2015-08-21 Mike Frysinger <vapier@gentoo.org>
32393
32394 * manual/Makefile (install): Only build manual when perl is available.
32395
32396 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32397
32398 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
32399 '#undef memcpy' by '#undef memchr'.
32400
32401 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32402
32403 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
32404 memchr not point to the internal __GI_memchr implementation.
32405
32406 2015-08-20 Joseph Myers <joseph@codesourcery.com>
32407
32408 * timezone/Makefile (CFLAGS-zdump.c): Remove
32409 -Wno-strict-prototypes.
32410 (CFLAGS-zic.c): Likewise.
32411 (CFLAGS-ialloc.c): Likewise.
32412 (CFLAGS-scheck.c): Likewise.
32413
32414 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
32415 -Wno-error=undef.
32416
32417 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32418
32419 * i386/i686/multiarch/strcasestr-c.c: Removed.
32420 * x86_64/multiarch/strcasestr.c: Likewise.
32421 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32422 Remove strcasestr.
32423
32424 2015-08-20 Joseph Myers <joseph@codesourcery.com>
32425
32426 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
32427
32428 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
32429 variables for high and low parts before possibly modifying them.
32430
32431 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32432
32433 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
32434 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
32435 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
32436 of "multiarch/init-arch.h".
32437 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
32438 * sysdeps/x86/init-arch.h: This.
32439
32440 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32441
32442 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
32443 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
32444
32445 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
32446
32447 [BZ #17787]
32448 * manual/macros.texi: Add twoexp macro.
32449 * manual/filesys.texi: Fix exponents.
32450 * manual/llio.texi: Likewise.
32451 * manual/stdio.texi: Likewise.
32452
32453 2015-08-20 Florian Weimer <fweimer@redhat.com>
32454
32455 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
32456 incorrect use.
32457
32458 2015-08-19 Joseph Myers <joseph@codesourcery.com>
32459
32460 [BZ #18370]
32461 * math/s_csqrt.c (__csqrt): Force underflow exception for results
32462 whose real or imaginary part has small absolute value.
32463 * math/s_csqrtf.c (__csqrtf): Likewise.
32464 * math/s_csqrtl.c (__csqrtl): Likewise.
32465 * math/auto-libm-test-in: Add more tests of csqrt.
32466 * math/auto-libm-test-out: Regenerated.
32467 * sysdeps/i386/fpu/libm-test-ulps: Update.
32468
32469 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32470
32471 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
32472 __ppc_set_ppr_very_low): New functions.
32473 * manual/platform.texi: Add documentation about
32474 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
32475
32476 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
32477
32478 * string/stpncpy.c (stpncpy): Improve performance using
32479 __strnlen/memcpy/memset.
32480
32481 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
32482
32483 [BZ #18796]
32484 * scripts/test-installation.pl: Don't add -lmvec to build options if
32485 libmvec wasn't built.
32486
32487 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
32488
32489 [BZ #14341]
32490 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
32491 case when there is a gap between DT_REL and DT_JMPREL sections.
32492 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
32493 (LDFLAGS-tst-split-dynreloc): New.
32494 (tst-split-dynreloc-ENV): Likewise.
32495 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
32496 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
32497
32498 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32499
32500 [BZ #18822]
32501 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
32502 attribute_hidden.
32503 (__xstat64_conv): Likewise.
32504 (__xstat32_conv): Likewise.
32505
32506 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32507
32508 [BZ #18822]
32509 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
32510 Don't load %ebx when calling __setcontext. Call __setcontext
32511 with HIDDEN_JUMPTARGET.
32512 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
32513 libc_hidden_def.
32514
32515 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32516
32517 * sysdeps/i386/i686/Makefile
32518 [$(subdir) == string] (sysdep_routines): Moved to ...
32519 * sysdeps/i386/Makefile: Here.
32520 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
32521 * sysdeps/i386/cacheinfo.c: Here.
32522 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
32523 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
32524 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
32525 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
32526
32527 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32528
32529 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
32530 __i586__ is defined.
32531 (HAS_I686): Defined to 1 if __i686__ is defined.
32532
32533 2015-08-19 Joseph Myers <joseph@codesourcery.com>
32534
32535 * elf/Makefile [$(have-z-execstack) = yes]
32536 (CPPFLAGS-tst-execstack.c): New variable.
32537
32538 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
32539 conditional to [defined UTMPX || _HAVE_UT_TYPE].
32540 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
32541 UTMPX || _HAVE_UT_TV].
32542 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
32543 UTMPX || _HAVE_UT_TV - 0].
32544
32545 2015-08-18 Joseph Myers <joseph@codesourcery.com>
32546
32547 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
32548 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
32549 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
32550
32551 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32552
32553 * sysdeps/powerpc/dl-procinfo.c:
32554 (_dl_powerpc_cap_flags): Added missing strings for some
32555 hwcap features.
32556 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
32557
32558 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
32559
32560 Port the 0x7efe...feff pattern to GCC 6.
32561 See Steve Ellcey's bug report in:
32562 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
32563 * string/memrchr.c (MEMRCHR):
32564 * string/rawmemchr.c (RAWMEMCHR):
32565 * string/strchr.c (strchr):
32566 * string/strchrnul.c (STRCHRNUL):
32567 Rewrite code to avoid issues with signed shift overflow.
32568
32569 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
32570
32571 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
32572 whether cpuid is available only if HAS_CPUID is 0.
32573 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
32574 (HAS_I586): Likewise.
32575 (HAS_I686): Likewise.
32576
32577 2015-08-18 Zack Weinberg <zackw@panix.com>
32578
32579 * misc/Versions (libc): Add GLIBC_2.23.
32580
32581 2015-08-18 Alan Modra <amodra@gmail.com>
32582
32583 [BZ #18421]
32584 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
32585 .Lp__global.
32586 (_start): Load %dp via .Lp__global.
32587 [!SHARED]: Use .section .rodata.
32588
32589 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32590
32591 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
32592 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
32593
32594 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32595
32596 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
32597 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
32598
32599 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32600
32601 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
32602 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
32603
32604 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32605
32606 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
32607 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
32608
32609 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32610
32611 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
32612 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
32613
32614 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32615
32616 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
32617 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
32618
32619 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32620
32621 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
32622
32623 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32624
32625 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
32626 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
32627 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32628 (__ASSUME_LWS_CAS): Delete.
32629
32630 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32631
32632 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
32633 * sysdeps/hppa/configure: Regenerated.
32634 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
32635 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
32636 * sysdeps/hppa/nptl/tls.h: Likewise.
32637
32638 2015-08-17 Joseph Myers <joseph@codesourcery.com>
32639
32640 [BZ #18823]
32641 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
32642 for scaling up small arguments.
32643 * math/s_csqrtf.c (__csqrtf): Likewise.
32644 * math/s_csqrtl.c (__csqrtl): Likewise.
32645 * math/auto-libm-test-in: Add more tests of csqrt.
32646 * math/auto-libm-test-out: Regenerated.
32647
32648 2015-08-17 Andreas Schwab <schwab@suse.de>
32649
32650 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
32651 version set GLIBC_2.19.
32652
32653 2015-08-16 Zack Weinberg <zackw@panix.com>
32654
32655 [BZ #18681]
32656 * misc/regexp.h: This interface is no longer supported.
32657 Remove all contents, leaving only an #error directive.
32658 * misc/regexp.c (loc1, loc2, locs, step, advance):
32659 Demote to compatibility symbols.
32660
32661 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
32662
32663 [BZ #18084]
32664 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
32665 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
32666 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
32667 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
32668 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
32669 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
32670 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
32671 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
32672 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
32673
32674 2015-08-15 Zack Weinberg <zackw@panix.com>
32675
32676 [BZ #18795]
32677 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
32678 buffer length is known to be too large, not if it's known to be
32679 small enough.
32680 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
32681 overflow at runtime, involving a length parameter, twice: once
32682 with a compile-time constant length parameter, once without.
32683
32684 2015-08-14 Joseph Myers <joseph@codesourcery.com>
32685
32686 [BZ #18824]
32687 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
32688 scaling x * y up instead of down.
32689 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32690 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32691 * math/auto-libm-test-in: Add more tests of fma.
32692 * math/auto-libm-test-out: Regenerated.
32693
32694 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
32695
32696 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32697
32698 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32699
32700 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
32701 unnecessary movq.
32702 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
32703 Likewise.
32704
32705 2015-08-13 Joseph Myers <joseph@codesourcery.com>
32706
32707 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
32708 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
32709 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
32710 and tgamma.
32711 * math/auto-libm-test-out: Regenerated.
32712 * sysdeps/i386/fpu/libm-test-ulps: Update.
32713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32714
32715 [BZ #16520]
32716 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
32717 (__tanh): Force underflow exception for arguments with small
32718 absolute value.
32719 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
32720 (__tanhf): Force underflow exception for arguments with small
32721 absolute value.
32722 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
32723 (__tanhl): Force underflow exception for arguments with small
32724 absolute value.
32725 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
32726 (__tanhl): Force underflow exception for arguments with small
32727 absolute value.
32728 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
32729 (__tanhl): Force underflow exception for arguments with small
32730 absolute value.
32731 * math/auto-libm-test-in: Add more tests of tanh.
32732 * math/auto-libm-test-out: Regenerated.
32733 * sysdeps/i386/fpu/libm-test-ulps: Update.
32734
32735 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32736
32737 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
32738 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
32739
32740 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32741
32742 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
32743 <cpuid.h>.
32744
32745 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32746
32747 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
32748 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
32749
32750 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32751
32752 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
32753 Remove $(objpfx)init-arch.o.
32754 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
32755 init-arch.
32756 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
32757 (INIT_ARCH_EXT): Defined as empty.
32758 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
32759 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
32760 __init_cpu_features call. Replace HAS_XXX with
32761 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32762 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
32763 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
32764 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
32765 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
32766 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
32767 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
32768 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
32769 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
32770 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
32771 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
32772 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
32773 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
32774 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
32775 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
32776 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
32777 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
32778 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
32779 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
32780 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
32781 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
32782 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
32783 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
32784 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
32785 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
32786 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
32787 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
32788 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
32789 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
32790 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
32791 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
32792 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
32793 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
32794 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
32795 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
32796 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
32797
32798 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32799
32800 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
32801 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32802 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
32803 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
32804 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
32805 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
32806 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
32807 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
32808 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
32809 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
32810 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
32811 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
32812 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32813 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32814 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32815 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32816 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32817 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32818 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32819 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32820 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32821 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32822 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32823 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32824 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32825 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32826 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32827 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32828 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32829 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32830 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32831 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32832 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32833 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32834 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32835 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32836 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32837 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32838 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32839 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32840 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32841 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32842 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32843
32844 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32845
32846 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
32847 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32848 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32849 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32850 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32851 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32852 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32853 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
32854 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32855 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32856 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32857 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
32858 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
32859 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
32860 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
32861 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
32862 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
32863 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
32864 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
32865 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
32866 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
32867 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
32868 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
32869 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32870 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32871 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
32872 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
32873 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
32874 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32875 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32876 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32877 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32878 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32879 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32880 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32881 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32882 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32883 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32884 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32885 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32886 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32887 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32888 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32889
32890 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32891
32892 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
32893 (dl_platform_init): Call init_cpu_features.
32894 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
32895 * sysdeps/i386/i686/cacheinfo.c
32896 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
32897 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
32898 * sysdeps/i386/i686/multiarch/Versions: Removed.
32899 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
32900 Removed.
32901 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
32902 * sysdeps/unix/sysv/linux/x86/Makefile
32903 (libpthread-sysdep_routines): Remove init-arch.
32904 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
32905 <sysdeps/x86_64/dl-procinfo.c> instead of
32906 sysdeps/generic/dl-procinfo.c>.
32907 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
32908 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
32909 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
32910 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
32911 [$(subdir) == elf] (tests-static): Add
32912 tst-get-cpu-features-static.
32913 * sysdeps/x86/Versions: New file.
32914 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
32915 * sysdeps/x86/cpu-features.c: Likewise.
32916 * sysdeps/x86/cpu-features.h: Likewise.
32917 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
32918 * sysdeps/x86/libc-start.c: Likewise.
32919 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
32920 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
32921 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
32922 * sysdeps/x86_64/dl-procinfo.c: Likewise.
32923 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
32924 Assume USE_MULTIARCH is defined and don't check it.
32925 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
32926 (is_amd): Likewise.
32927 (max_cpuid): Likewise.
32928 (intel_check_word): Likewise.
32929 (__cache_sysconf): Don't call __init_cpu_features.
32930 (__x86_preferred_memory_instruction): Removed.
32931 (init_cacheinfo): Don't call __init_cpu_features. Replace
32932 __cpu_features with GLRO(dl_x86_cpu_features).
32933 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
32934 (dl_platform_init): Call init_cpu_features.
32935 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
32936 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
32937 * sysdeps/x86_64/multiarch/Versions: Removed.
32938 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
32939 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
32940 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
32941 Removed.
32942 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
32943
32944 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
32945
32946 [BZ #18820]
32947 * libio/Makefile (test-fmemopen-mem): New test.
32948 * libio/test-fmemopen.c (do_bz18820): New test.
32949 * libio/fmemopen.c (__fmemopen): Fix memory leak.
32950 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
32951
32952 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
32953
32954 [BZ #16734]
32955 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
32956 (FREE_BUF): Delete.
32957 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
32958 * libio/genops.c (_IO_setb): Use malloc and free directly.
32959 (_IO_default_doallocate, _IO_default_finish): Likewise.
32960 ( _IO_unbuffer_all): Likewise.
32961 ( libc_freeres_fn): Likewise.
32962 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
32963 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
32964 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
32965 (_IO_wdefault_doallocate): Likewise.
32966
32967 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
32968
32969 [BZ #18086]
32970 * sysdeps/posix/nice.c (nice): Restore old errno.
32971 * posix/tst-nice.c (do_test): Add test for BZ #18086.
32972
32973 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
32974
32975 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
32976
32977 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32978
32979 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
32980 __bcopy and add a weak_alias to bcopy.
32981 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
32982 for static build.
32983
32984 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
32985 cleanup macro usage.
32986 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
32987 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
32988 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
32989 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
32990 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
32991 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
32992 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
32993 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
32994 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
32995 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
32996 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
32997 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
32998 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
32999 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
33000 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
33001 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
33002 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
33003 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
33004 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33005
33006 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
33007 libc_hidden_def.
33008 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
33009
33010 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
33011 (sysdep_routines): Add strstr-ppc64.
33012 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
33013
33014 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
33015
33016 [BZ #18778]
33017 * elf/Makefile (tests): Add Add tst-nodelete2.
33018 (modules-names): Add tst-nodelete2mod.
33019 (tst-nodelete2mod.so-no-z-defs): New.
33020 ($(objpfx)tst-nodelete2): Likewise.
33021 ($(objpfx)tst-nodelete2.out): Likewise.
33022 (LDFLAGS-tst-nodelete2): Likewise.
33023 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
33024 out of loop through all loaded libraries.
33025 * elf/tst-nodelete2.c: New file.
33026 * elf/tst-nodelete2mod.c: Likewise.
33027 * elf/tst-znodelete-zlib.cc: Delete.
33028
33029 2015-08-11 Andreas Schwab <schwab@suse.de>
33030
33031 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
33032 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
33033 (__openat64_nocancel): Likewise.
33034
33035 2015-08-11 Joseph Myers <joseph@codesourcery.com>
33036
33037 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
33038 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
33039 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
33040 * math/auto-libm-test-out: Regenerated.
33041 * sysdeps/i386/fpu/libm-test-ulps: Update.
33042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33043
33044 2015-08-10 Joseph Myers <joseph@codesourcery.com>
33045
33046 [BZ #18790]
33047 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
33048 threshold for returning +/- 1.
33049 * math/auto-libm-test-in: Add more tests of tanh.
33050 * math/auto-libm-test-out: Regenerated.
33051 * sysdeps/i386/fpu/libm-test-ulps: Update.
33052
33053 2015-08-10 Andreas Schwab <schwab@suse.de>
33054
33055 [BZ #18781]
33056 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
33057 MORE_OFLAGS to oflag.
33058 * io/test-lfs.c (do_test): Test openat64.
33059
33060 2015-08-10 Joseph Myers <joseph@codesourcery.com>
33061
33062 [BZ #18789]
33063 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
33064 smaller threshold for returning the argument.
33065 * math/auto-libm-test-in: Add more tests of sinh.
33066 * math/auto-libm-test-out: Regenerated.
33067 * sysdeps/i386/fpu/libm-test-ulps: Update.
33068
33069 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
33070
33071 [BZ #18674]
33072 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
33073 break.
33074
33075 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
33076
33077 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
33078 (generated): Don't add $(addprefix z.,$(tzfiles)).
33079
33080 2015-08-09 Mike Frysinger <vapier@gentoo.org>
33081
33082 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
33083 * scripts/sysd-rules.awk: Likewise.
33084
33085 2015-08-09 Mike Frysinger <vapier@gentoo.org>
33086
33087 * iconvdata/tst-tables.sh: Change echo -n to printf.
33088 * nss/db-Makefile: Likewise.
33089 * posix/tst-getconf.sh: Likewise.
33090 * stdio-common/tst-unbputc.sh: Likewise.
33091
33092 2015-08-09 Mike Frysinger <vapier@gentoo.org>
33093
33094 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
33095 MADV_*_PAGES defines behind this feature check.
33096
33097 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
33098
33099 [BZ #18480]
33100 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
33101 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
33102 Define.
33103 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
33104 LOAD_REGS_5, LOAD_REGS_6): Update.
33105 (INTERNAL_SYSCALL): Update using new LOAD defines.
33106 (INTERNAL_SYSCALL_NCS): Likewise.
33107 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
33108
33109 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33110
33111 [BZ #16734]
33112 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
33113
33114 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33115
33116 [BZ #17905]
33117 * catgets/Makefile (tst-catgets-mem): New test.
33118 * catgets/catgets.c (catopen): Don't use unbounded alloca.
33119 * catgets/open_catalog.c (__open_catalog): Likewise.
33120 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
33121
33122 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
33123
33124 [BZ #18787]
33125 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
33126 clobber registers.
33127 (atomic_compare_and_exchange_val_acq): Use register asms to assign
33128 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
33129 Cast return to __typeof (oldval).
33130
33131 2015-08-08 Mike Frysinger <vapier@gentoo.org>
33132
33133 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
33134 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
33135 and delete sys/syscall.h include.
33136
33137 2015-08-07 Joseph Myers <joseph@codesourcery.com>
33138
33139 [BZ #16517]
33140 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
33141 (tan): Force underflow exception for arguments with small absolute
33142 value.
33143 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
33144 (__kernel_tanf): Force underflow exception for arguments with
33145 small absolute value.
33146 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
33147 (__kernel_tanl): Force underflow exception for arguments with
33148 small absolute value.
33149 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
33150 (__kernel_tanl): Force underflow exception for arguments with
33151 small absolute value.
33152 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
33153 (__kernel_tanl): Force underflow exception for arguments with
33154 small absolute value.
33155 * math/auto-libm-test-in: Add more tests of tan.
33156 * math/auto-libm-test-out: Regenerated.
33157
33158 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
33159
33160 Fix sysdeps/i386/fpu/s_scalbn.S build
33161
33162 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
33163
33164 2015-08-07 Mike Frysinger <vapier@gentoo.org>
33165
33166 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
33167
33168 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
33169
33170 Fix gcrt0.o compilation
33171
33172 When static-start-installed-name is different from
33173 start-installed-name, we must not use the shared objects.
33174
33175 * csu/Makefile
33176 (extra-objs): Add gmon-start.o when building shared library and
33177 $(static-start-installed-name) is different from
33178 $(start-installed-name).
33179 $(objpfx)g$(static-start-installed-name): When building shared
33180 library and $(static-start-installed-name) is different from
33181 $(static-start-installed-name), revert to non-shared rule,
33182 i.e. using $(objpfx)% and gmon-start.o.
33183
33184 2015-08-06 Joseph Myers <joseph@codesourcery.com>
33185
33186 [BZ #16519]
33187 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
33188 (__ieee754_sinh): Force underflow exception for arguments with
33189 small absolute value.
33190 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
33191 (__ieee754_sinhf): Force underflow exception for arguments with
33192 small absolute value.
33193 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
33194 (__ieee754_sinhl): Force underflow exception for arguments with
33195 small absolute value.
33196 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
33197 (__ieee754_sinhl): Force underflow exception for arguments with
33198 small absolute value.
33199 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
33200 (__ieee754_sinhl): Force underflow exception for arguments with
33201 small absolute value.
33202 * math/auto-libm-test-in: Add more tests of sinh.
33203 * math/auto-libm-test-out: Regenerated.
33204 * sysdeps/i386/fpu/libm-test-ulps: Update.
33205
33206 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33207
33208 * libio/oldfileops.c: Include unistd.h.
33209
33210 2015-08-06 Mike Frysinger <vapier@gentoo.org>
33211
33212 * stdlib/isomac.c: Include ctype.h.
33213
33214 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
33215
33216 * dirent/tst-seekdir.c (main): Converted to ...
33217 (do_test): ... this.
33218 (TEST_FUNCTION): New macro.
33219 Include test-skeleton.c.
33220 * elf/tst-dlmodcount.c (main): Converted to ...
33221 (do_test): ... this.
33222 (TEST_FUNCTION): New macro.
33223 Include test-skeleton.c.
33224 * elf/tst-order-main.c (main): Converted to ...
33225 (do_test): ... this.
33226 (TEST_FUNCTION): New macro.
33227 Include test-skeleton.c.
33228 * elf/tst-pie2.c (main): Converted to ...
33229 (do_test): ... this.
33230 (TEST_FUNCTION): New macro.
33231 Include test-skeleton.c.
33232 * inet/tst-ether_aton.c (main): Converted to ...
33233 (do_test): ... this.
33234 (TEST_FUNCTION): New macro.
33235 Include test-skeleton.c.
33236 * misc/tst-mntent.c (main): Converted to ...
33237 (do_test): ... this.
33238 (TEST_FUNCTION): New macro.
33239 Include test-skeleton.c.
33240 * misc/tst-tsearch.c (main): Converted to ...
33241 (do_test): ... this.
33242 (TEST_FUNCTION): New macro.
33243 Include test-skeleton.c.
33244 * posix/tst-regexloc.c (main): Converted to ...
33245 (do_test): ... this.
33246 (TEST_FUNCTION): New macro.
33247 Include test-skeleton.c.
33248 * resolv/tst-aton.c (main): Converted to ...
33249 (do_test): ... this.
33250 (TEST_FUNCTION): New macro.
33251 Include test-skeleton.c.
33252 * stdio-common/test-fwrite.c (main): Converted to ...
33253 (do_test): ... this.
33254 (TEST_FUNCTION): New macro.
33255 Include test-skeleton.c.
33256 * stdio-common/tst-ferror.c (main): Converted to ...
33257 (do_test): ... this.
33258 (TEST_FUNCTION): New macro.
33259 Include test-skeleton.c.
33260 * stdio-common/tst-printf.c (main): Converted to ...
33261 (do_test): ... this.
33262 (TEST_FUNCTION): New macro.
33263 Include test-skeleton.c.
33264 * stdio-common/tst-printfsz.c (main): Converted to ...
33265 (do_test): ... this.
33266 (TEST_FUNCTION): New macro.
33267 Include test-skeleton.c.
33268 * stdlib/tst-strtod.c (main): Converted to ...
33269 (do_test): ... this.
33270 (TEST_FUNCTION): New macro.
33271 Include test-skeleton.c.
33272 * string/tst-strlen.c (main): Converted to ...
33273 (do_test): ... this.
33274 (TEST_FUNCTION): New macro.
33275 Include test-skeleton.c.
33276 * string/tst-svc.c (main): Converted to ...
33277 (do_test): ... this.
33278 (TEST_FUNCTION): New macro.
33279 Include test-skeleton.c.
33280 * time/tst-strptime.c (main): Converted to ...
33281 (do_test): ... this.
33282 (TEST_FUNCTION): New macro.
33283 Include test-skeleton.c.
33284 * timezone/tst-timezone.c (main): Converted to ...
33285 (do_test): ... this.
33286 (TEST_FUNCTION): New macro.
33287 Include test-skeleton.c.
33288
33289 2015-08-05 Zack Weinberg <zackw@panix.com>
33290
33291 * misc/regexp.h: Update comments.
33292
33293 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
33294
33295 [BZ #18635]
33296 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
33297 before return label.
33298
33299 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33300
33301 [BZ #18661]
33302 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
33303 when calling __errno_location.
33304 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
33305 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
33306
33307 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33308
33309 [BZ #18661]
33310 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
33311 (__lll_timedwait_tid): Align stack to 16 bytes when calling
33312 __gettimeofday.
33313
33314 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33315
33316 [BZ #18661]
33317 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33318 (__start_context): Don't use pop to restore %rdi so that stack
33319 is aligned to 16 bytes when calling __setcontext.
33320
33321 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33322
33323 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
33324 only for libc.
33325 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
33326
33327 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33328
33329 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
33330 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
33331 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
33332
33333 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33334
33335 * string/memccpy.c (memccpy):
33336 Improve performance by using memchr/memcpy/__mempcpy.
33337
33338 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33339
33340 * string/strncpy.c (strncpy):
33341 Improve performance by using __strnlen/memcpy.
33342
33343 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33344
33345 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33346 Optimize to avoid an unnecessary FPCR read.
33347
33348 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33349
33350 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
33351 Optimize to reduce FPCR/FPSR accesses.
33352
33353 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33354
33355 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
33356 dead->data[category] != NULL.
33357
33358 2015-08-05 Joseph Myers <joseph@codesourcery.com>
33359
33360 [BZ #18647]
33361 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
33362 and |x| close to 1, use absolute value of x when computing log.
33363 * math/auto-libm-test-in: Add more tests of pow.
33364 * math/auto-libm-test-out: Regenerated.
33365
33366 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33367
33368 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
33369 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
33370 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
33371
33372 2015-08-05 Marko Myllynen <myllynen@redhat.com>
33373
33374 [BZ #18525]
33375 * locales/km_KH: Remove timezone definition.
33376 * locales/lo_LA: Likewise.
33377 * locales/my_MM: Likewise.
33378 * locales/nan_TW@latin: Likewise.
33379 * locales/th_TH: Likewise.
33380 * locales/uk_UA: Likewise.
33381
33382 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
33383
33384 [BZ #18265]
33385 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
33386 (wcsncat): Likewise.
33387 (wcscmp): Likewise.
33388 (wcsncmp): Likewise.
33389
33390 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33391
33392 * test-skeleton.c (usage): New function.
33393 (main): Call usage when opt is '?'.
33394
33395 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33396
33397 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
33398 before first use.
33399
33400 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33401
33402 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
33403 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
33404 in there too.
33405
33406 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
33407
33408 * version.h (RELEASE): Set to "development".
33409 (VERSION): Set to "2.22.90"
33410
33411 * version.h (RELEASE): Set to "stable".
33412 (VERSION): Set to "2.22"
33413 * include/features.h (__GLIBC_MINOR__): Set to 22.
33414
33415 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
33416
33417 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
33418 Restructure macro to avoid "value computed is not used" warning.
33419 (atomic_compare_and_exchange_val_acq): Likewise.
33420
33421 2015-08-04 Andreas Schwab <schwab@suse.de>
33422
33423 [BZ #18635]
33424 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
33425 ret.
33426 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
33427
33428 2015-08-01 Carlos O'Donell <carlos@redhat.com>
33429
33430 * po/pl.po: Updated translation.
33431 * po/uk.po: Likewise.
33432 * po/fi.po: Likewise.
33433 * po/ko.po: Likewise.
33434 * po/ru.po: Likewise.
33435 * po/vi.po: Likewise.
33436
33437 2015-07-31 Zack Weinberg <zackw@panix.com>
33438
33439 [BZ #18681]
33440 * regexp.h: Add unconditional #warning stating that this header
33441 will be removed soon. Revise banner comment to match.
33442 (compile): Consistently use ERROR instead of RETURN to report
33443 errors (partial fix for BZ #18681).
33444 * regexp.c: Don't include regexp.h. Remove some unnecessary
33445 declarations.
33446
33447 2015-07-31 Carlos O'Donell <carlos@redhat.com>
33448
33449 * po/libc.pot: Regenerated.
33450
33451 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
33452
33453 [BZ #18740]
33454 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
33455 float-vlen4-arch-ext-cflags): Removed.
33456 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
33457 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
33458
33459 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33460
33461 [BZ #14113]
33462 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
33463 aligned to __aligned__.
33464 (pthread_cond_t, pthread_rwlock_t): Likewise.
33465
33466 2015-07-30 Torvald Riegel <triegel@redhat.com>
33467
33468 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
33469
33470 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33471
33472 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
33473 (struct sigaction): Change sa_flags from a long to an int, and add
33474 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
33475
33476 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33477
33478 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
33479 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
33480 sysdeps/generic/sysdep.h include.
33481 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
33482 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
33483 sysdeps/hppa/sysdep.h.
33484 (ENTRY, PSEUDO): Undefine before defining.
33485
33486 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33487
33488 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
33489 from scratch to use INTERNAL_SYSCALL.
33490
33491 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
33492
33493 [BZ #18078]
33494 * scripts/check-localplt.awk: Support alternate relocations.
33495 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
33496 sections.
33497 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
33498 malloc entries with + REL R_386_GLOB_DAT.
33499 * sysdeps/x86_64/localplt.data: New file.
33500
33501 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
33502
33503 [BZ #18731]
33504 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
33505 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33506 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33507
33508 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33509
33510 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
33511
33512 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33513
33514 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
33515 directly in terms of __sync_fetch_and_add and delete (int) cast.
33516
33517 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33518
33519 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
33520 the -D_ASM_IA64_CURRENT_H flag.
33521
33522 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33523
33524 [BZ #18641]
33525 * pwd/pwd.h (putpwent): Delete __nonnull markings.
33526
33527 2015-07-27 Andreas Schwab <schwab@suse.de>
33528
33529 * conform/conformtest.pl (checknamespace): Filter out string
33530 literals while tokenizing.
33531
33532 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
33533
33534 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33535 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
33536 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33537
33538 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
33539
33540 * nptl/tst-join7mod.c: Add #include <string.h>.
33541
33542 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
33543
33544 * sysdeps/nios2/libm-test-ulps: Update.
33545
33546 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
33547
33548 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
33549 Fix order of arguments to the rt_sigprocmask syscall.
33550 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
33551 Likewise.
33552
33553 2015-07-24 Roland McGrath <roland@hack.frob.com>
33554
33555 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
33556
33557 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33558
33559 [BZ #18457]
33560 * nptl/Makefile (tests): New test case tst-join7.
33561 (modules-names): New test case module tst-join7mod.
33562 * nptl/tst-join7.c: New file.
33563 * nptl/tst-join7mod.c: New file.
33564 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
33565 all translation units in libc.so, libpthread.so and rtld.
33566
33567 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33568
33569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33570
33571 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
33572
33573 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
33574 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
33575 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
33576 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
33577 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
33578 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
33579 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
33580 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
33581 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
33582 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
33583 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
33584 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
33585 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
33586 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
33587 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
33588 implementation.
33589
33590 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
33591
33592 [BZ #17711]
33593 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33594 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
33595 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33596 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33597 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
33598 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33599
33600 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33601
33602 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
33603 instead of just saying load lock in the comments.
33604
33605 2015-07-23 Roland McGrath <roland@hack.frob.com>
33606
33607 * sysdeps/unix/Subdirs: Moved ...
33608 * sysdeps/posix/Subdirs: ... here.
33609 * login/pty.h (struct termios, struct winsize): Add forward decls.
33610 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
33611 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
33612 * sysdeps/arm/nacl/libc.abilist: Updated.
33613 * sysdeps/nacl/libutil.abilist: New file.
33614
33615 * bits/signum.h: Update comments to mention 1003.1-2013 too.
33616 (SIGWINCH): New macro.
33617
33618 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
33619 * sysdeps/arm/nacl/libc.abilist: Add it.
33620
33621 2015-07-23 Mike Frysinger <vapier@gentoo.org>
33622
33623 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
33624
33625 2015-07-23 Mike Frysinger <vapier@gentoo.org>
33626
33627 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
33628 Swap __glibc_reserved0 and sa_flags order.
33629
33630 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
33631
33632 [BZ #18657]
33633 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
33634 are pending TLS destructor calls.
33635 * include/link.h (struct link_map): Add concurrency note for
33636 L_TLS_DTOR_COUNT.
33637 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
33638 Don't touch the link map flag. Atomically increment
33639 l_tls_dtor_count.
33640 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
33641 Avoid taking the load lock and don't touch the link map flag.
33642 * stdlib/tst-tls-atexit-nodelete.c: New test case.
33643 * stdlib/Makefile (tests): Use it.
33644 * stdlib/tst-tls-atexit.c (do_test): dlopen
33645 tst-tls-atexit-lib.so again before dlclose. Add conditionals
33646 to allow tst-tls-atexit-nodelete test case to use it.
33647
33648 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33649
33650 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
33651 to bits/types.h.
33652 (msgqnum_t): New typedef.
33653 (msglen_t): Likewise.
33654 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
33655 and msg_qbytes type to msglen_t.
33656
33657 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33658
33659 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
33660 pad0 to __glibc_reserved0.
33661 (struct stat64): Likewise.
33662
33663 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33664
33665 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
33666 Change sa_flags from a long to an int and add __glibc_reserved0 before
33667 it for padding.
33668
33669 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33670
33671 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
33672 anonymous by deleting "siginfo" name.
33673
33674 2015-07-21 Roland McGrath <roland@hack.frob.com>
33675
33676 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
33677 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
33678 rather than __nacl_irt_filename.
33679 * sysdeps/nacl/xstat.c (__xstat): Likewise.
33680
33681 * NEWS: New item for arm-nacl port.
33682 * sysdeps/arm/nacl/libc.abilist: New file.
33683 * sysdeps/nacl/ld.abilist: New file.
33684 * sysdeps/nacl/libBrokenLocale.abilist: New file.
33685 * sysdeps/nacl/libanl.abilist: New file.
33686 * sysdeps/nacl/libcrypt.abilist: New file.
33687 * sysdeps/nacl/libdl.abilist: New file.
33688 * sysdeps/nacl/libm.abilist: New file.
33689 * sysdeps/nacl/libpthread.abilist: New file.
33690 * sysdeps/nacl/libresolv.abilist: New file.
33691 * sysdeps/nacl/librt.abilist: New file.
33692
33693 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
33694
33695 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
33696 __startcontext to initialize the new context.
33697 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
33698 up CFI directive to forbid further backtracing.
33699
33700 2015-07-21 Marko Myllynen <myllynen@redhat.com>
33701
33702 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
33703 reference.
33704 * charmaps/ANSI_X3.4-1968: Likewise.
33705 * charmaps/BS_4730: Likewise.
33706 * charmaps/BS_VIEWDATA: Likewise.
33707 * charmaps/CP1250: Likewise.
33708 * charmaps/CP1251: Likewise.
33709 * charmaps/CP1252: Likewise.
33710 * charmaps/CP1253: Likewise.
33711 * charmaps/CP1254: Likewise.
33712 * charmaps/CP1255: Likewise.
33713 * charmaps/CP1256: Likewise.
33714 * charmaps/CSN_369103: Likewise.
33715 * charmaps/EBCDIC-DK-NO: Likewise.
33716 * charmaps/GB_1988-80: Likewise.
33717 * charmaps/GREEK-CCITT: Likewise.
33718 * charmaps/GREEK7: Likewise.
33719 * charmaps/INIS-8: Likewise.
33720 * charmaps/ISIRI-3342: Likewise.
33721 * charmaps/ISO_2033-1983: Likewise.
33722 * charmaps/ISO_5427-EXT: Likewise.
33723 * locales/POSIX: Likewise.
33724 * locales/ar_SA: Likewise.
33725 * locales/be_BY: Likewise.
33726 * locales/be_BY@latin: Likewise.
33727 * locales/ca_ES: Likewise.
33728 * locales/cs_CZ: Likewise.
33729 * locales/da_DK: Likewise.
33730 * locales/de_BE: Likewise.
33731 * locales/de_CH: Likewise.
33732 * locales/de_LU: Likewise.
33733 * locales/en_AU: Likewise.
33734 * locales/en_BW: Likewise.
33735 * locales/en_CA: Likewise.
33736 * locales/en_DK: Likewise.
33737 * locales/en_GB: Likewise.
33738 * locales/en_IE: Likewise.
33739 * locales/en_NZ: Likewise.
33740 * locales/en_ZA: Likewise.
33741 * locales/en_ZW: Likewise.
33742 * locales/es_AR: Likewise.
33743 * locales/es_BO: Likewise.
33744 * locales/es_CL: Likewise.
33745 * locales/es_CO: Likewise.
33746 * locales/es_DO: Likewise.
33747 * locales/es_EC: Likewise.
33748 * locales/es_ES: Likewise.
33749 * locales/es_HN: Likewise.
33750 * locales/es_MX: Likewise.
33751 * locales/es_PA: Likewise.
33752 * locales/es_PE: Likewise.
33753 * locales/es_PY: Likewise.
33754 * locales/es_SV: Likewise.
33755 * locales/es_US: Likewise.
33756 * locales/es_UY: Likewise.
33757 * locales/es_VE: Likewise.
33758 * locales/et_EE: Likewise.
33759 * locales/fa_IR: Likewise.
33760 * locales/fo_FO: Likewise.
33761 * locales/fr_CA: Likewise.
33762 * locales/fr_CH: Likewise.
33763 * locales/gv_GB: Likewise.
33764 * locales/he_IL: Likewise.
33765 * locales/hr_HR: Likewise.
33766 * locales/id_ID: Likewise.
33767 * locales/is_IS: Likewise.
33768 * locales/it_CH: Likewise.
33769 * locales/iw_IL: Likewise.
33770 * locales/kl_GL: Likewise.
33771 * locales/ko_KR: Likewise.
33772 * locales/kw_GB: Likewise.
33773 * locales/lg_UG: Likewise.
33774 * locales/lt_LT: Likewise.
33775 * locales/lv_LV: Likewise.
33776 * locales/mi_NZ: Likewise.
33777 * locales/nhn_MX: Likewise.
33778 * locales/nl_BE: Likewise.
33779 * locales/pl_PL: Likewise.
33780 * locales/sk_SK: Likewise.
33781 * locales/sl_SI: Likewise.
33782 * locales/sv_FI: Likewise.
33783 * locales/tl_PH: Likewise.
33784 * locales/tr_TR: Likewise.
33785 * locales/vi_VN: Likewise.
33786
33787 2015-07-21 Khem Raj <raj.khem@gmail.com>
33788
33789 [BZ #17475]
33790 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
33791 of tu_IN and bh_IN.
33792
33793 2015-07-21 Mike Frysinger <vapier@gentoo.org>
33794
33795 [BZ #18694]
33796 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
33797 bits/wordsize.h.
33798 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
33799
33800 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33801
33802 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
33803 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
33804 (spawn_thread): New function.
33805 (load): Rename to reg_dtor_and_close. Move dlopen to...
33806 (do_test): ... here. Use IS_LOADED to test for its
33807 availability.
33808
33809 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
33810
33811 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33812
33813 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
33814
33815 [BZ #18696]
33816 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
33817 si_addr_bnd.
33818 (si_lower): New.
33819 (si_upper): Likewise.
33820
33821 2015-07-16 David S. Miller <davem@davemloft.net>
33822
33823 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
33824
33825 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33826
33827 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
33828 buffer.
33829 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
33830 fail output information.
33831
33832 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33833
33834 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
33835 and strstr-ppc64..
33836 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
33837 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
33838 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
33839 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
33840 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
33841
33842 2015-07-16 Mike Frysinger <vapier@gentoo.org>
33843
33844 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
33845 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
33846 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
33847 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
33848
33849 2015-07-16 Mike Frysinger <vapier@gentoo.org>
33850
33851 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
33852 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
33853 rtld_hidden_proto.
33854 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
33855
33856 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33857
33858 * tst-nodelete-opened.c (do_test): Add comment to clarify how
33859 the test can fail.
33860
33861 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
33862
33863 [BZ #18676]
33864 * elf/tst-nodelete-opened.c: New test case.
33865 * elf/tst-nodelete-opened-lib.c: New test case module.
33866 * elf/Makefile (tests, modules-names): Use them.
33867 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
33868 early.
33869
33870 2015-07-15 David S. Miller <davem@davemloft.net>
33871
33872 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
33873 futex-intenal.h
33874 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
33875 * sysdeps/sparc/sparc64/Makefile: Likewise.
33876 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
33877 Remove space from macro define.
33878 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
33879
33880 2015-07-15 Pravin Satpute <psatpute@redhat.com>
33881
33882 [BZ #17475]
33883 * locale/iso-639.def: Update Bhili and Tulu language codes as
33884 per iso639-3.
33885
33886 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
33887
33888 * elf/tst-leaks1.c (main): Converted to ...
33889 (do_test): ... this.
33890 (TEST_FUNCTION): New macro.
33891 Include test-skeleton.c.
33892 * localedata/tst-langinfo.c (main): Converted to ...
33893 (do_test): ... this.
33894 (TEST_FUNCTION): New macro.
33895 Include test-skeleton.c.
33896 * math/test-fpucw.c (main): Converted to ...
33897 (do_test): ... this.
33898 (TEST_FUNCTION): New macro.
33899 Include test-skeleton.c.
33900 * math/test-tgmath.c (main): Converted to ...
33901 (do_test): ... this.
33902 (TEST_FUNCTION): New macro.
33903 Include test-skeleton.c.
33904 * math/test-tgmath2.c (main): Converted to ...
33905 (do_test): ... this.
33906 (TEST_FUNCTION): New macro.
33907 Include test-skeleton.c.
33908 * setjmp/tst-setjmp.c (main): Converted to ...
33909 (do_test): ... this.
33910 (TEST_FUNCTION): New macro.
33911 Include test-skeleton.c.
33912 * stdio-common/tst-sscanf.c (main): Converted to ...
33913 (do_test): ... this.
33914 (TEST_FUNCTION): New macro.
33915 Include test-skeleton.c.
33916 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
33917 (do_test): ... this.
33918 (TEST_FUNCTION): New macro.
33919 Include test-skeleton.c.
33920
33921 * elf/tst-audit9.c (main): Converted to ...
33922 (do_test): ... this.
33923 (TEST_FUNCTION): New macro.
33924 Include test-skeleton.c.
33925
33926 2015-07-15 Mike Frysinger <vapier@gentoo.org>
33927
33928 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
33929
33930 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33931
33932 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
33933 New variable.
33934
33935 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33936
33937 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
33938
33939 2015-07-14 Roland McGrath <roland@hack.frob.com>
33940
33941 * sysdeps/generic/dl-fileid.h: New file.
33942 * sysdeps/posix/dl-fileid.h: New file.
33943 * sysdeps/nacl/dl-fileid.h: New file.
33944 * include/link.h: Include <dl-fileid.h>.
33945 (struct link_map): Replace l_dev and l_ino with l_file_id.
33946 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
33947 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
33948 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
33949
33950 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33951
33952 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
33953
33954 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33955
33956 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
33957 Add iff $CXX is set.
33958 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
33959 Likewise.
33960 (tst-nodelete-zmodiff): Likewise.
33961 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
33962
33963 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33964
33965 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
33966
33967 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
33968
33969 * sysdeps/aarch64/fpu/math_private.h
33970 (define math_opt_barrier): Add AArch64 version.
33971 (math_force_eval): Likewise.
33972
33973 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
33974
33975 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
33976
33977 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
33978
33979 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
33980 %ld with %jd and cast to intmax_t.
33981 (do_test_length_zero): Likewise.
33982
33983 2015-07-10 Roland McGrath <roland@hack.frob.com>
33984
33985 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
33986
33987 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
33988
33989 * sysdeps/tile/libm-test-ulps: Regenerated.
33990
33991 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
33992 Comment out the whole function, not just its body.
33993
33994 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33995
33996 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
33997 locks.
33998
33999 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
34000
34001 2015-07-10 Torvald Riegel <triegel@redhat.com>
34002
34003 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
34004 (sem_assume_only_signals_cause_futex_EINTR): Remove.
34005
34006 2015-07-10 Torvald Riegel <triegel@redhat.com>
34007
34008 * sysdeps/nptl/futex-internal.h: New file.
34009 * sysdeps/nacl/futex-internal.h: New file.
34010 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
34011 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
34012 error checking.
34013 (setxid_unmark_thread): Likewise.
34014 (__nptl_setxid): Likewise.
34015 (__wait_lookup_done): Likewise.
34016 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34017 * nptl/nptl-init.c (sighandler_setxid): Likewise.
34018 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
34019 * nptl/pthread_once.c (clear_once_control): Likewise.
34020 (__pthread_once_slow): Likewise.
34021 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
34022 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
34023 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
34024 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
34025 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
34026 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
34027 Likewise.
34028 (__pthread_rwlock_rdlock): Likewise.
34029 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34030 Likewise.
34031 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
34032 Likewise.
34033 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
34034 Likewise.
34035 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
34036 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
34037 Likewise.
34038 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
34039 __ASSUME_PRIVATE_FUTEX check.
34040 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
34041 Check that shared futexes are supported.
34042 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
34043 wrappers with error checking.
34044 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
34045 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
34046 * nptl/pthread_barrierattr_setpshared.c
34047 (pthread_barrierattr_setpshared): Check that shared futexes are
34048 supported.
34049 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
34050 Likewise.
34051 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
34052 Likewise.
34053 * nptl/sem_init.c (futex_private_if_supported): Remove.
34054 (__new_sem_init): Adapt and check that shared futexes are supported.
34055 * nptl/sem_open.c (sem_open): Likewise.
34056 * nptl/sem_post.c (futex_wake): Remove.
34057 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
34058 (do_futex_wait): Use futex wrappers with error checking.
34059 * nptl/sem_wait.c: Include lowlevellock.h.
34060 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
34061 Use futex_supports_pshared.
34062 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
34063 Use futex wrappers with error checking.
34064 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
34065 Likewise.
34066 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
34067 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
34068 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
34069 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
34070 (futex_wake): Likewise.
34071 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
34072 (do_futex_wait): Use futex wrappers with error checking.
34073 (__new_sem_wait_slow): Update EINTR handling.
34074 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
34075
34076 2015-07-09 Martin Sebor <msebor@redhat.com>
34077
34078 [BZ #18435]
34079 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34080 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
34081 * nptl/Makefile (test-xfail-tst-once5): Define.
34082
34083 2015-07-09 Roland McGrath <roland@hack.frob.com>
34084
34085 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
34086 * elf/dl-minimal.c: For readability, reorder some definitions and
34087 introduce more page breaks. Include <stdio.h>.
34088 (__libc_fatal): New function.
34089
34090 * include/unistd.h: Add rtld_hidden_proto for _exit.
34091 * posix/_exit.c: Add rtld_hidden_def.
34092 * sysdeps/mach/hurd/_exit.c: Likewise.
34093 * sysdeps/nacl/_exit.c: Likewise.
34094 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
34095 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
34096
34097 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
34098
34099 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
34100 bndmov encoding with zero displacement.
34101
34102 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
34103 H.J. Lu <hongjiu.lu@intel.com>
34104
34105 [BZ #18134]
34106 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
34107 * sysdeps/i386/configure: Regenerated.
34108 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
34109 (_dl_runtime_profile): Save and restore Intel MPX return bound
34110 registers when calling _dl_call_pltexit. Add
34111 PRESERVE_BND_REGS_PREFIX before return.
34112 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
34113 (LRV_BND1_OFFSET): Likewise.
34114 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
34115 lrv_bnd1.
34116 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
34117 typo in bndmov encoding.
34118 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
34119 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
34120 branch instructions to preserve bounds.
34121
34122 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34123
34124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
34125 [GLIBC_2.22]: Add fmemopen.
34126
34127 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
34128
34129 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
34130 returns an error, also try to use host port from __mach_host_self for
34131 the __vm_wire call.
34132 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
34133
34134 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
34135
34136 [BZ #18400]
34137 [BZ #18648]
34138 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
34139 Fix pr_uid and pr_gid members.
34140 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
34141 definition to elf_greg_t.
34142
34143 2015-07-08 Roland McGrath <roland@hack.frob.com>
34144
34145 [BZ #18383]
34146 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
34147 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
34148 * sysdeps/arm/configure: Regenerated.
34149 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
34150 (test-xfail-tst-tlsalign-static): Variable removed.
34151
34152 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
34153 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
34154 rather than explicit 'ln -s'.
34155
34156 * resolv/rpc/netdb.h: New file.
34157 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
34158
34159 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34160
34161 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
34162 length buffers.
34163 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
34164 test-skeleton.c.
34165
34166 [BZ #6544]
34167 [BZ #11216]
34168 [BZ #12836]
34169 [BZ #13151]
34170 [BZ #13152]
34171 [BZ #14292]
34172 * include/stdio.h (fmemopen): Remove hidden prototype.
34173 (__fmemopen): Add new hidden prototype.
34174 * libio/Makefile: Add oldfmemopen object.
34175 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
34176 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
34177 compliance.
34178 * libio/oldfmemopen.c: New file: old fmemopen implementation for
34179 symbol compatibility.
34180 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
34181 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
34182 fmemopen.
34183 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
34184 on append and read mode.
34185 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
34186 fmemopen.
34187 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
34188 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
34189 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
34190 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
34191 Likewise.
34192 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
34193 [GLIBC_2.22]: Likewise.
34194 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
34195 Likewise.
34196 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
34197 Likewise.
34198 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
34199 [GLIBC_2.22]: Likewise.
34200 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
34201 [GLIBC_2.22]: Likewise.
34202 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
34203 [GLIBC_2.22]: Likewise.
34204 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
34205 [GLIBC_2.22]: Likewise.
34206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
34207 [GLIBC_2.22]: Likewise.
34208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
34209 [GLIBC_2.22]: Likewise.
34210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
34211 [GLIBC_2.22]: Likewise.
34212 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
34213 Likewise.
34214 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
34215 Likewise.
34216 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
34217 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
34218 [GLIBC_2.22]: Likewise.
34219 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
34220 [GLIBC_2.22]: Likewise.
34221 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
34222 [GLIBC_2.22]: Likewise.
34223 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
34224 [GLIBC_2.22]: Likewise.
34225 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
34226 Likewise.
34227 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
34228 Likewise.
34229 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
34230 Likewise.
34231 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
34232 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
34233
34234 2015-07-08 Carlos O'Donell <carlos@redhat.com>
34235
34236 [BZ #18643]
34237 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
34238 IPV6_PATHMTU, and IPV6_DONTFRAG.
34239
34240 2015-07-08 Feng Gao <gfree.wind@gmail.com>
34241
34242 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
34243 and _IO_UNBUFFERED.
34244 * libio/oldfileops.c: Likewise.
34245 * libio/wfileops.c: Likewise.
34246
34247 2015-07-08 Mike Frysinger <vapier@gentoo.org>
34248
34249 * nscd/selinux.c: Delete selinux/flask.h include.
34250
34251 2015-07-08 Mike Frysinger <vapier@gentoo.org>
34252
34253 [BZ #18641]
34254 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
34255 (putpwent): Likewise.
34256 (getpwnam): Likewise.
34257 (getpwent_r): Likewise.
34258 (getpwuid_r): Likewise.
34259 (getpwnam_r): Likewise.
34260 (fgetpwent_r): Likewise.
34261
34262 2015-07-08 Carlos O'Donell <carlos@redhat.com>
34263
34264 [BZ #18557]
34265 * inet/rcmd.c (__validuser2_sa): Check user first to
34266 short-circuit host check.
34267
34268 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
34269 Mikhail Ilin <m.ilin@samsung.com>
34270
34271 [BZ #17833]
34272 * elf/Makefile (tests): Add tst-nodelete.
34273 (modules-names): Add tst-nodelete-uniquemod.
34274 (tst-nodelete-uniquemod.so-no-z-defs): New.
34275 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
34276 (tst-nodelete-zmod.so-no-z-defs): Likewise.
34277 ($(objpfx)tst-nodelete): Likewise.
34278 ($(objpfx)tst-nodelete.out): Likewise.
34279 (LDFLAGS-tst-nodelete): Likewise.
34280 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
34281 * elf/dl-close.c (_dl_close_worker): Add a parameter to
34282 implement forced object deletion.
34283 (_dl_close): Pass false to _dl_close_worker.
34284 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
34285 * elf/tst-nodelete.cc: New file.
34286 * elf/tst-nodeletelib.cc: Likewise.
34287 * elf/tst-znodeletelib.cc: Likewise.
34288 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
34289
34290 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34291
34292 [BZ #18508]
34293 * stdlib/Makefile ($(objpfx)tst-makecontext3):
34294 Depend on $(libdl).
34295 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
34296 is not called infinitely times.
34297 (backtrace_helper): New function.
34298 (trace_arg): New struct.
34299 (st1): Enlarge stack size.
34300 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34301 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
34302 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34303 Likewise.
34304
34305 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34306
34307 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34308
34309 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34310
34311 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
34312 Include sys/types.h instead of bits/types.h.
34313 Remove inclusion of bits/wordsize.h.
34314
34315 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34316
34317 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
34318 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
34319 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
34320 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
34321 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
34322 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
34323
34324 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34325
34326 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
34327 link-defines.sym.
34328 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
34329 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
34330 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
34331 and LR_SIZE.
34332 * sysdeps/i386/link-defines.sym: New file.
34333
34334 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34335
34336 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
34337 (modules-names): Add tst-auditmod3a tst-auditmod3b.
34338 ($(objpfx)tst-audit3): New rule.
34339 ($(objpfx)tst-audit3.out): Likewise.
34340 * sysdeps/i386/tst-audit3.c: New file.
34341 * sysdeps/i386/tst-audit3.h: Likewise.
34342 * sysdeps/i386/tst-auditmod3a.c: Likewise.
34343 * sysdeps/i386/tst-auditmod3b.c: Likewise.
34344
34345 2015-07-07 Torvald Riegel <triegel@redhat.com>
34346
34347 [BZ #18633]
34348 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
34349 pointer in C code.
34350 (__strcat_c): Likewise.
34351 (__strcat_g): Likewise.
34352
34353 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
34354
34355 [BZ #18592]
34356 * misc/sbrk.c: Set errno to ENOMEM on overflow.
34357
34358 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
34359
34360 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
34361 New function. (__ieee754_sqrtf): New function.
34362 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
34363 New function.
34364 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
34365 New function.
34366
34367 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
34368
34369 * sysdeps/ieee754/support.c: Remove unused file.
34370
34371 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
34372
34373 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
34374 registers instead of d ones so the layout is kernel abi compatible.
34375 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
34376 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
34377 Likewise.
34378
34379 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
34380
34381 * sysdeps/aarch64/libm-test-ulps: Regenerated.
34382
34383 2015-07-01 Joseph Myers <joseph@codesourcery.com>
34384
34385 [BZ #18619]
34386 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
34387 and return argument in case of subnormal argument.
34388
34389 2015-07-01 Martin Sebor <msebor@redhat.com>
34390
34391 [BZ #18435]
34392 * nptl/Makefile: Add tst-once5.cc.
34393 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34394 Remove macro redefinitions.
34395 * nptl/tst-once5.cc: New test.
34396
34397 2015-07-01 Joseph Myers <joseph@codesourcery.com>
34398
34399 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34400
34401 * sysdeps/arm/libm-test-ulps: Regenerated.
34402
34403 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
34404 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34405
34406 2015-06-30 Torvald Riegel <triegel@redhat.com>
34407
34408 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
34409 lll_lock_wait_private and lll_futex_wake probes.
34410
34411 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34412 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
34413 Likewise.
34414 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
34415 atomic_spin_nop.
34416 * sysdeps/x86_64/bits/atomic.h: Likewise.
34417 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
34418 to atomic_spin_nop and move ...
34419 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34420 ... here and ...
34421 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
34422 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
34423 atomic_spin_nop instead of BUSY_WAIT_NOP.
34424 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
34425 Likewise.
34426 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
34427 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34428 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
34429 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
34430 instead of atomic_delay.
34431
34432 2015-06-29 Joseph Myers <joseph@codesourcery.com>
34433
34434 [BZ #18613]
34435 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
34436 X_ADJ not X when adjusting exponent.
34437 (__ieee754_gamma_r): Do intermediate computations in
34438 round-to-nearest then adjust overflowing and underflowing results
34439 as needed.
34440 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
34441 of X_ADJ not X when adjusting exponent.
34442 (__ieee754_gammaf_r): Do intermediate computations in
34443 round-to-nearest then adjust overflowing and underflowing results
34444 as needed.
34445 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
34446 log of X_ADJ not X when adjusting exponent.
34447 (__ieee754_gammal_r): Do intermediate computations in
34448 round-to-nearest then adjust overflowing and underflowing results
34449 as needed. Use 1.0L not 1.0f as numerator of division.
34450 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
34451 log of X_ADJ not X when adjusting exponent.
34452 (__ieee754_gammal_r): Do intermediate computations in
34453 round-to-nearest then adjust overflowing and underflowing results
34454 as needed. Use 1.0L not 1.0f as numerator of division.
34455 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
34456 of X_ADJ not X when adjusting exponent.
34457 (__ieee754_gammal_r): Do intermediate computations in
34458 round-to-nearest then adjust overflowing and underflowing results
34459 as needed. Use 1.0L not 1.0f as numerator of division.
34460 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
34461 to auto-libm-test-in.
34462 (tgamma_test): Use ALL_RM_TEST.
34463 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
34464 tests of tgamma with spurious-overflow.
34465 * math/auto-libm-test-out: Regenerated.
34466 * math/gen-libm-have-vector-test.sh: Do not check for START.
34467 * sysdeps/i386/fpu/libm-test-ulps: Update.
34468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34469
34470 [BZ #18612]
34471 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
34472 arguments, just return 0.5 times the argument, with underflow
34473 forced as needed.
34474 * math/auto-libm-test-in: Add more tests of j1.
34475 * math/auto-libm-test-out: Regenerated.
34476
34477 [BZ #16559]
34478 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
34479 (__ieee754_j1): Force underflow exception for small results.
34480 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34481 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
34482 (__ieee754_j1f): Force underflow exception for small results.
34483 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34484 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34485 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34486 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
34487 (__ieee754_j1l): Force underflow exception for small results.
34488 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34489 * math/auto-libm-test-in: Add more tests of j1 and jn.
34490 * math/auto-libm-test-out: Regenerated.
34491
34492 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
34493 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
34494 (PF_MPLS): Likewise.
34495 (AF_IB): Likewise.
34496 (AF_MPLS): Likewise.
34497 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
34498 value and macro.
34499 (MS_RMT_MASK): Include MS_LAZYTIME.
34500
34501 2015-06-26 Mel Gorman <mgorman@suse.de>
34502
34503 [BZ #18502]
34504 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
34505 already minimal.
34506
34507 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
34508
34509 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
34510 (DT_MIPS_NUM): Update.
34511 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
34512 DT_MIPS_RLD_MAP_REL.
34513
34514 2015-06-25 Joseph Myers <joseph@codesourcery.com>
34515
34516 [BZ #16559]
34517 [BZ #18602]
34518 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
34519 round-to-nearest internally then recompute results that
34520 underflowed to zero in the original rounding mode.
34521 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34522 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34523 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34524 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34525 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
34526 * sysdeps/i386/fpu/libm-test-ulps: Update.
34527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34528
34529 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
34530
34531 * NEWS: Fixed description of link with vector math library.
34532
34533 2015-06-25 Andreas Schwab <schwab@suse.de>
34534
34535 [BZ #18549]
34536 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
34537 * libio/test-fmemopen.c (do_test): Add test for it.
34538
34539 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
34540
34541 [BZ #17841]
34542 * Makeconfig (no-pie-ldflag): New.
34543 (+link): Set to $(+link-pie) if default to PIE.
34544 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
34545 * config.make.in (build-pie-default): New.
34546 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
34547 is default. AC_SUBST.
34548 * configure: Regenerated.
34549 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
34550
34551 2015-06-24 Roland McGrath <roland@hack.frob.com>
34552
34553 * nptl/descr.h (struct pthread): Change type of field setxid_futex
34554 to 'unsigned int'.
34555
34556 * resolv/gai_misc.h (struct waitlist): Change type of field
34557 counterp to 'volatile unsigned int *'.
34558 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
34559 FUTEXADDR and OLDVAL.
34560 * resolv/getaddrinfo_a.c (getaddrinfo_a):
34561 Give local variable TOTAL type 'volatile unsigned int'.
34562 (struct async_waitlist): Change type of field counter to 'unsigned int'.
34563 * resolv/gai_suspend.c (gai_suspend):
34564 Give local variable CNTR type 'unsigned int'.
34565
34566 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
34567 counterp to 'volatile unsigned int *'.
34568 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
34569 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
34570 (aio_suspend): Give local variable CNTR type 'unsigned int'.
34571 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
34572 Give local variable TOTAL type 'volatile unsigned int'.
34573 (struct async_waitlist): Change type of field counter to 'unsigned int'.
34574
34575 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
34576
34577 [BZ #18383]
34578 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
34579 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
34580 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
34581 comment for i386/x86-64.
34582 (test-xfail-tst-tlsalign-extern-static): Removed.
34583
34584 2015-06-24 Joseph Myers <joseph@codesourcery.com>
34585
34586 * math/test-double.h: New file.
34587 * math/test-float.h: Likewise.
34588 * math/test-ldouble.h: Likewise.
34589 * math/test-math-inline.h: Likewise.
34590 * math/test-math-no-inline.h: Likewise.
34591 * math/test-math-scalar.h: Likewise.
34592 * math/test-math-vector.h: Likewise.
34593 * math/test-vec-loop.h: Remove file. Contents moved into
34594 test-math-vector.h.
34595 * math/libm-test.inc (MATHCONST): Do not document macro.
34596 * math/test-double.c: Include test-double.h, test-math-no-inline.h
34597 and test-math-scalar.h.
34598 (FUNC): Remove macro.
34599 (FUNC_TEST): Likewise.
34600 (FLOAT): Likewise.
34601 (MATHCONST): Likewise.
34602 (PRINTF_EXPR): Likewise.
34603 (PRINTF_XEXPR): Likewise.
34604 (PRINTF_NEXPR): Likewise.
34605 (TEST_DOUBLE): Likewise.
34606 (TEST_MATHVEC): Likewise.
34607 (__NO_MATH_INLINES): Likewise.
34608 * math/test-float.c: Include test-float.h, test-math-no-inline.h
34609 and test-math-scalar.h.
34610 (FUNC): Remove macro.
34611 (FUNC_TEST): Likewise.
34612 (FLOAT): Likewise.
34613 (MATHCONST): Likewise.
34614 (PRINTF_EXPR): Likewise.
34615 (PRINTF_XEXPR): Likewise.
34616 (PRINTF_NEXPR): Likewise.
34617 (TEST_FLOAT): Likewise.
34618 (TEST_MATHVEC): Likewise.
34619 (__NO_MATH_INLINES): Likewise.
34620 * math/test-idouble.c: Include test-double.h, test-math-inline.h
34621 and test-math-scalar.h.
34622 (FUNC): Remove macro.
34623 (FUNC_TEST): Likewise.
34624 (FLOAT): Likewise.
34625 (MATHCONST): Likewise.
34626 (PRINTF_EXPR): Likewise.
34627 (PRINTF_XEXPR): Likewise.
34628 (PRINTF_NEXPR): Likewise.
34629 (TEST_DOUBLE): Likewise.
34630 (TEST_MATHVEC): Likewise.
34631 (TEST_INLINE): Likewise.
34632 (__NO_MATH_INLINES): Likewise.
34633 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
34634 test-math-scalar.h.
34635 (FUNC): Remove macro.
34636 (FUNC_TEST): Likewise.
34637 (FLOAT): Likewise.
34638 (MATHCONST): Likewise.
34639 (PRINTF_EXPR): Likewise.
34640 (PRINTF_XEXPR): Likewise.
34641 (PRINTF_NEXPR): Likewise.
34642 (TEST_FLOAT): Likewise.
34643 (TEST_MATHVEC): Likewise.
34644 (TEST_INLINE): Likewise.
34645 (__NO_MATH_INLINES): Likewise.
34646 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
34647 and test-math-scalar.h.
34648 (FUNC): Remove macro.
34649 (FUNC_TEST): Likewise.
34650 (FLOAT): Likewise.
34651 (MATHCONST): Likewise.
34652 (PRINTF_EXPR): Likewise.
34653 (PRINTF_XEXPR): Likewise.
34654 (PRINTF_NEXPR): Likewise.
34655 (TEST_LDOUBLE): Likewise.
34656 (TEST_MATHVEC): Likewise.
34657 (TEST_INLINE): Likewise.
34658 (__NO_MATH_INLINES): Likewise.
34659 * math/test-ldouble.c: Include test-ldouble.h,
34660 test-math-no-inline.h and test-math-scalar.h.
34661 (FUNC): Remove macro.
34662 (FUNC_TEST): Likewise.
34663 (FLOAT): Likewise.
34664 (MATHCONST): Likewise.
34665 (PRINTF_EXPR): Likewise.
34666 (PRINTF_XEXPR): Likewise.
34667 (PRINTF_NEXPR): Likewise.
34668 (TEST_LDOUBLE): Likewise.
34669 (TEST_MATHVEC): Likewise.
34670 (__NO_MATH_INLINES): Likewise.
34671 * math/test-double-vlen2.h: Include test-double.h,
34672 test-math-no-inline.h and test-math-vector.h.
34673 (FLOAT): Remove macro.
34674 (FUNC): Likewise.
34675 (MATHCONST): Likewise.
34676 (PRINTF_EXPR): Likewise.
34677 (PRINTF_XEXPR): Likewise.
34678 (PRINTF_NEXPR): Likewise.
34679 (TEST_DOUBLE): Likewise.
34680 (TEST_MATHVEC): Likewise.
34681 (__NO_MATH_INLINES): Likewise.
34682 (CNCT): Likewise.
34683 (CONCAT): Likewise.
34684 (WRAPPER_NAME): Likewise.
34685 (WRAPPER_DECL): Likewise.
34686 (WRAPPER_DECL_ff): Likewise.
34687 (WRAPPER_DECL_fFF): Likewise.
34688 (VECTOR_WRAPPER): Likewise.
34689 (VECTOR_WRAPPER_ff): Likewise.
34690 (VECTOR_WRAPPER_fFF): Likewise.
34691 (VEC_LEN): New macro.
34692 * math/test-double-vlen4.h: Include test-double.h,
34693 test-math-no-inline.h and test-math-vector.h.
34694 (FLOAT): Remove macro.
34695 (FUNC): Likewise.
34696 (MATHCONST): Likewise.
34697 (PRINTF_EXPR): Likewise.
34698 (PRINTF_XEXPR): Likewise.
34699 (PRINTF_NEXPR): Likewise.
34700 (TEST_DOUBLE): Likewise.
34701 (TEST_MATHVEC): Likewise.
34702 (__NO_MATH_INLINES): Likewise.
34703 (CNCT): Likewise.
34704 (CONCAT): Likewise.
34705 (WRAPPER_NAME): Likewise.
34706 (WRAPPER_DECL): Likewise.
34707 (WRAPPER_DECL_ff): Likewise.
34708 (WRAPPER_DECL_fFF): Likewise.
34709 (VECTOR_WRAPPER): Likewise.
34710 (VECTOR_WRAPPER_ff): Likewise.
34711 (VECTOR_WRAPPER_fFF): Likewise.
34712 (VEC_LEN): New macro.
34713 * math/test-double-vlen8.h: Include test-double.h,
34714 test-math-no-inline.h and test-math-vector.h.
34715 (FLOAT): Remove macro.
34716 (FUNC): Likewise.
34717 (MATHCONST): Likewise.
34718 (PRINTF_EXPR): Likewise.
34719 (PRINTF_XEXPR): Likewise.
34720 (PRINTF_NEXPR): Likewise.
34721 (TEST_DOUBLE): Likewise.
34722 (TEST_MATHVEC): Likewise.
34723 (__NO_MATH_INLINES): Likewise.
34724 (CNCT): Likewise.
34725 (CONCAT): Likewise.
34726 (WRAPPER_NAME): Likewise.
34727 (WRAPPER_DECL): Likewise.
34728 (WRAPPER_DECL_ff): Likewise.
34729 (WRAPPER_DECL_fFF): Likewise.
34730 (VECTOR_WRAPPER): Likewise.
34731 (VECTOR_WRAPPER_ff): Likewise.
34732 (VECTOR_WRAPPER_fFF): Likewise.
34733 (VEC_LEN): New macro.
34734 * math/test-float-vlen4.h: Include test-float.h,
34735 test-math-no-inline.h and test-math-vector.h.
34736 (FLOAT): Remove macro.
34737 (FUNC): Likewise.
34738 (MATHCONST): Likewise.
34739 (PRINTF_EXPR): Likewise.
34740 (PRINTF_XEXPR): Likewise.
34741 (PRINTF_NEXPR): Likewise.
34742 (TEST_FLOAT): Likewise.
34743 (TEST_MATHVEC): Likewise.
34744 (__NO_MATH_INLINES): Likewise.
34745 (CNCT): Likewise.
34746 (CONCAT): Likewise.
34747 (WRAPPER_NAME): Likewise.
34748 (WRAPPER_DECL): Likewise.
34749 (WRAPPER_DECL_ff): Likewise.
34750 (WRAPPER_DECL_fFF): Likewise.
34751 (VECTOR_WRAPPER): Likewise.
34752 (VECTOR_WRAPPER_ff): Likewise.
34753 (VECTOR_WRAPPER_fFF): Likewise.
34754 (VEC_LEN): New macro.
34755 * math/test-float-vlen8.h: Include test-float.h,
34756 test-math-no-inline.h and test-math-vector.h.
34757 (FLOAT): Remove macro.
34758 (FUNC): Likewise.
34759 (MATHCONST): Likewise.
34760 (PRINTF_EXPR): Likewise.
34761 (PRINTF_XEXPR): Likewise.
34762 (PRINTF_NEXPR): Likewise.
34763 (TEST_FLOAT): Likewise.
34764 (TEST_MATHVEC): Likewise.
34765 (__NO_MATH_INLINES): Likewise.
34766 (CNCT): Likewise.
34767 (CONCAT): Likewise.
34768 (WRAPPER_NAME): Likewise.
34769 (WRAPPER_DECL): Likewise.
34770 (WRAPPER_DECL_ff): Likewise.
34771 (WRAPPER_DECL_fFF): Likewise.
34772 (VECTOR_WRAPPER): Likewise.
34773 (VECTOR_WRAPPER_ff): Likewise.
34774 (VECTOR_WRAPPER_fFF): Likewise.
34775 (VEC_LEN): New macro.
34776 * math/test-float-vlen16.h: Include test-float.h,
34777 test-math-no-inline.h and test-math-vector.h.
34778 (FLOAT): Remove macro.
34779 (FUNC): Likewise.
34780 (MATHCONST): Likewise.
34781 (PRINTF_EXPR): Likewise.
34782 (PRINTF_XEXPR): Likewise.
34783 (PRINTF_NEXPR): Likewise.
34784 (TEST_FLOAT): Likewise.
34785 (TEST_MATHVEC): Likewise.
34786 (__NO_MATH_INLINES): Likewise.
34787 (CNCT): Likewise.
34788 (CONCAT): Likewise.
34789 (WRAPPER_NAME): Likewise.
34790 (WRAPPER_DECL): Likewise.
34791 (WRAPPER_DECL_ff): Likewise.
34792 (WRAPPER_DECL_fFF): Likewise.
34793 (VECTOR_WRAPPER): Likewise.
34794 (VECTOR_WRAPPER_ff): Likewise.
34795 (VECTOR_WRAPPER_fFF): Likewise.
34796 (VEC_LEN): New macro.
34797 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
34798 test-vec-loop.h.
34799 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34800 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34801 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34802 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34803 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34804 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34805 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
34806
34807 2015-06-24 Roland McGrath <roland@hack.frob.com>
34808
34809 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
34810 (__getlogin_r): ... this.
34811
34812 2015-06-24 Joseph Myers <joseph@codesourcery.com>
34813
34814 [BZ #18594]
34815 * math/s_ccosh.c (__ccosh): Compare with least normal value
34816 instead of comparing class with FP_SUBNORMAL.
34817 * math/s_ccoshf.c (__ccoshf): Likewise.
34818 * math/s_ccoshl.c (__ccoshl): Likewise.
34819 * math/s_cexp.c (__cexp): Likewise.
34820 * math/s_cexpf.c (__cexpf): Likewise.
34821 * math/s_cexpl.c (__cexpl): Likewise.
34822 * math/s_csin.c (__csin): Likewise.
34823 * math/s_csinf.c (__csinf): Likewise.
34824 * math/s_csinh.c (__csinh): Likewise.
34825 * math/s_csinhf.c (__csinhf): Likewise.
34826 * math/s_csinhl.c (__csinhl): Likewise.
34827 * math/s_csinl.c (__csinl): Likewise.
34828 * math/s_ctan.c (__ctan): Likewise.
34829 * math/s_ctanf.c (__ctanf): Likewise.
34830 * math/s_ctanh.c (__ctanh): Likewise.
34831 * math/s_ctanhf.c (__ctanhf): Likewise.
34832 * math/s_ctanhl.c (__ctanhl): Likewise.
34833 * math/s_ctanl.c (__ctanl): Likewise.
34834 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
34835 csin, csinh, ctan and ctanh.
34836 * math/auto-libm-test-out: Regenerated.
34837 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
34838 * sysdeps/i386/fpu/libm-test-ulps: Update.
34839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34840
34841 2015-06-24 Roland McGrath <roland@hack.frob.com>
34842
34843 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
34844 return value is wrong, print the expected value too.
34845
34846 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
34847
34848 [BZ #18585]
34849 * elf/readlib.c (is_gdb_python_file): New.
34850 (process_file): Don't issue errors on filenames with -gdb.py
34851 suffix.
34852
34853 2015-06-24 Joseph Myers <joseph@codesourcery.com>
34854
34855 * math/auto-libm-test-in: Add more tests of csin and csinh.
34856 * math/auto-libm-test-out: Regenerated.
34857 * math/libm-test.inc (csin_test_data): Remove tests moved to
34858 auto-libm-test-in.
34859 (csinh_test_data): Likewise.
34860
34861 [BZ #18593]
34862 * math/s_csin.c (__csin): Negate before rather than after possibly
34863 overflowing multiplication.
34864 * math/s_csinf.c (__csinf): Likewise.
34865 * math/s_csinh.c (__csinh): Likewise.
34866 * math/s_csinhf.c (__csinhf): Likewise.
34867 * math/s_csinhl.c (__csinhl): Likewise.
34868 * math/s_csinl.c (__csinl): Likewise.
34869 * math/auto-libm-test-in: Add some tests of csin and csinh.
34870 * math/auto-libm-test-out: Regenerated.
34871 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
34872 (csinh_test_data): Likewise.
34873 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34874
34875 [BZ #18586]
34876 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
34877 underflow exception for small results.
34878
34879 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
34880
34881 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
34882 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
34883 variable and included header.
34884 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
34885 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
34886 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
34887 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
34888 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
34889 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
34890 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
34891 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
34892 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
34893 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
34894 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
34895 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
34896 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
34897 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
34898 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
34899 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
34900
34901 2015-06-23 Joseph Myers <joseph@codesourcery.com>
34902
34903 [BZ #16526]
34904 [BZ #16538]
34905 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
34906 (__sin): Force underflow exception for arguments with small
34907 absolute value.
34908 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
34909 (__kernel_sinf): Force underflow exception for arguments with
34910 small absolute value.
34911 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
34912 (__kernel_sincosl): Force underflow exception for arguments with
34913 small absolute value.
34914 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
34915 (__kernel_sinl): Force underflow exception for arguments with
34916 small absolute value.
34917 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
34918 (__kernel_sincosl): Force underflow exception for arguments with
34919 small absolute value.
34920 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
34921 (__kernel_sinl): Force underflow exception for arguments with
34922 small absolute value.
34923 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
34924 (__kernel_sinl): Force underflow exception for arguments with
34925 small absolute value.
34926 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
34927 (__kernel_sinf): Force underflow exception for arguments with
34928 small absolute value.
34929 * math/auto-libm-test-in: Add more tests of sin and sincos.
34930 * math/auto-libm-test-out: Regenerated.
34931
34932 [BZ #18245]
34933 [BZ #18583]
34934 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
34935 (__kernel_standard_l): Use feholdexcept and fesetenv around
34936 conversion to double instead of special-casing overflow and
34937 underflow.
34938 * math/libm-test.inc (fmod_test_data): Add more tests.
34939 (remainder_test_data): Likewise.
34940 (sqrt_test_data): Likewise.
34941
34942 2015-06-23 Torvald Riegel <triegel@redhat.com>
34943
34944 [BZ #17403]
34945 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
34946 atomic_read_barrier, atomic_write_barrier): Define.
34947 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
34948 atomic_read_barrier, atomic_write_barrier): Define.
34949
34950 2015-06-23 Joseph Myers <joseph@codesourcery.com>
34951
34952 * math/Makefile [$(PERL) != no]
34953 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
34954 dependency on libm-test.stmp below the inclusion of Rules.
34955
34956 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
34957
34958 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
34959 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
34960 and included header.
34961 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
34962 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
34963 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
34964 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
34965 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
34966 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
34967 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
34968 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
34969 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
34970 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
34971 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
34972 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
34973 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
34974 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
34975 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
34976 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
34977 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
34978 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
34979 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
34980
34981 2015-06-23 Joseph Myers <joseph@codesourcery.com>
34982
34983 [BZ #18371]
34984 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
34985 intermediate but not final result might underflow.
34986 * math/s_csqrtf.c (__csqrtf): Likewise.
34987 * math/s_csqrtl.c (__csqrtl): Likewise.
34988 * math/auto-libm-test-in: Add more tests of csqrt.
34989 * math/auto-libm-test-out: Regenerated.
34990 * sysdeps/i386/fpu/libm-test-ulps: Update.
34991
34992 [BZ #18219]
34993 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
34994 threshold on absolute value of exponent for which scaling is used.
34995 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
34996 * math/auto-libm-test-in: Add more tests of exp2.
34997 * math/auto-libm-test-out: Regenerated.
34998
34999 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
35000
35001 [BZ #17977]
35002 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
35003 when initializing interface list, based on the bug analysis
35004 and the patch proposed by Eric Newton.
35005 * resolv/tst-res_hconf_reorder.c: New test.
35006 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
35007 tst-res_hconf_reorder.
35008 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
35009 and $(shared-thread-library).
35010 (tst-res_hconf_reorder-ENV): New variable.
35011
35012 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
35013 in comment.
35014
35015 2015-06-22 Joseph Myers <joseph@codesourcery.com>
35016
35017 [BZ #16353]
35018 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
35019 (__expm1): Force underflow exception for arguments with small
35020 absolute value.
35021 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
35022 (__expm1f): Force underflow exception for arguments with small
35023 absolute value.
35024 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
35025 (__expm1): Force underflow exception for arguments with small
35026 absolute value.
35027 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
35028 (__expm1f): Force underflow exception for arguments with small
35029 absolute value.
35030 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35031 Check for small arguments before calling __expm1.
35032 * math/auto-libm-test-in: Do not mark underflow exceptions as
35033 possibly missing for bug 16353.
35034 * math/auto-libm-test-out: Regenerated.
35035
35036 2015-06-22 Andreas Schwab <schwab@suse.de>
35037
35038 [BZ #18513]
35039 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
35040 PTR queries.
35041
35042 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
35043
35044 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
35045
35046 * string/strcoll_l.c: Remove unused struct element idxnow.
35047
35048 2015-06-21 Joseph Myers <joseph@codesourcery.com>
35049
35050 [BZ #18569]
35051 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
35052 underflow and return argument in case of subnormal argument.
35053 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35054 Likewise.
35055 * math/auto-libm-test-in: Add more tests of expm1.
35056 * math/auto-libm-test-out: Regenerated.
35057
35058 [BZ #16361]
35059 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35060 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35061 tiny results.
35062 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35063 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35064 tiny results.
35065 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
35066 mark underflow exceptions as possibly missing for bug 16361.
35067 * math/auto-libm-test-out: Regenerated.
35068
35069 2015-06-19 Joseph Myers <joseph@codesourcery.com>
35070
35071 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
35072 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
35073 Remove variable.
35074 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
35075 (test-xfail-XOPEN2K8/utmpx.h/conform).
35076
35077 * conform/conformtest.pl ($xerrors): New variable.
35078 (note_error): New function.
35079 (compiletest): New argument $xfail. Use not_error.
35080 (runtest): Likewise.
35081 (top level): Handle xfail- lines. Update calls to compiletest and
35082 runtest. Handle xfail- and optional- in headers listed with
35083 allow-header.
35084 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
35085 (O_EXEC): Likewise.
35086 (O_SEARCH): Likewise.
35087 * conform/data/stropts.h-data (ioctl): Likewise.
35088 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
35089 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
35090 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
35091 (msghdr.msg_controllen): Likewise.
35092 (cmsghdr.cmsg_len): Likewise.
35093 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
35094 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
35095 variable.
35096 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
35097 (test-xfail-XPG4/stropts.h/conform): Likewise.
35098 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
35099 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
35100 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
35101 (test-xfail-UNIX98/stropts.h/conform): Likewise.
35102 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
35103 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
35104 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
35105 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
35106 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
35107 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
35108 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
35109 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
35110 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
35111 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
35112 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
35113 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
35114 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
35115 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
35116 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
35117
35118 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
35119
35120 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
35121 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
35122 definitions for proper unfolding of __MATHDECL_VEC.
35123
35124 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35125
35126 * benchtests/bench-strcoll.c:
35127 Include string.h.
35128 (main): Remove unused variable res.
35129
35130 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35131
35132 * timezone/Makefile (%/UTC %/Universal):
35133 Generate test-result files for UTC and Universal.
35134
35135 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35136
35137 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
35138
35139 2015-06-18 Joseph Myers <joseph@codesourcery.com>
35140
35141 [BZ #16350]
35142 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
35143 for arguments with small absolute value.
35144 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
35145 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
35146 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
35147 (__asinh): Force underflow exception for arguments with small
35148 absolute value.
35149 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
35150 (__asinhf): Force underflow exception for arguments with small
35151 absolute value.
35152 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
35153 (__asinhl): Force underflow exception for arguments with small
35154 absolute value.
35155 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
35156 (__asinhl): Force underflow exception for arguments with small
35157 absolute value.
35158 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
35159 (__asinhl): Force underflow exception for arguments with small
35160 absolute value.
35161 * math/auto-libm-test-in: Do not mark underflow exceptions as
35162 possibly missing for bug 16350.
35163 * math/auto-libm-test-out: Regenerated.
35164
35165 * include/bits/ipc.h: Remove file.
35166 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
35167 variable.
35168 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
35169 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
35170 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
35171 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
35172 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
35173 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
35174 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
35175 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
35176 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
35177
35178 * math/auto-libm-test-in: Remove spurious underflow allowance for
35179 tests of cexp.
35180 * math/auto-libm-test-out: Regenerated.
35181
35182 [BZ #18558]
35183 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
35184 unconditional definition.
35185 (MCAST_BLOCK_SOURCE): Likewise.
35186 (MCAST_UNBLOCK_SOURCE): Likewise.
35187 (MCAST_LEAVE_GROUP): Likewise.
35188 (MCAST_JOIN_SOURCE_GROUP): Likewise.
35189 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
35190 (MCAST_MSFILTER): Likewise.
35191 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
35192 Remove variable.
35193 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
35194 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
35195 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
35196 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
35197 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
35198
35199 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
35200
35201 * NEWS: Mention addition of x86_64 vector sincosf.
35202 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
35203 * math/test-float-vlen4.h: Likewise.
35204 * math/test-float-vlen8.h: Likewise.
35205 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35206 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
35207 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35208 * sysdeps/x86_64/fpu/Versions: New versions added.
35209 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35210 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35211 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35212 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
35213 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
35214 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
35215 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
35216 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
35217 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
35218 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
35219 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
35220 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
35221 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
35222 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
35223 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
35224 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
35225 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
35226 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35227 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35228 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35229 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35230 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35231 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35232 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35233
35234 * NEWS: Mention addition of x86_64 vector sincos.
35235 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
35236 * math/math.h (__MATHDECL_VEC): New macro.
35237 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
35238 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
35239 declaration under condition.
35240 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
35241 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
35242 TEST_VEC_LOOP change.
35243 * math/test-double-vlen4.h: Likewise.
35244 * math/test-double-vlen8.h: Likewise.
35245 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
35246 * math/test-float-vlen4.h: Likewise.
35247 * math/test-float-vlen8.h: Likewise.
35248 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35249 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
35250 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35251 * sysdeps/x86_64/fpu/Versions: New versions added.
35252 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35253 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35254 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35255 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
35256 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
35257 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
35258 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
35259 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
35260 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
35261 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
35262 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
35263 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
35264 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
35265 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
35266 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
35267 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
35268 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
35269 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35270 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35271 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35272 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35273 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35274 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35275 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35276
35277 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35278 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35279 redirections for powf.
35280 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35281 * sysdeps/x86_64/fpu/Versions: New versions added.
35282 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35283 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35284 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35285 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
35286 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
35287 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
35288 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
35289 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
35290 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
35291 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
35292 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
35293 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
35294 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
35295 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
35296 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
35297 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
35298 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
35299 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35300 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35301 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35302 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35303 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35304 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35305 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35306 * math/test-float-vlen16.h: Fixed 2 argument macro.
35307 * math/test-float-vlen4.h: Likewise.
35308 * math/test-float-vlen8.h: Likewise.
35309 * NEWS: Mention addition of x86_64 vector powf.
35310
35311 2015-06-17 Joseph Myers <joseph@codesourcery.com>
35312
35313 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35314 and redefine.
35315 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35316 and redefine.
35317 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
35318 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35319 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35320
35321 [BZ #18553]
35322 * resource/getpriority.c (getpriority): Rename to __getpriority
35323 and define as weak alias of __getpriority.
35324 * resource/setpriority.c (setpriority): Rename to __setpriority
35325 and define as weak alias of __setpriority.
35326 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
35327 __getpriority and define as weak alias of __getpriority.
35328 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
35329 __setpriority and define as weak alias of __setpriority.
35330 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
35331 strong name.
35332 (setpriority): Use __setpriority as strong name.
35333 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
35334 __getpriority and define as weak alias of __getpriority.
35335 * include/sys/resource.h (__getpriority): Declare. Use
35336 libc_hidden_proto.
35337 (__setpriority): Likewise.
35338 (getpriority): Don't use libc_hidden_proto.
35339 (setpriority): Likewise.
35340 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
35341 getpriority. Call __setpriority instead of setpriority.
35342 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
35343 Remove variable.
35344
35345 [BZ #18547]
35346 * misc/getttyent.c (getttynam): Rename to __getttynam and define
35347 as weak alias of __getttynam. Use prototype function definition.
35348 Call __setttyent, __getttyent and __endttyent instead of
35349 setttyent, getttyent and endttyent.
35350 (getttyent): Rename to __getttyent and define as weak alias of
35351 __getttyent. Call __setttyent instead of setttyent. Call
35352 __fgets_unlocked instead of fgets_unlocked.
35353 (setttyent): Rename to __setttyent and define as weak alias of
35354 __setttyent.
35355 (endttyent): Rename to __endttyent and define as weak alias of
35356 __endttyent.
35357 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
35358 (__setttyent): Likewise.
35359 (__endttyent): Likewise.
35360 (getttyent): Don't use libc_hidden_proto.
35361 (setttyent): Likewise.
35362 (endttyent): Likewise.
35363 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
35364 __endttyent instead of setttyent, getttyent and endttyent.
35365 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
35366 Remove variable.
35367
35368 [BZ #18546]
35369 * socket/recv.c (__recv): Use libc_hidden_def.
35370 * socket/socket.c (__socket): Likewise.
35371 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
35372 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
35373 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
35374 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
35375 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
35376 libc_hidden_def.
35377 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
35378 libc_hidden_weak.
35379 * include/sys/socket.h (__socket): Do not use attribute_hidden.
35380 Use libc_hidden_proto.
35381 (__recv): Likewise.
35382 * socket/Versions (libc): Export __recv and __socket at version
35383 GLIBC_PRIVATE.
35384 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
35385 instead of recv.
35386 (init_mq_netlink): Call __socket instead of socket.
35387 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
35388 Remove variable.
35389
35390 [BZ #18545]
35391 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
35392 __mq_timedreceive and define as alias of __mq_timedreceive. Use
35393 hidden_weak.
35394 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
35395 define as alias of __mq_timedsend. Use hidden_weak.
35396 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
35397 __mq_timedsend as strong name.
35398 (mq_timedreceive): Use __mq_timedreceive as strong name.
35399 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
35400 (__mq_timedreceive): Likewise.
35401 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
35402 __mq_timedreceive instead of mq_timedreceive.
35403 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
35404 instead of mq_timedsend.
35405 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
35406 Remove variable.
35407
35408 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
35409 hidden_def and hidden_weak instead of libc_hidden_def and
35410 libc_hidden_weak.
35411 (top level): Refer to hidden_def in comment.
35412 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
35413 macro. Use it instead of libc_hidden_def.
35414 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
35415 specify __GI_* name explicitly.
35416 (mq_timedreceive): Likewise.
35417 (mq_setattr): Likewise.
35418
35419 [BZ #18544]
35420 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
35421 __pthread_barrier_init and define as weak alias of
35422 __pthread_barrier_init.
35423 * sysdeps/sparc/nptl/pthread_barrier_init.c
35424 (pthread_barrier_init): Likewise.
35425 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
35426 __pthread_barrier_wait and define as weak alias of
35427 __pthread_barrier_wait.
35428 * sysdeps/sparc/nptl/pthread_barrier_wait.c
35429 (pthread_barrier_wait): Likewise.
35430 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
35431 (pthread_barrier_wait): Likewise.
35432 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
35433 (pthread_barrier_wait): Likewise.
35434 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
35435 (pthread_barrier_wait): Likewise.
35436 * nptl/Versions (libpthread): Export __pthread_barrier_init and
35437 __pthread_barrier_wait at version GLIBC_PRIVATE.
35438 * include/pthread.h (__pthread_barrier_init): Declare.
35439 (__pthread_barrier_wait): Likewise.
35440 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
35441 Call __pthread_barrier_wait instead of pthread_barrier_wait.
35442 (helper_thread): Likewise.
35443 (init_mq_netlink): Call __pthread_barrier_init instead of
35444 pthread_barrier_init.
35445
35446 [BZ #18542]
35447 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
35448 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
35449 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
35450 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
35451 vswscanf.
35452 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
35453 Remove variable.
35454
35455 [BZ #18540]
35456 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
35457 strong alias of _IO_fflush. Use libc_hidden_def.
35458 * libio/iofflush_u.c (fflush_unlocked): Rename to
35459 __fflush_unlocked and define as weak alias of __fflush_unlocked.
35460 Use libc_hidden_weak.
35461 * include/stdio.h (__fflush_unlocked): Declare. Use
35462 libc_hidden_proto.
35463 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
35464 fflush_unlocked.
35465 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
35466 Remove variable.
35467
35468 [BZ #18539]
35469 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
35470 define as weak alias of __addseverity.
35471 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
35472 Remove variable.
35473 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
35474 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
35475 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
35476
35477 [BZ #18536]
35478 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
35479 (__tfind): Likewise.
35480 (__tdelete): Likewise.
35481 (__twalk): Likewise.
35482 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
35483 __twalk to GLIBC_PRIVATE.
35484 * include/search.h (__tsearch): Use libc_hidden_proto.
35485 (__tfind): Likewise.
35486 (__tdelete): Likewise.
35487 (__twalk): Likewise.
35488 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
35489 Call __tdelete instead of tdelete.
35490 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
35491 tfind. Call __tsearch instead of tsearch.
35492 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
35493 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
35494 Remove variable.
35495 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
35496
35497 [BZ #18534]
35498 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
35499 (dprintf): Define as a weak alias of __dprintf, not a strong
35500 alias.
35501 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
35502 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
35503 dprintf.
35504 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
35505 Remove variable.
35506 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
35507 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
35508
35509 [BZ #18533]
35510 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
35511 not a strong alias.
35512 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
35513 Remove variable.
35514
35515 [BZ #18532]
35516 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
35517 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
35518 (in6addr_loopback): Rename to __in6addr_loopback and define as
35519 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
35520 * include/netinet/in.h (__in6addr_loopback): Declare. Use
35521 libc_hidden_proto.
35522 (__in6addr_any): Likewise.
35523 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
35524 in6addr_any.
35525 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
35526 variable.
35527 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
35528
35529 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
35530
35531 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
35532 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
35533 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35534 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35535 redirections for pow.
35536 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35537 * sysdeps/x86_64/fpu/Versions: New versions added.
35538 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35539 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35540 build of SSE, AVX2 and AVX512 IFUNC versions.
35541 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
35542 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
35543 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
35544 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
35545 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
35546 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
35547 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
35548 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
35549 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
35550 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
35551 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
35552 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
35553 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
35554 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
35555 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35556 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35557 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35558 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35559 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35560 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35561 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35562 * NEWS: Mention addition of x86_64 vector pow.
35563
35564 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35565 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35566 redirections for expf.
35567 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35568 * sysdeps/x86_64/fpu/Versions: New versions added.
35569 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35570 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35571 build of SSE, AVX2 and AVX512 IFUNC versions.
35572 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
35573 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
35574 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
35575 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
35576 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
35577 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
35578 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
35579 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
35580 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
35581 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
35582 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
35583 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
35584 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
35585 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35586 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35587 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35588 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35589 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35590 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35591 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35592 * NEWS: Mention addition of x86_64 vector expf.
35593
35594 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
35595 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
35596 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35597 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35598 redirections for exp.
35599 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35600 * sysdeps/x86_64/fpu/Versions: New versions added.
35601 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35602 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35603 build of SSE, AVX2 and AVX512 IFUNC versions.
35604 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
35605 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
35606 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
35607 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
35608 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
35609 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
35610 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
35611 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
35612 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
35613 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
35614 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
35615 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
35616 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
35617 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35618 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35619 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35620 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35621 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35622 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35623 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35624 * NEWS: Mention addition of x86_64 vector exp.
35625
35626 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35627 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35628 redirections for logf.
35629 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35630 * sysdeps/x86_64/fpu/Versions: New versions added.
35631 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35632 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35633 build of SSE, AVX2 and AVX512 IFUNC versions.
35634 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
35635 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
35636 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
35637 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
35638 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
35639 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
35640 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
35641 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
35642 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
35643 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
35644 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
35645 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
35646 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
35647 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35648 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35649 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35650 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35651 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35652 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35653 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35654 * NEWS: Mention addition of x86_64 vector logf.
35655
35656 * bits/libm-simd-decl-stubs.h: Added stubs for log.
35657 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
35658 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35659 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35660 redirections for log.
35661 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35662 * sysdeps/x86_64/fpu/Versions: New versions added.
35663 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35664 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35665 build of SSE, AVX2 and AVX512 IFUNC versions.
35666 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
35667 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
35668 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
35669 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
35670 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
35671 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
35672 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
35673 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
35674 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
35675 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
35676 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
35677 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
35678 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
35679 test.
35680 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35681 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35682 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35683 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35684 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35685 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35686 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35687 * NEWS: Mention addition of x86_64 vector log.
35688
35689 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
35690
35691 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
35692 cfi_adjust_cfa_offset argument.
35693 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
35694 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
35695
35696 [BZ #18034]
35697 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
35698 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
35699 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
35700 ordering using ldar.
35701 (_dl_tlsdesc_dynamic): Likewise.
35702 (_dl_tlsdesc_return_lazy): Likewise.
35703 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
35704 relaxed atomics instead of volatile and synchronize with release store.
35705 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
35706 volatile.
35707 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
35708
35709 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
35710
35711 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35712 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
35713 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35714 * sysdeps/x86_64/fpu/Versions: New versions added.
35715 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35716 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35717 build of SSE, AVX2 and AVX512 IFUNC versions.
35718 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
35719 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
35720 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
35721 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
35722 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
35723 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
35724 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
35725 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
35726 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
35727 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
35728 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
35729 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
35730 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
35731 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35732 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35733 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35734 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35735 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35736 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35737 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35738 * NEWS: Mention addition of x86_64 vector sinf.
35739
35740 2015-06-14 Joseph Myers <joseph@codesourcery.com>
35741
35742 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
35743 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
35744 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
35745 Remove variable.
35746 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
35747 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
35748
35749 2015-06-12 Joseph Myers <joseph@codesourcery.com>
35750
35751 [BZ #18530]
35752 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
35753 strong alias of _IO_fputs. Use libc_hidden_def.
35754 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
35755 and define as weak alias of __fputs_unlocked. Use
35756 libc_hidden_weak.
35757 * include/stdio.h (__fputs_unlocked): Declare. Use
35758 libc_hidden_proto.
35759 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
35760 fputs_unlocked.
35761
35762 [BZ #18529]
35763 * resolv/netdb.h [__USE_POSIX]: Change condition to
35764 [__USE_XOPEN2K].
35765 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
35766 not expect.
35767 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
35768 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
35769 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
35770 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
35771 [XPG4 || UNIX98] (AI_ALL): Likewise.
35772 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
35773 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
35774 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
35775 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
35776 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
35777 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
35778 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
35779 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
35780 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
35781 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
35782 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
35783 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
35784 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
35785 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
35786 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
35787 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
35788 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
35789 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
35790 [XPG4 || UNIX98] (gai_strerror): Likewise.
35791 [XPG4 || UNIX98] (getaddrinfo): Likewise.
35792 [XPG4 || UNIX98] (getnameinfo): Likewise.
35793
35794 [BZ #18528]
35795 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
35796 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
35797 __USE_XOPEN2K8].
35798 (getgrent): Likewise.
35799 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
35800 expect.
35801 [XPG3 || POSIX2008] (endgrent): Likewise.
35802 [XPG3] (setgrent): Likewise.
35803 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
35804 variable.
35805 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
35806
35807 [BZ #18527]
35808 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
35809 define as weak alias of __getlogin_r. Use libc_hidden_weak.
35810 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
35811 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
35812 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
35813 * include/unistd.h (__getlogin_r): Declare. Use
35814 libc_hidden_proto.
35815 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
35816 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
35817 variable.
35818 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
35819 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
35820 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
35821
35822 2015-06-12 Martin Sebor <msebor@redhat.com>
35823
35824 [BZ #18512]
35825 * Makerules (check-install-supported): New target.
35826 (install): Add check-install-supported as a dependency.
35827 * manual/install.texi (Installing the C Library): Document
35828 that overriding prefix and exec_prefix is not supported.
35829 Mention DESTDIR.
35830 * INSTALL: Regenerate from the above.
35831
35832 2015-06-12 Joseph Myers <joseph@codesourcery.com>
35833
35834 [BZ #18519]
35835 * posix/Versions (libc): Export __libc_pread at version
35836 GLIBC_PRIVATE.
35837 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
35838 instead of pread.
35839 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
35840 variable.
35841
35842 [BZ #18522]
35843 * misc/efgcvt_r.c
35844 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
35845 (cvt_symbol): Use weak_alias instead of strong_alias.
35846 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
35847 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
35848 Remove variable.
35849 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
35850 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
35851
35852 [BZ #18520]
35853 * inet/herrno.c (h_errno): Rename to __h_errno.
35854 (__libc_h_errno): Define as alias of __h_errno not h_errno.
35855 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
35856 to __h_errno instead of h_errno.
35857 * nptl/herrno.c (h_errno): Rename to __h_errno.
35858 (__h_errno_location): Refer to __h_errno not h_errno.
35859 * resolv/Versions (h_errno): Rename to __h_errno.
35860 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
35861 Remove variable.
35862 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
35863
35864 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
35865
35866 * configure.ac: More strict check for AVX512 assembler support.
35867 * configure: Regenerated.
35868
35869 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
35870 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
35871 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35872 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
35873 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35874 * sysdeps/x86_64/fpu/Versions: New versions added.
35875 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35876 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35877 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35878 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
35879 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
35880 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
35881 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
35882 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
35883 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
35884 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
35885 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
35886 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
35887 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
35888 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
35889 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
35890 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
35891 test.
35892 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35893 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35894 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35895 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35896 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35897 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35898 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35899 * NEWS: Mention addition of x86_64 vector sin.
35900
35901 2015-06-11 Florian Weimer <fweimer@redhat.com>
35902
35903 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
35904 comment.
35905
35906 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
35907
35908 [BZ #18479]
35909 * nptl/pt-interp.c: New file.
35910 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
35911 Add pt-interp.
35912 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
35913 $(common-objpfx)runtime-linker.h.
35914
35915 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
35916
35917 * Makeconfig (+interp): Remove unused variable.
35918 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
35919 only. Depend on $(common-objpfx)runtime-linker.h instead of
35920 $(elf-objpfx)runtime-linker.h.
35921 ($(elf-objpfx)runtime-linker.h): Rename to
35922 $(common-objpfx)runtime-linker.h and move ...
35923 * Makerules [$(build-shared) = yes]: ... here.
35924 * elf/interp.c: Include <runtime-linker.h> instead of
35925 <elf/runtime-linker.h>.
35926
35927 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35928
35929 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
35930 (__gettimeofday_syscall): Remove vsyscall fallback.
35931 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
35932 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
35933 Add syscall fallback function.
35934 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
35935 if vDSO is not present.
35936 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
35937 fallback function.
35938 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
35939 present.
35940 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
35941 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35942
35943 2015-06-09 Joseph Myers <joseph@codesourcery.com>
35944
35945 [BZ #18497]
35946 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
35947 of wcscmp.
35948 (wcscmp): Define as weak alias of WCSCMP.
35949 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
35950 wcscoll.
35951 (USE_HIDDEN_DEF): Define.
35952 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
35953 __wcscoll. Don't use libc_hidden_weak.
35954 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
35955 wcscmp.
35956 * sysdeps/i386/i686/multiarch/wcscmp-c.c
35957 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
35958 __GI_wcscmp.
35959 (weak_alias): Undefine and redefine.
35960 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
35961 __wcscmp and define as weak alias of __wcscmp.
35962 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
35963 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
35964 (__wcscoll): Likewise.
35965 (wcscmp): Don't use libc_hidden_proto.
35966 (wcscoll): Likewise.
35967 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
35968 wcscoll.
35969 * posix/regexec.c (check_node_accept_bytes): Likewise.
35970 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
35971 variable.
35972 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
35973 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
35974
35975 [BZ #18507]
35976 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
35977 __fstatvfs and define as weak alias of __fstatvfs. Use
35978 libc_hidden_weak.
35979 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
35980 and define as weak alias of __statvfs. Use libc_hidden_weak.
35981 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
35982 Define as alias of __fstatvfs, not fstatvfs.
35983 (fstatvfs64): Likewise.
35984 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
35985 Define as alias of __statvfs, not statvfs.
35986 (statvfs64): Likewise.
35987 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
35988 Remove variable.
35989
35990 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35991
35992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35993 (HAVE_GETCPU_VSYSCALL): Define.
35994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35995 (HAVE_GETCPU_VSYSCALL): Likewise.
35996 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
35997 * sysdeps/unix/sysv/linux/sched_getcpu.c
35998 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
35999 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
36000 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
36001 prototype.
36002 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36003 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
36004 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
36005 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
36006 Define.
36007 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
36008 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36009 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
36010 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36011
36012 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
36013
36014 * sysdeps/x86_64/fpu/Makefile: New file.
36015 * sysdeps/x86_64/fpu/Versions: New file.
36016 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
36017 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
36018 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
36019 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
36020 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
36021 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
36022 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
36023 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
36024 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
36025 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
36026 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
36027 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
36028 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
36029 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36030 Added build of SSE, AVX2 and AVX512 IFUNC versions.
36031 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
36032 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
36033 * sysdeps/x86_64/configure.ac: Options for libmvec build.
36034 * sysdeps/x86_64/configure: Regenerated.
36035 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
36036 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
36037 * manual/install.texi (Configuring and compiling): Document
36038 --disable-mathvec.
36039 * INSTALL: Regenerated.
36040 * NEWS: Mention addition of libmvec and x86_64 vector cos.
36041
36042 * math/Makefile: Added rules for vector tests.
36043 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
36044 declaration under condition.
36045 * math/test-double-vlen2.h: New file.
36046 * math/test-double-vlen4.h: New file.
36047 * math/test-double-vlen8.h: New file.
36048 * math/test-vec-loop.h: Added initialization macro.
36049 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
36050 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
36051 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
36052 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
36053 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
36054 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
36055 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
36056 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
36057 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
36058 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
36059 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
36060
36061 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36062 * sysdeps/x86_64/fpu/Versions: New versions added.
36063 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
36064 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
36065 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
36066 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
36067 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
36068 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
36069 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
36070 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
36071 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
36072 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
36073 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
36074 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
36075 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
36076 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36077 Added build of SSE, AVX2 and AVX512 IFUNC versions.
36078 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36079 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
36080 * NEWS: Mention addition of x86_64 vector cosf.
36081
36082 * math/Makefile: Added CFLAGS for new tests.
36083 * math/test-float-vlen16.h: New file.
36084 * math/test-float-vlen4.h: New file.
36085 * math/test-float-vlen8.h: New file.
36086 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
36087 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
36088 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36089 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
36090 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
36091 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
36092 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
36093 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
36094 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
36095 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
36096 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
36097
36098 2015-06-09 Marko Myllynen <myllynen@redhat.com>
36099
36100 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
36101 * locale/programs/ld-ctype.c: Likewise.
36102
36103 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
36104
36105 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
36106 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
36107 bit_ZMM16_31_state): New macro.
36108 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36109 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
36110
36111 2015-06-08 Joseph Myers <joseph@codesourcery.com>
36112
36113 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
36114
36115 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
36116
36117 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
36118
36119 2015-06-05 Joseph Myers <joseph@codesourcery.com>
36120
36121 [BZ #18498]
36122 * libio/memstream.c (open_memstream): Rename to __open_memstream
36123 and define as weak alias of __open_memstream.
36124 * include/stdio.h (__open_memstream): Declare. Use
36125 libc_hidden_proto.
36126 (open_memstream): Don't use libc_hidden_proto.
36127 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
36128 open_memstream.
36129 * posix/getopt.c (_getopt_internal_r): Likewise.
36130 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
36131 variable.
36132 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
36133 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
36134 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
36135
36136 [BZ #18496]
36137 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
36138 instead of wcrtomb.
36139
36140 [BZ #18483]
36141 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
36142 [__USE_XOPEN2K8]. Remove redundant #endif.
36143 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
36144 Remove redundant #if.
36145 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
36146 Remove variable.
36147 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
36148 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
36149
36150 [BZ #18495]
36151 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
36152 (__iswlower): Likewise.
36153 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
36154 (__iswlower): Likewise.
36155 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
36156 instead of towlower.
36157 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
36158 instead of iswlower. Call __towupper instead of towupper.
36159 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
36160 instead of iswalnum.
36161
36162 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36163
36164 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
36165 errors to stderr.
36166
36167 2015-06-05 Florian Weimer <fweimer@redhat.com>
36168
36169 [BZ #15661]
36170 [BZ #17322]
36171 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
36172 Check for overflow properly. Check for O_APPEND. Ignore large
36173 file system block sizes. Add comments about problems.
36174 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
36175 * manual/filesys.texi (Storage Allocation): New node.
36176
36177 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36178
36179 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
36180 cancellable syscalls.
36181 (SYS_ify): Add guard to no redefine it.
36182 (INLINE_SYSCALL): Likewise.
36183 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
36184 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
36185 SYSCALL_CANCEL instead.
36186 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
36187 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
36188 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
36189 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
36190 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
36191 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
36192 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
36193 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
36194 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
36195 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
36196 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
36197 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
36198 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
36199 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
36200 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
36201 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
36202 Likewise.
36203 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
36204 (__libc_pread64): Likewise.
36205 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
36206 (__libc_preadv): Likewise.
36207 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
36208 (__libc_readv64): Likewise.
36209 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
36210 (__libc_pwrite): Likewise.
36211 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
36212 (__libc_pwrite64): Likewise.
36213 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
36214 (__libc_pwritev): Likewise.
36215 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
36216 (__libc_pwritev64): Likewise.
36217 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
36218 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
36219 (sync_file_range): Likewise.
36220 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
36221 Likewise.
36222 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
36223 Likewise.
36224 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
36225 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
36226 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
36227 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
36228 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
36229 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
36230 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
36231 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
36232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
36233 Likewise.
36234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36235 (__libc_read64): Likewise.
36236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
36237 Likewise.
36238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
36239 Likewise.
36240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
36241 Likewise.
36242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
36243 Likewise.
36244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36245 (__libc_pread64): Likewise.
36246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
36247 Likewise.
36248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36249 (__libc_pwrite64): Likewise.
36250 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
36251 (sync_file_range): Likewise.
36252 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
36253 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
36254 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
36255 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
36256 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
36257 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
36258 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
36259 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
36260 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
36261 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
36262 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
36263 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
36264 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
36265 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
36266 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
36267 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
36268 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
36269 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
36270 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
36271 Likewise.
36272 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
36273 Likewise.
36274 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
36275 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
36276 Likewise.
36277 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
36278 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
36279 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
36280 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
36281 Likewise.
36282 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
36283 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
36284 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
36285 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
36286 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
36287
36288 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
36289
36290 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
36291 Include dl-vdso.
36292 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
36293 Use VDSO routines for gettimeofday, clock_gettime if
36294 available.
36295 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
36296 Declare VDSO symbols.
36297 * sysdeps/unix/sysv/linux/arm/sysdep.h:
36298 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
36299 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36300 * sysdeps/unix/sysv/linux/arm/Versions: Add
36301 __vdso_clock_gettime.
36302
36303 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36304
36305 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
36306 be an inline implementation regardless of library is built within.
36307 (open_not_cancel_2): Likewise.
36308 (__read_nocancel): Likewise.
36309 (__write_nocancel): Likewise.
36310 (openat_not_cancel): Likewise.
36311 (openat_not_cancel_3): Likewise.
36312 (openat64_not_cancel): Likewise.
36313 (openat64_not_cancel_3): Likewise.
36314 (__close_nocancel): Likewise.
36315 (pause_not_cancel): Likewise.
36316 (nanosleep_not_cancel): Likewise.
36317 (sigsuspend_not_cancel): Likewise.
36318
36319 2015-06-04 Torvald Riegel <triegel@redhat.com>
36320
36321 [BZ #14958]
36322 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
36323 wake-up.
36324 (__pthread_rwlock_rdlock_slow): Likewise.
36325 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36326 Likewise.
36327 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
36328 Likewise.
36329 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
36330 * nptl/tst-rwlock16.c: New file.
36331 * nptl/Makefile (tests): Add new test.
36332
36333 2015-06-04 Torvald Riegel <triegel@redhat.com>
36334
36335 [BZ #18324]
36336 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
36337 missing wake-up of readers.
36338 * nptl/tst-rwlock15.c: New file.
36339 * nptl/Makefile (tests): Add new test.
36340
36341 2015-06-03 Roland McGrath <roland@hack.frob.com>
36342
36343 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
36344 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
36345 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
36346 and __nacl_supply_interface_rtld.
36347 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
36348 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
36349 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
36350 Add __nacl_supply_interface_rtld.
36351 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
36352
36353 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
36354
36355 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
36356 isfinite.
36357 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36358 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
36359
36360 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
36361
36362 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
36363 __signbit* with standard C99 macros.
36364 * math/e_exp10l.c: Likewise.
36365 * math/e_exp2l.c: Likewise.
36366 * math/e_scalb.c: Likewise.
36367 * math/e_scalbf.c: Likewise.
36368 * math/e_scalbl.c: Likewise.
36369 * math/s_ldexp.c: Likewise.
36370 * math/s_ldexpf.c: Likewise.
36371 * math/s_ldexpl.c: Likewise.
36372 * math/w_atan2.c: Likewise.
36373 * math/w_atan2f.c: Likewise.
36374 * math/w_atan2l.c: Likewise.
36375 * math/w_cosh.c: Likewise.
36376 * math/w_coshf.c: Likewise.
36377 * math/w_coshl.c: Likewise.
36378 * math/w_exp10.c: Likewise.
36379 * math/w_exp10f.c: Likewise.
36380 * math/w_exp10l.c: Likewise.
36381 * math/w_exp2.c: Likewise.
36382 * math/w_exp2f.c: Likewise.
36383 * math/w_exp2l.c: Likewise.
36384 * math/w_fmod.c: Likewise.
36385 * math/w_fmodf.c: Likewise.
36386 * math/w_fmodl.c: Likewise.
36387 * math/w_hypot.c: Likewise.
36388 * math/w_hypotf.c: Likewise.
36389 * math/w_hypotl.c: Likewise.
36390 * math/w_jnl.c: Likewise.
36391 * math/w_lgamma.c: Likewise.
36392 * math/w_lgamma_r.c: Likewise.
36393 * math/w_lgammaf.c: Likewise.
36394 * math/w_lgammaf_r.c: Likewise.
36395 * math/w_lgammal.c: Likewise.
36396 * math/w_lgammal_r.c: Likewise.
36397 * math/w_pow.c: Likewise.
36398 * math/w_powf.c: Likewise.
36399 * math/w_powl.c: Likewise.
36400 * math/w_remainder.c: Likewise.
36401 * math/w_remainderf.c: Likewise.
36402 * math/w_remainderl.c: Likewise.
36403 * math/w_scalb.c: Likewise.
36404 * math/w_scalbf.c: Likewise.
36405 * math/w_scalbl.c: Likewise.
36406 * math/w_scalbln.c: Likewise.
36407 * math/w_scalblnf.c: Likewise.
36408 * math/w_scalblnl.c: Likewise.
36409 * math/w_sinh.c: Likewise.
36410 * math/w_sinhf.c: Likewise.
36411 * math/w_sinhl.c: Likewise.
36412 * math/w_tgamma.c: Likewise.
36413 * math/w_tgammaf.c: Likewise.
36414 * math/w_tgammal.c: Likewise.
36415 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36416 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
36417 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36418 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36419 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36420 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36421 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36422 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36423 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36424 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36425 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36426 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36427 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36428 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36429 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36430 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36431 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36432 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36433 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36434 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36435 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36436 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36437 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36438 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36439 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36440 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36441 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
36442 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36443 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36444 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36445 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
36446 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
36447 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
36448 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
36449 * stdio-common/printf_fp.c: Likewise.
36450 * stdio-common/printf_fphex.c: Likewise.
36451 * stdio-common/printf_size.c: Likewise.
36452
36453 2015-06-03 Joseph Myers <joseph@codesourcery.com>
36454
36455 [BZ #18470]
36456 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
36457 strnlen.
36458 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
36459 Remove variable.
36460 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
36461 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
36462 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
36463 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
36464 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
36465 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
36466 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
36467 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
36468 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
36469 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
36470
36471 [BZ #18468]
36472 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
36473 weak alias of __wmemchr. Use libc_hidden_weak.
36474 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
36475 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
36476 instead of wmemchr.
36477
36478 2015-06-02 Roland McGrath <roland@hack.frob.com>
36479
36480 [BZ #18383]
36481 * elf/tst-tlsalign-extern.c: New file.
36482 * elf/tst-tlsalign-extern-static.c: New file.
36483 * elf/tst-tlsalign-vars.c: New file.
36484 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
36485 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
36486 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
36487 ($(objpfx)tst-tlsalign-extern-static): Likewise.
36488 (test-xfail-tst-tlsalign-extern-static): New variable.
36489
36490 2015-06-02 Joseph Myers <joseph@codesourcery.com>
36491
36492 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
36493 Use variable name _sc_err instead of err.
36494 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
36495 instead of ret.
36496 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
36497 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
36498 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
36499 (INLINE_SYSCALL): Likewise.
36500
36501 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
36502 * include/string.h (__strnlen): Use libc_hidden_proto.
36503 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
36504 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
36505 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
36506 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
36507 (libc_hidden_def): Undefine and redefine.
36508 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
36509 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
36510 __GI_strnlen.
36511 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
36512 libc_hidden_def.
36513 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
36514
36515 [BZ #18469]
36516 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
36517 weak alias of __towlower. Use libc_hidden_weak.
36518 (towupper): Rename to __towupper and define as weak alias of
36519 __towupper. Use libc_hidden_weak.
36520 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
36521 (__towupper): Likewise.
36522 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
36523 __towlower instead of towlower.
36524
36525 2015-06-02 Roland McGrath <roland@hack.frob.com>
36526
36527 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
36528 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
36529
36530 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
36531
36532 * sysdeps/aarch64/libm-test-ulps: Update.
36533
36534 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36535
36536 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
36537 Define.
36538 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36539 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36540 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
36541 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36542 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
36543 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
36544 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
36545
36546 2015-06-01 Martin Sebor <msebor@redhat.com>
36547
36548 [BZ #18116]
36549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36550 (__setcontext): Use extended four-operand version of mtsf whenever
36551 possible.
36552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36553 (__novec_swapcontext): Likewise.
36554
36555 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
36556
36557 * benchtests/scripts/compare_bench.py: New file.
36558 * benchtests/scripts/import_bench.py (mean): New function.
36559 (split_list): Likewise.
36560 (do_for_all_timings): Likewise.
36561 (compress_timings): Likewise.
36562
36563 * benchtests/scripts/import_bench.py: New file.
36564 * benchtests/scripts/validate_benchout.py: Import import_bench
36565 instead of jsonschema.
36566 (validate_bench): Remove function.
36567 (main): Use import_bench.
36568
36569 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
36570
36571 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
36572 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
36573
36574 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36575
36576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36577
36578 2015-05-28 Roland McGrath <roland@hack.frob.com>
36579
36580 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
36581 set THREAD_SELF->tid to a magic value and futex-wake it.
36582 Pass its address to the thread_exit system call.
36583 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
36584 bit is clear.
36585 * sysdeps/nacl/lowlevellock.h: New file.
36586 * sysdeps/nacl/lll_timedwait_tid.c: New file.
36587
36588 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
36589 Add TIMEOUT to current time, don't subtract it.
36590
36591 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
36592
36593 [BZ #2981]
36594 [BZ #18422]
36595 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
36596 ($(objpfx)tst-audit2.out): Also depend on
36597 $(objpfx)tst-auditmod9b.so.
36598 * elf/tst-audit2.c: Include <dlfcn.h>.
36599 (calloc_called): New.
36600 (calloc): Allow to be called more than once.
36601 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
36602
36603 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
36604
36605 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
36606 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
36607
36608 2015-05-27 Marko Myllynen <myllynen@redhat.com>
36609
36610 * stdlib/monetary.h: Fix comment.
36611
36612 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
36613
36614 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
36615 Avoid using variables in #defines that might cause shadowing.
36616 (INTERNAL_VSYSCALL_CALL): Likewise.
36617
36618 2015-05-26 Roland McGrath <roland@hack.frob.com>
36619
36620 * sysdeps/nacl/lll_timedlock_wait.c: New file.
36621
36622 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
36623 * nptl/lll_timedlock_wait.c: ... to this new file.
36624 * nptl/Makefile (libpthread-routines): Add it.
36625 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
36626 * nptl/lll_timedwait_tid.c: ... to this new file.
36627 * nptl/Makefile (libpthread-routines): Add it.
36628 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
36629 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
36630 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
36631 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
36632 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
36633 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
36634 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
36635 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
36636 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
36637 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
36638
36639 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36640
36641 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
36642 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36643 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
36644 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
36645 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
36646 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36647 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36648 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36649 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36650 * sysdeps/unix/sysv/linux/tile/sysdep.h
36651 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36652 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
36653 using vDSO syscall macro.
36654
36655 2015-05-26 Andriy Rysin <arysin@gmail.com>
36656
36657 [BZ #17293]
36658 * uk_UA: Fix sorting order for Ukrainian locale
36659
36660 2015-05-26 Marko Myllynen <myllynen@redhat.com>
36661
36662 * stdlib/monetary.h: Fix comment.
36663
36664 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
36665
36666 [BZ #18234]
36667 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
36668 st_mtim and st_ctim members.
36669 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
36670 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
36671 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
36672 (struct stat64): Likewise.
36673 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
36674 (struct stat64): Likewise.
36675 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
36676 (struct stat64): Likewise.
36677
36678 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36679
36680 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
36681 Define and include sysdep-vdso.h.
36682 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
36683 Likewise.
36684 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
36685 Likewise.
36686 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
36687 Define with VDSO_SYMBOL and use PTR_MANGLE.
36688 (__vdso_clock_gettime): Likewise.
36689 (__vdso_clock_getres): Likewise.
36690 (_libc_vdso_platform_setup): Likewise.
36691 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
36692 Likewise.
36693 (_libc_vdso_platform_setup): Likewise.
36694 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
36695 Likewise.
36696 (__vdso_clock_gettime): Likewise.
36697 (__vdso_clock_getres): Likewise.
36698 (__vdso_get_tbfreq): Likewise.
36699 (__vdso_getcpu): Likewise.
36700 (__vdso_time): Likewise.
36701 (__vdso_sigtramp_rt64): Likewise.
36702 (__vdso_signtramp32): Likewise.
36703 (__vdso_sigtramp_rt32): Likewise.
36704 (_libc_vdso_platform_setup): Likewise.
36705 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
36706 Likewise.
36707 (__vdso_clock_gettime): Likewise.
36708 (__vdso_clock_getres): Likewise.
36709 (_libc_vdso_platform_setup): Likewise.
36710 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
36711 Likewise.
36712 (__vdso_clock_gettime): Likewise.
36713 (_libc_vdso_platform_setup): Likewise.
36714 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
36715 Likewise.
36716 (__vdso_getcpu): Likewise.
36717 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
36718 Use VDSO_SYMBOL macro to define.
36719 (__vdso_clock_gettime): Likewise.
36720 (__vdso_clock_getres): Likewise.
36721 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
36722 Likewise.
36723 (__vdso_clock_gettime): Likewise.
36724 (__vdso_clock_getres): Likewise.
36725 (__vdso_get_tbfreq): Likewise.
36726 (__vdso_getcpu): Likewise.
36727 (__vdso_time): Likewise.
36728 (__vdso_sigtramp_rt64): Likewise.
36729 (__vdso_signtramp32): Likewise.
36730 (__vdso_sigtramp_rt32): Likewise.
36731 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
36732 Likewise.
36733 (__vdso_clock_gettime): Likewise.
36734 (__vdso_clock_getres): Likewise.
36735 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
36736 Likewise.
36737 (__vdso_clock_gettime): Likewise.
36738 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
36739 Likewise.
36740 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
36741 macro.
36742 (INTERNAL_VSYSCALL): Likewise.
36743 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
36744 Remove macro.
36745 (INTERNAL_VSYSCALL): Likewise.
36746 (INTERNAL_VSYSCALL_NCS): Likewise.
36747 (INTERNAL_VSYSCALL_CALL): New macro.
36748 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
36749 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
36750 Likewise.
36751 (INTERNAL_VSYSCALL): Likewise.
36752 (INTERNAL_VSYSCALL_NCS): Likewise.
36753 (INTERNAL_VSYSCALL_CALL): New macro.
36754 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
36755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36756 (INLINE_VSYSCALL): Remove macro.
36757 (INTERNAL_VSYSCALL): Remove macro.
36758 (INTERNAL_VSYSCALL_NCS): Remove macro.
36759 (INTERNAL_VSYSCALL_CALL): New macro.
36760 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
36761 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
36762 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
36763 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
36764 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
36765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36766 (INLINE_VSYSCALL): Remove macro.
36767 (INTERNAL_VSYSCALL): Likewise.
36768 (INTERNAL_VSYSCALL_NCS): Likewise.
36769 (INTERNAL_VSYSCALL_CALL): New macro.
36770 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
36771 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
36772 PTR_DEMANGLE on vDSO pointer.
36773 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
36774 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
36775 macro.
36776 (INTERNAL_SYSCALL): Likewise.
36777 (INTERNAL_VSYSCALL_NCS): Remove macro.
36778 (INTERNAL_VSYSCALL_CALL): New macro.
36779 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
36780 Remove macro.
36781 (INTERNAL_VSYSCALL): Likewise.
36782 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
36783 sysdep-vdso.h instead of libc-vdso.h.
36784 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
36785 definition.
36786 (INLINE_VSYSCALL): Likewise.
36787 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
36788 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
36789 definition.
36790 (INLINE_VSYSCALL): Likewise.
36791 (INTERNAL_VSYSCALL): Likewise.
36792 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36793 * sysdeps/unix/sysv/linux/timespec_get.c
36794 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36795 (timespec_get): Use ANSI prototype.
36796 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
36797 and definition for Linux.
36798
36799 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
36800
36801 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
36802 * include/libc-symbols.h: libmvec_hidden_* macro series added.
36803
36804 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
36805
36806 [BZ #2981]
36807 [BZ #18410]
36808 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
36809 for missing DT_PLTRELSZ.
36810
36811 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
36812
36813 Remove obsolete aliases that broke 'locale -a'
36814 [BZ #18412]
36815 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
36816 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
36817 breaking some applications that use 'locale -a' output.
36818 Change the encoding of this file from Latin-1 to ASCII to avoid
36819 other potential problems with people grepping this file.
36820
36821 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36822
36823 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
36824 -fasynchronous-unwind-tables.
36825 (CFLAGS-sendto.c): Likewise.
36826 (CFLAGS-sendmsg.c): Likewise.
36827 (CFLAGS-connect.c): Likewise.
36828 (CFLAGS-recvmsg.c): Likewise.
36829 (CFLAGS-recvfrom.c): Likewise.
36830 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
36831 (SOCKETCALL): New macro: non-cancellable socketcall.
36832 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
36833 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
36834 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
36835 * sysdeps/unix/sysv/linux/accept.c: New file.
36836 * sysdeps/unix/sysv/linux/bind.c: Likewise.
36837 * sysdeps/unix/sysv/linux/connect.c: Likewise.
36838 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
36839 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
36840 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
36841 * sysdeps/unix/sysv/linux/listen.c: Likewise.
36842 * sysdeps/unix/sysv/linux/recv.c: Likewise.
36843 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
36844 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
36845 * sysdeps/unix/sysv/linux/send.c: Likewise.
36846 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
36847 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
36848 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
36849 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
36850 * sysdeps/unix/sysv/linux/socket.c: Likewise.
36851 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
36852 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
36853 prototype.
36854 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
36855 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
36856 instead of __internal_xxx function.
36857 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
36858 prototype.
36859 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
36860 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
36861 instead of __internal_xxx function.
36862 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
36863 prototype.
36864 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
36865 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
36866 instead of __internal_xxx function.
36867 * sysdeps/unix/sysv/linux/accept.S: Remove file.
36868 * sysdeps/unix/sysv/linux/bind.S: Likewise.
36869 * sysdeps/unix/sysv/linux/connect.S: Likewise.
36870 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
36871 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
36872 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
36873 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
36874 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
36875 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
36876 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
36877 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
36878 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36879 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
36880 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
36881 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
36882 * sysdeps/unix/sysv/linux/listen.S: Likewise.
36883 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
36884 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
36885 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
36886 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
36887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
36888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
36889 * sysdeps/unix/sysv/linux/recv.S: Likewise.
36890 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
36891 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
36892 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
36893 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
36894 * sysdeps/unix/sysv/linux/send.S: Likewise.
36895 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
36896 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
36897 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
36898 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
36899 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
36900 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
36901 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
36902 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
36903 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
36904 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
36905 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
36906 socketcall is implemented in GLIBC.
36907
36908 2015-05-22 Joseph Myers <joseph@codesourcery.com>
36909
36910 * soft-fp/fmadf4.c: Include <libc-internal.h>.
36911 (__fma): Ignore uninitialized warnings around packing.
36912 * soft-fp/fmasf4.c: Include <libc-internal.h>.
36913 (__fmaf): Ignore uninitialized warnings around packing.
36914 * soft-fp/fmatf4.c: Include <libc-internal.h>.
36915 (__fmal): Ignore uninitialized warnings around packing.
36916
36917 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
36918 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
36919 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
36920 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
36921
36922 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
36923 switch statement into default case.
36924 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
36925
36926 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
36927 a conditional in forcing "inexact".
36928 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
36929 Likewise.
36930
36931 2015-05-22 Roland McGrath <roland@hack.frob.com>
36932
36933 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
36934 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
36935 for each INTERNAL_SYSCALL use.
36936
36937 2015-05-22 Joseph Myers <joseph@codesourcery.com>
36938
36939 [BZ #438]
36940 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
36941 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
36942 variable.
36943
36944 [BZ #18444]
36945 * string/basename.c (basename): Rename to __basename and define as
36946 weak alias of __basename. Use libc_hidden_weak.
36947 * include/string.h (__basename): Declare. Use libc_hidden_proto.
36948 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
36949 __basename instead of basename.
36950 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
36951 Remove variable.
36952 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
36953
36954 2015-05-18 Florian Weimer <fweimer@redhat.com>
36955
36956 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
36957 (_IO_JUMPS_FILE_plus): New.
36958 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
36959 _IO_CAST_FIELD_ACCESS.
36960 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
36961 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
36962 * libio/freopen.c (freopen): Likewise.
36963 * libio/freopen64.c (freopen64): Likewise.
36964 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
36965 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
36966 * libio/iofwide.c (_IO_fwide): Likewise.
36967 * libio/memstream.c (open_memstream): Likewise.
36968 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36969 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
36970 * libio/oldiopopen.c (_IO_old_popen): Likewise.
36971
36972 2015-05-21 Joseph Myers <joseph@codesourcery.com>
36973
36974 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
36975 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
36976 NADJ.
36977 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
36978 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
36979 NADJ.
36980 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
36981 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
36982 NADJ.
36983
36984 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
36985 (p == 4) case.
36986
36987 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
36988 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
36989 Remove variable.
36990 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
36991 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
36992 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
36993
36994 2015-05-21 Florian Weimer <fweimer@redhat.com>
36995
36996 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
36997 Adjust jump table label generation macros.
36998
36999 2015-05-21 Florian Weimer <fweimer@redhat.com>
37000
37001 * stdio-common/vfprintf.c (vfprintf): Move local variables
37002 args_malloced, specs, specs_malloced, and the code after
37003 do_positional to the printf_positional function.
37004 (printf_positional): New function.
37005
37006 2015-05-21 Florian Weimer <fweimer@redhat.com>
37007
37008 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
37009 function.
37010 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
37011 STEP4_TABLE, process_arg): Move macro definitions
37012 out of the vfprintf function. (Cosmetic change only.)
37013
37014 2015-05-21 Carlos O'Donell <carlos@redhat.com>
37015
37016 * benchtests/Makefile (stdio-common-bench): Define.
37017 (benchset): Add stdio-common-bench.
37018 * sprintf-inputs: New file.
37019 * sprintf-source.c: New file.
37020
37021 2015-05-21 Andreas Schwab <schwab@suse.de>
37022
37023 [BZ #13028]
37024 [BZ #17053]
37025 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
37026 of struct __res_state.
37027 * resolv/res_send.c (__libc_res_nsend): Likewise.
37028 (get_nsaddr): New function.
37029 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
37030 statp directly.
37031
37032 2015-05-20 Joseph Myers <joseph@codesourcery.com>
37033
37034 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
37035 -D_POSIX_C_SOURCE=199506L.
37036
37037 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
37038
37039 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
37040 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
37041 Do not mention otherwise.
37042 [POSIX] (_XOPEN_VERSION): Do not expect.
37043 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
37044 [POSIX] (_POSIX2_C_BIND): Likewise.
37045 [POSIX] (_POSIX2_VERSION): Likewise.
37046 [POSIX] (_XOPEN_XPG2): Likewise.
37047 [POSIX] (_XOPEN_XPG3): Likewise.
37048 [POSIX] (_XOPEN_XPG4): Likewise.
37049 [POSIX] (_XOPEN_UNIX): Likewise.
37050 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
37051 [POSIX] (_POSIX_BARRIERS): Likewise.
37052 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
37053 [POSIX] (_POSIX_CPUTIME): Likewise.
37054 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
37055 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
37056 [POSIX] (_POSIX_SHELL): Likewise.
37057 [POSIX] (_POSIX_SPAWN): Likewise.
37058 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
37059 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
37060 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
37061 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
37062 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
37063 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
37064 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
37065 [POSIX] (_XBS5_LP64_OFF64): Likewise.
37066 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
37067 [POSIX] (_POSIX_TIMEOUTS): Likewise.
37068 [POSIX] (_POSIX2_PBS): Likewise.
37069 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
37070 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
37071 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
37072 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
37073 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
37074 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
37075 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
37076 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
37077 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
37078 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
37079 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
37080 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
37081 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
37082 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
37083 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
37084 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
37085 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
37086 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
37087 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
37088 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
37089 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
37090 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
37091 [POSIX] (_SC_2_C_BIND): Likewise.
37092 [POSIX] (_SC_2_C_VERSION): Likewise.
37093 [POSIX] (_SC_2_PBS): Likewise.
37094 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
37095 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
37096 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
37097 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
37098 [POSIX] (_SC_2_PBS_TRACK): Likewise.
37099 [POSIX] (_SC_ATEXIT_MAX): Likewise.
37100 [POSIX] (_SC_BARRIERS): Likewise.
37101 [POSIX] (_SC_BASE): Likewise.
37102 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
37103 [POSIX] (_SC_DEVICE_IO): Likewise.
37104 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
37105 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
37106 [POSIX] (_SC_FD_MGMT): Likewise.
37107 [POSIX] (_SC_FIFO): Likewise.
37108 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
37109 [POSIX] (_SC_FILE_LOCKING): Likewise.
37110 [POSIX] (_SC_FILE_SYSTEM): Likewise.
37111 [POSIX] (_SC_IOV_MAX): Likewise.
37112 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
37113 [POSIX] (_SC_NETWORKING): Likewise.
37114 [POSIX] (_SC_PAGE_SIZE): Likewise.
37115 [POSIX] (_SC_PASS_MAX): Likewise.
37116 [POSIX] (_SC_PIPE): Likewise.
37117 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
37118 [POSIX] (_SC_REGEXP): Likewise.
37119 [POSIX] (_SC_SHELL): Likewise.
37120 [POSIX] (_SC_SIGNALS): Likewise.
37121 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
37122 [POSIX] (_SC_SPIN_LOCKS): Likewise.
37123 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
37124 [POSIX] (_SC_USER_GROUPS): Likewise.
37125 [POSIX] (_SC_USER_GROUPS_R): Likewise.
37126 [POSIX] (_SC_STREAMS): Likewise.
37127 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
37128 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
37129 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
37130 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
37131 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
37132 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
37133 [POSIX] (_PC_FILESIZEBITS): Likewise.
37134 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
37135 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
37136 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
37137 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
37138 [POSIX] (uid_t): Likewise.
37139 [POSIX] (gid_t): Likewise.
37140 [POSIX] (off_t): Likewise.
37141 [POSIX] (pid_t): Likewise.
37142 [POSIX] (cuserid): Allow.
37143 (_SC_2_CHAR_TERM): Require constant.
37144 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
37145 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
37146 variable.
37147
37148 2015-05-20 Roland McGrath <roland@hack.frob.com>
37149
37150 * sysdeps/nacl/pthread-pids.h: New file.
37151 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
37152 (create_thread): Use __nacl_get_tid to initialize PD->tid.
37153
37154 * nptl/pthread-pids.h: New file.
37155 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
37156 * nptl/nptl-init.c: Include <pthread-pids.h>.
37157 (__pthread_initialize_minimal_internal):
37158 Call __pthread_initialize_pids instead of set_tid_address syscall.
37159
37160 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
37161 * sysdeps/posix/usleep.c: ... here.
37162
37163 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37164
37165 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
37166 call_pselect6 object.
37167 [$(subdir) = io]: Remove call_sync_file_range object.
37168 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
37169 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
37170 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
37171 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
37172
37173 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
37174
37175 * math/s_cproj.c: Add include "math_private.h".
37176 * math/s_cprojf.c: Likewise.
37177 * math/s_cprojl.c: Likewise.
37178
37179 2015-05-19 Joseph Myers <joseph@codesourcery.com>
37180
37181 [BZ #18244]
37182 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
37183 high mantissa bit when testing whether P is a NaN.
37184 * math/libm-test.inc (remainder_test_data): Add more tests.
37185 (remquo_test_data): Likewise.
37186
37187 [BZ #18049]
37188 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
37189 below -32, return the argument, with underflow if subnormal.
37190 * math/auto-libm-test-in: Add more tests of atanh.
37191 * math/auto-libm-test-out: Regenerated.
37192
37193 2015-05-19 Roland McGrath <roland@hack.frob.com>
37194
37195 [BZ #18434]
37196 * nptl/tst-sem15.c: New file.
37197 * nptl/Makefile (tests): Add it.
37198 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
37199 s/<</>>/ to fix typo in EOVERFLOW check.
37200 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
37201
37202 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37203
37204 * manual/strings.texi (envz_remove): Fix typo in safety
37205 annotations.
37206
37207 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
37208 Steve Ellcey <sellcey@imgtec.com>
37209
37210 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
37211 in order to avoid strict alias warnings.
37212 (iruserok_af): Ditto for ra.
37213
37214 2015-05-19 James Lemke <jwlemke@codesourcery.com>
37215
37216 [BZ #17581]
37217 * malloc/hooks.c
37218 (magicbyte): Convert to a function and avoid returning 0x01.
37219 (mem2mem_check): Avoid using a length byte equal to the magic byte.
37220 (mem2chunk_check): Fix unsigned comparisons to zero.
37221 Hoist defs of sz and magic.
37222
37223 2015-05-19 Richard Henderson <rth@redhat.com>
37224
37225 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
37226
37227 * sysdeps/alpha/fpu/libm-test-ulps: Update.
37228
37229 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37230
37231 [BZ #16159]
37232 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
37233 * malloc/arena.c (arena_lock): Check if arena is corrupt.
37234 (reused_arena): Find a non-corrupt arena.
37235 (heap_trim): Pass arena to unlink.
37236 * malloc/hooks.c (malloc_check_get_size): Pass arena to
37237 malloc_printerr.
37238 (top_check): Likewise.
37239 (free_check): Likewise.
37240 (realloc_check): Likewise.
37241 * malloc/malloc.c (malloc_printerr): Add arena argument.
37242 (unlink): Likewise.
37243 (munmap_chunk): Adjust.
37244 (ARENA_CORRUPTION_BIT): New macro.
37245 (arena_is_corrupt): Likewise.
37246 (set_arena_corrupt): Likewise.
37247 (sysmalloc): Use mmap if there are no usable arenas.
37248 (_int_malloc): Likewise.
37249 (__libc_malloc): Don't fail if arena_get returns NULL.
37250 (_mid_memalign): Likewise.
37251 (__libc_calloc): Likewise.
37252 (__libc_realloc): Adjust for additional argument to
37253 malloc_printerr.
37254 (_int_free): Likewise.
37255 (malloc_consolidate): Likewise.
37256 (_int_realloc): Likewise.
37257 (_int_memalign): Don't touch corrupt arenas.
37258 * malloc/tst-malloc-backtrace.c: New test case.
37259
37260 * Makefile (summarize-tests): Fix return value on success.
37261
37262 * manual/string.texi (Envz Functions): Add envz_remove.
37263
37264 2015-05-18 Roland McGrath <roland@hack.frob.com>
37265
37266 * sysdeps/posix/opendir.c: Include <stdbool.h>.
37267 (invalid_name): New function, broken out of ...
37268 (__opendirat): ... here. Call it.
37269 (need_isdir_precheck): New function, broken out of ...
37270 (__opendirat): ... here. Call it.
37271 Use __fxstatat64, not __xstatat64.
37272 (opendir_oflags): New function, broken out of ...
37273 (__opendirat): ... here. Call it.
37274 (opendir_tail): New function, broken out of ...
37275 (__opendirat): ... here. Call it.
37276 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
37277 opendir_tail, rather than punting to __opendirat.
37278 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
37279
37280 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37281
37282 * .gitignore: Ignore generated *.pyc.
37283
37284 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
37285
37286 * include/stdio.h: Define __need_wint_t.
37287 * test-skeleton.c: Avoid `for' loop initial declaration.
37288 * nptl/tst-initializers1.c: Use test-skeleton.c.
37289
37290 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37291
37292 [BZ #18418]
37293 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
37294
37295 2015-05-15 Joseph Myers <joseph@codesourcery.com>
37296
37297 [BZ #16352]
37298 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
37299 (__ieee754_atanh): Force underflow exception for results with
37300 small absolute value.
37301 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
37302 (__ieee754_atanhf): Force underflow exception for results with
37303 small absolute value.
37304 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
37305 (__ieee754_atanh): Force underflow exception for results with
37306 small absolute value.
37307 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
37308 (__ieee754_atanhf): Force underflow exception for results with
37309 small absolute value.
37310 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
37311 (__ieee754_atanhl): Force underflow exception for results with
37312 small absolute value.
37313 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
37314 (__ieee754_atanhl): Force underflow exception for results with
37315 small absolute value.
37316 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
37317 (__ieee754_atanhl): Force underflow exception for results with
37318 small absolute value.
37319 * math/auto-libm-test-in: Do not allow missing underflow
37320 exceptions from atanh.
37321 * math/auto-libm-test-out: Regenerated.
37322
37323 [BZ #18221]
37324 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
37325 2**-28 as threshold for returning x or +/- 1/x.
37326 * math/auto-libm-test-in: Add more tests of tan.
37327 * math/auto-libm-test-out: Regenerated.
37328
37329 [BZ #18220]
37330 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
37331 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
37332 * math/auto-libm-test-in: Add another test of lgamma.
37333 * math/auto-libm-test-out: Regenerated.
37334
37335 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
37336
37337 * stdio-common/printf_fp.c (___printf_fp): Use abs.
37338 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
37339 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
37340 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
37341 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
37342 (ADD2A): Use fabs. (SUB2A): Use fabs.
37343 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
37344 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
37345 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
37346 (log1): Use fabs. (my_log2): Use fabs.
37347 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
37348 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
37349 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
37350 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
37351 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
37352 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
37353 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
37354 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
37355 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
37356 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
37357 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
37358
37359 2015-05-15 Joseph Myers <joseph@codesourcery.com>
37360
37361 [BZ #18217]
37362 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
37363 as threshold for returning 1 - x.
37364 * math/auto-libm-test-in: Add more tests of erfc.
37365 * math/auto-libm-test-out: Regenerated.
37366
37367 2015-05-14 Joseph Myers <joseph@codesourcery.com>
37368
37369 [BZ #18196]
37370 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
37371 threshold for large arguments.
37372 * math/auto-libm-test-in: Add another test of atan.
37373 * math/auto-libm-test-out: Regenerated.
37374
37375 [BZ #16339]
37376 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
37377 (__log1p): Force underflow exception for results with small
37378 absolute value.
37379 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
37380 (__log1pf): Force underflow exception for results with small
37381 absolute value.
37382 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
37383 (__log1p): Force underflow exception for results with small
37384 absolute value.
37385 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
37386 (__log1pf): Force underflow exception for results with small
37387 absolute value.
37388 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
37389 (__log1pl): Force underflow exception for results with small
37390 absolute value.
37391 * math/auto-libm-test-in: Do not allow missing underflow
37392 exceptions from log1p.
37393 * math/auto-libm-test-out: Regenerated.
37394
37395 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
37396 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37397
37398 [BZ #16704]
37399 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
37400
37401 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
37402
37403 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
37404 (libmvec): New variable.
37405 * configure.ac: Added option for mathvec build.
37406 * configure: Regenerated.
37407 * mathvec/Depend: New file.
37408 * mathvec/Makefile: New file.
37409 * shlib-versions: Added libmvec.
37410 * math/Makefile: Added rule for libm.so installation.
37411
37412 * bits/math-vector.h: New file.
37413 * bits/libm-simd-decl-stubs.h: New header.
37414 * math/Makefile (headers): Added new header
37415 libm-simd-decl-stubs.h.
37416 * math/math.h (__MATHCALL_VEC): New macro.
37417
37418 * math/gen-libm-have-vector-test.sh: Script generates series of macros
37419 for conditions in testing functions.
37420 * math/Makefile: Added call of libm-have-vector-test.sh.
37421 * math/libm-test.inc (HAVE_VECTOR): New macros.
37422
37423 * math/libm-test.inc: START refactored.
37424 * math/test-double.c (TEST_MATHVEC): Add define.
37425 * math/test-float.c: Likewise.
37426 * math/test-idouble.c: Likewise.
37427 * math/test-ifloat.c: Likewise.
37428 * math/test-ildoubl.c: Likewise.
37429 * math/test-ldouble.c: Likewise.
37430 * sysdeps/generic/math-tests-arch.h
37431 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
37432 architecture check.
37433
37434 * math/test-double.c (FUNC_TEST): New macro.
37435 * math/test-float.c: Likewise.
37436 * math/test-idouble.c: Likewise.
37437 * math/test-ifloat.c: Likewise.
37438 * math/test-ildoubl.c: Likewise.
37439 * math/test-ldouble.c: Likewise.
37440 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
37441
37442 2015-05-13 Roland McGrath <roland@hack.frob.com>
37443
37444 * sysdeps/nacl/fdopendir.c: New file.
37445
37446 * dirent/scandir-tail.c: New file.
37447 * dirent/scandir64-tail.c: New file.
37448 * dirent/Makefile (routines): Add them.
37449 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
37450 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
37451 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
37452 [!SCANDIR] (SCANDIR_TAIL): New macro.
37453 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
37454 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
37455 (SCANDIRAT): Macro removed.
37456 (SCANDIR_TAIL): New macro.
37457 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
37458 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
37459 (SCANDIRAT): Just call __opendirat and __scandir_tail.
37460 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
37461 (READDIR): Macro removed.
37462 (SCANDIR_TAIL): New macro.
37463 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
37464 (SCANDIR_TAIL): New macro.
37465
37466 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
37467 * dirent/scandir-cancel.c: ... to this new file.
37468 * dirent/Makefile (routines): Add it.
37469 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
37470 * sysdeps/unix/sysv/linux/i386/scandir64.c
37471 (SKIP_SCANDIR_CANCEL): Macro removed.
37472 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
37473
37474 * dirent/tst-scandir.c: New file.
37475 * dirent/tst-scandir64.c: New file.
37476 * dirent/Makefile (tests): Add them.
37477
37478 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
37479
37480 [BZ #18409]
37481 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
37482
37483 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
37484
37485 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
37486 list.
37487
37488 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
37489
37490 * benchtests/bench-strcoll.c: New benchmark.
37491 * benchtests/Makefile: Generate locales and run benchmark.
37492 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
37493 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
37494 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
37495 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
37496 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
37497 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
37498 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
37499 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
37500 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
37501 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
37502 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
37503 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
37504 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
37505 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
37506 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
37507 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
37508 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
37509 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
37510 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
37511 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
37512 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
37513 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
37514 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
37515 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
37516
37517 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
37518
37519 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
37520 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37521
37522 2015-05-12 Roland McGrath <roland@hack.frob.com>
37523
37524 * posix/uname-values.h: New file.
37525 * posix/uname.c: Include that instead of <config-name.h>.
37526 * sysdeps/nacl/uname-values.h: New file.
37527 * sysdeps/arm/nacl/uname-values.h: New file.
37528
37529 2015-05-12 Joseph Myers <joseph@codesourcery.com>
37530
37531 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
37532 splitting into fields.
37533
37534 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
37535
37536 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
37537 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
37538 * locale/localeinfo.h: Add enum collation_encoding_type.
37539 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
37540 * programs/ld-collate.c (collate_output): Add encoding type info.
37541 * string/strcoll_l.c (STRDIFF): New function.
37542 * (STRCOLL): Use STRDIFF to skip over equal prefix.
37543 * wcsmbs/wcscoll_l.c: Define STRDIFF.
37544
37545 2015-05-11 Joseph Myers <joseph@codesourcery.com>
37546
37547 [BZ #18397]
37548 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
37549 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
37550 <fpu_control.h> instead of <math/fpu_control.c>.
37551 * sysdeps/mips/mips32/fpu/Makefile: New file.
37552
37553 2015-05-11 Andreas Schwab <schwab@suse.de>
37554
37555 [BZ #18007]
37556 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
37557 nss_endgrent.
37558 (_nss_compat_endgrent): Call nss_endgrent.
37559 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
37560 nss_endpwent.
37561 (_nss_compat_endpwent): Call nss_endpwent.
37562 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
37563 needent, call nss_setspent only if non-zero.
37564 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
37565 (internal_endspent): Don't call nss_endspent.
37566 (_nss_compat_endspent): Call nss_endspent.
37567 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
37568 Remove. All uses removed.
37569 (internal_setent): Remove parameter stayopen, add parameter
37570 stream. Use it instead of global variable.
37571 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
37572 (internal_endent, internal_getent): Add parameter stream. Use it
37573 instead of global variable.
37574 (CONCAT(_nss_files_end,ENTNAME))
37575 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
37576 (_nss_files_get##name##_r): Pass local stream. Remove locking.
37577 * nss/nss_files/files-alias.c (position, last_use): Remove. All
37578 uses removed.
37579 (internal_setent, internal_endent): Add parameter stream. Use it
37580 instead of global variable.
37581 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
37582 stream.
37583 (get_next_alias): Add parameter stream.
37584 (_nss_files_getaliasent_r): Pass global stream.
37585 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
37586 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
37587 (_nss_files_gethostbyname4_r): Pass local stream to
37588 internal_setent, internal_getent and internal_endent. Remove
37589 locking.
37590
37591 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
37592
37593 * tst-strfmon1.c (tests): Update expected currency symbol.
37594
37595 2015-05-08 Roland McGrath <roland@hack.frob.com>
37596
37597 * sysdeps/nacl/gethostname.c: New file.
37598
37599 2015-05-08 Joseph Myers <joseph@codesourcery.com>
37600
37601 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
37602 and sinh.
37603 * math/auto-libm-test-out: Regenerated.
37604 * sysdeps/i386/fpu/libm-test-ulps: Update.
37605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37606
37607 2015-05-08 Carlos O'Donell <carlos@redhat.com>
37608
37609 [BZ #18125]
37610 * stdlib/tst-setcontext3.c: New file.
37611 * stdlib/tst-setcontext3.sh: New file.
37612 * stdlib/Makefile (tests): Add tst-setcontext3.
37613 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
37614 to verify test program created output file.
37615 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
37616 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
37617 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
37618 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
37619
37620 2015-05-06 Roland McGrath <roland@hack.frob.com>
37621
37622 [BZ #18383]
37623 * elf/tst-tlsalign.c: New file.
37624 * elf/tst-tlsalign-static.c: New file.
37625 * elf/tst-tlsalign-lib.c: New file.
37626 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
37627 (tests-static): Add tst-tlsalign-static.
37628 (modules-names): Add tst-tlsalign-lib.
37629 (test-xfail-tst-tlsalign): New variable.
37630 (test-xfail-tst-tlsalign-static): New variable.
37631
37632 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
37633 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
37634
37635 2015-05-06 Joseph Myers <joseph@codesourcery.com>
37636
37637 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
37638 csqrt, erfc, sin and sincos.
37639 * math/auto-libm-test-out: Regenerated.
37640 * sysdeps/i386/fpu/libm-test-ulps: Update.
37641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37642
37643 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
37644
37645 * sysdeps/aarch64/libm-test-ulps: Update.
37646
37647 2015-05-05 Joseph Myers <joseph@codesourcery.com>
37648
37649 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
37650 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
37651 * math/auto-libm-test-out: Regenerated.
37652 * sysdeps/i386/fpu/libm-test-ulps: Update.
37653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37654
37655 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
37656
37657 [BZ #18265]
37658 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
37659 (wcsncpy): Likewise.
37660
37661 2015-05-05 Florian Weimer <fweimer@redhat.com>
37662
37663 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
37664 Assume __ASSUME_FALLOCATE is always true.
37665 * sysdeps/unix/sysv/linux/posix_fallocate64.c
37666 (__posix_fallocate64_l64): Likewise.
37667 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
37668 (posix_fallocate): Likewise.
37669 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
37670 (__posix_fallocate64_l64): Likewise.
37671 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37672 [!__ASSUME_FALLOCATE]: Add comment.
37673
37674 2015-05-05 Florian Weimer <fweimer@redhat.com>
37675
37676 * sysdeps/unix/sysv/linux/i386/Makefile
37677 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
37678 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
37679 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
37680 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37681 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37682 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
37683 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
37684
37685 2015-05-02 Joseph Myers <joseph@codesourcery.com>
37686
37687 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
37688 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
37689 tgamma.
37690 * math/auto-libm-test-out: Regenerated.
37691 * sysdeps/i386/fpu/libm-test-ulps: Update.
37692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37693
37694 2015-05-01 Joseph Myers <joseph@codesourcery.com>
37695
37696 * math/auto-libm-test-in: Add more tests of tgamma.
37697 * math/auto-libm-test-out: Regenerated.
37698 * sysdeps/i386/fpu/libm-test-ulps: Update.
37699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37700
37701 * math/auto-libm-test-in: Add more tests of tanh.
37702 * math/auto-libm-test-out: Regenerated.
37703 * sysdeps/i386/fpu/libm-test-ulps: Update.
37704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37705
37706 * math/auto-libm-test-in: Add more tests of tan.
37707 * math/auto-libm-test-out: Regenerated.
37708 * sysdeps/i386/fpu/libm-test-ulps: Update.
37709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37710
37711 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
37712 * math/auto-libm-test-out: Regenerated.
37713 * sysdeps/i386/fpu/libm-test-ulps: Update.
37714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37715
37716 * math/auto-libm-test-in: Add another test of pow.
37717 * math/auto-libm-test-out: Regenerated.
37718 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37719
37720 * math/auto-libm-test-in: Add more tests of lgamma.
37721 * math/auto-libm-test-out: Regenerated.
37722 * sysdeps/i386/fpu/libm-test-ulps: Update.
37723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37724
37725 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
37726 log1p.
37727 * math/auto-libm-test-out: Regenerated.
37728 * sysdeps/i386/fpu/libm-test-ulps: Update.
37729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37730
37731 2015-05-01 Mark Wielaard <mjw@redhat.com>
37732
37733 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
37734 Elf64_Chdr structs and ELFCOMPRESS constants.
37735
37736 2015-05-01 Joseph Myers <joseph@codesourcery.com>
37737
37738 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
37739 expm1.
37740 * math/auto-libm-test-out: Regenerated.
37741 * sysdeps/i386/fpu/libm-test-ulps: Update.
37742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37743
37744 * math/auto-libm-test-in: Add more tests of erf and erfc.
37745 * math/auto-libm-test-out: Regenerated.
37746 * sysdeps/i386/fpu/libm-test-ulps: Update.
37747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37748
37749 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
37750
37751 * config.h.in (HAVE_AARCH64_BE): Add.
37752
37753 2015-04-30 Joseph Myers <joseph@codesourcery.com>
37754
37755 * math/auto-libm-test-in: Add more tests of csqrt.
37756 * math/auto-libm-test-out: Regenerated.
37757 * sysdeps/i386/fpu/libm-test-ulps: Update.
37758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37759
37760 * math/auto-libm-test-in: Add more tests of cosh and sinh.
37761 * math/auto-libm-test-out: Regenerated.
37762 * sysdeps/i386/fpu/libm-test-ulps: Update.
37763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37764
37765 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
37766
37767 2015-04-29 Roland McGrath <roland@hack.frob.com>
37768
37769 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
37770 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
37771
37772 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
37773 (euidaccess, eaccess): Define as weak aliases.
37774
37775 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
37776 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
37777 but __suseconds_t is often 'long int' so some sources assume that
37778 type is being used (e.g. they use %ld to print tv_usec).
37779
37780 2015-04-29 Florian Weimer <fweimer@redhat.com>
37781
37782 [BZ #18007]
37783 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
37784 (CVE-2014-8121)
37785 * nss/tst-nss-getpwent.c: New file.
37786 * nss/Makefile (tests): Add new test.
37787
37788 2015-04-28 Joseph Myers <joseph@codesourcery.com>
37789
37790 [BZ #18346]
37791 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
37792 exponents less than 48 as cases where high part of mantissa needs
37793 examining to determine whether argument is integral.
37794 * math/libm-test.inc (round_test_data): Add more tests.
37795
37796 2015-04-28 Mark Wielaard <mjw@redhat.com>
37797
37798 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
37799
37800 2015-04-27 David S. Miller <davem@davemloft.net>
37801
37802 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
37803 __tls_get_addr.
37804 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
37805
37806 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
37807
37808 [BZ #18333]
37809 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
37810
37811 2015-04-27 Florian Weimer <fweimer@redhat.com>
37812
37813 [BZ #18333]
37814 * time/tzset.c (parse_tzname): Return error on memory allocation
37815 failure.
37816 * test-skeleton.c (struct temp_name_list): Change type of name
37817 member to non-const.
37818 (add_temp_file): Create a copy of the file name.
37819 (delete_temp_files): Deallocate memory.
37820 (create_temp_file): Add comment.
37821
37822 2015-04-24 Florian Weimer <fweimer@redhat.com>
37823
37824 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
37825 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
37826
37827 2015-04-24 Roland McGrath <roland@hack.frob.com>
37828
37829 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
37830 * sysdeps/arm/configure: Regenerated.
37831
37832 2015-04-24 Florian Weimer <fweimer@redhat.com>
37833
37834 [BZ #17715]
37835 * time/tzfile.c (__tzfile_read): Check for large values of
37836 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
37837 * time/tzset.c (__tzstring_len): New function, based on the old
37838 __tzstring function.
37839 (__tzstring): Call __tzstring_len.
37840 (parse_tzname): New helper function extracted from
37841 __tzset_parse_tz. Call __tzstring_len, without making a copy of
37842 the input string.
37843 (parse_offset): New helper function extracted from
37844 __tzset_parse_tz. Replace switch with fallthrough with
37845 initialization before sscanf.
37846 (parse_rule): Likewise.
37847 (__tzset_parse_tz): Rewrite using the new helper functions. Use
37848 new-style function definition.
37849 * timezone/Makefile (tests): Add tst-tzset.
37850 (tst-tzset.out): Dependencies on time zone files.
37851 (tst-tzset-ENV): Set TZDIR.
37852 (testdata/XT%): Copy crafted time zone files.
37853 * timezone/README: Mention crafted time zone files.
37854 * timezone/testdata/XT1, timezone/testdata/XT2,
37855 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
37856 files.
37857 * timezone/tst-tzset.c: New test.
37858
37859 2015-04-24 Florian Weimer <fweimer@redhat.com>
37860
37861 * Makeconfig (+gccwarn): Remove -Winline.
37862
37863 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
37864
37865 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
37866
37867 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
37868
37869 * NEWS: Mention sysconf() cache information support for s390.
37870 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
37871
37872 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
37873
37874 * math/k_casinh.c (__kernel_casinh): Use __copysign.
37875 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
37876 (__nearbyint): Likewise.
37877 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
37878 (copysignl): Likewise.
37879
37880 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
37881
37882 [BZ #18287]
37883 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
37884 based on padding. (CVE-2015-1781)
37885
37886 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37887
37888 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
37889 libc-vdso.h.
37890 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
37891 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
37892 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
37893 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
37894 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
37895 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
37896 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
37897 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37898 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
37899 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
37900 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
37901 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37902 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
37903 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
37904 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
37905 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
37906 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
37907 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
37908 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
37909 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
37910 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
37911 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
37912 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
37913
37914 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
37915
37916 * stdlib/setenv.c (__add_to_environ):
37917 Dump core quickly if setenv (..., NULL, ...) is called.
37918 This time, do it the right way, and pacify GCC with a pragma.
37919
37920 2015-04-17 Roland McGrath <roland@hack.frob.com>
37921
37922 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
37923 IMAP->l_prev cannot be null, and #if out the code for the contrary
37924 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
37925 believe that NS (&_dl_ns[NSID]) could point outside the array.
37926
37927 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
37928 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
37929 before using NSID as an index.
37930
37931 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
37932
37933 [BZ #17825]
37934 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
37935 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
37936 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
37937
37938 2015-04-17 Roland McGrath <roland@hack.frob.com>
37939
37940 Add preliminary port to Google Native Client on ARM.
37941 * abi-tags (.*-.*-nacl.*): New entry.
37942 * sysdeps/arm/nacl: New directory.
37943 * sysdeps/nacl: New directory.
37944
37945 2015-04-16 David S. Miller <davem@davemloft.net>
37946
37947 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
37948 lowlevellock-futex.h
37949
37950 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
37951
37952 * sysdeps/tile/configure.ac: New file.
37953 * sysdeps/tile/configure: Regenerated.
37954
37955 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37956
37957 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
37958 conditionals for weak_alias and libc_hidden_weak.
37959 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
37960 libc_hidden_weak and weak_alias.
37961 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
37962 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
37963 and weak_alias for static one.
37964
37965 2015-04-15 David S. Miller <davem@davemloft.net>
37966
37967 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
37968
37969 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
37970
37971 [BZ #18206]
37972 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
37973 Use signed comparision instead of substraction to avoid
37974 overflow bug.
37975 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
37976 Take the sign of ret.
37977 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
37978 Do not expect precise return values. Only the sign matters.
37979 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
37980 * wcsmbs/test-wcsncmp.c: New File.
37981 * string/test-strncmp.c: Add wcsncmp support.
37982
37983 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
37984
37985 [BZ #6792]
37986 * math/w_log1p.c: New file.
37987 * math/w_log1pf.c: Likewise.
37988 * math/w_log1pl.c: Likewise.
37989 * math/Makefile (libm-calls): Add w_log1p.
37990 * math/s_log1pl.c (log1pl): Remove weak_alias.
37991 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
37992 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
37993 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
37994 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
37995 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
37996 [NO_LONG_DOUBLE] (log1pl): Likewise.
37997 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
37998 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
37999 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
38000 (log1p): Remove long_double_symbol.
38001 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
38002 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
38003 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
38004 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
38005 remove weak_alias for corresponding log1p function.
38006 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
38007 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
38008 * sysdeps/ia64/fpu/w_log1p.c: New file.
38009 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
38010 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
38011 * math/libm-test.inc (log1p_test_data): Add errno expectations.
38012
38013 2015-04-10 Joseph Myers <joseph@codesourcery.com>
38014
38015 [BZ #18247]
38016 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
38017 decimal exponent by 1.
38018 * stdlib/tst-strtod-round-data: Add more tests.
38019 * stdlib/tst-strtod-round.c (tests): Regenerated.
38020
38021 2015-04-09 Joseph Myers <joseph@codesourcery.com>
38022
38023 * math/auto-libm-test-in: Add more tests of clog and clog10.
38024 * math/auto-libm-test-out: Regenerated.
38025 * sysdeps/i386/fpu/libm-test-ulps: Update.
38026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38027
38028 2015-04-09 Roland McGrath <roland@hack.frob.com>
38029
38030 * Makeconfig (module-cppflags): Exclude all .v.i files.
38031 (skip-module-cppflags): Variable removed.
38032
38033 * configure.ac (libc_config_ok): Initialize before reading
38034 preconfigure scripts, not after.
38035 * configure: Regenerated.
38036
38037 * test-skeleton.c (TIMEOUT): Move #define to top level.
38038 (main): Grok environment variable TEST_DIRECT. If set, print
38039 test expectation details into that file and then behave as if
38040 given --direct.
38041
38042 2015-04-09 Florian Weimer <fweimer@redhat.com>
38043
38044 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
38045 warning on 32-bit.
38046
38047 2015-04-08 David S. Miller <davem@davemloft.net>
38048
38049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38050
38051 2015-04-08 Joseph Myers <joseph@codesourcery.com>
38052
38053 * math/auto-libm-test-in: Add more tests of atanh.
38054 * math/auto-libm-test-out: Regenerated.
38055 * sysdeps/i386/fpu/libm-test-ulps: Update.
38056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38057
38058 * math/auto-libm-test-in: Add more tests of atan.
38059 * math/auto-libm-test-out: Regenerated.
38060 * sysdeps/i386/fpu/libm-test-ulps: Update.
38061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38062
38063 2015-04-08 Florian Weimer <fweimer@redhat.com>
38064
38065 * elf/pldd.c (main): Rewrite to use struct
38066 scratch_buffer instead of extend_alloca.
38067 * elf/pldd-xx.c (find_maps): Likewise.
38068 * grp/initgroups.c: Include <scratch_buffer.h> instead of
38069 <alloca.h>.
38070 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
38071 scratch_buffer instead of extend_alloca.
38072 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
38073 grp/compat-initgroups.c.
38074 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
38075 Rewrite to use struct scratch_buffer instead of extend_alloca.
38076 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
38077 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38078
38079 2015-04-08 Joseph Myers <joseph@codesourcery.com>
38080
38081 * math/auto-libm-test-in: Add more tests of cbrt.
38082 * math/auto-libm-test-out: Regenerated.
38083 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38084
38085 * math/auto-libm-test-in: Add more tests of cabs.
38086 * math/auto-libm-test-out: Regenerated.
38087 * sysdeps/i386/fpu/libm-test-ulps: Update.
38088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38089
38090 [BZ #18210]
38091 [BZ #18211]
38092 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
38093 (__ieee754_atan2): Set FE_TONEAREST mode for internal
38094 computations.
38095 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
38096 clog10.
38097 * math/auto-libm-test-out: Regenerated.
38098 * sysdeps/i386/fpu/libm-test-ulps: Update.
38099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38100
38101 [BZ #18197]
38102 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
38103 (atan): Set FE_TONEAREST mode for internal computations.
38104 * math/auto-libm-test-in: Add more tests of atan.
38105 * math/auto-libm-test-out: Regenerated.
38106
38107 2015-04-07 James Cowgill <james410@cowgill.org.uk>
38108
38109 [BZ #17930]
38110 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
38111
38112 2015-04-07 Florian Weimer <fweimer@redhat.com>
38113
38114 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
38115
38116 2015-04-07 Florian Weimer <fweimer@redhat.com>
38117
38118 * include/scratch_buffer.h: New file.
38119 * malloc/scratch_buffer_grow.c: Likewise.
38120 * malloc/scratch_buffer_grow_preserve.c: Likewise.
38121 * malloc/scratch_buffer_set_array_size.c: Likewise.
38122 * malloc/tst-scratch_buffer.c: Likewise.
38123 * malloc/Makefile (routines): Add scratch_buffer_grow.
38124 (tests): Add test case.
38125 * malloc/Versions (GLIBC_PRIVATE): Export
38126 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
38127 __libc_scratch_buffer_set_array_size.
38128
38129 2015-04-06 Richard Henderson <rth@redhat.com>
38130
38131 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
38132 * sysdeps/alpha/fpu/libm-test-ulps: Update.
38133
38134 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
38135 unsigned int before printing.
38136
38137 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38138
38139 [BZ #17596]
38140 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
38141 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38142
38143 2015-04-02 Florian Weimer <fweimer@redhat.com>
38144
38145 * include/libc-internal.h (libc_max_align_t): Define.
38146
38147 2015-04-02 Andreas Schwab <schwab@suse.de>
38148
38149 [BZ #16850]
38150 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
38151
38152 2015-04-02 Mel Gorman <mgorman@suse.de>
38153
38154 [BZ #17195]
38155 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
38156 as well as the main arena.
38157
38158 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38159
38160 [BZ #18185]
38161 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
38162 sharing L2 cache to 2 for Silvermont/Knights Landing.
38163
38164 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38165
38166 [BZ #17711]
38167 * config.make.in (have-protected-data): New.
38168 * configure.ac: Check linker support for protected data symbol.
38169 * configure: Regenerated.
38170 * elf/Makefile (modules-names): Add tst-protected1moda and
38171 tst-protected1modb if $(have-protected-data) is yes.
38172 (tests): Add tst-protected1a and tst-protected1b if
38173 $(have-protected-data) is yes.
38174 ($(objpfx)tst-protected1a): New.
38175 ($(objpfx)tst-protected1b): Likewise.
38176 (tst-protected1modb.so-no-z-defs): Likewise.
38177 * elf/tst-protected1a.c: New file.
38178 * elf/tst-protected1b.c: Likewise.
38179 * elf/tst-protected1mod.h: Likewise.
38180 * elf/tst-protected1moda.c: Likewise.
38181 * elf/tst-protected1modb.c: Likewise.
38182
38183 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38184
38185 [BZ #17711]
38186 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
38187 indicates it is called from do_lookup_x on relocation against
38188 protected data, skip the data definion in the executable from
38189 copy reloc.
38190 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
38191 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
38192 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
38193 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
38194 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
38195 otherwise to 0.
38196 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38197 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
38198 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
38199 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38200 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
38201 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
38202
38203 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
38204
38205 * sysdeps/nptl/pthread.h: Remove duplicate definition of
38206 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
38207
38208 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
38209
38210 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
38211 THREAD_SETMEM_NC.
38212 * sysdeps/x86_64/nptl/tls.h: Ditto.
38213
38214 2015-03-27 Roland McGrath <roland@hack.frob.com>
38215
38216 * dlfcn/tststatic.c (main): Converted to ...
38217 (do_test): ... this.
38218 (TEST_FUNCTION): New macro.
38219 Include test-skeleton.c.
38220
38221 2015-03-26 Alan Modra <amodra@gmail.com>
38222
38223 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
38224 Don't segfault if ifunc resolver returns a NULL. Do set plt to
38225 zero for undefined weak.
38226 (elf_machine_plt_conflict): Similarly.
38227
38228 2015-03-25 Joseph Myers <joseph@codesourcery.com>
38229
38230 * math/auto-libm-test-in: Add more tests of acosh, asinh and
38231 atanh.
38232 * math/auto-libm-test-out: Regenerated.
38233 * sysdeps/i386/fpu/libm-test-ulps: Update.
38234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38235
38236 * math/auto-libm-test-in: Add another test of asin.
38237 * math/auto-libm-test-out: Regenerated.
38238 * sysdeps/i386/fpu/libm-test-ulps: Update.
38239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38240
38241 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
38242 Remove macro.
38243 (LLL_EBX_REG): Likewise.
38244 (LLL_ENTER_KERNEL): Likewise.
38245
38246 * math/auto-libm-test-in: Add more tests of asin.
38247 * math/auto-libm-test-out: Regenerated.
38248 * sysdeps/i386/fpu/libm-test-ulps: Update.
38249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38250
38251 [BZ #18138]
38252 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
38253 libc_do_syscall_args): New structure.
38254 (INTERNAL_SYSCALL_MAIN_0): New macro.
38255 (INTERNAL_SYSCALL_MAIN_1): Likewise.
38256 (INTERNAL_SYSCALL_MAIN_2): Likewise.
38257 (INTERNAL_SYSCALL_MAIN_3): Likewise.
38258 (INTERNAL_SYSCALL_MAIN_4): Likewise.
38259 (INTERNAL_SYSCALL_MAIN_5): Likewise.
38260 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
38261 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
38262 Replace conditional definitions by conditional definitions of ....
38263 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
38264 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
38265 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
38266 (libpthread-sysdep_routines): Add libc-do-syscall.
38267 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
38268 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
38269 to __NR_futex not 240.
38270
38271 2015-03-25 Alan Modra <amodra@gmail.com>
38272
38273 * NEWS: Advertise TLS optimization.
38274 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
38275 (DT_PPC_NUM): Increment.
38276 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
38277 (CHECK_STATIC_TLS): Use here.
38278 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
38279 TLS descriptors.
38280 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38281 * sysdeps/powerpc/dl-tls.c: New file.
38282 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
38283 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
38284 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
38285 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
38286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
38287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
38288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
38289
38290 2015-03-25 Alan Modra <amodra@gmail.com>
38291
38292 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
38293 for overlapping .opd entries" to "support...".
38294 * sysdeps/powerpc/powerpc64/configure: Regenerate
38295
38296 2015-03-25 Joseph Myers <joseph@codesourcery.com>
38297
38298 * math/auto-libm-test-in: Add more tests of acos.
38299 * math/auto-libm-test-out: Regenerated.
38300 * sysdeps/i386/fpu/libm-test-ulps: Update.
38301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38302
38303 * math/auto-libm-test-in: Add more tests of expm1.
38304 * math/auto-libm-test-out: Regenerated.
38305 * sysdeps/i386/fpu/libm-test-ulps: Update.
38306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38307
38308 2015-03-24 Joseph Myers <joseph@codesourcery.com>
38309
38310 * math/auto-libm-test-in: Add more tests of cosh and sinh.
38311 * math/auto-libm-test-out: Regenerated.
38312 * sysdeps/i386/fpu/libm-test-ulps: Update.
38313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38314
38315 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38317
38318 * math/auto-libm-test-in: Add more tests of log2.
38319 * math/auto-libm-test-out: Regenerated.
38320 * sysdeps/i386/fpu/libm-test-ulps: Update.
38321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38322
38323 2015-03-23 Roland McGrath <roland@hack.frob.com>
38324
38325 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
38326 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
38327 _IO_IS_APPENDING bit in READ_WRITE instead.
38328
38329 2015-03-23 Florian Weimer <fweimer@redhat.com>
38330
38331 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
38332 (__determine_cpumask_size): Replace extend_alloca with a
38333 variable-length array. Do not treat res == 0 as an error.
38334
38335 2015-03-23 Florian Weimer <fweimer@redhat.com>
38336
38337 [BZ #18100]
38338 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
38339 and integer overflow.
38340 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
38341 (main): Add integer overflow tests.
38342 * manual/pattern.texi (Calling Wordexp): Document additional use
38343 for WRDE_SYNTAX.
38344
38345 2015-03-23 Alan Modra <amodra@gmail.com>
38346
38347 * config.h.in: Remove HAVE_ASM_PPC_REL16.
38348 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
38349 and false branch of conditional.
38350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38351 Likewise.
38352
38353 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
38354
38355 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
38356 libc-modules.h
38357 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
38358 unused declaration of _hurd_intr_rpc_msg_in_trap.
38359 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
38360 defined instead of whether it is non-zero.
38361 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
38362 input constraint instead of both input and output constraint. Use ecx
38363 clobber instead of %ecx.
38364 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
38365 mutex_unlock): Use a statement expression instead of an expression list.
38366 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
38367 type to vm_size_t instead of vm_address_t.
38368 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
38369 defined instead of whether it is non-zero.
38370 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
38371 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
38372 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
38373 comparisons with mapaddr.
38374 * nscd/nscd-client.h: Include <time.h>.
38375 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
38376 9th parameter to __vm_region instead of int.
38377 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
38378 * scripts/check-local-headers.sh (exclude): Add device/,
38379 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
38380 cthreads.h.
38381
38382 2015-03-19 Roland McGrath <roland@hack.frob.com>
38383
38384 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
38385 to account for alignment padding.
38386 * sysdeps/arm/memmove.S: Likewise.
38387
38388 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
38389
38390 * sysdeps/unix/sysv/linux/generic/README: New file.
38391
38392 2015-03-18 Joseph Myers <joseph@codesourcery.com>
38393
38394 [BZ #18138]
38395 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
38396 (futex_abstimed_wait)
38397 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
38398 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
38399 of lll_futex_timed_wait.
38400
38401 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
38402
38403 [BZ #17542]
38404 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
38405
38406 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
38407
38408 [BZ #17090]
38409 [BZ #17620]
38410 [BZ #17621]
38411 [BZ #17628]
38412 * NEWS: Update.
38413 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
38414 entries with Static TLS too. Skip entries past the end of the
38415 allocated DTV, from Alan Modra.
38416 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
38417 Static TLS DTV entry set up from...
38418 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
38419 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
38420 * nptl/allocatestack.c (init_one_static_tls): ... and here...
38421 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
38422 for Static TLS.
38423 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
38424 that the slot we find is associated with the given map before
38425 using its generation count.
38426 * nptl_db/db_info.c: Include ldsodefs.h.
38427 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
38428 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
38429 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
38430 (link_map::l_tls_offset): New struct field.
38431 (dtv_t::counter): Likewise.
38432 (rtld_global): New struct.
38433 (_rtld_global): New rtld variable.
38434 (dl_tls_dtv_slotinfo_list): New rtld global field.
38435 (dtv_slotinfo_list): New struct.
38436 (dtv_slotinfo): Likewise.
38437 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
38438 (td_lookup): Rename to...
38439 (td_mod_lookup): ... this. Use new mod parameter instead of
38440 LIBPTHREAD_SO.
38441 * nptl_db/td_thr_tlsbase.c: Include link.h.
38442 (dtv_slotinfo_list, dtv_slotinfo): New functions.
38443 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
38444 addresses even if the DTV is out of date or missing them.
38445 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
38446 index zero-length arrays.
38447 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
38448 (td_lookup): Make it a macro implemented in terms of...
38449 (td_mod_lookup): ... this declaration.
38450 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
38451 (DB_MAIN_VARIABLE): Likewise.
38452
38453 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
38454
38455 [BZ #18134]
38456 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
38457
38458 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
38459
38460 * stdlib/setenv.c (__add_to_environ): Revert previous change.
38461
38462 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
38463
38464 [BZ #18128]
38465 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
38466 (atomic_add, atomic_increment_and_test)
38467 (atomic_decrement_and_test): Fix 64-bit arithmetic.
38468
38469 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
38470
38471 * stdlib/setenv.c (__add_to_environ):
38472 Dump core quickly if setenv (..., NULL, ...) is called.
38473
38474 2015-03-13 Roland McGrath <roland@hack.frob.com>
38475
38476 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
38477 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
38478 all the necessary asm magic in one place.
38479 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
38480 using those.
38481
38482 2015-03-13 Carlos O'Donell <carlos@redhat.com>
38483
38484 [BZ #14906]
38485 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
38486 traced file mtime. Use consistent log message.
38487 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
38488 (register_traced_file): Call install_watches. Always set mtime.
38489 (invalidate_cache): Iterate over all trace files. Call install_watches.
38490 (inotify_check_files): Don't inline. Handle watching parent
38491 directories and configuration file movement in and out.
38492 (handle_inotify_events): New function.
38493 (main_loop_poll): Call handle_inotify_events.
38494 (main_loop_epoll): Likewise.
38495 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
38496 (struct traced_file): Use array of inotify fds. Add parent directory,
38497 and basename.
38498 (struct database_dyn): Remove unused file_mtime.
38499 (init_traced_file): New inline function.
38500 (define_traced_file): New macro.
38501 * nss/nss_db/db-init.c: Use define_traced_file.
38502 (_nss_db_init): Use init_traced_file.
38503 * nss/nss_files/files-init.c: Use define_traced_file.
38504 (_nss_files_init): Use init_traced_file.
38505
38506 2015-03-12 Joseph Myers <joseph@codesourcery.com>
38507
38508 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
38509 [_LIBC]: Do not include <stdlib.h>.
38510 [!_LIBC] (abort): Remove declaration.
38511 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
38512 _FP_STATIC_ASSERT instead of conditionally calling abort.
38513 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
38514 (_FP_EXTEND_CNAN): Likewise.
38515 (FP_TRUNC): Likewise.
38516 (__FP_CLZ): Likewise.
38517 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
38518
38519 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
38520
38521 * manual/string.texi (XPG basename): Fix prototype.
38522
38523 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
38524
38525 [BZ #18080]
38526 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
38527 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38528 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
38529 (__setcontext): Likewise.
38530 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
38531 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38532 Call rt_sigprocmask syscall one time to set new signal mask
38533 and retrieve the current signal mask instead of two calls.
38534 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
38535 (__swapcontext): Likewise.
38536 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
38537 * stdlib/tst-setcontext2.c: New file.
38538
38539 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
38540
38541 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38542
38543 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
38544
38545 [BZ #18093]
38546 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
38547 the wrong size.
38548
38549 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
38550
38551 [BZ #18043]
38552 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
38553
38554 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
38555
38556 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
38557 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
38558 Remove define.
38559 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
38560 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
38561 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
38562 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
38563 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
38564 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
38565 define.
38566 * nptl_db/td_symbol_list.c (td_lookup): Remove
38567 HAVE_ASM_GLOBAL_DOT_NAME code.
38568 * sysdeps/powerpc/powerpc64/configure.ac: Remove
38569 HAVE_ASM_GLOBAL_DOT_NAME check.
38570 * sysdeps/powerpc/powerpc64/configure: Regenerate.
38571 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
38572 (DOT_LABEL): Remove define.
38573 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
38574 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
38575 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
38576 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
38577 (__TLS_GET_ADDR): Likewise.
38578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
38579 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
38580
38581 2015-03-11 Carlos O'Donell <carlos@redhat.com>
38582
38583 [BZ #18111]
38584 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
38585 (_FPU_SETCW): Initialize cw from fpsr before storing.
38586 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
38587 (fesetexceptflag): Rewrite using fpu_control.h.
38588 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
38589
38590 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
38591
38592 [BZ #18110]
38593 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
38594 asms.
38595 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
38596
38597 2015-03-11 Joseph Myers <joseph@codesourcery.com>
38598
38599 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
38600 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
38601 abort.
38602 (_FP_FMA): Likewise.
38603 (_FP_DIV): Likewise.
38604
38605 2015-03-10 Roland McGrath <roland@hack.frob.com>
38606
38607 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
38608 with 0 in that case.
38609 * Makefile (summarize-tests): New canned sequence, factored out of
38610 commands for targets tests and xtests. Display summary lines that
38611 don't start with PASS: or XFAIL: rather than ones that do start with
38612 ERROR: or FAIL:. Make the commands fail if any summary lines fail
38613 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
38614 do start with ERROR: or FAIL:.
38615 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
38616 (except for [$(build-shared) = yes]).
38617 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
38618 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
38619 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
38620 * nptl/Makefile: Revert 2015-03-04 changes.
38621 [$(CXX) empty] (tests-unsupported): New variable.
38622 * debug/Makefile: Likewise.
38623
38624 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
38625 gnulib file. Replace __attribute with __attribute__ throughout.
38626
38627 2015-03-10 Carlos O'Donell <carlos@redhat.com>
38628
38629 * sysdeps/hppa/fpu/libm-test-ulps: Update.
38630
38631 2015-03-10 Joseph Myers <joseph@codesourcery.com>
38632
38633 [BZ #18104]
38634 * math/auto-libm-test-in: Add another test of pow.
38635 * math/auto-libm-test-out: Regenerated.
38636
38637 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38638
38639 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
38640 $(config-cflags-nofma).
38641
38642 2015-03-10 Joseph Myers <joseph@codesourcery.com>
38643
38644 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
38645 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
38646 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
38647 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
38648 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
38649 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
38650 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
38651 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
38652 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
38653 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
38654 Add comment on closing #endif.
38655
38656 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38657
38658 * posix/wordexp.c (CHAR_IN_SET): New macro.
38659 (parse_param): Use it.
38660
38661 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38662
38663 * sysdeps/powerpc/fpu/libm-test-ulps: update.
38664
38665 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38666
38667 [BZ #18043]
38668 * posix/wordexp.c (parse_param): Fix buffer overflow.
38669 * posix/wordexp-test.c (test_case): Add test case.
38670
38671 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38672
38673 [BZ #18042]
38674 * posix/wordexp.c (parse_backtick): Fix off-by-one.
38675 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
38676
38677 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38678
38679 [BZ #18043]
38680 * posix/wordexp-test.c (test_case): Add test for BZ #18043
38681 (do_bz18043): Delete.
38682 (at_page_end): New.
38683 (testit): Refactor to have words at the edge of unreadable page.
38684
38685 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
38686
38687 [BZ #16734]
38688 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
38689 Cleanup read-only streams as well.
38690 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
38691
38692 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
38693
38694 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
38695 <bits/libc-lockP.h>
38696
38697 2015-03-07 Joseph Myers <joseph@codesourcery.com>
38698
38699 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
38700 on [__KERNEL__].
38701 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
38702 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
38703 * soft-fp/op-common.h (_FP_DECL): Likewise.
38704
38705 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
38706
38707 * elf/ifuncdep2.c (global): Replace
38708 __attribute__((visibility("protected"))) with
38709 asm (".protected global").
38710 * elf/ifuncmod1.c (global): Likewise.
38711 * elf/ifuncmod5.c (global): Likewise.
38712
38713 2015-03-06 Joseph Myers <joseph@codesourcery.com>
38714
38715 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
38716 <asm/sfp-machine.h> instead of <sfp-machine.h>.
38717
38718 2015-03-06 Roland McGrath <roland@hack.frob.com>
38719
38720 * manual/install.texi (Configuring and compiling):
38721 Document test-wrapper-env-only.
38722 * INSTALL: Regenerated.
38723
38724 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38725
38726 [BZ #18043]
38727 * posix/wordexp.c (parse_param): Fix buffer overflow.
38728 * posix/wordexp-test.c (do_bz18043): Add test case.
38729
38730 2015-03-06 Vincent Bernat <vincent@bernat.im>
38731
38732 * time/tst-strptime2.c (do_test): Ensure failing tests are
38733 reported correctly.
38734 * time/tst-strptime3.c (do_test): Likewise.
38735
38736 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
38737
38738 Fix aio_error thread-safety.
38739 * sysdeps/pthread/aio_error.c: New file
38740 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
38741 synchronization.
38742
38743 2015-03-06 Florian Weimer <fweimer@redhat.com>
38744
38745 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
38746 (group_number, vfprintf): Use it.
38747 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
38748 (JUMP, REF): Use it.
38749 (WORK_BUFFER_SIZE): New enum constant.
38750 (process_arg, vfprintf): Use it.
38751
38752 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
38753
38754 * manual/errno.texi (Error Messages): Complete example function
38755 by adding missing #define.
38756 (program_invocation_name): Add statement indicating GNU
38757 extension and reference which header file declares the variable.
38758 (program_invocation_short_name): Likewise.
38759
38760 2015-03-06 Mike Frysinger <vapier@gentoo.org>
38761
38762 * manual/errno.texi (Error Messages): Delete strerror ISO C89
38763 compatibility note.
38764
38765 2015-03-05 Roland McGrath <roland@hack.frob.com>
38766
38767 * Makeconfig (test-wrapper-env-only): New variable.
38768 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
38769 then use that with $(test-wrapper-env-only) rather than using
38770 $(test-wrapper-env) $(run-program-env) $($*-ENV).
38771
38772 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
38773
38774 [BZ #18082]
38775 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
38776 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
38777 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
38778 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
38779 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
38780 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
38781 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
38782 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
38783 Likewise.
38784 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
38785 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
38786 Likewise.
38787 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
38788 Likewise.
38789 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
38790 Likewise.
38791 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
38792 Likewise.
38793 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
38794 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
38795 Likewise.
38796 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
38797 Likewise.
38798 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
38799 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
38800
38801 2015-03-04 Roland McGrath <roland@hack.frob.com>
38802
38803 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
38804 (ETH_ALEN): New macro.
38805 (struct ether_addr): Use it for length of ether_addr_octet.
38806
38807 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
38808 (setdb): Don't call __nss_configure_lookup for "rpc".
38809 (do_test): Don't call test_rpc.
38810 (output_rpcent, test_rpc): Functions moved ...
38811 * sunrpc/test-rpcent.c: ... to this new file.
38812 * sunrpc/Makefile (tests): Add it.
38813
38814 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
38815 __xpg_sigpause.
38816 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
38817 * nptl/tst-signal6.c: Likewise.
38818 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
38819 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
38820
38821 * configure.ac (libc_cv_cxx_link_ok): New check.
38822 Reset CXX to empty if it fails to link.
38823 * configure: Regenerated.
38824 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
38825 bug-atexit3-lib only if $(CXX) is nonempty.
38826 * nptl/Makefile (tests): Likewise for tst-cancel24.
38827 (tests, tests-static): Likewise for tst-cancel24-static.
38828 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
38829 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
38830 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
38831 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
38832
38833 2015-03-04 Andreas Schwab <schwab@suse.de>
38834
38835 [BZ #17631]
38836 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
38837 for non-GCC compilers.
38838 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
38839 Likewise.
38840
38841 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
38842
38843 [BZ #17776]
38844 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
38845 integer before bitwise and assembly operations.
38846 (feclearexcept): Likewise.
38847 * math/test-fenvinline.c: New file.
38848 * math/Makefile: Add test-fenvinline test.
38849
38850 2015-03-03 Alan Modra <amodra@gmail.com>
38851
38852 [BZ #16512]
38853 * scripts/localplt.awk: Strip off symbol version.
38854 * NEWS: Mention bug fix.
38855
38856 2015-03-02 Roland McGrath <roland@hack.frob.com>
38857
38858 * sysdeps/pthread/timer_routines.c
38859 (timer_free_list, thread_free_list, thread_active_list): Make static.
38860
38861 2015-03-02 Joseph Myers <joseph@codesourcery.com>
38862
38863 [BZ #17779]
38864 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
38865 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
38866 Undefine.
38867 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38868 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
38869 Likewise.
38870 * sysdeps/unix/sysv/linux/sh/kernel-features.h
38871 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
38872 Likewise.
38873
38874 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
38875
38876 [BZ #18036]
38877 * posix/fnmatch_loop.c (END): Detect invalid pattern.
38878 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
38879
38880 2015-03-02 Andreas Schwab <schwab@suse.de>
38881
38882 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
38883 variable name.
38884
38885 2015-03-02 Florian Weimer <fweimer@redhat.com>
38886
38887 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
38888 Return error status.
38889
38890 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
38891
38892 [BZ #15969]
38893 * locale/findlocale.c (_nl_find_locale): Introduce const
38894 version of loc_name and drop unsafe type casts.
38895
38896 2015-02-27 Roland McGrath <roland@hack.frob.com>
38897
38898 * dlfcn/tststatic2.c (main): Converted to ...
38899 (do_test): ... this.
38900 (TEST_FUNCTION): New macro.
38901 Include test-skeleton.c.
38902
38903 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
38904
38905 [BZ #17711]
38906 * elf/Makefile (tests): Add vismain only if PIE is enabled.
38907 (tests-pie): Add vismain.
38908 (CFLAGS-vismain.c): New.
38909 * elf/vismain.c: Add comments for PIE requirement.
38910
38911 2015-02-27 Joseph Myers <joseph@codesourcery.com>
38912
38913 [BZ #18046]
38914 [BZ #18047]
38915 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
38916 0x1p-56L as threshold for just returning the argument.
38917 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
38918 0x1p-32L as threshold for just returning the argument.
38919 * math/auto-libm-test-in: Add more tests of atanh.
38920 * math/auto-libm-test-out: Regenerated.
38921 * sysdeps/i386/fpu/libm-test-ulps: Update.
38922 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
38923
38924 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
38925
38926 * string/bcopy.c (bcopy): Call memmove for performance.
38927
38928 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
38929
38930 * string/bzero.c (__bzero): Call memset for performance.
38931
38932 2015-02-27 John David Anglin <dave.anglin@bell.net>
38933
38934 [BZ #18068]
38935 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
38936 to 00100000.
38937
38938 2015-02-27 Joseph Myers <joseph@codesourcery.com>
38939
38940 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
38941
38942 2015-02-26 Joseph Myers <joseph@codesourcery.com>
38943
38944 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
38945 (__kernel_standard): Use CSTR macro when setting exc.name.
38946 * sysdeps/ieee754/Makefile [$(subdir) = math]
38947 (CFLAGS-k_standard.c): Remove variable.
38948
38949 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
38950 setting p and q from "else if" to "else".
38951 (qzero): Likewise.
38952 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
38953 (qone): Likewise.
38954 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
38955 (qzerof): Likewise.
38956 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
38957 (qonef): Likewise.
38958 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
38959 (qzero): Likewise.
38960 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
38961 (qone): Likewise.
38962
38963 [BZ #18038]
38964 [BZ #18039]
38965 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
38966 return pi/2 for arguments below 0x1p-113L.
38967 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
38968 return pi/2 for arguments below 0x1p-106L.
38969 * math/auto-libm-test-in: Add more tests of acos.
38970 * math/auto-libm-test-out: Regenerated.
38971
38972 [BZ #16351]
38973 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
38974 (MO): New macro.
38975 (__ieee754_asin): Force underflow exception for results with small
38976 absolute value.
38977 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
38978 (MO): New macro.
38979 (__ieee754_asinf): Force underflow exception for results with
38980 small absolute value.
38981 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
38982 (__ieee754_asin): Force underflow exception for results with small
38983 absolute value.
38984 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
38985 (__ieee754_asinf): Force underflow exception for results with
38986 small absolute value.
38987 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
38988 (__ieee754_asinl): Force underflow exception for results with
38989 small absolute value.
38990 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
38991 (__ieee754_asinl): Force underflow exception for results with
38992 small absolute value.
38993 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
38994 (__ieee754_asinl): Force underflow exception for results with
38995 small absolute value.
38996 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
38997 Include <math.h>.
38998 * math/auto-libm-test-in: Do not mark underflow exceptions as
38999 possibly missing for bug 16351.
39000 * math/auto-libm-test-out: Regenerated.
39001
39002 [BZ #18030]
39003 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
39004 of power of 2 down when low part has opposite sign.
39005 * math/libm-test.inc (logb_test_data): Add more tests.
39006
39007 2015-02-26 Andreas Schwab <schwab@suse.de>
39008
39009 [BZ #18032]
39010 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
39011 over collating symbol inside a bracket expression. Minor cleanup.
39012 * posix/tst-fnmatch3.c (do_test): Add test case.
39013
39014 2015-02-26 Joseph Myers <joseph@codesourcery.com>
39015
39016 [BZ #18029]
39017 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
39018 Adjust exponent of power of 2 down when low part has opposite
39019 sign.
39020 * math/libm-test.inc (ilogb_test_data): Add more tests.
39021
39022 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
39023
39024 [BZ #15969]
39025 * locale/findlocale.c (_nl_find_locale): Fix constness error in
39026 the previous change.
39027
39028 [BZ #15969]
39029 * locale/findlocale.c (_nl_find_locale): Retry archive search
39030 after alias expansion.
39031
39032 2015-02-25 Roland McGrath <roland@hack.frob.com>
39033
39034 * iconv/tst-iconv3.c (main): Converted to ...
39035 (do_test): ... this.
39036 (TEST_FUNCTION): New macro.
39037 Include test-skeleton.c.
39038
39039 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
39040 (convert): Make function static.
39041 (test_unalign): Likewise. Add const to argument pointee types.
39042 (main): Replace with static function do_test.
39043 Print "Succeeded." only if RET is zero.
39044 (TEST_FUNCTION): New macro.
39045 Include test-skeleton.c.
39046
39047 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
39048 returns a null pointer.
39049
39050 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39051
39052 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
39053 to __memcpy_ppc only for static builds.
39054
39055 2015-02-25 Joseph Myers <joseph@codesourcery.com>
39056
39057 [BZ #18020]
39058 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
39059 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
39060 * math/auto-libm-test-in: Add more tests of asinh.
39061 * math/auto-libm-test-out: Regenerated.
39062 * sysdeps/i386/fpu/libm-test-ulps: Update.
39063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39064
39065 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
39066
39067 [BZ #15850]
39068 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
39069 and ip6_mtuinfo definitions here.
39070 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
39071 in this define too. Update comment.
39072
39073 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
39074
39075 * elf/sprof.c (load_shobj): Tweak error message to match others.
39076
39077 2015-02-24 Kevin Easton <kevin@guarana.org>
39078
39079 [BZ #16145] (partial fix)
39080 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
39081 to reduce lock contention.
39082
39083 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
39084
39085 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
39086 (struct timex): Update time comment.
39087 (ADJ_SETOFFSET): Define.
39088
39089 2015-02-24 Joseph Myers <joseph@codesourcery.com>
39090
39091 [BZ #18019]
39092 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39093 2**56 not 2**28 as threshold for log (2x) formula.
39094 * math/auto-libm-test-in: Add more tests of acosh.
39095 * math/auto-libm-test-out: Regenerated.
39096 * sysdeps/i386/fpu/libm-test-ulps: Update.
39097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39098
39099 2015-02-24 Mike Frysinger <vapier@gentoo.org>
39100
39101 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
39102 parenthesis around the buf assignment.
39103 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
39104
39105 2015-02-24 Joseph Myers <joseph@codesourcery.com>
39106
39107 [BZ #16783]
39108 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
39109 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
39110 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
39111 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39112 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39113 * math/libm-test.inc (scalb_test_data): Add more tests.
39114
39115 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
39116
39117 [BZ #17916]
39118 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
39119 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
39120
39121 2015-02-24 Eric Rannaud <e@nanocritical.com>
39122
39123 [BZ #17523]
39124 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
39125 * io/bits/fcntl2.h (open): Use it.
39126 (openat): Likewise.
39127 * io/open.c (__libc_open): Likewise.
39128 * io/open64.c (__libc_open64): Likewise.
39129 * io/open64_2.c (__open64_2): Likewise.
39130 * io/open_2.c (__open_2): Likewise.
39131 * io/openat.c (__openat): Likewise.
39132 * io/openat64.c (__openat64): Likewise.
39133 * io/openat64_2.c (__openat64_2): Likewise.
39134 * io/openat_2.c (__openat_2): Likewise.
39135 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
39136 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
39137 * sysdeps/posix/open64.c (__libc_open64): Likewise.
39138 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
39139 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
39140 (__open_nocancel): Likewise.
39141 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
39142 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
39143 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
39144
39145 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
39146
39147 [BZ #14841]
39148 * resolv/gethnamaddr.c (getanswer): Skip logging if
39149 RES_USE_DNSSEC is set.
39150 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
39151
39152 2015-02-24 Mike Frysinger <vapier@gentoo.org>
39153
39154 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
39155
39156 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
39157
39158 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
39159 201304L, for Unicode 7.
39160
39161 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
39162
39163 [BZ #17836]
39164 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
39165 shared library. Add gmon-start.os otherwise.
39166 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
39167 $(objpfx)gmon-start.os if builing shared library.
39168 ($(objpfx)g$(static-start-installed-name)): Likewise.
39169
39170 2015-02-23 Andreas Schwab <schwab@suse.de>
39171
39172 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
39173
39174 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
39175
39176 [BZ #17269]
39177 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
39178 (enlarge_userbuf): Likewise.
39179
39180 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
39181
39182 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
39183 * math/atest-exp.c (TIMEOUT): Adjust to 200.
39184 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
39185 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
39186
39187 2015-02-20 Joseph Myers <joseph@codesourcery.com>
39188
39189 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
39190 expression inside statement expression.
39191
39192 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
39193
39194 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
39195 <sysdeps/nptl/lowlevellock.h> and remove macros and
39196 functions that are now defined there.
39197 (SYS_futex): Remove.
39198 (lll_compare_and_swap): Remove.
39199 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
39200
39201 2015-02-19 Joseph Myers <joseph@codesourcery.com>
39202
39203 [BZ #17999]
39204 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
39205 instead of scandirat.
39206 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
39207 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
39208 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
39209 __scandirat.
39210 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
39211 (__scandirat): Declare. Use libc_hidden_proto.
39212 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
39213 Remove variable.
39214 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
39215
39216 2015-02-18 Joseph Myers <joseph@codesourcery.com>
39217
39218 [BZ #15319]
39219 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
39220 (MO): New macro.
39221 (__ieee754_atan2): For results with small absolute value, force
39222 underflow exception and remove excess range and precision from
39223 return value.
39224 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
39225 (MO): New macro.
39226 (__ieee754_atan2f): For results with small absolute value, force
39227 underflow exception and remove excess range and precision from
39228 return value.
39229 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
39230 (MO): New macro.
39231 (__atan): For results with small absolute value, force underflow
39232 exception and remove excess range and precision from return value.
39233 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
39234 (MO): New macro.
39235 (__atanf): For results with small absolute value, force underflow
39236 exception and remove excess range and precision from return value.
39237 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
39238 <math.h>.
39239 (__ieee754_atan2): Force underflow exception for results with
39240 small absolute value.
39241 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
39242 <math_private.h>.
39243 (atan): Force underflow exception for results with small absolute
39244 value.
39245 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
39246 (__atanf): Force underflow exception for results with small
39247 absolute value.
39248 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
39249 <math.h>.
39250 (__atanl): Force underflow exception for results with small
39251 absolute value.
39252 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
39253 (__atanl): Force underflow exception for results with small
39254 absolute value.
39255 * sysdeps/x86/fpu/bits/mathinline.h
39256 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
39257 (__ieee754_atan2): Only define inline for long double.
39258 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
39259 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
39260 * math/auto-libm-test-in: Do not mark underflow exceptions as
39261 possibly missing for bug 15319. Add more tests of atan2.
39262 * math/auto-libm-test-out: Regenerated.
39263 * math/libm-test.inc (casin_test_data): Do not mark underflow
39264 exceptions as possibly missing for bug 15319.
39265 (casinh_test_data): Likewise.
39266 * sysdeps/i386/fpu/libm-test-ulps: Update.
39267
39268 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
39269
39270 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
39271 * sysdeps/mips/bits/endian.h: Fix comments.
39272
39273 2015-02-18 Joseph Myers <joseph@codesourcery.com>
39274
39275 [BZ #17996]
39276 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
39277 (hdestroy_r): Likewise.
39278 (hsearch_r): Likewise.
39279 (__hcreate_r): Declare and use libc_hidden_proto.
39280 (__hdestroy_r): Likewise.
39281 (__hsearch_r): Likewise.
39282 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
39283 (hcreate): Call __hcreate_r instead of hcreate_r.
39284 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
39285 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
39286 as weak alias of __hcreate_r.
39287 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
39288 __hdestroy_r.
39289 (hsearch_r): Rename to __hsearch_r and define as weak alias of
39290 __hsearch_r.
39291 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
39292 Remove variable.
39293 (test-xfail-XPG4/search.h/linknamespace): Likewise.
39294 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
39295 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
39296 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
39297
39298 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39299
39300 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
39301 arena_lock into a single arena_get.
39302
39303 2015-02-17 Carlos O'Donell <carlos@redhat.com>
39304
39305 * dl-reloc.c: Inlucde libc-internal.h.
39306 (_dl_try_allocate_static_tls): Call ALIGN_UP.
39307 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
39308 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
39309 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
39310 (grow_heap): Likewise.
39311 * malloc/malloc.c: Include libc-internal.h.
39312 (do_check_malloc): Call powerof2.
39313 (sysmalloc): Use pagesize. Call ALIGN_UP.
39314 (systrim): Use pagesize.
39315 (mremap_chunk): Use pagesize. Call ALIGN_UP.
39316 (__libc_valloc): Use pagesize.
39317 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
39318
39319 2015-02-17 Joseph Myers <joseph@codesourcery.com>
39320
39321 [BZ #17991]
39322 * include/sys/resource.h (__getrlimit64): Declare. Use
39323 libc_hidden_proto.
39324 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
39325 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
39326 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
39327 getrlimit64.
39328 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
39329 __getrlimit64.
39330 [!getrlimit64] (getrlimit64): Define as weak alias of
39331 __getrlimit64. Use libc_hidden_weak.
39332 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
39333 using __getrlimit64 not __new_getrlimit64.
39334 (__GI_getrlimit64): Likewise.
39335 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
39336 Likewise.
39337 (__GI_getrlimit64): Likewise.
39338 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
39339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
39340 (getrlimit): Add __getrlimit64 alias.
39341 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
39342 Likewise.
39343 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
39344 Remove variable.
39345 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
39346 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
39347
39348 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
39349
39350 * libio/fileops.c: Add missing sys/mman.h
39351 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
39352
39353 2015-02-17 Joseph Myers <joseph@codesourcery.com>
39354
39355 * manual/math.texi (Errors in Math Functions): Clarify goals
39356 regarding inexact and underflow exceptions.
39357
39358 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
39359
39360 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
39361 * sysdeps/mips/memset.S: Ditto.
39362
39363 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
39364
39365 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
39366
39367 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
39368
39369 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
39370 (__v1longjmp): Remove versioned symbol.
39371 (__v1siglongjmp): Remove alias and versioned symbol.
39372 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
39373 (__v2siglongjmp): Likewise.
39374
39375 2015-02-16 Torvald Riegel <triegel@redhat.com>
39376
39377 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
39378
39379 2015-02-16 Mike Frysinger <vapier@gentoo.org>
39380
39381 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
39382
39383 2015-02-16 Joseph Myers <joseph@codesourcery.com>
39384
39385 [BZ #17987]
39386 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
39387 zero result does not depend on the sign resulting from
39388 subtraction.
39389 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39390 Likewise.
39391 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39392 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39393 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39394 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39395 * math/libm-test.inc (remquo_test_data): Add more tests.
39396
39397 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
39398
39399 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
39400 Problem reported by J William Piggott.
39401
39402 2015-02-16 Joseph Myers <joseph@codesourcery.com>
39403
39404 [BZ #17978]
39405 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
39406 products 4 * y and 2 * y where those would overflow.
39407 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39408 Likewise.
39409 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39410 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39411 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39412 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39413 * math/libm-test.inc (remquo_test_data): Add more tests.
39414
39415 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
39416
39417 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
39418 [defined _COMPILING_NEWLIB].
39419 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
39420 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
39421
39422 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
39423 [!defined __mips_isa_rev || __mips_isa_rev < 6].
39424
39425 2015-02-16 Torvald Riegel <triegel@redhat.com>
39426
39427 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
39428 acquired.
39429
39430 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
39431
39432 [BZ #17792]
39433 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
39434 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
39435 HOST_STACK_END_ADDR): Likewise.
39436
39437 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
39438
39439 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
39440 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
39441 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
39442
39443 2015-02-13 Roland McGrath <roland@hack.frob.com>
39444
39445 * sysdeps/generic/c++-types.data: New file.
39446 * sysdeps/generic/ld.abilist: New file.
39447 * sysdeps/generic/libBrokenLocale.abilist: New file.
39448 * sysdeps/generic/libanl.abilist: New file.
39449 * sysdeps/generic/libc.abilist: New file.
39450 * sysdeps/generic/libcrypt.abilist: New file.
39451 * sysdeps/generic/libdl.abilist: New file.
39452 * sysdeps/generic/libm.abilist: New file.
39453 * sysdeps/generic/libpthread.abilist: New file.
39454 * sysdeps/generic/libresolv.abilist: New file.
39455 * sysdeps/generic/librt.abilist: New file.
39456
39457 2015-02-13 Joseph Myers <joseph@codesourcery.com>
39458
39459 [BZ #17569]
39460 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39461 Compute absolute value of x as modified by fmod, not original
39462 value of x.
39463 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
39464 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
39465 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
39466 RUN_TEST_ffI_f1_mod8.
39467 (remquo_test_data): Add more tests.
39468
39469 2015-02-13 Roland McGrath <roland@hack.frob.com>
39470
39471 * sysdeps/init_array/pt-crti.S: New file.
39472
39473 2015-02-13 Joseph Myers <joseph@codesourcery.com>
39474
39475 [BZ #17967]
39476 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
39477 __builtin_fmaf instead of relying on contraction of a * b + c.
39478
39479 2015-02-12 J William Piggott <elseifthen@gmx.com>
39480
39481 [BZ #17969]
39482 * manual/time.texi: correct the zoneinfo path in the TZ Variable
39483 node.
39484
39485 2015-02-12 Joseph Myers <joseph@codesourcery.com>
39486
39487 [BZ #17964]
39488 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
39489 __builtin_fma instead of relying on contraction of a * b + c.
39490
39491 2015-02-12 Roland McGrath <roland@hack.frob.com>
39492
39493 * Makeconfig (ASFLAGS): Add -Werror=undef.
39494 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
39495 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
39496 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
39497
39498 * Makeconfig (after-link): New variable.
39499 (+link-pie, +link-pie-tests): Use it.
39500 (+link-static, +link-static-tests): Likewise.
39501 (+link, +link-tests): Likewise.
39502 * Makerules (build-module, build-module-asneeded): Likewise.
39503 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
39504 Likewise.
39505 * elf/Makefile ($(objpfx)ld.so): Likewise.
39506
39507 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
39508
39509 [BZ #17965]
39510 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
39511 both struct timeval and struct timespec.
39512
39513 2015-02-12 Joseph Myers <joseph@codesourcery.com>
39514
39515 [BZ #16560]
39516 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
39517 and redefine.
39518 (__ieee754_exp2l): Do not multiply small fractional parts by
39519 M_LN2l.
39520 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
39521 small argument.
39522 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39523 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
39524 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
39525 * math/auto-libm-test-in: Add more tests of exp2.
39526 * math/auto-libm-test-out: Regenerated.
39527
39528 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39529
39530 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
39531 unaligned path.
39532
39533 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39534
39535 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
39536 little endian.
39537
39538 2015-02-12 Andreas Schwab <schwab@suse.de>
39539
39540 [BZ #15790]
39541 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
39542 Filter out elision flags from value returned in kind.
39543 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
39544 * nptl/tst-pthread-mutexattr.c: New file.
39545
39546 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
39547
39548 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
39549 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
39550 into gnu-gnu, and update comment to refer to abi-tags.
39551
39552 2015-02-11 Joseph Myers <joseph@codesourcery.com>
39553
39554 [BZ #15467]
39555 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
39556 (__sincos): Set errno to EDOM for infinite argument.
39557 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
39558 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
39559 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
39560 (__sincosl): Set errno to EDOM for infinite argument.
39561 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
39562 (__sincosl): Set errno to EDOM for infinite argument.
39563 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
39564 (__sincosl): Set errno to EDOM for infinite argument.
39565 * math/libm-test.inc (sincos_test_data): Test errno setting.
39566
39567 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
39568
39569 * string/strxfrm_l.c: Remove #define STRCMP.
39570 * string/strcoll_l.c: Remove #define STRLEN.
39571 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
39572 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
39573
39574 2015-02-10 Joseph Myers <joseph@codesourcery.com>
39575
39576 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
39577 * sysdeps/mips/mips32/sfp-machine.h: ... here.
39578 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
39579 * sysdeps/mips/mips64/Makefile: ... here.
39580 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
39581 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
39582 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
39583 * sysdeps/mips/mips64/sfp-machine.h: ... here.
39584 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
39585 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
39586 * sysdeps/mips/mips64/n64/Implies: Likewise.
39587
39588 2015-02-10 Roland McGrath <roland@hack.frob.com>
39589
39590 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
39591 <sys/time.h>, <string.h>, and <errno.h>.
39592 (dest_offset, dest_address, value, zero): Remove unused variables.
39593 (ldouble): Remove typedef.
39594 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
39595 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
39596 1). Fix code style.
39597 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
39598 (check): Function removed.
39599 (CHECK): New macro.
39600 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
39601 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
39602 Don't call set_sigaction_FP and remove_sigaction_FP here.
39603 (ldouble_test): Just use 'long double' as macro argument, no need for
39604 the 'ldouble' typedef.
39605 (do_test): Set up SIGFPE handler at start, using plain signal rather
39606 than sigaction. Fix code style.
39607
39608 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
39609
39610 [BZ #17949]
39611 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
39612 jump label.
39613
39614 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
39615
39616 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
39617 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39618
39619 * sysdeps/powerpc/configure.ac: Remove file.
39620 * sysdeps/powerpc/configure: Likewise.
39621
39622 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
39623 [sysdep_routines]: Remove wordcopy-power6 object.
39624 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
39625 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
39626 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
39627 (__memmove_ppc32): Likewise.
39628 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
39629 file.
39630 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
39631 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
39632 Remove preprocessor.
39633
39634 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
39635 [sysdep_routines]: Remove wide chars objects.
39636 [wcsmbs]: New rule for wide char objects.
39637
39638 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39639 Remove wordcopy-power6 obejct.
39640 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
39641 Use local call for wordcopy and memcpy symbols.
39642 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
39643 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
39644 implementation for loader.
39645 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
39646
39647 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39648 Remove wordcopy-power7 object.
39649 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
39650 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
39651 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
39652 (_wordcopy_fwd_dest_aligned): Likewise.
39653 (_wordcopy_bwd_aligned): Likewise.
39654 (_wordcopy_bwd_dest_aligned): Likewise.
39655
39656 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
39657 Rewrite to call __memmove_ppc instead of include default
39658 implementation.
39659
39660 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39661 Remove wide chars objects.
39662 [wcsmbs]: New rule for wide char objects.
39663
39664 2015-02-09 Andreas Schwab <schwab@suse.de>
39665
39666 [BZ #17912]
39667 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
39668 in terms of __O_DIRECTORY.
39669
39670 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
39671
39672 * time/getdate.c: Include <stdbool.h>.
39673 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
39674 call PTR_MANGLE.
39675 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
39676 PTR_DEMANGLE.
39677
39678 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
39679
39680 Add ersatz _Static_assert on older C hosts
39681 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
39682 pre-C11 C platform that is not known to support _Static_assert.
39683
39684 2015-02-07 Richard Braun <rbraun@sceen.net>
39685
39686 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
39687 sigstate.
39688 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
39689
39690 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
39691
39692 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
39693 priority against unexistent AIO_PRIO_DELTA_MAX.
39694 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
39695 instead of int.
39696 * misc/fchflags.c (fchflags): Likewise.
39697 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
39698 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
39699 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
39700 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
39701 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
39702 Declare macros.
39703 [__USE_MISC] (chflags, fchflags): Declare functions.
39704 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
39705 EINVAL when nfds is greater than FD_SETSIZE.
39706 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
39707 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
39708 45.
39709 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
39710 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
39711 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
39712 MACH_RCV_TIMED_OUT.
39713 * hurd/hurd/signal.h (_hurd_self_sigstate,
39714 _hurd_critical_section_lock, _hurd_critical_section_unlock):
39715 Explicit casts from void *.
39716 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
39717 * abi-tags: Rename gnu-gnu os into gnu.
39718
39719 [BZ #4719]
39720 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
39721 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
39722 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
39723 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
39724 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
39725 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
39726
39727 [BZ #17944]
39728 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
39729 duplicates ADDR->sun_path with sockaddr LEN limitation.
39730 * sysdeps/mach/hurd/connect.c: Include <string.h>
39731 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
39732 * sysdeps/mach/hurd/sendmsg.c: Likewise.
39733 * sysdeps/mach/hurd/sendto.c: Likewise.
39734 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
39735 implementing it by hand.
39736
39737 2015-02-06 Roland McGrath <roland@hack.frob.com>
39738
39739 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
39740 Use sfi_breg on ldr.
39741 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
39742 Likewise.
39743
39744 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
39745 it's defined.
39746 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
39747 Test SIGSETXID only if it's defined.
39748
39749 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
39750
39751 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
39752 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
39753
39754 * nptl/tst-align2.c: Moved ...
39755 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
39756 * nptl/Makefile (tests): Remove tst-align2.
39757 * sysdeps/unix/sysv/linux/Makefile
39758 [$(subdir) = nptl] (tests): Add tst-align-clone.
39759 * nptl/tst-getpid1.c: Moved ...
39760 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
39761 * nptl/tst-getpid2.c: Moved ...
39762 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
39763 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
39764 * sysdeps/unix/sysv/linux/Makefile
39765 [$(subdir) = nptl] (tests): ... here.
39766 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
39767 * sysdeps/unix/sysv/linux/Makefile
39768 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
39769
39770 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
39771 Drop trailing \n from perror argument. Use return rather than exit.
39772
39773 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
39774 on [SA_SIGINFO].
39775 * nptl/tst-cancel21.c (do_test): Likewise.
39776 * debug/tst-backtrace6.c: Include <signal.h> first thing.
39777 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
39778 [!SA_SIGINFO]: Make it a stub test.
39779
39780 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
39781 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
39782
39783 * posix/tst-getlogin.c: Move to ...
39784 * login/tst-getlogin.c: ... here.
39785 * posix/Makefile (tests): Move tst-getlogin to ...
39786 * login/Makefile (tests): ... here.
39787
39788 * libio/tst-atime.c (do_test): Move local variables SV and E
39789 inside [ST_NOATIME] conditional.
39790
39791 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
39792
39793 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
39794
39795 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
39796 (wait_code): New function replaces macro.
39797 Call nanosleep rather than syscall.
39798
39799 * nptl/pt-system.c: Rewritten. Put everything under
39800 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39801 Use IFUNC to redirect when possible.
39802
39803 * nptl/pt-longjmp.c: Rewritten. Put everything under
39804 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39805 Use IFUNC to redirect when possible.
39806
39807 * nptl/pt-fork.c: Rewritten. Put everything under
39808 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39809 Use IFUNC to redirect when possible.
39810 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
39811
39812 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
39813 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
39814 unconditionally nowadays. This included the only reference to
39815 __vdso_clock_gettime that appears outside libc proper.
39816 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
39817 Remove version set (containing only __vdso_clock_gettime).
39818 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
39819 Add attribute_hidden.
39820 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
39821 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
39822 libc_hidden_data_def.
39823 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
39824 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
39825
39826 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
39827 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
39828 setrpcent, and getrpcport to ...
39829 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
39830 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
39831 getrpcbynumber_r, and getrpcent_r to ...
39832 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
39833 * inet/getrpcbyname.c: Moved ...
39834 * sunrpc/getrpcbyname.c: ... here.
39835 * inet/getrpcbyname_r.c: Moved ...
39836 * sunrpc/getrpcbyname_r.c: ... here.
39837 * inet/getrpcbynumber.c: Moved ...
39838 * sunrpc/getrpcbynumber.c: ... here.
39839 * inet/getrpcbynumber_r.c: Moved ...
39840 * sunrpc/getrpcbynumber_r.c: ... here.
39841 * inet/getrpcent.c: Moved ...
39842 * sunrpc/getrpcent.c: ... here.
39843 * inet/getrpcent_r.c: Moved ...
39844 * sunrpc/getrpcent_r.c: ... here.
39845 * inet/Makefile (routines): Move those to ...
39846 * sunrpc/Makefile (routines): ... here.
39847 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
39848 the $(subdirs) list.
39849 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
39850 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
39851 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
39852 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
39853
39854 * elf/Makefile (routines): Include $(all-dl-routines), not just
39855 $(dl-routines).
39856 (rtld-routines): Likewise. Use = rather than :=.
39857 * sysdeps/aarch64/Makefile [$(subdir) = elf]
39858 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
39859 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
39860 * sysdeps/arm/Makefile: Likewise.
39861 * sysdeps/i386/Makefile: Likewise.
39862 * sysdeps/x86_64/Makefile: Likewise.
39863 * sysdeps/hppa/Makefile [$(subdir) = elf]
39864 (sysdep_routines, sysdep-rtld-routines): Don't add
39865 $(sysdep-dl-routines) to these.
39866 * sysdeps/ia64/Makefile: Likewise.
39867 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
39868 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
39869 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
39870 Don't add dl-static to these; sysdep-dl-routines alone is enough.
39871 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
39872 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
39873 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
39874 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
39875 * sysdeps/powerpc/Makefile [$(subdir) = elf]
39876 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
39877 these; sysdep-dl-routines alone is enough.
39878
39879 2015-02-06 Joseph Myers <joseph@codesourcery.com>
39880
39881 [BZ #17932]
39882 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
39883 where multiplication results in zero and third argument is finite
39884 and nonzero.
39885 * math/auto-libm-test-in: Add more tests of fma.
39886 * math/auto-libm-test-out: Regenerated.
39887
39888 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
39889 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
39890 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
39891 (_FP_CMP_EQ): Likewise.
39892 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
39893
39894 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
39895 extra argument CHECK_NAN. Redefine as wrapper around
39896 _FP_EXTEND_CNAN.
39897
39898 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
39899
39900 * version.h (RELEASE): Set to "stable".
39901 (VERSION): Set to "2.21"
39902 * include/features.h (__GLIBC_MINOR__): Set to 21.
39903
39904 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
39905
39906 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39907 Paul Eggert <eggert@cs.ucla.edu>
39908
39909 [BZ #16618]
39910 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
39911 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
39912 size in bytes. Store needed elements in wpmax. Use needed size
39913 in bytes for extend_alloca.
39914
39915 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
39916
39917 * manual/install.texi: Latest tested versions are GCC 4.9.2,
39918 binutls 2.25, and texinfo 5.2.
39919 * INSTALL: Regenerate.
39920 * sysdeps/nios2/configure: Regenerate.
39921 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
39922 * manual/contrib.texi: Update.
39923 * po/be.po: Update.
39924 * po/bg.po: Update.
39925 * po/ca.po: Update.
39926 * po/cs.po: Update.
39927 * po/da.po: Update.
39928 * po/de.po: Update.
39929 * po/el.po: Update.
39930 * po/eo.po: Update.
39931 * po/es.po: Update.
39932 * po/fi.po: Update.
39933 * po/fr.po: Update.
39934 * po/gl.po: Update.
39935 * po/hr.po: Update.
39936 * po/hu.po: Update.
39937 * po/ia.po: Update.
39938 * po/id.po: Update.
39939 * po/it.po: Update.
39940 * po/ja.po: Update.
39941 * po/ko.po: Update.
39942 * po/lt.po: Update.
39943 * po/nb.po: Update.
39944 * po/nl.po: Update.
39945 * po/pl.po: Update.
39946 * po/pt_BR.po: Update.
39947 * po/ru.po: Update.
39948 * po/rw.po: Update.
39949 * po/sk.po: Update.
39950 * po/sl.po: Update.
39951 * po/sv.po: Update.
39952 * po/tr.po: Update.
39953 * po/uk.po: Update.
39954 * po/vi.po: Update.
39955 * po/zh_CN.po: Update.
39956 * po/zh_TW.po: Update.
39957
39958 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
39959 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
39960 * sysdeps/hppa/dl-irel.h: Remove #warning.
39961 * sysdeps/hppa/entry.h: Provide prototype for
39962 __canonicalize_funcptr_for_compare and cast argument.
39963 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
39964 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
39965 * sysdeps/hppa/sotruss-lib.c: New file.
39966 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
39967 (atomic_compare_and_exchange_val_acq): Use __typeof__.
39968 (atomic_compare_and_exchange_bool_acq): Likewise.
39969 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
39970 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
39971
39972 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
39973 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
39974 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
39975
39976 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
39977
39978 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
39979 called function in non-PIC case.
39980
39981 2015-01-31 David S. Miller <davem@davemloft.net>
39982
39983 * sysdeps/sparc/sparc32/bits/atomic.h
39984 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
39985 unlock not after it.
39986 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
39987 volatile register usage warnings from the compiler.
39988
39989 * sysdeps/sparc/nptl/sem_init.c: Delete.
39990 * sysdeps/sparc/nptl/sem_post.c: Delete.
39991 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
39992 * sysdeps/sparc/nptl/sem_wait.c: Delete.
39993 * sysdeps/sparc/sparc32/sem_init.c: New file.
39994 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
39995 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
39996 padding explicitly initialized.
39997 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
39998 padding for in-semaphore spinlock.
39999 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
40000 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
40001 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
40002 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
40003 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
40004 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
40005 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
40006 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
40007 version.
40008 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
40009 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
40010
40011 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
40012
40013 [BZ #17801]
40014 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40015 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
40016 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
40017 New.
40018 (index_AVX_Fast_Unaligned_Load): Likewise.
40019 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
40020 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
40021 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
40022 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
40023 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
40024 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
40025 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
40026 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
40027 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
40028
40029 2015-01-29 Andreas Schwab <schwab@suse.de>
40030
40031 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
40032
40033 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
40034
40035 [BZ #17892]
40036 * nscd/nscd_stat.c (send_stats): Initialize DATA.
40037
40038 2015-01-28 Martin Sebor <msebor@redhat.com>
40039
40040 * math/README.libm-test: Clarify. Add "How to read the test output."
40041
40042 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
40043
40044 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
40045 Define to 0.
40046
40047 2015-01-28 Joseph Myers <joseph@codesourcery.com>
40048
40049 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
40050 (__HAVE_64B_ATOMICS): Define to 0.
40051
40052 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
40053
40054 [BZ #17885]
40055 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
40056 value to set as new flag.
40057
40058 [BZ #16576]
40059 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
40060 and use _ARCH_PPCSQ instead.
40061 (__ieee754_sqrt): Likewise.
40062 (__ieee754_sqrtf): Likewise.
40063 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
40064 _ARCH_PPCSQ is defined.
40065 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
40066 fsqrt instruction.
40067 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
40068 _ARCH_PPCSQ is defined.
40069 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
40070 fsqrts instruction.
40071 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
40072
40073 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40074
40075 * iconv/loop.c: Suppress array out of bound warning caused by GCC
40076 bug (GCC BZ #64739).
40077
40078 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
40079
40080 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
40081 Mark _retval as used.
40082 (lll_futex_wake_unlock): Likewise.
40083 (lll_futex_timed_wait_requeue_pi): Likewise.
40084
40085 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
40086 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
40087 register variables.
40088
40089 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
40090 libm_hidden_def.
40091
40092 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
40093 (__bswap_64): Mark as __always_inline.
40094
40095 2015-01-25 Bram <bug_rh@spam.wizbit.be>
40096
40097 [BZ #15378]
40098 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
40099 when none of the search directories exist.
40100
40101 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
40102
40103 [BZ #17869]
40104 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
40105 power8 in .machine directive.
40106
40107 [BZ #17868]
40108 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
40109 set dependency from opd value.
40110
40111 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
40112
40113 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40114 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
40115 architecture.
40116
40117 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
40118
40119 [BZ #17870]
40120 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
40121 with uint64_t.
40122 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
40123 (uint64_t) 1.
40124 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
40125 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
40126 Replace 1UL with (uint64_t) 1.
40127 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
40128 int with uint64_t.
40129
40130 2015-01-23 Roland McGrath <roland@hack.frob.com>
40131
40132 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
40133 (if_freenameindex): Likewise.
40134
40135 * resource/getrlimit64.c: Add missing libc_hidden_def.
40136
40137 2015-01-22 Joseph Myers <joseph@codesourcery.com>
40138
40139 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
40140 __label__.
40141 (_FP_FMA): Likewise.
40142 (_FP_TO_INT_ROUND): Likewise.
40143 (_FP_FROM_INT): Likewise.
40144
40145 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40146
40147 [BZ #16418]
40148 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
40149 Make code racy and cancel safe.
40150
40151 2015-01-21 Carlos O'Donell <carlos@redhat.com>
40152
40153 * sysdeps/arm/unwind-resume.h: Fix copyright year.
40154 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
40155 attribution.
40156
40157 * pwd/tst-getpw.c: Rewrite.
40158
40159 [BZ #17702]
40160 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
40161 (modules-names): Add moddummy1 and moddummy2.
40162 ($(objpfx)tst-rec-dlopen): Define.
40163 * dlfcn/moddummy1.c: New file.
40164 * dlfcn/moddummy2.c: New file.
40165 * dlfcn/tst-rec-dlopen.c: New file.
40166 * elf/dl-cache.c (_dl_load_cache_lookup):
40167 Return char*. Copy result with alloca/strcpy/strdup.
40168 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
40169 returns char*. Free cached. If not saving realname
40170 free cached.
40171 * elf/dl-open.c (dl_open_worker): Do not assert that
40172 _r_debug->r_state is RT_CONSISTENT.
40173 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
40174 returns char*.
40175
40176 2015-01-21 Torvald Riegel <triegel@redhat.com>
40177 Carlos O'Donell <carlos@redhat.com>
40178
40179 [BZ #12674]
40180 * nptl/sem_waitcommon.c: New file.
40181 * nptl/sem_wait.c: Include sem_waitcommon.c.
40182 (__sem_wait_cleanup, do_futex_wait): Remove.
40183 (__new_sem_wait): Adapt.
40184 (__new_sem_trywait): New function.
40185 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
40186 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
40187 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
40188 (sem_timedwait): Adapt.
40189 * nptl/sem_post.c (__new_sem_post): Adapt.
40190 (futex_wake): New function.
40191 (__old_sem_post): Add release MO fence.
40192 * nptl/sem_open.c (sem_open): Adapt.
40193 * nptl/sem_init.c (__new_sem_init): Adapt.
40194 (futex_private_if_supported): New function.
40195 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
40196 (__old_sem_getvalue): Add using previous code.
40197 * sysdeps/nptl/internaltypes.h: Adapt.
40198 * nptl/tst-sem13.c (do_test): Adapt.
40199 * nptl/tst-sem11.c (main): Adapt.
40200 * nptl/sem_trywait.c: Remove.
40201 * nptl/DESIGN-sem.txt: Remove.
40202 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
40203 (gen-as-const-headers): Remove structsem.sym.
40204 * nptl/structsem.sym: Remove.
40205 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
40206 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
40207 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
40208 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
40209 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
40210 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
40211 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
40212 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
40213 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
40214 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
40215 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
40216 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
40217 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
40218 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
40219 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
40220 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
40221 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
40222 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
40223 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
40224 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
40225 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
40226 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
40227
40228 2015-01-20 Carlos O'Donell <carlos@redhat.com>
40229
40230 * INSTALL: Regenerated.
40231
40232 * po/libc.pot: Regenerated.
40233
40234 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
40235 Sandra Loosemore <sandra@codesourcery.com>
40236 Andrew Jenner <andrew@codesourcery.com>
40237 Joseph Myers <joseph@codesourcery.com>
40238 Nathan Sidwell <nathan@codesourcery.com>
40239
40240 * NEWS: Mention new Nios II port.
40241 * sysdeps/nios2/Implies: New file.
40242 * sysdeps/nios2/Makefile: New file.
40243 * sysdeps/nios2/Subdirs: New file.
40244 * sysdeps/nios2/Versions: New file.
40245 * sysdeps/nios2/__longjmp.S: New file.
40246 * sysdeps/nios2/abort-instr.h: New file.
40247 * sysdeps/nios2/backtrace.c: New file.
40248 * sysdeps/nios2/bits/endian.h: New file.
40249 * sysdeps/nios2/bits/fenv.h: New file.
40250 * sysdeps/nios2/bits/link.h: New file.
40251 * sysdeps/nios2/bits/setjmp.h: New file.
40252 * sysdeps/nios2/bsd-_setjmp.S: New file.
40253 * sysdeps/nios2/bsd-setjmp.S: New file.
40254 * sysdeps/nios2/configure: New generated file.
40255 * sysdeps/nios2/configure.ac: New file.
40256 * sysdeps/nios2/crti.S: New file.
40257 * sysdeps/nios2/crtn.S: New file.
40258 * sysdeps/nios2/dl-init.c: New file.
40259 * sysdeps/nios2/dl-machine.h: New file.
40260 * sysdeps/nios2/dl-sysdep.h: New file.
40261 * sysdeps/nios2/dl-tls.h: New file.
40262 * sysdeps/nios2/dl-trampoline.S: New file.
40263 * sysdeps/nios2/gccframe.h: New file.
40264 * sysdeps/nios2/gmp-mparam.h: New file.
40265 * sysdeps/nios2/jmpbuf-offsets.h: New file.
40266 * sysdeps/nios2/jmpbuf-unwind.h: New file.
40267 * sysdeps/nios2/ldsodefs.h: New file.
40268 * sysdeps/nios2/libc-tls.c: New file.
40269 * sysdeps/nios2/libm-test-ulps: New file.
40270 * sysdeps/nios2/machine-gmon.h: New file.
40271 * sysdeps/nios2/math-tests.h: New file.
40272 * sysdeps/nios2/math_private.h: New file.
40273 * sysdeps/nios2/memusage.h: New file.
40274 * sysdeps/nios2/nptl/Makefile: New file.
40275 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
40276 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
40277 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
40278 * sysdeps/nios2/nptl/pthreaddef.h: New file.
40279 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
40280 * sysdeps/nios2/nptl/tls.h: New file.
40281 * sysdeps/nios2/preconfigure: New file.
40282 * sysdeps/nios2/s_fma.c: New file.
40283 * sysdeps/nios2/s_fmaf.c: New file.
40284 * sysdeps/nios2/setjmp.S: New file.
40285 * sysdeps/nios2/sfp-machine.h: New file.
40286 * sysdeps/nios2/sotruss-lib.c: New file.
40287 * sysdeps/nios2/stackguard-macros.h: New file.
40288 * sysdeps/nios2/stackinfo.h: New file.
40289 * sysdeps/nios2/start.S: New file.
40290 * sysdeps/nios2/sysdep.h: New file.
40291 * sysdeps/nios2/tls-macros.h: New file.
40292 * sysdeps/nios2/tst-audit.h: New file.
40293 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
40294 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
40295 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
40296 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
40297 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
40298 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
40299 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
40300 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
40301 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
40302 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
40303 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
40304 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
40305 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
40306 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
40307 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
40308 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
40309 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
40310 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
40311 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
40312 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
40313 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
40314 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
40315 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
40316 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
40317 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
40318 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
40319 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
40320 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
40321 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
40322 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
40323 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
40324 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
40325 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
40326 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
40327 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
40328 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
40329 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
40330 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
40331 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
40332 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
40333 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
40334 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
40335 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
40336 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
40337
40338 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
40339
40340 [BZ #17844]
40341 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
40342 (getutent): Use weak_alias in non SHARED case
40343 and default_symbol_version in SHARED case.
40344 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
40345 (getutent_r, pututline): Likewise.
40346 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
40347 (getutid): Likewise.
40348 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
40349 (getutid_r): Likewise.
40350 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
40351 (getutline): Likewise.
40352 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
40353 (getutline_r): Likewise.
40354 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
40355 (updwtmp): Likewise.
40356
40357 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
40358
40359 [BZ #17848]
40360 * sysdeps/s390/s390-32/memcmp.S
40361 (memcmp_g5): Rename to __memcmp_g5.
40362 * sysdeps/s390/s390-32/memcpy.S
40363 (memcpy_g5): Rename to __memcpy_g5.
40364 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40365 (memcpy_mvcle) Rename to __memcpy_mvcle.
40366 * sysdeps/s390/s390-32/memset.S
40367 (memset_g5): Rename to __memset_g5.
40368 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40369 (IFUNC_RESOLVE): Prefix ifunc-resolve function
40370 and use prefixed functions.
40371 * sysdeps/s390/s390-32/multiarch/memcmp.S
40372 (memcmp_z196): Rename to __memcmp_z196.
40373 (memcmp_z10): Rename to __memcmp_z10.
40374 (memcmp): Set alias to __memcmp_g5.
40375 (bcmp): Set alias to __memcmp_g5.
40376 * sysdeps/s390/s390-32/multiarch/memcpy.S
40377 (memcpy_z196): Rename to __memcpy_z196.
40378 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40379 (memcpy_z10): Rename to __memcpy_z10.
40380 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40381 (memcpy): Set alias to __memcpy_g5.
40382 * sysdeps/s390/s390-32/multiarch/memset.S
40383 (memset_z196): Rename to __memset_z196.
40384 Jump to __memset_mvcle instead of memset_mvcle.
40385 (memset_z10): Rename to __memset_z10.
40386 Jump to __memset_mvcle instead of memset_mvcle.
40387 (memset_mvcle) Rename to __memset_mvcle.
40388 (memset): Set alias to __memset_g5.
40389 * sysdeps/s390/s390-64/memcmp.S
40390 (memcmp_z900): Rename to __memcmp_z900.
40391 * sysdeps/s390/s390-64/memcpy.S
40392 (memcpy_z900): Rename to __memcpy_z900.
40393 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40394 (memcpy_mvcle) Rename to __memcpy_mvcle.
40395 * sysdeps/s390/s390-64/memset.S
40396 (memset_z900): Rename to __memset_z900.
40397 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
40398 (IFUNC_RESOLVE): Prefix ifunc-resolve function
40399 and use prefixed functions.
40400 * sysdeps/s390/s390-64/multiarch/memcmp.S
40401 (memcmp_z196): Rename to __memcmp_z196.
40402 (memcmp_z10): Rename to __memcmp_z10.
40403 (memcmp): Set alias to __memcmp_z900.
40404 (bcmp): Set alias to __memcmp_z900.
40405 * sysdeps/s390/s390-64/multiarch/memcpy.S
40406 (memcpy_z196): Rename to __memcpy_z196.
40407 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40408 (memcpy_z10): Rename to __memcpy_z10.
40409 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40410 (memcpy): Set alias to __memcpy_z900.
40411 * sysdeps/s390/s390-64/multiarch/memset.S
40412 (memset_z196): Rename to __memset_z196.
40413 Jump to __memset_mvcle instead of memset_mvcle.
40414 (memset_z10): Rename to __memset_z10.
40415 Jump to __memset_mvcle instead of memset_mvcle.
40416 (memset_mvcle) Rename to __memset_mvcle.
40417 (memset): Set alias to __memset_z900.
40418
40419 2015-01-14 Joseph Myers <joseph@codesourcery.com>
40420
40421 [BZ #17748]
40422 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
40423 __fesetenv instead of fesetenv.
40424
40425 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40426
40427 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
40428 macro.
40429
40430 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40431
40432 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
40433 regression on LE.
40434
40435 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
40436 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
40437 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40438 strncmp-power8 object.
40439 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40440 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
40441 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
40442 * NEWS: Update.
40443
40444 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40445 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40446
40447 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
40448 trailing byte check.
40449
40450 2015-01-13 David S. Miller <davem@davemloft.net>
40451
40452 * include/signal.h (__sigreturn): Guard with __USE_MISC.
40453
40454 2015-01-13 Roland McGrath <roland@hack.frob.com>
40455
40456 * login/logout.c (logout): Use memset rather than bzero.
40457 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
40458 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
40459 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
40460 (_gethtbyaddr): Likewise.
40461 * locale/programs/simple-hash.c (bcopy): Macro removed.
40462
40463 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40464
40465 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40466 Add strcmp-power8 object.
40467 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40468 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
40469 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
40470 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
40471 __strcmp_power8 implementation.
40472 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
40473 * NEWS: Update.
40474
40475 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40476 Add strncpy-power8 and stpncpy-power8 objects.
40477 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40478 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
40479 implementations.
40480 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
40481 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
40482 __stpncpy_power8 implementation.
40483 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
40484 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
40485 __strncpy_power8 implementation.
40486 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
40487 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
40488 * NEWS: Update.
40489
40490 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
40491 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
40492 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
40493
40494 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40495 strncat-power8 object.
40496 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
40497 __strcat_power8 implementation.
40498 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40499 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
40500 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
40501 optimized strcat for power8.
40502
40503 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40504 strcpy-power8 and stpcpy-power8 objects.
40505 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40506 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
40507 implementations.
40508 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
40509 multiarch stpcpy implementation for POWER8.
40510 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
40511 multiarch strcpy implementation for POWER8.
40512 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
40513 __strcpy_power8 function.
40514 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
40515 stpcpy for POWER8.
40516 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
40517 strcpy for POWER8.
40518 * NEWS: Update.
40519
40520 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
40521
40522 [BZ #16009]
40523 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
40524 weights and rules. Use do_xfrm_cached if data fits in cache,
40525 do_xfrm otherwise. Moved former main loop to...
40526 * (do_xfrm_cached): New function.
40527 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
40528 find_idx, find_position and stack_push.
40529 * (find_idx): New function.
40530 * (find_position): Likewise.
40531 * localedata/sort-test.sh: Added test run for do_xfrm.
40532 * localedata/xfrm-test.c (main): Added command line option
40533 -nocache to run the test with strings that are too large for
40534 the STRXFRM cache.
40535
40536 2015-01-13 Torvald Riegel <triegel@redhat.com>
40537
40538 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
40539 variable to lll_futex_wake call, not the value itself.
40540
40541 2015-01-12 Joseph Myers <joseph@codesourcery.com>
40542
40543 [BZ #17803]
40544 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
40545 twom64. Adjust value to 0x1p-64L.
40546 (__scalblnl): Only return standard underflowing result for K <=
40547 -64 not K <= -63; adjust exponent for underflowing result by 64
40548 not 63.
40549 * math/libm-test.inc (scalbn_test_data): Add more tests.
40550 (scalbln_test_data): Likewise.
40551
40552 [BZ #17834]
40553 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
40554 0x1p63L.
40555 (__scalblnl): Get new exponent of adjusted subnormal value from ES
40556 not HX.
40557 * math/libm-test.inc (scalbn_test_data): Add more tests.
40558 (scalbln_test_data): Likewise.
40559
40560 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40561 Stefani Seibold <stefani@seibold.net>
40562
40563 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
40564 (sysdep_routines): Add dl-vdso here, ...
40565 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
40566 (sysdep_routines): ... not here.
40567 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
40568 fallback when vDSO is not presented.
40569 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
40570 Define with libc_hidden_proto/libc_hidden_data_def definitions.
40571 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
40572 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
40573 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
40574 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
40575 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
40576 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
40577 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
40578 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
40579 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
40580 fallback configurable symbol when vDSO is not available.
40581 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
40582 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
40583 be able to redefine fallback symbol when vDSO is not available.
40584 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
40585 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
40586
40587 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40588
40589 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
40590 (TLS_INIT_TP): Add tm_capable initialization.
40591 (TLS_DEFINE_INIT_TP): Likewise.
40592 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
40593 TCB.
40594 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
40595 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
40596 calculation.
40597 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
40598 transactoion is lock elision is built and TCB tm_capable is set.
40599 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
40600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40601 (INTERNAL_SYSCALL_NCS): Likewise.
40602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40603 (INTERNAL_SYSCALL_NCS): Likewise.
40604 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
40605
40606 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
40607 for powerpc.
40608 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40609 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
40610 and remove it for 32 bits case.
40611 [pthread_rwlock_t] (__rwelision): New field for lock elision.
40612 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
40613 initialization.
40614 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
40615 Disable lock elision with rdlocks if elision is not available.
40616
40617 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
40618 (sysdep_routines): Add lock elision objects.
40619 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40620 [pthread_mutex_t] (__spins): Rework to add lock elision field.
40621 [pthread_mutex_t] (__elision): Add field.
40622 [__PTHREAD_SPINS]: Adjust to init lock elision field.
40623 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
40624 elision definitions for powerpc.
40625 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
40626 implementation of lock elision for powerpc.
40627 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
40628 implementation of timed lock elision for powerpc.
40629 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
40630 implementation of trylock with lock elision for powerpc.
40631 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
40632 implementaion of unlock for lock elision for powerpc.
40633 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
40634 automatic enable lock elision for mutexes.
40635 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
40636 transaction execution definitions for powerpc.
40637 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
40638 definitions.
40639 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
40640 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
40641 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
40642 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
40643 * NEWS: Update.
40644
40645 2015-01-09 Roland McGrath <roland@hack.frob.com>
40646
40647 * sysdeps/posix/shm-directory.c: Use <> rather than ""
40648 for #include of <shm-directory.h>.
40649
40650 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
40651
40652 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
40653 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
40654
40655 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
40656
40657 [BZ #17791]
40658 * NEWS: Mention bug fix.
40659 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
40660 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
40661 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
40662
40663 2015-01-09 Torvald Riegel <triegel@redhat.com>
40664
40665 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
40666
40667 2015-01-09 Torvald Riegel <triegel@redhat.com>
40668
40669 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
40670
40671 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
40672
40673 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
40674 pointer and cast to uintptr_t.
40675
40676 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
40677
40678 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
40679 removed.
40680 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
40681
40682 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
40683
40684 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
40685 of 0.
40686
40687 2015-01-08 Roland McGrath <roland@hack.frob.com>
40688
40689 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
40690 <nptl/pthreadP.h> instead.
40691 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
40692
40693 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
40694 already defined.
40695 [__SIGRTMIN] (init): Function removed.
40696 [__SIGRTMIN] (initialized): Variable removed.
40697 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
40698 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
40699 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
40700 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
40701 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
40702 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
40703 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
40704 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
40705 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
40706 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
40707 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
40708 * sysdeps/nptl/allocrtsig.c: New file.
40709 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
40710 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
40711 * sysdeps/generic/testrtsig.h: File removed.
40712
40713 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
40714 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
40715
40716 * nptl/nptl-init.c (pthread_functions): Conditionalize
40717 .ptr__nptl_setxid initialization on [SIGSETXID].
40718
40719 * sysdeps/nptl/sys/procfs.h: New file.
40720 * nptl_db/Makefile (headers): Add it.
40721 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
40722
40723 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
40724 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
40725 * nptl/pthread_attr_setaffinity.c: Include it.
40726 * nptl/pthread_setattr_default_np.c: Likewise.
40727 * nptl/check-cpuset.h: New file.
40728
40729 2015-01-08 Richard Henderson <rth@redhat.com>
40730
40731 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
40732 (CFLAGS-tst-execstack-prog.c): Likewise.
40733 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
40734
40735 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
40736 Sandra Loosemore <sandra@codesourcery.com>
40737 Andrew Jenner <andrew@codesourcery.com>
40738 Joseph Myers <joseph@codesourcery.com>
40739 Nathan Sidwell <nathan@codesourcery.com>
40740
40741 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
40742 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
40743 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
40744 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
40745 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
40746 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
40747 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
40748 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
40749 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
40750 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
40751 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
40752 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
40753 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
40754 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
40755 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
40756 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
40757 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
40758
40759 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40760
40761 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
40762 timespec struct member in syscall macro.
40763 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
40764 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
40765 first timeval struct member in syscall macro.
40766 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
40767
40768 2015-01-07 Joseph Myers <joseph@codesourcery.com>
40769
40770 [BZ #17748]
40771 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
40772 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
40773 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
40774 __feupdateenv and define as weak alias of __feupdateenv. Use
40775 libm_hidden_weak.
40776 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
40777 libm_hidden_def.
40778 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
40779 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
40780 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
40781 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
40782 libm_hidden_def.
40783 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
40784 __feupdateenv and define as weak alias of __feupdateenv. Use
40785 libm_hidden_weak.
40786 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
40787 libm_hidden_def.
40788 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
40789 __feupdateenv and define as weak alias of __feupdateenv. Use
40790 libm_hidden_weak.
40791 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
40792 libm_hidden_def.
40793 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
40794 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
40795 (__feupdateenv): Likewise.
40796 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
40797 __feupdateenv and define as weak alias of __feupdateenv. Use
40798 libm_hidden_weak.
40799 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40800 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
40801 libm_hidden_def.
40802 * sysdeps/tile/math_private.h (__feupdateenv): New inline
40803 function.
40804 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
40805 libm_hidden_def.
40806 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
40807 __feupdateenv instead of feupdateenv.
40808 (default_libc_feupdateenv_test): Likewise.
40809 (libc_feresetround_ctx): Likewise.
40810
40811 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40812
40813 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
40814 prototype.
40815
40816 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
40817
40818 * posix/regcomp.c (parse_bracket_exp): Initialize type to
40819 COLL_SYM in a couple of places to avoid uninitialized variable
40820 wanings on tilegx gcc 4.8.2.
40821
40822 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
40823
40824 * sysdeps/aarch64/strcpy.S: New file.
40825 * sysdeps/aarch64/stpcpy.S: New file.
40826 * NEWS: Updated.
40827
40828 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
40829
40830 * sysdeps/aarch64/strrchr.S: New file.
40831 * NEWS: Updated.
40832
40833 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
40834
40835 [BZ #17658]
40836 * stdlib/setenv.c: Fix memory leak when setting large,
40837 duplicate string.
40838
40839 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
40840
40841 [BZ #17273]
40842 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
40843 and tabs from buffer before parsing fstab entry.
40844 * misc/tst-mntent.c (main): Add test for mount entry with
40845 trailing spaces and tabs.
40846
40847 2015-01-06 Joseph Myers <joseph@codesourcery.com>
40848
40849 [BZ #17748]
40850 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
40851 * math/fesetround.c (fesetround): Rename to __fesetround and
40852 define as weak alias of __fesetround. Use libm_hidden_weak.
40853 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
40854 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
40855 * sysdeps/arm/fesetround.c (fesetround): Likewise.
40856 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
40857 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
40858 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
40859 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
40860 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
40861 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
40862 __fesetround_inline.
40863 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
40864 __fesetround_inline instead of __fesetround.
40865 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
40866 __fesetround and define as weak alias of __fesetround. Use
40867 libm_hidden_weak. Call __fesetround_inline instead of
40868 __fesetround.
40869 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
40870 __fesetround and define as weak alias of __fesetround. Use
40871 libm_hidden_weak.
40872 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
40873 Likewise.
40874 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
40875 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40876 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
40877 * sysdeps/tile/math_private.h (__fesetround): New inline function.
40878 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
40879 __fesetround and define as weak alias of __fesetround. Use
40880 libm_hidden_weak.
40881 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
40882 __fesetround instead of fesetround.
40883 (default_libc_feholdexcept_setround): Likewise.
40884 (libc_feholdsetround_ctx): Likewise.
40885 (libc_feholdsetround_noex_ctx): Likewise.
40886
40887 [BZ #17748]
40888 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
40889 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
40890 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
40891 and define as weak alias of __fesetenv. Use libm_hidden_weak.
40892 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40893 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
40894 define as weak alias of __fesetenv. Use libm_hidden_weak.
40895 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
40896 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40897 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
40898 define as weak alias of __fesetenv. Use libm_hidden_weak.
40899 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40900 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
40901 define as weak alias of __fesetenv. Use libm_hidden_weak.
40902 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
40903 libm_hidden_def.
40904 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
40905 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
40906 Likewise.
40907 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
40908 define as weak alias of __fesetenv. Use libm_hidden_weak.
40909 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40910 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40911 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
40912 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
40913 and define as weak alias of __fesetenv. Use libm_hidden_weak.
40914 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
40915 __fesetenv instead of fesetenv.
40916 (libc_feresetround_noex_ctx): Likewise.
40917 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
40918 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
40919 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
40920 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
40921 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
40922 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
40923 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
40924 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
40925 (__feupdateenv): Likewise.
40926 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
40927 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40928 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
40929 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
40930
40931 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
40932
40933 [BZ #17806]
40934 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
40935 addresses have been freed.
40936
40937 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
40938
40939 * resolv/res_init.c (__res_vinit): Improve comments about nserv
40940 and nservall.
40941
40942 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
40943
40944 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
40945 Clean up check_pf allocation pattern. addresses
40946
40947 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40948
40949 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
40950 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
40951 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
40952 * nptl/pthread_exit.c (__pthread_exit): Likewise.
40953 * nptl/pthread_join.c (pthread_join): Likewise.
40954 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
40955 * sysdeps/posix/waitid.c (__waitid): Likewise.
40956 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
40957 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
40958 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
40959 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
40960 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
40961 Likewise.
40962 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
40963 (__libc_pread64): Likewise.
40964 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
40965 (__libc_pwrite): Likewise.
40966 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
40967 (__libc_pwrite64): Likewsie.
40968 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
40969 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
40970 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
40971 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
40972 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
40973 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
40974 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
40975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
40976 Likewise.
40977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40978 (__libc_pread64): Likewise.
40979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
40980 Likewise.
40981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40982 (__libc_pwrite64): Likewise.
40983 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
40984 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
40985 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
40986 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
40987 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
40988 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
40989 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
40990 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
40991 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
40992 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
40993 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
40994 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
40995 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
40996 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
40997 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
40998 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
40999 Likewise.
41000
41001 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
41002
41003 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
41004 (CFLAGS-test-double.c): Likewise.
41005 (CFLAGS-test-ldouble.c): Likewise.
41006 (CPPFLAGS-test-ifloat.c): Likewise.
41007 (CPPFLAGS-test-idouble.c): Likewise.
41008 (CPPFLAGS-test-ildoubl.c): Likewise.
41009 (CFLAGS-test-test-fenv.c): Remove variable.
41010 (CFLAGS-test-misc.c): Likewise.
41011
41012 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
41013
41014 [BZ #17797]
41015 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
41016 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
41017 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
41018 CLOCKS_PER_SEC == 1000000.
41019 * time/clocktest.c (main): Replace %ld with %jd and cast to
41020 intmax_t.
41021
41022 2015-01-05 Roland McGrath <roland@hack.frob.com>
41023
41024 * sysdeps/generic/unwind-resume.h: New file.
41025 * sysdeps/gnu/unwind-resume.c: Include it.
41026 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
41027 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
41028 argument list.
41029 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
41030 global rather than static.
41031 (_Unwind_Resume): Update user.
41032 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
41033 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
41034 rather than static. Add __attribute__ ((cold)).
41035 (_Unwind_Resume, __gcc_personality_v0): Update callers.
41036 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
41037 * sysdeps/arm/arm-unwind-resume.S: New file.
41038 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
41039 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
41040 * sysdeps/arm/Makefile [$(subdir) = csu]
41041 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
41042 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
41043 Add rt-arm-unwind-resume.
41044 [$(subdir) = nptl]
41045 (libpthread-sysdep_routines, libpthread-shared-only-routines):
41046 Add pt-arm-unwind-resume.
41047 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
41048 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
41049
41050 2015-01-05 Joseph Myers <joseph@codesourcery.com>
41051
41052 [BZ #17748]
41053 * include/fenv.h (__feholdexcept): Declare. Use
41054 libm_hidden_proto.
41055 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
41056 define as weak alias of __feholdexcept. Use libm_hidden_weak.
41057 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41058 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
41059 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
41060 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
41061 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
41062 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41063 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
41064 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
41065 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41066 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
41067 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
41068 (feholdexcept): Likewise.
41069 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41070 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41071 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41072 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41073 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
41074 __feholdexcept instead of feholdexcept.
41075 (default_libc_feholdexcept_setround): Likewise.
41076
41077 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
41078
41079 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
41080 to avoid using stl/str to align destination.
41081
41082 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
41083
41084 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
41085
41086 2015-01-05 Joseph Myers <joseph@codesourcery.com>
41087
41088 [BZ #17796]
41089 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
41090 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
41091 Define as weak alias not strong alias.
41092
41093 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
41094
41095 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
41096 bltzal with addiupc.
41097 (RTLD_START): Ditto.
41098
41099 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
41100
41101 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
41102 for __vdso_* functions in declarations.
41103 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
41104 definitions.
41105 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
41106 INTERNAL_VSYSCALL): Use struct return types to check for error.
41107
41108 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
41109 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
41110 function with cast from llround().
41111 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
41112 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
41113 Define.
41114
41115 2015-01-05 Joseph Myers <joseph@codesourcery.com>
41116
41117 [BZ #17793]
41118 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
41119 Define as weak alias not strong alias.
41120
41121 [BZ #17635]
41122 * ctype/ctype-c99.c: New file. isblank implementation moved from
41123 ...
41124 * ctype/ctype-extn.c: ... here.
41125 (__isblank_l): Move to ...
41126 * ctype/ctype-c99_l.c: ... here. New file.
41127 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
41128 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
41129 Remove variable.
41130 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
41131 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
41132 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
41133 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
41134 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
41135
41136 [BZ #17777]
41137 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
41138 (posix_fadvise64): Define as weak alias not strong alias.
41139 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41140 (posix_fallocate64): Likewise.
41141 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
41142 Remove variable.
41143 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
41144 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
41145 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
41146 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
41147 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
41148
41149 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
41150
41151 [BZ #16191]
41152 * NEWS: Mention bug fix.
41153 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
41154 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
41155 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
41156 (HOST_STACK_END_ADDR): Likewise.
41157
41158 2015-01-02 Joseph Myers <joseph@codesourcery.com>
41159
41160 [BZ #17748]
41161 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
41162 * math/fegetround.c (fegetround): Rename to __fegetround and
41163 define as weak alias of __fegetround. Use libm_hidden_weak.
41164 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
41165 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
41166 * sysdeps/arm/fegetround.c (fegetround): Likewise.
41167 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
41168 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41169 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
41170 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
41171 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
41172 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41173 Undefine after rather than before function definition; use
41174 parentheses around function name in definition.
41175 (__fegetround): Also undefine macro after function definition.
41176 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
41177 __fegetround and define as weak alias of __fegetround. Use
41178 libm_hidden_weak. Do not undefine as macro.
41179 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41180 Likewise.
41181 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
41182 __fegetround and define as weak alias of __fegetround. Use
41183 libm_hidden_weak.
41184 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41185 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41186 * sysdeps/tile/math_private.h (__fegetround): New inline function.
41187 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
41188 __fegetround and define as weak alias of __fegetround. Use
41189 libm_hidden_weak.
41190 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
41191 __fegetround instead of fegetround.
41192
41193 [BZ #17782]
41194 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
41195 Condition macro definition on [__USE_MISC].
41196
41197 [BZ #17781]
41198 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
41199 (struct sigaction): Change type of sa_flags field to int.
41200
41201 [BZ #17780]
41202 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
41203 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
41204 __glibc_reserved0.
41205
41206 * nptl/version.c (banner): Use single year in copyright notice.
41207
41208 * NEWS: Update copyright dates.
41209 * catgets/gencat.c (print_version): Likewise.
41210 * csu/version.c (banner): Likewise.
41211 * debug/catchsegv.sh: Likewise.
41212 * debug/pcprofiledump.c (print_version): Likewise.
41213 * debug/xtrace.sh (do_version): Likewise.
41214 * elf/ldconfig.c (print_version): Likewise.
41215 * elf/ldd.bash.in: Likewise.
41216 * elf/pldd.c (print_version): Likewise.
41217 * elf/sotruss.sh: Likewise.
41218 * elf/sprof.c (print_version): Likewise.
41219 * iconv/iconv_prog.c (print_version): Likewise.
41220 * iconv/iconvconfig.c (print_version): Likewise.
41221 * locale/programs/locale.c (print_version): Likewise.
41222 * locale/programs/localedef.c (print_version): Likewise.
41223 * login/programs/pt_chown.c (print_version): Likewise.
41224 * malloc/memusage.sh (do_version): Likewise.
41225 * malloc/memusagestat.c (print_version): Likewise.
41226 * malloc/mtrace.pl: Likewise.
41227 * manual/libc.texinfo: Likewise.
41228 * nptl/version.c (banner): Likewise.
41229 * nscd/nscd.c (print_version): Likewise.
41230 * nss/getent.c (print_version): Likewise.
41231 * nss/makedb.c (print_version): Likewise.
41232 * posix/getconf.c (main): Likewise.
41233 * scripts/test-installation.pl: Likewise.
41234 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
41235
41236 2015-01-02 Will Newton <will.newton@linaro.org>
41237
41238 * sysdeps/arm/armv7/configure: Removed.
41239 * sysdeps/arm/armv7/configure.ac: Likewise.
41240
41241 2015-01-02 Joseph Myers <joseph@codesourcery.com>
41242
41243 * All files with FSF copyright notices: Update copyright dates
41244 using scripts/update-copyrights.
41245 * intl/plural.c: Regenerated.
41246 * locale/programs/charmap-kw.h: Likewise.
41247 * locale/programs/locfile-kw.h: Likewise.
41248
41249 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
41250
41251 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
41252
41253 2014-12-31 Joseph Myers <joseph@codesourcery.com>
41254
41255 [BZ #17748]
41256 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
41257 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
41258 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41259 and define as weak alias of __fegetenv. Use libm_hidden_weak.
41260 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41261 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
41262 define as weak alias of __fegetenv. Use libm_hidden_weak.
41263 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
41264 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41265 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41266 define as weak alias of __fegetenv. Use libm_hidden_weak.
41267 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41268 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41269 define as weak alias of __fegetenv. Use libm_hidden_weak.
41270 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
41271 libm_hidden_def.
41272 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
41273 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
41274 Likewise.
41275 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41276 define as weak alias of __fegetenv. Use libm_hidden_weak.
41277 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41278 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41279 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
41280 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41281 and define as weak alias of __fegetenv. Use libm_hidden_weak.
41282 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
41283 __fegetenv instead of fegetenv.
41284 (libc_feholdsetround_noex_ctx): Likewise.
41285
41286 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
41287
41288 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
41289 (Elf_MIPS_ABIFlags_v0): New structure.
41290 (EF_MIPS_FP64): Define.
41291 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
41292 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
41293 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
41294 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
41295 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
41296 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
41297 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
41298 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
41299 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
41300 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
41301 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
41302 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
41303 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
41304 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
41305 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
41306 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
41307 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
41308 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
41309 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
41310 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
41311 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
41312 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
41313 field.
41314 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
41315 EF_MIPS_FP64.
41316 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
41317 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
41318 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
41319 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
41320 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
41321 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
41322 * sysdeps/mips/tst-abi-interlink.c: Likewise.
41323 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
41324 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
41325 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
41326 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
41327 record the current FP ABI extension.
41328 (mips-mode-switch): Define to show if kernel headers support mode
41329 switching.
41330 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
41331 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
41332 supported SYSV ABI version to 3.
41333 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
41334 feature.
41335
41336 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41337 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41338
41339 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
41340 path.
41341 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
41342
41343 2014-12-31 Joseph Myers <joseph@codesourcery.com>
41344
41345 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
41346 __fegetround and redefine to call __fegetround. Remove condition
41347 on [!__NO_MATH_INLINES].
41348 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
41349 function.
41350 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
41351 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41352 Remove macro.
41353 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
41354 instead of <fenv_libc.h>.
41355 (__llrintl): Call fegetround instead of __fegetround.
41356 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
41357 instead of <fenv_libc.h>.
41358 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41359 (__lrintl): Call fegetround instead of __fegetround.
41360 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
41361 instead of <fenv_libc.h>.
41362 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41363 (__rintl): Call fegetround instead of __fegetround.
41364
41365 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41366
41367 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
41368 arrays.
41369
41370 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
41371
41372 [BZ #17775]
41373 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
41374 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
41375 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
41376
41377 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
41378
41379 * sysdeps/i386/tls-macros.h: Include <features.h>.
41380 (TLS_LE): Use non-PIC version for GCC >= 5.0.
41381 (TLS_IE): Likewise.
41382 (TLS_LD): Likewise.
41383 (TLS_GD): Likewise.
41384 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
41385 define for GCC >= 5.0.
41386
41387 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
41388
41389 * math/test-fenv.c (test_single_exception, set_single_exc,
41390 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
41391 feexcp_mask_test, feenable_test, fe_single_test): Add
41392 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
41393 case where they are not used.
41394 * math/libm-test.inc: Likewise.
41395 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
41396 unused in the absence of FP rounding/exception support.
41397 * stdio-common/tst-printf-round.c: Likewise.
41398 * stdlib/tst-strtod-round.c: Likewise.
41399 * stdlib/tst-strtod-underflow.c: Likewise.
41400
41401 2014-12-30 Joseph Myers <joseph@codesourcery.com>
41402
41403 [BZ #17723]
41404 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
41405 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
41406 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41407 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41408 libm_hidden_weak.
41409 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
41410 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41411 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
41412 libm_hidden_def.
41413 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41414 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41415 libm_hidden_weak.
41416 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
41417 Likewise.
41418 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
41419 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41420 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41421 libm_hidden_weak.
41422 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41423 libm_hidden_def.
41424 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41425 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
41426 (__feraiseexcept): Likewise.
41427 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41428 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41429 libm_hidden_weak.
41430 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41431 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41432 libm_hidden_def.
41433 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
41434 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
41435 Use libm_hidden_def.
41436 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
41437 libm_hidden_def.
41438 (feraiseexcept): Define as weak not strong alias. Use
41439 libm_hidden_weak.
41440 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
41441 New inline function. Factored out of ...
41442 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
41443 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
41444 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
41445 feraiseexcept.
41446 * math/w_acos.c (__acos): Likewise.
41447 * math/w_asin.c (__asin): Likewise.
41448 * math/w_ilogb.c (__ilogb): Likewise.
41449 * math/w_j0.c (y0): Likewise.
41450 * math/w_j1.c (y1): Likewise.
41451 * math/w_jn.c (yn): Likewise.
41452 * math/w_log.c (__log): Likewise.
41453 * math/w_log10.c (__log10): Likewise.
41454 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
41455 * sysdeps/aarch64/fpu/math_private.h
41456 (libc_feupdateenv_test_aarch64): Likewise.
41457 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41458 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
41459 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
41460 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41461 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41462 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41463 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
41464 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41465 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41466 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41467
41468 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
41469
41470 [BZ #17732]
41471 * io/test-utime.c (main): Replace %ld with %jd and cast to
41472 intmax_t.
41473 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
41474 * nptl/tst-mutex5.c: Include <stdint.h>.
41475 (do_test): Replace %ld with %jd and cast to intmax_t.
41476 * posix/tst-regex.c (run_test): Likewise.
41477 (run_test_backwards): Likewise.
41478 * rt/tst-clock.c: Include <stdint.h>.
41479 (clock_test): Replace %ld with %jd and cast to intmax_t.
41480 * rt/tst-cpuclock1.c: Include <stdint.h>.
41481 (do_test): Replace %lu with %ju and cast to uintmax_t.
41482 * rt/tst-cpuclock2.c: Include <stdint.h>.
41483 (do_test): Replace %lu with %ju and cast to uintmax_t.
41484 * rt/tst-mqueue1.c: Include <stdint.h>.
41485 (check_attrs): Replace %ld with %jd and cast to intmax_t.
41486 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
41487 intmax_t.
41488 * rt/tst-mqueue4.c (do_test): Likewise.
41489 * rt/tst-timer4.c: Include <stdint.h>.
41490 (check_ts): Replace %ld with %jd and cast to intmax_t.
41491 (do_test): Likewise.
41492 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
41493 and cast to intmax_t.
41494 * sysdeps/pthread/tst-timer.c (main): Likewise.
41495 * time/clocktest.c (main): Likewise.
41496 * time/tst-posixtz.c (do_test): Likewise.
41497 * timezone/tst-timezone.c (main): Likewise.
41498
41499 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
41500 H.J. Lu <hongjiu.lu@intel.com>
41501
41502 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
41503 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
41504 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
41505 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
41506 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
41507 version if bit_Fast_Unaligned_Load is set.
41508 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41509 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41510 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41511 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41512 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41513 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41514 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41515 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
41516 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
41517 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
41518 to 4.
41519 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
41520 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
41521 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
41522 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
41523
41524 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
41525
41526 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
41527 instead of #if to avoid a Wundef warning.
41528 * stdlib/tst-limits.c (do_test): Likewise.
41529
41530 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
41531 parallel other exception macros.
41532 (fegetenv): Convert from macro to extern inline so that it applies
41533 retroactively to inline functions already seen by the compiler.
41534 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
41535
41536 * posix/Makefile (before-compile): Use $(objpfx) for
41537 posix-conf-vars-def.h.
41538
41539 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41540
41541 * posix/getconf.c (main): Use size_t for type of I.
41542 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
41543 NSPEC.
41544
41545 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
41546 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
41547 * posix/posix-envs.def: Likewise.
41548 * sysdeps/posix/sysconf.c: Likewise.
41549 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
41550 (specs): Remove array.
41551 * scripts/gen-posix-conf-vars.awk: Support generation of specs
41552 array.
41553
41554 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
41555 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
41556 (__sysconf): Use CONF_IS_* macros.
41557
41558 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
41559 ($(objpfx)posix-conf-vars-def.h): New target.
41560 * posix/posix-conf-vars.list: New file.
41561 * posix/posix-conf-vars.h: New file.
41562 * posix/confstr.c: Include posix-conf-vars.h.
41563 (confstr): Use CONF_IS_* macros.
41564 * posix/posix-envs.def: Include posix-conf-vars.h. Use
41565 CONF_IS_* macros.
41566 * scripts/gen-posix-conf-vars.awk: New file.
41567
41568 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
41569
41570 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
41571 fegetround): Add no-op macros to avoid linknamespace issues.
41572
41573 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
41574 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
41575
41576 * sysdeps/unix/sysv/linux/tile/sysdep.h
41577 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
41578 assembly-specific section to avoid a redefinition warning.
41579
41580 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
41581 long before casting to pointer to avoid a cast warning.
41582
41583 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
41584
41585 * sysdeps/tile/tilegx/Implies: New file.
41586
41587 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
41588
41589 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
41590
41591 2014-12-23 Florian Weimer <fweimer@redhat.com>
41592
41593 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
41594
41595 2014-12-22 Joseph Myers <joseph@codesourcery.com>
41596
41597 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
41598 not define.
41599 * sysdeps/unix/sysv/linux/utimes.c: Do not include
41600 <kernel-features.h>.
41601 (__utimes) [__NR_utimes]: Make code unconditional.
41602 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
41603 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41604 (__ASSUME_UTIMES): Do not undefine.
41605 * sysdeps/unix/sysv/linux/tile/kernel-features.h
41606 (__ASSUME_UTIMES): Likewise.
41607 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41608 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
41609 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
41610 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
41611
41612 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
41613
41614 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
41615
41616 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
41617
41618 [BZ #17747]
41619 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
41620 alias to weak alias for j0l, y0l.
41621 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
41622 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
41623
41624 [BZ #17746]
41625 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
41626 conversion.
41627
41628 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
41629
41630 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
41631 to zero if not already defined.
41632
41633 2014-12-22 Joseph Myers <joseph@codesourcery.com>
41634
41635 [BZ #17724]
41636 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
41637 (__kernel_standard_f): Remove. Moved to k_standardf.c.
41638 (__kernel_standard_l): Remove. Moved to k_standardl.c with
41639 (char *) casts added.
41640 * sysdeps/ieee754/k_standardf.c: New file.
41641 * sysdeps/ieee754/k_standardl.c: Likewise.
41642 * math/Makefile (libm-support): Remove k_standard.
41643 (libm-calls): Add k_standard.
41644
41645 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41646
41647 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
41648 Optimize to avoid an unnecessary FPCR read.
41649
41650 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41651
41652 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
41653 Optimize to reduce FPCR/FPSR accesses.
41654
41655 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41656
41657 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
41658 Call libc_fetestexcept_aarch64.
41659
41660 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41661
41662 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
41663 Call libc_fesetround_aarch64.
41664
41665 2014-12-22 Joseph Myers <joseph@codesourcery.com>
41666
41667 [BZ #17733]
41668 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
41669 (__bind): Do not define as weak alias.
41670 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
41671 define.
41672 (__getsockname): Do not define as weak alias.
41673
41674 2014-12-22 Will Newton <will.newton@linaro.org>
41675
41676 * manual/install.texi: Document that we require bison 2.7
41677 or above.
41678 * INSTALL: Regenerate.
41679 * configure.ac: Use AC_CHECK_PROG_VER instead of
41680 AC_PATH_PROG when checking for bison and check for
41681 version 2.7 or above.
41682 * configure: Regenerate.
41683
41684 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
41685
41686 [BZ #17745]
41687 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
41688 * sysdeps/tile/ffsll.c (ffsll): To here.
41689
41690 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
41691
41692 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
41693
41694 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
41695 if not defined.
41696 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
41697 definition.
41698 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
41699 hidden ___tls_get_addr.
41700 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
41701 hidden __tls_get_addr.
41702 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
41703 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
41704 Likewise.
41705
41706 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
41707
41708 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
41709 _dl_init call.
41710
41711 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
41712
41713 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
41714 from "call _dl_init@PLT".
41715 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
41716
41717 2014-12-21 Anders Kaseorg <andersk@mit.edu>
41718
41719 * manual/search.texi: (Array Sort Function): Clarify stable sorting
41720 guarantees.
41721
41722 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
41723
41724 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
41725
41726 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
41727
41728 [BZ #17744]
41729 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
41730 strnlen.
41731
41732 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
41733
41734 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
41735 of multu on MIPSr6.
41736 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
41737 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
41738 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
41739 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
41740 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
41741
41742 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
41743
41744 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
41745 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
41746 (PTR_SUBU): Use subu for mips32r6/mips64r6.
41747 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
41748 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
41749 mips32r6/mips64r6.
41750 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
41751
41752 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
41753
41754 * string/strncat.c (STRNCAT): Simplify implementation.
41755
41756 2014-12-19 David S. Miller <davem@davemloft.net>
41757
41758 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
41759 access the quad as both a long double and as a series of 4 words.
41760
41761 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
41762 link_map->l_info array access.
41763
41764 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
41765
41766 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
41767
41768 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
41769 * math/atest-exp2.c (TIMEOUT): Likewise.
41770 * math/atest-sincos.c (TIMEOUT): Likewise.
41771
41772 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
41773
41774 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
41775 -Wno-error with -fno-builtin-lround.
41776
41777 2014-12-19 Torvald Riegel <triegel@redhat.com>
41778
41779 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
41780 Contains futex constants and functions moved over from ...
41781 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
41782 <lowlevellock-futex.h>.
41783 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
41784 (lll_timedwait_tid): Add comments and parentheses around macro
41785 arguments.
41786
41787 2014-12-19 Torvald Riegel <triegel@redhat.com>
41788
41789 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
41790 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
41791 (__lll_private_flag): Remove.
41792 (lll_futex_wait): Likewise.
41793 (lll_futex_timed_wait): Likewise.
41794 (lll_futex_wake): Likewise.
41795 (lll_futex_requeue): Likewise.
41796 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
41797 (__lll_timedwait_tid): Spell out argument names.
41798 (lll_timedwait_tid): Add comments and parentheses around macro
41799 arguments.
41800 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
41801 LLL_SHARED and LLL_PRIVATE usable from assembly code.
41802
41803 2014-12-19 Torvald Riegel <triegel@redhat.com>
41804
41805 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
41806 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
41807 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41808 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
41809 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
41810 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
41811 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
41812 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
41813 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
41814 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
41815 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
41816 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
41817 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
41818 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
41819 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
41820 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
41821 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
41822 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
41823 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
41824
41825 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
41826
41827 * sysdeps/x86_64/x32/Makefile: New file.
41828
41829 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
41830
41831 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
41832 1L with (mp_limb_t) 1.
41833
41834 2014-12-17 Roland McGrath <roland@hack.frob.com>
41835
41836 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
41837 * nptl/libc_pthread_init.c: ... here.
41838 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
41839 * nptl/register-atfork.c: ... here.
41840
41841 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
41842 Use pthread_sigmask rather than INTERNAL_SYSCALL.
41843 Use assert_perror to check its return value.
41844 (__gai_create_helper_thread): Likewise.
41845
41846 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
41847
41848 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
41849
41850 2014-12-17 Joseph Myers <joseph@codesourcery.com>
41851
41852 [BZ #17725]
41853 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
41854 __profil_counter.
41855 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
41856 Likewise.
41857 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
41858 Likewise.
41859 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
41860 Likewise.
41861 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
41862 (profil_counter): Likewise.
41863 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
41864 (profil_counter): Likewise.
41865 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
41866 Likewise.
41867 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
41868 Likewise.
41869 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
41870 (profil_counter): Likewise.
41871 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
41872 Likewise.
41873 [!__profil_counter] (profil_counter): Define as weak alias of
41874 __profil_counter.
41875 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
41876 (profil_counter): Rename to __profil_counter.
41877 [!__profil_counter] (profil_counter): Define as weak alias of
41878 __profil_counter.
41879 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
41880 (profil_counter): Rename to __profil_counter.
41881 [!__profil_counter] (profil_counter): Define as weak alias of
41882 __profil_counter.
41883 * sysdeps/posix/profil.c: Update comment referring to
41884 profil_counter.
41885 (__profil): Use __profil_counter instead of profil_counter.
41886 * sysdeps/posix/sprofil.c (profil_counter): Rename to
41887 __profil_counter. Use __profil_counter_ushort and
41888 __profil_counter_uint in definitions.
41889 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
41890 instead of profil_counter_uint and profil_counter_ushort.
41891
41892 [BZ #17722]
41893 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
41894 define as weak alias of __inet_makeaddr.
41895 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
41896 as weak alias of __inet_addr.
41897 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
41898 as weak alias of __inet_pton. Use libc_hidden_weak.
41899 * include/arpa/inet.h (__inet_pton): Declare. Use
41900 libc_hidden_proto.
41901 (inet_makeaddr): Don't use libc_hidden_proto.
41902 (__inet_makeaddr): Declare. Use libc_hidden_proto.
41903 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
41904 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
41905 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
41906 Remove variable.
41907 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
41908 (test-xfail-POSIX/time.h/linknamespace): Likewise.
41909
41910 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
41911
41912 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
41913
41914 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
41915
41916 * stdio-common/bug-vfprintf-nargs.c (do_test):
41917 Cast value to intptr_t to avoid format warning
41918 for usage with PRIdPTR printing macro.
41919
41920 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
41921
41922 * libio/tst-widetext.c (do_test):
41923 Use format type %td instead of %Zd for ptrdiff_t
41924 in order to avoid format warning.
41925
41926 2014-12-17 Andreas Schwab <schwab@suse.de>
41927
41928 * nscd/mem.c (gc): Add size_t cast to match printf format.
41929
41930 2014-12-16 Roland McGrath <roland@hack.frob.com>
41931
41932 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
41933 (init): Apply PTR_MANGLE to pointers before storing them.
41934 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
41935 before using them.
41936
41937 2014-12-16 Joseph Myers <joseph@codesourcery.com>
41938
41939 [BZ #17719]
41940 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
41941 define as weak alias of __memrchr.
41942 (__memrchr): Do not define as strong alias of memrchr.
41943 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
41944 Remove variable.
41945 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
41946 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
41947 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
41948
41949 [BZ #17717]
41950 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
41951 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
41952 (if_indextoname): Rename to __if_indextoname and define as weak
41953 alias of __if_indextoname. Use libc_hidden_weak.
41954 (if_freenameindex): Rename to __if_freenameindex and define as
41955 weak alias of __if_freenameindex.
41956 (if_nameindex): Rename to __if_nameindex and define as weak alias
41957 of __if_nameindex.
41958 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
41959 __if_nametoindex and define as weak alias of __if_nametoindex.
41960 Use libc_hidden_weak.
41961 (if_freenameindex): Rename to __if_freenameindex and define as
41962 weak alias of __if_freenameindex.
41963 (if_nameindex): Rename to __if_nameindex and define as weak alias
41964 of __if_nameindex.
41965 (if_indextoname): Rename to __if_indextoname and define as weak
41966 alias of __if_indextoname. Use libc_hidden_weak.
41967 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
41968 __if_nametoindex and define as weak alias of __if_nametoindex.
41969 Use libc_hidden_weak.
41970 (if_freenameindex): Rename to __if_freenameindex and define as
41971 weak alias of __if_freenameindex. Use libc_hidden_weak.
41972 (if_nameindex_netlink): Use __if_freenameindex instead of
41973 if_freenameindex.
41974 (if_nameindex): Rename to __if_nameindex and define as weak alias
41975 of __if_nameindex. Use libc_hidden_weak.
41976 (if_indextoname): Rename to __if_indextoname and define as weak
41977 alias of __if_indextoname. Use libc_hidden_weak.
41978 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
41979 libc_hidden_proto.
41980 [!_ISOMAC] (__if_freenameindex): Likewise.
41981 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
41982 if_nametoindex.
41983 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
41984 variable.
41985 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
41986 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
41987 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
41988 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
41989 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
41990 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
41991 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
41992
41993 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
41994 Remove variable.
41995 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
41996 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
41997
41998 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
41999
42000 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
42001 subscript above bounds'
42002
42003 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
42004 bounds.
42005
42006 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
42007
42008 * libio/tst-fopenloc.c: Use test-skeleton.c.
42009
42010 * stdlib/tst-bsearch.c: Use test-skeleton.c.
42011 (entry): Rename to ITEM.
42012 (do_test, comp): Adjust.
42013
42014 * stdio-common/tst-fseek.c: Use test-skeleton.c.
42015
42016 2014-12-16 Torvald Riegel <triegel@redhat.com>
42017
42018 * string/tester.c: Include <libc-internal.h>.
42019 (test_memset): Ignore -Wmemset-transposed-args.
42020
42021 2014-12-16 Torvald Riegel <triegel@redhat.com>
42022
42023 * misc/tst-mntent2.c (do_test): Fix warning.
42024
42025 2014-12-16 Torvald Riegel <triegel@redhat.com>
42026
42027 * elf/tst-unique4lib.cc(a): Mark as used.
42028
42029 2014-12-16 Florian Weimer <fweimer@redhat.com>
42030
42031 [BZ #17630]
42032 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
42033 names.
42034
42035 2014-12-16 Allan McRae <allan@archlinux.org>
42036
42037 * stdio-common/Makefile (tests): Re-add bug26.
42038
42039 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
42040
42041 [BZ #17657]
42042 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
42043 static array.
42044
42045 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
42046
42047 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
42048 (__lll_lock_wait): Likewise.
42049 (__lll_timedlock_wait): Likewise.
42050 (__lll_timedwait_tid): Likewise.
42051 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
42052 (__lll_robust_timedlock_wait): Likewise.
42053 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
42054 (lll_cond_trylock): Likewise.
42055 (__lll_lock): Likewise.
42056 (__lll_robust_lock): Likewise.
42057 (__lll_cond_lock): Likewise.
42058 (lll_robust_cond_lock): Likewise.
42059 (__lll_timedlock): Likewise.
42060 (__lll_robust_timedlock): Likewise.
42061 (__lll_unlock): Likewise.
42062 (__lll_robust_unlock): Likewise.
42063 (lll_wait_tid): Likewise.
42064 (lll_timedwait_tid): Likewise.
42065
42066 2014-12-15 Torvald Riegel <triegel@redhat.com>
42067
42068 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
42069
42070 2014-12-15 Torvald Riegel <triegel@redhat.com>
42071
42072 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
42073
42074 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
42075
42076 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
42077 * stdio-common/tst-sprintf.c: Likewise.
42078
42079 2014-12-15 Torvald Riegel <triegel@redhat.com>
42080
42081 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
42082
42083 2014-12-15 Jeff Law <law@redhat.com>
42084
42085 [BZ #16617]
42086 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
42087 on the heap. (CVE-2012-3406)
42088 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
42089 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
42090 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
42091
42092 2014-12-15 Will Newton <will.newton@linaro.org>
42093
42094 * manual/install.texi: Bump required version of texinfo
42095 to 4.7 from 4.5.
42096 * INSTALL: Regenerated.
42097 * configure.ac: Check for makeinfo version 4.7 and above.
42098 * configure: Regenerated.
42099
42100 2014-12-12 Roland McGrath <roland@hack.frob.com>
42101
42102 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
42103 PREFIX, string constant to insert between directory and name.
42104 * sysdeps/posix/shm_open.c: Update caller.
42105 * sysdeps/posix/shm_unlink.c: Likewise.
42106 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
42107 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
42108 (SEM_SHM_PREFIX): New macro.
42109 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
42110 [$(have-thread-library) = no].
42111 * nptl/Makefile (libpthread-routines): Add shm-directory.
42112 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
42113 * sysdeps/nptl/shm-directory.h: New file.
42114 * sysdeps/posix/shm-directory.c
42115 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
42116 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
42117 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
42118 INTERNAL_SYSCALL.
42119 (__where_is_shmfs): Function removed.
42120 (mountpoint, defaultmount, defaultdir, __namedsem_once):
42121 Variables removed.
42122 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
42123 Use SHM_GET_NAME.
42124 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
42125
42126 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
42127 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
42128 unconditional for use inside libpthread.
42129 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
42130
42131 2014-12-12 Roland McGrath <roland@hack.frob.com>
42132
42133 * nptl/pthread_getaffinity.c: New file.
42134 * nptl/pthread_setaffinity.c: New file.
42135 * nptl/pthread_getname.c: New file.
42136 * nptl/pthread_setname.c: New file.
42137
42138 * nptl/pthread_create.c (START_THREAD_DEFN)
42139 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
42140
42141 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
42142 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42143
42144 * resolv/res_send.c (send_vc): Disable warning resplen may
42145 be used uninitialized.
42146
42147 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
42148
42149 * nptl/tst-mutex6.c
42150 (ATTR_NULL): New define checks ATTR against NULL.
42151 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
42152 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
42153
42154 2014-12-11 James Lemke <jwlemke@codesourcery.com>
42155
42156 [BZ #17581]
42157 * malloc/hooks.c
42158 (mem2mem_check): Revert my previous change.
42159 (malloc_check_get_size): Revert my previous change.
42160 (mem2chunk_check): Revert my previous change.
42161
42162 2014-12-11 Roland McGrath <roland@hack.frob.com>
42163
42164 * sysdeps/posix/shm-directory.c: New file.
42165 * sysdeps/posix/shm-directory.h: New file.
42166 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
42167 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
42168 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
42169 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
42170 Transmute EPERM to EACCES.
42171 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
42172 from ...
42173 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
42174 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
42175
42176 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42177
42178 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
42179 pointer and cast to uintptr_t.
42180 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
42181 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
42182 Add cast to avoid warning.
42183 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
42184
42185 2014-12-11 Joseph Myers <joseph@codesourcery.com>
42186
42187 * nptl/semaphore.h: Move to ...
42188 * sysdeps/pthread/semaphore.h: ... here.
42189 * Makefile (installed-headers): Change nptl/semaphore.h to
42190 sysdeps/pthread/semaphore.h.
42191
42192 2014-12-11 Roland McGrath <roland@hack.frob.com>
42193
42194 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
42195 generated error format strings.
42196
42197 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
42198 -Wformat-extra-args warnings for scanf formats.
42199 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
42200 test of zero-length format (duh).
42201 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
42202 corner-case scanf format test.
42203 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
42204 generated fprintf format string.
42205 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
42206 corner-case sprintf format tests.
42207 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
42208 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
42209 -Wformat-extra-args warnings throughout.
42210 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
42211 (CFLAGS-scanf4.c): Likewise.
42212 (CFLAGS-scanf7.c): Likewise.
42213 (CFLAGS-tst-sprintf.c): Likewise.
42214 (CFLAGS-tst-printf.c): Likewise.
42215 (CFLAGS-tst-printfsz.c): Likewise.
42216
42217 2014-12-11 Joseph Myers <joseph@codesourcery.com>
42218
42219 * include/cpio.h: New file.
42220 * include/fmtmsg.h: Likewise.
42221
42222 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
42223 corresponding format argument to size_t.
42224 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
42225 arguments.
42226 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
42227 corresponding format argument to size_t.
42228 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
42229 arguments.
42230 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
42231 corresponding format argument to size_t.
42232 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
42233 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
42234 (CFLAGS-tst-mbswcs2.c): Likewise.
42235 (CFLAGS-tst-mbswcs3.c): Likewise.
42236 (CFLAGS-tst-mbswcs4.c): Likewise.
42237 (CFLAGS-tst-mbswcs5.c): Likewise.
42238 (CFLAGS-tst-trans.c): Likewise.
42239
42240 2014-12-11 Roland McGrath <roland@hack.frob.com>
42241
42242 * posix/regexbug1.c (main): Use "%s" format with regerror results,
42243 rather than assuming they won't contain any '%'s.
42244
42245 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
42246
42247 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
42248 inhibit_loop_to_libcall to avoid recursive calls.
42249 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
42250 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
42251
42252 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
42253
42254 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
42255 prototype.
42256
42257 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
42258
42259 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
42260 integer value instead of boolean.
42261
42262 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
42263
42264 * malloc/malloc.c: Fix powerof2 check.
42265
42266 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
42267
42268 * locale/programs/locfile.h (maybe_swap_uint32):
42269 Remove inline and add unused attribute.
42270
42271 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
42272
42273 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
42274 Truncating assembler expression to a .long expression.
42275
42276 2014-12-11 Andreas Schwab <schwab@suse.de>
42277
42278 * elf/rtld.c (struct map_args): Constify str member.
42279 (do_preload): Constify fname argument.
42280
42281 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42282
42283 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
42284 constants definition.
42285
42286 2014-12-11 Andreas Schwab <schwab@suse.de>
42287
42288 [BZ #16657]
42289 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
42290 FORCE_ELISION instead of DO_ELISION.
42291 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
42292 Remove.
42293 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
42294 Likewise.
42295
42296 * iconvdata/gconv-modules: Remove duplicate entry.
42297
42298 2014-12-11 Will Newton <will.newton@linaro.org>
42299
42300 Merge gettext 0.19.3 into intl/.
42301
42302 This involves a number of cosmetic changes to comments
42303 and ANSI function definitions and prototypes throughout
42304 all the files. The gettext copyright header is used but
42305 with the date ranges taken from the glibc copy.
42306
42307 * NEWS: Add gettext merge to 2.21.
42308 * intl/bindtextdom.c: Switch to gettext copyright.
42309 Use ANSI definitions and prototypes.
42310 Use gl_* locking primitives rather than __libc_* ones.
42311 Use __builtin_expect rather than __glibc_likely/unlikely.
42312 * intl/dcgettext.c: Switch to gettext copyright.
42313 Use ANSI definitions and prototypes.
42314 * intl/dcigettext.c: Switch to gettext copyright.
42315 Use ANSI definitions and prototypes.
42316 (INTDIV0_RAISES_SIGFPE): New define.
42317 Use gl_* locking primitives rather than __libc_* ones.
42318 Include eval-plural.h instead of plural-eval.c.
42319 Use __builtin_expect rather than __glibc_likely/unlikely.
42320 * intl/dcngettext.c: Switch to gettext copyright.
42321 Use ANSI definitions and prototypes.
42322 * intl/dgettext.c: Likewise.
42323 * intl/dngettext.c: Likewise.
42324 * intl/plural-eval.c: Renamed to...
42325 * intl/eval-plural.h: ...this.
42326 * intl/explodename.c: Switch to gettext copyright.
42327 Use ANSI definitions and prototypes.
42328 (_nl_explode_name): Use strchr instead of __rawmemchr.
42329 * intl/finddomain.c: Switch to gettext copyright.
42330 Use ANSI definitions and prototypes.
42331 Use gl_* locking primitives rather than __libc_* ones.
42332 (_nl_find_domain): Use malloc rather than alloca for
42333 allocation of temporary locale name.
42334 * intl/gettext.c: Switch to gettext copyright.
42335 Use ANSI definitions and prototypes.
42336 * intl/gettextP.h: Switch to gettext copyright.
42337 Use ANSI definitions and prototypes.
42338 Use gl_* locking primitives rather than __libc_* ones.
42339 * intl/gmo.h: Switch to gettext copyright.
42340 (struct sysdep_string): Move struct segment_pair outside of
42341 struct definition.
42342 * intl/hash-string.c: Use ANSI definitions and prototypes.
42343 * intl/hash-string.h: Switch to gettext copyright.
42344 Use ANSI definitions and prototypes.
42345 * intl/l10nflist.c: Switch to gettext copyright.
42346 Use ANSI definitions and prototypes.
42347 (_nl_normalize_codeset): Avoid integer overflow.
42348 * intl/loadinfo.h: Switch to gettext copyright.
42349 Use ANSI definitions and prototypes.
42350 (LIBINTL_DLL_EXPORTED): New define.
42351 (PATH_SEPARATOR): New define.
42352 * intl/loadmsgcat.c: Switch to gettext copyright.
42353 * intl/localealias.c: Switch to gettext copyright.
42354 Use ANSI definitions and prototypes.
42355 (_nl_expand_alias): Use PATH_SEPARATOR.
42356 * intl/ngettext.c: Switch to gettext copyright.
42357 Use ANSI definitions and prototypes.
42358 * intl/plural-exp.c: Likewise.
42359 * intl/plural-exp.h: Switch to gettext copyright.
42360 Use ANSI definitions and prototypes.
42361 (struct expression): Move definition of enum operator outside
42362 of struct definition.
42363 * intl/plural.c: Regenerate.
42364 * intl/plural.y: Switch to gettext copyright.
42365 Use ANSI definitions and prototypes.
42366 Port to bison 3.0.
42367 * intl/textdomain.c: Switch to gettext copyright.
42368 Use ANSI definitions and prototypes.
42369 Use gl_* locking primitives rather than __libc_* ones.
42370
42371 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
42372
42373 * debug/warning-nop.c: Add used atrribute.
42374
42375 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42376
42377 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
42378
42379 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
42380 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
42381 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
42382
42383 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42384 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42385
42386 [BZ #17634]
42387 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
42388 Undefine after defining function. Define as weak alias of
42389 __wcschr. Use libc_hidden_weak.
42390 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
42391 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
42392 (libc_hidden_def): Also define __GI___wcschr alias.
42393 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
42394 __wcschr and define as weak alias of __wcschr.
42395 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
42396 __wcschr.
42397 [!WCSCHR] (DEFAULT_WCSCHR): Define.
42398 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
42399 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
42400 libc_hidden_weak. Do not use libc_hidden_def.
42401 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
42402 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
42403 __GI___wcschr alias.
42404 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
42405 [IS_IN (libc)] (wcschr): Define as macro expanding to
42406 __redirect_wcschr.
42407 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
42408 [IS_IN (libc)] (__wcschr_power6): Likewise.
42409 [IS_IN (libc)] (__wcschr_power7): Likewise.
42410 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
42411 instead of wcschr.
42412 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
42413 __libc_wcschr.
42414 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
42415 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
42416 __wcschr and define as weak alias of __wcschr. Use
42417 libc_hidden_builtin_def.
42418 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
42419 as weak alias of __wcschr. Use libc_hidden_weak.
42420 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
42421 wcschr.
42422 * time/era.c (_nl_init_era_entries): Likewise.
42423 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
42424 variable.
42425 (test-xfail-XPG3/time.h/linknamespace): Likewise.
42426 (test-xfail-XPG4/time.h/linknamespace): Likewise.
42427
42428 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42429
42430 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
42431 format for long int variable.
42432
42433 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
42434
42435 [BZ #10672]
42436 * manual/search.texi: (Array Sort Function): Remove claim how to make
42437 qsort stable.
42438
42439 2014-12-10 Andreas Schwab <schwab@suse.de>
42440
42441 [BZ #12847]
42442 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
42443 user-controlled locks.
42444
42445 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
42446
42447 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
42448 register.
42449
42450 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42451
42452 * configure.ac (--disable-werror): New configure option.
42453 (enable_werror): New AC_SUBST.
42454 * configure: Regenerated.
42455 * config.make.in (enable-werror): New variable.
42456 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
42457 -Wno-error=undef.
42458 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
42459 * manual/install.texi (Configuring and compiling): Document
42460 --disable-werror.
42461 * INSTALL: Regenerated.
42462 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
42463 (CFLAGS-tst-chk2.c): Likewise.
42464 (CFLAGS-tst-chk3.c): Likewise.
42465 (CFLAGS-tst-chk4.cc): Likewise.
42466 (CFLAGS-tst-chk5.cc): Likewise.
42467 (CFLAGS-tst-chk6.cc): Likewise.
42468 (CFLAGS-tst-lfschk1.c): Likewise.
42469 (CFLAGS-tst-lfschk2.c): Likewise.
42470 (CFLAGS-tst-lfschk3.c): Likewise.
42471 (CFLAGS-tst-lfschk4.cc): Likewise.
42472 (CFLAGS-tst-lfschk5.cc): Likewise.
42473 (CFLAGS-tst-lfschk6.cc): Likewise.
42474
42475 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
42476 (main): Disable -Wdeprecated-declarations around calls to
42477 register_printf_function.
42478
42479 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
42480 (do_test): Disable -Wdiv-by-zero around some calls to
42481 fwrite_unlocked and fread_unlocked.
42482
42483 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
42484 (DIAG_POP_NEEDS_COMMENT): Likewise.
42485 (_DIAG_STR1): Likewise.
42486 (_DIAG_STR): Likewise.
42487 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
42488 * stdio-common/bug21.c: Include <libc-internal.h>.
42489 (do_test): Disable -Wformat around call to sscanf.
42490 * stdio-common/scanf14.c: Include <libc-internal.h>.
42491 (main): Disable -Wformat around some calls to scanf functions.
42492
42493 2014-12-09 Torvald Riegel <triegel@redhat.com>
42494
42495 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
42496
42497 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42498
42499 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
42500 stack variable alignment.
42501
42502 2014-12-06 Joseph Myers <joseph@codesourcery.com>
42503
42504 [BZ #17682]
42505 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
42506 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
42507 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
42508 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
42509 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
42510 __getrlimit instead of getrlimit.
42511 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
42512 __gettimeofday instead of gettimeofday.
42513 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
42514 Likewise.
42515 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
42516 Likewise.
42517 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42518 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
42519 Remove variable.
42520 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
42521 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
42522
42523 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42524
42525 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
42526 for wide-character tests.
42527
42528 2014-12-04 Roland McGrath <roland@hack.frob.com>
42529
42530 * io/openat64.c: #include <libc-internal.h>
42531 (__openat64): Prototypify. Use ignore_value on MODE.
42532 * io/openat.c: Likewise.
42533 * misc/reboot.c: #include <libc-internal.h>
42534 (reboot): Prototypify. Use ignore_value on HOWTO.
42535 * misc/ptrace.c: #include <libc-internal.h>
42536 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
42537
42538 2014-12-04 Joseph Myers <joseph@codesourcery.com>
42539
42540 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
42541 XPG4, UNIX98 and XOPEN2K.
42542 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
42543 Remove variable.
42544 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
42545
42546 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42547
42548 * libio/fileops.c: Use ISO C style for function definitions.
42549 * libio/iofopen.c: Likewise.
42550 * libio/wfileops.c: Likewise.
42551
42552 [BZ #17653]
42553 * libio/fileops.c (_IO_new_file_underflow): Unset cached
42554 offset on EOF.
42555 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
42556 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
42557 (fgets_func): Function pointer to fgets and fgetws.
42558 (do_ftell_test): Add test to verify ftell value after read
42559 EOF.
42560 (do_test): Set fgets_func.
42561
42562 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
42563 O_TRUNC flag for w and w+ modes.
42564 (do_rewind_test): Likewise.
42565 (do_ftell_test): Likewise.
42566 (do_write_test): Likewise.
42567
42568 [BZ #17647]
42569 * libio/fileops.c (do_ftell): Seek only when there are
42570 unflushed writes.
42571 * libio/wfileops.c (do_ftell_wide): Likewise.
42572 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
42573 test case.
42574 (do_one_test): Call it.
42575
42576 2014-12-03 Joseph Myers <joseph@codesourcery.com>
42577
42578 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
42579 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
42580 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
42581 Remove variable.
42582 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
42583 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
42584 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
42585
42586 2014-12-02 Joseph Myers <joseph@codesourcery.com>
42587
42588 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
42589 Remove variable.
42590 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
42591
42592 [BZ #17668]
42593 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
42594 as weak alias of __getifaddrs. Use libc_hidden_weak.
42595 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42596 __freeifaddrs. Use libc_hidden_weak.
42597 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
42598 define as weak alias of __getifaddrs. Use libc_hidden_weak.
42599 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42600 __freeifaddrs. Use libc_hidden_weak.
42601 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
42602 __getifaddrs and define as weak alias of __getifaddrs. Use
42603 libc_hidden_weak.
42604 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42605 __freeifaddrs. Use libc_hidden_weak.
42606 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
42607 Remove variable.
42608 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
42609 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
42610
42611 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
42612
42613 [BZ #17601]
42614 * sysdeps/mips/start.S (__start): Use indirect jump to call
42615 __libc_start_main.
42616
42617 2014-12-02 Joseph Myers <joseph@codesourcery.com>
42618
42619 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
42620
42621 * nptl/tst-mutex1.c: Include <stdbool.h>.
42622 [!ATTR] (ATTR_NULL): New macro.
42623 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
42624 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
42625 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
42626
42627 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
42628 to char *.
42629
42630 [BZ #17665]
42631 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
42632 Change conditional to [__USE_MISC].
42633
42634 [BZ #17664]
42635 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
42636 fgets_unlocked.
42637 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
42638 __fgets_unlocked.
42639 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
42640 fgets_unlocked.
42641 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
42642 Remove variable.
42643 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
42644 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
42645 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
42646 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
42647 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
42648 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
42649 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
42650 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
42651 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
42652
42653 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
42654
42655 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42656
42657 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42658 Remove strpbrk objects.
42659 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42660 (__libc_ifunc_impl_list): Remove strpbrk implementation.
42661 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
42662 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
42663 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
42664 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
42665
42666 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42667 Remove strcspn objects.
42668 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42669 (__libc_ifunc_impl_list): Remove strcspn implementation.
42670 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
42671 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
42672 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
42673 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
42674
42675 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42676 Remove strspn objetcs.
42677 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42678 (__libc_ifunc_impl_list): Remove strspn implementation.
42679 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
42680 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
42681 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
42682 * sysdeps/powerpc/powerpc64/strspn.S: New file.
42683
42684 2014-12-01 James Lemke <jwlemke@codesourcery.com>
42685
42686 [BZ #17581]
42687 * malloc/hooks.c
42688 (mem2mem_check): Add a terminator to the chain of checking blocks.
42689 (malloc_check_get_size): Use it here.
42690 (mem2chunk_check): Ditto.
42691
42692 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42693
42694 * sysdeps/powerpc/powerpc64/strtok.S: New file.
42695 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
42696
42697 2014-11-29 Carlos O'Donell <carlos@redhat.com>
42698
42699 * bits/ioctl-types.h: Indent preprocessor directives correctly.
42700
42701 * nptl/nptl-init.c: Include libc-internal.h.
42702 (__pthread_initialize_minimal_internal): Use ROUND_UP.
42703
42704 * elf/ldconfig.c (search_dir): Expand comment.
42705
42706 2014-11-29 Joseph Myers <joseph@codesourcery.com>
42707
42708 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
42709 variable.
42710 (linknamespace-symlist-stdlibs-tests): Likewise.
42711 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
42712 instead of $(objpfx)symlist-stdlibs.
42713 (linknamespace-libs-isoc): New variable.
42714 (linknamespace-libs): Use $(linknamespace-libs-isoc).
42715 (linknamespace-libs-ISO): New variable.
42716 (linknamespace-libs-ISO99): Likewise.
42717 (linknamespace-libs-ISO11): Likewise.
42718 (linknamespace-libs-XPG3): Likewise.
42719 (linknamespace-libs-XPG4): Likewise.
42720 (linknamespace-libs-POSIX): Likewise.
42721 (linknamespace-libs-UNIX98): Likewise.
42722 (linknamespace-libs-XOPEN2K): Likewise.
42723 (linknamespace-libs-POSIX2008): Likewise.
42724 (linknamespace-libs-XOPEN2K8): Likewise.
42725 ($(objpfx)symlist-stdlibs): Replace by
42726 $(linknamespace-symlist-stdlibs-tests). Use
42727 $(linknamespace-libs-$*) as set of libraries.
42728 ($(linknamespace-header-tests)): Update dependencies. Use
42729 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
42730 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
42731 * conform/linknamespace.pl: Remove comment about considering
42732 definitions of symbols from irrelevant libraries.
42733
42734 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
42735
42736 [BZ #13862]
42737 * elf/dl-tls.c: Include <atomic.h>.
42738 (oom): Remove #ifdef SHARED/#endif.
42739 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
42740 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
42741 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
42742 big enough.
42743 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
42744 * nptl/Makefile (tests): Add tst-stack4.
42745 (modules-names): Add tst-stack4mod.
42746 ($(objpfx)tst-stack4): New.
42747 (tst-stack4mod.sos): Likewise.
42748 ($(objpfx)tst-stack4.out): Likewise.
42749 ($(tst-stack4mod.sos)): Likewise.
42750 (clean): Likewise.
42751 * nptl/tst-stack4.c: New file.
42752 * nptl/tst-stack4mod.c: Likewise.
42753
42754 2014-11-27 J. Brown <jb999@gmx.de>
42755
42756 * sysdeps/x86/bits/string.h: Add recent CPUs.
42757
42758 2014-11-27 Joseph Myers <joseph@codesourcery.com>
42759
42760 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
42761 sigblock.
42762
42763 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
42764 feof.
42765
42766 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
42767 variable.
42768
42769 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
42770
42771 * nscd/connections.c: Include libc-internal.h because of macro
42772 usage ignore_value.
42773
42774 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42775
42776 * string/bits/string3.h (__warn_memset_zero_len): Don't
42777 declare for gcc newer than 5.0.
42778 (memset): Don't test for zero-length __LEN for gcc newer than
42779 5.0.
42780
42781 2014-11-27 Joseph Myers <joseph@codesourcery.com>
42782
42783 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
42784 size_t for %zu format.
42785
42786 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
42787 difference, not %ju.
42788
42789 2014-11-26 Joseph Myers <joseph@codesourcery.com>
42790
42791 * include/libc-internal.h (ignore_value): New macro.
42792 * nscd/connections.c (restart): Wrap calls to setuid and setgid
42793 with ignore_value.
42794
42795 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
42796 definition.
42797
42798 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
42799 pthread_cleanup_push to void *.
42800
42801 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
42802 Undefine.
42803
42804 [BZ #16619]
42805 [BZ #16740]
42806 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
42807 instead of 1L << 52.
42808
42809 * libio/bug-rewind.c (do_test): Check fwscanf return values.
42810 * libio/bug-rewind2.c (do_test): Likewise.
42811
42812 * debug/test-stpcpy_chk-ifunc.c: Remove file.
42813 * debug/test-strcpy_chk-ifunc.c: Likewise.
42814 * wcsmbs/test-wcschr-ifunc.c: Likewise.
42815 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42816 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42817 * wcsmbs/test-wcslen-ifunc.c: Likewise.
42818 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42819 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42820 * Rules [$(multi-arch) = no] (tests): Do not filter out
42821 $(tests-ifunc).
42822 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
42823 * debug/Makefile (tests-ifunc): Remove variable.
42824 (tests): Do not add $(tests-ifunc).
42825 * wcsmbs/Makefile (tests-ifunc): Remove variable.
42826 (tests): Do not add $(tests-ifunc).
42827 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
42828 [TEST_IFUNC]: Remove conditionals.
42829 * string/test-string.h (TEST_IFUNC): Remove macro.
42830 [TEST_IFUNC]: Remove conditionals.
42831
42832 * string/test-strchr.c [!WIDE] (L): New macro.
42833 [WIDE] (L): Likewise.
42834 (check1): Use CHAR instead of char. Use L on string and character
42835 constants.
42836
42837 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
42838
42839 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
42840 tests.
42841 * sysdeps/powerpc/bits/atomic.h
42842 (__arch_atomic_exchange_and_add_32_acq): Add definition.
42843 (__arch_atomic_exchange_and_add_32_rel): Likewise.
42844 (atomic_exchange_and_add_acq): Likewise.
42845 (atomic_exchange_and_add_rel): Likewise.
42846 * sysdeps/powerpc/powerpc32/bits/atomic.h
42847 (__arch_atomic_exchange_and_add_64_acq): Add definition.
42848 (__arch_atomic_exchange_and_add_64_rel): Likewise.
42849 * sysdeps/powerpc/powerpc64/bits/atomic.h
42850 (__arch_atomic_exchange_and_add_64_acq): Add definition.
42851 (__arch_atomic_exchange_and_add_64_rel): Likewise.
42852
42853 2014-11-26 Torvald Riegel <triegel@redhat.com>
42854
42855 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
42856 Change synchronization of __sched_fifo_min_prio and
42857 __sched_fifo_max_prio.
42858 * nptl/pthread_mutexattr_getprioceiling.c
42859 (pthread_mutexattr_getprioceiling): Likewise.
42860 * nptl/pthread_mutexattr_setprioceiling.c
42861 (pthread_mutexattr_setprioceiling): Likewise.
42862 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
42863 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
42864 Likewise.
42865
42866 2014-11-26 Joseph Myers <joseph@codesourcery.com>
42867
42868 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
42869 void.
42870
42871 2014-11-25 Joseph Myers <joseph@codesourcery.com>
42872
42873 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
42874 third argument const.
42875
42876 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
42877
42878 fnmatch: work around GCC compiler warning bug with uninit var
42879 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
42880 This works around a bug with x86-64 GCC 4.9.2 and earlier
42881 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
42882 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
42883 used uninitialized in this function [-Wmaybe-uninitialized]".
42884
42885 2014-11-25 Joseph Myers <joseph@codesourcery.com>
42886
42887 * posix/bug-regex31.c (main): Return RES not 0.
42888
42889 2014-11-25 Anton Blanchard <anton@samba.org>
42890
42891 * sysdeps/powerpc/bits/atomic.h
42892 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
42893
42894 2014-11-24 Sterling Augustine <saugustine@google.com>
42895
42896 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
42897
42898 2014-11-24 Ryan Cumming <etaoins@gmail.com>
42899
42900 [BZ #17608]
42901 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
42902
42903 2014-11-24 Joseph Myers <joseph@codesourcery.com>
42904
42905 [BZ #17633]
42906 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
42907 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
42908 variable.
42909 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
42910 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
42911
42912 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
42913
42914 * string/strncpy.c (strncpy): Improve performance by using memset.
42915
42916 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
42917
42918 * string/strcpy.c (strcpy):
42919 Improve performance by using strlen and memcpy.
42920
42921 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
42922
42923 * string/strcoll_l.c (get_next_seq): __always_inline.
42924 * string/strcoll_l.c (do_compare): __always_inline.
42925
42926 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
42927
42928 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
42929 defined.
42930 * include/mqueue.h: Likewise.
42931 * include/stdlib.h: Likewise.
42932
42933 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
42934 (get_null_defines): Adjust.
42935 * sunrpc/Makefile: Adjust comment.
42936 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
42937 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
42938 (CFLAGS-interp.c): Likewise.
42939 (CFLAGS-ldconfig.c): Likewise.
42940 (CPPFLAGS-.os): Likewise.
42941 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42942 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
42943 * extra-modules.mk (extra-modules.mk): Likewise.
42944 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
42945 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
42946 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
42947 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
42948 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
42949 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
42950 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
42951 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
42952 * iconvdata/Makefile (CPPFLAGS): Likewise.
42953 (cpp-srcs-left): Add libof for all iconvdata routines.
42954 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
42955 * include/assert.h: Likewise.
42956 * include/ctype.h: Likewise.
42957 * include/errno.h: Likewise.
42958 * include/libc-symbols.h: Likewise.
42959 * include/math.h: Likewise.
42960 * include/netdb.h: Likewise.
42961 * include/resolv.h: Likewise.
42962 * include/stdio.h: Likewise.
42963 * include/stdlib.h: Likewise.
42964 * include/string.h: Likewise.
42965 * include/sys/stat.h: Likewise.
42966 * include/wctype.h: Likewise.
42967 * intl/l10nflist.c: Likewise.
42968 * libidn/idn-stub.c: Likewise.
42969 * libio/libioP.h: Likewise.
42970 * nptl/libc_multiple_threads.c: Likewise.
42971 * nptl/pthreadP.h: Likewise.
42972 * posix/regex_internal.h: Likewise.
42973 * resolv/res_hconf.c: Likewise.
42974 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
42975 * sysdeps/arm/memmove.S: Likewise.
42976 * sysdeps/arm/sysdep.h: Likewise.
42977 * sysdeps/generic/_itoa.h: Likewise.
42978 * sysdeps/generic/symbol-hacks.h: Likewise.
42979 * sysdeps/gnu/errlist.awk: Likewise.
42980 * sysdeps/gnu/errlist.c: Likewise.
42981 * sysdeps/i386/i586/memcpy.S: Likewise.
42982 * sysdeps/i386/i586/memset.S: Likewise.
42983 * sysdeps/i386/i686/memcpy.S: Likewise.
42984 * sysdeps/i386/i686/memmove.S: Likewise.
42985 * sysdeps/i386/i686/mempcpy.S: Likewise.
42986 * sysdeps/i386/i686/memset.S: Likewise.
42987 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42988 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42989 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
42990 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
42991 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42992 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42993 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
42994 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42995 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42996 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42997 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42998 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42999 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43000 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43001 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43002 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43003 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
43004 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
43005 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
43006 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43007 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43008 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43009 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43010 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43011 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43012 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43013 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
43014 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43015 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
43016 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43017 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43018 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43019 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43020 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43021 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43022 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43023 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43024 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43025 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43026 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43027 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43028 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43029 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43030 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43031 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43032 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43033 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
43034 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
43035 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43036 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43037 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43038 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
43039 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
43040 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43041 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43042 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
43043 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43044 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
43045 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
43046 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43047 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43048 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43049 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
43050 * sysdeps/nptl/bits/libc-lock.h: Likewise.
43051 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43052 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
43053 * sysdeps/posix/closedir.c: Likewise.
43054 * sysdeps/posix/opendir.c: Likewise.
43055 * sysdeps/posix/readdir.c: Likewise.
43056 * sysdeps/posix/rewinddir.c: Likewise.
43057 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
43058 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
43059 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43060 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43061 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43062 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
43063 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
43064 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
43065 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
43066 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
43067 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
43068 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
43069 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
43070 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
43071 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
43072 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
43073 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
43074 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
43075 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
43076 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
43077 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
43078 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
43079 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
43080 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
43081 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
43082 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
43083 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
43084 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
43085 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
43086 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
43087 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
43088 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
43089 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
43090 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
43091 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
43092 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
43093 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43094 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43095 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
43096 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
43097 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
43098 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
43099 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
43100 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
43101 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
43102 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
43103 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
43104 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
43105 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
43106 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
43107 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
43108 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
43109 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
43110 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
43111 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
43112 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
43113 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
43114 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
43115 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
43116 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
43117 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
43118 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
43119 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
43120 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
43121 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
43122 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
43123 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
43124 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
43125 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
43126 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
43127 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
43128 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
43129 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
43130 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
43131 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
43132 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
43133 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
43134 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
43135 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
43136 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
43137 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
43138 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43139 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
43140 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
43141 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43142 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
43143 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
43144 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43145 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43146 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43147 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
43148 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
43149 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
43150 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43151 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43152 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
43153 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43154 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43155 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
43156 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
43157 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43158 * sysdeps/unix/alpha/sysdep.S: Likewise.
43159 * sysdeps/unix/alpha/sysdep.h: Likewise.
43160 * sysdeps/unix/make-syscalls.sh: Likewise.
43161 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43162 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43163 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43164 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
43165 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43166 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
43167 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
43168 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43169 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43170 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
43171 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43172 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43173 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43174 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43175 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43176 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43177 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43178 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43179 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43180 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43181 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
43182 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43183 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43184 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43185 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43186 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43187 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43190 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
43191 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43192 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43193 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43194 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43195 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
43196 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43197 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43198 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43199 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
43200 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
43201 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43202 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43203 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43204 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
43205 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43206 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43207 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43208 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43209 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43210 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43211 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43212 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43213 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43214 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43215 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
43216 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43217 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43218 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43219 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
43220 * sysdeps/x86_64/memcpy.S: Likewise.
43221 * sysdeps/x86_64/memmove.c: Likewise.
43222 * sysdeps/x86_64/memset.S: Likewise.
43223 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
43224 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43225 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43226 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
43227 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
43228 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43229 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43230 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43231 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43232 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43233 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43234 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43235 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
43236 * sysdeps/x86_64/multiarch/memset.S: Likewise.
43237 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43238 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
43239 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
43240 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43241 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43242 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43243 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
43244 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43245 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43246 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43247 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43248 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43249 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43250 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
43251 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43252 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43253 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
43254 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43255 * sysdeps/x86_64/strcmp.S: Likewise.
43256
43257 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
43258
43259 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
43260 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
43261 * elf/rtld-Rules: Likewise.
43262 * elf/setup-vdso.h: Likewise.
43263 * include/assert.h: Likewise.
43264 * include/bits/stdlib-float.h: Likewise.
43265 * include/errno.h: Likewise.
43266 * include/sys/stat.h: Likewise.
43267 * include/unistd.h: Likewise.
43268 * sysdeps/aarch64/setjmp.S: Likewise.
43269 * sysdeps/alpha/setjmp.S: Likewise.
43270 * sysdeps/arm/__longjmp.S: Likewise.
43271 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
43272 * sysdeps/arm/setjmp.S: Likewise.
43273 * sysdeps/arm/sysdep.h: Likewise.
43274 * sysdeps/generic/_itoa.h: Likewise.
43275 * sysdeps/generic/dl-sysdep.h: Likewise.
43276 * sysdeps/generic/ldsodefs.h: Likewise.
43277 * sysdeps/i386/dl-tls.h: Likewise.
43278 * sysdeps/i386/setjmp.S: Likewise.
43279 * sysdeps/m68k/setjmp.c: Likewise.
43280 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
43281 * sysdeps/mach/hurd/opendir.c: Likewise.
43282 * sysdeps/posix/getcwd.c: Likewise.
43283 * sysdeps/posix/opendir.c: Likewise.
43284 * sysdeps/posix/profil.c: Likewise.
43285 * sysdeps/powerpc/dl-procinfo.h: Likewise.
43286 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43287 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43288 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43289 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43290 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
43291 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
43292 * sysdeps/s390/dl-tls.h: Likewise.
43293 * sysdeps/s390/s390-32/setjmp.S: Likewise.
43294 * sysdeps/s390/s390-64/setjmp.S: Likewise.
43295 * sysdeps/sh/sh3/setjmp.S: Likewise.
43296 * sysdeps/sh/sh4/setjmp.S: Likewise.
43297 * sysdeps/unix/alpha/sysdep.h: Likewise.
43298 * sysdeps/unix/arm/sysdep.S: Likewise.
43299 * sysdeps/unix/i386/sysdep.S: Likewise.
43300 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43301 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
43302 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43303 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43304 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43305 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43306 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
43307 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43308 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43309 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43310 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
43311 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43312 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43315 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43316 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43317 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43318 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43319 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43320 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43321 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43322 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43323 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43324 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43325 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43326 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43327 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43328 * sysdeps/x86_64/setjmp.S: Likewise.
43329
43330 * include/math.h: Use IS_IN instead of IS_IN_libm.
43331 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
43332 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43333 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43334 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
43335 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43336 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43337 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43338 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43339 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43340 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43341 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
43342 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
43343 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
43344 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
43345 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
43346 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
43347 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
43348 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
43349 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
43350 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
43351 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
43352 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
43353 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
43354 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
43355 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
43356 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
43357 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
43358 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
43359 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
43360 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
43361 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
43362 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43363 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
43364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
43365 Likewise.
43366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
43367 Likewise.
43368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
43369 Likewise.
43370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
43371 Likewise.
43372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
43373 Likewise.
43374 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43375 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
43376 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43377 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43378 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43379 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
43381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
43382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
43383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
43384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
43385 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
43386 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
43387 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
43388 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
43389 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43390 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
43391 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
43392 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43393 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43394 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
43395 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
43396 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
43397 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
43398 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
43399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43400 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
43401
43402 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
43403 * nptl/pthreadP.h: Likewise.
43404 * nptl_db/structs.def: Likewise.
43405 * sysdeps/arm/sysdep.h: Likewise.
43406 * sysdeps/nptl/bits/libc-lock.h: Likewise.
43407 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43408 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
43409 * sysdeps/unix/alpha/sysdep.h: Likewise.
43410 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43411 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43412 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43413 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43414 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43415 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43416 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43417 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43418 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43419 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43420 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43421 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43422 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43423 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43426 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43427 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43428 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43429 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43430 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43431 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43432 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43433 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43434 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
43435 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43436
43437 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
43438 * nptl/pthreadP.h: Likewise.
43439 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43440 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43441 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43442 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43443 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43444 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43445 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43446 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43447 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43448 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43449 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43450 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
43452 Likewise.
43453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
43454 Likewise.
43455 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43456 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43457 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43458 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43459 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43460 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43461 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43462 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43463
43464 * dlfcn/dladdr.c: Use IS_IN.
43465 * dlfcn/dladdr1.c: Likewise.
43466 * dlfcn/dlclose.c: Likewise.
43467 * dlfcn/dlerror.c: Likewise.
43468 * dlfcn/dlinfo.c: Likewise.
43469 * dlfcn/dlmopen.c: Likewise.
43470 * dlfcn/dlopen.c: Likewise.
43471 * dlfcn/dlsym.c: Likewise.
43472 * dlfcn/dlvsym.c: Likewise.
43473
43474 * include/ifaddrs.h: Use IS_IN.
43475 * inet/check_pf.c: Likewise.
43476 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43477 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
43478
43479 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
43480 IS_IN_ldconfig.
43481 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
43482 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
43483
43484 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
43485 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
43486 IS_IN (libc).
43487
43488 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
43489
43490 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
43491 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43492 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43493 * include/libc-symbols.h (IS_IN_LIB): New macro.
43494 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
43495 * include/netdb.h: Likewise.
43496 * include/stap-probe.h: Remove all uses of IN_LIB.
43497
43498 * Makeconfig (module-cppflags-real): Define MODULE_NAME
43499 instead of IN_MODULE.
43500 * include/libc-symbols.h (IN_MODULE): Define using
43501 MODULE_NAME.
43502 (PASTE_NAME, PASTE_NAME1): New macros.
43503 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
43504 of IN_LIB.
43505 (STAP_PROBE_ASM): Likewise.
43506
43507 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
43508
43509 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
43510 __mach_init in dlopened libc.
43511
43512 2014-11-22 Mike Frysinger <vapier@gentoo.org>
43513
43514 * sysdeps/arm/preconfigure.ac: Delete EABI check.
43515 * sysdeps/arm/preconfigure: Regenerate.
43516
43517 2014-11-21 Roland McGrath <roland@hack.frob.com>
43518
43519 * nptl/pthread_create.c (__pthread_create_2_1): Set
43520 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
43521 when copying values from IATTR into PD.
43522
43523 2014-11-21 Will Newton <will.newton@linaro.org>
43524 Andrew Pinski <andrew.pinski@caviumnetworks.com>
43525
43526 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
43527 Refactor inline-asm. Also add comment.
43528
43529 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
43530 ElfW macro instead of hardcoded Elf64 types.
43531 (la_aarch64_gnu_pltenter): Likewise.
43532 * sysdeps/aarch64/dl-machine.h
43533 (elf_machine_runtime_setup): Use ElfW(Addr).
43534
43535 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
43536 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
43537 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
43538 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
43539 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
43540 (R_AARCH64_TLS_DTPMOD64): Rename to ..
43541 (R_AARCH64_TLS_DTPMOD): This.
43542 (R_AARCH64_TLS_DTPREL64): Rename to ...
43543 (R_AARCH64_TLS_DTPREL): This.
43544 (R_AARCH64_TLS_TPREL64): Rename to ...
43545 (R_AARCH64_TLS_TPREL): This.
43546 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
43547 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
43548 R_AARCH64_TLS_TPREL64.
43549 (elf_machine_rela): Likewise.
43550
43551 2014-11-21 Torvald Riegel <triegel@redhat.com>
43552
43553 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
43554 by setting it to 0. 64b atomics are not supported currently.
43555
43556 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43557
43558 [BZ #16469]
43559 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
43560 search domain names.
43561
43562 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43563
43564 [BZ #16469]
43565 * NEWS: Update.
43566 * resolv/res_query.c (__libc_res_nquerydomain): Retain
43567 trailing dot.
43568 * posix/tst-getaddrinfo5.c: New.
43569 * posix/Makefile (tests): Add it.
43570
43571 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43572
43573 [BZ #14498]
43574 * NEWS: Fixed.
43575 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
43576 after parsing line but before break_if_match.
43577 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
43578 if there is a protocol mismatch.
43579
43580 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
43581
43582 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
43583 because the potential race is on the user-supplied stream.
43584
43585 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43586
43587 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
43588 string literal if not passed a buffer.
43589 * manual/job.texi (ctermid): Update reasoning, note deviation
43590 from posix, suggest mtasurace when not passed a buffer, for
43591 future non-preliminary safety notes.
43592
43593 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43594
43595 * manual/users.texi (cuserid): Fix MT-Safety note for the case
43596 of not passing it a buffer.
43597 Reported by Peng Haitao.
43598
43599 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43600
43601 * manual/Makefile ($(objpfx)stamp-summary): Require
43602 check-safety.sh to pass.
43603 * manual/check-safety.sh: Wish for verification that every
43604 @deftypefn and @deftypefun is followed by a @safety remark.
43605
43606 2014-11-20 Roland McGrath <roland@hack.frob.com>
43607
43608 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
43609
43610 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
43611 PTHREAD_CANCEL_ASYNCHRONOUS.
43612 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
43613 send SIGCANCEL.
43614
43615 * nptl/default-sched.h: New file.
43616 * sysdeps/unix/sysv/linux/default-sched.h: New file.
43617 * nptl/pthread_create.c: Include it.
43618 (__pthread_create_2_1): Use collect_default_sched instead of making
43619 Linux syscalls here directly.
43620
43621 2014-11-20 Torvald Riegel <triegel@redhat.com>
43622
43623 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
43624 __pthread_once): Use C11 atomics.
43625
43626 2014-11-20 Torvald Riegel <triegel@redhat.com>
43627
43628 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
43629
43630 2014-11-20 Torvald Riegel <triegel@redhat.com>
43631
43632 * include/atomic.h (__atomic_link_error, __atomic_check_size,
43633 atomic_thread_fence_acquire, atomic_thread_fence_release,
43634 atomic_thread_fence_seq_cst, atomic_load_relaxed,
43635 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
43636 atomic_compare_exchange_weak_relaxed,
43637 atomic_compare_exchange_weak_acquire,
43638 atomic_compare_exchange_weak_release,
43639 atomic_exchange_acquire, atomic_exchange_release,
43640 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
43641 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
43642 atomic_fetch_and_acquire,
43643 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
43644
43645 2014-11-20 Torvald Riegel <triegel@redhat.com>
43646
43647 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
43648 USE_ATOMIC_COMPILER_BUILTINS): Define.
43649 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
43650 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43651 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
43652 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43653 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
43654 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43655 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
43656 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43657 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
43658 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43659 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
43660 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43661 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
43662 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43663 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
43664 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43665 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
43666 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43667 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
43668 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43669 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
43670 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43671 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
43672 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43673 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
43674 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43675 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
43676 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43677 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
43678 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43679 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
43680 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43681 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
43682 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43683 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
43684 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43685 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
43686 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43687 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
43688 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43689
43690 2014-11-19 Roland McGrath <roland@hack.frob.com>
43691
43692 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
43693 the sched_priority value here. It was already checked when the user
43694 called pthread_attr_setschedparam.
43695
43696 * nptl/tst-bad-schedattr.c: New file.
43697 * nptl/Makefile (tests): Add it.
43698
43699 2014-11-19 Carlos O'Donell <carlos@redhat.com>
43700 Florian Weimer <fweimer@redhat.com>
43701 Joseph Myers <joseph@codesourcery.com>
43702 Adam Conrad <adconrad@0c3.net>
43703 Andreas Schwab <schwab@suse.de>
43704 Brooks <bmoses@google.com>
43705
43706 [BZ #17625]
43707 * wordexp-test.c (__dso_handle): Add prototype.
43708 (__register_atfork): Likewise.
43709 (__app_register_atfork): New function.
43710 (registered_forks): New global.
43711 (register_fork): New function.
43712 (test_case): Add 3 new tests for WRDE_CMDSUB.
43713 (main): Call __app_register_atfork.
43714 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
43715 fork count is non-zero fail the test.
43716 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
43717 is set.
43718 (parse_dollars): Remove check for WRDE_NOCMD.
43719 (parse_dquote): Likewise.
43720
43721 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
43722
43723 * Makeconfig (built-modules): List non-library modules to be
43724 built.
43725 (module-cppflags): Include libc-modules.h for
43726 everything except shlib-versions.v.i.
43727 (CPPFLAGS): Use it.
43728 (before-compile): Add libc-modules.h.
43729 ($(common-objpfx)libc-modules.h,
43730 $(common-objpfx)libc-modules.stmp): New targets.
43731 (common-generated): Add libc-modules.h and libc-modules.stmp.
43732 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
43733 * include/libc-symbols.h: Don't include libc-modules.h.
43734 * include/libc-modules.h: Remove file.
43735 * scripts/gen-libc-modules.awk: New script to generate
43736 libc-modules.h.
43737 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
43738 Depend on libc-modules.stmp.
43739
43740 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
43741
43742 * Makeconfig (in-module): Get value of libof set for the
43743 translation unit.
43744 (CPPFLAGS): Use $(in-module).
43745 * Makerules: Don't suffix routine names for nonlib.
43746 * include/libc-modules.h: New file.
43747 * include/libc-symbols.h: Include libc-modules.h
43748 (IS_IN): New macro to replace IS_IN_* macros.
43749 * elf/Makefile: Set libof-* for each routine.
43750 * elf/rtld-Rules: Likewise.
43751 * extra-modules.mk: Likewise.
43752 * iconv/Makefile: Likewise.
43753 * iconvdata/Makefile: Likewise.
43754 * locale/Makefile: Likewise.
43755 * malloc/Makefile: Likewise.
43756 * nss/Makefile: Likewise.
43757 * sysdeps/gnu/Makefile: Likewise.
43758 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
43759 * sysdeps/unix/sysv/linux/Makefile: Likewise.
43760 * sysdeps/s390/s390-64/Makefile: Likewise.
43761 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
43762 CPPFLAGS for nscd instead of nonlib.
43763
43764 2014-11-18 Roland McGrath <roland@hack.frob.com>
43765
43766 * nptl/createthread.c: New file.
43767
43768 * nptl/createthread.c: Moved ...
43769 * sysdeps/unix/sysv/linux/createthread.c: ... here.
43770
43771 * nptl/createthread.c: Add proper top-line comment.
43772 (do_clone): Folded into ...
43773 (create_thread): ... here. Take new arguments STOPPED_START and
43774 THREAD_RAN. Always set PD->stopped_start to something here. Don't
43775 increment __nptl_threads, do event-reporting logic, do
43776 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
43777 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
43778 resource cleanup if sched_setaffinity or sched_setscheduler fails,
43779 just send SIGCANCEL.
43780 * nptl/pthread_create.c: Forward-declare create_thread before
43781 including createthread.c.
43782 (start_thread): Use new macro START_THREAD_DEFN to replace defining
43783 declaration, and new macro START_THREAD_SELF to replace argument.
43784 Remove return statement.
43785 (report_thread_creation): New function.
43786 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
43787 synchronization logic, and __nptl_nthreads increment here, around
43788 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
43789 PD->parent_cancelhandling here, before create_thread. When
43790 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
43791 __deallocate_stack, and ENOMEM translation here.
43792
43793 2014-11-18 Joseph Myers <joseph@codesourcery.com>
43794
43795 [BZ #17616]
43796 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
43797 (mptwo): Rename to __mptwo.
43798 (__inv): Use __mptwo instead of mptwo.
43799 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
43800 (mptwo): Rename to __mptwo.
43801 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
43802 of mpone and __mptwo instead of mptwo.
43803 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
43804 instead of mpone.
43805 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43806 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
43807 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
43808 of mpone and __mptwo instead of mptwo.
43809 (__mpranred): Use __mpone instead of mpone.
43810 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
43811 variable.
43812 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
43813 (test-xfail-ISO99/math.h/linknamespace): Likewise.
43814 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
43815 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
43816 (test-xfail-ISO11/math.h/linknamespace): Likewise.
43817 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
43818 (test-xfail-XPG3/math.h/linknamespace): Likewise.
43819 (test-xfail-XPG4/math.h/linknamespace): Likewise.
43820 (test-xfail-POSIX/math.h/linknamespace): Likewise.
43821 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
43822 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
43823 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
43824 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
43825 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
43826 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
43827 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
43828 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
43829 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
43830 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
43831
43832 2014-11-18 Tom de Vries <tom@codesoucery.com>
43833
43834 * manual/signal.texi (Primitives Interrupted by Signals): In section,
43835 replace BSD Handler xref with BSD Signal Handling.
43836
43837 2014-11-17 Richard Henderson <rth@redhat.com>
43838
43839 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
43840 (_FP_PACK_RAW_2): Remove.
43841 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
43842 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
43843 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
43844 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
43845 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
43846 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
43847 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
43848 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
43849 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
43850 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
43851 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
43852 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
43853 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
43854 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
43855 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
43856 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
43857
43858 2014-11-14 Roland McGrath <roland@hack.frob.com>
43859
43860 * signal/signal.h [__USE_MISC]
43861 (struct sigvec): Remove type.
43862 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
43863 (sigvec): Remove declaration.
43864 * sysdeps/posix/sigvec.c: Moved ...
43865 * signal/sigvec.c: ... here, replacing old file.
43866 (struct sigvec): New type, copied from old signal.h definition.
43867 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
43868 (__sigvec): Convert definition to prototype.
43869 (sigvec): Replace weak_alias with compat_symbol.
43870 * signal/Versions (libc: GLIBC_2.21): New version set.
43871 * include/signal.h: Remove __sigvec declaration.
43872 * sysdeps/unix/bsd/sigvec.c: Remove file.
43873 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
43874 * manual/signal.texi (BSD Handler): Remove subsection.
43875 Move siginterrupt up to ...
43876 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
43877 (Blocking in BSD): Fold subsection into its parent.
43878 * NEWS: Mention sigvec removal.
43879
43880 2014-11-14 Joseph Myers <joseph@codesourcery.com>
43881
43882 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
43883 (DLA_FMS): Make definition conditional only on [__FMA4__].
43884 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
43885 definition.
43886
43887 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
43888 Make definition conditional only on [PROF].
43889 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
43890 definition.
43891 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
43892 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
43893
43894 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
43895 !__GNUC__].
43896 * include/signal.h (__sigpause): Move declaration above call to
43897 libc_hidden_proto.
43898 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
43899 variable.
43900 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
43901 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
43902
43903 2014-11-14 David S. Miller <davem@davemloft.net>
43904
43905 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
43906 Define before including <string/memcpy.c> and <string/mempcpy.c>.
43907
43908 2014-11-14 Joseph Myers <joseph@codesourcery.com>
43909
43910 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
43911 * configure: Regenerated.
43912 * manual/install.texi (Tools for Compilation): Document a
43913 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
43914 compiler verified to work.
43915 * INSTALL: Regenerated.
43916
43917 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
43918 redeclare with asm name.
43919 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
43920 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
43921 including <string.h>.
43922 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43923 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
43924 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43925 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
43926 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43927 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
43928 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43929
43930 2014-11-13 Joseph Myers <joseph@codesourcery.com>
43931
43932 * stdlib/strtol.c (__strtol): Use prototype definition.
43933
43934 [BZ #17594]
43935 * stdlib/strtol.c (SYM__): New macro.
43936 (SYM__1): Likewise.
43937 (__strtol): Likewise.
43938 (strtol): Rename to __strtol and define as weak alias of
43939 __strtol. Use libc_hidden_weak.
43940
43941 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
43942
43943 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
43944 Use numbered labels in inline assembly.
43945
43946 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
43947
43948 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
43949 Add setjmp LIBC_PROBE.
43950 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
43951 Likewise.
43952 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
43953 Add longjmp, longjmp_target LIBC_PROBE.
43954 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
43955 Likewise.
43956
43957 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
43958
43959 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
43960 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
43961 to get rid of unused variable warning.
43962
43963 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
43964
43965 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
43966 Check for unwind_backtrace == NULL only in SHARED case.
43967 (__backchain_backtrace): Compile only in SHARED case.
43968 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
43969 Likewise.
43970 (__backchain_backtrace): Declare as static.
43971
43972 2014-11-12 Roland McGrath <roland@hack.frob.com>
43973
43974 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
43975 (__libc_multiple_threads_ptr): Variable moved ...
43976 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
43977
43978 2014-11-12 Joseph Myers <joseph@codesourcery.com>
43979
43980 * conform/GlibcConform.pm: New file.
43981 * conform/conformtest.pl: Use GlibcConform module.
43982 * conform/linknamespace.pl: New file.
43983 * conform/list-header-symbols.pl: Likewise.
43984 * conform/Makefile (linknamespace-symlists-base): New variable.
43985 (linknamespace-symlists-tests): Likewise.
43986 (linknamespace-header-base): Likewise.
43987 (linknamespace-header-tests): Likewise.
43988 (tests-special): Add new tests.
43989 ($(linknamespace-symlists-tests)): New rule.
43990 (linknamespace-libs): New variable.
43991 ($(objpfx)symlist-stdlibs): New rule.
43992 ($(linknamespace-header-tests)): Likewise.
43993 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
43994 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
43995 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
43996 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
43997 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
43998 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
43999 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
44000 (test-xfail-ISO/math.h/linknamespace): Likewise.
44001 (test-xfail-ISO/signal.h/linknamespace): Likewise.
44002 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
44003 (test-xfail-ISO/time.h/linknamespace): Likewise.
44004 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44005 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
44006 (test-xfail-ISO99/math.h/linknamespace): Likewise.
44007 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44008 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
44009 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44010 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44011 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
44012 (test-xfail-ISO11/math.h/linknamespace): Likewise.
44013 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44014 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
44015 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44016 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
44017 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
44018 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
44019 (test-xfail-XPG3/math.h/linknamespace): Likewise.
44020 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
44021 (test-xfail-XPG3/search.h/linknamespace): Likewise.
44022 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
44023 (test-xfail-XPG3/time.h/linknamespace): Likewise.
44024 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
44025 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
44026 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
44027 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
44028 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
44029 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
44030 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
44031 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
44032 (test-xfail-XPG4/math.h/linknamespace): Likewise.
44033 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
44034 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
44035 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
44036 (test-xfail-XPG4/search.h/linknamespace): Likewise.
44037 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
44038 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
44039 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
44040 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
44041 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
44042 (test-xfail-XPG4/time.h/linknamespace): Likewise.
44043 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
44044 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
44045 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
44046 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
44047 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
44048 (test-xfail-POSIX/math.h/linknamespace): Likewise.
44049 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
44050 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
44051 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
44052 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
44053 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
44054 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
44055 (test-xfail-POSIX/time.h/linknamespace): Likewise.
44056 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
44057 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
44058 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
44059 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
44060 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
44061 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
44062 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
44063 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
44064 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
44065 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44066 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
44067 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
44068 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
44069 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
44070 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
44071 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
44072 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
44073 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
44074 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
44075 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
44076 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
44077 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
44078 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
44079 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
44080 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
44081 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
44082 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
44083 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
44084 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44085 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
44086 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
44087 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
44088 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
44089 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
44090 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
44091 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44092 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
44093 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
44094 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
44095 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
44096 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
44097 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
44098 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
44099 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
44100 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
44101 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
44102 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
44103 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
44104 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
44105 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
44106 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
44107 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44108 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
44109 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
44110 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
44111 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
44112 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
44113 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44114 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
44115 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
44116 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
44117 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
44118 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44119 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
44120 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
44121 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
44122 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
44123 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
44124 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
44125 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
44126 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
44127 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
44128 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44129 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
44130 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
44131 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
44132 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44133 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
44134 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
44135 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
44136 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
44137 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
44138 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44139 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
44140 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
44141 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
44142 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
44143 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
44144 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
44145 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
44146 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
44147 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
44148 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
44149 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
44150 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
44151 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44152 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
44153 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
44154
44155 [BZ #17589]
44156 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
44157 of fgets_unlocked.
44158
44159 [BZ #17585]
44160 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
44161 (memmem): Rename to __memmem and define as weak alias of
44162 __memmem. Use libc_hidden_weak.
44163 (__memmem): Use libc_hidden_def.
44164 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
44165 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
44166 memmem.
44167
44168 [BZ #17582]
44169 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
44170 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
44171 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
44172 and define as weak alias of __fgets_unlocked. Use
44173 libc_hidden_weak.
44174 (__fgets_unlocked): Use libc_hidden_def.
44175 * include/stdio.h (__fgets_unlocked): Declare. Use
44176 libc_hidden_proto.
44177 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
44178 __fgets_unlocked instead of fgets_unlocked.
44179 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
44180 (GET_NPROCS_CONF_PARSER): Likewise.
44181 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
44182 (GET_NPROCS_CONF_PARSER): Likewise.
44183
44184 [BZ #17574]
44185 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
44186 weak alias of __wmemset. Use libc_hidden_weak.
44187 (__wmemset): Use libc_hidden_def.
44188 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
44189 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
44190 of wmemset.
44191
44192 [BZ #17573]
44193 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
44194 with asm name __mempcpy.
44195 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
44196
44197 [BZ #17572]
44198 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
44199 and define as weak alias of __rawmemchr.
44200 (__rawmemchr): Do not define as strong alias of rawmemchr.
44201
44202 [BZ #17571]
44203 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
44204 alias of __qsort_r.
44205 (qsort): Call __qsort_r instead of qsort_r.
44206 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
44207 (__qsort_r): Declare. Call libc_hidden_proto.
44208 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
44209 instead of qsort_r.
44210 * nscd/gai.c (__qsort_r): Define to qsort_r.
44211 * posix/tst-rfc3484.c (__qsort_r): Likewise.
44212 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
44213 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
44214
44215 [BZ #17570]
44216 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
44217 define as weak alias of __malloc_info.
44218
44219 [BZ #17584]
44220 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
44221 as weak alias of __rewinddir. Don't use libc_hidden_def.
44222 (__rewinddir): Use libc_hidden_def.
44223 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
44224 as weak alias of __rewinddir. Don't use libc_hidden_def.
44225 (__rewinddir): Use libc_hidden_def.
44226 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
44227 weak alias of __rewinddir. Don't use libc_hidden_def.
44228 (__rewinddir): Use libc_hidden_def.
44229 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
44230 (__rewinddir): Use libc_hidden_proto.
44231 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
44232 rewinddir.
44233 (__getcwd): Use __rewinddir instead of rewinddir.
44234
44235 [BZ #17583]
44236 * libio/fileno.c (fileno): Rename to __fileno and define as weak
44237 alias of __fileno. Use libc_hidden_weak.
44238 (__fileno): Use libc_hidden_def.
44239 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
44240 * libio/ftello.c (ftello): Rename to __ftello and define as weak
44241 alias of __ftello.
44242 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
44243 __ftello.
44244 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
44245 (__fread_unlocked): Define as strong alias of _IO_fread. Use
44246 libc_hidden_def.
44247 (fread_unlocked): Don't use libc_hidden_ver.
44248 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
44249 and define as weak alias of __fread_unlocked. Don't use
44250 libc_hidden_def.
44251 (__fread_unlocked): Use libc_hidden_def.
44252 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
44253 (ftello): Don't use libc_hidden_proto.
44254 (__ftello): Declare. Use libc_hidden_proto.
44255 (fread_unlocked): Don't use libc_hidden_proto.
44256 (__fread_unlocked): Declare. Use libc_hidden_proto.
44257 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
44258 and __ftello instead of fileno, fread_unlocked and ftello.
44259
44260 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
44261
44262 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
44263 GOT12.
44264 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
44265 Likewise.
44266 (_dl_start_user): Likewise.
44267 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
44268
44269 2014-11-12 Carlos O'Donell <carlos@redhat.com>
44270 Siddhesh Poyarekar <siddhesh@redhat.com>
44271
44272 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
44273 Move argv and envp down instead of moving argc up.
44274 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
44275
44276 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
44277
44278 [BZ #17506]
44279 * test-skeleton.c (main): Return successful if one of
44280 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
44281 * string/tst-strcoll-overflow.c: Define expected status.
44282
44283 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
44284
44285 [BZ #17475]
44286 * locale/iso-639.def: Define Bhili and Tulu language codes.
44287
44288 2014-11-11 Alan Hayward <alan.hayward@arm.com>
44289
44290 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
44291
44292 2014-11-10 Renlin Li <Renlin.Li@arm.com>
44293
44294 [BZ #17555]
44295 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
44296
44297 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
44298
44299 * configure.ac: Updated check of minimal required version to
44300 2.22.
44301 * manual/install.texi (Tools for Compilation): Updated version
44302 number.
44303 * configure: Regenerated.
44304 * INSTALL: Likewise.
44305
44306 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
44307
44308 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
44309 __tls_get_addr.
44310
44311 2014-11-07 Joseph Myers <joseph@codesourcery.com>
44312
44313 * include/sys/wait.h (__libc_waitpid): Remove declaration.
44314 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
44315 (__waitpid): Don't define as alias. Use libc_hidden_def not
44316 libc_hidden_weak.
44317 (waitpid): Define as alias of __waitpid.
44318 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
44319 __waitpid.
44320 (__waitpid): Don't define as alias. Use libc_hidden_def not
44321 libc_hidden_weak.
44322 (waitpid): Define as alias of __waitpid.
44323 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
44324 __libc_waitpid alias.
44325 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
44326 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
44327 Likewise.
44328 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
44329 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
44330 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
44331 alias.
44332 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
44333 __waitpid.
44334 (__waitpid): Don't define as alias. Use libc_hidden_def not
44335 libc_hidden_weak.
44336 (waitpid): Define as alias of __waitpid.
44337
44338 2014-11-06 Carlos O'Donell <carlos@redhat.com>
44339
44340 * manual/llio.texi: Add comment that write safety has been
44341 fixed in Linux.
44342
44343 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
44344 (localplt-build-dso): Add elf/ld.so.
44345 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
44346 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
44347 and free for ld.so.
44348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
44349 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
44350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
44351 Likewise.
44352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
44353 Likewise.
44354 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
44355 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
44356 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
44357 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
44358 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
44359 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
44360 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
44361 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
44362 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
44363 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
44364 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
44365
44366 2014-11-05 Joseph Myers <joseph@codesourcery.com>
44367
44368 [BZ #14132]
44369 * include/libc-symbols.h (INTUSE): Remove macro.
44370 (INTDEF): Likewise.
44371 (INTVARDEF): Likewise.
44372 (_INTVARDEF): Likewise.
44373 (INTDEF2): Likewise.
44374 (INTVARDEF2): Likewise.
44375 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
44376 rtld_hidden_def instead of INTVARDEF.
44377 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
44378 (_dl_starting_up_internal): Remove declaration.
44379 (_dl_starting_up): Use rtld_hidden_proto.
44380 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
44381 declaration.
44382 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
44383 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
44384 _dl_starting_up.
44385 * elf/dl-writev.h (_dl_writev): Likewise.
44386 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
44387 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
44388 _dl_starting_up_internal.
44389
44390 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44391
44392 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
44393 test-skeleton.c.
44394
44395 2014-11-05 Will Newton <will.newton@linaro.org>
44396
44397 * benchtests/Makefile: (bench-malloc): Add malloc thread
44398 scalability benchmark.
44399 * benchtests/bench-malloc-threads.c: New file.
44400
44401 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
44402
44403 * sysdeps/aarch64/strchrnul.S: New file.
44404
44405 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44406
44407 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
44408 definition.
44409 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
44410 Likewise.
44411 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
44412 Likewise.
44413 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
44414 Likewise.
44415 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
44416 Likewise.
44417 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
44418 Likewise.
44419
44420 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
44421
44422 * catgets/test-gencat.c: Use test-skeleton.c.
44423 * catgets/tst-catgets.c: Likewise.
44424 * csu/tst-empty.c: Likewise.
44425 * elf/tst-audit2.c: Likewise.
44426 * elf/tst-global1.c: Likewise.
44427 * elf/tst-pathopt.c: Likewise.
44428 * elf/tst-piemod1.c: Likewise.
44429 * elf/tst-tls10.c: Likewise.
44430 * elf/tst-tls11.c: Likewise.
44431 * elf/tst-tls12.c: Likewise.
44432 * gnulib/tst-gcc.c: Likewise.
44433 * iconvdata/tst-e2big.c: Likewise.
44434 * iconvdata/tst-loading.c: Likewise.
44435 * iconv/tst-iconv1.c: Likewise.
44436 * iconv/tst-iconv2.c: Likewise.
44437 * inet/test-inet6_opt.c: Likewise.
44438 * inet/tst-gethnm.c: Likewise.
44439 * inet/tst-network.c: Likewise.
44440 * inet/tst-ntoa.c: Likewise.
44441 * intl/tst-codeset.c: Likewise.
44442 * intl/tst-gettext2.c: Likewise.
44443 * intl/tst-gettext3.c: Likewise.
44444 * intl/tst-ngettext.c: Likewise.
44445 * intl/tst-translit.c: Likewise.
44446 * io/test-stat.c: Likewise.
44447 * libio/test-fmemopen.c: Likewise.
44448 * libio/tst-freopen.c: Likewise.
44449 * libio/tst-sscanf.c: Likewise.
44450 * libio/tst-ungetwc1.c: Likewise.
44451 * libio/tst-ungetwc2.c: Likewise.
44452 * libio/tst-widetext.c: Likewise.
44453 * localedata/tst-ctype.c: Likewise.
44454 * localedata/tst-digits.c: Likewise.
44455 * localedata/tst-leaks.c: Likewise.
44456 * localedata/tst-mbswcs1.c: Likewise.
44457 * localedata/tst-mbswcs2.c: Likewise.
44458 * localedata/tst-mbswcs3.c: Likewise.
44459 * localedata/tst-mbswcs4.c: Likewise.
44460 * localedata/tst-mbswcs5.c: Likewise.
44461 * localedata/tst-setlocale.c: Likewise.
44462 * localedata/tst-trans.c: Likewise.
44463 * localedata/tst-wctype.c: Likewise.
44464 * localedata/tst-xlocale1.c: Likewise.
44465 * login/tst-grantpt.c: Likewise.
44466 * malloc/tst-calloc.c: Likewise.
44467 * malloc/tst-malloc.c: Likewise.
44468 * malloc/tst-mallocstate.c: Likewise.
44469 * malloc/tst-mcheck.c: Likewise.
44470 * malloc/tst-mtrace.c: Likewise.
44471 * malloc/tst-obstack.c: Likewise.
44472 * math/atest-exp2.c: Likewise.
44473 * math/atest-exp.c: Likewise.
44474 * math/atest-sincos.c: Likewise.
44475 * math/test-matherr.c: Likewise.
44476 * math/test-misc.c: Likewise.
44477 * math/test-powl.c: Likewise.
44478 * math/tst-definitions.c: Likewise.
44479 * misc/tst-dirname.c: Likewise.
44480 * misc/tst-efgcvt.c: Likewise.
44481 * misc/tst-fdset.c: Likewise.
44482 * misc/tst-hsearch.c: Likewise.
44483 * misc/tst-mntent2.c: Likewise.
44484 * nptl/tst-sem7.c: Likewise.
44485 * nptl/tst-sem8.c: Likewise.
44486 * nptl/tst-sem9.c: Likewise.
44487 * nss/test-netdb.c: Likewise.
44488 * posix/tst-fnmatch.c: Likewise.
44489 * posix/tst-getlogin.c: Likewise.
44490 * posix/tst-gnuglob.c: Likewise.
44491 * posix/tst-mmap.c: Likewise.
44492 * pwd/tst-getpw.c: Likewise.
44493 * resolv/tst-inet_ntop.c: Likewise.
44494 * rt/tst-timer.c: Likewise.
44495 * stdio-common/test-fseek.c: Likewise.
44496 * stdio-common/test-popen.c: Likewise.
44497 * stdio-common/test-vfprintf.c: Likewise.
44498 * stdio-common/tst-cookie.c: Likewise.
44499 * stdio-common/tst-fileno.c: Likewise.
44500 * stdio-common/tst-gets.c: Likewise.
44501 * stdio-common/tst-obprintf.c: Likewise.
44502 * stdio-common/tst-perror.c: Likewise.
44503 * stdio-common/tst-sprintf2.c: Likewise.
44504 * stdio-common/tst-sprintf3.c: Likewise.
44505 * stdio-common/tst-sprintf.c: Likewise.
44506 * stdio-common/tst-swprintf.c: Likewise.
44507 * stdio-common/tst-tmpnam.c: Likewise.
44508 * stdio-common/tst-unbputc.c: Likewise.
44509 * stdio-common/tst-wc-printf.c: Likewise.
44510 * stdlib/tst-environ.c: Likewise.
44511 * stdlib/tst-fmtmsg.c: Likewise.
44512 * stdlib/tst-limits.c: Likewise.
44513 * stdlib/tst-rand48-2.c: Likewise.
44514 * stdlib/tst-rand48.c: Likewise.
44515 * stdlib/tst-random2.c: Likewise.
44516 * stdlib/tst-random.c: Likewise.
44517 * stdlib/tst-strtol.c: Likewise.
44518 * stdlib/tst-strtoll.c: Likewise.
44519 * stdlib/tst-tls-atexit.c: Likewise.
44520 * stdlib/tst-xpg-basename.c: Likewise.
44521 * string/test-ffs.c: Likewise.
44522 * string/tst-bswap.c: Likewise.
44523 * string/tst-inlcall.c: Likewise.
44524 * string/tst-strtok.c: Likewise.
44525 * string/tst-strxfrm.c: Likewise.
44526 * sysdeps/x86_64/tst-audit10.c: Likewise.
44527 * sysdeps/x86_64/tst-audit3.c: Likewise.
44528 * sysdeps/x86_64/tst-audit4.c: Likewise.
44529 * sysdeps/x86_64/tst-audit5.c: Likewise.
44530 * time/tst-ftime_l.c: Likewise.
44531 * time/tst-getdate.c: Likewise.
44532 * time/tst-mktime3.c: Likewise.
44533 * time/tst-mktime.c: Likewise.
44534 * time/tst-posixtz.c: Likewise.
44535 * time/tst-strptime2.c: Likewise.
44536 * time/tst-strptime3.c: Likewise.
44537 * wcsmbs/tst-btowc.c: Likewise.
44538 * wcsmbs/tst-mbrtowc.c: Likewise.
44539 * wcsmbs/tst-mbsrtowcs.c: Likewise.
44540 * wcsmbs/tst-wchar-h.c: Likewise.
44541 * wcsmbs/tst-wcpncpy.c: Likewise.
44542 * wcsmbs/tst-wcrtomb.c: Likewise.
44543 * wcsmbs/tst-wcsnlen.c: Likewise.
44544 * wcsmbs/tst-wcstof.c: Likewise.
44545
44546 2014-11-04 Joseph Myers <joseph@codesourcery.com>
44547
44548 [BZ #14132]
44549 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
44550 INTDEF.
44551 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
44552 declaration.
44553 (_dl_mcount): Use rtld_hidden_proto.
44554 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
44555 _dl_mcount.
44556 * elf/rtld.c (_rtld_global_ro): Likewise.
44557
44558 [BZ #14132]
44559 * elf/dl-init.c (_dl_init): Don't use INTDEF.
44560 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
44561 of _dl_init_internal.
44562 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
44563 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
44564 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
44565 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
44566 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
44567 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
44568 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
44569 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
44570 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
44571 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
44572 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
44573 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
44574 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44575 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44576 * sysdeps/tile/dl-start.S (_start): Likewise.
44577 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
44578 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
44579
44580 [BZ #14132]
44581 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
44582 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
44583 (rtld_progname): Make macro definition unconditional.
44584 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
44585 INTDEF.
44586 (dlmopen_doit): Do not use INTUSE with _dl_argv.
44587 (dl_main): Likewise.
44588 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
44589 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
44590 instead of _dl_argv_internal.
44591 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
44592 __GI__dl_argv instead of INTUSE(_dl_argv).
44593 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
44594 __GI__dl_argv instead of _dl_argv_internal.
44595
44596 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
44597 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
44598 macro.
44599 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
44600 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
44601 New macro.
44602 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
44603 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
44604 macro.
44605 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
44606 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
44607
44608 2014-11-04 Andreas Schwab <schwab@suse.de>
44609
44610 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
44611
44612 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44613
44614 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
44615 mtvsrd instruction in binary form.
44616
44617 2014-11-03 Andreas Schwab <schwab@suse.de>
44618
44619 [BZ #17522]
44620 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
44621 for less than MB_LEN_MAX use a local buffer of that size.
44622 * libio/tst-fputws.c: New file.
44623 * libio/Makefile (tests): Add tst-fputws.
44624
44625 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
44626
44627 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
44628 the size of the fpu_fr.fpu_dregs[] array.
44629
44630 2014-11-01 Joseph Myers <joseph@codesourcery.com>
44631
44632 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
44633 (__nanosleep): Do not define as alias.
44634 (nanosleep): Define as alias of __nanosleep.
44635 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
44636 __libc_nanosleep name.
44637
44638 2014-10-31 Joseph Myers <joseph@codesourcery.com>
44639
44640 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
44641 install.texi in comment.
44642
44643 2014-10-31 Torvald Riegel <triegel@redhat.com>
44644
44645 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
44646 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
44647 ... add here and use lwsync or sync ...
44648 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
44649 ... and add here using lwsync.
44650
44651 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
44652
44653 * elf/dl-machine-reject-phdr.h: New file.
44654 * elf/dl-load.c: #include that.
44655 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
44656 if that returned true.
44657
44658 2014-10-31 Roland McGrath <roland@hack.frob.com>
44659
44660 [BZ #17496]
44661 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
44662 gen-as-const-headers chunk. Add a big scare comment after the last
44663 safe place to touch before-compile.
44664
44665 2014-10-31 Joseph Myers <joseph@codesourcery.com>
44666
44667 * manual/install.texi (Tools for Compilation): Update autoconf
44668 version requirements.
44669 * INSTALL: Regenerated.
44670
44671 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
44672 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
44673 (__libc_pselect): Likewise.
44674
44675 [BZ #14138]
44676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
44677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44680
44681 2014-10-31 Torvald Riegel <triegel@redhat.com>
44682
44683 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
44684 correct barrier instruction.
44685 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
44686 Likewise.
44687 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
44688 Likewise.
44689
44690 2014-10-30 Roland McGrath <roland@hack.frob.com>
44691
44692 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
44693 after defining inlines. Instead, just use parens to defeat macro
44694 expansion of __isctype in its declaration.
44695
44696 2014-10-30 Joseph Myers <joseph@codesourcery.com>
44697
44698 * include/sys/uio.h (__libc_readv): Remove declaration.
44699 (__libc_writev): Likewise.
44700 * misc/readv.c (__libc_readv): Rename to __readv.
44701 (__readv): Do not define as alias.
44702 (readv): Define as alias of __readv.
44703 * misc/writev.c (__libc_writev): Rename to __writev.
44704 (__writev): Do not define as alias.
44705 (writev): Define as alias of __writev.
44706 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
44707 (__readv): Do not define as alias.
44708 (readv): Define unconditionally as alias of __readv.
44709 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
44710 (__writev): Do not define as alias.
44711 (writev): Define unconditionally as alias of __writev.
44712 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
44713 name.
44714 (writev): Do not define __libc_writev name.
44715
44716 2014-10-30 Roland McGrath <roland@hack.frob.com>
44717
44718 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
44719 (convert_charseq): New function, broken out of ...
44720 (use_from_charmap): ... here. Call it.
44721 (use_to_charmap): Use convert_charseq and free instead of duplicating
44722 its code with a variable-length stack struct.
44723
44724 2014-10-30 Joseph Myers <joseph@codesourcery.com>
44725
44726 * include/fcntl.h (__libc_creat): Remove declaration.
44727 * io/creat.c (__libc_creat): Rename to creat.
44728 (creat): Do not define as alias.
44729 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
44730 of creat instead of __libc_creat.
44731 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
44732 to creat.
44733 (creat): Do not define as alias.
44734 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
44735 __libc_creat.
44736 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
44737 __libc_creat name.
44738 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
44739 Likewise.
44740
44741 2014-10-29 Carlos O'Donell <carlos@redhat.com>
44742
44743 * manual/llio.texi: Add comments discussing why write() may be
44744 considered MT-unsafe on Linux.
44745
44746 2014-10-28 Carlos O'Donell <carlos@redhat.com>
44747
44748 * dl-load.c (local_strdup): Remove.
44749 (expand_dynamic_string_token): Use __strdup.
44750 (decompose_rpath): Likewise.
44751 (_dl_map_object): Likewise.
44752
44753 2014-10-28 Joseph Myers <joseph@codesourcery.com>
44754
44755 [BZ #14132]
44756 * sysdeps/generic/unwind-dw2-fde.c
44757 (__register_frame_info_bases_internal): Do not declare.
44758 (__register_frame_info_table_bases_internal): Likewise.
44759 (__deregister_frame_info_bases_internal): Likewise.
44760 (__register_frame_info_bases): Declare and use hidden_proto before
44761 definition. Use hidden_def instead of INTDEF.
44762 (__register_frame_info_table_bases): Likewise.
44763 (__deregister_frame_info_bases): Likewise.
44764 (__register_frame_info): Do not use INTUSE.
44765 (__register_frame): Likewise.
44766 (__register_frame_info_table): Likewise.
44767 (__register_frame_table): Likewise.
44768 (__deregister_frame_info): Likewise.
44769 (__deregister_frame): Likewise.
44770
44771 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
44772
44773 * sysdeps/unix/sysv/linux/arm/kernel-features.h
44774 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
44775 not undefine.
44776 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
44777 Likewise.
44778 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
44779 Likewise.
44780
44781 2014-10-27 Joseph Myers <joseph@codesourcery.com>
44782
44783 [BZ #14138]
44784 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
44785 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
44786 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
44787 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
44788 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
44789 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
44790 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
44791 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
44792 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
44793 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
44794 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
44795 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
44796 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
44797 syscall.
44798 (setfsuid): Likewise.
44799 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
44800 (setfsuid): Likewise.
44801 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
44802 (setfsuid): Likewise.
44803 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
44804 Likewise.
44805 (setfsuid): Likewise.
44806 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
44807 (setfsuid): Likewise.
44808 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
44809 Likewise.
44810 (setfsuid): Likewise.
44811
44812 2014-10-27 Andreas Schwab <schwab@suse.de>
44813
44814 [BZ #17501]
44815 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
44816 check for Slow_SSE4_2 feature bit.
44817 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
44818 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
44819 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
44820 Likewise. Fix check for Fast_Unaligned_Load feature bit.
44821
44822 2014-10-24 Roland McGrath <roland@hack.frob.com>
44823
44824 * configure.ac: Validate compiler version with a empirical test of
44825 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
44826 $CC -v output.
44827 * configure: Regenerated.
44828
44829 * inet/htons.c (htons): Prototypify.
44830 * inet/htonl.c (htonl): Likewise.
44831
44832 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44833
44834 * string/strncat.c (strncat): Improve performance by using strlen.
44835
44836 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44837
44838 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
44839
44840 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44841
44842 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
44843 Call libc_fetestexcept_aarch64.
44844
44845 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44846
44847 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
44848 Call libc_feholdexcept_aarch64.
44849
44850 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44851
44852 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
44853 Call get_rounding_mode.
44854
44855 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44856
44857 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
44858 Simplify logic.
44859
44860 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44861
44862 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
44863 Simplify logic.
44864
44865 2014-10-24 Joseph Myers <joseph@codesourcery.com>
44866
44867 [BZ #14138]
44868 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
44869 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
44870 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
44871 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
44872 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
44873 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
44874 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
44875 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
44876 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
44877 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
44878 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
44879 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
44880 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
44881 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
44882 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
44883 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
44884 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
44885 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
44886 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
44887 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
44888 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
44889 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
44890 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
44891 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
44892 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
44893 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
44894 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
44895 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
44896 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
44897 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
44898 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
44899 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
44900 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
44901 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
44902 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
44903 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
44904 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
44905 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
44906 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
44907 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
44908 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
44909 syscall.
44910 (geteuid): Likewise.
44911 (getgid): Likewise.
44912 (getuid): Likewise.
44913 (getresgid): Likewise.
44914 (getresuid): Likewise.
44915 (getgroups): Likewise.
44916 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
44917 (geteuid): Likewise.
44918 (getgid): Likewise.
44919 (getuid): Likewise.
44920 (getresgid): Likewise.
44921 (getresuid): Likewise.
44922 (getgroups): Likewise.
44923 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
44924 (geteuid): Likewise.
44925 (getgid): Likewise.
44926 (getuid): Likewise.
44927 (getresgid): Likewise.
44928 (getresuid): Likewise.
44929 (getgroups): Likewise.
44930 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
44931 Likewise.
44932 (geteuid): Likewise.
44933 (getgid): Likewise.
44934 (getuid): Likewise.
44935 (getresgid): Likewise.
44936 (getresuid): Likewise.
44937 (getgroups): Likewise.
44938 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
44939 (geteuid): Likewise.
44940 (getgid): Likewise.
44941 (getuid): Likewise.
44942 (getresgid): Likewise.
44943 (getresuid): Likewise.
44944 (getgroups): Likewise.
44945 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
44946 Likewise.
44947 (geteuid): Likewise.
44948 (getgid): Likewise.
44949 (getuid): Likewise.
44950 (getgroups): Likewise.
44951
44952 [BZ #14138]
44953 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
44954 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
44955 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
44956 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
44957 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
44958 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
44959 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
44960 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
44961 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
44962 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
44963 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
44964 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
44965 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
44966 __chown.
44967 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
44968 (lchown): Likewise.
44969 (fchown): Likewise.
44970 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
44971 Likewise.
44972 (lchown): Likewise.
44973 (fchown): Likewise.
44974 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
44975 (lchown): Likewise.
44976 (fchown): Likewise.
44977 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
44978 Likewise.
44979 (lchown): Likewise.
44980 (fchown): Likewise.
44981
44982 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
44983
44984 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
44985 Simplify logic.
44986
44987 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
44988
44989 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
44990 Cleanup logic.
44991
44992 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
44993
44994 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
44995 Remove unused include.
44996
44997 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
44998
44999 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
45000 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
45001 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
45002 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
45003
45004 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
45005 Helge Deller <deller@gmx.de>
45006
45007 [BZ #17508]
45008 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
45009 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
45010 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
45011
45012 2014-10-23 Joseph Myers <joseph@codesourcery.com>
45013
45014 [BZ #14132]
45015 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
45016 Remove macro definition.
45017 (__ashrdi3_v_glibc20): Likewise.
45018 (__lshrdi3_v_glibc20): Likewise.
45019 (__cmpdi2_v_glibc20): Likewise.
45020 (__ucmpdi2_v_glibc20): Likewise.
45021 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
45022 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45023 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45024 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45025 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45026 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
45027
45028 2014-10-22 Roland McGrath <roland@hack.frob.com>
45029
45030 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
45031 old GNU extension [0] syntax.
45032 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
45033 alloca rather than an array member with variable length.
45034 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
45035 * nscd/nscd.c (invalidate_db): New function, broken out of ...
45036 (parse_opt): ... here. Likewise use alloca there.
45037 Validate the -i argument before checking for rootness.
45038 (send_shutdown): New function, broken out of ...
45039 (parse_opt): ... here.
45040
45041 2014-10-22 Roland McGrath <roland@hack.frob.com>
45042
45043 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
45044 macro to get at the _rt_local_ro field.
45045 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
45046 ([PIC] case) or _dl_hwcap ([!PIC] case).
45047 * sysdeps/arm/setjmp.S: Likewise.
45048
45049 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
45050 * sysdeps/arm/configure.ac: New check to define it.
45051 * sysdeps/arm/configure: Regenerated.
45052 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
45053 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
45054 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
45055 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
45056 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
45057 Use move/movt pair instead of a load.
45058 (LDST_GLOBAL): Macro removed.
45059 (LDR_GLOBAL): New macro replaces it.
45060 (LDR_HIDDEN): New macro.
45061 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
45062 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
45063
45064 * setjmp/tst-setjmp-static.c: New file.
45065 * setjmp/Makefile (tests): Add it.
45066 (tests-static): New variable.
45067
45068 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
45069
45070 [BZ #17485]
45071 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
45072
45073 2014-10-21 Joseph Myers <joseph@codesourcery.com>
45074
45075 [BZ #14132]
45076 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
45077
45078 2014-10-21 Roland McGrath <roland@hack.frob.com>
45079
45080 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
45081
45082 2014-10-20 Roland McGrath <roland@hack.frob.com>
45083
45084 * io/fts.c (dirent_not_directory): New function.
45085 (fts_build): Call it.
45086
45087 2014-10-20 Roland McGrath <roland@hack.frob.com>
45088
45089 * nptl/version.c (__nptl_main): Use normal __write rather than
45090 INTERNAL_SYSCALL.
45091 (banner): Update copyright years.
45092
45093 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
45094 gettimeofday.
45095 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
45096 * nptl/pthread_cond_timedwait.c: Likewise.
45097 * nptl/pthread_mutex_timedlock.c: Likewise.
45098 * nptl/sem_timedwait.c: Likewise.
45099
45100 * sysdeps/nptl/bits/libc-lock.h
45101 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
45102 (__libc_lock_init_recursive): Return void, not 0.
45103 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
45104 (__libc_rwlock_init): Likewise.
45105 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
45106
45107 2014-10-20 Torvald Riegel <triegel@redhat.com>
45108
45109 [BZ #15215]
45110 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
45111 (__pthread_once_slow): ... here.
45112 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
45113 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
45114
45115 2014-10-20 Torvald Riegel <triegel@redhat.com>
45116
45117 [BZ #15215]
45118 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
45119 __PTHREAD_ONCE_FORK_GEN_INCR): New.
45120 * sysdeps/nptl/fork.c (__libc_fork): Use them.
45121 * nptl/pthread_once.c (__pthread_once): Likewise.
45122 Update comments.
45123
45124 2014-10-20 Joseph Myers <joseph@codesourcery.com>
45125
45126 [BZ #14138]
45127 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
45128 name.
45129 (writev): Use __libc_writev as strong name.
45130 * sysdeps/unix/sysv/linux/readv.c: Remove file.
45131 * sysdeps/unix/sysv/linux/writev.c: Likewise.
45132
45133 2014-10-17 Roland McGrath <roland@hack.frob.com>
45134
45135 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
45136
45137 * sysdeps/i386/nptl/tls.h
45138 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
45139 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
45140 New macros.
45141 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
45142 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
45143 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
45144 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
45145 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
45146 Call CHECK_THREAD_SYSINFO instead of doing an assert.
45147
45148 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
45149 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
45150 on [__NR_futex].
45151 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
45152 broken out of ...
45153 (__pthread_mutex_init): ... here. Call it.
45154 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
45155 Conditionalize PI cases on [__NR_futex].
45156 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
45157 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
45158 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
45159
45160 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
45161 conditional on [SIGSETXID].
45162 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
45163 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
45164 is defined. Likewise for SIGSETXID.
45165 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
45166 Conditionalize definitions on [SIGSETXID].
45167 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
45168 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
45169 unblocking on [SIGCANCEL].
45170
45171 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
45172 [__NR_set_robust_list].
45173
45174 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
45175
45176 * string/strcoll_l.c (get_next_seq): Fix up formatting.
45177 (do_compare): Likewise.
45178
45179 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
45180
45181 [BZ #15884]
45182 * string/strcoll_l.c: Don't include stdio.h.
45183 (coll_seq): Remove members idxarr and rulearr.
45184 (get_next_seq_cached): Remove function.
45185 (get_next_seq): Likewise.
45186 (get_next_seq_nocache): Rename to get_next_seq.
45187 (do_compare): Remove function.
45188 (do_compare_nocache): Rename to do_compare.
45189 (STRCOLL): Remove weight and rules cache.
45190
45191 2014-10-16 Roland McGrath <roland@hack.frob.com>
45192
45193 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
45194 * sysdeps/arm/sfp-machine.h: ... to here.
45195 * sysdeps/arm/Implies: Remove arm/soft-fp.
45196
45197 2014-10-14 Joseph Myers <joseph@codesourcery.com>
45198
45199 * conform/data/sys/utsname.h-data (*_t): Allow.
45200 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
45201 [POSIX] (WEXITED): Do not expect constant.
45202 [POSIX] (WSTOPPED): Likewise.
45203 [POSIX] (WNOHANG): Likewise.
45204 [POSIX] (WNOWAIT): Likewise.
45205 [POSIX] (siginfo_t): Do not expect type or elements.
45206 [POSIX] (pid_t): Do not expect type.
45207 [POSIX] (signal.h): Do not allow header.
45208 [POSIX] (sys/resource.h): Likewise.
45209 [POSIX] (si_*): Do not allow pattern.
45210 [POSIX] (W*): Likewise.
45211 [POSIX] (P_*): Likewise.
45212 [POSIX] (BUS_*): Likewise.
45213 [POSIX] (CLD_*): Likewise.
45214 [POSIX] (FPE_*): Likewise.
45215 [POSIX] (ILL_*): Likewise.
45216 [POSIX] (POLL_*): Likewise.
45217 [POSIX] (SEGV_*): Likewise.
45218 [POSIX] (SI_*): Likewise.
45219 [POSIX] (TRAP_*): Likewise.
45220 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
45221 variable.
45222
45223 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
45224
45225 [BZ #12926]
45226 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
45227 infinite loop when __recvmsg returns 0.
45228
45229 2014-10-10 Joseph Myers <joseph@codesourcery.com>
45230
45231 * CANCEL-FCT-WAIVE: Remove file.
45232 * CANCEL-FILE-WAIVE: Likewise.
45233
45234 [BZ #14132]
45235 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
45236 instead of INTVARDEF.
45237 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45238 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
45239 rtld_hidden_data_def instead of INTVARDEF.
45240 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45241 * elf/dl-deps.c (expand_dst): Likewise.
45242 * elf/dl-load.c (_dl_dst_count): Likewise.
45243 (_dl_dst_substitute): Likewise.
45244 (decompose_rpath): Likewise.
45245 (_dl_init_paths): Likewise.
45246 (open_path): Likewise.
45247 (_dl_map_object): Likewise.
45248 * elf/rtld.c (dl_main): Likewise.
45249 (process_dl_audit): Likewise.
45250 (process_envvars): Likewise.
45251 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
45252 Remove declaration.
45253 (__libc_enable_secure): Use rtld_hidden_proto.
45254
45255 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45256
45257 * elf/dl-load.c
45258 (add_path): New function broken out of _dl_rtld_di_serinfo.
45259 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
45260
45261 2014-10-09 Joseph Myers <joseph@codesourcery.com>
45262
45263 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
45264 parentheses around macro arguments.
45265 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
45266 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
45267 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
45268 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
45269 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
45270 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45271 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45272 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
45273 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
45274 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
45275 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
45276 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
45277 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
45278 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
45279 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
45280 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
45281 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
45282 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
45283 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
45284 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
45285 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
45286 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
45287 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
45288 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45289 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45290 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
45291 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
45292 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
45293 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
45294 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
45295 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
45296 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
45297 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
45298 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
45299 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
45300 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
45301 Likewise.
45302 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
45303 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45304 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45305 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
45306 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
45307 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
45308 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
45309 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
45310 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
45311 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
45312 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
45313 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
45314 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
45315 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
45316 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
45317 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45318 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45319 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
45320 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
45321 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
45322 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
45323 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
45324 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
45325 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
45326 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
45327 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
45328 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
45329 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
45330 (_FP_FRAC_SRS_1): Likewise.
45331 (_FP_FRAC_CLZ_1): Likewise.
45332 (_FP_MUL_MEAT_1_imm): Likewise.
45333 (_FP_MUL_MEAT_1_wide): Likewise.
45334 (_FP_MUL_MEAT_1_hard): Likewise.
45335 (_FP_SQRT_MEAT_1): Likewise.
45336 (_FP_FRAC_ASSEMBLE_1): Likewise.
45337 (_FP_FRAC_DISASSEMBLE_1): Likewise.
45338 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
45339 (__FP_CLZ_2): Likewise.
45340 (_FP_MUL_MEAT_2_wide): Likewise.
45341 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
45342 (_FP_MUL_MEAT_2_gmp): Likewise.
45343 (_FP_MUL_MEAT_2_120_240_double): Likewise.
45344 (_FP_SQRT_MEAT_2): Likewise.
45345 (_FP_FRAC_ASSEMBLE_2): Likewise.
45346 (_FP_FRAC_DISASSEMBLE_2): Likewise.
45347 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
45348 (_FP_FRAC_CLZ_4): Likewise.
45349 (_FP_MUL_MEAT_4_wide): Likewise.
45350 (_FP_MUL_MEAT_4_gmp): Likewise.
45351 (_FP_SQRT_MEAT_4): Likewise.
45352 (_FP_FRAC_ASSEMBLE_4): Likewise.
45353 (_FP_FRAC_DISASSEMBLE_4): Likewise.
45354 * soft-fp/op-common.h (_FP_CMP): Likewise.
45355 (_FP_CMP_EQ): Likewise.
45356 (_FP_CMP_UNORD): Likewise.
45357 (_FP_TO_INT): Likewise.
45358 (_FP_FROM_INT): Likewise.
45359 [!__FP_CLZ] (__FP_CLZ): Likewise.
45360 (_FP_DIV_HELP_imm): Likewise.
45361 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
45362 Likewise.
45363 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
45364 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
45365 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
45366 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
45367 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
45368 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45369 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45370 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
45371 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
45372 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
45373 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
45374 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
45375 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
45376 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
45377 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
45378 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
45379 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
45380 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
45381 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
45382 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
45383 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
45384 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
45385 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
45386 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45387 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45388 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
45389 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
45390 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
45391 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
45392 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
45393 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
45394 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
45395 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
45396 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
45397 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
45398 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
45399 (FP_UNPACK_RAW_SP): Likewise.
45400 (FP_PACK_RAW_S): Likewise.
45401 (FP_PACK_RAW_SP): Likewise.
45402 (FP_UNPACK_S): Likewise.
45403 (FP_UNPACK_SP): Likewise.
45404 (FP_UNPACK_SEMIRAW_S): Likewise.
45405 (FP_UNPACK_SEMIRAW_SP): Likewise.
45406 (FP_PACK_S): Likewise.
45407 (FP_PACK_SP): Likewise.
45408 (FP_PACK_SEMIRAW_S): Likewise.
45409 (FP_PACK_SEMIRAW_SP): Likewise.
45410 (_FP_SQRT_MEAT_S): Likewise.
45411 (FP_CMP_S): Likewise.
45412 (FP_CMP_EQ_S): Likewise.
45413 (FP_CMP_UNORD_S): Likewise.
45414 (FP_TO_INT_S): Likewise.
45415 (FP_FROM_INT_S): Likewise.
45416
45417 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
45418
45419 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
45420 (FP_EX_INVALID_IMZ): Likewise.
45421 (FP_EX_INVALID_IMZ_FMA): Likewise.
45422 (FP_EX_INVALID_ISI): Likewise.
45423 (FP_EX_INVALID_ZDZ): Likewise.
45424 (FP_EX_INVALID_IDI): Likewise.
45425 (FP_EX_INVALID_SQRT): Likewise.
45426 (FP_EX_INVALID_CVI): Likewise.
45427 (FP_EX_INVALID_VC): Likewise.
45428 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
45429 "invalid" exceptions.
45430 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
45431 (_FP_ADD_INTERNAL): Likewise.
45432 (_FP_MUL): Likewise.
45433 (_FP_FMA): Likewise.
45434 (_FP_DIV): Likewise.
45435 (_FP_CMP_CHECK_NAN): Likewise.
45436 (_FP_SQRT): Likewise.
45437 (_FP_TO_INT): Likewise.
45438 (FP_EXTEND): Likewise.
45439
45440 2014-10-09 Allan McRae <allan@archlinux.org>
45441
45442 * po/fr.po: Update French translation from translation project.
45443
45444 2014-10-09 Joseph Myers <joseph@codesourcery.com>
45445
45446 [BZ #14132]
45447 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
45448 of INTDEF.
45449 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
45450 (__cxa_atexit): Use libc_hidden_proto.
45451 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
45452
45453 [BZ #14132]
45454 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
45455 declaration.
45456 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
45457 [!_ISOMAC] (__iswspace_l_internal): Likewise.
45458 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
45459 [!_ISOMAC] (__iswctype_internal): Likewise.
45460 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
45461 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
45462 alias.
45463 (fcntl): Remove __fcntl_internal alias.
45464 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
45465 __connect_internal alias.
45466 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
45467 Likewise.
45468
45469 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
45470 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
45471 FP_DENORM_ZERO.
45472 (_FP_CHECK_FLUSH_ZERO): New macro.
45473 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
45474 (_FP_CMP): Likewise.
45475 (_FP_CMP_EQ): Likewise.
45476 (_FP_TO_INT): Do not set inexact for subnormal arguments if
45477 FP_DENORM_ZERO.
45478 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
45479 (FP_TRUNC): Likewise.
45480
45481 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
45482 treated as invalid conversion, not as normal exponent.
45483
45484 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
45485 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
45486 (_FP_CMP_EQ): Likewise.
45487 (_FP_CMP_UNORD): Likewise.
45488 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
45489 (FP_CMP_EQ_D): Likewise.
45490 (FP_CMP_UNORD_D): Likewise.
45491 * soft-fp/extended.h (FP_CMP_E): Likewise.
45492 (FP_CMP_EQ_E): Likewise.
45493 (FP_CMP_UNORD_E): Likewise.
45494 * soft-fp/quad.h (FP_CMP_Q): Likewise.
45495 (FP_CMP_EQ_Q): Likewise.
45496 (FP_CMP_UNORD_Q): Likewise.
45497 * soft-fp/single.h (FP_CMP_S): Likewise.
45498 (FP_CMP_EQ_S): Likewise.
45499 (FP_CMP_UNORD_S): Likewise.
45500 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
45501 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
45502 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
45503 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
45504 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
45505 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
45506 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
45507 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
45508 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
45509 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
45510 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
45511 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
45512 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
45513 to FP_CMP_Q.
45514 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
45515 FP_CMP_Q.
45516 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
45517 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
45518 FP_CMP_EQ_Q.
45519 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
45520 FP_CMP_Q.
45521 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
45522 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
45523 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
45524 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
45525 FP_CMP_EQ_Q.
45526 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
45527 FP_CMP_Q.
45528 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
45529 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
45530 FP_CMP_EQ_Q.
45531 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
45532 FP_CMP_Q.
45533 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
45534 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
45535 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
45536 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
45537 FP_CMP_EQ_Q.
45538
45539 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
45540 a subnormal result, set the underflow exception if trapping on
45541 underflow is enabled.
45542 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
45543 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
45544 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
45545 redefine to 0.
45546 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
45547 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45548 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45549 * soft-fp/extendxftf2.c (__extendxftf2): Use
45550 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
45551
45552 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
45553 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
45554 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45555 FP_HANDLE_EXCEPTIONS.
45556 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
45557 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45558 FP_HANDLE_EXCEPTIONS.
45559 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
45560 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45561 FP_HANDLE_EXCEPTIONS.
45562 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
45563 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45564 FP_HANDLE_EXCEPTIONS.
45565
45566 2014-10-08 Joseph Myers <joseph@codesourcery.com>
45567
45568 [BZ #14132]
45569 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
45570 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
45571 use INTUSE.
45572 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
45573 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
45574 Remove alias.
45575 (__adjtimex): Define using libc_hidden_ver.
45576 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
45577 Remove declaration.
45578 (ntp_gettime): Call __adjtimex directly.
45579 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
45580 Remove declaration.
45581 (ntp_gettimex): Call __adjtimex directly.
45582 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
45583 __adjtimex_internal alias.
45584
45585 2014-10-08 Roland McGrath <roland@hack.frob.com>
45586
45587 [BZ #17460]
45588 * nscd/nscd.c (more_help): Rewrite list of tables collection
45589 using xstrdup and asprintf.
45590
45591 * nscd/nscd_conf.c: Remove local xstrdup declaration.
45592
45593 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45594 Roland McGrath <roland@hack.frob.com>
45595
45596 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
45597 (do_lookup_unique): ... local function 'enter' here; update callers.
45598
45599 2014-10-06 Joseph Myers <joseph@codesourcery.com>
45600
45601 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
45602 compat_symbol calls on [SHARED].
45603 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
45604 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
45605 Remove.
45606 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45607 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
45608 (oldsetrlimit): Remove.
45609 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
45611 (lchown): New syscall entry.
45612 (oldsetrlimit): Remove.
45613 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45614 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
45615 (oldsetrlimit): Remove.
45616 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45617
45618 [BZ #14138]
45619 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
45620 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
45621 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
45622 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
45623 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
45624 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
45625 (fchown): Likewise.
45626 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
45627 (fchown): Likewise.
45628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
45629 Likewise.
45630
45631 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45632
45633 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
45634 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
45635 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
45636 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
45637 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
45638 Likewise.
45639 (__old_sem_post): Likewise.
45640
45641 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
45642
45643 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
45644 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
45645 HAVE_CLOCK_GETTIME_VSYSCALL macros.
45646 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
45647 Use INLINE_VSYSCALL macro.
45648 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
45649 __vdso_clock_gettime.
45650 * sysdeps/unix/sysv/linux/tile/init-first.c
45651 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
45652 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
45653 __vdso_clock_gettime.
45654
45655 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
45656 to set up frame more cleanly.
45657
45658 * sysdeps/tile/memcmp.c: New file.
45659
45660 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
45661
45662 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
45663 * sysdeps/tile/tilegx/strcasestr.c: New file.
45664 * sysdeps/tile/tilegx/strnlen.c: New file.
45665 * sysdeps/tile/tilegx/strstr.c: New file.
45666
45667 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
45668
45669 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
45670
45671 * nptl/tst-setuid3.c: Write errors to stdout.
45672
45673 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45674
45675 * elf/dl-deps.c
45676 (preload): New functions broken out of _dl_map_object_deps.
45677 (_dl_map_object_deps): Remove a nested function. Update call sites.
45678
45679 2014-10-01 Joseph Myers <joseph@codesourcery.com>
45680
45681 [BZ #14138]
45682 * sysdeps/unix/sysv/linux/execve.c: Remove file.
45683 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
45684
45685 2014-10-01 Steve Ellcey <sellcey@mips.com>
45686
45687 * sysdeps/mips/strcmp.S: New.
45688
45689 2014-09-30 Joseph Myers <joseph@codesourcery.com>
45690
45691 [BZ #14138]
45692 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
45693 (linkat): Likewise.
45694 (mkdirat): Likewise.
45695 (readlinkat): Likewise.
45696 (renameat): Likewise.
45697 (symlinkat): Likewise.
45698 (unlinkat): Likewise.
45699 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
45700 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
45701 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
45702 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
45703 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
45704 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
45705 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
45706
45707 2014-09-30 Will Newton <will.newton@linaro.org>
45708
45709 * math/math.h: Define long double math functions if
45710 _LIBC_TEST is defined.
45711 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
45712
45713 * localedata/Makefile: Move assignment to tests-special
45714 into an ifdef testing run-built-tests.
45715 * timezone/Makefile: Likewise.
45716
45717 2014-09-29 Joseph Myers <joseph@codesourcery.com>
45718
45719 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
45720 with $(BASH) not $(SHELL).
45721
45722 2014-09-29 Carlos O'Donell <carlos@redhat.com>
45723 Matthew LeGendre <legendre1@llnl.gov>
45724
45725 [BZ #17411]
45726 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
45727 l_reloc_result.
45728
45729 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45730
45731 * stdio-common/printf_fp.c
45732 (hack_digit): New function, broken out of ...
45733 (__printf_fp): ... local function here. Update call sites.
45734 hack_digit now takes an additional parameter that is a pointer
45735 to a struct of the referenced locals. Those locals moved inside
45736 the struct and references updated.
45737
45738 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
45739
45740 * aclocal.m4: Require autoconf 2.69.
45741 * configure: Regenerated.
45742 * sysdeps/aarch64/configure: Likewise.
45743 * sysdeps/alpha/configure: Likewise.
45744 * sysdeps/arm/armv7/configure: Likewise.
45745 * sysdeps/arm/configure: Likewise.
45746 * sysdeps/ia64/configure: Likewise.
45747 * sysdeps/mach/configure: Likewise.
45748 * sysdeps/mips/configure: Likewise.
45749 * sysdeps/s390/configure: Likewise.
45750 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
45751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
45752
45753 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
45754 file.
45755 * sysdeps/ia64/configure.ac: Likewise.
45756
45757 2014-09-26 Joseph Myers <joseph@codesourcery.com>
45758
45759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
45760 specify symbol version for ld.so. Do not include entry for
45761 libpthread.
45762 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
45763 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
45764 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
45765
45766 [BZ #14171]
45767 * Makeconfig [$(build-shared) = yes]
45768 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
45769 makefiles.
45770 [$(build-shared) = yes && $(soversions.mk-done) = t]
45771 ($(common-objpfx)gnu/lib-names.h): Remove rule.
45772 [$(build-shared) = yes && $(soversions.mk-done) = t]
45773 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
45774 to Makerules.
45775 [$(build-shared) = yes && $(soversions.mk-done) = t]
45776 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
45777 here.
45778 [$(build-shared) = yes && $(soversions.mk-done) = t]
45779 (common-generated): Don't append gnu/lib-names.h and
45780 gnu/lib-names.stmp here.
45781 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
45782 (lib-names-h-abi): New variable.
45783 [$(build-shared) = yes && $(soversions.mk-done) = t]
45784 (lib-names-stmp-abi): Likewise.
45785 [$(build-shared) = yes && $(soversions.mk-done) = t &&
45786 abi-variants] (before-compile): Append
45787 $(common-objpfx)$(lib-names-h-abi).
45788 [$(build-shared) = yes && $(soversions.mk-done) = t &&
45789 abi-variants] (common-generated): Append gnu/lib-names.h.
45790 [$(build-shared) = yes && $(soversions.mk-done) = t &&
45791 abi-variants] (install-others-nosubdir): Depend on
45792 $(inst_includedir)/$(lib-names-h-abi).
45793 [$(build-shared) = yes && $(soversions.mk-done) = t &&
45794 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
45795 [$(build-shared) = yes && $(soversions.mk-done) = t]
45796 ($(common-objpfx)$(lib-names-h-abi)): New rule.
45797 [$(build-shared) = yes && $(soversions.mk-done) = t]
45798 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
45799 [$(build-shared) = yes && $(soversions.mk-done) = t]
45800 (common-generated): Append $(lib-names-h-abi) and
45801 $(lib-names-stmp-abi).
45802 * scripts/lib-names.awk: Do not handle multi being set.
45803 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
45804 Remove variable.
45805 (abi-lp64_be-ld-soname): Likewise.
45806 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
45807 Likewise.
45808 (abi-hard-ld-soname): Likewise.
45809 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
45810 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
45811 Remove variable.
45812 (abi-o32_hard-ld-soname): Likewise.
45813 (abi-o32_soft_2008-ld-soname): Likewise.
45814 (abi-o32_hard_2008-ld-soname): Likewise.
45815 (abi-n32_soft-ld-soname): Likewise.
45816 (abi-n32_hard-ld-soname): Likewise.
45817 (abi-n32_soft_2008-ld-soname): Likewise.
45818 (abi-n32_hard_2008-ld-soname): Likewise.
45819 (abi-n64_soft-ld-soname): Likewise.
45820 (abi-n64_hard-ld-soname): Likewise.
45821 (abi-n64_soft_2008-ld-soname): Likewise.
45822 (abi-n64_hard_2008-ld-soname): Likewise.
45823 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
45824 Likewise.
45825 (abi-64-v2-ld-soname): Likewise.
45826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
45827 ld.so entries.
45828 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
45829 variable.
45830 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
45831 entry.
45832 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
45833 variable.
45834 (abi-64-ld-soname): Likewise.
45835 (abi-x32-ld-soname): Likewise.
45836 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
45837 entry.
45838 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
45839
45840 2014-09-23 Joseph Myers <joseph@codesourcery.com>
45841
45842 [BZ #14138]
45843 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
45844 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
45845 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
45846 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
45847 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
45848 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
45849 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
45850 syscall entry for GLIBC_2.2 symbol version.
45851 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
45852 Likewise.
45853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
45854 (setrlimit): Likewise.
45855 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
45856 Likewise.
45857
45858 2014-09-23 Will Newton <will.newton@linaro.org>
45859
45860 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
45861 _LINUX_ARM_SYSDEP_H include guard too.
45862 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
45863 define.
45864
45865 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
45866
45867 * sysdeps/unix/sysv/linux/eventfd.c:
45868 Make first argument unsigned.
45869 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
45870 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
45871
45872 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
45873
45874 [BZ #16852]
45875 * socket/recvmmsg.c (recvmmsg): Drop const argument.
45876 * socket/sys/socket.h: Likewise.
45877 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
45878
45879 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45880
45881 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
45882
45883 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
45884
45885 * time/tst-ftime.c: New test.
45886 * time/Makefile (tests): Add tst-ftime.
45887
45888 2014-09-17 Joseph Myers <joseph@codesourcery.com>
45889
45890 * soft-fp/extended.h: Fix comment formatting.
45891 * soft-fp/op-1.h: Likewise.
45892 * soft-fp/op-2.h: Likewise.
45893 * soft-fp/op-4.h: Likewise.
45894 * soft-fp/op-8.h: Likewise.
45895 * soft-fp/op-common.h: Likewise.
45896 * soft-fp/soft-fp.h: Likewise.
45897
45898 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
45899
45900 2014-09-16 Joseph Myers <joseph@codesourcery.com>
45901
45902 [BZ #6652]
45903 * Makeconfig (soversions-default-setname): Remove variable.
45904 ($(common-objpfx)soversions.i): Don't pass default_setname to
45905 soversions.awk.
45906 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
45907 oldest_abi to abi-versions.awk.
45908 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
45909 * config.make.in (oldest-abi): Remove variable.
45910 * configure.ac (--enable-oldest-abi): Remove configure option.
45911 * configure: Regenerated.
45912 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
45913 text.
45914 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
45915 * scripts/soversions.awk: Do not handle default_setname variable.
45916 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
45917 variable.
45918 * sysdeps/mach/hurd/configure: Regenerated.
45919 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
45920 variable.
45921 * sysdeps/unix/sysv/linux/configure: Regenerated.
45922
45923 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
45924
45925 * elf/Makefile (CFLAGS-interp.c): Remove.
45926 ($(elf-objpfx)runtime-linker.h): Generate header with linker
45927 path string.
45928 * elf/interp.c: Include generated runtime-linker.h
45929
45930 * Makerules (lib%.so): Don't include $(+interp) in
45931 prerequisites.
45932 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
45933 * dlfcn/eval.c: Remove file.
45934
45935 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
45936 macros.
45937
45938 [BZ #17266]
45939 * misc/sys/cdefs.h: Define __extern_always_inline for clang
45940 4.2 and newer.
45941
45942 [BZ #17370]
45943 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
45944
45945 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
45946 Jakub Jelinek <jakub@redhat.com>
45947
45948 [BZ #17266]
45949 * libio/stdio.h: Check definition of __fortify_function
45950 instead of __extern_always_inline to include bits/stdio2.h.
45951 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
45952 check if __extern_always_inline is defined.
45953 [__USE_MISC || __USE_XOPEN]: Likewise.
45954 [__USE_ISOC99] Likewise.
45955 * misc/sys/cdefs.h (__fortify_function): Define only if
45956 __extern_always_inline is defined.
45957 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
45958 __extern_always_inline and __extern_inline only for g++-4.3
45959 and newer or a compatible gcc.
45960
45961 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
45962
45963 [BZ #17371]
45964 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
45965 last change to handle zero prefix length.
45966
45967 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
45968
45969 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
45970 _SC_REGEX_VERSION.
45971
45972 * posix/getconf.c (vars): Add _POSIX_IPV6 and
45973 _POSIX_RAW_SOCKETS.
45974
45975 2014-09-13 Allan McRae <allan@archlinux.org>
45976
45977 * po/ru.po: Update Russian translation from translation project.
45978
45979 2014-09-12 Roland McGrath <roland@hack.frob.com>
45980
45981 * locale/programs/locale.c (show_locale_vars): Inline local function
45982 into its sole call site. Clean up some style nits.
45983 (print_item): New function, broken out of ...
45984 (show_info): ... local function here. Clean up style nits.
45985
45986 * locale/programs/ld-ctype.c (set_one_default): New function, broken
45987 out of ...
45988 (set_class_defaults): ... local function set_default here.
45989 Define set_default as a macro locally to pass constant parameters.
45990 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
45991 rather than a shared local.
45992
45993 * stdlib/rpmatch.c (try): New function, broken out of ...
45994 (rpmatch): ... local function here. Also, prototypify definition.
45995
45996 2014-09-12 Joseph Myers <joseph@codesourcery.com>
45997
45998 * scripts/soversions.awk: Do not handle configuration names.
45999 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
46000 vendor and os variables to soversions.awk.
46001 * configure.ac: Do not modify gnu-* host_os.
46002 * configure: Regenerated
46003 * shlib-versions: Remove first column with configuration names.
46004 * nptl/shlib-versions: Likewise.
46005 * nptl_db/shlib-versions: Likewise.
46006 * sysdeps/hppa/shlib-versions: Likewise.
46007 * sysdeps/m68k/shlib-versions: Likewise.
46008 * sysdeps/mach/hurd/shlib-versions: Likewise.
46009 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
46010 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
46011 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
46012 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
46013 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
46014 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
46015 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
46016 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
46017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46018 Likewise.
46019 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46020 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46021 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46022 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46023 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46024 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
46025 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
46026 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46027
46028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
46029 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
46030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
46031 Regenerated.
46032 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
46033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46034 Condition symbol version definitions on [HAVE_ELFV2_ABI].
46035
46036 * shlib-versions: Remove OS-specific entries. Moved to files in
46037 sysdeps.
46038 * sysdeps/mach/hurd/shlib-versions: New file.
46039 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46040
46041 * nptl/shlib-versions: Remove architecture-specific entries.
46042 Moved to files in sysdeps.
46043 * shlib-versions: Likewise.
46044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
46045 file.
46046 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46047 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46048 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46049 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46050
46051 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
46052 (UDP_NO_CHECK6_RX): Likewise.
46053
46054 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
46055
46056 * sysdeps/posix/sysconf.c (__sysconf): Spell
46057 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
46058
46059 2014-08-12 Florian Weimer <fweimer@redhat.com>
46060
46061 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
46062 loading.
46063 * iconv/Versions (__gconv_transliterate): Export for use from
46064 gconv modules.
46065 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
46066 (struct __gconv_trans_data, __gconv_trans_fct,
46067 __gconv_trans_context_fct, __gconv_trans_query_fct,
46068 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
46069 definitions.
46070 (struct __gconv_step_data): Remove __trans member.
46071 (__gconv_transliterate): Declaration moved from gconv_int.h. No
46072 longer hidden. Remove unused trans_data argument.
46073 * iconv/gconv_int.h (struct trans_struct): Remove definition.
46074 (__gconv_translit_find): Remove declaration.
46075 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
46076 prototype.
46077 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
46078 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
46079 trans_data argument. Add hidden definition.
46080 (__gconv_translit_find): Remove.
46081 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
46082 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
46083 * iconv/skeleton.c: Remove transliteration initialization.
46084 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
46085 __gconv_step_data initialization.
46086 * libio/iofwide.c (__libio_translit_): Remove.
46087 (_IO_fwide): Adjust struct __gconv_step_data initialization.
46088 * wcsmbs/btowc.c (__btowc): Likewise.
46089 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
46090 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
46091 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
46092 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
46093 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
46094 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
46095 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
46096 * wcsmbs/wctob.c (wctob): Likewise.
46097
46098 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
46099
46100 [BZ #16194]
46101 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
46102 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
46103 register usage.
46104 * sysdeps/x86/Makefile: Adjust.
46105
46106 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
46107 Roland McGrath <roland@hack.frob.com>
46108
46109 * locale/weight.h: Add include guard.
46110 (findidx): Make static rather than auto; take new parameters
46111 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
46112 * locale/weightwc.h: Likewise.
46113 * posix/fnmatch_loop.c
46114 (FCT): Change type of EXTRA from int32_t to wint_t.
46115 Don't include either header inside the function.
46116 Call FINDIDX rather than findidx, and pass new arguments.
46117 #undef FINDIDX at the end of the file.
46118 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
46119 FINDIDX before including fnmatch_loop.c for the non-wide version.
46120 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
46121 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
46122 for the wide version.
46123 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
46124 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
46125 Pass new arguments to findidx.
46126 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
46127 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
46128 Don't #include it inside the function. Pass new arguments to findidx.
46129 * posix/regex_internal.h
46130 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
46131 (re_string_elem_size_at): Don't #include it inside the function.
46132 Pass new arguments to findidx.
46133 * string/strcoll_l.c: #include WEIGHT_H at top level.
46134 (get_next_seq): Don't #include it inside the function.
46135 Pass new arguments to findidx.
46136 (get_next_seq_nocache): Likewise.
46137 * string/strxfrm_l.c: #include WEIGHT_H at top level.
46138 (STRXFRM): Don't #include it inside the function.
46139 Pass new arguments to findidx.
46140
46141 2014-09-11 Florian Weimer <fweimer@redhat.com>
46142
46143 [BZ #17344]
46144 * malloc/malloc.c (unlink): Turn asserts into a call to
46145 malloc_printerr.
46146
46147 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
46148
46149 [BZ #17370]
46150 * libio/wfileops (do_ftell_wide): Free OUT.
46151
46152 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
46153
46154 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
46155
46156 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46157
46158 [BZ #17363]
46159 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
46160 group if the current group is empty.
46161
46162 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46163
46164 * benchtests/bench-memset.c (test_main): Add more test from size
46165 from 32 to 512 bytes.
46166 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46167 Add POWER8 memset object.
46168 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46169 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
46170 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
46171 implementation.
46172 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
46173 Likewise.
46174 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
46175 multiarch POWER8 memset optimization.
46176 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
46177 POWER8 memset optimization.
46178
46179 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46180 Remove bzero multiarch objects.
46181 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
46182 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
46183 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
46184 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
46185 Remove define.
46186 [__bzero]: Redefine to specific name.
46187 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
46188 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
46189 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
46190 define.
46191 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46192 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46193
46194 2014-09-10 Florian Weimer <fweimer@redhat.com>
46195
46196 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
46197 warnings into errors.
46198
46199 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
46200 __cxa_thread_atexit_impl prototype.
46201
46202 2014-09-09 Steve Ellcey <sellcey@mips.com>
46203
46204 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
46205 Fix capitalization of error message.
46206
46207 2014-09-09 Steve Ellcey <sellcey@mips.com>
46208
46209 * sysdeps/mips/preconfigure: Modify ABI tests.
46210
46211 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
46212
46213 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
46214
46215 2014-09-07 Roland McGrath <roland@hack.frob.com>
46216 Carlos O'Donell <carlos@systemhalted.org>
46217
46218 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
46219 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
46220 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
46221 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
46222 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
46223 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
46224 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
46225 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
46226 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
46227 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
46228 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
46229 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
46230 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
46231 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
46232 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
46233 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
46234 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
46235 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
46236 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
46237 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
46238 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
46239 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
46240 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
46241 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
46242 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
46243 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
46244 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
46245 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
46246 Deconditionalize the code that was previously under [RESET_PID].
46247 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
46248 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
46249 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
46250 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
46251 include sysdep.h.
46252
46253 2014-09-08 Allan McRae <allan@archlinux.org>
46254
46255 * version.h (RELEASE): Set to "development".
46256 (VERSION): Set to "2.20.90"
46257
46258 2014-09-07 Allan McRae <allan@archlinux.org
46259
46260 * version.h (RELEASE): Set to "stable".
46261 (VERSION): Set to "2.20"
46262 * include/features.h (__GLIBC_MINOR__): Set to 20.
46263
46264 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
46265 Liebler.
46266
46267 * po/ko.po: Update Korean translation from translation project.
46268
46269 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
46270
46271 [BZ #17354]
46272 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
46273 macro for handling signed relocations.
46274
46275 2014-09-03 Florian Weimer <fweimer@redhat.com>
46276
46277 [BZ #17325]
46278 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
46279 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
46280 assert.
46281 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
46282 * iconvdata/ibm935.c (BODY): Likewise.
46283 * iconvdata/ibm937.c (BODY): Likewise.
46284 * iconvdata/ibm939.c (BODY): Likewise.
46285 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
46286 assert.
46287 * iconvdata/Makefile (iconv-test.out): Pass module list to test
46288 script.
46289 * iconvdata/run-iconv-test.sh: New test loop for checking for
46290 decoder crashers.
46291
46292 2014-09-02 Khem Raj <raj.khem@gmail.com>
46293
46294 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
46295 libm_hidden_ver.
46296
46297 2014-09-01 Allan McRae <allan@archlinux.org>
46298
46299 * po/eo.po: Update Esperanto translation from translation project.
46300
46301 * po/ca.po: Update Catalan translation from translation project.
46302
46303 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
46304
46305 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
46306 __proc_dostop call.
46307
46308 2014-08-27 Mark Wielaard <mjw@redhat.com>
46309
46310 [BZ #17319]
46311 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
46312 to call set_thread_area instead of hand written asm.
46313 (__NR_set_thread_area): Removed define.
46314 (TLS_FLAG_WRITABLE): Likewise.
46315 (__ASSUME_SET_THREAD_AREA): Remove check.
46316 (TLS_EBX_ARG): Remove define.
46317 (TLS_LOAD_EBX): Likewise.
46318
46319 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
46320
46321 Simplify atomicity of socket creation in bind.
46322
46323 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
46324 looking up the name after linking the file.
46325
46326 2014-08-27 Allan McRae <allan@archlinux.org>
46327
46328 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46329
46330 2014-08-26 Florian Weimer <fweimer@redhat.com>
46331
46332 [BZ #17187]
46333 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
46334 trans_compare, open_translit, __gconv_translit_find):
46335 Remove module loading code.
46336
46337 2014-08-26 Allan McRae <allan@archlinux.org>
46338
46339 * po/vi.po: Update Vietnamese translation from translation project.
46340
46341 * po/uk.po: Update Ukrainian translation from translation project.
46342
46343 * po/fr.po: Update French translation from translation project.
46344
46345 * po/ru.po: Update Russian translation from translation project.
46346
46347 * po/pl.po: Update Polish translation from translation project.
46348
46349 * po/cs.po: Update Czech translation from translation project.
46350
46351 * po/de.po: Update German translation from translation project.
46352
46353 * po/bg.po: Update Bulgarian translation from translation project.
46354
46355 * po/sv.po: Update Sweedish translation from translation project.
46356
46357 * po/nl.po: Update Dutch translation from translation project.
46358
46359 * po/es.po: Update Spanish translation from translation project.
46360
46361 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46362
46363 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
46364
46365 * catgets/Makefile (CPPFLAGS-gencat): Remove.
46366 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
46367 (CPPFLAGS-iconvconfig): Likewise.
46368 * timezone/Makefile (CPPFLAGS-zic): Likewise.
46369
46370 * include/libc-symbols.h: Remove unnecessary check for
46371 NOT_IN_libc.
46372 * nptl/pthreadP.h: Likewise.
46373 * sysdeps/aarch64/setjmp.S: Likewise.
46374 * sysdeps/alpha/setjmp.S: Likewise.
46375 * sysdeps/arm/sysdep.h: Likewise.
46376 * sysdeps/i386/setjmp.S: Likewise.
46377 * sysdeps/m68k/setjmp.c: Likewise.
46378 * sysdeps/posix/getcwd.c: Likewise.
46379 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
46380 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
46381 * sysdeps/s390/s390-32/setjmp.S: Likewise.
46382 * sysdeps/s390/s390-64/setjmp.S: Likewise.
46383 * sysdeps/sh/sh3/setjmp.S: Likewise.
46384 * sysdeps/sh/sh4/setjmp.S: Likewise.
46385 * sysdeps/unix/alpha/sysdep.h: Likewise.
46386 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
46387 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46388 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
46389 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
46390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46392 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46393 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46394 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46395 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46396 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46397 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
46398 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46399 * sysdeps/x86_64/setjmp.S: Likewise.
46400
46401 2014-08-13 Joseph Myers <joseph@codesourcery.com>
46402
46403 [BZ #17263]
46404 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
46405 <stdint.h>.
46406 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
46407 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
46408
46409 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
46410
46411 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
46412
46413 [BZ #17262]
46414 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
46415 and __x86_64__ when disabling x87 inline functions.
46416
46417 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
46418
46419 [BZ #17259]
46420 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
46421 asm statement with __cpuid_count.
46422
46423 2014-08-12 Mike Frysinger <vapier@gentoo.org>
46424
46425 * configure.ac: Change __ehdr_start code to dereference the struct.
46426 Run readelf on the output to look for relocations.
46427 * configure: Regenerated.
46428
46429 2014-08-12 Joseph Myers <joseph@codesourcery.com>
46430
46431 [BZ #17261]
46432 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
46433 value to 0.
46434 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
46435
46436 2014-08-12 Roland McGrath <roland@hack.frob.com>
46437
46438 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
46439
46440 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
46441
46442 [BZ #16892]
46443 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
46444 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
46445
46446 2014-08-12 Sean Anderson <seanga2@gmail.com>
46447
46448 * malloc/malloc.c: Fix typo in comment.
46449
46450 2014-08-09 Allan McRae <allan@archlinux.org>
46451
46452 * Regenerate libc.po.
46453
46454 2014-08-08 Mike Frysinger <vapier@gentoo.org>
46455
46456 * intl/tst-gettext2.sh: Check every lang file for creation.
46457
46458 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
46459
46460 * sysdeps/aarch64/fpu/math_private.h
46461 (libc_feholdsetround_noex_aarch64_ctx): New function.
46462
46463 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
46464
46465 * sysdeps/arm/armv6/strcpy.S (strcpy):
46466 Fix performance issue in misaligned cases.
46467
46468 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46469
46470 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
46471 Move definition from termios.h.
46472 (struct termio): Likewise.
46473 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46474 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46475 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46476 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46477 Likewise.
46478 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
46479 Move definition to ioctl-types.h
46480 (struct termio): Likewise.
46481 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46482 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46483 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46484 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46485 Likewise.
46486
46487 2014-08-05 Richard Henderson <rth@redhat.com>
46488
46489 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
46490 exceptions.
46491 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
46492 Add fraiseexcpt.
46493 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
46494 Use __feraiseexcept.
46495 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
46496 Protect libm symbols with IS_IN_libm.
46497
46498 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
46499
46500 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
46501
46502 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
46503
46504 2014-08-04 Will Newton <will.newton@linaro.org>
46505
46506 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
46507 file.
46508
46509 2014-08-04 Mike Frysinger <vapier@gentoo.org>
46510
46511 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
46512 variants for each function.
46513
46514 2014-08-04 Roland McGrath <roland@hack.frob.com>
46515
46516 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
46517 appended ...
46518 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
46519 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
46520 appended ...
46521 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
46522 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
46523 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
46524 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
46525 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
46526 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
46527 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
46528 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
46529 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
46530 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
46531 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
46532 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
46533 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
46534 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
46535 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
46536 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
46537 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
46538 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
46539 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
46540 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
46541 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
46542 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
46543 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
46544 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
46545 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
46546 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
46547 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
46548 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
46549 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
46550 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
46551 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
46552 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
46553 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
46554 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
46555 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
46556 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
46557 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
46558 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
46559 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
46560 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
46561 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
46562 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
46563 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
46564 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
46565 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
46566 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
46567 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
46568 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
46569 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
46570 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
46571 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
46572 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
46573 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
46574 Update #include.
46575 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
46576 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
46577
46578 2014-08-04 Roland McGrath <roland@hack.frob.com>
46579
46580 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
46581 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
46582 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
46583 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
46584 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
46585 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
46586
46587 2014-08-04 Roland McGrath <roland@hack.frob.com>
46588
46589 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
46590 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
46591 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46592 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
46593
46594 2014-08-04 Roland McGrath <roland@hack.frob.com>
46595
46596 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
46597 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
46598 (__libc_vfork): Define function under this name.
46599 (__vfork): Define as an alias.
46600 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
46601 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
46602
46603 2014-08-04 Roland McGrath <roland@hack.frob.com>
46604
46605 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
46606 that was previously under [RESET_PID].
46607 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
46608
46609 2014-08-04 Andreas Schwab <schwab@suse.de>
46610
46611 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
46612
46613 2014-08-03 Mike Frysinger <vapier@gentoo.org>
46614
46615 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
46616 (main): Likewise.
46617
46618 2014-08-01 Roland McGrath <roland@hack.frob.com>
46619
46620 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
46621
46622 2014-08-01 Richard Henderon <rth@redhat.com>
46623
46624 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
46625 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
46626 typo in exact zero test.
46627 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46628 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46629 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46630
46631 2014-08-01 Roland McGrath <roland@hack.frob.com>
46632
46633 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
46634 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
46635 * sysdeps/arm/sysdep.h: ... here.
46636 [!__ASSEMBLER__]: Include <stdint.h>.
46637
46638 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
46639
46640 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
46641 (HAVE_WCTYPE_H): Likewise.
46642 (HAVE_ISWCTYPE): Likewise.
46643 (ENABLE_NLS): Likewise.
46644 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
46645 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
46646
46647 * posix/regex_internal.c: Check if DEBUG is defined and is
46648 set.
46649
46650 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
46651 (HAVE_MBSRTOWCS): Likewise.
46652 * posix/fnmatch.c: Include string.h unconditionally.
46653
46654 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
46655
46656 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
46657 reversal.
46658
46659 2014-07-31 Roland McGrath <roland@hack.frob.com>
46660
46661 * sysdeps/generic/safe-fatal.h: New file.
46662 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
46663 * nptl/forward.c: Include it.
46664 (__pthread_unwind): Use __safe_fatal as default action, rather
46665 than a bogus use of INTERNAL_SYSCALL that could never work.
46666
46667 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
46668 * configure.ac (libc_cv_builtin_trap): New test.
46669 * configure: Regenerated.
46670 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
46671 (ABORT_INSTRUCTION): Define using __builtin_trap.
46672
46673 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
46674 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
46675 * sysdeps/nptl/nptl-signals.h: New file.
46676 * nptl/pthreadP.h: Include <nptl-signals.h>.
46677
46678 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
46679
46680 * sysdeps/s390/s390-64/utf16-utf32-z9.c
46681 (ONE_DIRECTION): Define.
46682 * sysdeps/s390/s390-64/utf8-utf16-z9.c
46683 (ONE_DIRECTION): Define.
46684 * sysdeps/s390/s390-64/utf8-utf32-z9.c
46685 (ONE_DIRECTION): Define.
46686
46687 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
46688
46689 * sysdeps/s390/Makefile: Delete file.
46690 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
46691 * sysdeps/s390/__longjmp.c: Delete file.
46692 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
46693 Remove fields __flags and __reserved.
46694 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
46695 and add versioning.
46696 * sysdeps/s390/rtld-__longjmp.c: Delete file.
46697 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
46698 * sysdeps/s390/rtld-setjmp.S: Likewise.
46699 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
46700 * sysdeps/s390/s390-32/__longjmp.c: ... here.
46701 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
46702 * sysdeps/s390/s390-32/setjmp.S: ... here.
46703 Add versioning.
46704 (__sigsetjmp): Remove setting __flags field.
46705 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
46706 * sysdeps/s390/s390-64/__longjmp.c: ... here.
46707 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
46708 * sysdeps/s390/s390-64/setjmp.S: ... here.
46709 Add versioning.
46710 (__sigsetjmp): Remove setting __flags field.
46711 * sysdeps/s390/setjmp.S: Delete file.
46712 * sysdeps/s390/sigjmp.c: Likewise.
46713 * sysdeps/s390/v1-longjmp.c: Likewise.
46714 * sysdeps/s390/v1-setjmp.h: Likewise.
46715 * sysdeps/s390/v1-sigjmp.c: Likewise.
46716 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
46717 Remove v1-longjmp_chk.
46718 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
46719 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
46720 Include debug/longjmp_chk.c and add versioning.
46721 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
46722 Include nptl/pt-longjmp.c and add versioning.
46723 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
46724 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
46725 Include __longjmp.c.
46726 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
46727 Move to ...
46728 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
46729 (__getcontext): Remove setting __flags field.
46730 Add versioning.
46731 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
46732 Don't restore upper high grps.
46733 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
46734 Likewise.
46735 (__swapcontext): Remove setting uc_flags field.
46736 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
46737 Delete file.
46738 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
46739 Include __longjmp.c.
46740 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
46741 Move to ...
46742 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
46743 (__getcontext): Remove setting __flags field.
46744 Add versioning.
46745 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
46746 (__swapcontext): Remove setting uc_flags field.
46747 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
46748 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
46749 Remove fields uc_high_gprs and __reserved.
46750 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
46751 New file with reverted content.
46752 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
46753 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
46754 Regenerated.
46755 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
46756 Regenerated.
46757
46758 2014-07-31 Andreas Schwab <schwab@suse.de>
46759
46760 * config.h.in (HAVE_IFUNC): Define to 0.
46761 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
46762 definedness.
46763
46764 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
46765
46766 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46767 memmove-avx-unaligned, memcpy-avx-unaligned and
46768 mempcpy-avx-unaligned.
46769 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46770 Add tests for AVX memcpy functions.
46771 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
46772 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
46773 memcpy_chk.
46774 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
46775 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
46776 memmove_chk.
46777 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
46778 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
46779 mempcpy_chk.
46780 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
46781 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
46782 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
46783
46784 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46785
46786 [BZ #17213]
46787 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
46788 powerpc64le.
46789
46790 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
46791
46792 [BZ #16839]
46793 * manual/llio.texi: Add section about open file description locks.
46794 * manual/examples/ofdlocks.c: Example of open file description
46795 lock usage.
46796 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
46797 F_OFD_SETLK, and F_OFD_SETLKW.
46798
46799 2014-07-23 Allan McRae <allan@archlinux.org>
46800
46801 * po/es.po: Update Spanish translation from translation project.
46802
46803 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
46804
46805 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
46806
46807 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
46808
46809 [BZ #17078]
46810 * sysdeps/arm/dl-machine.h (elf_machine_rela)
46811 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
46812 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
46813
46814 2014-07-17 Joseph Myers <joseph@codesourcery.com>
46815
46816 [BZ #17088]
46817 * math/fesetenv.c (__fesetenv)
46818 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
46819 * math/feupdateenv.c (__feupdateenv)
46820 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
46821
46822 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
46823 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
46824 (__ASSUME_SOCKETCALL): Do not define.
46825
46826 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
46827 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
46828 (__ASSUME_SOCKETCALL): Do not define.
46829 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
46830 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
46831 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46832 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
46833 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46834 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
46835 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46836 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46837
46838 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
46839 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
46840 (__ASSUME_SOCKETCALL): Do not define.
46841 (__ASSUME_IPC64): Define unconditionally.
46842 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
46843 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46844 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
46845 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46846 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
46847 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46848 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
46849 Likewise.
46850
46851 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
46852 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
46853 (__ASSUME_SOCKETCALL): Do not define.
46854 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
46855 (__ASSUME_FUTEX_LOCK_PI): Likewise.
46856 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46857 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
46858 (__ASSUME_REQUEUE_PI): Define unconditionally.
46859 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
46860 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
46861 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46862 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
46863 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46864 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46865
46866 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
46867 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
46868 (__ASSUME_SOCKETCALL): Do not define.
46869 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
46870 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46871 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46872 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
46873 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46874 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46875
46876 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
46877 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
46878 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46879 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
46880 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46881 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
46882 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46883 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
46884 (__ASSUME_GETCPU_SYSCALL): Likewise.
46885
46886 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
46887 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
46888 cases for individual architectures.
46889 * sysdeps/gnu/configure: Regenerated.
46890 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
46891 LIBC_SLIBDIR_RTLDDIR.
46892 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
46893 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
46894 LIBC_SLIBDIR_RTLDDIR.
46895 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
46896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
46897 LIBC_SLIBDIR_RTLDDIR.
46898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
46899 Regenerated.
46900 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
46901 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
46902 file.
46903 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
46904 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
46905 file.
46906 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
46907 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
46908 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
46909 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
46910
46911 * sysdeps/aarch64/shlib-versions: Move to ...
46912 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
46913 * sysdeps/alpha/shlib-versions: Move to ...
46914 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
46915 * sysdeps/arm/shlib-versions: Move to ...
46916 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
46917 * sysdeps/hppa/shlib-versions: Move all contents except for
46918 libgcc_s entry to ...
46919 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
46920 entry from ...
46921 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
46922 * sysdeps/ia64/shlib-versions: Move to ...
46923 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
46924 entry from ...
46925 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
46926 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
46927 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
46928 * sysdeps/microblaze/shlib-versions: Move to ...
46929 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
46930 * sysdeps/mips/shlib-versions: Move to ...
46931 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
46932 entry from ...
46933 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
46934 * sysdeps/tile/shlib-versions: Move to ...
46935 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
46936 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
46937 from ...
46938 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
46939 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
46940 entry from ...
46941 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
46942
46943 2014-07-17 Will Newton <will.newton@linaro.org>
46944
46945 * sysdeps/arm/bits/atomic.h
46946 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
46947 (__arch_compare_and_exchange_bool_16_int): Likewise.
46948 (__arch_compare_and_exchange_bool_64_int): Likewise.
46949
46950 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
46951 into an #else block.
46952
46953 2014-07-16 Roland McGrath <roland@hack.frob.com>
46954
46955 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
46956 just Linux configurations. Test empirically that the compiler sets
46957 __ARM_EABI__, rather than using the tuple to decide.
46958 * sysdeps/arm/preconfigure: Regenerated.
46959 * sysdeps/unix/sysv/linux/arm/configure: File removed.
46960 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
46961 contents appended ...
46962 * sysdeps/arm/configure.ac: ... here.
46963 * sysdeps/arm/configure: Regenerated.
46964
46965 2014-07-15 Roland McGrath <roland@hack.frob.com>
46966
46967 * nptl/pthread_kill.c: New file.
46968 * nptl/pthread_sigmask.c: New file.
46969 * nptl/pthread_sigqueue.c: New file.
46970
46971 * sysdeps/nptl/lowlevellock.h: New file.
46972 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
46973 * sysdeps/nptl/lowlevellock-futex.h: New file.
46974
46975 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
46976 Remove dead declarations.
46977
46978 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
46979
46980 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
46981 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
46982 config-cflags-avx2.
46983 * sysdeps/x86_64/configure.ac: Likewise.
46984 * sysdeps/i386/configure: Regenerated.
46985 * sysdeps/x86_64/configure: Likewise.
46986 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46987 memset-avx2 only if config-cflags-avx2 is yes.
46988 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46989 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
46990 defined.
46991 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
46992 only if HAVE_AVX2_SUPPORT is defined.
46993 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46994
46995 2014-07-14 Alan Modra <amodra@gmail.com>
46996
46997 [BZ #17153]
46998 * elf/elf.h (DT_PPC64_NUM): Correct value.
46999 * NEWS: Add to fixed bug list.
47000
47001 2014-07-13 Jim Meyering <meyering@fb.com>
47002
47003 [BZ 17150]
47004 regex: don't deref NULL upon heap allocation failure
47005 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
47006 failure in one more place.
47007 To trigger the segfault, configure grep -with-included-regex,
47008 build it, and run these commands:
47009 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
47010
47011 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
47012
47013 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
47014
47015 2014-07-11 Richard Henderson <rth@redhat.com>
47016
47017 * sysdeps/aarch64/libm-test-ulps: Update.
47018
47019 2014-07-10 Florian Weimer <fweimer@redhat.com>
47020
47021 [BZ #17135]
47022 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
47023 * nptl/allocatestack.c (__nptl_setxid_error): New function.
47024 (__nptl_setxid): Initialize error member. Call
47025 __nptl_setxid_error.
47026 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
47027 * nptl/descr.h (struct xid_command): Add error member.
47028 * nptl/tst-setuid3.c: New file.
47029 * nptl/Makefile (tests): Add it.
47030
47031 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47032
47033 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
47034 New define.
47035 (__lll_trylock): Use __lll_base_trylock.
47036 (__lll_cond_trylock): Likewise.
47037
47038 2014-07-10 Roland McGrath <roland@hack.frob.com>
47039
47040 * nptl/pthread_create.c (start_thread): Use atomic_or and
47041 lll_futex_wake directly rather than lll_robust_dead.
47042 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47043 (lll_robust_dead): Macro removed.
47044 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
47045 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47046 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47047 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47048 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47049 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47050 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47051 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47052 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47053 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47054 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47055 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47056 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47057 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47058 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47059
47060 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
47061 Use atomic_compare_and_exchange_val_acq directly rather than
47062 lll_robust_trylock.
47063 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47064 (__lll_robust_trylock, lll_robust_trylock): Removed.
47065 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47066 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47067 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47068 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47069 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47070 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47071 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47072 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47073 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47074 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47075 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47076 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47077 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47078 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47079
47080 2014-07-02 Florian Weimer <fweimer@redhat.com>
47081
47082 * manual/locale.texi (Locale Names): New section documenting
47083 locale name syntax. Adjust menu and node chaining accordingly.
47084 (Choosing Locale): Reference Locale Names, Locale Categories.
47085 Mention setting LC_ALL=C. Reflect that name syntax is now
47086 documented.
47087 (Locale Categories): New section title. Reference Locale Names.
47088 LC_ALL is an environment variable, but not a category.
47089 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
47090 description, now in Locale Name. Reference that section. Locale
47091 name syntax is now documented.
47092
47093 2014-07-02 Florian Weimer <fweimer@redhat.com>
47094
47095 [BZ #17137]
47096 * locale/findlocale.c (name_present, valid_locale_name): New
47097 functions.
47098 (_nl_find_locale): Use the loc_name variable to store name
47099 candidates. Call name_present and valid_locale_name to check and
47100 validate locale names. Return an error if the locale is invalid.
47101
47102 2014-07-02 Florian Weimer <fweimer@redhat.com>
47103
47104 * locale/setlocale.c (setlocale): Use strdup for allocating
47105 composite name copy.
47106
47107 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
47108
47109 Sync up with gnulib.
47110 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
47111 [!_LIBC && ENABLE_NLS]: Include gettext.h.
47112 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
47113 and _GL_ARG_NONNULL.
47114 [USE_UNLOCKED_IO]: Include unlocked-io.h.
47115 [!_LIBC]: Include code for Windows and Cygwin.
47116 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
47117 Include prototype for int strerror_r.
47118 [!_LIBC] (is_open): New function.
47119 (flush_stdout): New function.
47120 (print_errno_message): Use it.
47121 (error): Likewise.
47122 (error_at_line): Likewise.
47123 (error_tail) Add function attribute macros. Use
47124 __builtin_expect.
47125
47126 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
47127
47128 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
47129
47130 * io/ftw.c: Include sys/param.h unconditionally.
47131
47132 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
47133
47134 [BZ #17125]
47135 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
47136 libc_freeres_ptr.
47137 (freecache): New function to free CACHE on exit.
47138
47139 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
47140 initialization.
47141
47142 2014-07-09 David S. Miller <davem@davemloft.net>
47143
47144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47145
47146 * sysdeps/sparc/nptl/internaltypes.h: Delete.
47147 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
47148 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
47149 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
47150 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
47151 * sysdeps/sparc/nptl/sem_init.c: Likewise.
47152 * sysdeps/sparc/nptl/sem_post.c: Likewise.
47153 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
47154 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
47155 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
47156 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
47157 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
47158 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
47159
47160 2014-07-09 Andreas Schwab <schwab@suse.de>
47161
47162 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
47163 output.
47164 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
47165 (do_test): Likewise.
47166
47167 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47168
47169 2014-07-09 Will Newton <will.newton@linaro.org>
47170
47171 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
47172 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
47173 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
47174 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
47175 * sysdeps/hppa/start.S (_start): Likewise.
47176
47177 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
47178
47179 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
47180
47181 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
47182 defined.
47183
47184 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
47185
47186 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
47187 after checking that it is non-NULL.
47188
47189 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
47190
47191 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47192
47193 * sysdeps/powerpc/memmove.c: Remove file.
47194 * sysdeps/powerpc/powerpc32/power4/memcopy.h
47195 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
47196 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
47197 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
47198 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
47199 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
47200 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
47201 string memmove instead of removed powerpc one.
47202
47203 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
47204 [weak_alias]: Fix compiler warning due trailing data.
47205 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
47206 [weak_alias]: Likewise.
47207 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
47208 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
47209
47210 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47211 (__libc_ifunc_impl_list): Add memmove functions.
47212
47213 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
47214
47215 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
47216 Remove code.
47217 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
47218 Likewise.
47219 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
47220 Likewise.
47221 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
47222 Likewise.
47223 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
47224 Likewise.
47225 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
47226 Likewise.
47227 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
47228 Likewise.
47229 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
47230 Likewise.
47231 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
47232 Likewise.
47233 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
47234 Likewise.
47235 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
47236 Likewise.
47237 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
47238 Likewise.
47239 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
47240 Likewise.
47241 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
47242 Likewise.
47243 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
47244 Likewise.
47245 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
47246 Likewise.
47247 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
47248 Likewise.
47249
47250 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47251
47252 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
47253 to avoid alignment traps in non-cacheable memory.
47254 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47255
47256 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
47257 multiarch objects.
47258 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
47259 file: multiarch power7 memmove.
47260 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
47261 multiarch default memmove.
47262 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
47263 multiarch memove for powerpc32/power4.
47264
47265 * string/bcopy.c: Use full path to include memmove.c.
47266 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
47267 multiarch objects.
47268 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
47269 bcopy for powerpc64.
47270 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
47271 bcopy for powerpc64.
47272 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
47273 and memmove implementations.
47274 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
47275 optimized multiarch memmove for POWER7/powerpc64.
47276 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
47277 default multiarch memmove for powerpc64.
47278 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
47279 multiarch for powerpc64.
47280 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
47281 for POWER7/powerpc64.
47282 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
47283 memmove for POWER7/powerpc64.
47284
47285 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
47286 glibc default one.
47287
47288 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
47289 __ELF_NATIVE_CLASS equal to 64.
47290
47291 2014-07-07 Roland McGrath <roland@hack.frob.com>
47292
47293 * sysdeps/nptl/lowlevellock.h: File removed.
47294
47295 * NEWS: NPTL is no longer an add-on!
47296 * nptl/internaltypes.h: Moved ...
47297 * sysdeps/nptl/internaltypes.h: ... here.
47298 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
47299 * sysdeps/nptl/fork.c: Likewise.
47300 * sysdeps/nptl/gai_misc.h: Likewise.
47301 * sysdeps/nptl/librt-cancellation.c: Likewise.
47302 * sysdeps/nptl/jmp-unwind.c: Likewise.
47303 * sysdeps/nptl/setxid.h: Likewise.
47304 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
47305 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
47306 * sysdeps/unix/sysv/linux/arm/Implies: New file.
47307 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
47308 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
47309 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
47310 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
47311 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
47312 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
47313 * sysdeps/unix/sysv/linux/mips/Implies: New file.
47314 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
47315 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
47316 * sysdeps/unix/sysv/linux/sh/Implies: New file.
47317 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
47318 * sysdeps/unix/sysv/linux/tile/Implies: New file.
47319 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
47320 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
47321 * nptl/Makeconfig: Moved ...
47322 * sysdeps/nptl/Makeconfig: ... here.
47323 * nptl/configure: File removed.
47324 * nptl/ANNOUNCE: File removed.
47325 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
47326 * sysdeps/unix/sysv/linux/configure: Regenerated.
47327
47328 * nptl/Makefile (routines): Add libc_pthread_init,
47329 libc_multiple_threads, register-atfork and unregister-atfork.
47330 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
47331 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
47332 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
47333 pthread-pi-defines.sym, structsem.sym.
47334 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
47335 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
47336 [$(subdir) = nptl] (tests): Add tst-setgetname.
47337 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
47338 * sysdeps/unix/sysv/linux/sigaction.c: Just include
47339 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
47340 [!LIBC_SIGACTION]: Remove aliases.
47341 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
47342 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
47343 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
47344 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
47345 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
47346 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
47347 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47348 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47349 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
47350 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
47351 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
47352 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
47353 __libc_allocate_rtsig_private.
47354 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
47355 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
47356 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
47357 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
47358 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
47359 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
47360 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
47361 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
47362 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
47363 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
47364 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
47365 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
47366 * nptl/internaltypes.h: ... here.
47367 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
47368 * sysdeps/nptl/jmp-unwind.c: ... here.
47369 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
47370 * nptl/libc-lowlevellock.c: ... here.
47371 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
47372 * nptl/libc_multiple_threads.c: ... here.
47373 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
47374 * nptl/libc_pthread_init.c: ... here.
47375 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
47376 * nptl/lowlevelbarrier.sym: ... here.
47377 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
47378 * nptl/lowlevelcond.sym: ... here.
47379 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
47380 * nptl/lowlevellock.c: ... here.
47381 * nptl/lowlevellock.h: Moved ...
47382 * sysdeps/nptl/lowlevellock.h: ... here.
47383 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
47384 * nptl/lowlevelrobustlock.c: ... here.
47385 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
47386 * nptl/lowlevelrobustlock.sym: ... here.
47387 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
47388 * nptl/lowlevelrwlock.sym: ... here.
47389 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
47390 * nptl/pt-fork.c: ... here.
47391 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
47392 * nptl/pthread-pi-defines.sym: ... here.
47393 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
47394 * nptl/pthread_attr_getaffinity.c: ... here.
47395 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
47396 * nptl/pthread_attr_setaffinity.c: ... here.
47397 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
47398 * nptl/pthread_mutex_cond_lock.c: ... here.
47399 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
47400 Update #include.
47401 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
47402 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
47403 * nptl/pthread_once.c: ... here, replacing old file.
47404 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
47405 * nptl/pthread_yield.c: ... here.
47406 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
47407 * nptl/register-atfork.c: ... here.
47408 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
47409 * nptl/sem_post.c: ... here.
47410 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
47411 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
47412 * nptl/sem_timedwait.c: ... here.
47413 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
47414 * nptl/sem_trywait.c: ... here.
47415 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
47416 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
47417 * nptl/sem_wait.c: ... here.
47418 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
47419 * nptl/structsem.sym: ... here.
47420 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
47421 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
47422 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
47423 * nptl/unregister-atfork.c: ... here.
47424 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
47425 * nptl/unwindbuf.sym: ... here.
47426 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
47427 * sysdeps/nptl/fork.c: ... here.
47428 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
47429 * sysdeps/nptl/fork.h: ... here.
47430 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
47431 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
47432 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
47433 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
47434 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
47435 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
47436 * sysdeps/unix/sysv/linux/getpid.c: ... here.
47437 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
47438 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
47439 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
47440 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
47441 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
47442 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
47443 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
47444 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
47445 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
47446 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
47447 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
47448 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
47449 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
47450 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
47451 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
47452 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
47453 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
47454 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
47455 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
47456 * sysdeps/unix/sysv/linux/raise.c: ... here.
47457 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
47458 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
47459 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
47460 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
47461 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
47462 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
47463 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
47464 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
47465 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
47466 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
47467 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
47468 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
47469 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
47470 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
47471 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
47472
47473 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
47474
47475 * sysdeps/generic/memcopy.h: Add comment for
47476 MEMCPY_OK_FOR_FWD_MEMMOVE.
47477
47478 2014-07-04 Will Newton <will.newton@linaro.org>
47479
47480 * string/memchr.c: Merge from gnulib.
47481 [_LIBC]: Remove conditionals.
47482 (__ptr_t): Remove define.
47483 (LONG_MAX_32_BITS): Likewise.
47484 (LONG_MAX): Likewise.
47485 (MEMCHR): Use ANSI prototype and optimize algorithm.
47486
47487 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
47488
47489 2014-07-03 Roland McGrath <roland@hack.frob.com>
47490
47491 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
47492 (lll_futex_timed_wait_bitset): Fix syscall argument count.
47493
47494 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
47495 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
47496 in a bare environment with no <stdlib.h> installed.
47497 * sysdeps/nptl/configure: Regenerated.
47498
47499 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
47500
47501 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
47502 AC_EGREP_CPP for kernel header checks, so they only succeed if
47503 including <linux/version.h> actually works right.
47504 * sysdeps/unix/sysv/linux/configure: Regenerated.
47505
47506 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
47507 value so it's not diagnosed as unused.
47508
47509 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
47510 thing) with "ifeq ($(subdir),rt)".
47511
47512 2014-07-03 Richard Henderson <rth@redhat.com>
47513
47514 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
47515 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
47516 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
47517
47518 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
47519 (math_force_eval): New.
47520
47521 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
47522 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
47523
47524 * sysdeps/alpha/fpu/s_round.c: Remove file.
47525 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
47526
47527 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
47528 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
47529 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
47530 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
47531 (_dl_start, print_statistics): Likewise.
47532 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
47533 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
47534
47535 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47536 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47537 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47538 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47539 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47540 (HP_SMALL_TIMING_AVAIL): Define.
47541 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47542 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47543 (HP_SMALL_TIMING_AVAIL): Define.
47544 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47545 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47546
47547 * sysdeps/aarch64/hp-timing.h: New file.
47548
47549 * sysdeps/generic/hp-timing.h: Remove dead comment.
47550 * sysdeps/generic/hp-timing-common.h: New file.
47551 * sysdeps/alpha/hp-timing.h: Include it.
47552 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
47553 * sysdeps/i386/i686/hp-timing.h: Likewise.
47554 * sysdeps/ia64/hp-timing.h: Likewise.
47555 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47556 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47557 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47558 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47559 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
47560 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
47561 (hp_timing_t): New.
47562
47563 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
47564 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
47565 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
47566 * elf/rtld.c (_dl_start_final): Likewise.
47567 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
47568 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47569 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47570 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47571 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47572 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47573 (HP_TIMING_DIFF_INIT): Remove.
47574 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47575 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47576 (HP_TIMING_DIFF_INIT): Remove.
47577 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47578 * sysdeps/i386/i686/hp-timing.c: Remove file.
47579 * sysdeps/x86_64/hp-timing.c: Remove file.
47580 * sysdeps/ia64/hp-timing.c: Remove file.
47581 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
47582 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
47583 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
47584 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
47585
47586 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
47587 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
47588 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
47589 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47590 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47591 (HP_TIMING_ACCUM): Remove.
47592 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47593 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
47594 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47595
47596 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
47597 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
47598 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
47599 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
47600 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
47601 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47602 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
47603 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47604
47605 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
47606
47607 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
47608
47609 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
47610
47611 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47612
47613 Sync up with gettext.
47614 * intl/loadmsgcat.c: Define O_BINARY if not defined.
47615 [_MSC_VER]: Include malloc.h
47616 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
47617 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
47618 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
47619 TEMP_FAILURE_RETRY. Cast return of alloca.
47620 [!_LIBC] Call gl_rwlock_init.
47621 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
47622
47623 2014-07-02 Roland McGrath <roland@hack.frob.com>
47624
47625 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
47626 before checking its value.
47627
47628 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47629
47630 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
47631
47632 * debug/memcpy_chk.c: Don't include pagecopy.h.
47633 * debug/mempcpy_chk.c: Likewise.
47634 * string/memcpy.c: Likewise.
47635 * string/memmove.c: Likewise.
47636 * sysdeps/powerpc/memmove.c: Likewise.
47637 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
47638 definition of PAGE_COPY_FWD_MAYBE here...
47639 * sysdeps/generic/pagecopy.h: ... from here.
47640 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
47641
47642 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
47643 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47644
47645 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
47646 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
47647 optimizations.
47648 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47649 (__libc_ifunc_impl_list): Likewise.
47650 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
47651 multiarch strcat for PPC64.
47652 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
47653 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
47654
47655 2014-07-02 Roland McGrath <roland@hack.frob.com>
47656
47657 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
47658
47659 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47660
47661 * intl/loadmsgcat.c: Remove declaration of
47662 get_sysdep_segment_value.
47663 (get_sysdep_segment_value): Use ISO C style.
47664 (_nl_load_domain): Use ISO C style. Get rid of redundant
47665 semicolon. Fix typo and formatting in comment.
47666 (_nl_unload_domain): Use ISO C style.
47667
47668 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
47669
47670 2014-07-02 Will Newton <will.newton@linaro.org>
47671
47672 * malloc/obstack.c: Merge from gnulib master.
47673 [HAVE_CONFIG_H]: Remove conditional code.
47674 [!_LIBC]: Include config.h.
47675 [!ELIDE_CODE]: Don't include inttypes.h, include
47676 stdint.h unconditionally.
47677 (print_and_abort): Mark as _Noreturn.
47678 (_obstack_allocated_p): Mark as __attribute_pure__.
47679 (obstack_free): Rename to __obstack_free.
47680 [!__attribute__]: Remove conditional code.
47681 * malloc/obstack.h: Merge from gnulib master.
47682 [__cplusplus]: Move conditional down.
47683 [!__attribute_pure__]: Define __attribute_pure__ here
47684 if it is not already defined.
47685 (_obstack_memory_used): Mark as __attribute_pure__.
47686 [!__obstack_free]: Define as obstack_free.
47687 [__GNUC__]: Remove check for ancient NeXT gcc.
47688
47689 2014-07-02 Will Newton <will.newton@linaro.org>
47690 Paul Eggert <eggert@cs.ucla.edu>
47691
47692 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
47693
47694 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47695
47696 * resolv/gethnamaddr.c: Add comment warning that the file is
47697 not maintained.
47698
47699 2014-07-01 Carlos O'Donell <carlos@redhat.com>
47700
47701 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
47702 entries.
47703
47704 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
47705 entry for aio_cancel and aio_cancel64.
47706 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
47707 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
47708 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
47709 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
47710 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
47711 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
47712 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
47713 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
47714 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
47715 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
47716 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
47717 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
47718 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
47719
47720 2014-07-01 Roland McGrath <roland@hack.frob.com>
47721
47722 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
47723 * nptl/pthread_mutex_lock.c: Likewise.
47724 * nptl/pthread_mutex_timedlock.c: Likewise.
47725 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
47726
47727 2014-07-01 Richard henderson <rth@redhat.com>
47728
47729 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
47730 (__isnan, __isnanl): Remove.
47731 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
47732
47733 * sysdeps/alpha/fpu/libm-test-ulps: Update.
47734
47735 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
47736
47737 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47738
47739 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
47740
47741 * resolv/nss_dns/dns-host.c (getanswer_r)
47742 [MULTI_PTRS_ARE_ALIASES]: Remove code.
47743
47744 2014-07-01 Joseph Myers <joseph@codesourcery.com>
47745
47746 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47747 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
47748 undefine.
47749 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
47750 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
47751
47752 2014-07-01 Roland McGrath <roland@hack.frob.com>
47753
47754 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
47755 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
47756
47757 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
47758 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
47759
47760 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
47761 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
47762 ... here.
47763 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
47764 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
47765
47766 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
47767 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
47768 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
47769 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
47770
47771 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
47772 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
47773 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
47774 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
47775 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
47776 Moved ...
47777 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
47778 ... here.
47779 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
47780 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
47781 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
47782 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
47783 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
47784 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
47785 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
47786 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
47787 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
47788 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
47789 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
47790 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
47791 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
47792 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
47793 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
47794 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
47795 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
47796 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
47797 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
47798 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
47799 ... here.
47800 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
47801 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
47802 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
47803 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
47804 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
47805 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
47806 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
47807 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
47808
47809 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
47810
47811 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
47812 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
47813 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
47814 Add sysdep.
47815
47816 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47817
47818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47819
47820 2014-06-30 Joseph Myers <joseph@codesourcery.com>
47821
47822 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
47823 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
47824
47825 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47826
47827 * sysdeps/arm/libm-test-ulps: Regenerated.
47828
47829 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
47830 Roland McGrath <roland@hack.frob.com>
47831
47832 * test-skeleton.c (signal_handler): Kill the whole process group
47833 before killing the child individually.
47834 (main): Report any failure on `setpgid'.
47835
47836 2014-06-30 Roland McGrath <roland@hack.frob.com>
47837
47838 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
47839 from _TLS_H to _ARM_NPTL_TLS_H.
47840 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
47841 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
47842
47843 2014-06-30 Joseph Myers <joseph@codesourcery.com>
47844
47845 [BZ #16539]
47846 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
47847 (__expm1l): Return argument unchanged when small but not
47848 subnormal.
47849
47850 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
47851 include macro name.
47852 (_FP_UNPACK_RAW_1_P): Likewise.
47853 (_FP_PACK_RAW_1): Likewise.
47854 (_FP_PACK_RAW_1_P): Likewise.
47855 (_FP_MUL_MEAT_1_wide): Likewise.
47856 (_FP_MUL_MEAT_DW_1_hard): Likewise.
47857 (_FP_MUL_MEAT_1_hard): Likewise.
47858 (_FP_DIV_MEAT_1_imm): Likewise.
47859 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
47860 (_FP_DIV_MEAT_1_udiv): Likewise.
47861 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
47862 (_FP_UNPACK_RAW_2): Likewise.
47863 (_FP_UNPACK_RAW_2_P): Likewise.
47864 (_FP_PACK_RAW_2): Likewise.
47865 (_FP_PACK_RAW_2_P): Likewise.
47866 (_FP_MUL_MEAT_DW_2_wide): Likewise.
47867 (_FP_MUL_MEAT_2_wide): Likewise.
47868 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
47869 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
47870 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
47871 (_FP_MUL_MEAT_2_gmp): Likewise.
47872 (_FP_DIV_MEAT_2_udiv): Likewise.
47873 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
47874 (_FP_FRAC_SRL_4): Likewise.
47875 (_FP_FRAC_SRST_4): Likewise.
47876 (_FP_FRAC_SRS_4): Likewise.
47877 (_FP_UNPACK_RAW_4): Likewise.
47878 (_FP_UNPACK_RAW_4_P): Likewise.
47879 (_FP_PACK_RAW_4): Likewise.
47880 (_FP_PACK_RAW_4_P): Likewise.
47881 (_FP_MUL_MEAT_DW_4_wide): Likewise.
47882 (_FP_MUL_MEAT_4_wide): Likewise.
47883 (_FP_MUL_MEAT_4_gmp): Likewise.
47884 (umul_ppppmnnn): Likewise.
47885 (_FP_DIV_MEAT_4_udiv): Likewise.
47886 (__FP_FRAC_ADD_4): Likewise.
47887 (__FP_FRAC_SUB_3): Likewise.
47888 (__FP_FRAC_SUB_4): Likewise.
47889 (__FP_FRAC_DEC_3): Likewise.
47890 (__FP_FRAC_DEC_4): Likewise.
47891 (__FP_FRAC_ADDI_4): Likewise.
47892 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
47893 (_FP_FRAC_SRL_8): Likewise.
47894 (_FP_FRAC_SRS_8): Likewise.
47895
47896 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
47897 include macro name.
47898 (FP_UNPACK_RAW_EP): Likewise.
47899 (FP_PACK_RAW_E): Likewise.
47900 (FP_PACK_RAW_EP): Likewise.
47901 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
47902 (_FP_ISSIGNAN): Likewise.
47903 (_FP_ADD_INTERNAL): Likewise.
47904 (_FP_FMA): Likewise.
47905 (_FP_CMP): Likewise.
47906 (_FP_SQRT): Likewise.
47907 (_FP_TO_INT): Likewise.
47908 (_FP_FROM_INT): Likewise.
47909 (FP_EXTEND): Likewise.
47910 (_FP_DIV_MEAT_N_loop): Likewise.
47911
47912 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
47913
47914 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
47915 throughout.
47916
47917 2014-06-29 Joseph Myers <joseph@codesourcery.com>
47918
47919 [BZ #17097]
47920 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
47921 result with correct sign in case of exponents that produce
47922 overflow except for X very close to 1.
47923
47924 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
47925
47926 mktime: merge #if/#ifdef usage from glibc
47927 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
47928 as that works with both Glibc's and Gnulib's style.
47929 See thread starting at Siddhesh Poyarekar's bug report at:
47930 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
47931
47932 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
47933
47934 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
47935 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
47936 * sysdeps/tile/tilegx/memmove.c: Remove file.
47937
47938 2014-06-27 Joseph Myers <joseph@codesourcery.com>
47939
47940 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
47941 abi-name definition.
47942 * scripts/soversions.awk: Do not handle or generate ABI lines.
47943 * shlib-versions: Remove ABI entries.
47944 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
47945 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
47946
47947 2014-06-27 Roland McGrath <roland@hack.frob.com>
47948
47949 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
47950 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
47951 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
47952 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
47953 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
47954 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
47955 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
47956 Moved ...
47957 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
47958 ... here.
47959 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
47960 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
47961 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
47962 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
47963 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
47964 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
47965 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
47966 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
47967 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
47968 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
47969 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
47970 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
47971 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
47972 Moved ...
47973 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
47974 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
47975 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
47976 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
47977 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
47978 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
47979 Moved ...
47980 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
47981 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
47982 Moved ...
47983 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
47984 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
47985 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
47986 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
47987 Moved ...
47988 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
47989 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
47990 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
47991 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
47992 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
47993 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
47994 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
47995 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
47996 Moved ...
47997 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
47998 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
47999 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
48000 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
48001 Moved ...
48002 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
48003 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
48004 Moved ...
48005 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
48006 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
48007 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
48008 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
48009 Moved ...
48010 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
48011 ... here.
48012 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
48013 Identical file removed.
48014 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
48015 Moved ...
48016 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
48017 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
48018 Identical file removed.
48019 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
48020 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
48021 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
48022 Moved ...
48023 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
48024 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
48025 Identical file removed.
48026 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
48027 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
48028 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
48029 Identical file removed.
48030 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
48031 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
48032 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
48033 Identical file removed.
48034 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
48035 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
48036 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
48037 Identical file removed.
48038 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
48039 Moved ...
48040 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
48041 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
48042 Identical file removed.
48043 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
48044 Moved ...
48045 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
48046 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
48047 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
48048 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
48049 Identical file removed.
48050 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
48051 Moved ...
48052 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
48053 ... here.
48054 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
48055 Identical file removed.
48056 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
48057 Moved ...
48058 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
48059 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
48060 Identical file removed.
48061 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
48062 Moved ...
48063 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
48064 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
48065 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
48066 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
48067 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
48068 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
48069 Moved ...
48070 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
48071 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
48072 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
48073
48074 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
48075 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
48076 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
48077 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
48078 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
48079
48080 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
48081
48082 [BZ #17092]
48083 * nscd/nscd.c (monitor_child): Return exit status of child
48084 instead of return value from wait syscall.
48085
48086 2014-06-27 Joseph Myers <joseph@codesourcery.com>
48087
48088 * configure.ac (libc_commonpagesize): Remove variable.
48089 (libc_relro_required): Likewise.
48090 (libc_cv_z_relro): Remove configure test.
48091 * configure: Regenerated.
48092 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
48093 variable.
48094 (libc_relro_required): Likewise.
48095 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
48096 (libc_relro_required): Likewise.
48097 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
48098 (libc_relro_required): Likewise.
48099 * sysdeps/arm/preconfigure: Regenerated.
48100 * sysdeps/ia64/preconfigure: Remove file.
48101 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
48102 variable.
48103 (libc_relro_required): Likewise.
48104
48105 [BZ #16561]
48106 [BZ #16562]
48107 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
48108 (__ieee754_yn): Set FE_TONEAREST mode internally and then
48109 recompute overflowing results in original rounding mode.
48110 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
48111 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
48112 recompute overflowing results in original rounding mode.
48113 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
48114 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48115 recompute overflowing results in original rounding mode.
48116 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
48117 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48118 recompute overflowing results in original rounding mode.
48119 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
48120 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48121 recompute overflowing results in original rounding mode.
48122 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
48123 (libc_feholdsetround_ctx): New macro.
48124 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
48125 * sysdeps/i386/fpu/libm-test-ulps: Update.
48126 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
48127
48128 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48129
48130 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
48131 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
48132 corresponding .cpsetup call.
48133
48134 2014-06-26 Roland McGrath <roland@hack.frob.com>
48135
48136 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
48137 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
48138 * sysdeps/arm/Makefile [$(subdir) = csu]
48139 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
48140 (static-only-routines): Add aeabi_read_tp here.
48141 (shared-only-routines): Add libc-aeabi_read_tp here.
48142 (CFLAGS-libc-start.c): Add -fexceptions here.
48143 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
48144 (sysdep_routines, static-only-routines, shared-only-routines):
48145 Don't add to these here.
48146 (CFLAGS-libc-start.c): Likewise.
48147
48148 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
48149 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
48150 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
48151 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
48152 * sysdeps/arm/Makefile [$(subdir) = rt]
48153 (librt-sysdep_routines, librt-shared-only-routines):
48154 Append rt-aeabi_unwind_cpp_pr1 here.
48155 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
48156 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
48157 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
48158 (libpthread-sysdep_routines, libpthread-shared-only-routines):
48159 Append nptl-aeabi_unwind_cpp_pr1 here.
48160 (tests): Filter out tst-cleanupx4 here.
48161 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
48162 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
48163 Don't do those here.
48164
48165 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48166
48167 * scripts/list-sources.sh: Do not handle ports specially.
48168
48169 2014-06-26 Roland McGrath <roland@hack.frob.com>
48170
48171 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
48172 * sysdeps/arm/feupdateenv.c: Likewise.
48173
48174 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
48175
48176 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48177
48178 * manual/texinfo.tex: Update to version 2014-05-05.10 with
48179 trailing whitespace removed.
48180 * scripts/config.guess: Update to version 2014-03-23.
48181 * scripts/config.sub: Update to version 2014-05-01
48182 * scripts/install-sh: Update to version 2013-12-25.23.
48183 * scripts/move-if-change: Update from gnulib.
48184
48185 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48186
48187 * debug/memmove_chk.c: Remove pagecopy.h include.
48188
48189 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
48190
48191 * time/mktime.c (leapyear): Remove inline keyword. The code is now
48192 identical to gnulib mktime.
48193
48194 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48195
48196 * configure.ac: Do not test for machine being rs6000. Do not test
48197 for powerpc*-*soft.
48198 * configure: Regenerated.
48199
48200 [BZ #11505]
48201 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
48202 test.
48203 * configure: Regenerated.
48204 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
48205 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
48206 Remove configure test.
48207 * sysdeps/arm/configure: Regenerated.
48208 * sysdeps/nptl/configure.ac: Do not check
48209 libc_cv_asm_cfi_directives.
48210 * sysdeps/nptl/configure: Regenerated.
48211 * sysdeps/x86_64/nptl/configure.ac: Remove file.
48212 * sysdeps/x86_64/nptl/configure: Remove generated file.
48213 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
48214 unconditional.
48215 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
48216
48217 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48218
48219 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
48220 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
48221 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
48222 it is defined.
48223
48224 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
48225 instead of whether it is defined.
48226 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
48227 * sysdeps/hppa/dl-machine.h: Likewise.
48228 * sysdeps/ia64/dl-machine.h: Likewise.
48229 * sysdeps/m68k/dl-machine.h: Likewise.
48230 * sysdeps/microblaze/dl-machine.h: Likewise.
48231 * sysdeps/mips/dl-machine.: Likewise.
48232 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48233 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48234 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48235 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48236 * sysdeps/sh/dl-machine.h: Likewise.
48237 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48238 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48239 * sysdeps/tile/dl-machine.h: Likewise.
48240 * sysdeps/x86_64/dl-machine.h: Likewise.
48241
48242 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
48243 code.
48244 (verify_persistent_db): Likewise.
48245
48246 2014-06-26 Roland McGrath <roland@hack.frob.com>
48247
48248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
48249 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
48250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
48251 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
48252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48253 Moved ...
48254 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
48255 ... here.
48256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
48257 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
48258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
48259 Identical file removed.
48260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
48261 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
48262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
48263 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
48264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
48265 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
48266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
48267 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
48268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
48269 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
48270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48271 Moved ...
48272 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
48273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
48274 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
48275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
48276 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
48277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48278 Moved ...
48279 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
48280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
48281 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
48282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
48283 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
48284 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48285 Identical file removed.
48286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
48287 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
48288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
48289 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
48290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48291 Moved ...
48292 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
48293 ... here.
48294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
48295 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
48296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
48297 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
48298 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
48299 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
48300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
48301 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
48302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
48303 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
48304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48305 Moved ...
48306 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
48307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
48308 Moved ...
48309 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
48310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
48311 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
48312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48313 Moved ...
48314 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
48315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
48316 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
48317
48318 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
48319 folded into ...
48320 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
48321 * sysdeps/unix/sysv/linux/s390/Versions
48322 (libpthread: GLIBC_2.19): New version set.
48323 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
48324 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
48325 (librt: GLIBC_2.3.3): New version set.
48326 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
48327 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
48328 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
48329 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
48330 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
48331 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
48332 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
48333 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
48334 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
48335 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
48336 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
48337 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
48338 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
48339 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
48340 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
48341 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
48342 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
48343 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
48344 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
48345 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
48346 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
48347 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
48348 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
48349 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
48350 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
48351 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
48352 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
48353 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
48354 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
48355 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
48356 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
48357 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
48358 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
48359 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
48360 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
48361 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
48362 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
48363 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
48364 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
48365 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
48366 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
48367 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
48368 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
48369 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
48370 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
48371
48372 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
48373 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
48374 (__libc_vfork): Define the function under this name.
48375 [!NOT_IN_libc] (__vfork): Make this an alias.
48376 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48377 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
48378 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
48379 (__libc_vfork): Define the function under this name.
48380 [!NOT_IN_libc] (__vfork): Make this an alias.
48381 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48382 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
48383 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
48384 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
48385 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
48386 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48387
48388 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
48389 code that was previously under [RESET_PID].
48390 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
48391 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
48392 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
48393
48394 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
48395 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
48396 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
48397 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
48398 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
48399 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
48400 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
48401 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
48402 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
48403 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
48404 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
48405 Moved ...
48406 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
48407 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
48408 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
48409 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
48410 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
48411 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
48412 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
48413 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
48414 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
48415 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
48416 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
48417 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
48418 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
48419 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
48420 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
48421 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
48422 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
48423 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
48424 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
48425 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
48426 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
48427 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
48428 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
48429 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
48430 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
48431 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
48432 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
48433 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
48434 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
48435
48436 2014-06-25 Roland McGrath <roland@hack.frob.com>
48437
48438 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
48439 that was previously under [RESET_PID].
48440 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
48441
48442 2014-06-25 Joseph Myers <joseph@codesourcery.com>
48443
48444 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
48445 not undefine and redefine.
48446 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
48447 [O_CLOEXEC]: Make code unconditional.
48448 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
48449 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
48450 <kernel-features.h>.
48451 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
48452 conditional variable definition.
48453 (shm_open) [O_CLOEXEC]: Make code unconditional.
48454 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
48455 code.
48456
48457 * configure.ac (USE_REGPARMS): Don't define here.
48458 * configure: Regenerated.
48459 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
48460 * sysdeps/i386/configure: Regenerated.
48461
48462 * nptl/createthread.c: Don't include kernel-features.h.
48463 * nptl/pthread_cancel.c: Likewise.
48464 * nptl/pthread_condattr_setclock.c: Likewise.
48465 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
48466 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
48467 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
48468 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
48469 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
48470 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
48471 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
48472 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
48473 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
48474 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
48475 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
48476 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
48477 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
48478 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
48479 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
48480 * nscd/gai.c: Likewise.
48481 * nss/nss_db/db-open.c: Likewise.
48482 * sysdeps/generic/ldsodefs.h: Likewise.
48483 * sysdeps/sh/nptl/tls.h: Likewise.
48484 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
48485 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
48486 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
48487 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
48488 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
48489 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
48490 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
48491 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48492 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
48493 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
48494 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
48495 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
48496 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
48497 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
48498 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
48499 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
48500 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
48501 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
48502 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
48503 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
48504 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
48505 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
48506 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
48507 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
48508 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
48509 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
48510 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
48511 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
48512 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
48513 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
48514 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
48515 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
48516 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
48517 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48518 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48519 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
48520 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48521 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
48522 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
48523 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
48524 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48525 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
48526 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
48527 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48528 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
48529 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
48530 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
48531 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
48532 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
48533 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
48534 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
48535 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
48536 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
48537 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
48538 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
48539 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48540 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
48541 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
48542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
48543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
48544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
48545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
48546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
48547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
48548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
48549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
48550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
48551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
48552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
48553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
48554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
48555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
48556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
48557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
48562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
48563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
48564 * sysdeps/unix/sysv/linux/pread.c: Likewise.
48565 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
48566 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
48567 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
48568 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
48569 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
48570 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
48571 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
48572 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
48573 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
48574 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
48575 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
48576 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
48577 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
48578 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
48579 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
48580 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
48581 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
48582 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
48583 * sysdeps/unix/sysv/linux/system.c: Likewise.
48584 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
48585 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
48586 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
48587 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
48588 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
48589 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
48590 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
48591
48592 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
48593 * configure: Regenerated.
48594 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
48595
48596 * configure.ac (base_machine): Do not set specially for particular
48597 machines here.
48598 * configure: Regenerated.
48599 * sysdeps/powerpc/preconfigure: Move machine and base_machine
48600 settings from configure.ac.
48601 * sysdeps/i386/preconfigure: New file.
48602 * sysdeps/s390/preconfigure: Likewise.
48603 * sysdeps/sh/preconfigure: Likewise.
48604 * sysdeps/sparc/preconfigure: Likewise.
48605
48606 2014-06-25 Roland McGrath <roland@hack.frob.com>
48607
48608 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
48609 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
48610 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
48611 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
48612 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
48613 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
48614 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
48615 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
48616 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
48617 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
48618 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
48619 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
48620 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
48621 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
48622 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
48623 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
48624 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
48625 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
48626 * sysdeps/sparc/sparc64/Makefile: ... appended here.
48627
48628 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
48629 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
48630 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
48631 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
48632 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
48633 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
48634 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
48635 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
48636 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
48637 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
48638 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
48639 * sysdeps/sparc/sparc32/sem_post.c: ... here.
48640 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
48641 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
48642 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
48643 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
48644 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
48645 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
48646 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
48647 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
48648 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
48649 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
48650 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
48651 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
48652 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
48653 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
48654 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
48655 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
48656 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
48657 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
48658 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
48659 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
48660 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
48661 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
48662 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
48663 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
48664 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
48665 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
48666
48667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
48668 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
48669 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
48670 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
48671 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
48672 Moved ...
48673 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
48674 ... here.
48675 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
48676 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
48677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
48678 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
48679 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
48680 Moved ...
48681 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
48682 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
48683 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
48684 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
48685 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
48686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
48687 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
48688 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48689 Moved ...
48690 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
48691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
48692 Moved ...
48693 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
48694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
48695 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
48696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
48697 Moved ...
48698 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
48699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
48700 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
48701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
48702 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
48703 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
48704 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
48705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
48706 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
48707 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
48708 Moved ...
48709 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
48710 ... here.
48711 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
48712 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
48713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
48714 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
48715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
48716 Moved ...
48717 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
48718 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
48719 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
48720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
48721 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
48722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
48723 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
48724 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48725 Moved ...
48726 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
48727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
48728 Moved ...
48729 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
48730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
48731 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
48732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
48733 Moved ...
48734 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
48735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
48736 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
48737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
48738 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
48739
48740 2014-06-25 Joseph Myers <joseph@codesourcery.com>
48741
48742 * timezone/checktab.awk: Update from tzcode 2014e.
48743 * timezone/private.h: Likewise.
48744 * timezone/tzfile.h: Likewise.
48745 * timezone/zdump.c: Likewise.
48746 * timezone/zic.c: Likewise.
48747
48748 * sysdeps/unix/sysv/linux/kernel-features.h
48749 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
48750 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
48751 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
48752 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
48753 Remove conditional code.
48754
48755 2014-06-25 Will Newton <will.newton@linaro.org>
48756
48757 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
48758 (_dl_arm_cap_flags): Add HWCAP2 values.
48759 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
48760 (_DL_HWCAP_COUNT): Increase to 37.
48761 (_DL_HWCAP_LAST): New define.
48762 (_DL_HWCAP2_LAST): New define.
48763 (_dl_procinfo): Add support for printing
48764 AT_HWCAP2 entries.
48765 (_dl_string_hwcap): Use _dl_hwcap_string.
48766
48767 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48768
48769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48770
48771 2014-06-25 Joseph Myers <joseph@codesourcery.com>
48772
48773 * README: Do not mention ports directory.
48774
48775 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
48776 Remove macro.
48777 * sysdeps/unix/sysv/linux/futimes.c: Do not include
48778 <kernel-features.h>.
48779 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
48780 conditional variable definition.
48781 (__futimes): Update comment.
48782 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
48783 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
48784
48785 [BZ #16560]
48786 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
48787 arguments close to 0.
48788 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
48789 Likewise.
48790 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
48791 Likewise.
48792 * math/auto-libm-test-in: Add more tests of exp10.
48793 * math/auto-libm-test-out: Regenerated.
48794 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48795
48796 * sysdeps/unix/sysv/linux/kernel-features.h
48797 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
48798 * sysdeps/unix/sysv/linux/readv.c: Do not include
48799 <kernel-features.h>.
48800 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
48801 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
48802 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
48803 unconditional.
48804 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
48805 conditional code.
48806 * sysdeps/unix/sysv/linux/writev.c: Do not include
48807 <kernel-features.h>.
48808 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
48809 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
48810 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
48811 unconditional.
48812 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
48813 conditional code.
48814
48815 2014-06-25 Will Newton <will.newton@linaro.org>
48816
48817 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
48818 comment changes throughout the file. Remove checks
48819 for HAVE_*_H definitions that are not required.
48820 (__gen_tempname): Call abort if an unknown kind value is
48821 passed.
48822
48823 2014-06-25 Andreas Schwab <schwab@suse.de>
48824
48825 [BZ #17086]
48826 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
48827 scalbln, scalblnf, scalblnl in libc.
48828
48829 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
48830
48831 [BZ #17086]
48832 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
48833 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
48834 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
48835
48836 2014-06-24 Roland McGrath <roland@hack.frob.com>
48837
48838 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
48839 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
48840 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
48841 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
48842 Update #include.
48843 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
48844 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
48845 Update #include.
48846 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
48847 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
48848 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
48849 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
48850 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
48851 * sysdeps/x86/bits/pthreadtypes.h: ... here.
48852 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
48853 * sysdeps/x86/bits/semaphore.h: ... here.
48854 * sysdeps/x86/nptl/elide.h: Moved ...
48855 * sysdeps/x86/elide.h: ... here.
48856 * sysdeps/x86_64/nptl/Implies: File removed.
48857 * sysdeps/i386/nptl/Implies: File removed.
48858
48859 2014-06-24 Joseph Myers <joseph@codesourcery.com>
48860
48861 [BZ #16539]
48862 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
48863 return the argument for normal arguments with exponent below -64.
48864 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
48865 Likewise.
48866 * math/auto-libm-test-in: Add another test of expm1.
48867 * math/auto-libm-test-out: Regenerated.
48868
48869 [BZ #16287]
48870 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
48871 calling __erfcl for arguments at least 16.
48872 * math/auto-libm-test-in: Add more tests of erf.
48873 * math/auto-libm-test-out: Regenerated.
48874
48875 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
48876 individual architectures.
48877 * sysdeps/unix/sysv/linux/configure: Regenerated.
48878 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
48879 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
48880 * sysdeps/unix/sysv/linux/powerpc/configure.ac
48881 (ldd_rewrite_script): Define variable.
48882 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
48883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
48884 file.
48885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
48886 generated file.
48887 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
48888 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
48889 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
48890 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
48891 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
48892 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
48893 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
48894 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
48895
48896 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
48897
48898 [BZ #17084]
48899 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
48900 Rename member __data.d to __data.__elision_data.
48901
48902 2014-06-24 Wilco <wdijkstr@arm.com>
48903
48904 * NEWS: Add 16918 to fixed bug list.
48905
48906 2014-06-24 Wilco <wdijkstr@arm.com>
48907
48908 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
48909
48910 2014-06-24 Wilco <wdijkstr@arm.com>
48911
48912 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
48913 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
48914 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
48915 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
48916 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
48917 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
48918 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
48919 Use _FPU_MASK_RM.
48920
48921 2014-06-24 Wilco <wdijkstr@arm.com>
48922
48923 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
48924
48925 2014-06-24 Wilco <wdijkstr@arm.com>
48926
48927 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
48928 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
48929 * sysdeps/arm/fesetround.c (fesetround): Remove space.
48930 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
48931
48932 2014-06-24 Wilco <wdijkstr@arm.com>
48933
48934 [BZ #16918]
48935 * sysdeps/arm/feupdateenv.c (feupdateenv):
48936 Rewrite to reduce FPSCR accesses and fix return value.
48937
48938 2014-06-24 Wilco <wdijkstr@arm.com>
48939
48940 * sysdeps/arm/fclrexcpt.c (feclearexcept):
48941 Optimize to avoid unnecessary FPSCR writes.
48942 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
48943 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
48944 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
48945 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
48946
48947 2014-06-24 Wilco <wdijkstr@arm.com>
48948
48949 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
48950 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
48951 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
48952 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
48953 Call libc_fetestexcept_vfp.
48954 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
48955 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
48956 __SOFTFP__ ifdef so that they can be built for softfp.
48957
48958 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
48959
48960 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
48961 argument type signed char.
48962
48963 * Makerules (check-abi): Dump diff of symlist if the test
48964 fails.
48965
48966 2014-06-23 Roland McGrath <roland@hack.frob.com>
48967
48968 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
48969 using abort.
48970
48971 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
48972 Remove unused variable ST.
48973
48974 2014-06-23 Joseph Myers <joseph@codesourcery.com>
48975
48976 [BZ #16354]
48977 [BZ #17061]
48978 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
48979 small arguments before calling __expm1.
48980 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
48981 small arguments before calling __expm1f.
48982 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
48983 small arguments before calling __expm1l.
48984 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
48985 Likewise.
48986 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
48987 * math/auto-libm-test-in: Add more cosh tests. Do not allow
48988 spurious underflow for some cosh tests.
48989 * math/auto-libm-test-out: Regenerated.
48990 * sysdeps/i386/fpu/libm-test-ulps: Update.
48991
48992 [BZ #17050]
48993 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
48994 (__ieee754_y1): Set errno if return value overflows.
48995 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
48996 (__ieee754_y1f): Set errno if return value overflows.
48997 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
48998 (__ieee754_y1l): Set errno if return value overflows.
48999 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
49000 (__ieee754_y1l): Set errno if return value overflows.
49001 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
49002 * math/auto-libm-test-out: Regenerated.
49003
49004 * math/gen-auto-libm-tests.c: Document use of
49005 ignore-zero-inf-sign.
49006 (input_flag_type): Add value flag_ignore_zero_inf_sign.
49007 (input_flags): Add ignore-zero-inf-sign.
49008 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
49009 * math/gen-libm-test.pl (generate_testfile): Handle
49010 ignore-zero-inf-sign.
49011 * math/auto-libm-test-in: Mark some cpow tests with
49012 ignore-zero-inf-sign and some with xfail-rounding.
49013 * math/auto-libm-test-out: Regenerated.
49014 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
49015 * sysdeps/i386/fpu/libm-test-ulps: Update.
49016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49017
49018 [BZ #16315]
49019 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
49020 overflowing or underflowing operations take place with sign of
49021 result.
49022 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49023 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
49024 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
49025 (__ieee754_pow): Recompute overflowing and underflowing results in
49026 original rounding mode.
49027 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
49028 (__powl_helper): Allow negative argument X and scale negated value
49029 as needed. Avoid passing value outside [-1, 1] to f2xm1.
49030 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
49031 overflowing or underflowing operations take place with sign of
49032 result.
49033 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
49034 Include <math.h>.
49035 * math/auto-libm-test-in: Add more tests of pow.
49036 * math/auto-libm-test-out: Regenerated.
49037 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
49038 (pow_tonearest_test_data): Remove.
49039 (pow_test_tonearest): Likewise.
49040 (pow_towardzero_test_data): Likewise.
49041 (pow_test_towardzero): Likewise.
49042 (pow_downward_test_data): Likewise.
49043 (pow_test_downward): Likewise.
49044 (pow_upward_test_data): Likewise.
49045 (pow_test_upward): Likewise.
49046 (main): Don't call removed functions.
49047 * sysdeps/i386/fpu/libm-test-ulps: Update.
49048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49049
49050 2014-06-23 Roland McGrath <roland@hack.frob.com>
49051
49052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
49053 Moved ...
49054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
49055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49056 Moved ...
49057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
49058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49059 Moved ...
49060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
49061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49062 Moved ...
49063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
49064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49065 File removed.
49066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49067 File removed.
49068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
49069 File removed.
49070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
49071 File removed.
49072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
49073 File removed.
49074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
49075 File removed.
49076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
49077 File removed.
49078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49079 File removed.
49080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
49081 File removed.
49082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49083 File removed.
49084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
49085 File removed.
49086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
49087 File removed.
49088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
49089 Moved ...
49090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
49091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
49092 Moved ...
49093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
49094 ... here.
49095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
49096 Moved ...
49097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
49098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
49099 Moved ...
49100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
49101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
49102 Moved ...
49103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
49104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
49105 Moved ...
49106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
49107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
49108 Moved ...
49109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
49110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
49111 Moved ...
49112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
49113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
49114 Moved ...
49115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
49116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
49117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
49118 ... here.
49119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
49120 Moved ...
49121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
49122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
49123 Moved ...
49124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
49125 ... here.
49126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
49127 Moved ...
49128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
49129 ... here.
49130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
49131 Moved ...
49132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
49133 ... here.
49134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49135 Moved ...
49136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
49137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
49138 Moved ...
49139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
49140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
49141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
49142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
49143 Moved ...
49144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
49145 ... here.
49146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49147 Moved ...
49148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
49149 ... here.
49150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
49151 Moved ...
49152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
49153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49154 Moved ...
49155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
49156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
49157 Moved ...
49158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
49159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49160 Moved ...
49161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
49162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
49163 Moved ...
49164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
49165 ... here.
49166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49167 Moved ...
49168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
49169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
49170 Moved ...
49171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
49172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49173 Moved ...
49174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
49175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
49176 Moved ...
49177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
49178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
49179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
49180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
49181 Moved ...
49182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
49183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49184 Moved ...
49185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
49186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
49187 Moved ...
49188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
49189 ... here.
49190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49191 Moved ...
49192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
49193 ... here.
49194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
49195 Moved ...
49196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
49197 ... here.
49198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49199 Moved ...
49200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
49201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
49202 Moved ...
49203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
49204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49205 Moved ...
49206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
49207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
49208 Moved ...
49209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
49210 ... here.
49211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49212 Moved ...
49213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
49214 ... here.
49215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
49216 Moved ...
49217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
49218 ... here.
49219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49220 Moved ...
49221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
49222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49223 Moved ...
49224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
49225
49226 2014-06-23 Will Newton <will.newton@linaro.org>
49227 Wilco <wdijkstr@arm.com>
49228
49229 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
49230 implementation. Include get-rounding-mode.h.
49231 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
49232 [!libc_feholdsetround_noex_ctx]: Define
49233 libc_feholdsetround_noex_ctx.
49234 [!libc_feholdsetround_noexf_ctx]: Define
49235 libc_feholdsetround_noexf_ctx.
49236 [!libc_feholdsetround_noexl_ctx]: Define
49237 libc_feholdsetround_noexl_ctx.
49238 (libc_feholdsetround_ctx): New function.
49239 (libc_feresetround_ctx): New function.
49240 (libc_feholdsetround_noex_ctx): New function.
49241 (libc_feresetround_noex_ctx): New function.
49242
49243 2014-06-23 Roland McGrath <roland@hack.frob.com>
49244
49245 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
49246 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
49247 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
49248 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
49249 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
49250 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
49251
49252 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
49253 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
49254 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
49255 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
49256 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
49257 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
49258 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
49259 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
49260 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
49261 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
49262 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
49263 Moved ...
49264 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
49265 ... here.
49266 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
49267 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
49268 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
49269 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
49270 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
49271 Moved ...
49272 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
49273 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
49274 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
49275 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
49276 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
49277 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
49278 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
49279 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
49280 Moved ...
49281 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
49282 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
49283 Moved ...
49284 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
49285 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
49286 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
49287 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
49288 Moved ...
49289 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
49290 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
49291 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
49292 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
49293 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
49294 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
49295 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
49296 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
49297 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
49298 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
49299 Moved ...
49300 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
49301 ... here.
49302 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
49303 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
49304 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
49305 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
49306 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
49307 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
49308 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
49309 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
49310 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
49311 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
49312 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
49313 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
49314 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
49315 Moved ...
49316 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
49317 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
49318 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
49319 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
49320 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
49321 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
49322 Moved ...
49323 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
49324 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
49325 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
49326 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
49327 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
49328
49329 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
49330 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
49331 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
49332 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
49333 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
49334 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
49335 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
49336 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
49337 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
49338 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
49339 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
49340 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
49341 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
49342 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
49343 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
49344 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
49345 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
49346 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
49347 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
49348 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
49349 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
49350 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
49351 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
49352 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
49353 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
49354 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
49355 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
49356 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
49357
49358 2014-06-23 Joseph Myers <joseph@codesourcery.com>
49359
49360 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
49361 (FALLOC_FL_COLLAPSE_RANGE): New macro.
49362 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
49363 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
49364 (IPV6_PMTUDISC_INTERFACE): Likewise.
49365 (IPV6_PMTUDISC_OMIT): Likewise.
49366
49367 2014-06-23 Andreas Schwab <schwab@suse.de>
49368
49369 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
49370 Remove unused errout label.
49371
49372 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49373
49374 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
49375 macro: hardware supports Vector Crypto instructions.
49376
49377 2014-06-23 Will Newton <will.newton@linaro.org>
49378
49379 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
49380 rather than __builtin_expect.
49381
49382 * elf/dl-lookup.c (undefined_msg): Remove variable.
49383 (_dl_lookup_symbol_x): Replace undefined_msg with string
49384 literal.
49385
49386 * elf/dl-lookup.c (do_lookup_unique): New function.
49387 (do_lookup_x): Move STB_GNU_UNIQUE handling code
49388 to a separate function.
49389
49390 2014-06-23 Andreas Schwab <schwab@suse.de>
49391
49392 [BZ #17079]
49393 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
49394 before reading the next line.
49395
49396 2014-06-23 Will Newton <will.newton@linaro.org>
49397
49398 * test-skeleton.c (signal_handler): Use printf and %m
49399 rather than perror. Use printf rather than fprintf to
49400 stderr. Use puts rather than fputs to stderr.
49401 (main): Likewise.
49402
49403 2014-06-22 Ludovic Courtès <ludo@gnu.org>
49404
49405 * nscd/nscd.c (thread_info_t): Remove typedef.
49406 (thread_info): Remove variable.
49407
49408 2014-06-21 Allan McRae <allan@archlinux.org>
49409
49410 * NEWS: Mention CVE-2014-4043.
49411
49412 2014-06-20 Roland McGrath <roland@hack.frob.com>
49413
49414 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
49415 * nptl/smp.h: ... here.
49416
49417 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
49418
49419 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
49420 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
49421 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
49422 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
49423
49424 * nptl/allocatestack.c: Include <stack-aliasing.h>.
49425 * nptl/stack-aliasing.h: New file.
49426 * sysdeps/i386/i686/stack-aliasing.h: New file.
49427 * sysdeps/i386/i686/nptl/Makefile: File removed.
49428 * sysdeps/x86_64/stack-aliasing.h: New file.
49429 * sysdeps/x86_64/nptl/Makefile
49430 (CFLAGS-pthread_create.c): Variable removed.
49431
49432 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
49433 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
49434 old file.
49435 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
49436 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
49437 old file.
49438
49439 2014-06-21 Joseph Myers <joseph@codesourcery.com>
49440
49441 * sysdeps/unix/sysv/linux/arm/kernel-features.h
49442 (__ASSUME_SIGFRAME_V2): Remove macro.
49443 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
49444 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
49445 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
49446 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
49447 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
49448 Declare as function. Remove conditional macro definitions.
49449 (__default_rt_sa_restorer): Likewise.
49450 (__default_sa_restorer_v1): Remove declaration.
49451 (__default_sa_restorer_v2): Likewise.
49452 (__default_rt_sa_restorer_v1): Likewise.
49453 (__default_rt_sa_restorer_v2): Likewise.
49454 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
49455 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
49456 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
49457
49458 2014-06-20 Roland McGrath <roland@hack.frob.com>
49459
49460 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
49461 (libpthread-routines): Add sysdep.
49462 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
49463 * sysdeps/unix/sysv/linux/sparc/Versions
49464 (libpthread: GLIBC_2.3.3): New version set.
49465 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
49466 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
49467 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
49468 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
49469 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
49470 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
49471 Moved ...
49472 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
49473 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
49474 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
49475 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
49476 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
49477 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
49478 * sysdeps/sparc/nptl/sem_init.c: ... here.
49479 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
49480 * sysdeps/sparc/nptl/sem_post.c: ... here.
49481 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
49482 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
49483 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
49484 * sysdeps/sparc/nptl/sem_wait.c: ... here.
49485 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
49486 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
49487 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
49488 (libpthread-routines): Add cpu_relax.
49489 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
49490 File removed.
49491 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
49492 (librt: GLIBC_2.3.3): New version set.
49493 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
49494 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
49495 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
49496 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
49497 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
49498 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
49499 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
49500 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
49501 Moved ...
49502 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
49503 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
49504 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
49505 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
49506 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
49507 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
49508 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
49509 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
49510 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
49511 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
49512 Moved ...
49513 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
49514 Update #include.
49515 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
49516 Moved ...
49517 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
49518 Update #include.
49519 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
49520 Moved ...
49521 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
49522 Update #include.
49523 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
49524 Moved ...
49525 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
49526 Update #include.
49527 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
49528 Moved ...
49529 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
49530 Update #include.
49531 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
49532 Moved ...
49533 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
49534 Update #include.
49535 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
49536 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
49537 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
49538 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
49539 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
49540 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
49541 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
49542 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
49543 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
49544 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
49545 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
49546 Moved ...
49547 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
49548 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
49549 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
49550 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
49551 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
49552
49553 2014-06-20 Joseph Myers <joseph@codesourcery.com>
49554
49555 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
49556 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
49557 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
49558 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
49559 * nscd/nscd.c: Likewise.
49560 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
49561 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
49562 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
49563 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
49564
49565 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
49566 <kernel-features.h>.
49567 (init_mq_netlink): Remove conditional have_sock_cloexec
49568 definitions. Remove code conditional on have_sock_cloexec < 0.
49569 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
49570 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
49571 * sysdeps/unix/sysv/linux/opensock.c: Do not include
49572 <kernel-features.h>.
49573 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
49574 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
49575
49576 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
49577
49578 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49579 Add tests for memset_chk and memset.
49580
49581 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
49582 with AVX2_Usable.
49583
49584 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
49585
49586 [BZ #16046]
49587 * elf/tst-dl-iter-static.c: New file.
49588 * elf/Makefile (tests-static): Add tst-dl-iter-static.
49589
49590 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
49591 error.
49592
49593 2014-06-20 Joseph Myers <joseph@codesourcery.com>
49594
49595 * sysdeps/unix/sysv/linux/kernel-features.h
49596 (__ASSUME_F_GETOWN_EX): Remove macro.
49597 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
49598 <kernel-features.h>.
49599 (miss_F_GETOWN_EX): Remove variable or macro.
49600 (do_fcntl): Do not check miss_F_GETOWN_EX.
49601 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
49602
49603 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
49604 Remove macro.
49605 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
49606 [!__ASSUME_AT_RANDOM]: Remove conditional code.
49607 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
49608
49609 * sysdeps/unix/sysv/linux/kernel-features.h
49610 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
49611 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
49612 [ADJ_OFFSET_SS_READ]: Make code unconditional.
49613 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
49614
49615 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
49616
49617 [BZ #17075]
49618 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
49619 Fix calculation of the symbol's value.
49620 * sysdeps/arm/tst-armtlsdescloc.c: New file.
49621 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
49622 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
49623 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
49624 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
49625 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
49626 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
49627 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
49628 (modules-names): Add `tst-armtlsdescmod',
49629 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
49630 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
49631 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
49632 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
49633 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
49634 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
49635 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
49636 ($(objpfx)tst-armtlsdescloc): New dependency.
49637 ($(objpfx)tst-armtlsdescextnow): Likewise.
49638 ($(objpfx)tst-armtlsdescextlazy): Likewise.
49639 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
49640 TLS scheme support.
49641 * sysdeps/arm/configure: Regenerate.
49642
49643 2014-06-20 Joseph Myers <joseph@codesourcery.com>
49644
49645 * include/fcntl.h (__atfct_seterrno): Remove prototype.
49646 (__atfct_seterrno_2): Likewise.
49647 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
49648 <kernel-features.h>.
49649 (__ASSUME_ATFCTS): Do not undefine and redefine.
49650 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
49651 (__have_atfcts): Remove conditional definition.
49652 (__fxstatat([__NR_fstatat64]: Make code unconditional.
49653 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
49654 unreachable if [__ASSUME_ATFCTS].
49655 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
49656 not undefine and redefine.
49657 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
49658 <kernel-features.h>.
49659 (faccessat) [__NR_faccessat]: Make code unconditional.
49660 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
49661 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
49662 <kernel-features.h>.
49663 (fchmodat) [__NR_fchmodat]: Make code unconditional.
49664 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
49665 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
49666 <kernel-features.h>.
49667 (fchownat) [__NR_fchownat]: Make code unconditional.
49668 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
49669 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
49670 <kernel-features.h>.
49671 (futimesat) [__NR_futimesat]: Make code unconditional.
49672 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
49673 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
49674 <kernel-features.h>.
49675 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
49676 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49677 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
49678 <kernel-features.h>.
49679 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
49680 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
49681 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
49682 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
49683 <kernel-features.h>.
49684 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
49685 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49686 * sysdeps/unix/sysv/linux/linkat.c: Do not include
49687 <kernel-features.h>.
49688 (linkat) [__NR_linkat]: Make code unconditional.
49689 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49690 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
49691 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
49692 <kernel-features.h>.
49693 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
49694 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
49695 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
49696 <kernel-features.h>.
49697 (mkdirat) [__NR_mkdirat]: Make code unconditional.
49698 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
49699 * sysdeps/unix/sysv/linux/openat.c: Do not include
49700 <kernel-features.h>.
49701 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
49702 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
49703 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
49704 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
49705 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
49706 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
49707 <kernel-features.h>.
49708 (readlinkat) [__NR_readlinkat]: Make code unconditional.
49709 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
49710 result of INLINE_SYSCALL directly, not via int variable.
49711 * sysdeps/unix/sysv/linux/renameat.c: Do not include
49712 <kernel-features.h>.
49713 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
49714 (renameat) [__NR_renameat]: Make code unconditional.
49715 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
49716 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
49717 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
49718 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
49719 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
49720 (__ASSUME_ATFCTS): Do not undefine and redefine.
49721 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
49722 <kernel-features.h>.
49723 (symlinkat) [__NR_symlinkat]: Make code unconditional.
49724 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49725 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
49726 <kernel-features.h>.
49727 (unlinkat) [__NR_unlinkat]: Make code unconditional.
49728 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49729 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
49730 (__ASSUME_ATFCTS): Do not undefine and redefine.
49731 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
49732 <kernel-features.h>.
49733 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
49734 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49735 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
49736 <kernel-features.h>.
49737 (__xmknodat) [__NR_mknodat]: Make code unconditional.
49738 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
49739
49740 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
49741
49742 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
49743
49744 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
49745
49746 [BZ #17069]
49747 * posix/regcomp.c (parse_reg_exp): Deallocate partially
49748 constructed tree before returning error.
49749 * posix/bug-regexp36.c: Expand test case.
49750
49751 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
49752
49753 [BZ #6803]
49754 * math/libm-test.inc (scalbln_test_date):
49755 Add errno expectations.
49756 * math/w_scalblnf.c: New File.
49757 Add wrapper which checks for setting errno to ERANGE.
49758 Add weak_alias for corresponding scalbln function.
49759 * math/w_scalbln.c: Likewise.
49760 * math/w_scalblnl.c: Likewise.
49761 * math/Makefile (libm-calls): Add w_scalbln.
49762 * sysdeps/ieee754/flt-32/s_scalblnf.c:
49763 Remove weak_alias for corresponding scalbln function.
49764 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49765 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
49766 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49767 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49768 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
49769 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
49770 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
49771 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
49772 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
49773 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
49774 Remove long_double_symbol for scalblnl function in libm, libc.
49775 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
49776 Add wrapper which checks for setting errno to ERANGE.
49777 Add long_double_symbol for scalblnl function in libm, libc.
49778 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
49779 Remove long_double_symbol for scalblnl in libm.
49780 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
49781 Add wrapper which checks for setting errno to ERANGE.
49782 Add long_double_symbol for scalblnl function in libm.
49783 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
49784 Do not use wrapper because of own implementation.
49785
49786 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
49787
49788 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
49789 3 bytes for __pad1 for x32.
49790 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
49791
49792 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
49793 H.J. Lu <hongjiu.lu@intel.com>
49794
49795 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
49796 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
49797 * sysdeps/x86_64/multiarch/memset.S: Likewise.
49798 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
49799 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
49800
49801 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
49802
49803 [BZ #17069]
49804 * posix/regcomp.c (parse_expression): Deallocate partially
49805 constructed tree before returning error.
49806 * posix/Makefile.c (tests): Add bug-regex36.
49807 (generated): Add bug-regex36.mtrace.
49808 (tests-special): Add $(objpfx)bug-regex36-mem.out
49809 (bug-regex36-ENV): New variable.
49810 ($(objpfx)bug-regex36-mem.out): New rule.
49811 * posix/bug-regex36.c: New file.
49812
49813 2014-06-19 Will Newton <will.newton@linaro.org>
49814
49815 * malloc/malloc.c (systrim): If extra is zero then return
49816 early.
49817
49818 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
49819
49820 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
49821
49822 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
49823
49824 * sysdeps/aarch64/strchr.S: New file.
49825
49826 2014-06-18 Joseph Myers <joseph@codesourcery.com>
49827
49828 [BZ #17022]
49829 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
49830 from arguments -2 or below.
49831 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
49832 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
49833
49834 2014-06-18 Andreas Schwab <schwab@suse.de>
49835
49836 [BZ #17062]
49837 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
49838 of a bracket expr not to run off the end of the string.
49839 * posix/Makefile (tests): Add tst-fnmatch3.
49840 * posix/tst-fnmatch3.c: New file.
49841
49842 2014-06-18 Joseph Myers <joseph@codesourcery.com>
49843
49844 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
49845 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
49846 [$(cross-compiling) = no]: Likewise.
49847 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
49848 [$(cross-compiling) = no]: Likewise.
49849
49850 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
49851
49852 [BZ #17031]
49853 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
49854 double, adjusted for any remainder from the high double.
49855 * math/libm-test.inc (nearbyint): Add tests.
49856 (rint): Likewise.
49857
49858 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49859
49860 * nptl/sysdeps/powerpc/Makefile: Moved ...
49861 * sysdeps/powerpc/nptl/Makefile: ... here.
49862 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
49863 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
49864 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
49865 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
49866 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
49867 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
49868 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
49869 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
49870 * nptl/sysdeps/powerpc/tls.h: Moved ...
49871 * sysdeps/powerpc/nptl/tls.h: ... here.
49872
49873 2014-06-16 Joseph Myers <joseph@codesourcery.com>
49874
49875 [BZ #16681]
49876 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
49877 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
49878 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
49879 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
49880 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
49881 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
49882 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
49883 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
49884 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
49885
49886 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
49887
49888 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
49889
49890 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
49891
49892 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
49893 defined operator.
49894
49895 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
49896 $TIMEOUTFACTOR.
49897
49898 2014-06-16 Florian Weimer <fweimer@redhat.com>
49899
49900 [BZ #17058]
49901 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
49902 non-executed part of the test.
49903
49904 2014-06-16 Andreas Schwab <schwab@suse.de>
49905
49906 * string/bits/string2.h (strdup, strndup): Update feature guard.
49907
49908 2014-06-14 David S. Miller <davem@davemloft.net>
49909
49910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49911
49912 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
49913
49914 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
49915 that was previously under [RESET_PID].
49916 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
49917
49918 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
49919 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
49920 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
49921 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49922 (__libc_vfork): New strong alias.
49923 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
49924
49925 2014-06-14 Andi Kleen <ak@linux.intel.com>
49926
49927 * sysdeps/generic/elide.h: New file.
49928
49929 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
49930
49931 * Makefile (installed-headers): Adjust path of pthread.h header.
49932
49933 2014-06-13 Roland McGrath <roland@hack.frob.com>
49934
49935 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
49936 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
49937 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
49938 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
49939
49940 * nptl/sysdeps/s390/Makefile: Moved ...
49941 * sysdeps/s390/nptl/Makefile: ... here.
49942 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
49943 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
49944 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
49945 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
49946 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
49947 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
49948 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
49949 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
49950 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
49951 * sysdeps/s390/nptl/pthreaddef.h: ... here.
49952 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
49953 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
49954 * nptl/sysdeps/s390/tls.h: Moved ...
49955 * sysdeps/s390/nptl/tls.h: ... here.
49956
49957 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
49958 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
49959
49960 2014-06-13 David S. Miller <davem@davemloft.net>
49961
49962 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
49963 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
49964 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
49965 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
49966 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
49967 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
49968 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
49969 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
49970 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
49971 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
49972 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
49973 Remove RESET_PID cpp guards.
49974 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
49975 Remove RESET_PID cpp guards.
49976 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
49977
49978 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
49979
49980 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
49981 __sp to uintptr_t.
49982
49983 2014-06-13 Andi Kleen <ak@linux.intel.com>
49984
49985 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
49986 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
49987 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
49988 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
49989 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
49990 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
49991 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
49992 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
49993 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
49994 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
49995 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
49996 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
49997 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
49998 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
49999 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
50000 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
50001 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
50002 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
50003 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
50004 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
50005
50006 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
50007 (pthread_rwlock_rdlock): Add elision.
50008 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
50009 (pthread_rwlock_wrlock): Add elision.
50010 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
50011 (pthread_rwlock_trywrlock): Add elision.
50012 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
50013 (pthread_rwlock_tryrdlock): Add elision.
50014 * nptl/pthread_rwlock_unlock.c: Include elide.h.
50015 (pthread_rwlock_tryrdlock): Add elision unlock.
50016 * nptl/sysdeps/pthread/pthread.h:
50017 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
50018 (PTHREAD_RWLOCK_INITIALIZER,
50019 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
50020 Handle new elision field.
50021 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
50022 * sysdeps/arm/nptl/bits/pthreadtypes.h
50023 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50024 * sysdeps/sh/nptl/bits/pthreadtypes.h
50025 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50026 * sysdeps/tile/nptl/bits/pthreadtypes.h
50027 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50028 * sysdeps/a/nptl/bits/pthreadtypes.h
50029 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50030 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
50031 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50032 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
50033 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50034 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
50035 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50036 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
50037 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50038 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
50039 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50040 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
50041 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50042 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
50043 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50044 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
50045 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50046 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
50047 (elision_init): Set try_xbegin to zero when no RTM.
50048 * sysdeps/x86/nptl/bits/pthreadtypes.h
50049 (pthread_rwlock_t): Change __pad1 to __rwelision.
50050 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50051
50052 2014-06-13 Andi Kleen <ak@linux.intel.com>
50053
50054 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
50055 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
50056 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
50057 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
50058
50059 2014-06-13 Meador Inge <meadori@codesourcery.com>
50060
50061 [BZ #16996]
50062 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
50063 that the cached result has been set before returning it.
50064
50065 2014-06-12 Roland McGrath <roland@hack.frob.com>
50066
50067 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
50068 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
50069 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
50070 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
50071 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
50072 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
50073
50074 * nptl/sysdeps/sparc/Makefile: Moved ...
50075 * sysdeps/sparc/nptl/Makefile: ... here.
50076 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
50077 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
50078 * nptl/sysdeps/sparc/tls.h: Moved ...
50079 * sysdeps/sparc/nptl/tls.h: ... here.
50080 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
50081 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
50082 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
50083 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
50084 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
50085 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
50086 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
50087 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
50088 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
50089 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
50090 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
50091 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
50092 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
50093 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
50094 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
50095 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
50096 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
50097 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
50098 Update #include.
50099 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
50100 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
50101 Update #include.
50102 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
50103 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
50104 Update #include.
50105 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
50106 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
50107 Update #include.
50108
50109 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50110
50111 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
50112 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
50113
50114 * sysdeps/pthread/posix-timer.h: Include <list.h>.
50115 (struct list_links): Type removed.
50116 (struct thread_node, struct timer_node): Replace struct list_links
50117 with struct list_head.
50118 (list_unlink_ip): Likewise.
50119 * sysdeps/pthread/timer_routines.c
50120 (timer_free_list, thread_free_list, thread_active_list): Likewise.
50121 (list_append, list_insbefore): Likewise.
50122 (list_init): Function removed.
50123 (thread_init, init_module): Use INIT_LIST_HEAD instead.
50124 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
50125 * sysdeps/pthread/Makefile: ... here, new file.
50126
50127 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
50128 * sysdeps/nptl/Implies: ... here.
50129 * sysdeps/unix/sysv/linux/Implies: Add nptl.
50130 * nptl/sysdeps/pthread/list.h: Moved ...
50131 * include/list.h: ... here.
50132 * nptl/sysdeps/pthread/createthread.c: Moved ...
50133 * nptl/createthread.c: ... here.
50134 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
50135 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
50136 * nptl/pt-longjmp.c: ... here.
50137 * nptl/sysdeps/pthread/Makefile: Moved ...
50138 * sysdeps/nptl/Makefile: ... here.
50139 * nptl/sysdeps/pthread/Subdirs: Moved ...
50140 * sysdeps/nptl/Subdirs: ... here.
50141 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
50142 * sysdeps/nptl/aio_misc.h: ... here.
50143 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
50144 * sysdeps/nptl/bits/libc-lock.h: ... here.
50145 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
50146 * sysdeps/nptl/bits/libc-lockP.h: ... here.
50147 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
50148 * sysdeps/nptl/bits/stdio-lock.h: ... here.
50149 * nptl/sysdeps/pthread/configure: Moved ...
50150 * sysdeps/nptl/configure: ... here.
50151 * nptl/sysdeps/pthread/configure.ac: Moved ...
50152 * sysdeps/nptl/configure.ac: ... here.
50153 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
50154 * sysdeps/nptl/gai_misc.h: ... here.
50155 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
50156 * sysdeps/nptl/librt-cancellation.c: ... here.
50157 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
50158 * sysdeps/nptl/malloc-machine.h: ... here.
50159 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
50160 * sysdeps/nptl/pthread-functions.h: ... here.
50161 * nptl/sysdeps/pthread/pthread.h: Moved ...
50162 * sysdeps/nptl/pthread.h: ... here.
50163 * nptl/sysdeps/pthread/setxid.h: Moved ...
50164 * sysdeps/nptl/setxid.h: ... here.
50165 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
50166 * sysdeps/nptl/sigfillset.c: ... here.
50167 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
50168 * sysdeps/nptl/tcb-offsets.h: ... here.
50169 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
50170 * sysdeps/nptl/tst-mqueue8x.c: ... here.
50171 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
50172 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
50173 * nptl/sysdeps/pthread/allocalim.h: Moved ...
50174 * sysdeps/pthread/allocalim.h: ... here.
50175 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
50176 * sysdeps/pthread/bits/sigthread.h: ... here.
50177 * nptl/sysdeps/pthread/flockfile.c: Moved ...
50178 * sysdeps/pthread/flockfile.c: ... here.
50179 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
50180 * sysdeps/pthread/ftrylockfile.c: ... here.
50181 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
50182 * sysdeps/pthread/funlockfile.c: ... here.
50183 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
50184 * sysdeps/pthread/posix-timer.h: ... here.
50185 * nptl/sysdeps/pthread/timer_create.c: Moved ...
50186 * sysdeps/pthread/timer_create.c: ... here.
50187 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
50188 * sysdeps/pthread/timer_delete.c: ... here.
50189 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
50190 * sysdeps/pthread/timer_getoverr.c: ... here.
50191 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
50192 * sysdeps/pthread/timer_gettime.c: ... here.
50193 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
50194 * sysdeps/pthread/timer_routines.c: ... here.
50195 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
50196 * sysdeps/pthread/timer_settime.c: ... here.
50197 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
50198 * sysdeps/pthread/tst-timer.c: ... here.
50199 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
50200 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
50201
50202 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
50203 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
50204
50205 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
50206 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
50207 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
50208 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
50209 Update #include target.
50210 * nptl/sysdeps/i386/i686/Makefile: Moved ...
50211 * sysdeps/i386/i686/nptl/Makefile: ... here.
50212 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
50213 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
50214 Update #include target.
50215 * nptl/sysdeps/i386/i686/tls.h: Moved ...
50216 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
50217 * nptl/sysdeps/i386/Makefile: Moved ...
50218 * sysdeps/i386/nptl/Makefile: ... here.
50219 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
50220 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
50221 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
50222 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
50223 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
50224 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
50225 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
50226 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
50227 * sysdeps/i386/nptl/pthreaddef.h: ... here.
50228 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
50229 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
50230 * nptl/sysdeps/i386/tls.h: Moved ...
50231 * sysdeps/i386/nptl/tls.h: ... here.
50232
50233 * sysdeps/sh/Makefile [$(subdir) = csu]
50234 (gen-as-const-headers): Add tcb-offsets.sym.
50235 * nptl/sysdeps/sh/Makefile: File removed.
50236 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
50237 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
50238 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
50239 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
50240 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
50241 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
50242 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
50243 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
50244 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
50245 * sysdeps/sh/nptl/pthreaddef.h: ... here.
50246 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
50247 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
50248 * nptl/sysdeps/sh/tls.h: Moved ...
50249 * sysdeps/sh/nptl/tls.h: ... here.
50250 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
50251 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
50252 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
50253 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
50254 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
50255 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
50256 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
50257 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
50258 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
50259 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
50260 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
50261 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
50262 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
50263 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
50264 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
50265 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
50266 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
50267 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
50268 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
50269 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
50270 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
50271 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
50272 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
50273 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
50274 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
50275 Moved ...
50276 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
50277 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
50278 Moved ...
50279 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
50280 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
50281 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
50282 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
50283 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
50284 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
50285 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
50286 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
50287 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
50288 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
50289 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
50290 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
50291 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
50292 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
50293 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
50294 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
50295 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
50296 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
50297 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
50298
50299 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
50300
50301 * posix/spawn_faction_addopen.c: Include string.h.
50302
50303 2014-06-11 Roland McGrath <roland@hack.frob.com>
50304
50305 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
50306 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
50307 * nptl/sysdeps/x86_64/Makefile: Moved ...
50308 * sysdeps/x86_64/nptl/Makefile: ... here.
50309 * nptl/sysdeps/x86_64/configure: Moved ...
50310 * sysdeps/x86_64/nptl/configure: ... here.
50311 * nptl/sysdeps/x86_64/configure.ac: Moved ...
50312 * sysdeps/x86_64/nptl/configure.ac: ... here.
50313 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
50314 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
50315 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
50316 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
50317 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
50318 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
50319 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
50320 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
50321 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
50322 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
50323 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
50324 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
50325 * nptl/sysdeps/x86_64/tls.h: Moved ...
50326 * sysdeps/x86_64/nptl/tls.h: ... here.
50327 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
50328 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
50329 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
50330 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
50331
50332 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
50333
50334 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50335
50336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50337
50338 2014-06-11 Joseph Myers <joseph@codesourcery.com>
50339
50340 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
50341 type.
50342 [POSIX] (off_t): Likewise.
50343 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
50344 [POSIX] (S_ISBLK): Require macro.
50345 [POSIX] (S_ISCHR): Likewise.
50346 [POSIX] (S_ISDIR): Likewise.
50347 [POSIX] (S_ISFIFO): Likewise.
50348 [POSIX] (S_ISREG): Likewise.
50349 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
50350 optional-macro.
50351 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
50352 type.
50353 [POSIX] (time_t): Likewise.
50354 [POSIX] (timer_t): Likewise.
50355
50356 2014-06-11 Florian Weimer <fweimer@redhat.com>
50357
50358 [BZ #17048]
50359 * posix/spawn_int.h (struct __spawn_action): Make the path string
50360 non-const to support deallocation.
50361 * posix/spawn_faction_addopen.c
50362 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
50363 * posix/spawn_faction_destroy.c
50364 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
50365 path in all spawn_do_open actions.
50366 * posix/tst-spawn.c (do_test): Exercise the copy operation in
50367 posix_spawn_file_actions_addopen.
50368
50369 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
50370
50371 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
50372 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
50373 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
50374 conditional code always true.
50375 (__libc_vfork): New alias.
50376
50377 2014-06-11 Roland McGrath <roland@hack.frob.com>
50378
50379 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50380 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
50381
50382 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
50383
50384 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50385 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
50386
50387 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50388 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
50389
50390 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50391 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
50392
50393 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
50394
50395 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
50396 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
50397 multiarch strcmp for PPC64.
50398 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
50399 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
50400 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
50401 multiarch optimizations.
50402 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50403 (__libc_ifunc_impl_list): Likewise.
50404
50405 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
50406
50407 * benchtests/scripts/validate_benchout.py: New script.
50408 * benchtests/Makefile (bench-func): Call it.
50409 * benchtests/scripts/benchout.schema.json: New file.
50410
50411 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
50412
50413 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
50414 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
50415 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
50416 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
50417 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
50418 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
50419 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
50420 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
50421 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
50422 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
50423 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
50424 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
50425 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
50426 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
50427 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
50428 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
50429 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
50430 Moved ...
50431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
50432 ... here.
50433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
50434 Moved ...
50435 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
50436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
50437 Moved ...
50438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
50439 ... here.
50440 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
50441 Moved ...
50442 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
50443 ... here.
50444 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
50445 Moved ...
50446 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
50447 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
50448 Moved ...
50449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
50450 ... here.
50451 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
50452 Moved ...
50453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
50454 ... here.
50455 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
50456 Moved ...
50457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
50458 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
50459 Moved ...
50460 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
50461 ... here.
50462 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
50463 Moved ...
50464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
50465 ... here.
50466 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
50467 Moved ...
50468 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
50469 ... here.
50470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
50471 Moved ...
50472 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
50473 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
50474 Moved ...
50475 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
50476 ... here.
50477 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
50478 Moved ...
50479 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
50480 ... here.
50481 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
50482 Moved ...
50483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
50484 ... here.
50485 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
50486 Moved ...
50487 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
50488 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
50489 Moved ...
50490 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
50491 ... here.
50492 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
50493 Moved ...
50494 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
50495 ... here.
50496 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
50497 Moved ...
50498 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
50499 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
50500 Moved ...
50501 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
50502 ... here.
50503 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
50504 Moved ...
50505 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
50506 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
50507 Moved ...
50508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
50509 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
50510 Moved ...
50511 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
50512 ... here.
50513 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
50514 Moved ...
50515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
50516 ... here.
50517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
50518 Moved ...
50519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
50520 ... here.
50521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
50522 Moved ...
50523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
50524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
50525 Moved ...
50526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
50527 ... here.
50528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
50529 Moved ...
50530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
50531 ... here.
50532 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
50533 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
50534 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
50535 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
50536 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
50537 Moved ...
50538 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
50539 ... here.
50540 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
50541 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
50542 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
50543 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
50544 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
50545 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
50546 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
50547 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
50548 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
50549 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
50550 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
50551 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
50552 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
50553 Moved ...
50554 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
50555 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
50556 Moved ...
50557 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
50558 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
50559 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
50560 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
50561 Moved ...
50562 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
50563 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
50564 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
50565 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
50566 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
50567 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
50568 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
50569
50570 2014-06-10 Wilco <wdijkstr@arm.com>
50571
50572 * math/test-fenv-return.c: New file.
50573 * math/Makefile: Add new test test-fenv-return.
50574
50575 2014-06-10 Joseph Myers <joseph@codesourcery.com>
50576
50577 [BZ #17042]
50578 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
50579 when x - 1 is zero.
50580 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
50581 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
50582 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
50583 0.0L for an argument of 1.0L.
50584 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
50585 Likewise.
50586 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
50587 value when x - 1 is zero.
50588 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
50589 * sysdeps/i386/fpu/libm-test-ulps: Update.
50590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50591
50592 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
50593
50594 [BZ #15119]
50595 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
50596
50597 2014-06-09 Roland McGrath <roland@hack.frob.com>
50598
50599 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
50600 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
50601
50602 2014-06-09 Roland McGrath <roland@hack.frob.com>
50603
50604 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50605 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
50606
50607 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50608 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
50609
50610 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50611 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
50612
50613 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50614 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
50615
50616 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
50617 if not already defined.
50618 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
50619 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
50620 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
50621 (TLS_INIT_TP): Use it.
50622 (TLS_DEFINE_INIT_TP): New macro.
50623 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
50624
50625 2014-06-09 Joseph Myers <joseph@codesourcery.com>
50626
50627 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
50628 constant.
50629 [POSIX] (IXANY): Likewise.
50630 [POSIX] (OLCUC): Likewise.
50631 [POSIX || POSIX2008] (CBAUD): Do not allow.
50632 [POSIX || POSIX2008] (DEFECHO): Likewise.
50633 [POSIX || POSIX2008] (ECHOCTL): Likewise.
50634 [POSIX || POSIX2008] (ECHOKE): Likewise.
50635 [POSIX || POSIX2008] (ECHOPRT): Likewise.
50636 [POSIX || POSIX2008] (EXTA): Likewise.
50637 [POSIX || POSIX2008] (EXTB): Likewise.
50638 [POSIX || POSIX2008] (FLUSHO): Likewise.
50639 [POSIX || POSIX2008] (LOBLK): Likewise.
50640 [POSIX || POSIX2008] (PENDIN): Likewise.
50641 [POSIX || POSIX2008] (SWTCH): Likewise.
50642 [POSIX || POSIX2008] (VDISCARD): Likewise.
50643 [POSIX || POSIX2008] (VDSUSP): Likewise.
50644 [POSIX || POSIX2008] (VLNEXT): Likewise.
50645 [POSIX || POSIX2008] (VREPRINT): Likewise.
50646 [POSIX || POSIX2008] (VSTATUS): Likewise.
50647 [POSIX || POSIX2008] (VWERASE): Likewise.
50648 (B*): Change to B[0123456789]*.
50649 * conform/data/time.h-data [POSIX || UNIX98]
50650 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
50651 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
50652 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
50653 [POSIX] (tm_*): Do not allow.
50654
50655 2014-06-07 Joseph Myers <joseph@codesourcery.com>
50656
50657 * Makefile (install): Don't set LANGUAGE.
50658 * Makefile.in (install): Likewise.
50659 * assert/Makefile (test-assert-ENV): Remove variable.
50660 (test-assert-perr-ENV): Likewise.
50661 * elf/Makefile (neededtest4-ENV): Likewise.
50662 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50663 [$(cross-compiling) = no]: Don't set LANGUAGE.
50664 * io/ftwtest-sh (LANG): Remove variable.
50665 * libio/Makefile (tst-widetext-ENV): Likewise.
50666 * manual/install.texi (Running make install): Don't refer to
50667 environment settings for make install.
50668 * INSTALL: Regenerated.
50669 * nptl/tst-tls6.sh: Don't set LANG.
50670 * posix/globtest.sh (LANG): Remove variable.
50671 * string/Makefile (tester-ENV): Likewise.
50672 (inl-tester-ENV): Likewise.
50673 (noinl-tester-ENV): Likewise.
50674 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50675 [$(cross-compiling) = no]: Don't set LANGUAGE.
50676 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
50677 without explicit environment settings.
50678
50679 2014-06-06 Roland McGrath <roland@hack.frob.com>
50680
50681 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
50682 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
50683 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
50684 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
50685
50686 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
50687
50688 * crypt/crypt-private.h [DOS]: Add some includes taken from the
50689 other files in the crypt directory.
50690 * crypt/crypt.c: Remove duplicate includes.
50691 * crypt/crypt-entry.c: Likewise.
50692 * crypt/crypt_util.c: Likewise.
50693
50694 2014-06-06 Joseph Myers <joseph@codesourcery.com>
50695
50696 * Makeconfig (run-program-env): New variable.
50697 (run-program-prefix-before-env): Likewise.
50698 (run-program-prefix-after-env): Likewise.
50699 (run-program-prefix): Define in terms of new variables.
50700 (built-program-cmd-before-env): New variable.
50701 (built-program-cmd-after-env): Likewise.
50702 (built-program-cmd): Define in terms of new variables.
50703 (test-program-prefix-before-env): New variable.
50704 (test-program-prefix-after-env): Likewise.
50705 (test-program-prefix): Define in terms of new variables.
50706 (test-program-cmd-before-env): New variable.
50707 (test-program-cmd-after-env): Likewise.
50708 (test-program-cmd): Define in terms of new variables.
50709 * Rules (make-test-out): Use $(run-program-env).
50710 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
50711 (help): Do not mention environment variables. Mention
50712 --timeoutfactor option.
50713 (timeoutfactor): New variable.
50714 (blacklist_exports): Remove function.
50715 (exports): Remove variable.
50716 (command): Do not include ${exports}.
50717 * manual/install.texi (Configuring and compiling): Do not mention
50718 test wrappers preserving environment variables. Mention that last
50719 assignment to a variable must take precedence.
50720 * INSTALL: Regenerated.
50721 * benchtests/Makefile (run-bench): Use $(run-program-env).
50722 * catgets/Makefile ($(objpfx)test1.cat): Use
50723 $(built-program-cmd-before-env), $(run-program-env) and
50724 $(built-program-cmd-after-env).
50725 ($(objpfx)test2.cat): Do not specify environment variables
50726 explicitly.
50727 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
50728 $(run-program-env) and $(built-program-cmd-after-env).
50729 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
50730 $(run-program-env) and $(test-program-cmd-after-env).
50731 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
50732 explicitly.
50733 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
50734 run_program_env and test_program_cmd_after_env arguments.
50735 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
50736 * elf/tst-pathopt.sh: Use run_program_env argument.
50737 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
50738 $(test-wrapper-env) and $(run-program-env).
50739 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
50740 run_program_env arguments.
50741 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
50742 * intl/Makefile ($(objpfx)tst-gettext.out): Use
50743 $(test-program-prefix-before-env), $(run-program-env) and
50744 $(test-program-prefix-after-env).
50745 ($(objpfx)tst-gettext2.out): Likewise.
50746 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
50747 run_program_env and test_program_prefix_after_env arguments.
50748 * intl/tst-gettext2.sh: Likewise.
50749 * intl/tst-gettext4.sh: Do not set environment variables
50750 explicitly.
50751 * intl/tst-gettext6.sh: Likewise.
50752 * intl/tst-translit.sh: Likewise.
50753 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
50754 $(test-program-prefix-before-env), $(run-program-env) and
50755 $(test-program-prefix-after-env).
50756 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
50757 run_program_env and test_program_prefix_after_env arguments.
50758 * math/Makefile (run-regen-ulps): Use $(run-program-env).
50759 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
50760 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
50761 explicitly with each use of ${test_wrapper_env}.
50762 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
50763 $(test-program-prefix-before-env), $(run-program-env) and
50764 $(test-program-prefix-after-env).
50765 * posix/tst-getconf.sh: Do not set environment variables
50766 explicitly.
50767 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
50768 run_program_env and test_program_prefix_after_env arguments.
50769 * stdio-common/tst-printf.sh: Do not set environment variables
50770 explicitly.
50771 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
50772 $(test-program-prefix-before-env), $(run-program-env) and
50773 $(test-program-prefix-after-env).
50774 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
50775 run_program_env and test_program_prefix_after_env arguments.
50776 Split $test calls into $test_pre and $test.
50777 * timezone/Makefile (build-testdata): Use
50778 $(built-program-cmd-before-env), $(run-program-env) and
50779 $(built-program-cmd-after-env).
50780
50781 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50782
50783 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
50784 strlen for non SHARED builds.
50785
50786 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
50787
50788 * nptl/allocatestack.c (check_list): Inlined function...
50789 (__reclaim_stacks): ... here.
50790
50791 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
50792
50793 [BZ #15698]
50794 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
50795 memory overrun.
50796
50797 2014-06-05 Joseph Myers <joseph@codesourcery.com>
50798
50799 * Rules (make-test-out): Include
50800 LOCPATH=$(common-objpfx)localedata in default environment.
50801 * debug/Makefile (tst-chk1-ENV): Remove variable.
50802 (tst-chk2-ENV): Likewise.
50803 (tst-chk3-ENV): Likewise.
50804 (tst-chk4-ENV): Likewise.
50805 (tst-chk5-ENV): Likewise.
50806 (tst-chk6-ENV): Likewise.
50807 (tst-lfschk1-ENV): Likewise.
50808 (tst-lfschk2-ENV): Likewise.
50809 (tst-lfschk3-ENV): Likewise.
50810 (tst-lfschk4-ENV): Likewise.
50811 (tst-lfschk5-ENV): Likewise.
50812 (tst-lfschk6-ENV): Likewise.
50813 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
50814 (tst-iconv7-ENV): Likewise.
50815 * intl/Makefile (LOCPATH-ENV): Likewise.
50816 (tst-codeset-ENV): Likewise.
50817 (tst-gettext3-ENV): Likewise.
50818 (tst-gettext5-ENV): Likewise.
50819 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
50820 (tst-fopenloc-ENV): Likewise.
50821 (tst-fgetws-ENV): Remove variable.
50822 (tst-ungetwc1-ENV): Likewise.
50823 (tst-ungetwc2-ENV): Likewise.
50824 (bug-ungetwc2-ENV): Likewise.
50825 (tst-swscanf-ENV): Likewise.
50826 (bug-ftell-ENV): Likewise.
50827 (tst-fgetwc-ENV): Likewise.
50828 (tst-fseek-ENV): Likewise.
50829 (tst-ftell-partial-wide-ENV): Likewise.
50830 (tst-ftell-active-handler-ENV): Likewise.
50831 (tst-ftell-append-ENV): Likewise.
50832 * posix/Makefile (tst-fnmatch-ENV): Likewise.
50833 (tst-regexloc-ENV): Likewise.
50834 (bug-regex1-ENV): Likewise.
50835 (tst-regex-ENV): Likewise.
50836 (tst-regex2-ENV): Likewise.
50837 (bug-regex5-ENV): Likewise.
50838 (bug-regex6-ENV): Likewise.
50839 (bug-regex17-ENV): Likewise.
50840 (bug-regex18-ENV): Likewise.
50841 (bug-regex19-ENV): Likewise.
50842 (bug-regex20-ENV): Likewise.
50843 (bug-regex22-ENV): Likewise.
50844 (bug-regex23-ENV): Likewise.
50845 (bug-regex25-ENV): Likewise.
50846 (bug-regex26-ENV): Likewise.
50847 (bug-regex30-ENV): Likewise.
50848 (bug-regex32-ENV): Likewise.
50849 (bug-regex33-ENV): Likewise.
50850 (bug-regex34-ENV): Likewise.
50851 (bug-regex35-ENV): Likewise.
50852 (tst-rxspencer-ENV): Likewise.
50853 (tst-rxspencer-no-utf8-ENV): Likewise.
50854 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
50855 (tst-sscanf-ENV): Likewise.
50856 (tst-swprintf-ENV): Likewise.
50857 (tst-swscanf-ENV): Likewise.
50858 (test-vfprintf-ENV): Likewise.
50859 (scanf13-ENV): Likewise.
50860 (bug14-ENV): Likewise.
50861 (tst-grouping-ENV): Likewise.
50862 * stdlib/Makefile (tst-strtod-ENV): Likewise.
50863 (tst-strtod3-ENV): Likewise.
50864 (tst-strtod4-ENV): Likewise.
50865 (tst-strtod5-ENV): Likewise.
50866 (testmb2-ENV): Likewise./
50867 * string/Makefile (tst-strxfrm-ENV): Likewise.
50868 (tst-strxfrm2-ENV): Likewise.
50869 (bug-strcoll1-ENV): Likewise.
50870 (test-strcasecmp-ENV): Likewise.
50871 (test-strncasecmp-ENV): Likewise.
50872 * time/Makefile (tst-strptime-ENV): Likewise.
50873 (tst-ftime_l-ENV): Likewise.
50874 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
50875 (tst-mbrtowc-ENV): Likewise.
50876 (tst-wcrtomb-ENV): Likewise.
50877 (tst-mbrtowc2-ENV): Likewise.
50878 (tst-c16c32-1-ENV): Likewise.
50879 (tst-mbsnrtowcs-ENV): Likewise.
50880
50881 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
50882
50883 * manual/resource.texi (How to get information about the memory
50884 subsystem?): Fix typo.
50885 Reported by Peon de la Parra Ivan <peon@keba.com>
50886
50887 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
50888
50889 [BZ #16882]
50890 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
50891 (pthread_spin_lock): Branch out of spin loop to proper location.
50892 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
50893 (pthread_spin_lock): Likewise.
50894
50895 * nptl/tst-spin4.c: New test.
50896 * nptl/Makefile (tests): Add tst-spin4.
50897
50898 2014-06-03 Andreas Schwab <schwab@suse.de>
50899
50900 [BZ #15946]
50901 * resolv/res_send.c (send_dg): Reload file descriptor after
50902 calling reopen.
50903
50904 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
50905
50906 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50907
50908 2014-06-03 Richard Henderson <rth@redhat.com>
50909
50910 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
50911 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
50912 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
50913 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
50914 in the SAVE_PID block.
50915 (__libc_vfork): New alias.
50916 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
50917
50918 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
50919 child in registers, not on the stack. Remove RESET_PID conditionals.
50920 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
50921
50922 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
50923
50924 * sysdeps/aarch64/libm-test-ulps: Regenerate.
50925
50926 2014-06-03 Wilco <wdijkstr@arm.com>
50927
50928 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
50929 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
50930 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
50931 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
50932 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
50933 Likewise.
50934
50935 2014-06-03 Wilco <wdijkstr@arm.com>
50936
50937 * sysdeps/aarch64/fpu/math_private.h
50938 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
50939 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
50940 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
50941 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
50942 Fix declarations.
50943
50944 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
50945
50946 * crypt/crypt-private.h: Include ufc-crypt.h.
50947 (__b64_from_24bit): Declare extern.
50948 * crypt/crypt_util.c(__b64_from_24bit): New function.
50949 (b64t): New static const variable.
50950 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
50951 (b64t): Remove variable.
50952 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
50953 * crypt/sha256-crypt.c: Include crypt-private.h.
50954 (b64t): Remove variable.
50955 (__sha256_crypt_r): Remove b64_from_24bit and replace
50956 with __b64_from_24bit.
50957 * crypt/sha512-crypt.c: Likewise.
50958
50959 2014-06-02 Roland McGrath <roland@hack.frob.com>
50960
50961 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
50962 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
50963 Label the code __libc_vfork rather than __vfork.
50964 [!NOT_IN_libc] (vfork): Define as weak alias.
50965 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
50966 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
50967 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
50968
50969 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
50970
50971 * malloc/malloc.c (malloc_info): Fix format specifier for
50972 n_mmaps.
50973
50974 2014-06-02 Wilco <wdijkstr@arm.com>
50975
50976 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
50977 FPCR write.
50978
50979 2014-06-02 Wilco <wdijkstr@arm.com>
50980
50981 [BZ #17009]
50982 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
50983 Rewrite to reduce FPCR/FPSR accesses.
50984
50985 2014-06-01 David S. Miller <davem@davemloft.net>
50986
50987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50988
50989 2014-05-31 David S. Miller <davem@davemloft.net>
50990
50991 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
50992 to occur in round to nearest mode when |x| >= 2.0
50993
50994 2014-05-30 Richard Henderson <rth@twiddle.net>
50995
50996 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
50997 (PSEUDO_RET_NOERRNO): Remove.
50998 (ret): Don't redefine.
50999 (ret_NOERRNO): Define in terms of ret.
51000 (ret_ERRVAL): Likewise.
51001
51002 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
51003 use of PSEUDO_RET; perform the error check directly.
51004
51005 2014-05-30 Marko Myllynen <myllynen@redhat.com>
51006
51007 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
51008 with __int128_t.
51009
51010 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51011
51012 * malloc/malloc (malloc_info): Fix formatting.
51013
51014 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51015 Roland McGrath <roland@hack.frob.com>
51016
51017 * malloc/malloc (malloc_info): Also print mmapped statistics.
51018
51019 2014-05-30 Roland McGrath <roland@hack.frob.com>
51020
51021 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
51022 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
51023
51024 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
51025
51026 * malloc/malloc.c (malloc_info): Inline mi_arena.
51027
51028 2014-05-29 Richard Henderson <rth@twiddle.net>
51029
51030 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
51031 Remove comma before expanding ASM_ARGS_##nr.
51032 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
51033 Make _x0 a strict output; make _x8 a strict input; adjust expansion
51034 of ASM_ARGS_##nr.
51035 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
51036 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
51037 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
51038 (ASM_ARGS_1): Add leading comma.
51039
51040 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
51041 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
51042 to __errno_location.
51043 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
51044 Remove the expected plt for __errno_location.
51045
51046 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51047 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
51048 call to __read_tp.
51049
51050 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51051 Always allocate 64 bytes of stack frame. Use ldp/stp to create
51052 it and break it down.
51053 (DOCARGS_0, DOCARGS_1): Do nothing.
51054 (DOCARGS_2): Update to store into the new stack frame.
51055 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
51056 (UNDOCARGS_1): Update to restore from the new stack frame.
51057 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
51058 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
51059
51060 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51061 (SINGLE_THREAD_P): New parameter for result regno.
51062 (PSEUDO): Update to match; use cbz instead of beq.
51063
51064 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51065 Use ENTRY to define the _nocancel entry point. Share the syscall
51066 and syscall error check paths with the cancel path.
51067 (PSEUDO_END): New.
51068
51069 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
51070 whitespace; tabs before and after asm mnemonics.
51071
51072 2014-05-29 Eric Wong <normalperson@yhbt.net>
51073
51074 [BZ #15132]
51075 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51076 Call fstat64 or stat64 internally, depending on arguments passed.
51077 Replace stat buffer argument with file descriptor argument.
51078 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
51079 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
51080 Pass fd to __internal_statvfs instead of calling fstat64.
51081 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
51082 Pass fd to __internal_statvfs64 instead of calling fstat64.
51083 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
51084 Pass -1 to __internal_statvfs instead of calling stat64.
51085 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
51086 Pass -1 to __internal_statvfs64 instead of calling stat64.
51087
51088 2014-05-28 Roland McGrath <roland@hack.frob.com>
51089
51090 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
51091 that was previously under [RESET_PID].
51092 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
51093
51094 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
51095 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
51096
51097 2014-05-27 Roland McGrath <roland@hack.frob.com>
51098
51099 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
51100
51101 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
51102 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
51103
51104 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
51105
51106 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
51107
51108 2014-05-27 Andreas Schwab <schwab@suse.de>
51109
51110 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
51111 TLS_INIT_TP macro.
51112 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
51113 * elf/rtld.c (init_tls, dl_main): Likewise.
51114 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
51115 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
51116 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
51117 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
51118 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
51119 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
51120 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
51121 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
51122 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
51123 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
51124 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
51125 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
51126 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
51127 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
51128 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
51129 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
51130 * sysdeps/generic/tls.h: Update description.
51131
51132 2014-05-27 Will Newton <will.newton@linaro.org>
51133
51134 [BZ #16990]
51135 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
51136 and restore r2 rather than just restoring.
51137
51138 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
51139
51140 [BZ #16724]
51141 * libio/tst-ftell-append.c: New test case.
51142 * libio/Makefile (tests): Add test case.
51143 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
51144 append mode.
51145 * libio/wfileops.c (do_ftell_wide): Likewise.
51146
51147 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51148
51149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51150
51151 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
51152 ...
51153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
51154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
51155 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
51156 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
51157 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
51158 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
51159 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
51160 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
51161 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
51162 Moved ...
51163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
51164 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
51165 Moved ...
51166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
51167 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
51168 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
51169 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
51170 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
51171 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
51172 ...
51173 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
51174 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
51175 Moved ...
51176 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
51177 here.
51178 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
51179 ...
51180 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
51181 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
51182 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
51183
51184 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
51185 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
51186 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
51187 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
51188
51189 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
51190 merge into ...
51191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
51192 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
51193 ...
51194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
51195 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
51196 ...
51197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
51198 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
51199 Moved ...
51200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
51201 here.
51202 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
51203 Moved ...
51204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
51205 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
51206 Moved ...
51207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
51208
51209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
51210 conditional [RESET_PID].
51211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
51212 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
51213 removed.
51214 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
51215 removed.
51216
51217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
51218 <tcb-offsets.h>.
51219 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51220 (__libc_vfork): New strong alias.
51221 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
51222 removed.
51223 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
51224 Removed.
51225
51226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
51227 <tcb-offsets.h>.
51228 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
51229 (__libc_vfork): New strong alias.
51230 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
51231 removed.
51232 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
51233 removed.
51234
51235 2014-05-26 Carlos O'Donell <carlos@redhat.com>
51236
51237 * malloc/malloc.c (mi_arena): New function.
51238 (malloc_info): Remove nested function mi_arena. Call non-nosted
51239 function mi_arena.
51240
51241 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51242
51243 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
51244 by insrwi.
51245 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
51246 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
51247 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
51248 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
51249 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
51250 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
51251 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
51252
51253 2014-05-26 Andreas Schwab <schwab@suse.de>
51254
51255 [BZ #16984]
51256 * locale/programs/repertoire.c (repertoire_read): Add slash
51257 between I18NPATH element and file name.
51258 * locale/programs/locfile.c (locfile_read): Likewise.
51259
51260 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
51261
51262 * nptl/pthread_mutexattr_settype.c
51263 (__pthread_mutexattr_settype):
51264 Disable lock elision for PTHREAD_MUTEX_NORMAL.
51265
51266 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
51267
51268 * nptl/tst-mutex5 (do_test):
51269 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
51270
51271 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51272
51273 * benchtests/README: Document 'init' directive.
51274 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
51275 BENCH_INIT.
51276 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
51277 (parse_file): Recognize 'init' directive.
51278
51279 2014-05-26 Kyle McMartin <kyle@redhat.com>
51280
51281 [BZ #16796]
51282 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
51283 alignment of struct pthread.
51284
51285 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51286
51287 [BZ #16878]
51288 * nscd/netgroupcache.c (addgetnetgrentX): Look for
51289 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51290 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
51291 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51292
51293 2014-05-25 Richard Henderson <rth@twiddle.net>
51294
51295 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51296 (SINGLE_THREAD_P_PIC): Remove.
51297 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
51298 (SINGLE_THREAD_P_PIC): Remove.
51299
51300 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
51301 branch to syscall error ...
51302 (PSEUDO): ... here.
51303 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
51304 from __local_syscall_error to .Lsyscall_error.
51305 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
51306 (SYSCALL_ERROR): Update label name.
51307
51308 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51309 Do not use DOARGS/UNDOARGS.
51310 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
51311 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
51312 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
51313 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
51314 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
51315
51316 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
51317 block comment.
51318
51319 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
51320 define if !NOT_IN_libc.
51321 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
51322 define with non-default symbol versions.
51323
51324 2014-05-23 Richard Henderson <rth@twiddle.net>
51325
51326 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
51327 (vfork, __vfork): Define via compat_symbol.
51328
51329 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
51330 [!HAVE_IFUNC] (vfork_compat): Remove.
51331 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
51332
51333 2014-05-23 Joseph Myers <joseph@codesourcery.com>
51334
51335 [BZ #16978]
51336 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
51337 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
51338 variable.
51339
51340 2014-05-23 Richard Henderson <rth@twiddle.net>
51341
51342 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
51343 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
51344 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
51345 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
51346
51347 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
51348 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
51349 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
51350 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
51351 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
51352 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
51353 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
51354 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
51355 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
51356 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
51357 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
51358 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
51359 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
51360 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
51361 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
51362 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
51363 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
51364 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
51365 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
51366 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
51367 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
51368 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
51369 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
51370 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
51371 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
51372 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
51373 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
51374 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
51375 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
51376 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
51377 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
51378 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
51379 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
51380 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
51381 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
51382 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
51383 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
51384 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
51385 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
51386 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
51387 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
51388 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
51389 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
51390 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
51391 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
51392 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
51393 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
51394 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
51395 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
51396 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
51397 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
51398 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
51399 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
51400 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
51401 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
51402 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
51403
51404 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
51405 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
51406 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
51407 before exiting on error.
51408 (__libc_vfork): New strong alias.
51409 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
51410 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
51411
51412 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
51413 that was previously under [RESET_PID].
51414 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
51415
51416 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
51417
51418 2014-05-23 Joseph Myers <joseph@codesourcery.com>
51419
51420 [BZ #16977]
51421 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
51422 value when x - 1 is zero.
51423 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
51424 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
51425 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
51426 0.0L for an argument of 1.0L.
51427 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
51428 Likewise.
51429 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
51430 value when x - 1 is zero.
51431 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
51432 * sysdeps/i386/fpu/libm-test-ulps: Update.
51433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51434
51435 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
51436
51437 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
51438 alphasort and versionsort.
51439
51440 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51441
51442 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
51443 macro.
51444 [copysignf]: Likewise.
51445
51446 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
51447
51448 * crypt/md5-crypt.c: Fix formatting.
51449
51450 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
51451
51452 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
51453 (b64_from_24bit): New function.
51454
51455 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51456
51457 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
51458 libc_hidden_builtin_def to ifunc.
51459 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
51460 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
51461
51462 2014-05-21 Roland McGrath <roland@hack.frob.com>
51463
51464 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
51465 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
51466
51467 2014-05-21 Joseph Myers <joseph@codesourcery.com>
51468
51469 * nscd/Depend (linuxthreads): Remove.
51470 (nptl): Add.
51471 * resolv/Depend (linuxthreads): Remove.
51472 * rt/Depend (linuxthreads): Remove.
51473
51474 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
51475 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
51476 $(common-objpfx)elf/.
51477 (link-libc-before-gnulib): Likewise.
51478 (elfobjdir): Remove variable.
51479 * Makefile (install): Use $(elf-objpfx) instead of
51480 $(common-objpfx)elf/.
51481 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
51482 $(elfobjdir)/.
51483 (link-libc-deps): Likewise.
51484 ($(common-objpfx)libc.so): Likewise.
51485 ($(common-objpfx)linkobj/libc.so): Likewise.
51486 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
51487 instead of $(common-objpfx)elf/.
51488 (symbolic-link-list): Likewise.
51489 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
51490 [$(cross-compiling) = no]: Likewise.
51491 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
51492 $(elfobjdir)/.
51493 (static-gnulib-arch): Likewise.
51494 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
51495 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
51496 $(common-objpfx)elf/.
51497
51498 2014-05-21 Richard Henderson <rth@redhat.com>
51499
51500 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51501 (SINGLE_THREAD_P): Use the correct width load. Fold
51502 into the ldr offset.
51503
51504 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
51505 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
51506
51507 2014-05-20 Joseph Myers <joseph@codesourcery.com>
51508
51509 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
51510 (libgcc_s_resume): Use __attribute_used__.
51511 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
51512 Likewise.
51513
51514 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51515
51516 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
51517 optimization when used with float constants.
51518
51519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51520
51521 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
51522
51523 [BZ #16915]
51524 * locale/nl_langinfo_l.c: Make direct reference to every
51525 _nl_current_CATEGORY symbol.
51526 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
51527 (tests-static): Add tst-langinfo-static.
51528 (tests-special): Add tst-langinfo-static.out.
51529 ($(objpfx)tst-langinfo.out): Redirect output.
51530 ($(objpfx)tst-langinfo-static.out): New.
51531 * localedata/tst-langinfo.sh: Send output to stdout.
51532 * localedata/tst-langinfo-static.c: New file.
51533
51534 [BZ #16965]
51535 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
51536 when the shift amount is modulo the limb size.
51537
51538 2014-05-20 Richard Henderson <rth@redhat.com>
51539
51540 [BZ #16967]
51541 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
51542 Change type of sa_flags from unsigned int to int.
51543
51544 [BZ #16966]
51545 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
51546
51547 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
51548
51549 2014-05-20 Will Newton <will.newton@linaro.org>
51550
51551 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51552 Test the return value of the system call in the nocancel case.
51553
51554 2014-05-20 Will Newton <will.newton@linaro.org>
51555 Yvan Roux <yvan.roux@linaro.org>
51556
51557 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
51558 #include of asm/ptrace.h.
51559 (PTRACE_GET_THREAD_AREA): Remove #undef.
51560 (PTRACE_GETHBPREGS): Likewise.
51561 (PTRACE_SETHBPREGS): Likewise.
51562 (struct user_regs_struct): New structure.
51563 (struct user_fpsimd_struct): New structure.
51564 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
51565 #include of asm/ptrace.h and second #include of sys/user.h.
51566 (PTRACE_GET_THREAD_AREA): Remove #undef.
51567 (PTRACE_GETHBPREGS): Likewise.
51568 (PTRACE_SETHBPREGS): Likewise.
51569 (ELF_NGREG): Use new struct user_regs_struct.
51570 (elf_fpregset_t): Use new struct user_fpsimd_struct.
51571
51572 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51573
51574 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
51575 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
51576
51577 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
51578
51579 [BZ #16958]
51580 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
51581 membar to avoid block loads/stores to overlap previous stores.
51582
51583 2014-05-17 Richard Henderson <rth@redhat.com>
51584
51585 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
51586 Create the __##syscall_name##_nocancel entry point.
51587 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
51588 Remove; let the sysdep-cancel.h code create it.
51589
51590 2014-05-17 David S. Miller <davem@davemloft.net>
51591
51592 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
51593 Protect with __USE_GNU.
51594 (TIOCSET_TEMPT): Likewise.
51595 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
51596 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
51597 these are already provided in bits/ioctl-types.h
51598
51599 2014-05-16 Roland McGrath <roland@hack.frob.com>
51600
51601 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
51602 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
51603
51604 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
51605 Use wait4 regardless of [__NR_waitpid].
51606
51607 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
51608
51609 PR libgcc/60166
51610 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
51611 (_FP_NANSIGN_Q): Set the quiet bit.
51612
51613 2014-05-16 Joseph Myers <joseph@codesourcery.com>
51614
51615 * benchtests/Makefile
51616 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
51617 not $(common-objpfx)math/libm.so.
51618 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
51619 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
51620 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
51621 $(common-objpfx)dlfcn/libdl.so.
51622 ($(objpfx)tst-audit8): Depend on $(libm), not
51623 $(common-objpfx)math/libm.so.
51624 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
51625 not $(common-objpfx)dlfcn/libdl.so.
51626 * math/Makefile
51627 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
51628 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
51629 [$(build-shared) = yes].
51630 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
51631 $(common-objpfx)nptl/libpthread.so.
51632 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
51633 $(common-objpfx)math/libm.so$(libm.so-version) or
51634 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
51635 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
51636 $(common-objpfx)dlfcn/libdl.so.
51637 * setjmp/Makefile (link-libm): Remove variable.
51638 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
51639 * stdio-common/Makefile (link-libm): Remove variable.
51640 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
51641 * stdlib/Makefile (link-libm): Remove variable.
51642 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
51643 ($(objpfx)tst-strtod-round): Likewise.
51644 ($(objpfx)tst-tininess): Likewise.
51645 ($(objpfx)tst-strtod-underflow): Likewise.
51646 ($(objpfx)tst-strtod6): Likewise.
51647 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
51648 $(libdl), not $(common-objpfx)nptl/libpthread.so and
51649 $(common-objpfx)dlfcn/libdl.so.
51650
51651 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51652
51653 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
51654 BSD terminal modes definitions.
51655
51656 2014-05-16 Roland McGrath <roland@hack.frob.com>
51657
51658 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
51659 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
51660
51661 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
51662 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
51663 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
51664 Don't do #include_next.
51665 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
51666 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
51667 Don't do #include_next.
51668 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
51669 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
51670 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
51671 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
51672
51673 2014-05-16 Allan McRae <allan@archlinux.org>
51674
51675 * po/sv.po: Update Swedish translation from translation project.
51676
51677 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
51678 in sed expression.
51679
51680 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
51681
51682 [BZ #16917]
51683 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
51684 errno if the TIOCGPTN ioctl fails with an error different than
51685 EINVAL.
51686 * login/tst-ptsname.c: New file.
51687 * login/Makefile (tests): Add tst-ptsname.
51688
51689 [BZ #16943]
51690 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
51691 and prlimit64.
51692
51693 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
51694
51695 [BZ #16849]
51696 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
51697 herrno to return EAI_AGAIN.
51698
51699 2014-05-14 Roland McGrath <roland@hack.frob.com>
51700
51701 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
51702 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
51703 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
51704 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
51705 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
51706 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
51707 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
51708 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
51709 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
51710 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
51711 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
51712 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
51713 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
51714 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
51715 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
51716 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
51717 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
51718 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
51719 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
51720 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
51721 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
51722 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
51723 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
51724 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
51725 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
51726 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
51727 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
51728 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
51729 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
51730 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
51731 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
51732 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
51733 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
51734 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
51735 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
51736 Moved ...
51737 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
51738 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
51739 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
51740 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
51741 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
51742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
51743 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
51744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
51745 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
51746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
51747 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
51748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
51749 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
51750 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
51751 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
51752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
51753 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
51754 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
51755 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
51756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
51757 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
51758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
51759 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
51760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
51761 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
51762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
51763 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
51764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
51765 Moved ...
51766 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
51767 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
51768 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
51769 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
51770 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
51771 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
51772 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
51773 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
51774 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
51775 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
51776 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
51777 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
51778 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
51779 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
51780 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
51781 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
51782 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
51783 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
51784 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
51785 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
51786 Moved ...
51787 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
51788 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
51789 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
51790
51791 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
51792 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
51793 (libpthread-sysdep_routines): Add elision-related stuff here instead.
51794 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
51795 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
51796 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
51797 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
51798 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
51799 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
51800 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
51801 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
51802 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
51803 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
51804 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
51805 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
51806 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
51807 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
51808 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
51809 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
51810 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
51811 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
51812 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
51813 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
51814 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
51815 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
51816 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
51817 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
51818 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
51819 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
51820 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
51821 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
51822
51823 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
51824 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
51825
51826 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
51827 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
51828 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
51829 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
51830 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
51831 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
51832 Moved ...
51833 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
51834 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
51835 Moved ...
51836 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
51837 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
51838 Moved ...
51839 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
51840 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
51841 Moved ...
51842 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
51843 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
51844 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
51845 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
51846 Moved ...
51847 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
51848 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
51849 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
51850 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
51851 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
51852 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
51853 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
51854 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
51855 Moved ...
51856 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
51857 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
51858 Moved ...
51859 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
51860 ... here.
51861 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
51862 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
51863 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
51864 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
51865 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
51866 Moved ...
51867 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
51868 ... here.
51869 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
51870 Moved ...
51871 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
51872 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
51873 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
51874 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
51875 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
51876 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
51877 Moved ...
51878 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
51879 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
51880 Moved ...
51881 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
51882 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
51883 Moved ...
51884 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
51885 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
51886 Moved ...
51887 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
51888 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
51889 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
51890 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
51891 Moved ...
51892 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
51893 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
51894 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
51895 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
51896 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
51897 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
51898 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
51899 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
51900 Moved ...
51901 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
51902 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
51903 Moved ...
51904 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
51905 ... here.
51906 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
51907 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
51908 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
51909 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
51910 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
51911 Moved ...
51912 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
51913 ... here.
51914 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
51915 Moved ...
51916 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
51917 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
51918 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
51919 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
51920 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
51921 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
51922 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
51923 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
51924 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
51925 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
51926 Moved ...
51927 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
51928 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
51929 Moved ...
51930 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
51931 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
51932 Moved ...
51933 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
51934 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
51935 Moved ...
51936 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
51937 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
51938 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
51939 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
51940 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
51941 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
51942 Moved ...
51943 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
51944 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
51945 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
51946 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
51947 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
51948 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
51949 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
51950 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
51951 Moved ...
51952 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
51953 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
51954 Moved ...
51955 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
51956 ... here.
51957 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
51958 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
51959 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
51960 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
51961 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
51962 Moved ...
51963 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
51964 ... here.
51965 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
51966 Moved ...
51967 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
51968 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
51969 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
51970 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
51971 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
51972 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
51973 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
51974 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
51975 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
51976 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
51977 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
51978
51979 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
51980 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
51981
51982 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
51983 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
51984
51985 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
51986 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
51987 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
51988 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
51989 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
51990 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
51991 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
51992 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
51993 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
51994 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
51995 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
51996 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
51997 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
51998 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
51999 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
52000 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
52001 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
52002 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
52003 Moved ...
52004 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
52005 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
52006 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
52007 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
52008 Moved ...
52009 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
52010 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
52011 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
52012 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
52013 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
52014 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
52015 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
52016 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
52017 Moved ...
52018 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
52019 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
52020 Moved ...
52021 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
52022 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
52023 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
52024 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
52025 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
52026 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
52027 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
52028 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
52029 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
52030 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
52031 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
52032 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
52033 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
52034 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
52035 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
52036 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
52037 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
52038
52039 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
52040 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
52041 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
52042 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
52043 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
52044
52045 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
52046 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
52047 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
52048 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
52049 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
52050 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
52051 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
52052 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
52053 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
52054 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
52055
52056 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
52057 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
52058
52059 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
52060 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
52061 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
52062 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
52063 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
52064 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
52065 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
52066 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
52067 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
52068 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
52069 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
52070 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
52071 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
52072 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
52073 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
52074 Update #include.
52075 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
52076 Likewise.
52077 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
52078 Likewise.
52079 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
52080 Likewise.
52081 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
52082 Likewise.
52083 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
52084 Likewise.
52085 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
52086 Likewise.
52087 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
52088 Likewise.
52089 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
52090 Likewise.
52091 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
52092 Likewise.
52093 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
52094 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
52095 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
52096 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
52097 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
52098 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
52099 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
52100 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
52101 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
52102 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
52103 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
52104 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
52105 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
52106 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
52107 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
52108
52109 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
52110 that was previously under [RESET_PID].
52111 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
52112 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
52113 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
52114
52115 * sysdeps/i386/nptl/Implies: New file.
52116 * sysdeps/x86_64/nptl/Implies: New file.
52117 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
52118 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
52119 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
52120 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
52121
52122 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
52123 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52124 (__libc_vfork): New strong alias.
52125 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
52126 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
52127
52128 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
52129 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52130 (__libc_vfork): New strong alias.
52131 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
52132 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
52133
52134 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
52135 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52136 (__libc_vfork): New strong alias.
52137 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
52138 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
52139 * nptl/pt-vfork.c: New file.
52140 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
52141 (libpthread: GLIBC_2.20): New version set (empty).
52142
52143 2014-05-14 Will Newton <will.newton@linaro.org>
52144
52145 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
52146 rather than #if.
52147
52148 2014-05-14 Joseph Myers <joseph@codesourcery.com>
52149
52150 [BZ #16564]
52151 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
52152 arguments with exponent 65 or above.
52153 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
52154 arguments 0x1p113L or above.
52155 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
52156 to arguments 0x1p107L or above.
52157 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
52158 positive arguments with exponent 65 or above.
52159 * math/auto-libm-test-in: Add more tests of log1p.
52160 * math/auto-libm-test-out: Regenerated.
52161
52162 [BZ #16928]
52163 * math/s_cacos.c (__cacos): Ensure zero real part of result from
52164 non-finite arguments is +0.
52165 * math/s_cacosf.c (__cacosf): Likewise.
52166 * math/s_cacosl.c (__cacosl): Likewise.
52167 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
52168 * sysdeps/i386/fpu/libm-test-ulps: Update.
52169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52170
52171 [BZ #16927]
52172 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
52173 value.
52174 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
52175 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
52176 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
52177 for explicit high bit of mantissa when testing for argument equal
52178 to 1.
52179 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
52180 * sysdeps/i386/fpu/libm-test-ulps: Update.
52181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52182
52183 [BZ #16516]
52184 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
52185 (__erf): Scale by 16 instead of 8 in potentially underflowing
52186 case. Ensure exception if result actually underflows.
52187 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
52188 (__erff): Scale by 16 instead of 8 in potentially underflowing
52189 case. Ensure exception if result actually underflows.
52190 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
52191 (efx8): Remove variable.
52192 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52193 case. Ensure exception if result actually underflows.
52194 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
52195 (efx8): Remove variable.
52196 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52197 case. Ensure exception if result actually underflows.
52198 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
52199 (efx8): Remove variable.
52200 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52201 case. Ensure exception if result actually underflows.
52202 * math/auto-libm-test-in: Add more tests of erf.
52203 * math/auto-libm-test-out: Regenerated.
52204
52205 2014-05-14 Andreas Schwab <schwab@suse.de>
52206
52207 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
52208 Remove code conditionalized on USE___THREAD.
52209
52210 * config.h.in (HAVE_PT_CHOWN): Define as 0.
52211 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
52212 not definedness.
52213
52214 2014-05-14 Joseph Myers <joseph@codesourcery.com>
52215
52216 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
52217 Define unconditionally.
52218 (__ASSUME_O_CLOEXEC): Likewise.
52219 (__ASSUME_SOCK_CLOEXEC): Likewise.
52220 (__ASSUME_IN_NONBLOCK): Likewise.
52221 (__ASSUME_PIPE2): Likewise.
52222 (__ASSUME_EVENTFD2): Likewise.
52223 (__ASSUME_SIGNALFD4): Likewise.
52224 (__ASSUME_DUP3): Likewise.
52225 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52226 (__ASSUME_DUP3): Do not define.
52227 (__ASSUME_EVENTFD2): Likewise.
52228 (__ASSUME_IN_NONBLOCK): Likewise.
52229 (__ASSUME_O_CLOEXEC): Likewise.
52230 (__ASSUME_PIPE2): Likewise.
52231 (__ASSUME_SIGNALFD4): Likewise.
52232 (__ASSUME_SOCK_CLOEXEC): Likewise.
52233 (__ASSUME_UTIMES): Undefine.
52234 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52235 (__ASSUME_UTIMES): Do not define.
52236 (__ASSUME_O_CLOEXEC): Likewise.
52237 (__ASSUME_SOCK_CLOEXEC): Likewise.
52238 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
52239 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
52240 0x020621].
52241 (__ASSUME_PIPE2): Likewise.
52242 (__ASSUME_EVENTFD2): Likewise.
52243 (__ASSUME_SIGNALFD4): Likewise.
52244 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
52245 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
52246 Do not define.
52247 (__ASSUME_EVENTFD2): Likewise.
52248 (__ASSUME_SIGNALFD4): Likewise.
52249 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
52250 (__ASSUME_32BITUIDS): Likewise.
52251 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
52252 (__ASSUME_IPC64): Likewise.
52253 (__ASSUME_ST_INO_64_BIT): Likewise.
52254 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
52255 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
52256 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52257 (__ASSUME_UTIMES): Do not define.
52258 (__ASSUME_PSELECT): Likewise.
52259 (__ASSUME_PPOLL): Likewise.
52260 (__ASSUME_O_CLOEXEC): Likewise.
52261 (__ASSUME_SOCK_CLOEXEC): Likewise.
52262 (__ASSUME_IN_NONBLOCK): Likewise.
52263 (__ASSUME_PIPE2): Likewise.
52264 (__ASSUME_EVENTFD2): Likewise.
52265 (__ASSUME_SIGNALFD4): Likewise.
52266 (__ASSUME_DUP3): Likewise.
52267 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52268 (__ASSUME_UTIMES): Likewise.
52269 (__ASSUME_O_CLOEXEC): Likewise.
52270 (__ASSUME_SOCK_CLOEXEC): Likewise.
52271 (__ASSUME_IN_NONBLOCK): Likewise.
52272 (__ASSUME_PIPE2): Likewise.
52273 (__ASSUME_EVENTFD2): Likewise.
52274 (__ASSUME_SIGNALFD4): Likewise.
52275 (__ASSUME_DUP3): Likewise.
52276 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52277 (__ASSUME_UTIMES): Likewise.
52278 (__ASSUME_O_CLOEXEC): Likewise.
52279 (__ASSUME_SOCK_CLOEXEC): Likewise.
52280 (__ASSUME_IN_NONBLOCK): Likewise.
52281 (__ASSUME_PIPE2): Likewise.
52282 (__ASSUME_EVENTFD2): Likewise.
52283 (__ASSUME_SIGNALFD4): Likewise.
52284 (__ASSUME_DUP3): Likewise.
52285 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
52286 Likewise.
52287 (__ASSUME_UTIMES): Likewise.
52288 (__ASSUME_EVENTFD2): Likewise.
52289 (__ASSUME_SIGNALFD4): Likewise.
52290 * sysdeps/unix/sysv/linux/tile/kernel-features.h
52291 (__ASSUME_O_CLOEXEC): Likewise.
52292 (__ASSUME_SOCK_CLOEXEC): Likewise.
52293 (__ASSUME_IN_NONBLOCK): Likewise.
52294 (__ASSUME_PIPE2): Likewise.
52295 (__ASSUME_EVENTFD2): Likewise.
52296 (__ASSUME_SIGNALFD4): Likewise.
52297 (__ASSUME_DUP3): Likewise.
52298 (__ASSUME_UTIMES): Undefine.
52299
52300 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
52301 feclearexcept. Remove symbol versioning code.
52302 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
52303 symbol versioning code.
52304 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
52305 symbol versioning code.
52306 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
52307 feupdateenv. Remove symbol versioning code.
52308 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
52309 fegetexceptflag. Remove symbol versioning code.
52310 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
52311 fesetexceptflag. Remove symbol versioning code.
52312 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
52313 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
52314 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
52315 (__posix_fadvise64_l32): Remove prototype.
52316 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
52317 code.
52318
52319 2014-05-13 Roland McGrath <roland@hack.frob.com>
52320
52321 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
52322 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
52323 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
52324 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
52325
52326 2014-05-13 Sami Kerola <kerolasa@iki.fi>
52327
52328 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
52329 current working directory
52330
52331 2014-05-13 Roland McGrath <roland@hack.frob.com>
52332
52333 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
52334 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
52335 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
52336 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
52337 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
52338 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
52339 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
52340 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
52341 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
52342 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
52343 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
52344 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
52345 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
52346 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
52347 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
52348 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
52349 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
52350 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
52351 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
52352 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
52353 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
52354 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
52355 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
52356 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
52357 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
52358 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
52359 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
52360 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
52361 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
52362 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
52363 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
52364 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
52365 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
52366 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
52367 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
52368 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
52369 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
52370 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
52371 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
52372 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
52373 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
52374 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
52375
52376 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
52377 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
52378
52379 * sysdeps/unix/sysv/linux/arm/Makefile
52380 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
52381 Add rt-aeabi_unwind_cpp_pr1.
52382 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
52383 Add nptl-aeabi_unwind_cpp_pr1.
52384 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
52385 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
52386 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
52387 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
52388 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
52389 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
52390
52391 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
52392 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
52393 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
52394 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
52395
52396 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
52397 Deconditionalize the code that was previously under [RESET_PID].
52398 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
52399
52400 * sysdeps/generic/exit-thread.h: New file.
52401 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
52402 * include/unistd.h (__exit_thread): Remove declaration.
52403 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
52404 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
52405 * csu/libc-start.c: Include <exit-thread.h>.
52406 (LIBC_START_MAIN): Pass no argument to __exit_thread.
52407 * nptl/pthread_create.c: Include <exit-thread.h>.
52408 (start_thread): Call __exit_thread in place of __exit_thread_inline.
52409 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
52410 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
52411 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
52412 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
52413 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
52414 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
52415 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
52416 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
52417 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
52418 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
52419 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
52420 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
52421 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
52422 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
52423 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
52424 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
52425
52426 2014-05-13 Andreas Schwab <schwab@suse.de>
52427
52428 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
52429
52430 2014-05-12 Joseph Myers <joseph@codesourcery.com>
52431
52432 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
52433 (__ASSUME_UTIMES): Do not condition on kernel version.
52434 (__ASSUME_PSELECT): Define unconditionally.
52435 (__ASSUME_PPOLL): Likewise.
52436 (__ASSUME_ATFCTS): Likewise.
52437 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
52438 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
52439 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
52440 (__ASSUME_UTIMENSAT): Define unconditionally.
52441 (__ASSUME_PRIVATE_FUTEX): Likewise.
52442 (__ASSUME_FALLOCATE): Likewise.
52443 (__ASSUME_O_CLOEXEC): Likewise.
52444 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
52445 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
52446 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
52447 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
52448 (__ASSUME_IN_NONBLOCK): Likewise.
52449 (__ASSUME_PIPE2): Likewise.
52450 (__ASSUME_EVENTFD2): Likewise.
52451 (__ASSUME_SIGNALFD4): Likewise.
52452 (__ASSUME_DUP3): Likewise.
52453 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52454 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
52455 (__ASSUME_AT_RANDOM): Likewise.
52456 (__ASSUME_PREADV): Likewise.
52457 (__ASSUME_PWRITEV): Likewise.
52458 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
52459 (__ASSUME_F_GETOWN_EX): Define unconditionally.
52460 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
52461 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
52462 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
52463 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52464 (__ASSUME_O_CLOEXEC): Define unconditionally.
52465 (__ASSUME_PSELECT): Do not undefine conditionally.
52466 (__ASSUME_PPOLL): Likewise.
52467 (__ASSUME_ATFCTS): Likewise.
52468 (__ASSUME_SET_ROBUST_LIST): Likewise.
52469 (__ASSUME_UTIMENSAT): Likewise.
52470 (__ASSUME_FDATASYNC): Define unconditionally.
52471 * sysdeps/unix/sysv/linux/arm/kernel-features.h
52472 (__ASSUME_SIGFRAME_V2): Likewise.
52473 )__ASSUME_EVENTFD2): Likewise.
52474 (__ASSUME_SIGNALFD4): Likewise.
52475 (__ASSUME_PSELECT): Do not undefine conditionally.
52476 (__ASSUME_PPOLL): Likewise.
52477 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52478 (__ASSUME_PSELECT): Define unconditionally.
52479 (__ASSUME_PPOLL): Likewise.
52480 (__ASSUME_O_CLOEXEC): Likewise.
52481 (__ASSUME_SOCK_CLOEXEC): Likewise.
52482 (__ASSUME_IN_NONBLOCK): Likewise.
52483 (__ASSUME_PIPE2): Likewise.
52484 (__ASSUME_EVENTFD2): Likewise.
52485 (__ASSUME_SIGNALFD4): Likewise.
52486 (__ASSUME_DUP3): Likewise.
52487 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52488 (__ASSUME_O_CLOEXEC): Likewise.
52489 (__ASSUME_SOCK_CLOEXEC): Likewise.
52490 (__ASSUME_IN_NONBLOCK): Likewise.
52491 (__ASSUME_PIPE2): Likewise.
52492 (__ASSUME_EVENTFD2): Likewise.
52493 (__ASSUME_SIGNALFD4): Likewise.
52494 (__ASSUME_DUP3): Likewise.
52495 * sysdeps/unix/sysv/linux/mips/kernel-features.h
52496 (__ASSUME_EVENTFD2): Likewise.
52497 (__ASSUME_SIGNALFD4): Likewise.
52498 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52499
52500 2014-05-12 Andreas Schwab <schwab@suse.de>
52501
52502 [BZ #16932]
52503 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
52504 (_nss_nis_gethostbyname4_r): Return error if item length is larger
52505 than maximum RPC packet size.
52506 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
52507 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
52508 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
52509 (_nss_nis_getservbyport_r): Likewise.
52510
52511 2014-05-12 Will Newton <will.newton@linaro.org>
52512
52513 * malloc/Makefile (tests): Add tst-mallopt.
52514 * malloc/tst-mallopt.c: New file.
52515
52516 2014-05-09 Roland McGrath <roland@hack.frob.com>
52517
52518 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
52519 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
52520
52521 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52522
52523 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
52524 (tst-tlsmod6.so): Likewise.
52525
52526 2014-05-09 Roland McGrath <roland@hack.frob.com>
52527
52528 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
52529
52530 2014-05-09 Joseph Myers <joseph@codesourcery.com>
52531
52532 [BZ #16064]
52533 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
52534 and <dl-procinfo.h>.
52535 (__fegetenv): Save SSE state in envp->__eip if supported.
52536 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
52537 envp->__eip if supported.
52538 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
52539 and <dl-procinfo.h>.
52540 (__fesetenv): Always set __eip, __cs_selector, __opcode,
52541 __data_offset and __data_selector in environment to 0. Set SSE
52542 state if supported.
52543 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
52544 test-fenv-sse.
52545 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
52546 -mfpmath=sse.
52547 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
52548
52549 2014-05-09 Will Newton <will.newton@linaro.org>
52550
52551 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
52552 and libc_relro_required for ARM.
52553 * sysdeps/arm/preconfigure: Regenerate.
52554
52555 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
52556 Stefan Liebler <stli@linux.vnet.ibm.com>
52557
52558 * config.make.in (enable-lock-elision): New Makefile variable.
52559 * configure.ac: Likewise.
52560 * configure: Regenerate.
52561 * sysdeps/s390/configure.ac:
52562 Add check for gcc transactions support.
52563 * sysdeps/s390/configure: Regenerate.
52564 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
52565 Build elision files if enabled.
52566 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
52567 Add lock elision support for s390.
52568 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
52569 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
52570 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
52571 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
52572 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
52573 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
52574 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
52575 Likewise.
52576 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
52577 Likewise.
52578 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
52579 Likewise.
52580 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
52581 Likewise.
52582 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
52583 (__lll_timedlock_elision, __lll_lock_elision)
52584 (__lll_unlock_elision, __lll_trylock_elision)
52585 (lll_timedlock_elision, lll_lock_elision)
52586 (lll_unlock_elision, lll_trylock_elision): Add.
52587 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52588 (pthread_mutex_t): Add lock elision support for s390.
52589
52590 2014-05-14 Wilco <wdijkstr@arm.com>
52591
52592 * sysdeps/arm/fclrexcpt.c: Cleanup.
52593 * sysdeps/arm/fedisblxcpt.c: Cleanup.
52594 * sysdeps/arm/feenablxcpt.c: Cleanup.
52595 * sysdeps/arm/fegetenv.c: Cleanup.
52596 * sysdeps/arm/fegetexcept.c: Cleanup.
52597 * sysdeps/arm/fegetround.c: Cleanup.
52598 * sysdeps/arm/feholdexcpt.c: Cleanup.
52599 * sysdeps/arm/fesetenv.c: Cleanup.
52600 * sysdeps/arm/fesetround.c: Cleanup.
52601 * sysdeps/arm/feupdateenv.c: Cleanup.
52602 * sysdeps/arm/fgetexcptflg.c: Cleanup.
52603 * sysdeps/arm/fraiseexcpt.c: Cleanup.
52604 * sysdeps/arm/fsetexcptflg.c: Cleanup.
52605 * sysdeps/arm/ftestexcept.c: Cleanup.
52606 * sysdeps/arm/get-rounding-mode.h: Cleanup.
52607 * sysdeps/arm/setfpucw.c: Cleanup.
52608
52609 2014-05-09 Will Newton <will.newton@linaro.org>
52610
52611 * sysdeps/arm/armv7/strcmp.S: New file.
52612 * NEWS: Mention addition of ARMv7 optimized strcmp.
52613
52614 2014-05-08 Roland McGrath <roland@hack.frob.com>
52615
52616 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
52617 look for %.ac rather than %.in.
52618
52619 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
52620 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
52621 * sysdeps/mach/hurd/configure: Regenerated.
52622 * sysdeps/unix/sysv/linux/configure: Regenerated.
52623
52624 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
52625
52626 2014-05-07 Steve Ellcey <sellcey@mips.com>
52627
52628 [BZ #16922]
52629 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
52630 (LONG_SUB): Ditto.
52631 (PTR_SUB): Ditto.
52632
52633 2014-05-07 Andreas Schwab <schwab@suse.de>
52634
52635 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
52636 when skipping over non-matching result from nscd.
52637
52638 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
52639
52640 [BZ #16876]
52641 * nptl/sockperf.c (client): Check socket return value.
52642
52643 [BZ #16877]
52644 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
52645 nscd security class.
52646
52647 2014-05-06 Roland McGrath <roland@hack.frob.com>
52648
52649 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
52650 * sysdeps/arm/unwind.h: ... here.
52651
52652 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
52653
52654 [BZ #16916]
52655 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
52656 Define.
52657
52658 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
52659
52660 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
52661 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
52662 multiarch strncpy for PPC64.
52663 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
52664 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
52665 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
52666 multiarch optimizations.
52667 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52668 (__libc_ifunc_impl_list): Likewise.
52669 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
52670 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
52671 multiarch stpncpy for PPC64.
52672 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
52673 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
52674
52675 2014-05-06 Andreas Schwab <schwab@suse.de>
52676
52677 [BZ #16912]
52678 * gmon/mcount.c (_MCOUNT_DECL): Use
52679 atomic_compare_and_exchange_bool_acq instead of
52680 catomic_compare_and_exchange_bool_acq.
52681
52682 2014-05-05 Roland McGrath <roland@hack.frob.com>
52683
52684 * elf/Makefile (others, install-bin): Remove pldd.
52685 (pldd-modules): Variable removed.
52686 ($(objpfx)pldd): Target removed.
52687 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
52688 (others, install-bin): Append pldd here.
52689 ($(objpfx)pldd): New target.
52690
52691 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
52692 to 0, so the first #if test emitted later doesn't see it undefined.
52693 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
52694 * sysdeps/gnu/errlist.c: Regenerated.
52695
52696 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52697
52698 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
52699 [libc_hidden_builtin_def]: Define to empty value.
52700 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
52701 [libc_hidden_builtin_def]: Likewise.
52702 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
52703 [libc_hidden_builtin_def]: Likewise.
52704 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
52705 [libc_hidden_builtin_def]: Likewise.
52706 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
52707 __redirect_memcpy and define ifunc as default hidden symbol.
52708 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
52709 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
52710
52711 2014-05-04 Adam Conrad <adconrad@0c3.net>
52712
52713 * locale/iso-4217.def: Reintroduce XDR currency.
52714
52715 2014-05-04 Allan McRae <allan@archlinux.org>
52716
52717 * po/eo.po: Update Esperanto translation from translation project.
52718
52719 2014-05-02 Carlos O'Donell <carlos@redhat.com>
52720
52721 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
52722 and FEATURE_INDEX_MAX to 1.
52723 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
52724
52725 2014-05-01 Steve Ellcey <sellcey@mips.com>
52726
52727 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
52728 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
52729 * iconvdata/big5.c (ONE_DIRECTION): Define.
52730 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
52731 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
52732 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
52733 * iconvdata/cp932.c (ONE_DIRECTION): Define.
52734 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
52735 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
52736 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
52737 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
52738 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
52739 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
52740 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
52741 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
52742 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
52743 * iconvdata/gbk.c (ONE_DIRECTION): Define.
52744 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
52745 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
52746 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
52747 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
52748 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
52749 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
52750 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
52751 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
52752 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
52753 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
52754 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
52755 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
52756 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
52757 * iconvdata/iso646.c (ONE_DIRECTION): Define.
52758 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
52759 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
52760 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
52761 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
52762 * iconvdata/johab.c (ONE_DIRECTION): Define.
52763 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
52764 * iconvdata/sjis.c (ONE_DIRECTION): Define.
52765 * iconvdata/t.61.c (ONE_DIRECTION): Define.
52766 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
52767 * iconvdata/tscii.c (ONE_DIRECTION): Define.
52768 * iconvdata/uhc.c (ONE_DIRECTION): Define.
52769 * iconvdata/unicode.c (ONE_DIRECTION): Define.
52770 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
52771 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
52772 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
52773
52774 2014-05-01 Roland McGrath <roland@hack.frob.com>
52775
52776 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
52777 (_IO_JUMPS_OFFSET): Define to 0.
52778
52779 * nptl/sysdeps/pthread/bits/libc-lock.h
52780 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
52781 (__libc_lock_define_initialized_recursive): Always define using
52782 initializer. Modern compilers treat uninitialized (implicit zero) and
52783 explicit zero initializers the same (i.e. put the datum in bss).
52784
52785 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
52786
52787 * nscd/nscd-client.h: Include <string.h>.
52788
52789 2014-05-01 David S. Miller <davem@davemloft.net>
52790
52791 [BZ #16885]
52792 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
52793 multiple zero bytes exist at the end of a string.
52794 Reported by Aurelien Jarno <aurelien@aurel32.net>
52795
52796 * string/test-strcmp.c (check): Add explicit test for situations where
52797 there are multiple zero bytes after the first.
52798
52799 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
52800
52801 [BZ #16890]
52802 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
52803 when compiling wprintf.
52804 * stdio-common/tstdiomisc.c (t3): New function.
52805 (main): Call it.
52806
52807 2014-05-01 Steve Ellcey <sellcey@mips.com>
52808
52809 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
52810 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
52811 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
52812 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
52813
52814 2014-05-01 Steve Ellcey <sellcey@mips.com>
52815
52816 * stdlib/longlong.h: Updated from GCC.
52817
52818 2014-05-01 Will Newton <will.newton@linaro.org>
52819 Bernard Ogden <bernie.ogden@linaro.org>
52820
52821 * NEWS: Update fixed bug list.
52822
52823 [BZ #15119]
52824 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
52825
52826 2014-04-30 David S. Miller <davem@davemloft.net>
52827
52828 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
52829 (libc_feholdexcept_setround_sparc_ctx): New function.
52830 (libc_fesetenv_sparc_ctx): Likewise.
52831 (libc_feupdateenv_sparc_ctx): Likewise.
52832 (libc_feholdsetround_sparc_ctx): Likewise.
52833 (libc_feholdexcept_setround_ctx): Define.
52834 (libc_feholdexcept_setroundf_ctx): Likewise.
52835 (libc_feholdexcept_setroundl_ctx): Likewise.
52836 (libc_fesetenv_ctx): Likewise.
52837 (libc_fesetenvf_ctx): Likewise.
52838 (libc_fesetenvl_ctx): Likewise.
52839 (libc_feupdateenv_ctx): Likewise.
52840 (libc_feupdateenvf_ctx): Likewise.
52841 (libc_feupdateenvl_ctx): Likewise.
52842 (libc_feresetround_ctx): Likewise.
52843 (libc_feresetroundf_ctx): Likewise.
52844 (libc_feresetroundl_ctx): Likewise.
52845 (libc_feholdsetround_ctx): Likewise.
52846 (libc_feholdsetroundf_ctx): Likewise.
52847 (libc_feholdsetroundl_ctx): Likewise.
52848
52849 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
52850 with __USE_GNU instead of XOPEN cpp guards.
52851
52852 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
52853 0.
52854
52855 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
52856 with XOPEN cpp guards.
52857
52858 2014-04-30 Julian Brown <julian@codesourcery.com>
52859
52860 [BZ #16888]
52861 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
52862 handling.
52863
52864 2014-04-30 Joseph Myers <joseph@codesourcery.com>
52865
52866 [BZ #9894]
52867 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
52868 Change to 2.6.32.
52869 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
52870 * sysdeps/unix/sysv/linux/configure: Regenerated.
52871 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
52872 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
52873 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
52874 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
52875 * README: Update reference to required Linux kernel version.
52876 * manual/install.texi (Linux): Update reference to required Linux
52877 kernel headers version.
52878 * INSTALL: Regenerated.
52879
52880 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
52881 header inclusion.
52882 [POSIX] (limits.h): Likewise.
52883 [POSIX] (math.h): Likewise.
52884 [POSIX] (sys/wait.h): Likewise.
52885 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
52886 function.
52887 [POSIX] (stddef.h): Do not allow header inclusion.
52888
52889 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52890
52891 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
52892
52893 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
52894
52895 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
52896 Return immediately after lll_futex_wake.
52897
52898 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
52899
52900 [BZ #16791]
52901 * nscd/nscd-client.h (datahead_init_common): Initialize entire
52902 structure.
52903 (datahead_init_pos): Call datahead_init_common early.
52904 (datahead_init_neg): Likewise.
52905
52906 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
52907 datahead_init_neg): New functions.
52908 * nscd/aicache.c (addhstaiX): Use them.
52909 * nscd/grpcache.c (cache_addgr): Likewise.
52910 * nscd/hstcache.c (cache_addhst): Likewise.
52911 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52912 * nscd/netgroupcache.c (do_notfound): Likewise.
52913 (addgetnetgrentX): Likewise.
52914 (addinnetgrX): Likewise.
52915 * nscd/pwdcache.c (cache_addpw): Likewise.
52916 * nscd/servicescache.c (cache_addserv): Likewise.
52917
52918 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
52919 Atsushi Onoe <atsushi@onoe.org>
52920
52921 [BZ #14308]
52922 [BZ #12994]
52923 [BZ #13651]
52924 * resolv/res_query.c (__libc_res_nsearch): Return if at least
52925 one response is valid.
52926 * resolv/res_send.c (send_dg): Check for validity of other
52927 response if the current response is a referral.
52928
52929 2014-04-29 Steve Ellcey <sellcey@mips.com>
52930
52931 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
52932
52933 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
52934
52935 [BZ #16823]
52936 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
52937 Always divide by positive zero when computing -Inf result.
52938 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
52939 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
52940
52941 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52942
52943 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
52944 FPSCR if value do not change.
52945 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
52946 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
52947 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
52948 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
52949 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
52950 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
52951 function.
52952
52953 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
52954
52955 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
52956 * sysdeps/unix/sysv/linux/hppa: Move directory from
52957 ports/systeps/unix/sysv/linux/hppa.
52958 * README: Update listing for hppa-*-linux-gnu.
52959
52960 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
52961
52962 [BZ #16754]
52963 * manual/stdio.texi (Hook functions): Fix types of stream hook
52964 functions.
52965 [BZ #16854]
52966 * socket/sys/socket.h: Fix typo in comment.
52967
52968 2014-04-28 Wilco <wdijkstr@arm.com>
52969
52970 * sysdeps/arm/fenv_private.h: New file.
52971 * sysdeps/arm/math_private.h: New file.
52972 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
52973
52974 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
52975
52976 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
52977 with __int128_t.
52978 (La_x86_64_retval): Likewise.
52979
52980 2014-04-24 Ian Bolton <ian.bolton@arm.com>
52981
52982 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
52983 fpsr if value didn't change.
52984 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
52985 to fpcr if value didn't change.
52986 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
52987 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
52988 fpsr or fpcr if value didn't change.
52989 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
52990 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
52991 fpcr if value didn't change.
52992 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
52993 to fpsr if value didn't change.
52994
52995 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
52996
52997 * nptl/tst-sem3.c: Use test-skeleton.c
52998 (main): Rename to do_test. Use return instead of
52999 exit.
53000 * nptl/tst-sem4.c: Use test-skeleton.c
53001 (main): Rename to do_test.
53002
53003 2014-04-22 David S. Miller <davem@davemloft.net>
53004
53005 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
53006 (struct sigaction): New struct member __glibc_reserved0, change
53007 type of sa_flags to int.
53008
53009 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
53010
53011 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
53012 (COUNT_LEADING_ZEROS_0): Define for AArch64.
53013
53014 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
53015
53016 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
53017 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
53018
53019 2014-04-22 Will Newton <will.newton@linaro.org>
53020 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
53021
53022 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
53023 (__longjmp): Add longjmp and longjmp_target SystemTap
53024 probes.
53025 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
53026 (__sigsetjmp): Add setjmp SystemTap probe.
53027
53028 2014-04-17 Carlos O'Donell <carlos@redhat.com>
53029
53030 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
53031 match manual order.
53032
53033 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53034
53035 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
53036
53037 * sysdeps/powerpc/fpu/fenv_private.h
53038 (libc_feholdexcept_setroundl_ctx): Define to
53039 libc_feholdexcept_setround_ppc_ctx.
53040 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
53041 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
53042 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
53043 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
53044
53045 2014-04-17 Ian Bolton <ian.bolton@arm.com>
53046
53047 * sysdeps/aarch64/math-tests.h: New file.
53048
53049 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
53050
53051 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
53052 New.
53053 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53054 Check and set bit_AVX2_Usable.
53055 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
53056 macro.
53057 (bit_AVX2): Likewise.
53058 (index_AVX2_Usable): Likewise.
53059 (CPUID_AVX2): Likewise.
53060 (HAS_AVX2): Likewise.
53061
53062 2014-04-17 Will Newton <will.newton@linaro.org>
53063
53064 * manual/setjmp.texi (System V contexts): Add note that
53065 calling setcontext on a context created by a call to a
53066 signal handler is undefined. Update text to note that
53067 setcontext from a signal handler is possible but not
53068 recommended.
53069
53070 [BZ #16629]
53071 * stdlib/tst-setcontext.c: Include signal.h.
53072 (main): Check that the signal stack before and
53073 after swapcontext is the same.
53074
53075 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
53076 Re-implement to restore registers in user code and avoid
53077 rt_sigreturn system call.
53078
53079 2014-04-17 Wilco <wdijkstr@arm.com>
53080
53081 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
53082 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
53083 * math/test-fenv.c: Skip exception trap tests on targets which only
53084 support non-stop mode.
53085
53086 2014-04-17 Ian Bolton <ian.bolton@arm.com>
53087 Wilco Dijkstra <wilco.dijkstra@arm.com>
53088
53089 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
53090 (libc_feholdsetround_aarch64_ctx)
53091 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
53092 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
53093 (libc_feresetround_ctx, libc_feresetroundf_ctx)
53094 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
53095 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
53096 (libc_feresetround_noexl_ctx): Define.
53097
53098 2014-04-16 Richard Henderson <rth@redhat.com>
53099
53100 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
53101
53102 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
53103 unwind tables.
53104
53105 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
53106 const from the non-libc, non-ldso copy.
53107
53108 * sysdeps/alpha/libm-test-ulps: Regenerate.
53109
53110 2014-04-16 Ian Bolton <ian.bolton@arm.com>
53111 Wilco Dijkstra <wilco.dijkstra@arm.com>
53112
53113 * sysdeps/aarch64/fpu/math_private.h: New file.
53114
53115 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
53116
53117 * sysdeps/aarch64/libm-test-ulps: Regenerate.
53118
53119 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
53120
53121 [BZ #16275]
53122 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
53123 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
53124 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
53125 Intel MPX bound registers before _dl_profile_fixup.
53126 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
53127 registers after _dl_profile_fixup. Save and restore bound
53128 registers bnd0/bnd1 when calling _dl_call_pltexit.
53129 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
53130 (LR_BND_OFFSET): Likewise.
53131 (LRV_BND0_OFFSET): Likewise.
53132 (LRV_BND1_OFFSET): Likewise.
53133
53134 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53135
53136 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
53137 to...
53138 * sysdeps/mach/hurd/i386/tls.h: ... here.
53139 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
53140 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
53141 fields.
53142
53143 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53144
53145 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
53146
53147 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
53148
53149 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53150
53151 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
53152
53153 [BZ #14770]
53154 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
53155 * sysdeps/s390/configure: Regenerate.
53156
53157 [BZ #16824]
53158 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
53159 Set round-to-nearest internally to reduce error accumulation.
53160
53161 2014-04-16 Alan Modra <amodra@gmail.com>
53162
53163 [BZ #16740]
53164 [BZ #16619]
53165 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
53166 * math/libm-test.inc (frexp_test_data): Add tests.
53167 * NEWS: Update fixed bug list.
53168
53169 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
53170
53171 * benchtests/Makefile: Depend on libraries in build directory.
53172 (bench-math): Separate out math tests.
53173 (bench-pthread): Separate out pthread tests.
53174 (bench): Include math and pthread tests.
53175
53176 2014-04-14 Carlos O'Donell <carlos@redhat.com>
53177
53178 [BZ #16831]
53179 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
53180 _dl_debug_initialize.
53181
53182 * configure.ac: Remove SELinux header check.
53183 * configure: Regenerate.
53184 * nscd/selinux.c (perms): Array of const char* to permission names.
53185 (nscd_request_avc_has_perm): Call security_deny_unknown to find
53186 default policy. Call string_to_security_class and string_to_av_perm to
53187 translate strings. Enforce default policy and call avs_has_perm with
53188 results of translated strings.
53189
53190 2014-04-13 David S. Miller <davem@davemloft.net>
53191
53192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53193
53194 2014-04-12 Allan McRae <allan@archlinux.org>
53195
53196 [BZ #16838]
53197 * manual/string.texi (Collation Functions): Fix qsort argument
53198 order in example.
53199 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
53200
53201 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
53202
53203 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
53204 Make the test a no-op if there are no exceptions defined.
53205
53206 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
53207
53208 * elf/Makefile (tests): make tst-dlopen-aout conditional on
53209 enable-hardcoded-path-in-tests
53210
53211 2014-04-11 Will Newton <will.newton@linaro.org>
53212
53213 * benchtests/Makefile (extra-objs): Add json-lib.o.
53214 (bench-func): Tidy up JSON output.
53215 * benchtests/bench-skeleton.c: Include json-lib.h.
53216 (main): Use JSON library functions to do output of
53217 benchmark results.
53218 * benchtests/bench-timing-type.c (main): Output the
53219 timing type simply, leaving formatting to the user.
53220 * benchtests/json-lib.c: New file.
53221 * benchtests/json-lib.h: Likewise.
53222
53223 2014-04-11 Torvald Riegel <triegel@redhat.com>
53224
53225 [BZ #15215]
53226 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
53227 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
53228 memory barriers. Add comments.
53229 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
53230 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
53231 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
53232 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
53233 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
53234 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
53235
53236 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
53237
53238 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
53239 * sysdeps/s390/s390-64/configure.ac: ... this ...
53240 * sysdeps/s390/configure.ac: ... to here.
53241 * sysdeps/s390/s390-32/configure: Delete file.
53242 * sysdeps/s390/s390-64/configure: Delete file.
53243 * sysdeps/s390/configure: Regenerate.
53244
53245 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
53246
53247 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
53248
53249 2014-04-11 Will Newton <will.newton@linaro.org>
53250
53251 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
53252 to zero if it is not defined elsewhere. (mtrim): Test
53253 the value of MALLOC_DEBUG with #if rather than #ifdef.
53254
53255 2014-04-10 Torvald Riegel <triegel@redhat.com>
53256
53257 * benchtests/pthread_once-inputs: New file.
53258 * benchtests/pthread_once-source.c: New file.
53259 * benchtests/README: Update documentation.
53260
53261 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
53262 H.J. Lu <hongjiu.lu@intel.com>
53263
53264 [BZ #16275]
53265 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
53266 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
53267 * sysdeps/x86_64/configure: Regenerated.
53268 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
53269 macro.
53270 (REGISTER_SAVE_RAX): Likewise.
53271 (REGISTER_SAVE_RCX): Likewise.
53272 (REGISTER_SAVE_RDX): Likewise.
53273 (REGISTER_SAVE_RSI): Likewise.
53274 (REGISTER_SAVE_RDI): Likewise.
53275 (REGISTER_SAVE_R8): Likewise.
53276 (REGISTER_SAVE_R9): Likewise.
53277 (REGISTER_SAVE_BND0): Likewise.
53278 (REGISTER_SAVE_BND1): Likewise.
53279 (REGISTER_SAVE_BND2): Likewise.
53280 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
53281 bound registers when calling _dl_fixup.
53282
53283 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53284
53285 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
53286 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
53287 of its definition.
53288 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
53289 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
53290 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
53291 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
53292 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
53293 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
53294 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
53295
53296 2014-04-09 Peter Brett <peter@peter-b.co.uk>
53297
53298 [BZ #15514]
53299 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
53300 pathconf(_PC_NAME_MAX).
53301
53302 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53303
53304 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
53305 Remove macro usage.
53306 (__PTHREAD_SPINS): Move definition to ...
53307 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53308 (__PTHREAD_SPINS): ... here.
53309 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53310 (__PTHREAD_SPIN): Likewise.
53311 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
53312 (__PTHREAD_SPIN): Likewise.
53313 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
53314 (__PTHREAD_SPIN): Likewise.
53315 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
53316 (__PTHREAD_SPIN): Likewise.
53317 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
53318 (__PTHREAD_SPIN): Likewise.
53319 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
53320 (__PTHREAD_SPIN): Likewise.
53321 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
53322 (__PTHREAD_SPIN): Likewise.
53323 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
53324 (__PTHREAD_SPIN): Likewise.
53325 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
53326 (__PTHREAD_SPIN): Likewise.
53327 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
53328 (__PTHREAD_SPIN): Likewise.
53329 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
53330 (__PTHREAD_SPIN): Likewise.
53331 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
53332 (__PTHREAD_SPIN): Likewise.
53333
53334 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
53335 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
53336 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
53337 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
53338 imply folder.
53339 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
53340 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
53341 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
53342 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
53343 correct imply path.
53344 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
53345 strlen symbol for non multi-arch builds.
53346 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
53347 missing hidden_def and weak_alias.
53348
53349 2014-04-08 Carlos O'Donell <carlos@redhat.com>
53350
53351 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
53352
53353 2014-04-07 Will Newton <will.newton@linaro.org>
53354
53355 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
53356 and contents. [!_LIBC] Remove #ifndef and contents.
53357 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
53358 * string/memccpy.c (__memccpy): Use ANSI prototype.
53359 * string/memfrob.c (memfrob): Likewise.
53360 * string/strcoll.c (STRCOLL): Likewise.
53361 * string/strlen.c (strlen): Likewise.
53362 * string/strtok.c (STRTOK): Likewise.
53363 * string/strcat.c: Remove unused #include of memcopy.h.
53364 (strcat): Use ANSI prototype.
53365 * string/strchr.c: Remove unused #include of memcopy.h.
53366 (strchr): Use ANSI prototype.
53367 * string/strcmp.c: Remove unused #include of memcopy.h.
53368 (strcmp): Use ANSI prototype.
53369 * string/strcpy.c: Remove unused #include of memcopy.h.
53370 (strcpy): Use ANSI prototype.
53371
53372 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53373
53374 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
53375 * config.make.in (config-extra-cppflags): Set it from
53376 libc_extra_cppflags.
53377 * configure.ac (libc_extra_cflags): Make it accumulate over
53378 configure fragments.
53379 (libc_extra_cppflags): New flag.
53380 * configure. Regenerate.
53381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
53382 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
53383 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
53384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
53385
53386 [BZ #16815]
53387 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
53388 result for FE_DOWNWARD rounding mode.
53389 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
53390 Likewise.
53391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53392
53393 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
53394
53395 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
53396 in function argument name.
53397
53398 2014-04-03 David Svoboda <svoboda@cert.org>
53399
53400 [BZ #5666]
53401 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
53402 explicitly.
53403
53404 2014-04-03 Roland McGrath <roland@hack.frob.com>
53405
53406 * elf/dl-unmap-segments.h: New file.
53407 * sysdeps/generic/ldsodefs.h
53408 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
53409 * elf/dl-close.c: Include <dl-unmap-segments.h>.
53410 * elf/dl-fptr.c: Likewise.
53411 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
53412 * sysdeps/aarch64/tlsdesc.c: Likewise.
53413 * sysdeps/arm/tlsdesc.c: Likewise.
53414 * sysdeps/i386/tlsdesc.c: Likewise.
53415 * sysdeps/tile/dl-runtime.c: Likewise.
53416 * sysdeps/x86_64/tlsdesc.c: Likewise.
53417 * elf/dl-load.h: New file.
53418 * elf/dl-load.c: Include it.
53419 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
53420 Macros moved to dl-load.h.
53421 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
53422 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
53423 Use _dl_unmap_segments in place of __munmap.
53424 Break out segment-mapping loop into ...
53425 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
53426
53427 2014-04-03 Will Newton <will.newton@linaro.org>
53428
53429 * elf/dl-lookup.c (do_lookup_x): Remove comment
53430 referring to nested function and move variable
53431 declarations down to before first use.
53432
53433 2014-04-02 Joseph Myers <joseph@codesourcery.com>
53434
53435 [BZ #16799]
53436 [BZ #16800]
53437 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
53438 with 0 numerator.
53439 * math/s_catanf.c (__catanf): Likewise.
53440 * math/s_catanh.c (__catanh): Likewise.
53441 * math/s_catanhf.c (__catanhf): Likewise.
53442 * math/s_catanhl.c (__catanhl): Likewise.
53443 * math/s_catanl.c (__catanl): Likewise.
53444 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
53445 by positive zero when computing -Inf result.
53446 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
53447 (catanh_test): Likewise.
53448 * sysdeps/i386/fpu/libm-test-ulps: Update.
53449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53450
53451 [BZ #16789]
53452 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
53453 instead of using underflowing value in computing result.
53454 * math/s_clog10.c (__clog10): Likewise.
53455 * math/s_clog10f.c (__clog10f): Likewise.
53456 * math/s_clog10l.c (__clog10l): Likewise.
53457 * math/s_clogf.c (__clogf): Likewise.
53458 * math/s_clogl.c (__clogl): Likewise.
53459 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
53460 (clog10_test): Likewise.
53461 * sysdeps/i386/fpu/libm-test-ulps: Update.
53462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53463
53464 2014-04-02 Alan Modra <amodra@gmail.com>
53465
53466 [BZ #16739]
53467 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
53468 output when value is near a power of two. Use int64_t for lx and
53469 remove casts. Use decimal rather than hex exponent constants.
53470 Don't use long double multiplication when double will suffice.
53471 * math/libm-test.inc (nextafter_test_data): Add tests.
53472 * NEWS: Add 16739 and 16786 to bug list.
53473
53474 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
53475
53476 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
53477
53478 2014-04-01 Will Newton <will.newton@linaro.org>
53479
53480 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
53481 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
53482
53483 2014-04-01 Florian Weimer <fweimer@redhat.com>
53484
53485 [BZ #13347]
53486 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
53487 * nptl/tst-setuid2.c: New file.
53488 * nptl/Makefile (xtests): Add tst-setuid2.
53489
53490 2014-04-01 Alan Modra <amodra@gmail.com>
53491
53492 [BZ #16786]
53493 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
53494
53495 2014-03-31 Joseph Myers <joseph@codesourcery.com>
53496
53497 [BZ #6803]
53498 [BZ #6804]
53499 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
53500 set errno as appropriate.
53501 * math/w_scalbf.c (__scalbf): Likewise.
53502 * math/w_scalbl.c (__scalbl): Likewise.
53503 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
53504 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
53505 * math/libm-test.inc (scalb_test_data): Add errno expectations.
53506 Add more NaN tests.
53507
53508 [BZ #16349]
53509 * math/w_atan2.c: Include <errno.h>.
53510 (__atan2): Set errno for result underflowing to zero.
53511 * math/w_atan2f.c: Include <errno.h>.
53512 (__atan2f): Set errno for result underflowing to zero.
53513 * math/w_atan2l.c: Include <errno.h>.
53514 (__atan2l): Set errno for result underflowing to zero.
53515 * math/auto-libm-test-in: Don't allow missing errno for some atan2
53516 tests.
53517 * math/auto-libm-test-out: Regenerated.
53518
53519 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53520
53521 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
53522 Encode instruction correctly in little endian.
53523 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
53524 Likewise.
53525 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
53526 Likewise.
53527 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
53528 Likewise.
53529 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
53530 Likewise.
53531
53532 2014-03-31 Joseph Myers <joseph@codesourcery.com>
53533
53534 [BZ #9894]
53535 * sysdeps/unix/sysv/linux/kernel-features.h
53536 [__sparc__ && !__arch64__ && !__sparc_v9__]
53537 (__ASSUME_SET_ROBUST_LIST): Do not define.
53538 [__sparc__ && !__arch64__ && !__sparc_v9__]
53539 (__ASSUME_FUTEX_LOCK_PI): Likewise.
53540 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
53541 Likewise.
53542 * sysdeps/unix/sysv/linux/arm/kernel-features.h
53543 (__ASSUME_FUTEX_LOCK_PI): Undefine.
53544 (__ASSUME_REQUEUE_PI): Likewise.
53545 (__ASSUME_SET_ROBUST_LIST): Likewise.
53546 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53547 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
53548 Undefine.
53549 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53550 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
53551 Likewise.
53552 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
53553 Likewise.
53554 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
53555 Likewise.
53556 * sysdeps/unix/sysv/linux/mips/kernel-features.h
53557 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
53558 Undefine.
53559 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
53560 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
53561 Likewise.
53562
53563 [BZ #16648]
53564 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53565 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
53566 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
53567
53568 2014-03-31 Will Newton <will.newton@linaro.org>
53569
53570 * benchtests/Makefile (bench): Add ffs and ffsll to list
53571 of tests.
53572 * benchtests/ffs-inputs: New file.
53573 * benchtests/ffsll-inputs: Likewise.
53574
53575 2014-03-29 Joseph Myers <joseph@codesourcery.com>
53576
53577 [BZ #16770]
53578 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
53579 too large before casting to int.
53580 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
53581 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
53582 * math/libm-test.inc (scalb_test_data): Add more tests.
53583
53584 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
53585
53586 * benchtests/Makefile (DETAILED_OPT): New make option.
53587 (bench-func): Run benchmark program with -d if DETAILED_OPT is
53588 set.
53589 * benchtests/bench-skeleton.c: Include stdbool.h.
53590 (main): Store and print timings per input.
53591 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
53592 member to each argument value.
53593 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
53594 (_print_arg_data): Initialize per-input timing to 0.
53595
53596 * benchtests/Makefile (timing-type): New binary.
53597 (bench-clean): Also remove bench-timing-type.
53598 (bench): New target for timing-type.
53599 (bench-func): Print output in JSON format.
53600 * benchtests/bench-skeleton.c (main): Print output in JSON
53601 format.
53602 * benchtests/bench-timing-type.c: New file.
53603 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
53604 (TIMING_PRINT_STATS): Remove.
53605 * benchtests/scripts/bench.py (_print_arg_data): Store variant
53606 name separately.
53607
53608 * benchtests/bench-modf.c: Remove.
53609 * benchtests/modf-inputs: New inputs file.
53610
53611 2014-03-28 Joseph Myers <joseph@codesourcery.com>
53612
53613 [BZ #16362]
53614 * math/s_clog10.c (M_PI_LOG10E): New macro.
53615 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
53616 imaginary parts are 0.
53617 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
53618 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
53619 imaginary parts are 0.
53620 * math/s_clog10l.c (M_PI_LOG10El): New macro.
53621 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
53622 imaginary parts are 0.
53623 * math/libm-test.inc (clog10_test_data): Update expected results
53624 for when real and imaginary parts are 0.
53625
53626 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
53627
53628 * elf/dl-load.c: Finish conversion of __builtin_expect into
53629 __glibc_{un}likely.
53630
53631 2014-03-27 Joseph Myers <joseph@codesourcery.com>
53632
53633 [BZ #16348]
53634 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
53635 1+x for argument with exponent below -67.
53636 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
53637 Likewise.
53638 * math/auto-libm-test-in: Add more tests of exp.
53639 * math/auto-libm-test-out: Regenerated.
53640
53641 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
53642
53643 [BZ #16759]
53644 * inet/getnetgrent_r.c (get_nonempty_val): New function.
53645 (nscd_getnetgrent): Use it.
53646
53647 [BZ #16760]
53648 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
53649 of stpcpy.
53650
53651 2014-03-27 Andi Kleen <ak@linux.intel.com>
53652
53653 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
53654 (lll_robust_lock, lll_cond_lock, lll_timedlock)
53655 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
53656 (lll_robust_unlock): Remove out of line section. Use cfi
53657 intrinsics.
53658 (LLL_STUB_UNWIND_INFO*): Remove.
53659 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
53660 (lll_robust_lock, lll_cond_lock, lll_timedlock)
53661 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
53662 (lll_robust_unlock): Remove out of line section. Use cfi
53663 intrinsics.
53664 (LLL_STUB_UNWIND_INFO*): Remove.
53665
53666 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
53667
53668 [BZ #16758]
53669 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
53670 blank values.
53671
53672 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
53673
53674 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
53675
53676 2014-03-26 Joseph Myers <joseph@codesourcery.com>
53677
53678 [BZ #16198]
53679 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
53680 fnstenv.
53681 * math/test-fenv-preserve.c: New file.
53682 * math/Makefile (tests): Add test-fenv-preserve.
53683
53684 2014-03-26 Will Newton <will.newton@linaro.org>
53685
53686 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
53687
53688 2014-03-25 Roland McGrath <roland@hack.frob.com>
53689
53690 * scripts/versionlist.awk: Partition the version sets and emit all
53691 GLIBC_* (sorted) before all others (sorted).
53692
53693 2014-03-25 Joseph Myers <joseph@codesourcery.com>
53694
53695 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
53696 GLIBC_2.2.5 version.
53697
53698 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53699
53700 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
53701 calls.
53702
53703 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
53704 previous change.
53705
53706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53707
53708 2014-03-25 Andreas Schwab <schwab@suse.de>
53709
53710 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
53711 label to be used after in6ailist is initialized.
53712
53713 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53714
53715 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53716 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
53717
53718 2014-03-25 Joseph Myers <joseph@codesourcery.com>
53719
53720 [BZ #16357]
53721 [BZ #16599]
53722 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
53723 min_plus_half.
53724 (fp_formats): Update initializers.
53725 (init_fp_formats): Initialize new field.
53726 (output_for_one_input_case): Allow underflow for results up to
53727 min_plus_half.
53728 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
53729 * math/auto-libm-test-in: Don't mark some underflows from asin and
53730 atanh as spurious.
53731 * math/auto-libm-test-out: Regenerated.
53732 * sysdeps/i386/fpu/libm-test-ulps: Update.
53733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53734
53735 2014-03-25 Andreas Schwab <schwab@suse.de>
53736
53737 * libio/Makefile (tst-ftell-partial-wide-ENV)
53738 (tst-ftell-active-handler-ENV): Define.
53739
53740 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
53741
53742 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
53743
53744 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
53745
53746 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
53747
53748 2014-03-24 Joseph Myers <joseph@codesourcery.com>
53749
53750 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
53751 * sysdeps/x86_64/fpu/multiarch/e_exp.c
53752 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
53753
53754 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
53755
53756 [BZ #16634]
53757 * elf/dl-load.c (open_verify): Add mode parameter.
53758 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
53759 (open_path): Change from boolean 'secure' to complete flag 'mode'
53760 (_dl_map_object): Adjust.
53761 * elf/Makefile (tests): Add tst-dlopen-aout.
53762 * elf/tst-dlopen-aout.c: New test.
53763
53764 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
53765
53766 [BZ #16714]
53767 * sysdeps/unix/sysv/linux/s390/bits/stat.h
53768 (struct stat): Rename member pad0 to __glibc_reserved0.
53769
53770 [BZ #16712]
53771 * sysdeps/s390/s390-32/bits/wordsize.h
53772 (__WORDSIZE32_SIZE_ULONG): New define.
53773 * sysdeps/s390/s390-64/bits/wordsize.h
53774 (__WORDSIZE32_SIZE_ULONG): Likewise.
53775 * sysdeps/generic/stdint.h (SIZE_MAX):
53776 Define as UL if __WORDSIZE32_SIZE_ULONG.
53777
53778 [BZ #16713]
53779 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
53780 (__glibc_reserved0): New variable.
53781 (sa_flags): Change type to int.
53782
53783 * posix/Makefile (before-compile): Use += before-compile instead
53784 of a :=.
53785
53786 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53787 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
53788
53789 2014-03-20 Andreas Schwab <schwab@suse.de>
53790
53791 [BZ #16743]
53792 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
53793 non-matching result from nscd.
53794
53795 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
53796
53797 * scripts/bench.py: Moved to ...
53798 * benchtests/scripts/bench.py: ... here.
53799 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
53800
53801 2014-03-24 Andreas Schwab <schwab@suse.de>
53802
53803 [BZ #16002]
53804 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
53805 alloca_account and account alloca use for struct in6ailist.
53806
53807 2014-03-24 Joseph Myers <joseph@codesourcery.com>
53808
53809 [BZ #16284]
53810 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
53811 rounding mode to recompute results that overflow to infinity or
53812 underflow to zero.
53813 * math/auto-libm-test-in: Don't mark tests as expected to fail for
53814 bug 16284.
53815 * math/auto-libm-test-out: Regenerated.
53816 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
53817 (ccosh_test): Likewise.
53818 (csin_test_data): Use plus_oflow.
53819 (csin_test): Use ALL_RM_TEST.
53820 (csinh_test_data): Use plus_oflow.
53821 (csinh_test): Use ALL_RM_TEST.
53822 * sysdeps/i386/fpu/libm-test-ulps: Update.
53823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53824
53825 2014-03-21 Joseph Myers <joseph@codesourcery.com>
53826
53827 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
53828 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
53829 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
53830
53831 [BZ #16731]
53832 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
53833 when x - 1 is zero.
53834 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
53835 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
53836 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
53837 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
53838 argument is 1.
53839 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
53840 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
53841 zero.
53842 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
53843 * sysdeps/i386/fpu/libm-test-ulps: Update.
53844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53845
53846 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
53847
53848 * scripts/bench.pl: Remove file.
53849 * scripts/bench.py: New benchmark script.
53850 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
53851 * benchtests/README: Mention python dependency.
53852 * scripts/pylintrc: New file.
53853 * scripts/pylint: New file.
53854
53855 * bits/mathdef.h: Use #ifdef instead of #if.
53856 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
53857 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
53858 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
53859 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
53860 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
53861 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
53862
53863 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53864 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
53865
53866 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
53867 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
53868 and strpbrk-ppc64 objects.
53869 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53870 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
53871 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
53872 multiarch strpbrk for POWER7.
53873 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
53874 multiarch strpbrk for PPC64.
53875 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
53876 ifunc selector.
53877 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
53878 strpbrk for POWER7.
53879
53880 2014-03-20 Joseph Myers <joseph@codesourcery.com>
53881
53882 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
53883 (atan_test): Likewise.
53884 (atanh_test_data): Use NO_TEST_INLINE for two tests.
53885 (atanh_test): Use ALL_RM_TEST.
53886 (atan2_test_data): Likewise.
53887 (cabs_test): Likewise.
53888 (cacosh_test): Likewise.
53889 (carg_test): Likewise.
53890 (casin_test): Likewise.
53891 (casinh_test): Likewise.
53892 (cbrt_test): Likewise.
53893 (csqrt_test): Likewise.
53894 (erf_test): Likewise.
53895 (erfc_test): Likewise.
53896 (pow10_test): Likewise.
53897 (exp2_test): Likewise.
53898 (hypot_test): Likewise.
53899 (j0_test): Likewise.
53900 (j1_test): Likewise.
53901 (lgamma_test): Likewise.
53902 (gamma_test): Likewise.
53903 (sincos_test): Likewise.
53904 (tanh_test): Likewise.
53905 (y0_test): Likewise.
53906 (y1_test): Likewise.
53907 * sysdeps/i386/fpu/libm-test-ulps: Update.
53908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53909
53910 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53911
53912 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
53913 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
53914 and strcspn-ppc64 objects.
53915 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53916 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
53917 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
53918 multiarch strcspn for POWER7.
53919 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
53920 multiarch strcspn for PPC64.
53921 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
53922 ifunc selector.
53923 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
53924 strcspn for POWER7.
53925
53926 2014-03-20 Joseph Myers <joseph@codesourcery.com>
53927
53928 * math/gen-libm-test.pl (generate_testfile): Expect only function
53929 name as argument to AUTO_TESTS_* and pass results for all rounding
53930 modes to parse_args.
53931 (parse_auto_input): Separate inputs of automatic tests from
53932 outputs before storing in %auto_tests.
53933 * math/libm-test.inc (acos_test_data): Update call to
53934 AUTO_TESTS_f_f.
53935 (acos_test): Use ALL_RM_TEST.
53936 (acos_tonearest_test_data): Remove.
53937 (acos_test_tonearest): Likewise.
53938 (acos_towardzero_test_data): Likewise.
53939 (acos_test_towardzero): Likewise.
53940 (acos_downward_test_data): Likewise.
53941 (acos_test_downward): Likewise.
53942 (acos_upward_test_data): Likewise.
53943 (acos_test_upward): Likewise.
53944 (acosh_test_data): Update call to AUTO_TESTS_f_f.
53945 (asin_test_data): Likewise.
53946 (asin_test): Use ALL_RM_TEST.
53947 (asin_tonearest_test_data): Remove.
53948 (asin_test_tonearest): Likewise.
53949 (asin_towardzero_test_data): Likewise.
53950 (asin_test_towardzero): Likewise.
53951 (asin_downward_test_data): Likewise.
53952 (asin_test_downward): Likewise.
53953 (asin_upward_test_data): Likewise.
53954 (asin_test_upward): Likewise.
53955 (asinh_test_data): Update call to AUTO_TESTS_f_f.
53956 (atan_test_data): Likewise.
53957 (atanh_test_data): Likewise.
53958 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
53959 (cabs_test_data): Update call to AUTO_TESTS_c_f.
53960 (carg_test_data): Likewise.
53961 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
53962 (ccos_test_data): Update call to AUTO_TESTS_c_c.
53963 (ccosh_test_data): Likewise.
53964 (cexp_test_data): Likewise.
53965 (clog_test_data): Likewise.
53966 (clog10_test_data): Likewise.
53967 (cos_test_data): Update call to AUTO_TESTS_f_f.
53968 (cos_test): Use ALL_RM_TEST.
53969 (cos_tonearest_test_data): Remove.
53970 (cos_test_tonearest): Likewise.
53971 (cos_towardzero_test_data): Likewise.
53972 (cos_test_towardzero): Likewise.
53973 (cos_downward_test_data): Likewise.
53974 (cos_test_downward): Likewise.
53975 (cos_upward_test_data): Likewise.
53976 (cos_test_upward): Likewise.
53977 (cosh_test_data): Update call to AUTO_TESTS_f_f.
53978 (cosh_test): Use ALL_RM_TEST.
53979 (cosh_tonearest_test_data): Remove.
53980 (cosh_test_tonearest): Likewise.
53981 (cosh_towardzero_test_data): Likewise.
53982 (cosh_test_towardzero): Likewise.
53983 (cosh_downward_test_data): Likewise.
53984 (cosh_test_downward): Likewise.
53985 (cosh_upward_test_data): Likewise.
53986 (cosh_test_upward): Likewise.
53987 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
53988 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
53989 (ctan_test_data): Likewise.
53990 (ctan_test): Use ALL_RM_TEST.
53991 (ctan_tonearest_test_data): Remove.
53992 (ctan_test_tonearest): Likewise.
53993 (ctan_towardzero_test_data): Likewise.
53994 (ctan_test_towardzero): Likewise.
53995 (ctan_downward_test_data): Likewise.
53996 (ctan_test_downward): Likewise.
53997 (ctan_upward_test_data): Likewise.
53998 (ctan_test_upward): Likewise.
53999 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
54000 (ctanh_test): Use ALL_RM_TEST.
54001 (ctanh_tonearest_test_data): Remove.
54002 (ctanh_test_tonearest): Likewise.
54003 (ctanh_towardzero_test_data): Likewise.
54004 (ctanh_test_towardzero): Likewise.
54005 (ctanh_downward_test_data): Likewise.
54006 (ctanh_test_downward): Likewise.
54007 (ctanh_upward_test_data): Likewise.
54008 (ctanh_test_upward): Likewise.
54009 (erf_test_data): Update call to AUTO_TESTS_f_f.
54010 (erfc_test_data): Likewise.
54011 (exp_test_data): Likewise.
54012 (exp_test): Use ALL_RM_TEST.
54013 (exp_tonearest_test_data): Remove.
54014 (exp_test_tonearest): Likewise.
54015 (exp_towardzero_test_data): Likewise.
54016 (exp_test_towardzero): Likewise.
54017 (exp_downward_test_data): Likewise.
54018 (exp_test_downward): Likewise.
54019 (exp_upward_test_data): Likewise.
54020 (exp_test_upward): Likewise.
54021 (exp10_test_data): Update call to AUTO_TESTS_f_f.
54022 (exp10_test): Use ALL_RM_TEST.
54023 (exp10_tonearest_test_data): Remove.
54024 (exp10_test_tonearest): Likewise.
54025 (exp10_towardzero_test_data): Likewise.
54026 (exp10_test_towardzero): Likewise.
54027 (exp10_downward_test_data): Likewise.
54028 (exp10_test_downward): Likewise.
54029 (exp10_upward_test_data): Likewise.
54030 (exp10_test_upward): Likewise.
54031 (exp2_test_data): Update call to AUTO_TESTS_f_f.
54032 (expm1_test_data): Likewise.
54033 (expm1_test): Use ALL_RM_TEST.
54034 (expm1_tonearest_test_data): Remove.
54035 (expm1_test_tonearest): Likewise.
54036 (expm1_towardzero_test_data): Likewise.
54037 (expm1_test_towardzero): Likewise.
54038 (expm1_downward_test_data): Likewise.
54039 (expm1_test_downward): Likewise.
54040 (expm1_upward_test_data): Likewise.
54041 (expm1_test_upward): Likewise.
54042 (fma_test_data): Update call to AUTO_TESTS_fff_f.
54043 (fma_test): Use ALL_RM_TEST.
54044 (fma_towardzero_test_data): Remove.
54045 (fma_test_towardzero): Likewise.
54046 (fma_downward_test_data): Likewise.
54047 (fma_test_downward): Likewise.
54048 (fma_upward_test_data): Likewise.
54049 (fma_test_upward): Likewise.
54050 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
54051 (j0_test_data): Update call to AUTO_TESTS_f_f.
54052 (j1_test_data): Likewise.
54053 (jn_test_data): Update call to AUTO_TESTS_if_f.
54054 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
54055 (log_test_data): Update call to AUTO_TESTS_f_f.
54056 (log10_test_data): Likewise.
54057 (log1p_test_data): Likewise.
54058 (log2_test_data): Likewise.
54059 (pow_test_data): Update call to AUTO_TESTS_ff_f.
54060 (pow_tonearest_test_data): Likewise.
54061 (sin_test_data): Update call to AUTO_TESTS_f_f.
54062 (sin_test): Use ALL_RM_TEST.
54063 (sin_tonearest_test_data): Remove.
54064 (sin_test_tonearest): Likewise.
54065 (sin_towardzero_test_data): Likewise.
54066 (sin_test_towardzero): Likewise.
54067 (sin_downward_test_data): Likewise.
54068 (sin_test_downward): Likewise.
54069 (sin_upward_test_data): Likewise.
54070 (sin_test_upward): Likewise.
54071 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
54072 (sinh_test_data): Update call to AUTO_TESTS_f_f.
54073 (sinh_test): Use ALL_RM_TEST.
54074 (sinh_tonearest_test_data): Remove.
54075 (sinh_test_tonearest): Likewise.
54076 (sinh_towardzero_test_data): Likewise.
54077 (sinh_test_towardzero): Likewise.
54078 (sinh_downward_test_data): Likewise.
54079 (sinh_test_downward): Likewise.
54080 (sinh_upward_test_data): Likewise.
54081 (sinh_test_upward): Likewise.
54082 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
54083 (sqrt_test): Use ALL_RM_TEST.
54084 (sqrt_tonearest_test_data): Remove.
54085 (sqrt_test_tonearest): Likewise.
54086 (sqrt_towardzero_test_data): Likewise.
54087 (sqrt_test_towardzero): Likewise.
54088 (sqrt_downward_test_data): Likewise.
54089 (sqrt_test_downward): Likewise.
54090 (sqrt_upward_test_data): Likewise.
54091 (sqrt_test_upward): Likewise.
54092 (tan_test_data): Update call to AUTO_TESTS_f_f.
54093 (tan_test): Use ALL_RM_TEST.
54094 (tan_tonearest_test_data): Remove.
54095 (tan_test_tonearest): Likewise.
54096 (tan_towardzero_test_data): Likewise.
54097 (tan_test_towardzero): Likewise.
54098 (tan_downward_test_data): Likewise.
54099 (tan_test_downward): Likewise.
54100 (tan_upward_test_data): Likewise.
54101 (tan_test_upward): Likewise.
54102 (tanh_test_data): Update call to AUTO_TESTS_f_f.
54103 (tgamma_test_data): Likewise.
54104 (y0_test_data): Likewise.
54105 (y1_test_data): Likewise.
54106 (yn_test_data): Update call to AUTO_TESTS_if_f.
54107 (main): Do not call removed functions.
54108
54109 2014-03-19 Joseph Myers <joseph@codesourcery.com>
54110
54111 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
54112 (ldexp_test_data): Remove.
54113 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
54114 scalbn_test_data.
54115 (scalb_test): Use ALL_RM_TEST.
54116
54117 2014-03-19 Andreas Schwab <schwab@suse.de>
54118
54119 * nscd/nscd.service: Also invalidate netgroup cache on reload.
54120
54121 2014-03-19 Joseph Myers <joseph@codesourcery.com>
54122
54123 [BZ #16649]
54124 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54125 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
54126 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
54127 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54128 (__ASSUME_PREADV): Undefine.
54129 (__ASSUME_PWRITEV): Likewise.
54130
54131 2014-03-18 Roland McGrath <roland@hack.frob.com>
54132
54133 * bits/mman-linux.h: Add comment about non-Linux use.
54134 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
54135 bits/mman-linux.h resting place.
54136
54137 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
54138 * bits/mman-linux.h: ... here.
54139
54140 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54141
54142 * conform/conformtest.pl: Add standard definition when calling C
54143 preprocessor on data files.
54144 (checknamespace): Remove unused variable.
54145
54146 2014-03-18 Joseph Myers <joseph@codesourcery.com>
54147
54148 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
54149 minus_oflow, plus_uflow and minus_uflow in expected results.
54150 * math/libm-test.inc (scalbn_test_data): Add more tests of
54151 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
54152 minus_uflow.
54153 (scalbn_test): Use ALL_RM_TEST.
54154 (scalbln_test_data): Add more tests of negative arguments. Use
54155 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
54156 (scalbln_test): Use ALL_RM_TEST.
54157
54158 2014-03-18 Roland McGrath <roland@hack.frob.com>
54159
54160 * scripts/abilist.awk: Ignore symbols marked with .hidden.
54161
54162 2014-03-18 Will Newton <will.newton@linaro.org>
54163
54164 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
54165 inaccurate comment.
54166
54167 2014-03-18 Joseph Myers <joseph@codesourcery.com>
54168
54169 * Makerules [!subdir] (check-abi): Exit with error status if a
54170 test failed.
54171
54172 2014-03-17 Joseph Myers <joseph@codesourcery.com>
54173
54174 * math/libm-test.inc (nearbyint_test_data): Include all tests used
54175 for rint. Include results for all rounding modes.
54176 (nearbyint_test): Use ALL_RM_TEST.
54177 (rint_test_data): Include all tests used for nearbyint.
54178
54179 2014-03-17 Will Newton <will.newton@linaro.org>
54180
54181 * nptl/sysdeps/pthread/pthread.h: Revert previous
54182 change.
54183
54184 * sysdeps/generic/ldsodefs.h: Revert previous
54185 change.
54186
54187 * libio/genops.c: Revert previous change.
54188 * libio/libioP.h: Likewise.
54189 * stdio-common/vfprintf.c: Likewise.
54190
54191 * sysdeps/generic/math_private.h: Revert previous
54192 change.
54193
54194 * sysdeps/generic/math_private.h: Check whether
54195 HAVE_RM_CTX is defined with #ifdef rather
54196 than #if.
54197
54198 * argp/argp-fmtstream.h: Check whether
54199 __STRICT_ANSI__ is defined with #ifdef rather
54200 than #if.
54201 * argp/argp.h: Likewise.
54202
54203 * libio/genops.c: Check whether
54204 _IO_JUMPS_OFFSET is defined with #ifdef rather
54205 than #if.
54206 * libio/libioP.h: Likewise.
54207 * stdio-common/vfprintf.c: Likewise.
54208
54209 * sysdeps/generic/ldsodefs.h: Check whether
54210 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
54211 than #if.
54212
54213 * nptl/sysdeps/pthread/pthread.h: Check
54214 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
54215 its value.
54216
54217 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
54218
54219 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
54220 setting O_APPEND.
54221 * libio/tst-ftell-active-handler.c (do_append_test): Add a
54222 test case.
54223
54224 [BZ #16680]
54225 * libio/fileops.c (_IO_file_open): Seek to end of file but
54226 don't cache the offset.
54227 (get_file_offset): Remove function.
54228 (do_ftell): Use cached offset when available.
54229 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
54230 don't cache the offset.
54231 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
54232 case.
54233 (do_one_test): Call it.
54234 (do_ftell_test): Fix up expected old offset for a+ mode.
54235 * libio/wfileops.c (do_ftell_wide): Used cached offset when
54236 available.
54237
54238 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
54239 up test status with function return status.
54240 (do_write_test): Likewise.
54241 (do_append_test): Likewise.
54242
54243 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
54244 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
54245 Remove.
54246
54247 2014-03-17 Joseph Myers <joseph@codesourcery.com>
54248
54249 * math/gen-libm-test.pl (parse_args): Handle results specified for
54250 each rounding mode separately.
54251 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
54252 tests and results from lrint_tonearest_test_data,
54253 lrint_towardzero_test_data, lrint_downward_test_data and
54254 lrint_upward_test_data.
54255 (lrint_test): Use ALL_RM_TEST.
54256 (lrint_tonearest_test_data): Remove.
54257 (lrint_test_tonearest): Likewise.
54258 (lrint_towardzero_test_data): Likewise.
54259 (lrint_test_towardzero): Likewise.
54260 (lrint_downward_test_data): Likewise.
54261 (lrint_test_downward): Likewise.
54262 (lrint_upward_test_data): Likewise.
54263 (lrint_test_upward): Likewise.
54264 (llrint_test_data): Merge in per-rounding-mode tests and results
54265 from llrint_tonearest_test_data, llrint_towardzero_test_data,
54266 llrint_downward_test_data and llrint_upward_test_data.
54267 (llrint_test): Use ALL_RM_TEST.
54268 (llrint_tonearest_test_data): Remove.
54269 (llrint_test_tonearest): Likewise.
54270 (llrint_towardzero_test_data): Likewise.
54271 (llrint_test_towardzero): Likewise.
54272 (llrint_downward_test_data): Likewise.
54273 (llrint_test_downward): Likewise.
54274 (llrint_upward_test_data): Likewise.
54275 (llrint_test_upward): Likewise.
54276 (rint_test_data): Merge in per-rounding-mode tests and results
54277 from rint_tonearest_test_data, rint_towardzero_test_data,
54278 rint_downward_test_data and rint_upward_test_data. Add
54279 per-rounding-mode results for tests not in those arrays.
54280 (rint_test): Use ALL_RM_TEST.
54281 (rint_tonearest_test_data): Remove.
54282 (rint_test_tonearest): Likewise.
54283 (rint_towardzero_test_data): Likewise.
54284 (rint_test_towardzero): Likewise.
54285 (rint_downward_test_data): Likewise.
54286 (rint_test_downward): Likewise.
54287 (rint_upward_test_data): Likewise.
54288 (rint_test_upward): Likewise.
54289 (main): Don't call removed functions.
54290
54291 2014-03-14 Roland McGrath <roland@hack.frob.com>
54292
54293 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
54294 "Compiled on ..." crapola. It is anti-useful.
54295
54296 2014-03-14 Joseph Myers <joseph@codesourcery.com>
54297
54298 * scripts/evaluate-test.sh: Handle fourth argument to determine
54299 whether test run should stop on failure.
54300 * Makeconfig (stop-on-test-failure): New variable.
54301 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
54302 $(stop-on-test-failure).
54303 * Makefile (tests): Give a summary of results from testing and
54304 exit with failure status if they include an ERROR or FAIL.
54305 (xtests): Likewise.
54306 * manual/install.texi (Configuring and compiling): Mention
54307 stop-on-test-failure=y.
54308 * INSTALL: Regenerated.
54309
54310 2014-03-14 Roland McGrath <roland@hack.frob.com>
54311
54312 * scripts/versionlist.awk: New file.
54313 * Makerules [$(build-shared) = yes]
54314 (postclean-generated): Add Versions.def, not Versions.def.v and
54315 Versions.def.v.i.
54316 ($(common-objpfx)Versions.def.v.i): Target removed.
54317 ($(common-objpfx)Versions.def): New target.
54318 ($(common-objpfx)Versions.all): Depend on that rather that
54319 $(common-objpfx)Versions.def.v.
54320 * Versions.def: File removed.
54321
54322 * Makeconfig (+gccwarn): Add -Wundef.
54323 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
54324 a dl-sysdep.h breaking its contract.
54325 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
54326 * include/stackinfo.h: New file.
54327 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
54328 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
54329 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
54330 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
54331 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
54332 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
54333 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54334 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54335 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54336 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54337 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54338 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
54339 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54340 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54341 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54342
54343 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54344
54345 [BZ #16707]
54346 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
54347 implementation.
54348 * math/libm-test.inc (round_test_data): Add more tests.
54349
54350 [BZ #16706]
54351 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
54352 implementation.
54353 * math/libm-test.inc (nearbyint_test_data): Add more tests.
54354
54355 [BZ #16701]
54356 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
54357 implementation.
54358 * math/libm-test.inc (ceil_test_data): Add more tests.
54359
54360 * math/libm-test.inc (trunc_test_data): Add more tests related to
54361 BZ#16414.
54362
54363 2014-03-14 Roland McGrath <roland@hack.frob.com>
54364
54365 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
54366 with #if rather than #ifdef.
54367 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
54368
54369 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
54370
54371 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
54372 first. Disable AVX-512 GCC support if assembler doesn't support
54373 it.
54374 * sysdeps/x86_64/configure: Regenerated.
54375
54376 2014-03-13 Carlos O'Donell <carlos@redhat.com>
54377
54378 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
54379 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
54380 (__old_pthread_attr_setstack): Likewise.
54381 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
54382 [!_STACK_GROWS_DOWN]: Likewise.
54383
54384 2014-03-13 Mike Frysinger <vapier@gentoo.org>
54385
54386 * config.make.in (have-bash2): Delete.
54387 * configure.ac (libc_cv_have_bash2): Delete.
54388 * configure: Regenerate.
54389 * elf/Makefile (common-ldd-rewrite): Rename to ...
54390 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
54391 (sh-ldd-rewrite): Delete.
54392 (bash-ldd-rewrite): Delete.
54393 (have-bash2): Delete checks.
54394 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
54395 ldd-rewrite.
54396
54397 * config.make.in (have-ksh): Delete.
54398 (KSH): Delete.
54399 * configure.ac (libc_cv_have_ksh): Delete.
54400 * configure: Regenerate.
54401
54402 * elf/Makefile: Delete $(have-ksh) check.
54403 ($(objpfx)sotruss): Change KSH to BASH.
54404 * elf/sotruss.ksh: Rename to ...
54405 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
54406 function style to match POSIX. Drop ksh vim mode setting.
54407
54408 * manual/time.texi (Specifying the Time Zone with TZ): Change
54409 Tuesday to Thursday.
54410
54411 * debug/tst-longjmp_chk2.c: Update header comment.
54412 (stackoverflow_handler): Add comment. Call assert on pass value.
54413
54414 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
54415
54416 [BZ #16194]
54417 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
54418 (HAVE_AVX512_ASM_SUPPORT): Likewise.
54419 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
54420 (La_x86_64_vector): Add zmm.
54421 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
54422 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
54423 ($(objpfx)tst-audit10): New target.
54424 ($(objpfx)tst-audit10.out): Likewise.
54425 (tst-audit10-ENV): New.
54426 (AVX512-CFLAGS): Likewise.
54427 (CFLAGS-tst-audit10.c): Likewise.
54428 (CFLAGS-tst-auditmod10a.c): Likewise.
54429 (CFLAGS-tst-auditmod10b.c): Likewise.
54430 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
54431 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
54432 * sysdeps/x86_64/configure: Regenerated.
54433 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
54434 AVX-512 zmm register support.
54435 (_dl_x86_64_save_sse): Likewise.
54436 (_dl_x86_64_restore_sse): Likewise.
54437 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
54438 size vector registers.
54439 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
54440 (ZMM_SIZE): Likewise.
54441 * sysdeps/x86_64/tst-audit10.c: New file.
54442 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
54443 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
54444
54445 2014-03-13 Roland McGrath <roland@hack.frob.com>
54446
54447 * configure.ac (HAVE_EHDR_START): New check.
54448 * configure: Regenerated.
54449 * config.h.in (HAVE_EHDR_START): New #undef.
54450 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
54451 assuming the lowest-addressed segment maps the start of the file.
54452
54453 2014-03-13 Joseph Myers <joseph@codesourcery.com>
54454
54455 * INSTALL: Regenerated.
54456
54457 2014-03-13 Will Newton <will.newton@linaro.org>
54458
54459 * manual/setjmp.texi (System V contexts): Improve
54460 clarity and grammar of documentation.
54461
54462 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
54463
54464 [BZ #16381]
54465 * elf/Makefile (tests): Add tst-pie2.
54466 (tests-pie): Add tst-pie2.
54467 * elf/tst-pie2.c: New file.
54468 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
54469 for ET_EXEC.
54470 * elf/rtld.c (map_doit): Load executable as lt_executable.
54471 (dl_main): Likewise.
54472
54473 2014-03-12 Joseph Myers <joseph@codesourcery.com>
54474
54475 [BZ #16642]
54476 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54477 (__ASSUME_PSELECT): Undefine.
54478
54479 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54480
54481 [BZ #16689]
54482 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
54483 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
54484 static build.
54485 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
54486 selector for static builds.
54487
54488 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
54489
54490 [BZ #16695]
54491 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
54492 key in the buffer.
54493
54494 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54495
54496 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
54497 IFUNC selector for static builds.
54498
54499 2014-03-11 Joseph Myers <joseph@codesourcery.com>
54500
54501 * sysdeps/mips/math_private.h [__mips_hard_float]
54502 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
54503 libc_feresetround_mips_ctx.
54504 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
54505 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
54506 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
54507
54508 [BZ #16677]
54509 * math/s_nextafter.c (__nextafter): Do not return value from
54510 overflowing computation.
54511 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
54512 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
54513 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
54514 Likewise.
54515 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
54516 Likewise.
54517 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
54518 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
54519
54520 2014-03-11 Roland McGrath <roland@hack.frob.com>
54521
54522 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
54523 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
54524 Move sfi_sp use from the load-multiple (that no longer sets sp) to
54525 the new mov targetting sp.
54526
54527 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54528
54529 [BZ #16683]
54530 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
54531 Define it for static builds as well.
54532 (NO_BZERO_IMPL): Likewise.
54533
54534 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
54535
54536 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
54537 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
54538 multiarch strspn for PPC64.
54539 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
54540 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
54541 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54542 (__libc_ifunc_impl_list): Likewise.
54543 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
54544 multiarch optimizations
54545 * string/strspn.c (strspn): Using macro to redefine symbol name.
54546
54547 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
54548 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54549
54550 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
54551 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
54552 multiarch strncat for PPC64.
54553 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
54554 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
54555 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54556 (__libc_ifunc_impl_list): Likewise.
54557 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
54558 multiarch optimizations
54559
54560 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54561
54562 [BZ #16639]
54563 * nscd/nscd.service: Make service type forking.
54564
54565 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54566
54567 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
54568 sign in non default rounding modes.
54569 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
54570
54571 2014-03-08 Joseph Myers <joseph@codesourcery.com>
54572
54573 * math/libm-test.inc (ALL_RM_TEST): New macro.
54574 (ceil_test): Use ALL_RM_TEST.
54575 (cimag_test): Likewise.
54576 (conj_test): Likewise.
54577 (copysign_test): Likewise.
54578 (cproj_test): Likewise.
54579 (creal_test): Likewise.
54580 (fabs_test): Likewise.
54581 (floor_test): Likewise.
54582 (fmax_test): Likewise.
54583 (fmin_test): Likewise.
54584 (fmod_test): Likewise.
54585 (fpclassify_test): Likewise.
54586 (frexp_test): Likewise.
54587 (ilogb_test): Likewise.
54588 (isfinite_test): Likewise.
54589 (finite_test): Likewise.
54590 (isgreater_test): Likewise.
54591 (isgreaterequal_test): Likewise.
54592 (isinf_test): Likewise.
54593 (isless_test): Likewise.
54594 (islessequal_test): Likewise.
54595 (islessgreater_test): Likewise.
54596 (isnan_test): Likewise.
54597 (isnormal_test): Likewise.
54598 (issignaling_test): Likewise.
54599 (isunordered_test): Likewise.
54600 (logb_test): Likewise.
54601 (logb_downward_test_data): Remove.
54602 (logb_test_downward): Likewise.
54603 (lround_test): Use ALL_RM_TEST.
54604 (llround_test): Likewise.
54605 (modf_test): Likewise.
54606 (nexttoward_test): Likewise.
54607 (remainder_test): Likewise.
54608 (drem_test): Likewise.
54609 (remainder_tonearest_test_data): Likewise.
54610 (remainder_test_tonearest): Likewise.
54611 (drem_test_tonearest): Likewise.
54612 (remainder_towardzero_test_data): Likewise.
54613 (remainder_test_towardzero): Likewise.
54614 (drem_test_towardzero): Likewise.
54615 (remainder_downward_test_data): Likewise.
54616 (remainder_test_downward): Likewise.
54617 (drem_test_downward): Likewise.
54618 (remainder_upward_test_data): Likewise.
54619 (remainder_test_upward): Likewise.
54620 (drem_test_upward): Likewise.
54621 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
54622 (round_test): Use ALL_RM_TEST.
54623 (signbit_test): Likewise.
54624 (trunc_test): Likewise.
54625 (significand_test): Likewise.
54626 (main): Don't call removed functions.
54627
54628 2014-03-07 Joseph Myers <joseph@codesourcery.com>
54629
54630 [BZ #16674]
54631 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
54632 || __USE_XOPEN2K8].
54633 (ILL_ILLOPN): Likewise.
54634 (ILL_ILLADR): Likewise.
54635 (ILL_ILLTRP): Likewise.
54636 (ILL_PRVOPC): Likewise.
54637 (ILL_PRVREG): Likewise.
54638 (ILL_COPROC): Likewise.
54639 (ILL_BADSTK): Likewise.
54640 (FPE_INTDIV): Likewise.
54641 (FPE_INTOVF): Likewise.
54642 (FPE_FLTDIV): Likewise.
54643 (FPE_FLTOVF): Likewise.
54644 (FPE_FLTUND): Likewise.
54645 (FPE_FLTRES): Likewise.
54646 (FPE_FLTINV): Likewise.
54647 (FPE_FLTSUB): Likewise.
54648 (SEGV_MAPERR): Likewise.
54649 (SEGV_ACCERR): Likewise.
54650 (BUS_ADRALN): Likewise.
54651 (BUS_ADRERR): Likewise.
54652 (BUS_OBJERR): Likewise.
54653 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54654 (TRAP_TRACE): Likewise.
54655 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54656 __USE_XOPEN2K8].
54657 (CLD_KILLED): Likewise.
54658 (CLD_DUMPED): Likewise.
54659 (CLD_TRAPPED): Likewise.
54660 (CLD_STOPPED): Likewise.
54661 (CLD_CONTINUED): Likewise.
54662 (POLL_IN): Likewise.
54663 (POLL_OUT): Likewise.
54664 (POLL_MSG): Likewise.
54665 (POLL_ERR): Likewise.
54666 (POLL_PRI): Likewise.
54667 (POLL_HUP): Likewise.
54668 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
54669 Likewise.
54670 (ILL_ILLOPN): Likewise.
54671 (ILL_ILLADR): Likewise.
54672 (ILL_ILLTRP): Likewise.
54673 (ILL_PRVOPC): Likewise.
54674 (ILL_PRVREG): Likewise.
54675 (ILL_COPROC): Likewise.
54676 (ILL_BADSTK): Likewise.
54677 (FPE_INTDIV): Likewise.
54678 (FPE_INTOVF): Likewise.
54679 (FPE_FLTDIV): Likewise.
54680 (FPE_FLTOVF): Likewise.
54681 (FPE_FLTUND): Likewise.
54682 (FPE_FLTRES): Likewise.
54683 (FPE_FLTINV): Likewise.
54684 (FPE_FLTSUB): Likewise.
54685 (SEGV_MAPERR): Likewise.
54686 (SEGV_ACCERR): Likewise.
54687 (BUS_ADRALN): Likewise.
54688 (BUS_ADRERR): Likewise.
54689 (BUS_OBJERR): Likewise.
54690 (BUS_MCEERR_AR): Likewise.
54691 (BUS_MCEERR_AO): Likewise.
54692 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54693 (TRAP_TRACE): Likewise.
54694 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54695 __USE_XOPEN2K8].
54696 (CLD_KILLED): Likewise.
54697 (CLD_DUMPED): Likewise.
54698 (CLD_TRAPPED): Likewise.
54699 (CLD_STOPPED): Likewise.
54700 (CLD_CONTINUED): Likewise.
54701 (POLL_IN): Likewise.
54702 (POLL_OUT): Likewise.
54703 (POLL_MSG): Likewise.
54704 (POLL_ERR): Likewise.
54705 (POLL_PRI): Likewise.
54706 (POLL_HUP): Likewise.
54707 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
54708 (ILL_ILLOPN): Likewise.
54709 (ILL_ILLADR): Likewise.
54710 (ILL_ILLTRP): Likewise.
54711 (ILL_PRVOPC): Likewise.
54712 (ILL_PRVREG): Likewise.
54713 (ILL_COPROC): Likewise.
54714 (ILL_BADSTK): Likewise.
54715 (FPE_INTDIV): Likewise.
54716 (FPE_INTOVF): Likewise.
54717 (FPE_FLTDIV): Likewise.
54718 (FPE_FLTOVF): Likewise.
54719 (FPE_FLTUND): Likewise.
54720 (FPE_FLTRES): Likewise.
54721 (FPE_FLTINV): Likewise.
54722 (FPE_FLTSUB): Likewise.
54723 (SEGV_MAPERR): Likewise.
54724 (SEGV_ACCERR): Likewise.
54725 (BUS_ADRALN): Likewise.
54726 (BUS_ADRERR): Likewise.
54727 (BUS_OBJERR): Likewise.
54728 (BUS_MCEERR_AR): Likewise.
54729 (BUS_MCEERR_AO): Likewise.
54730 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54731 (TRAP_TRACE): Likewise.
54732 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54733 __USE_XOPEN2K8].
54734 (CLD_KILLED): Likewise.
54735 (CLD_DUMPED): Likewise.
54736 (CLD_TRAPPED): Likewise.
54737 (CLD_STOPPED): Likewise.
54738 (CLD_CONTINUED): Likewise.
54739 (POLL_IN): Likewise.
54740 (POLL_OUT): Likewise.
54741 (POLL_MSG): Likewise.
54742 (POLL_ERR): Likewise.
54743 (POLL_PRI): Likewise.
54744 (POLL_HUP): Likewise.
54745 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
54746 Likewise.
54747 (ILL_ILLOPN): Likewise.
54748 (ILL_ILLADR): Likewise.
54749 (ILL_ILLTRP): Likewise.
54750 (ILL_PRVOPC): Likewise.
54751 (ILL_PRVREG): Likewise.
54752 (ILL_COPROC): Likewise.
54753 (ILL_BADSTK): Likewise.
54754 (ILL_BADIADDR): Likewise.
54755 (ILL_BREAK): Likewise.
54756 (FPE_INTDIV): Likewise.
54757 (FPE_INTOVF): Likewise.
54758 (FPE_FLTDIV): Likewise.
54759 (FPE_FLTOVF): Likewise.
54760 (FPE_FLTUND): Likewise.
54761 (FPE_FLTRES): Likewise.
54762 (FPE_FLTINV): Likewise.
54763 (FPE_FLTSUB): Likewise.
54764 (FPE_DECOVF): Likewise.
54765 (FPE_DECDIV): Likewise.
54766 (FPE_DECERR): Likewise.
54767 (FPE_INVASC): Likewise.
54768 (FPE_INVDEC): Likewise.
54769 (SEGV_MAPERR): Likewise.
54770 (SEGV_ACCERR): Likewise.
54771 (SEGV_PSTKOVF): Likewise.
54772 (BUS_ADRALN): Likewise.
54773 (BUS_ADRERR): Likewise.
54774 (BUS_OBJERR): Likewise.
54775 (BUS_MCEERR_AR): Likewise.
54776 (BUS_MCEERR_AO): Likewise.
54777 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54778 (TRAP_TRACE): Likewise.
54779 (TRAP_BRANCH): Likewise.
54780 (TRAP_HWBKPT): Likewise.
54781 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54782 __USE_XOPEN2K8].
54783 (CLD_KILLED): Likewise.
54784 (CLD_DUMPED): Likewise.
54785 (CLD_TRAPPED): Likewise.
54786 (CLD_STOPPED): Likewise.
54787 (CLD_CONTINUED): Likewise.
54788 (POLL_IN): Likewise.
54789 (POLL_OUT): Likewise.
54790 (POLL_MSG): Likewise.
54791 (POLL_ERR): Likewise.
54792 (POLL_PRI): Likewise.
54793 (POLL_HUP): Likewise.
54794 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
54795 (ILL_ILLOPN): Likewise.
54796 (ILL_ILLADR): Likewise.
54797 (ILL_ILLTRP): Likewise.
54798 (ILL_PRVOPC): Likewise.
54799 (ILL_PRVREG): Likewise.
54800 (ILL_COPROC): Likewise.
54801 (ILL_BADSTK): Likewise.
54802 (FPE_INTDIV): Likewise.
54803 (FPE_INTOVF): Likewise.
54804 (FPE_FLTDIV): Likewise.
54805 (FPE_FLTOVF): Likewise.
54806 (FPE_FLTUND): Likewise.
54807 (FPE_FLTRES): Likewise.
54808 (FPE_FLTINV): Likewise.
54809 (FPE_FLTSUB): Likewise.
54810 (SEGV_MAPERR): Likewise.
54811 (SEGV_ACCERR): Likewise.
54812 (BUS_ADRALN): Likewise.
54813 (BUS_ADRERR): Likewise.
54814 (BUS_OBJERR): Likewise.
54815 (BUS_MCEERR_AR): Likewise.
54816 (BUS_MCEERR_AO): Likewise.
54817 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54818 (TRAP_TRACE): Likewise.
54819 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54820 __USE_XOPEN2K8].
54821 (CLD_KILLED): Likewise.
54822 (CLD_DUMPED): Likewise.
54823 (CLD_TRAPPED): Likewise.
54824 (CLD_STOPPED): Likewise.
54825 (CLD_CONTINUED): Likewise.
54826 (POLL_IN): Likewise.
54827 (POLL_OUT): Likewise.
54828 (POLL_MSG): Likewise.
54829 (POLL_ERR): Likewise.
54830 (POLL_PRI): Likewise.
54831 (POLL_HUP): Likewise.
54832 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
54833 (ILL_ILLOPN): Likewise.
54834 (ILL_ILLADR): Likewise.
54835 (ILL_ILLTRP): Likewise.
54836 (ILL_PRVOPC): Likewise.
54837 (ILL_PRVREG): Likewise.
54838 (ILL_COPROC): Likewise.
54839 (ILL_BADSTK): Likewise.
54840 (FPE_INTDIV): Likewise.
54841 (FPE_INTOVF): Likewise.
54842 (FPE_FLTDIV): Likewise.
54843 (FPE_FLTOVF): Likewise.
54844 (FPE_FLTUND): Likewise.
54845 (FPE_FLTRES): Likewise.
54846 (FPE_FLTINV): Likewise.
54847 (FPE_FLTSUB): Likewise.
54848 (SEGV_MAPERR): Likewise.
54849 (SEGV_ACCERR): Likewise.
54850 (BUS_ADRALN): Likewise.
54851 (BUS_ADRERR): Likewise.
54852 (BUS_OBJERR): Likewise.
54853 (BUS_MCEERR_AR): Likewise.
54854 (BUS_MCEERR_AO): Likewise.
54855 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54856 (TRAP_TRACE): Likewise.
54857 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54858 __USE_XOPEN2K8].
54859 (CLD_KILLED): Likewise.
54860 (CLD_DUMPED): Likewise.
54861 (CLD_TRAPPED): Likewise.
54862 (CLD_STOPPED): Likewise.
54863 (CLD_CONTINUED): Likewise.
54864 (POLL_IN): Likewise.
54865 (POLL_OUT): Likewise.
54866 (POLL_MSG): Likewise.
54867 (POLL_ERR): Likewise.
54868 (POLL_PRI): Likewise.
54869 (POLL_HUP): Likewise.
54870 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
54871 (ILL_ILLOPN): Likewise.
54872 (ILL_ILLADR): Likewise.
54873 (ILL_ILLTRP): Likewise.
54874 (ILL_PRVOPC): Likewise.
54875 (ILL_PRVREG): Likewise.
54876 (ILL_COPROC): Likewise.
54877 (ILL_BADSTK): Likewise.
54878 (FPE_INTDIV): Likewise.
54879 (FPE_INTOVF): Likewise.
54880 (FPE_FLTDIV): Likewise.
54881 (FPE_FLTOVF): Likewise.
54882 (FPE_FLTUND): Likewise.
54883 (FPE_FLTRES): Likewise.
54884 (FPE_FLTINV): Likewise.
54885 (FPE_FLTSUB): Likewise.
54886 (SEGV_MAPERR): Likewise.
54887 (SEGV_ACCERR): Likewise.
54888 (BUS_ADRALN): Likewise.
54889 (BUS_ADRERR): Likewise.
54890 (BUS_OBJERR): Likewise.
54891 (BUS_MCEERR_AR): Likewise.
54892 (BUS_MCEERR_AO): Likewise.
54893 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54894 (TRAP_TRACE): Likewise.
54895 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54896 __USE_XOPEN2K8].
54897 (CLD_KILLED): Likewise.
54898 (CLD_DUMPED): Likewise.
54899 (CLD_TRAPPED): Likewise.
54900 (CLD_STOPPED): Likewise.
54901 (CLD_CONTINUED): Likewise.
54902 (POLL_IN): Likewise.
54903 (POLL_OUT): Likewise.
54904 (POLL_MSG): Likewise.
54905 (POLL_ERR): Likewise.
54906 (POLL_PRI): Likewise.
54907 (POLL_HUP): Likewise.
54908 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
54909 (ILL_ILLOPN): Likewise.
54910 (ILL_ILLADR): Likewise.
54911 (ILL_ILLTRP): Likewise.
54912 (ILL_PRVOPC): Likewise.
54913 (ILL_PRVREG): Likewise.
54914 (ILL_COPROC): Likewise.
54915 (ILL_BADSTK): Likewise.
54916 (ILL_DBLFLT): Likewise.
54917 (ILL_HARDWALL): Likewise.
54918 (FPE_INTDIV): Likewise.
54919 (FPE_INTOVF): Likewise.
54920 (FPE_FLTDIV): Likewise.
54921 (FPE_FLTOVF): Likewise.
54922 (FPE_FLTUND): Likewise.
54923 (FPE_FLTRES): Likewise.
54924 (FPE_FLTINV): Likewise.
54925 (FPE_FLTSUB): Likewise.
54926 (SEGV_MAPERR): Likewise.
54927 (SEGV_ACCERR): Likewise.
54928 (BUS_ADRALN): Likewise.
54929 (BUS_ADRERR): Likewise.
54930 (BUS_OBJERR): Likewise.
54931 (BUS_MCEERR_AR): Likewise.
54932 (BUS_MCEERR_AO): Likewise.
54933 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54934 (TRAP_TRACE): Likewise.
54935 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54936 __USE_XOPEN2K8].
54937 (CLD_KILLED): Likewise.
54938 (CLD_DUMPED): Likewise.
54939 (CLD_TRAPPED): Likewise.
54940 (CLD_STOPPED): Likewise.
54941 (CLD_CONTINUED): Likewise.
54942 (POLL_IN): Likewise.
54943 (POLL_OUT): Likewise.
54944 (POLL_MSG): Likewise.
54945 (POLL_ERR): Likewise.
54946 (POLL_PRI): Likewise.
54947 (POLL_HUP): Likewise.
54948 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
54949 (ILL_ILLOPN): Likewise.
54950 (ILL_ILLADR): Likewise.
54951 (ILL_ILLTRP): Likewise.
54952 (ILL_PRVOPC): Likewise.
54953 (ILL_PRVREG): Likewise.
54954 (ILL_COPROC): Likewise.
54955 (ILL_BADSTK): Likewise.
54956 (FPE_INTDIV): Likewise.
54957 (FPE_INTOVF): Likewise.
54958 (FPE_FLTDIV): Likewise.
54959 (FPE_FLTOVF): Likewise.
54960 (FPE_FLTUND): Likewise.
54961 (FPE_FLTRES): Likewise.
54962 (FPE_FLTINV): Likewise.
54963 (FPE_FLTSUB): Likewise.
54964 (SEGV_MAPERR): Likewise.
54965 (SEGV_ACCERR): Likewise.
54966 (BUS_ADRALN): Likewise.
54967 (BUS_ADRERR): Likewise.
54968 (BUS_OBJERR): Likewise.
54969 (BUS_MCEERR_AR): Likewise.
54970 (BUS_MCEERR_AO): Likewise.
54971 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54972 (TRAP_TRACE): Likewise.
54973 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54974 __USE_XOPEN2K8].
54975 (CLD_KILLED): Likewise.
54976 (CLD_DUMPED): Likewise.
54977 (CLD_TRAPPED): Likewise.
54978 (CLD_STOPPED): Likewise.
54979 (CLD_CONTINUED): Likewise.
54980 (POLL_IN): Likewise.
54981 (POLL_OUT): Likewise.
54982 (POLL_MSG): Likewise.
54983 (POLL_ERR): Likewise.
54984 (POLL_PRI): Likewise.
54985 (POLL_HUP): Likewise.
54986 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
54987 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
54988
54989 [BZ #16670]
54990 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
54991 before #include of <time.h>.
54992 [!__USE_XOPEN2K] (__need_timespec): Likewise.
54993 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
54994 (test-xfail-UNIX98/sched.h/conform): Likewise.
54995
54996 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
54997
54998 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
54999 error absence of trapping exception support.
55000 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
55001
55002 2014-03-07 Joseph Myers <joseph@codesourcery.com>
55003
55004 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
55005 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
55006 * timezone/Makefile (testdata): Move definition above include of
55007 Rules.
55008 (test-zones): New variable.
55009 (tests-special): Add zone files.
55010 (build-testdata): Use $(evaluate-test).
55011
55012 * elf/Makefile (tests-special): Rename tests to end with .out.
55013 ($(objpfx)noload-mem): Likewise.
55014 ($(objpfx)tst-leaks1-mem): Likewise.
55015 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
55016 * iconv/Makefile (xtests-special): Change test-iconvconfig to
55017 $(objpfx)test-iconvconfig.out.
55018 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
55019 set -e inside subshell and redirect output to file.
55020 * iconvdata/Makefile (generated): Rename tests to end with .out.
55021 Correct type.
55022 (tests-special): Rename tests to end with .out.
55023 ($(objpfx)mtrace-tst-loading): Likewise.
55024 * intl/Makefile (generated): Likewise.
55025 (tests-special): Likewise.
55026 ($(objpfx)mtrace-tst-gettext): Likewise.
55027 * misc/Makefile (generated): Likewise.
55028 (tests-special): Likewise.
55029 ($(objpfx)tst-error1-mem): Likewise.
55030 * nptl/Makefile (tests-special): Likewise.
55031 ($(objpfx)tst-stack3-mem): Likewise.
55032 (generated): Likewise.
55033 * posix/Makefile (generated): Likewise.
55034 (tests-special): Likewise.
55035 (xtests-special): Likewise.
55036 ($(objpfx)tst-fnmatch-mem): Likewise.
55037 ($(objpfx)bug-regex2-mem): Likewise.
55038 ($(objpfx)bug-regex14-mem): Likewise.
55039 ($(objpfx)bug-regex21-mem): Likewise.
55040 ($(objpfx)bug-regex31-mem): Likewise.
55041 ($(objpfx)tst-vfork3-mem): Likewise.
55042 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
55043 ($(objpfx)tst-pcre-mem): Likewise.
55044 ($(objpfx)tst-boost-mem): Likewise.
55045 ($(objpfx)bug-ga2-mem): Likewise.
55046 ($(objpfx)bug-glob2-mem): Likewise.
55047 * resolv/Makefile (generate): Likewise.
55048 (tests-special): Likewise.
55049 (xtests-special): Likewise.
55050 (generated): Likewise.
55051 ($(objpfx)mtrace-tst-leaks): Likewise.
55052 ($(objpfx)mtrace-tst-leaks2): Likewise.
55053
55054 * scripts/merge-test-results.sh: New file.
55055 * Makefile (tests-special-notdir): New variable.
55056 (tests): Run merge-test-results.sh.
55057 (xtests): Likewise.
55058 * Rules (tests-special-notdir): New variable.
55059 (xtests-special-notdir): Likewise.
55060 (tests): Run merge-test-results.sh
55061 (xtests): Likewise.
55062
55063 * Makeconfig (test-xfail-name): New variable.
55064 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
55065 compute variable name for expected failures.
55066 * conform/Makefile (conformtest-headers-data): New variable.
55067 (conformtest-standards): Likewise.
55068 (conformtest-headers-ISO): Likewise.
55069 (conformtest-headers-ISO99): Likewise.
55070 (conformtest-headers-ISO11): Likewise.
55071 (conformtest-headers-POSIX): Likewise.
55072 (conformtest-headers-XPG3): Likewise.
55073 (conformtest-headers-XPG4): Likewise.
55074 (conformtest-headers-UNIX98): Likewise.
55075 (conformtest-headers-XOPEN2K): Likewise.
55076 (conformtest-headers-POSIX2008): Likewise.
55077 (conformtest-headers-XOPEN2K8): Likewise.
55078 (conformtest-header-list-base): Likewise.
55079 (conformtest-header-list-tests): Likewise.
55080 (conformtest-header-base): Likewise.
55081 (conformtest-header-tests): Likewise.
55082 (tests-special): Add $(conformtest-header-list-tests). If
55083 [$(fast-check) && !$(cross-compiling)], add
55084 $(conformtest-header-tests) instead of
55085 $(objpfx)run-conformtest.out.
55086 (generated): Add $(conformtest-header-list-base). If
55087 [$(fast-check) && !$(cross-compiling)], add
55088 $(conformtest-header-base). Remove previous setting.
55089 ($(conformtest-header-list-tests)): New target.
55090 (test-xfail-run-conformtest): Remove variable.
55091 ($(objpfx)run-conformtest.out): Remove target.
55092 (test-xfail-ISO11/complex.h/conform): New variable.
55093 (test-xfail-ISO11/stdalign.h/conform): Likewise.
55094 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
55095 (test-xfail-XPG3/varargs.h/conform): Likewise.
55096 (test-xfail-XPG4/varargs.h/conform): Likewise.
55097 (test-xfail-UNIX98/varargs.h/conform): Likewise.
55098 (test-xfail-XPG4/ndbm.h/conform): Likewise.
55099 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
55100 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
55101 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
55102 (test-xfail-XPG3/fcntl.h/conform): Likewise.
55103 (test-xfail-XPG3/ftw.h/conform): Likewise.
55104 (test-xfail-XPG3/grp.h/conform): Likewise.
55105 (test-xfail-XPG3/langinfo.h/conform): Likewise.
55106 (test-xfail-XPG3/limits.h/conform): Likewise.
55107 (test-xfail-XPG3/pwd.h/conform): Likewise.
55108 (test-xfail-XPG3/search.h/conform): Likewise.
55109 (test-xfail-XPG3/signal.h/conform): Likewise.
55110 (test-xfail-XPG3/stdio.h/conform): Likewise.
55111 (test-xfail-XPG3/stdlib.h/conform): Likewise.
55112 (test-xfail-XPG3/string.h/conform): Likewise.
55113 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
55114 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
55115 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
55116 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
55117 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
55118 (test-xfail-XPG3/sys/types.h/conform): Likewise.
55119 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
55120 (test-xfail-XPG3/termios.h/conform): Likewise.
55121 (test-xfail-XPG3/time.h/conform): Likewise.
55122 (test-xfail-XPG3/unistd.h/conform): Likewise.
55123 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
55124 (test-xfail-XPG4/fcntl.h/conform): Likewise.
55125 (test-xfail-XPG4/langinfo.h/conform): Likewise.
55126 (test-xfail-XPG4/netdb.h/conform): Likewise.
55127 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
55128 (test-xfail-XPG4/signal.h/conform): Likewise.
55129 (test-xfail-XPG4/stdio.h/conform): Likewise.
55130 (test-xfail-XPG4/stdlib.h/conform): Likewise.
55131 (test-xfail-XPG4/stropts.h/conform): Likewise.
55132 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
55133 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
55134 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
55135 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
55136 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
55137 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
55138 (test-xfail-XPG4/sys/time.h/conform): Likewise.
55139 (test-xfail-XPG4/sys/types.h/conform): Likewise.
55140 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
55141 (test-xfail-XPG4/termios.h/conform): Likewise.
55142 (test-xfail-XPG4/ucontext.h/conform): Likewise.
55143 (test-xfail-XPG4/unistd.h/conform): Likewise.
55144 (test-xfail-XPG4/utmpx.h/conform): Likewise.
55145 (test-xfail-POSIX/sched.h/conform): Likewise.
55146 (test-xfail-POSIX/signal.h/conform): Likewise.
55147 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55148 (test-xfail-POSIX/tar.h/conform): Likewise.
55149 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
55150 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
55151 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
55152 (test-xfail-UNIX98/netdb.h/conform): Likewise.
55153 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
55154 (test-xfail-UNIX98/sched.h/conform): Likewise.
55155 (test-xfail-UNIX98/signal.h/conform): Likewise.
55156 (test-xfail-UNIX98/stdio.h/conform): Likewise.
55157 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
55158 (test-xfail-UNIX98/stropts.h/conform): Likewise.
55159 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
55160 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
55161 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
55162 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
55163 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
55164 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
55165 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
55166 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
55167 (test-xfail-UNIX98/unistd.h/conform): Likewise.
55168 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
55169 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
55170 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
55171 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
55172 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
55173 (test-xfail-XOPEN2K/math.h/conform): Likewise.
55174 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
55175 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
55176 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
55177 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
55178 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
55179 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
55180 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
55181 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
55182 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
55183 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
55184 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
55185 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
55186 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
55187 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
55188 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
55189 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
55190 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
55191 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
55192 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
55193 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
55194 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
55195 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
55196 (test-xfail-POSIX2008/signal.h/conform): Likewise.
55197 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
55198 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
55199 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
55200 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
55201 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
55202 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
55203 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
55204 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
55205 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
55206 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
55207 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
55208 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
55209 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
55210 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
55211 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
55212 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
55213 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
55214 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
55215 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
55216 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
55217 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
55218 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
55219 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
55220 (conformtest-cc-flags): Likewise.
55221 ($(conformtest-header-tests): New target.
55222 * conform/check-header-lists.sh: New file.
55223 * conform/run-conformtest.sh: Remove.
55224
55225 * conform/conformtest.pl: Allow ' and \ in values given for
55226 constants.
55227 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
55228 inclusion.
55229 [POSIX] (sys/types.h): Likewise.
55230 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
55231 inclusion.
55232 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
55233 inclusion.
55234 * conform/data/signal.h-data (SIGIO): Remove expectation.
55235 [XPG3] (SIGBUS): Do not expect.
55236 [POSIX || XPG3] (SIGPOLL): Likewise.
55237 [POSIX || XPG3] (SIGPROF): Likewise.
55238 [POSIX || XPG3] (SIGSYS): Likewise.
55239 [XPG3] (SIGTRAP): Likewise.
55240 [POSIX || XPG3] (SIGURG): Likewise.
55241 [POSIX || XPG3] (SIGVTALRM): Likewise.
55242 [POSIX || XPG3] (SIGXCPU): Likewise.
55243 [POSIX || XPG3] (SIGXFSZ): Likewise.
55244 [POSIX] (SA_SIGINFO): Expect.
55245 [XPG3] (siginfo_t): Do not expect type or contents.
55246 [POSIX] (si_pid): Do not expect element.
55247 [POSIX] (si_uid): Likewise.
55248 [POSIX] (si_addr): Likewise.
55249 [POSIX] (si_status): Likewise.
55250 [POSIX] (si_band): Likewise.
55251 [XPG4] (si_value): Likewise.
55252 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
55253 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
55254 [POSIX || XPG3] (ILL_ILLADR): Likewise.
55255 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
55256 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
55257 [POSIX || XPG3] (ILL_PRVREG): Likewise.
55258 [POSIX || XPG3] (ILL_COPROC): Likewise.
55259 [POSIX || XPG3] (ILL_BADSTK): Likewise.
55260 [POSIX || XPG3] (FPE_INTDIV): Likewise.
55261 [POSIX || XPG3] (FPE_INTOVF): Likewise.
55262 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
55263 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
55264 [POSIX || XPG3] (FPE_FLTUND): Likewise.
55265 [POSIX || XPG3] (FPE_FLTRES): Likewise.
55266 [POSIX || XPG3] (FPE_FLTINV): Likewise.
55267 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
55268 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
55269 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
55270 [POSIX || XPG3] (BUS_ADRALN): Likewise.
55271 [POSIX || XPG3] (BUS_ADRERR): Likewise.
55272 [POSIX || XPG3] (BUS_OBJERR): Likewise.
55273 [POSIX || XPG3] (CLD_EXITED): Likewise.
55274 [POSIX || XPG3] (CLD_KILLED): Likewise.
55275 [POSIX || XPG3] (CLD_DUMPED): Likewise.
55276 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
55277 [POSIX || XPG3] (CLD_STOPPED): Likewise.
55278 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
55279 [POSIX || XPG3] (POLL_IN): Likewise.
55280 [POSIX || XPG3] (POLL_OUT): Likewise.
55281 [POSIX || XPG3] (POLL_MSG): Likewise.
55282 [POSIX || XPG3] (POLL_ERR): Likewise.
55283 [POSIX || XPG3] (POLL_PRI): Likewise.
55284 [POSIX || XPG3] (POLL_HUP): Likewise.
55285 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
55286 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
55287 (SIG*): Do not allow.
55288 [XPG3] (si_*): Likewise.
55289 [XPG3] (SI_*): Likewise.
55290 [XPG3 || XPG4] (sigev_*): Likewise.
55291 [XPG3 || XPG4] (SIGEV_*): Likewise.
55292 [XPG3 || XPG4] (sival_*): Likewise.
55293 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
55294 [POSIX || XPG3] (BUS_*): Likewise.
55295 [POSIX || XPG3] (CLD_*): Likewise.
55296 [POSIX || XPG3] (FPE_*): Likewise.
55297 [POSIX || XPG3] (ILL_*): Likewise.
55298 [POSIX || XPG3] (POLL_*): Likewise.
55299 [POSIX || XPG3] (SEGV_*): Likewise.
55300 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
55301 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
55302 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
55303 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
55304 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
55305 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
55306 Specify type and value.
55307 (TVERSLEN): Likewise.
55308 (REGTYPE): Likewise.
55309 (AREGTYPE): Likewise.
55310 (LNKTYPE): Likewise.
55311 (SYMTYPE): Likewise.
55312 (CHRTYPE): Likewise.
55313 (BLKTYPE): Likewise.
55314 (DIRTYPE): Likewise.
55315 (FIFOTYPE): Likewise.
55316 (CONTTYPE): Likewise.
55317 (TSUID): Likewise.
55318 (TSGID): Likewise.
55319 (TSVTX): Likewise.
55320 (TUREAD): Likewise.
55321 (TUWRITE): Likewise.
55322 (TUEXEC): Likewise.
55323 (TGREAD): Likewise.
55324 (TGWRITE): Likewise.
55325 (TGEXEC): Likewise.
55326 (TOREAD): Likewise.
55327 (TOWRITE): Likewise.
55328 (TOEXEC): Likewise.
55329 [POSIX] (TSVTX): Expect constant.
55330
55331 2014-03-06 Joseph Myers <joseph@codesourcery.com>
55332
55333 * Makefile (tests): Change dependencies to ....
55334 (tests-special): ... additions to this variable.
55335 (tests): Depend on $(tests-special).
55336 * Makerules (check-abi-list): New variable.
55337 (check-abi): Depend on $(check-abi-list).
55338 [$(subdir) = elf] (tests-special): Add
55339 $(objpfx)check-abi-libc.out.
55340 [$(build-shared) = yes && subdir] (tests-special): Add
55341 $(check-abi-list).
55342 [$(build-shared) = yes && subdir] (tests): Do not depend on
55343 check-abi.
55344 * Rules (tests): Depend on $(tests-special).
55345 (xtests): Depend on $(xtests-special).
55346 * catgets/Makefile (tests): Change dependencies to ....
55347 (tests-special): ... additions to this variable.
55348 * conform/Makefile (tests): Change dependencies to ....
55349 (tests-special): ... additions to this variable.
55350 * elf/Makefile (tests): Change dependencies to ....
55351 (tests-special): ... additions to this variable.
55352 * grp/Makefile (tests): Change dependencies to ....
55353 (tests-special): ... additions to this variable.
55354 * iconv/Makefile (xtests): Change dependencies to ....
55355 (xtests-special): ... additions to this variable.
55356 * iconvdata/Makefile (tests): Change dependencies to ....
55357 (tests-special): ... additions to this variable.
55358 * intl/Makefile (tests): Change dependencies to ....
55359 (tests-special): ... additions to this variable. Also add
55360 $(objpfx)tst-gettext.out.
55361 * io/Makefile (tests): Change dependencies to ....
55362 (tests-special): ... additions to this variable.
55363 * libio/Makefile (tests): Change dependencies to ....
55364 (tests-special): ... additions to this variable.
55365 * malloc/Makefile (tests): Change dependencies to ....
55366 (tests-special): ... additions to this variable.
55367 * misc/Makefile (tests): Change dependencies to ....
55368 (tests-special): ... additions to this variable.
55369 * nptl/Makefile (tests): Change dependencies to ....
55370 (tests-special): ... additions to this variable.
55371 * nptl_db/Makefile (tests): Change dependencies to ....
55372 (tests-special): ... additions to this variable.
55373 * posix/Makefile (tests): Change dependencies to ....
55374 (tests-special): ... additions to this variable.
55375 (xtests): Change dependencies to ....
55376 (xtests-special): ... additions to this variable.
55377 * resolv/Makefile (tests): Change dependencies to ....
55378 (tests-special): ... additions to this variable.
55379 (xtests): Change dependencies to ....
55380 (xtests-special): ... additions to this variable.
55381 * stdio-common/Makefile (tests): Change dependencies to ....
55382 (tests-special): ... additions to this variable.
55383 (do-tst-unbputc): Remove target.
55384 (do-tst-printf): Likewise.
55385 * stdlib/Makefile (tests): Change dependencies to ....
55386 (tests-special): ... additions to this variable.
55387 * string/Makefile (tests): Change dependencies to ....
55388 (tests-special): ... additions to this variable.
55389 * sysdeps/x86/Makefile (tests): Change dependencies to ....
55390 (tests-special): ... additions to this variable.
55391
55392 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
55393 whole file.
55394 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
55395 whole file.
55396 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
55397 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
55398
55399 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
55400 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
55401 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
55402 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
55403 * conform/data/libgen.h-data [XPG3]: Likewise.
55404 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
55405 * conform/data/ndbm.h-data [XPG3]: Likewise.
55406 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55407 * conform/data/netdb.h-data [XPG3]: Likewise.
55408 * conform/data/netinet/in.h-data [XPG3]: Likewise.
55409 * conform/data/poll.h-data [XPG3]: Likewise.
55410 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55411 * conform/data/strings.h-data [XPG3]: Likewise.
55412 * conform/data/stropts.h-data [XPG3]: Likewise.
55413 * conform/data/sys/mman.h-data [XPG3]: Likewise.
55414 * conform/data/sys/resource.h-data [XPG3]: Likewise.
55415 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
55416 Likewise.
55417 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
55418 * conform/data/sys/time.h-data [XPG3]: Likewise.
55419 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
55420 * conform/data/sys/uio.h-data [XPG3]: Likewise.
55421 * conform/data/sys/un.h-data [XPG3]: Likewise.
55422 * conform/data/syslog.h-data [XPG3]: Likewise.
55423 * conform/data/ucontext.h-data [XPG3]: Likewise.
55424 * conform/data/utmpx.h-data [XPG3]: Likewise.
55425 * conform/data/varargs.h-data [UNIX98]: Enable file.
55426
55427 * manual/Makefile (INSTALL_INFO): Remove variable setting.
55428
55429 * math/libm-test.inc (struct test_f_f_data): Move expected results
55430 into structure for each rounding mode.
55431 (struct test_ff_f_data): Likewise.
55432 (struct test_ff_f_data_nexttoward): Likewise.
55433 (struct test_fi_f_data): Likewise.
55434 (struct test_fl_f_data): Likewise.
55435 (struct test_if_f_data): Likewise.
55436 (struct test_fff_f_data): Likewise.
55437 (struct test_c_f_data): Likewise.
55438 (struct test_f_f1_data): Likewise.
55439 (struct test_fF_f1_data): Likewise.
55440 (struct test_ffI_f1_data): Likewise.
55441 (struct test_c_c_data): Likewise.
55442 (struct test_cc_c_data): Likewise.
55443 (struct test_f_i_data): Likewise.
55444 (struct test_ff_i_data): Likewise.
55445 (struct test_f_l_data): Likewise.
55446 (struct test_f_L_data): Likewise.
55447 (struct test_fFF_11_data): Likewise.
55448 (RM_): New macro.
55449 (RM_FE_DOWNWARD): Likewise.
55450 (RM_FE_TONEAREST): Likewise.
55451 (RM_FE_TOWARDZERO): Likewise.
55452 (RM_FE_UPWARD): Likewise.
55453 (RUN_TEST_LOOP_f_f): Update references to expected results.
55454 (RUN_TEST_LOOP_2_f): Likewise.
55455 (RUN_TEST_LOOP_fff_f): Likewise.
55456 (RUN_TEST_LOOP_c_f): Likewise.
55457 (RUN_TEST_LOOP_f_f1): Likewise.
55458 (RUN_TEST_LOOP_fF_f1): Likewise.
55459 (RUN_TEST_LOOP_fI_f1): Likewise.
55460 (RUN_TEST_LOOP_ffI_f1): Likewise.
55461 (RUN_TEST_LOOP_c_c): Likewise.
55462 (RUN_TEST_LOOP_cc_c): Likewise.
55463 (RUN_TEST_LOOP_f_i): Likewise.
55464 (RUN_TEST_LOOP_f_i_tg): Likewise.
55465 (RUN_TEST_LOOP_ff_i_tg): Likewise.
55466 (RUN_TEST_LOOP_f_b): Likewise.
55467 (RUN_TEST_LOOP_f_b_tg): Likewise.
55468 (RUN_TEST_LOOP_f_l): Likewise.
55469 (RUN_TEST_LOOP_f_L): Likewise.
55470 (RUN_TEST_LOOP_fFF_11): Likewise.
55471 * math/gen-libm-test.pl (parse_args): Output four copies of
55472 expected results for each test.
55473
55474 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55475 (__ASSUME_UTIMES): Remove.
55476 * sysdeps/unix/sysv/linux/tile/kernel-features.h
55477 (__ASSUME_UTIMES): Likewise.
55478
55479 * math/gen-auto-libm-tests.c: Update comment on output format.
55480 (output_for_one_input_case): Generate before-rounding and
55481 after-rounding information as conditions on output flags not
55482 floating-point format.
55483 * math/auto-libm-test-out: Regenerated.
55484 * math/gen-libm-test.pl (cond_value): New function.
55485 (or_cond_value): Use cond_value.
55486 (generate_testfile): Handle conditional exceptions.
55487
55488 2014-03-05 Joseph Myers <joseph@codesourcery.com>
55489
55490 * math/libm-test.inc (max_valid_error): New variable.
55491 (init_max_error): Take new argument specifying whether function
55492 results are exactly determined. Set max_valid_error and bound
55493 other variables for errors based on this argument.
55494 (set_max_error): Do not record results above max_valid_error.
55495 (check_float_internal): Only accept errors of up to 0.5ulps if
55496 also at most max_valid_error.
55497 (START): Take new argument EXACT and pass it to init_max_error.
55498 (acos_test): Update call to START.
55499 (acos_test_tonearest): Likewise.
55500 (acos_test_towardzero): Likewise.
55501 (acos_test_downward): Likewise.
55502 (acos_test_upward): Likewise.
55503 (acosh_test): Likewise.
55504 (asin_test): Likewise.
55505 (asin_test_tonearest): Likewise.
55506 (asin_test_towardzero): Likewise.
55507 (asin_test_downward): Likewise.
55508 (asin_test_upward): Likewise.
55509 (asinh_test): Likewise.
55510 (atan_test): Likewise.
55511 (atanh_test): Likewise.
55512 (atan2_test): Likewise.
55513 (cabs_test): Likewise.
55514 (cacos_test): Likewise.
55515 (cacosh_test): Likewise.
55516 (carg_test): Likewise.
55517 (casin_test): Likewise.
55518 (casinh_test): Likewise.
55519 (catan_test): Likewise.
55520 (catanh_test): Likewise.
55521 (cbrt_test): Likewise.
55522 (ccos_test): Likewise.
55523 (ccosh_test): Likewise.
55524 (ceil_test): Likewise.
55525 (cexp_test): Likewise.
55526 (cimag_test): Likewise.
55527 (clog_test): Likewise.
55528 (clog10_test): Likewise.
55529 (conj_test): Likewise.
55530 (copysign_test): Likewise.
55531 (cos_test): Likewise.
55532 (cos_test_tonearest): Likewise.
55533 (cos_test_towardzero): Likewise.
55534 (cos_test_downward): Likewise.
55535 (cos_test_upward): Likewise.
55536 (cosh_test): Likewise.
55537 (cosh_test_tonearest): Likewise.
55538 (cosh_test_towardzero): Likewise.
55539 (cosh_test_downward): Likewise.
55540 (cosh_test_upward): Likewise.
55541 (cpow_test): Likewise.
55542 (cproj_test): Likewise.
55543 (creal_test): Likewise.
55544 (csin_test): Likewise.
55545 (csinh_test): Likewise.
55546 (csqrt_test): Likewise.
55547 (ctan_test): Likewise.
55548 (ctan_test_tonearest): Likewise.
55549 (ctan_test_towardzero): Likewise.
55550 (ctan_test_downward): Likewise.
55551 (ctan_test_upward): Likewise.
55552 (ctanh_test): Likewise.
55553 (ctanh_test_tonearest): Likewise.
55554 (ctanh_test_towardzero): Likewise.
55555 (ctanh_test_downward): Likewise.
55556 (ctanh_test_upward): Likewise.
55557 (erf_test): Likewise.
55558 (erfc_test): Likewise.
55559 (exp_test): Likewise.
55560 (exp_test_tonearest): Likewise.
55561 (exp_test_towardzero): Likewise.
55562 (exp_test_downward): Likewise.
55563 (exp_test_upward): Likewise.
55564 (exp10_test): Likewise.
55565 (exp10_test_tonearest): Likewise.
55566 (exp10_test_towardzero): Likewise.
55567 (exp10_test_downward): Likewise.
55568 (exp10_test_upward): Likewise.
55569 (pow10_test): Likewise.
55570 (exp2_test): Likewise.
55571 (expm1_test): Likewise.
55572 (expm1_test_tonearest): Likewise.
55573 (expm1_test_towardzero): Likewise.
55574 (expm1_test_downward): Likewise.
55575 (expm1_test_upward): Likewise.
55576 (fabs_test): Likewise.
55577 (fdim_test): Likewise.
55578 (floor_test): Likewise.
55579 (fma_test): Likewise.
55580 (fma_test_towardzero): Likewise.
55581 (fma_test_downward): Likewise.
55582 (fma_test_upward): Likewise.
55583 (fmax_test): Likewise.
55584 (fmin_test): Likewise.
55585 (fmod_test): Likewise.
55586 (fpclassify_test): Likewise.
55587 (frexp_test): Likewise.
55588 (hypot_test): Likewise.
55589 (ilogb_test): Likewise.
55590 (isfinite_test): Likewise.
55591 (finite_test): Likewise.
55592 (isgreater_test): Likewise.
55593 (isgreaterequal_test): Likewise.
55594 (isinf_test): Likewise.
55595 (isless_test): Likewise.
55596 (islessequal_test): Likewise.
55597 (islessgreater_test): Likewise.
55598 (isnan_test): Likewise.
55599 (isnormal_test): Likewise.
55600 (issignaling_test): Likewise.
55601 (isunordered_test): Likewise.
55602 (j0_test): Likewise.
55603 (j1_test): Likewise.
55604 (jn_test): Likewise.
55605 (ldexp_test): Likewise.
55606 (lgamma_test): Likewise.
55607 (gamma_test): Likewise.
55608 (lrint_test): Likewise.
55609 (lrint_test_tonearest): Likewise.
55610 (lrint_test_towardzero): Likewise.
55611 (lrint_test_downward): Likewise.
55612 (lrint_test_upward): Likewise.
55613 (llrint_test): Likewise.
55614 (llrint_test_tonearest): Likewise.
55615 (llrint_test_towardzero): Likewise.
55616 (llrint_test_downward): Likewise.
55617 (llrint_test_upward): Likewise.
55618 (log_test): Likewise.
55619 (log10_test): Likewise.
55620 (log1p_test): Likewise.
55621 (log2_test): Likewise.
55622 (logb_test): Likewise.
55623 (logb_test_downward): Likewise.
55624 (lround_test): Likewise.
55625 (llround_test): Likewise.
55626 (modf_test): Likewise.
55627 (nearbyint_test): Likewise.
55628 (nextafter_test): Likewise.
55629 (nexttoward_test): Likewise.
55630 (pow_test): Likewise.
55631 (pow_test_tonearest): Likewise.
55632 (pow_test_towardzero): Likewise.
55633 (pow_test_downward): Likewise.
55634 (pow_test_upward): Likewise.
55635 (remainder_test): Likewise.
55636 (drem_test): Likewise.
55637 (remainder_test_tonearest): Likewise.
55638 (drem_test_tonearest): Likewise.
55639 (remainder_test_towardzero): Likewise.
55640 (drem_test_towardzero): Likewise.
55641 (remainder_test_downward): Likewise.
55642 (drem_test_downward): Likewise.
55643 (remainder_test_upward): Likewise.
55644 (drem_test_upward): Likewise.
55645 (remquo_test): Likewise.
55646 (rint_test): Likewise.
55647 (rint_test_tonearest): Likewise.
55648 (rint_test_towardzero): Likewise.
55649 (rint_test_downward): Likewise.
55650 (rint_test_upward): Likewise.
55651 (round_test): Likewise.
55652 (scalb_test): Likewise.
55653 (scalbn_test): Likewise.
55654 (scalbln_test): Likewise.
55655 (signbit_test): Likewise.
55656 (sin_test): Likewise.
55657 (sin_test_tonearest): Likewise.
55658 (sin_test_towardzero): Likewise.
55659 (sin_test_downward): Likewise.
55660 (sin_test_upward): Likewise.
55661 (sincos_test): Likewise.
55662 (sinh_test): Likewise.
55663 (sinh_test_tonearest): Likewise.
55664 (sinh_test_towardzero): Likewise.
55665 (sinh_test_downward): Likewise.
55666 (sinh_test_upward): Likewise.
55667 (sqrt_test): Likewise.
55668 (sqrt_test_tonearest): Likewise.
55669 (sqrt_test_towardzero): Likewise.
55670 (sqrt_test_downward): Likewise.
55671 (sqrt_test_upward): Likewise.
55672 (tan_test): Likewise.
55673 (tan_test_tonearest): Likewise.
55674 (tan_test_towardzero): Likewise.
55675 (tan_test_downward): Likewise.
55676 (tan_test_upward): Likewise.
55677 (tanh_test): Likewise.
55678 (tgamma_test): Likewise.
55679 (trunc_test): Likewise.
55680 (y0_test): Likewise.
55681 (y1_test): Likewise.
55682 (yn_test): Likewise.
55683 (significand_test): Likewise.
55684
55685 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
55686 individual tests in comment.
55687 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
55688 (prev_max_error): New variable.
55689 (prev_real_max_error): Likewise.
55690 (prev_imag_max_error): Likewise.
55691 (compare_ulp_data): Don't refer to test names in comment.
55692 (find_test_ulps): Remove function.
55693 (find_function_ulps): Likewise.
55694 (find_complex_function_ulps): Likewise.
55695 (init_max_error): Take function name as argument. Look up ulps
55696 for that function.
55697 (print_ulps): Remove function.
55698 (print_max_error): Use prev_max_error instead of calling
55699 find_function_ulps.
55700 (print_complex_max_error): Use prev_real_max_error and
55701 prev_imag_max_error instead of calling find_complex_function_ulps.
55702 (check_float_internal): Take max_ulp parameter instead of calling
55703 find_test_ulps. Don't call print_ulps.
55704 (check_float): Update call to check_float_internal.
55705 (check_complex): Update calls to check_float_internal.
55706 (START): Pass argument to init_max_error.
55707 * math/gen-libm-test.pl (%results): Don't include "kind"
55708 information.
55709 (parse_ulps): Don't handle ulps of individual tests.
55710 (print_ulps_file): Likewise.
55711 (output_ulps): Likewise.
55712 * math/README.libm-test: Update.
55713 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
55714 individual tests.
55715 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
55716 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
55717 * sysdeps/arm/libm-test-ulps: Likewise.
55718 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
55719 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
55720 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
55721 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
55722 * sysdeps/microblaze/libm-test-ulps: Likewise.
55723 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
55724 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
55725 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55726 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
55727 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55728 * sysdeps/sh/libm-test-ulps: Likewise.
55729 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55730 * sysdeps/tile/libm-test-ulps: Likewise.
55731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55732
55733 2014-03-04 Joseph Myers <joseph@codesourcery.com>
55734
55735 * math/libm-test.inc (print_complex_max_error): Check separately
55736 whether real and imaginary errors are within allowed range and
55737 pass 0 to print_complex_function_ulps instead of value within
55738 allowed range.
55739
55740 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
55741
55742 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
55743 formatting.
55744 (get_handles_fopen): Likewise.
55745 (do_write_test): Likewise.
55746
55747 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
55748
55749 * libio/fileops.c (do_ftell): Use cached offset when
55750 available.
55751 * libio/iofwide.c (do_ftell_wide): Likewise.
55752 * libio/iofdopen.c (_IO_new_fdopen): Don't use
55753 _IO_file_attach.
55754 * libio/wfileops.c (_IO_fwide): Don't cache offset.
55755
55756 [BZ #16532]
55757 * libio/libioP.h (get_file_offset): New function.
55758 * libio/fileops.c (get_file_offset): Likewise.
55759 (do_ftell): Likewise.
55760 (_IO_new_file_seekoff): Split out ftell logic.
55761 * libio/wfileops.c (do_ftell_wide): Likewise.
55762 (_IO_wfile_seekoff): Split out ftell logic.
55763 * libio/tst-ftell-active-handler.c: New test case.
55764 * libio/Makefile (tests): Add it.
55765
55766 2014-03-03 Roland McGrath <roland@hack.frob.com>
55767
55768 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
55769 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
55770
55771 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
55772
55773 [BZ #16639]
55774 * nscd/connections.c (nscd_init): Call do_exit.
55775 (start_threads): Call do_exit and notify_parent.
55776 (begin_drop_privileges): Call do_exit.
55777 (finish_drop_privileges): Likewise.
55778 * nscd/selinux.c (preserve_capabilities): Likewise.
55779 (install_real_capabilities): Likewise.
55780 (nscd_selinux_enabled): Likewise.
55781 (avc_create_thread): Likewise.
55782 (avc_alloc_lock): Likewise.
55783 (nscd_avc_init): Likewise.
55784 * nscd/nscd.c (parent_fd): New static variable.
55785 (main): Create a pipe between parent and child processes.
55786 Skip closing parent_fd.
55787 (monitor_child): New function.
55788 (do_exit): Likewise.
55789 (notify_parent): Likewise.
55790 * nscd/nscd.h (notify_parent): Likewise.
55791 (do_exit): Likewise.
55792
55793 2014-03-03 Carlos O'Donell <carlos@redhat.com>
55794
55795 * malloc/malloc.c (__libc_calloc): Revert last change.
55796
55797 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55798
55799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55800
55801 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
55802
55803 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
55804 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
55805 implementation.
55806 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55807 (__libc_ifunc_impl_list): Likewise.
55808 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
55809 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
55810 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
55811 * string/strrchr.c: Define STRRCHR.
55812
55813 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
55814
55815 * benchtest/bench-strtok.c (simple_strtok): Delete.
55816 (strtok_string): Use as benchmark.
55817 * string/strtok (STRTOK): New macro.
55818
55819 2014-02-28 Carlos O'Donell <carlos@redhat.com>
55820
55821 * manual/threads.texi: Add header and standard comments to all
55822 functions.
55823
55824 * elf/dl-lookup.c (check_match): New function.
55825 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
55826 (do_lookup_x): Remove nested function check_match. Use non-nested
55827 function check_match.
55828
55829 2014-02-28 Roland McGrath <roland@hack.frob.com>
55830
55831 * csu/Makefile (generated, before-compile): Use += rather than =.
55832 * catgets/Makefile (generated, generated-dirs): Likewise.
55833 * debug/Makefile (generated): Likewise.
55834 * dlfcn/Makefile (generated): Likewise.
55835 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
55836 * iconvdata/Makefile (before-compile, generated): Likewise.
55837 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
55838 * libio/Makefile (generated): Likewise.
55839 * malloc/Makefile (generated): Likewise.
55840 * manual/Makefile (generated, generated-dirs): Likewise.
55841 * misc/Makefile (generated): Likewise.
55842 * posix/Makefile (generated): Likewise.
55843 * resolv/Makefile (generated): Likewise.
55844 * sunrpc/Makefile (generated, generated-dirs): Likewise.
55845 * timezone/Makefile (generated, generated-dirs): Likewise.
55846
55847 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
55848
55849 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55850
55851 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
55852 power8 implementation.
55853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
55854 file: POWER8 llround ifunc implementation.
55855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
55856 (__lllround): Add POWER8 implementation.
55857 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
55858 POWER8 llround implementation.
55859
55860 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
55861 power8 implementation.
55862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
55863 file: POWER8 llrint ifunc implementation.
55864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
55865 Add POWER8 implementation.
55866 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
55867 POWER8 llrint implementation.
55868
55869 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
55870 power8 implementation.
55871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
55872 file: POWER8 finite ifunc implementation.
55873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
55874 Add POWER8 implementation.
55875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
55876 Likewise.
55877 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
55878 POWER8 finite implementation.
55879 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
55880
55881 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
55882 power8 implementation.
55883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
55884 file: POWER8 isinf ifunc implementation.
55885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
55886 POWER8 implementation.
55887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
55888 Likewise.
55889 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
55890 isinf implementation.
55891 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
55892
55893 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
55894 (INIT_ARCH): Add hwcap2 initialization.
55895 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
55896 power8 implementation.
55897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
55898 file: POWER8 isnan ifunc implementation.
55899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
55900 POWER8 implementation.
55901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
55902 Likewise.
55903 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
55904 isnan implementation.
55905 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
55906
55907 2014-02-27 Joey Ye <joey.ye@arm.com>
55908
55909 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
55910 (_FP_NANFRAC_Q): Set to zero.
55911
55912 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
55913
55914 [BZ #16623]
55915 * math/auto-libm-test-in: New test inputs.
55916 * math/auto-libm-test-out: Regenerate.
55917 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
55918 and DA.
55919 (__cos): Likewise.
55920 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
55921
55922 2014-02-27 Joseph Myers <joseph@codesourcery.com>
55923
55924 * scripts/evaluate-test.sh: Take new argument indicating whether
55925 failure is expected.
55926 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
55927 indicating whether failure is expected.
55928 * conform/Makefile (test-xfail-run-conformtest): New variable.
55929 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
55930 level.
55931 * posix/Makefile (test-xfail-annexc): New variable.
55932 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
55933
55934 2014-02-26 Joseph Myers <joseph@codesourcery.com>
55935
55936 * argp/Makefile: Include Makeconfig immediately after defining
55937 subdir.
55938 * assert/Makefile: Likewise.
55939 * benchtests/Makefile: Likewise.
55940 * catgets/Makefile: Likewise.
55941 * conform/Makefile: Likewise.
55942 * crypt/Makefile: Likewise.
55943 * csu/Makefile: Likewise.
55944 (all): Remove target.
55945 * ctype/Makefile: Include Makeconfig immediately after defining
55946 subdir.
55947 * debug/Makefile: Likewise.
55948 * dirent/Makefile: Likewise.
55949 * dlfcn/Makefile: Likewise.
55950 * gmon/Makefile: Likewise.
55951 * gnulib/Makefile: Likewise.
55952 * grp/Makefile: Likewise.
55953 * gshadow/Makefile: Likewise.
55954 * hesiod/Makefile: Likewise.
55955 * hurd/Makefile: Likewise.
55956 (all): Remove target.
55957 * iconvdata/Makefile: Include Makeconfig immediately after
55958 defining subdir.
55959 * inet/Makefile: Likewise.
55960 * intl/Makefile: Likewise.
55961 * io/Makefile: Likewise.
55962 * libio/Makefile: Likewise.
55963 (all): Remove target.
55964 * locale/Makefile: Include Makeconfig immediately after defining
55965 subdir.
55966 * login/Makefile: Likewise.
55967 * mach/Makefile: Likewise.
55968 (all): Remove target.
55969 * malloc/Makefile: Include Makeconfig immediately after defining
55970 subdir.
55971 (all): Remove target.
55972 * manual/Makefile: Include Makeconfig immediately after defining
55973 subdir.
55974 * math/Makefile: Likewise.
55975 * misc/Makefile: Likewise.
55976 * nis/Makefile: Likewise.
55977 * nss/Makefile: Likewise.
55978 * po/Makefile: Likewise.
55979 (all): Remove target.
55980 * posix/Makefile: Include Makeconfig immediately after defining
55981 subdir.
55982 * pwd/Makefile: Likewise.
55983 * resolv/Makefile: Likewise.
55984 * resource/Makefile: Likewise.
55985 * rt/Makefile: Likewise.
55986 * setjmp/Makefile: Likewise.
55987 * shadow/Makefile: Likewise.
55988 * signal/Makefile: Likewise.
55989 * socket/Makefile: Likewise.
55990 * soft-fp/Makefile: Likewise.
55991 * stdio-common/Makefile: Likewise.
55992 * stdlib/Makefile: Likewise.
55993 * streams/Makefile: Likewise.
55994 * string/Makefile: Likewise.
55995 * sunrpc/Makefile: Likewise.
55996 (all): Remove target.
55997 * sysvipc/Makefile: Include Makeconfig immediately after defining
55998 subdir.
55999 * termios/Makefile: Likewise.
56000 * time/Makefile: Likewise.
56001 * timezone/Makefile: Likewise.
56002 (all): Remove target.
56003 * wcsmbs/Makefile: Include Makeconfig immediately after defining
56004 subdir.
56005 * wctype/Makefile: Likewise.
56006
56007 2014-02-26 Steve Ellcey <sellcey@mips.com>
56008
56009 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
56010 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
56011 (libc_feholdexcept_setround_mips): Ditto.
56012 (libc_feholdsetround): New.
56013 (libc_feholdsetroundf): New.
56014 (libc_feholdsetroundl): New.
56015 (libc_feupdateenv_test_mips): New.
56016 (libc_feupdateenv_test): New.
56017 (libc_feupdateenv_testf): New.
56018 (libc_feupdateenv_testl): New.
56019 (libc_feresetround): New.
56020 (libc_feresetroundf): New.
56021 (libc_feresetroundl): New.
56022 (libc_fetestexcept_mips): New.
56023 (libc_fetestexcept): New.
56024 (libc_fetestexceptf): New.
56025 (libc_fetestexceptl): New.
56026 (HAVE_RM_CTX): New.
56027 (libc_feholdexcept_setround_mips_ctx): New.
56028 (libc_feholdexcept_setround_ctx): New.
56029 (libc_feholdexcept_setroundf_ctx): New.
56030 (libc_feholdexcept_setroundl_ctx): New.
56031 (libc_fesetenv_mips_ctx): New.
56032 (libc_fesetenv_ctx): New.
56033 (libc_fesetenv_ctxf): New.
56034 (libc_fesetenv_ctxl): New.
56035 (libc_feupdateenv_mips_ctx): New.
56036 (libc_feupdateenv_ctx): New.
56037 (libc_feupdateenvf_ctx): New.
56038 (libc_feupdateenvl_ctx): New.
56039 (libc_feholdsetround_mips_ctx): New.
56040 (libc_feholdsetround_ctx): New.
56041 (libc_feholdsetroundf_ctx): New.
56042 (libc_feholdsetroundl_ctx): New.
56043 (libc_feresetround_mips_ctx): New.
56044 (libc_feresetround_ctx): New.
56045 (libc_feresetroundf_ctx): New.
56046 (libc_feresetroundl_ctx): New.
56047
56048 2014-02-26 Carlos O'Donell <carlos@redhat.com>
56049
56050 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
56051
56052 * manual/ipc.texi: New file.
56053 * manual/Makefile (chapters): Add ipc.
56054 * manual/job.texi: Add "Inter-Process Communication" to next.
56055 * manual/process.texi: Add "Inter-Process Communication" to prev.
56056
56057 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56058
56059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56060
56061 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
56062
56063 * malloc/malloc.c (__libc_calloc): Simplify implementation.
56064
56065 * manual/arith.texi: Fix spaces after sentences.
56066 * manual/charset.texi: Likewise.
56067 * manual/errno.texi: Likewise.
56068 * manual/install.texi: Likewise.
56069 * manual/llio.texi: Likewise.
56070 * manual/locale.texi: Likewise.
56071 * manual/maint.texi: Likewise.
56072 * manual/math.texi: Likewise.
56073 * manual/memory.texi: Likewise.
56074 * manual/message.texi: Likewise.
56075 * manual/probes.texi: Likewise.
56076 * manual/resource.texi: Likewise.
56077 * manual/signal.texi: Likewise.
56078 * manual/socket.texi: Likewise.
56079 * manual/stdio.texi: Likewise.
56080 * manual/string.texi: Likewise.
56081 * manual/time.texi: Likewise.
56082 * manual/users.texi: Likewise.
56083
56084 2014-02-25 Carlos O'Donell <carlos@redhat.com>
56085
56086 [BZ #16632]
56087 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
56088 _DEFAULT_SOURCE is defined.
56089
56090 2014-02-25 Ulrich Drepper <drepper@gmail.com>
56091 Carlos O'Donell <carlos@redhat.com>
56092
56093 [BZ #16613]
56094 * elf/dl-tls.c (_dl_count_modids): New function.
56095 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
56096 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
56097 audit library and increment generation counter.
56098 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
56099 * elf/tst-audit9.c: New file.
56100 * elf/tst-auditmod9a.c: New file.
56101 * elf/tst-auditmod9b.c: New file.
56102 * elf/Makefile: Add rules to build and run tst-audit9.
56103
56104 2014-02-25 Florian Weimer <fweimer@redhat.com>
56105
56106 [BZ #15347]
56107 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
56108
56109 2014-02-25 Will Newton <will.newton@linaro.org>
56110
56111 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
56112 (__longjmp): Restore sp and lr before restoring callee
56113 saved registers. Add longjmp and longjmp_target
56114 SystemTap probe point.
56115 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
56116 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
56117 Define to zero to match jmpbuf layout.
56118 * sysdeps/arm/setjmp.S: Include stap-probe.h.
56119 (__sigsetjmp): Save sp and lr before saving callee
56120 saved registers. Add setjmp SystemTap probe point.
56121
56122 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
56123
56124 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
56125
56126 2014-02-24 Andreas Schwab <schwab@suse.de>
56127
56128 [BZ #15804]
56129 * elf/pldd.c (wait_for_ptrace_stop): New function.
56130 (main): Call it after attaching.
56131
56132 2014-02-22 Roland McGrath <roland@hack.frob.com>
56133
56134 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
56135 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
56136 Versions files is now verboten.
56137 * hurd/Versions (libc: GLIBC_2.0):
56138 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
56139 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
56140 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
56141 * mach/Versions: Likewise.
56142
56143 * csu/Versions: Remove unused %include.
56144 * resolv/Versions: Likewise.
56145
56146 2014-02-21 Joseph Myers <joseph@codesourcery.com>
56147
56148 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
56149 ($(objpfx)check-local-headers.out): Likewise.
56150 ($(objpfx)begin-end-check.out): Likewise.
56151 * Makerules (check-abi-%.out): Likewise.
56152 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
56153 ($(objpfx)test2.cat): Likewise.
56154 ($(objpfx)de/libc.cat): Likewise.
56155 ($(objpfx)test-gencat.out): Likewise.
56156 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
56157 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
56158 ($(objpfx)noload-mem): Likewise.
56159 ($(objpfx)tst-pathopt.out): Likewise.
56160 ($(objpfx)tst-rtld-load-self.out): Likewise.
56161 ($(objpfx)tst-array1-cmp.out): Likewise.
56162 ($(objpfx)tst-array1-static-cmp.out): Likewise.
56163 ($(objpfx)tst-array2-cmp.out): Likewise.
56164 ($(objpfx)tst-array3-cmp.out): Likewise.
56165 ($(objpfx)tst-array4-cmp.out): Likewise.
56166 ($(objpfx)tst-array5-cmp.out): Likewise.
56167 ($(objpfx)tst-array5-static-cmp.out): Likewise.
56168 ($(objpfx)check-textrel.out): Likewise.
56169 ($(objpfx)check-execstack.out): Likewise.
56170 ($(objpfx)check-localplt.out): Likewise.
56171 ($(objpfx)order2-cmp.out): Likewise.
56172 ($(objpfx)tst-leaks1-mem): Likewise.
56173 ($(objpfx)tst-leaks1-static-mem): Likewise.
56174 ($(objpfx)tst-initorder-cmp.out): Likewise.
56175 ($(objpfx)tst-initorder2-cmp.out): Likewise.
56176 ($(objpfx)tst-unused-dep.out): Likewise.
56177 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
56178 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
56179 * iconv/Makefile (test-iconvconfig): Likewise.
56180 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
56181 ($(objpfx)iconv-test.out): Likewise.
56182 ($(objpfx)tst-tables.out): Likewise.
56183 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
56184 ($(objpfx)tst-gettext.out): Likewise.
56185 ($(objpfx)tst-translit.out): Likewise.
56186 ($(objpfx)tst-gettext2.out): Likewise.
56187 ($(objpfx)tst-gettext4.out): Likewise.
56188 ($(objpfx)tst-gettext6.out): Likewise.
56189 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
56190 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
56191 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
56192 ($(objpfx)tst-fopenloc-mem.out): Likewise.
56193 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
56194 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
56195 * posix/Makefile ($(objpfx)globtest.out): Likewise.
56196 ($(objpfx)wordexp-tst.out): Likewise.
56197 ($(objpfx)annexc.out): Likewise.
56198 ($(objpfx)tst-fnmatch-mem): Likewise.
56199 ($(objpfx)bug-regex2-mem): Likewise.
56200 ($(objpfx)bug-regex14-mem): Likewise.
56201 ($(objpfx)bug-regex21-mem): Likewise.
56202 ($(objpfx)bug-regex31-mem): Likewise.
56203 ($(objpfx)tst-vfork3-mem): Likewise.
56204 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
56205 ($(objpfx)tst-pcre-mem): Likewise.
56206 ($(objpfx)tst-boost-mem): Likewise.
56207 ($(objpfx)tst-getconf.out): Likewise.
56208 ($(objpfx)bug-ga2-mem): Likewise.
56209 ($(objpfx)bug-glob2-mem): Likewise.
56210 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
56211 ($(objpfx)mtrace-tst-leaks2): Likewise.
56212 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
56213 ($(objpfx)tst-printf.out): Likewise.
56214 ($(objpfx)tst-setvbuf1.out): Likewise.
56215 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
56216 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
56217 ($(objpfx)tst-fmtmsg.out): Likewise.
56218 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
56219 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
56220
56221 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
56222 * bits/sigaction.h [__USE_MISC]: Likewise.
56223 * bits/waitstatus.h: Update #endif comments.
56224 * ctype/ctype.h: Likewise.
56225 * dirent/dirent.h: Likewise.
56226 [__USE_MISC]: Remove redundant conditionals.
56227 * grp/grp.h: Update #endif comments.
56228 [__USE_GNU]: Remove redundant conditionals.
56229 [__USE_MISC]: Likewise.
56230 * inet/netinet/in.h [__USE_GNU]: Likewise.
56231 * io/sys/stat.h [__USE_MISC]: Likewise.
56232 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
56233 * libio/bits/stdio.h: Update #endif comments.
56234 [__USE_MISC]: Remove redundant conditionals.
56235 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
56236 * libio/stdio.h: Update #endif comments.
56237 [__USE_MISC]: Remove redundant conditionals.
56238 * math/bits/math-finite.h [__USE_MISC]: Likewise.
56239 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
56240 * math/math.h: Update #else and #endif comments.
56241 [__USE_MISC]: Remove redundant conditionals.
56242 * misc/sys/uio.h: Update #endif comments.
56243 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
56244 * posix/glob.h [__USE_MISC]: Likewise.
56245 * posix/sys/types.h: Update #endif comments.
56246 [__USE_MISC]: Remove redundant conditionals.
56247 * posix/sys/wait.h: Update #endif comments.
56248 [__USE_MISC]: Remove redundant conditionals.
56249 * posix/unistd.h: Update #endif comments.
56250 [__USE_MISC]: Remove redundant conditionals.
56251 * pwd/pwd.h [__USE_GNU]: Likewise.
56252 [__USE_MISC]: Likewise.
56253 * resolv/netdb.h [__USE_GNU]: Likewise.
56254 * signal/signal.h: Update #endif comments.
56255 [__USE_MISC]: Remove redundant conditionals.
56256 * stdlib/stdlib.h: Update #else and #endif comments.
56257 [__USE_MISC]: Remove redundant conditionals.
56258 [__USE_GNU]: Likewise.
56259 * string/bits/string2.h [__USE_MISC]: Likewise.
56260 * string/string.h: Update #endif comments.
56261 [__USE_MISC]: Remove redundant conditionals.
56262 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
56263 Likewise.
56264 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
56265 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
56266 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
56267 Likewise.
56268 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
56269 Likewise.
56270 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
56271 comments.
56272 [__USE_MISC]: Remove redundant conditionals.
56273 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
56274 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
56275 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
56276 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
56277 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
56278 Likewise.
56279 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
56280 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
56281 Likewise.
56282 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
56283 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
56284 Likewise.
56285 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
56286 Likewise.
56287 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
56288 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
56289 Likewise.
56290 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
56291 Likewise.
56292 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
56293 * sysdeps/x86/bits/string.h: Update #endif comments.
56294 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
56295 conditionals.
56296 * time/sys/time.h: Update #endif comments.
56297 * time/time.h: Likewise.
56298 [__USE_MISC]: Remove redundant conditionals.
56299
56300 2014-02-21 Yury Gribov <y.gribov@samsung.com>
56301
56302 [BZ #16600]
56303 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
56304
56305 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
56306
56307 * Versions.def (librt): Add GLIBC_2.17.
56308
56309 2014-02-21 Adam Conrad <adconrad@0c3.net>
56310
56311 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
56312 synonym for _SYS_AUXV_H to allow direct inclusion.
56313 * sysdeps/sparc/bits/hwcap.h: Likewise.
56314 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
56315 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
56316 * sysdeps/sparc/sysdep.h: Likewise.
56317
56318 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
56319
56320 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
56321
56322 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
56323
56324 * benchtests/bench-strrchr.c: Print length instead of position.
56325
56326 2014-02-20 Joseph Myers <joseph@codesourcery.com>
56327
56328 [BZ #16611]
56329 * sysdeps/unix/sysv/linux/kernel-features.h
56330 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
56331 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
56332 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
56333 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
56334 Likewise.
56335 [__i386__ || __powerpc__ || __sh__ || __sparc__]
56336 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56337 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
56338 (__ASSUME_SENDMMSG): Define instead of using previous
56339 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
56340 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56341 (__ASSUME_SENDMMSG_SYSCALL): Define.
56342 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56343 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
56344 Likewise.
56345 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56346 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56347 Likewise.
56348 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56349 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56350 Likewise.
56351 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
56352 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56353 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56354 [__ASSUME_SENDMMSG]: Change conditionals to
56355 [__ASSUME_SENDMMSG_SOCKETCALL].
56356 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56357 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
56358 Define.
56359 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56360 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
56361 Likewise.
56362 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
56363 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56364 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56365 [!__ASSUME_SENDMMSG]: Change conditional to
56366 [!__ASSUME_SENDMMSG_SOCKETCALL].
56367 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56368 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56369 Define.
56370
56371 [BZ #16610]
56372 * sysdeps/unix/sysv/linux/kernel-features.h
56373 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
56374 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
56375 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
56376 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
56377 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
56378 [__i386__ || __sparc__]
56379 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56380 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
56381 (__ASSUME_RECVMMSG): Define instead of using previous
56382 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
56383 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56384 (__ASSUME_RECVMMSG_SYSCALL): Define.
56385 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56386 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56387 Likewise.
56388 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56389 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56390 Likewise.
56391 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56392 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56393 Likewise.
56394 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
56395 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56396 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56397 [__ASSUME_RECVMMSG]: Change condition to
56398 [__ASSUME_RECVMMSG_SOCKETCALL].
56399 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56400 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56401 Define.
56402 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56403 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56404 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56405 Likewise.
56406 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
56407 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56408 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56409 [!__ASSUME_RECVMMSG]: Change condition to
56410 [!__ASSUME_RECVMMSG_SOCKETCALL].
56411 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56412 (__ASSUME_RECVMMSG_SYSCALL): Define.
56413
56414 [BZ #16609]
56415 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
56416 __powerpc__ || __s390__ || __sh__ || __sparc__]
56417 (__ASSUME_SOCKETCALL): Define.
56418 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
56419 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
56420 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
56421 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
56422 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
56423 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
56424 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
56425 (__ASSUME_ACCEPT4): Define instead of using previous
56426 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
56427 __powerpc__ || __sparc__ || __s390__)] condition.
56428 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56429 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56430 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
56431 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56432 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56433 [!__ASSUME_ACCEPT4]: Change condition to
56434 [!__ASSUME_ACCEPT4_SOCKETCALL].
56435 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56436 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
56437 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
56438 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56439 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
56440 __ASSUME_ACCEPT4_SYSCALL.
56441 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
56442 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
56443 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56444 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
56445 __ASSUME_ACCEPT4_SYSCALL.
56446 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
56447 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56448 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56449 [__ASSUME_ACCEPT4]: Change condition to
56450 [__ASSUME_ACCEPT4_SOCKETCALL].
56451 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
56452 (__ASSUME_SOCKETCALL): Define.
56453 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
56454 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56455 (__ASSUME_SOCKETCALL): Define.
56456 (__ASSUME_ACCEPT4): Remove.
56457 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
56458 Define.
56459 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56460 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
56461 Likewise.
56462 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56463 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56464
56465 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
56466 macro.
56467 (HWCAP_ARM_LPAE): Likewise.
56468 (HWCAP_ARM_EVTSTRM): Likewise.
56469 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
56470 Add vpfd32, lpae and evtstrm.
56471 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
56472 Increase to 22.
56473
56474 2014-02-19 Joseph Myers <joseph@codesourcery.com>
56475
56476 * math/auto-libm-test-in: Add tests of clog10.
56477 * math/auto-libm-test-out: Regenerated.
56478 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
56479 * sysdeps/i386/fpu/libm-test-ulps: Update.
56480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56481
56482 2014-02-18 Andreas Schwab <schwab@suse.de>
56483
56484 [BZ #16574]
56485 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
56486 Store non-zero if the second buffer was newly allocated.
56487 (send_dg): Likewise.
56488 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
56489 to send_vc and send_dg.
56490 (res_nsend): Pass NULL for ansp2_malloced.
56491 * resolv/res_query.c (__libc_res_nquery): Add parameter
56492 answerp2_malloced and pass it down to __libc_res_nsend.
56493 (res_nquery): Pass additional NULL to __libc_res_nquery.
56494 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
56495 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
56496 second answer buffer if answerp2_malloced was set.
56497 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
56498 (__libc_res_nquerydomain): Add parameter
56499 answerp2_malloced and pass it down to __libc_res_nquery.
56500 (res_nquerydomain): Pass additional NULL to
56501 __libc_res_nquerydomain.
56502 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
56503 additional NULL to __libc_res_nsend and __libc_res_nquery.
56504 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
56505 additional NULL to __libc_res_nsearch.
56506 (_nss_dns_gethostbyname4_r): Revert last change. Use new
56507 parameter of __libc_res_nsearch to check for separately allocated
56508 second buffer.
56509 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
56510 __libc_res_nquery.
56511 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
56512 additional NULL to __libc_res_nquery.
56513 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
56514 __libc_res_nsearch.
56515 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
56516 * include/resolv.h: Update prototypes of __libc_res_nquery,
56517 __libc_res_nsearch, __libc_res_nsend.
56518
56519 2014-02-18 Joseph Myers <joseph@codesourcery.com>
56520
56521 * math/auto-libm-test-in: Add tests of fma.
56522 * math/auto-libm-test-out: Regenerated.
56523 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
56524 (fma_towardzero_test_data): Likewise.
56525 (fma_downward_test_data): Likewise.
56526 (fma_upward_test_data): Likewise.
56527 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
56528 mpc_mode.
56529 (rounding_modes): Add values for new field.
56530 (func_calc_method): Add value mpfr_fff_f.
56531 (func_calc_desc): Add mpfr_fff_f union field.
56532 (test_function): Add field exact_args.
56533 (FUNC): Add macro argument EXACT_ARGS.
56534 (FUNC_mpfr_f_f): Update call to FUNC.
56535 (FUNC_mpfr_f_f): Likewise.
56536 (FUNC_mpfr_ff_f): Likewise.
56537 (FUNC_mpfr_if_f): Likewise.
56538 (FUNC_mpc_c_f): Likewise.
56539 (FUNC_mpc_c_c): Likewise.
56540 (test_functions): Add fma. Update calls to FUNC.
56541 (handle_input_arg): Add argument exact_args.
56542 (add_test): Update call to handle_input_arg.
56543 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
56544 (output_for_one_input_case): Update call to calc_generic_results.
56545 Recalculate exact zero results in each rounding mode.
56546
56547 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
56548 non-negative before setting low bit.
56549 * math/auto-libm-test-in: Mark one asin test possibly having
56550 spurious underflow.
56551 * math/auto-libm-test-out: Regenerated.
56552 * sysdeps/i386/fpu/libm-test-ulps: Update.
56553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56554
56555 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
56556
56557 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
56558 * sysdeps/unix/sysv/linux/microblaze: Move directory from
56559 ports/sysdeps/unix/sysv/linux/microblaze.
56560 * README: Add missing listing for microblaze*-*-linux-gnu.
56561
56562 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
56563
56564 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
56565 duplicate code
56566
56567 2014-02-16 Mike Frysinger <vapier@gentoo.org>
56568
56569 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
56570 * sysdeps/unix/sysv/linux/ia64: Move directory from
56571 ports/sysdeps/unix/sysv/linux/ia64.
56572 * README: Update listing for ia64-*-linux-gnu.
56573
56574 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
56575 Joseph Myers <joseph@codesourcery.com>
56576
56577 * Makeconfig (test-name): New variable.
56578 (evaluate-test): Likewise.
56579 * Makerules (do-test-clean): Remove .test-result files.
56580 (common-mostlyclean): Likewise.
56581 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
56582 * scripts/evaluate-test.sh: New file.
56583
56584 2014-02-14 Joseph Myers <joseph@codesourcery.com>
56585
56586 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
56587 separate $(objpfx)tst-fopenloc-cmp.out and
56588 $(objpfx)tst-fopenloc-mem.out targets.
56589 (tests): Update dependencies.
56590 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
56591 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
56592 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
56593 (tst-rxspencer-no-utf8-ARGS): New variable.
56594 (tst-rxspencer-no-utf8-ENV): Likewise.
56595 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
56596 instead of $(objpfx)tst-rxspencer-mem.
56597 ($(objpfx)tst-rxspencer-mem): Change target to
56598 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
56599 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
56600 * posix/tst-rxspencer-no-utf8.c: New file.
56601
56602 * elf/Makefile ($(objpfx)order.out): Remove rule.
56603 [$(run-built-tests) = yes] (tests): Depend on
56604 $(objpfx)order-cmp.out.
56605 ($(objpfx)order-cmp.out): New rule.
56606 [$(run-built-tests) = yes] (tests): Depend on
56607 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
56608 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
56609 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
56610 $(objpfx)tst-array5-static-cmp.out.
56611 ($(objpfx)tst-array1.out): Remove rule.
56612 ($(objpfx)tst-array1-cmp.out): New rule.
56613 ($(objpfx)tst-array1-static.out): Remove rule.
56614 ($(objpfx)tst-array1-static-cmp.out): New rule.
56615 ($(objpfx)tst-array2.out): Remove rule.
56616 ($(objpfx)tst-array2-cmp.out): New rule.
56617 ($(objpfx)tst-array3.out): Remove rule.
56618 ($(objpfx)tst-array3-cmp.out): New rule.
56619 ($(objpfx)tst-array4.out): Remove rule.
56620 ($(objpfx)tst-array4-cmp.out): New rule.
56621 ($(objpfx)tst-array5.out): Remove rule.
56622 ($(objpfx)tst-array5-cmp.out): New rule.
56623 ($(objpfx)tst-array5-static.out): Remove rule.
56624 ($(objpfx)tst-array5-static-cmp.out): New rule.
56625 [$(run-built-tests) = yes] (tests): Depend on
56626 $(objpfx)order2-cmp.out.
56627 ($(objpfx)order2.out): Remove rule.
56628 ($(objpfx)order2-cmp.out): New rule.
56629 ($(objpfx)tst-initorder.out): Remove rule.
56630 [$(run-built-tests) = yes] (tests): Depend on
56631 $(objpfx)tst-initorder-cmp.out.
56632 ($(objpfx)tst-initorder-cmp.out): New rule.
56633 ($(objpfx)tst-initorder2.out): Remove rule.
56634 [$(run-built-tests) = yes] (tests): Depend on
56635 $(objpfx)tst-initorder2-cmp.out.
56636 ($(objpfx)tst-initorder2-cmp.out): New rule.
56637 [$(run-built-tests) = yes] (tests): Depend on
56638 $(objpfx)tst-unused-dep-cmp.out.
56639 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
56640 ($(objpfx)tst-unused-dep-cmp.out): New rule.
56641 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
56642 on $(objpfx)tst-setvbuf1-cmp.out.
56643 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
56644 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
56645 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
56646 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
56647 ($(objpfx)tst-svc.out): Remove rule.
56648 ($(objpfx)tst-svc-cmp.out): New rule.
56649
56650 2014-02-13 Joseph Myers <joseph@codesourcery.com>
56651
56652 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
56653 * ctype/ctype.h [__USE_MISC]: Likewise.
56654 * dirent/dirent.h [__USE_MISC]: Likewise.
56655 * grp/grp.h [__USE_MISC]: Likewise.
56656 * io/fcntl.h [__USE_MISC]: Likewise.
56657 * io/sys/stat.h [__USE_MISC]: Likewise.
56658 * libio/stdio.h [__USE_MISC]: Likewise.
56659 * posix/unistd.h [__USE_MISC]: Likewise.
56660 * pwd/pwd.h [__USE_MISC]: Likewise.
56661 * stdlib.h [__USE_MISC]: Likewise.
56662 * string/bits/string2.h [__USE_MISC]: Likewise.
56663 * string/string.h [__USE_MISC]: Likewise.
56664 * time/time.h [__USE_MISC]: Likewise.
56665
56666 2014-02-13 Andreas Schwab <schwab@suse.de>
56667
56668 [BZ #16574]
56669 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
56670 second answer buffer if it was separately allocated.
56671
56672 2014-02-12 Joseph Myers <joseph@codesourcery.com>
56673
56674 * sysdeps/mips/math-tests.h: Include <features.h>.
56675 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
56676 (ROUNDING_TESTS_long_double): Do not define.
56677 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
56678 (EXCEPTION_TESTS_long_double): Likewise.
56679 * sysdeps/mips/mips64/libm-test-ulps: Update.
56680
56681 * include/features.h (__USE_BSD): Remove macro definitions.
56682 (__USE_SVID): Likewise.
56683 (_BSD_SOURCE): Likewise.
56684 (_SVID_SOURCE): Likewise.
56685 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
56686 from definition of _DEFAULT_SOURCE.
56687 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
56688 [_DEFAULT_SOURCE].
56689 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
56690 * bits/mman.h [__USE_BSD]: Likewise.
56691 * bits/termios.h [__USE_BSD]: Likewise.
56692 * bits/waitstatus.h [__USE_BSD]: Likewise.
56693 * ctype/ctype.h [__USE_SVID]: Likewise.
56694 * dirent/dirent.h [__USE_BSD]: Likewise.
56695 * grp/grp.h [__USE_SVID]: Likewise.
56696 [__USE_BSD]: Likewise.
56697 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
56698 * io/fcntl.h [__USE_BSD]: Likewise.
56699 * io/ftw.h [__USE_BSD]: Likewise.
56700 * io/sys/stat.h [__USE_BSD]: Likewise.
56701 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
56702 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
56703 * libio/stdio.h [__USE_SVID]: Likewise.
56704 [__USE_BSD]: Likewise.
56705 * math/math.h [__USE_SVID]: Likewise.
56706 [__USE_BSD]: Likewise.
56707 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
56708 * misc/bits/syslog.h [__USE_BSD]: Likewise.
56709 * misc/search.h [__USE_SVID]: Likewise.
56710 * misc/sys/mman.h [__USE_BSD]: Likewise.
56711 * misc/sys/syslog.h [__USE_BSD]: Likewise.
56712 * misc/sys/uio.h [__USE_BSD]: Likewise.
56713 * posix/bits/unistd.h [__USE_BSD]: Likewise.
56714 * posix/glob.h [__USE_BSD]: Likewise.
56715 * posix/regex.h [__USE_BSD]: Likewise.
56716 * posix/sys/types.h [__USE_BSD]: Likewise.
56717 [__USE_SVID]: Likewise.
56718 * posix/sys/utsname.h [__USE_SVID]: Likewise.
56719 * posix/sys/wait.h [__USE_BSD]: Likewise.
56720 [__USE_SVID]: Likewise.
56721 * posix/unistd.h [__USE_BSD]: Likewise.
56722 [__USE_SVID]: Likewise.
56723 * pwd/pwd.h [__USE_SVID]: Likewise.
56724 * resolv/netdb.h [__USE_BSD]: Likewise.
56725 * setjmp/setjmp.h [__USE_BSD]: Likewise.
56726 * signal/signal.h [__USE_BSD]: Likewise.
56727 [__USE_SVID]: Likewise.
56728 * socket/sys/socket.h [__USE_BSD]: Likewise.
56729 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
56730 * stdlib/stdlib.h [__USE_BSD]: Likewise.
56731 [__USE_SVID]: Likewise.
56732 * string/bits/string2.h [__USE_BSD]: Likewise.
56733 [__USE_SVID]: Likewise.
56734 * string/bits/string3.h [__USE_BSD]: Likewise.
56735 * string/endian.h [__USE_BSD]: Likewise.
56736 * string/string.h [__USE_SVID]: Likewise.
56737 [__USE_BSD]: Likewise.
56738 * string/strings.h [__USE_BSD]: Likewise.
56739 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
56740 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
56741 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
56742 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
56743 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
56744 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
56745 Likewise.
56746 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
56747 Likewise.
56748 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
56749 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
56750 Likewise.
56751 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
56752 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
56753 Likewise.
56754 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
56755 Likewise.
56756 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
56757 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
56758 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
56759 Likewise.
56760 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
56761 Likewise.
56762 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
56763 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
56764 * termios/termios.h [__USE_BSD]: Likewise.
56765 * time/sys/time.h [__USE_BSD]: Likewise.
56766 * time/time.h [__USE_BSD]: Likewise.
56767 [__USE_SVID]: Likewise.
56768
56769 * Makefile (subdir_targets): Remove subdir_lint.out.
56770
56771 * stdio-common/Makefile (do-tst-unbputc): Remove target.
56772 (do-tst-printf): Likewise.
56773 (tests): Depend directly on $(objpfx)tst-unbputc.out and
56774 $(objpfx)tst-printf.out.
56775
56776 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
56777
56778 * Makerules (check-abi-%): Change target to
56779 $(objpfx)check-abi-%.out.
56780 (check-abi target): Update dependencies.
56781 (check-abi-pattern variable): Redirect output of diff to $@.
56782 (check-abi variable): Likewise.
56783 * elf/Makefile (check-abi): Update dependencies.
56784
56785 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
56786 unused.
56787 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
56788 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
56789 subnormal range.
56790 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
56791 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
56792 value has largest subnormal exponent.
56793 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
56794 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
56795 * sysdeps/aarch64/soft-fp/sfp-machine.h
56796 (_FP_TININESS_AFTER_ROUNDING): New macro.
56797 * sysdeps/alpha/soft-fp/sfp-machine.h
56798 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56799 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56800 Likewise.
56801 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
56802 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56803 * sysdeps/mips/soft-fp/sfp-machine.h
56804 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56805 * sysdeps/powerpc/soft-fp/sfp-machine.h
56806 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56807 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56808 Likewise.
56809 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
56810 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56811 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
56812 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56813 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56814 Likewise.
56815
56816 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
56817
56818 [BZ #16545]
56819 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
56820 model 1.
56821
56822 2014-02-12 Richard Henderson <rth@redhat.com>
56823
56824 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
56825 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
56826 * sysdeps/unix/sysv/linux/alpha: Move directory from
56827 ports/sysdeps/unix/sysv/linux/alpha.
56828 * README: Update listing for alpha-*-linux-gnu.
56829
56830 2014-02-11 Joseph Myers <joseph@codesourcery.com>
56831
56832 * include/features.h: Update comment documenting feature test
56833 macros.
56834 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
56835 _DEFAULT_SOURCE.
56836 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
56837 (_SVID_SOURCE): Likewise.
56838 (_DEFAULT_SOURCE): Update description of default features.
56839 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
56840 with _GNU_SOURCE.
56841 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
56842 (S_ISVTX): Likewise.
56843 * manual/math.texi (Mathematical Constants): Likewise.
56844 * manual/signal.texi (Interrupted Primitives): Likewise.
56845 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
56846 * math/test-matherr.c (_SVID_SOURCE): Do not define.
56847 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
56848 Don't refer to _SVID_SOURCE in warning text.
56849
56850 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56851
56852 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
56853 already defined.
56854 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
56855 * sysdeps/mips/dl-lookup.c: Remove.
56856 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
56857
56858 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
56859
56860 [BZ #16447]
56861 * math/auto-libm-test-in: Add testcase for expl.
56862 * math/auto-libm-test-out: Regenerate.
56863 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
56864 calculation of unsafe.
56865 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
56866
56867 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
56868
56869 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
56870 * sysdeps/unix/sysv/linux/aarch64: Move directory from
56871 ports/sysdeps/unix/sysv/linux/aarch64.
56872 * README: Update listing for aarch64*-*-linux-gnu.
56873
56874 2014-02-11 Will Newton <will.newton@linaro.org>
56875
56876 * manual/probes.texi (Mathematical Function Probes): Use
56877 "triggered" instead of "hit".
56878
56879 * manual/probes.texi (Internal Probes): Add documentation
56880 of setjmp, longjmp and longjmp_target probes.
56881
56882 * include/stap-probe.h: Add comment about probe argument
56883 format.
56884
56885 * malloc/mtrace.c (attribute_hidden): Remove unused macro
56886 definition. (tr_where, tr_freehook, tr_mallochook,
56887 tr_reallochook, tr_memalignhook): Use ANSI protoype.
56888
56889 2014-02-11 David S. Miller <davem@davemloft.net>
56890
56891 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
56892 processing int_tests.
56893
56894 2014-02-10 Joseph Myers <joseph@codesourcery.com>
56895
56896 * sysdeps/mips: Move directory from ports/sysdeps/mips.
56897 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
56898 * sysdeps/unix/sysv/linux/mips: Move directory from
56899 ports/sysdeps/unix/sysv/linux/mips.
56900 * README: Update listing for mips-*-linux-gnu and
56901 mips64-*-linux-gnu.
56902
56903 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
56904
56905 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
56906 * sysdeps/unix/sysv/linux/m68k: Move directory from
56907 ports/sysdeps/unix/sysv/linux/m68k.
56908 * README: Update listing for m68k-*-linux-gnu.
56909
56910 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
56911
56912 * sysdeps/tile: Move directory from ports/sysdeps/tile.
56913 * sysdeps/unix/sysv/linux/generic: Move directory from
56914 ports/sysdeps/unix/sysv/linux/generic.
56915 * sysdeps/unix/sysv/linux/tile: Move directory from
56916 ports/sysdeps/unix/sysv/linux/tile.
56917 * README: Update listing for tile*-*-linux-gnu.
56918
56919 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
56920
56921 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
56922 __builtin_expect.
56923 * benchtests/bench-memmem.c (simple_memmem): Likewise.
56924 * catgets/open_catalog.c (__open_catalog): Likewise.
56925 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
56926 * debug/confstr_chk.c: Likewise.
56927 * debug/fread_chk.c (__fread_chk): Likewise.
56928 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
56929 * debug/getgroups_chk.c: Likewise.
56930 * debug/mbsnrtowcs_chk.c: Likewise.
56931 * debug/mbsrtowcs_chk.c: Likewise.
56932 * debug/mbstowcs_chk.c: Likewise.
56933 * debug/memcpy_chk.c: Likewise.
56934 * debug/memmove_chk.c: Likewise.
56935 * debug/mempcpy_chk.c: Likewise.
56936 * debug/memset_chk.c: Likewise.
56937 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
56938 * debug/strcat_chk.c (__strcat_chk): Likewise.
56939 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
56940 * debug/strncat_chk.c (__strncat_chk): Likewise.
56941 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
56942 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
56943 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
56944 * debug/wcpncpy_chk.c: Likewise.
56945 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
56946 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
56947 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
56948 * debug/wcsncpy_chk.c: Likewise.
56949 * debug/wcsnrtombs_chk.c: Likewise.
56950 * debug/wcsrtombs_chk.c: Likewise.
56951 * debug/wcstombs_chk.c: Likewise.
56952 * debug/wmemcpy_chk.c: Likewise.
56953 * debug/wmemmove_chk.c: Likewise.
56954 * debug/wmempcpy_chk.c: Likewise.
56955 * debug/wmemset_chk.c: Likewise.
56956 * dirent/scandirat.c (SCANDIRAT): Likewise.
56957 * dlfcn/dladdr1.c (dladdr1): Likewise.
56958 * dlfcn/dladdr.c (dladdr): Likewise.
56959 * dlfcn/dlclose.c (dlclose_doit): Likewise.
56960 * dlfcn/dlerror.c (__dlerror): Likewise.
56961 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
56962 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
56963 * dlfcn/dlopen.c (dlopen_doit): Likewise.
56964 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
56965 * dlfcn/dlsym.c (dlsym_doit): Likewise.
56966 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
56967 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
56968 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
56969 Likewise.
56970 * elf/dl-conflict.c: Likewise.
56971 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
56972 * elf/dl-dst.h: Likewise.
56973 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
56974 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
56975 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
56976 * elf/dl-init.c (call_init, _dl_init): Likewise.
56977 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
56978 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
56979 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
56980 Likewise.
56981 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
56982 Likewise.
56983 * elf/dl-minimal.c (__libc_memalign): Likewise.
56984 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
56985 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
56986 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
56987 * elf/dl-sym.c (do_sym): Likewise.
56988 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
56989 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
56990 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
56991 * elf/dl-writev.h (_dl_writev): Likewise.
56992 * elf/ldconfig.c (search_dir): Likewise.
56993 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
56994 (dl_main): Likewise.
56995 * elf/setup-vdso.h (setup_vdso): Likewise.
56996 * grp/compat-initgroups.c (compat_call): Likewise.
56997 * grp/fgetgrent.c (fgetgrent): Likewise.
56998 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
56999 * grp/putgrent.c (putgrent): Likewise.
57000 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
57001 Likewise.
57002 * hurd/hurdinit.c: Likewise.
57003 * iconvdata/8bit-gap.c (struct): Likewise.
57004 * iconvdata/ansi_x3.110.c : Likewise.
57005 * iconvdata/big5.c : Likewise.
57006 * iconvdata/big5hkscs.c : Likewise.
57007 * iconvdata/cp1255.c: Likewise.
57008 * iconvdata/cp1258.c : Likewise.
57009 * iconvdata/cp932.c : Likewise.
57010 * iconvdata/euc-cn.c: Likewise.
57011 * iconvdata/euc-jisx0213.c : Likewise.
57012 * iconvdata/euc-jp.c: Likewise.
57013 * iconvdata/euc-jp-ms.c : Likewise.
57014 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
57015 * iconvdata/gb18030.c : Likewise.
57016 * iconvdata/gbbig5.c (const): Likewise.
57017 * iconvdata/gbgbk.c: Likewise.
57018 * iconvdata/gbk.c : Likewise.
57019 * iconvdata/ibm1364.c : Likewise.
57020 * iconvdata/ibm930.c : Likewise.
57021 * iconvdata/ibm932.c: Likewise.
57022 * iconvdata/ibm933.c : Likewise.
57023 * iconvdata/ibm935.c : Likewise.
57024 * iconvdata/ibm937.c : Likewise.
57025 * iconvdata/ibm939.c : Likewise.
57026 * iconvdata/ibm943.c: Likewise.
57027 * iconvdata/iso_11548-1.c: Likewise.
57028 * iconvdata/iso-2022-cn.c : Likewise.
57029 * iconvdata/iso-2022-cn-ext.c : Likewise.
57030 * iconvdata/iso-2022-jp-3.c: Likewise.
57031 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
57032 * iconvdata/iso-2022-kr.c : Likewise.
57033 * iconvdata/iso646.c (gconv_end): Likewise.
57034 * iconvdata/iso_6937-2.c : Likewise.
57035 * iconvdata/iso_6937.c : Likewise.
57036 * iconvdata/iso8859-1.c: Likewise.
57037 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
57038 * iconvdata/shift_jisx0213.c : Likewise.
57039 * iconvdata/sjis.c : Likewise.
57040 * iconvdata/t.61.c : Likewise.
57041 * iconvdata/tcvn5712-1.c : Likewise.
57042 * iconvdata/tscii.c: Likewise.
57043 * iconvdata/uhc.c : Likewise.
57044 * iconvdata/unicode.c (gconv_end): Likewise.
57045 * iconvdata/utf-16.c (gconv_end): Likewise.
57046 * iconvdata/utf-32.c (gconv_end): Likewise.
57047 * iconvdata/utf-7.c (base64): Likewise.
57048 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
57049 * iconv/gconv_close.c (__gconv_close): Likewise.
57050 * iconv/gconv_open.c (__gconv_open): Likewise.
57051 * iconv/gconv_simple.c (internal_ucs4_loop_single)
57052 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
57053 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
57054 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
57055 (ucs4le_internal_loop_single): Likewise.
57056 * iconv/iconv.c (iconv): Likewise.
57057 * iconv/iconv_close.c: Likewise.
57058 * iconv/loop.c (SINGLE): Likewise.
57059 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
57060 * include/atomic.h: Likewise.
57061 * inet/inet6_option.c (option_alloc): Likewise.
57062 * intl/bindtextdom.c (set_binding_values): Likewise.
57063 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
57064 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
57065 * intl/localealias.c (read_alias_file): Likewise.
57066 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57067 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
57068 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
57069 * libio/fmemopen.c (fmemopen): Likewise.
57070 * libio/iofgets.c (_IO_fgets): Likewise.
57071 * libio/iofgets_u.c (fgets_unlocked): Likewise.
57072 * libio/iofgetws.c (fgetws): Likewise.
57073 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
57074 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57075 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
57076 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
57077 * locale/findlocale.c (_nl_find_locale): Likewise.
57078 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
57079 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
57080 Likewise.
57081 * locale/setlocale.c (setlocale): Likewise.
57082 * login/programs/pt_chown.c (main): Likewise.
57083 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
57084 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57085 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
57086 (mmap, mmap64, mremap, munmap): Likewise.
57087 * math/e_exp2l.c: Likewise.
57088 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
57089 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
57090 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
57091 * math/s_catan.c (__catan): Likewise.
57092 * math/s_catanf.c (__catanf): Likewise.
57093 * math/s_catanh.c (__catanh): Likewise.
57094 * math/s_catanhf.c (__catanhf): Likewise.
57095 * math/s_catanhl.c (__catanhl): Likewise.
57096 * math/s_catanl.c (__catanl): Likewise.
57097 * math/s_ccosh.c (__ccosh): Likewise.
57098 * math/s_ccoshf.c (__ccoshf): Likewise.
57099 * math/s_ccoshl.c (__ccoshl): Likewise.
57100 * math/s_cexp.c (__cexp): Likewise.
57101 * math/s_cexpf.c (__cexpf): Likewise.
57102 * math/s_cexpl.c (__cexpl): Likewise.
57103 * math/s_clog10.c (__clog10): Likewise.
57104 * math/s_clog10f.c (__clog10f): Likewise.
57105 * math/s_clog10l.c (__clog10l): Likewise.
57106 * math/s_clog.c (__clog): Likewise.
57107 * math/s_clogf.c (__clogf): Likewise.
57108 * math/s_clogl.c (__clogl): Likewise.
57109 * math/s_csin.c (__csin): Likewise.
57110 * math/s_csinf.c (__csinf): Likewise.
57111 * math/s_csinh.c (__csinh): Likewise.
57112 * math/s_csinhf.c (__csinhf): Likewise.
57113 * math/s_csinhl.c (__csinhl): Likewise.
57114 * math/s_csinl.c (__csinl): Likewise.
57115 * math/s_csqrt.c (__csqrt): Likewise.
57116 * math/s_csqrtf.c (__csqrtf): Likewise.
57117 * math/s_csqrtl.c (__csqrtl): Likewise.
57118 * math/s_ctan.c (__ctan): Likewise.
57119 * math/s_ctanf.c (__ctanf): Likewise.
57120 * math/s_ctanh.c (__ctanh): Likewise.
57121 * math/s_ctanhf.c (__ctanhf): Likewise.
57122 * math/s_ctanhl.c (__ctanhl): Likewise.
57123 * math/s_ctanl.c (__ctanl): Likewise.
57124 * math/w_pow.c: Likewise.
57125 * math/w_powf.c: Likewise.
57126 * math/w_powl.c: Likewise.
57127 * math/w_scalb.c (sysv_scalb): Likewise.
57128 * math/w_scalbf.c (sysv_scalbf): Likewise.
57129 * math/w_scalbl.c (sysv_scalbl): Likewise.
57130 * misc/error.c (error_tail): Likewise.
57131 * misc/pselect.c (__pselect): Likewise.
57132 * nis/nis_callback.c (__nis_create_callback): Likewise.
57133 * nis/nis_call.c (__nisfind_server): Likewise.
57134 * nis/nis_creategroup.c (nis_creategroup): Likewise.
57135 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
57136 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
57137 * nis/nis_getservlist.c (nis_getservlist): Likewise.
57138 * nis/nis_lookup.c (nis_lookup): Likewise.
57139 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57140 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
57141 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
57142 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57143 * nis/nss_compat/compat-grp.c (getgrent_next_file)
57144 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
57145 * nis/nss_compat/compat-initgroups.c (add_group)
57146 (internal_getgrent_r): Likewise.
57147 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
57148 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
57149 * nis/nss_compat/compat-spwd.c (getspent_next_file)
57150 (internal_getspnam_r): Likewise.
57151 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
57152 (_nss_nis_getaliasbyname_r): Likewise.
57153 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
57154 (_nss_nis_getntohost_r): Likewise.
57155 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
57156 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
57157 (_nss_nis_getgrgid_r): Likewise.
57158 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
57159 (internal_nis_gethostent_r, internal_gethostbyname2_r)
57160 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
57161 (_nss_nis_gethostbyname4_r): Likewise.
57162 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
57163 (initgroups_netid): Likewise.
57164 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57165 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
57166 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
57167 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
57168 (_nss_nis_getprotobynumber_r): Likewise.
57169 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
57170 (_nss_nis_getsecretkey): Likewise.
57171 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
57172 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
57173 (_nss_nis_getpwuid_r): Likewise.
57174 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
57175 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
57176 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
57177 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
57178 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
57179 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
57180 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
57181 Likewise.
57182 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
57183 (_nss_nisplus_getntohost_r): Likewise.
57184 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
57185 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
57186 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
57187 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
57188 Likewise.
57189 * nis/nss_nisplus/nisplus-initgroups.c
57190 (_nss_nisplus_initgroups_dyn): Likewise.
57191 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
57192 (_nss_nisplus_getnetbyaddr_r): Likewise.
57193 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
57194 (_nss_nisplus_getprotobynumber_r): Likewise.
57195 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
57196 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
57197 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
57198 Likewise.
57199 * nis/nss_nisplus/nisplus-service.c
57200 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
57201 (_nss_nisplus_getservbyport_r): Likewise.
57202 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
57203 (_nss_nisplus_getspnam_r): Likewise.
57204 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
57205 Likewise.
57206 * nscd/aicache.c (addhstaiX): Likewise.
57207 * nscd/cache.c (cache_search, prune_cache): Likewise.
57208 * nscd/connections.c (register_traced_file, send_ro_fd)
57209 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
57210 (main_loop_epoll): Likewise.
57211 * nscd/grpcache.c (addgrbyX): Likewise.
57212 * nscd/hstcache.c (addhstbyX): Likewise.
57213 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57214 * nscd/mem.c (gc, mempool_alloc): Likewise.
57215 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
57216 (addinnetgrX): Likewise.
57217 * nscd/nscd-client.h (__nscd_acquire_maplock)
57218 (__nscd_drop_map_ref): Likewise.
57219 * nscd/nscd_getai.c (__nscd_getai): Likewise.
57220 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
57221 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
57222 Likewise.
57223 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
57224 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57225 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
57226 (__nscd_get_map_ref): Likewise.
57227 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57228 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
57229 Likewise.
57230 * nscd/pwdcache.c (addpwbyX): Likewise.
57231 * nscd/selinux.c (preserve_capabilities): Likewise.
57232 * nscd/servicescache.c (addservbyX): Likewise.
57233 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
57234 * posix/fnmatch.c (fnmatch): Likewise.
57235 * posix/getopt.c (_getopt_internal_r): Likewise.
57236 * posix/glob.c (glob, glob_in_dir): Likewise.
57237 * posix/wordexp.c (exec_comm_child): Likewise.
57238 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
57239 (getanswer_r, gaih_getanswer_slice): Likewise.
57240 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
57241 * resolv/res_init.c: Likewise.
57242 * resolv/res_mkquery.c (res_nmkquery): Likewise.
57243 * resolv/res_query.c (__libc_res_nquery): Likewise.
57244 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
57245 Likewise.
57246 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
57247 * stdio-common/perror.c (perror): Likewise.
57248 * stdio-common/printf_fp.c (___printf_fp): Likewise.
57249 * stdio-common/tmpnam.c (tmpnam): Likewise.
57250 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
57251 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57252 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
57253 Likewise.
57254 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
57255 * stdlib/putenv.c (putenv): Likewise.
57256 * stdlib/setenv.c (__add_to_environ): Likewise.
57257 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
57258 * stdlib/strtol_l.c (INTERNAL): Likewise.
57259 * string/memmem.c (memmem): Likewise.
57260 * string/strerror.c (strerror): Likewise.
57261 * string/strnlen.c (__strnlen): Likewise.
57262 * string/test-memmem.c (simple_memmem): Likewise.
57263 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
57264 * sunrpc/pm_getport.c (__get_socket): Likewise.
57265 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
57266 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57267 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
57268 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
57269 Likewise.
57270 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
57271 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
57272 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
57273 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
57274 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57275 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
57276 Likewise.
57277 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
57278 Likewise.
57279 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
57280 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
57281 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57282 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
57283 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
57284 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
57285 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
57286 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
57287 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
57288 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
57289 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57290 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
57291 Likewise.
57292 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
57293 Likewise.
57294 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
57295 Likewise.
57296 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
57297 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57298 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
57299 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
57300 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
57301 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
57302 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57303 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
57304 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
57305 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
57306 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
57307 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57308 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
57309 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
57310 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57311 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
57312 Likewise.
57313 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
57314 Likewise.
57315 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
57316 Likewise.
57317 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
57318 Likewise.
57319 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57320 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57321 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
57322 Likewise.
57323 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
57324 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
57325 * sysdeps/posix/opendir.c (__opendirat): Likewise.
57326 * sysdeps/posix/sleep.c: Likewise.
57327 * sysdeps/posix/tempname.c: Likewise.
57328 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
57329 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57330 Likewise.
57331 * sysdeps/powerpc/powerpc32/dl-machine.h
57332 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
57333 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
57334 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57335 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
57336 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
57337 Likewise.
57338 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57339 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
57340 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57341 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
57342 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57343 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
57344 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
57345 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
57346 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57347 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57348 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
57349 (elf_machine_lazy_rel): Likewise.
57350 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57351 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
57352 (elf_machine_lazy_rel): Likewise.
57353 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
57354 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
57355 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
57356 * sysdeps/unix/grantpt.c (grantpt): Likewise.
57357 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
57358 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
57359 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
57360 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57361 Likewise.
57362 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
57363 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
57364 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
57365 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
57366 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57367 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
57368 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
57369 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
57370 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
57371 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
57372 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57373 Likewise.
57374 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
57375 (__posix_fallocate64_l64): Likewise.
57376 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
57377 (posix_fallocate): Likewise.
57378 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
57379 Likewise.
57380 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57381 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
57382 (getifaddrs_internal): Likewise.
57383 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
57384 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
57385 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
57386 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
57387 * sysdeps/unix/sysv/linux/posix_fallocate64.c
57388 (__posix_fallocate64_l64): Likewise.
57389 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
57390 Likewise.
57391 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57392 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
57393 (__get_clockfreq): Likewise.
57394 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
57395 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
57396 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
57397 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57398 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57399 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
57400 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
57401 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
57402 Likewise.
57403 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
57404 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
57405 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
57406 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
57407 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57408 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
57409 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
57410 Likewise.
57411 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57412 (posix_fallocate): Likewise.
57413 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57414 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
57415 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57416 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
57417 (elf_machine_rela, elf_machine_rela_relative)
57418 (elf_machine_lazy_rel): Likewise.
57419 * time/asctime.c (asctime_internal): Likewise.
57420 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
57421 * time/tzset.c (__tzset_parse_tz): Likewise.
57422 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
57423 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
57424 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
57425 * wcsmbs/wcsmbsload.h: Likewise.
57426
57427 [BZ #15894]
57428 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
57429
57430 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
57431 (arena_get2): Remove THREAD_STATS conditionals.
57432 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
57433 (__malloc_stats, int): Likewise.
57434
57435 2014-02-08 Mike Frysinger <vapier@gentoo.org>
57436
57437 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
57438 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
57439
57440 * manual/setjmp.texi: Fix typos/grammar errors.
57441
57442 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
57443 Only return early when n is <= 0. Delete unused return statement.
57444
57445 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
57446 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
57447 * debug/tst-longjmp_chk3.c: New file.
57448
57449 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
57450 (test_main): Replace code with set_fortify_handler call.
57451 * debug/test-strcpy_chk.c: Likewise.
57452 * debug/tst-chk1.c: Likewise.
57453 * debug/tst-longjmp_chk.c: Likewise.
57454 * test-skeleton.c: Include fcntl.h & paths.h
57455 (set_fortify_handler): Define.
57456
57457 * debug/tst-longjmp_chk.c: Add header comment and include
57458 ../test-skeleton.c.
57459 (do_test): Mark static.
57460 (TEST_FUNCTION): Define.
57461
57462 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
57463 (IP_PMTUDISC_INTERFACE): Likewise.
57464 (IP_MULTICAST_IF): Likewise.
57465 (IP_MULTICAST_TTL): Likewise.
57466 (IP_MULTICAST_LOOP): Likewise.
57467 (IP_ADD_MEMBERSHIP): Likewise.
57468 (IP_DROP_MEMBERSHIP): Likewise.
57469 (IP_UNBLOCK_SOURCE): Likewise.
57470 (IP_BLOCK_SOURCE): Likewise.
57471 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
57472 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
57473 (IP_MSFILTER): Likewise.
57474 (MCAST_JOIN_GROUP): Likewise.
57475 (MCAST_BLOCK_SOURCE): Likewise.
57476 (MCAST_UNBLOCK_SOURCE): Likewise.
57477 (MCAST_LEAVE_GROUP): Likewise.
57478 (MCAST_JOIN_SOURCE_GROUP): Likewise.
57479 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
57480 (MCAST_MSFILTER): Likewise.
57481 (IP_MULTICAST_ALL): Likewise.
57482 (IP_UNICAST_IF): Likewise.
57483
57484 * timezone/Makefile: Delete $(have-ksh) check.
57485 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
57486 * timezone/tzselect.ksh: Add +x mode bits.
57487
57488 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
57489 (ANON_INODE_FS_MAGIC): Likewise.
57490 (BDEVFS_MAGIC): Likewise.
57491 (BINFMTFS_MAGIC): Likewise.
57492 (BTRFS_TEST_MAGIC): Likewise.
57493 (CRAMFS_MAGIC_WEND): Likewise.
57494 (DEBUGFS_MAGIC): Likewise.
57495 (ECRYPTFS_SUPER_MAGIC): Likewise.
57496 (EXT3_SUPER_MAGIC): Likewise.
57497 (EXT4_SUPER_MAGIC): Likewise.
57498 (FUTEXFS_SUPER_MAGIC): Likewise.
57499 (HOSTFS_SUPER_MAGIC): Likewise.
57500 (HUGETLBFS_MAGIC): Likewise.
57501 (MINIX3_SUPER_MAGIC): Likewise.
57502 (MTD_INODE_FS_MAGIC): Likewise.
57503 (NILFS_SUPER_MAGIC): Likewise.
57504 (OPENPROM_SUPER_MAGIC): Likewise.
57505 (PIPEFS_MAGIC): Likewise.
57506 (PSTOREFS_MAGIC): Likewise.
57507 (QNX6_SUPER_MAGIC): Likewise.
57508 (RAMFS_MAGIC): Likewise.
57509 (REISERFS_SUPER_MAGIC_STRING): Likewise.
57510 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
57511 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
57512 (SECURITYFS_MAGIC): Likewise.
57513 (SELINUX_MAGIC): Likewise.
57514 (SMACK_MAGIC): Likewise.
57515 (SOCKFS_MAGIC): Likewise.
57516 (SQUASHFS_MAGIC): Likewise.
57517 (STACK_END_MAGIC): Likewise.
57518 (TMPFS_MAGIC): Likewise.
57519 (USBDEVICE_SUPER_MAGIC): Likewise.
57520 (V9FS_MAGIC): Likewise.
57521 (XENFS_SUPER_MAGIC): Likewise.
57522 (CRAMFS_MAGIC): Fix typo in comment.
57523 (EXT2_SUPER_MAGIC): Update comment.
57524 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
57525
57526 2014-02-08 Joseph Myers <joseph@codesourcery.com>
57527
57528 * sysdeps/arm: Move directory from ports/sysdeps/arm.
57529 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
57530 * sysdeps/unix/sysv/linux/arm: Move directory from
57531 ports/sysdeps/unix/sysv/linux/arm.
57532 * README: Update listing for arm-*-linux-gnueabi.
57533
57534 * README: Remove mention of am33.
57535
57536 2014-02-07 Roland McGrath <roland@hack.frob.com>
57537
57538 * bits/sigset.h (__sigemptyset): Use a statement expression rather
57539 than the comma operator, to avoid "rhs of comma has no effect"
57540 compiler warnings.
57541 (__sigfillset, __sigandset, __sigorset): Likewise.
57542 * include/signal.h (__sigemptyset): Likewise.
57543 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
57544
57545 2014-02-07 Allan McRae <allan@archlinux.org>
57546
57547 * version.h (RELEASE): Set to "development".
57548 (VERSION): Set to "2.19.90"
57549 * NEWS: Add 2.20 section.
57550
57551 2014-02-06 Carlos O'Donell <carlos@redhat.com>
57552
57553 [BZ #16529]
57554 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
57555
57556 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
57557
57558 * manual/contrib.texi: Update entry for Carlos O'Donell,
57559 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
57560
57561 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
57562
57563 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
57564
57565 * sysdeps/unix/sysv/linux/kernel-features.h
57566 [__LINUX_KERNEL_VERSION >= 0x020621]
57567 (__ASSUME_PROC_PID_TASK_COMM): Define.
57568
57569 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
57570
57571 [BZ #16398]
57572 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
57573 conversion when destination buffer does not have enough space.
57574 * libio/tst-ftell-partial-wide.c: New test case.
57575 * libio/Makefile (tests): Add tst-ftell-partial-wide.
57576
57577 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
57578 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
57579 Leonard and Allan McRae.
57580
57581 2014-02-04 David S. Miller <davem@davemloft.net>
57582
57583 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
57584 32-bit.
57585
57586 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57587
57588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
57589 New file
57590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
57591 New file
57592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
57593 New file.
57594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
57595 New file.
57596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
57597 New file.
57598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
57599 New file.
57600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
57601 New file.
57602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
57603 New file.
57604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
57605 New file.
57606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
57607 New file.
57608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
57609 New file.
57610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
57611 New file.
57612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
57613 New file.
57614
57615 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57616
57617 * nptl/shlib-versions: Change powerpc*le start to 2.17.
57618 * shlib-versions: Likewise.
57619
57620 2014-02-04 Roland McGrath <roland@hack.frob.com>
57621 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57622
57623 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
57624 (abilist-pattern): New variable, set to %-le.abilist.
57625
57626 * Makerules (abilist-pattern): New variable.
57627 (vpath): Use $(abilist-pattern) in place of %.abilist.
57628 (check-abi-% pattern rule): Likewise.
57629 (check-abi, update-abi): Likewise.
57630
57631 2014-02-04 Eric Wong <normalperson@yhbt.net>
57632
57633 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57634
57635 2014-02-03 Carlos O'Donell <carlos@redhat.com>
57636
57637 * manual/startup.texi: Add next, previous, and top entries for
57638 the `Program Arguments' and `Environment Variables' nodes.
57639
57640 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
57641
57642 * manual/macros.texi: Add comments before MTASC-safety macros.
57643
57644 * manual/users.texi: Document MTASC-safety properties.
57645
57646 * manual/threads.texi (pthread_key_create, pthread_key_delete)
57647 (pthread_getspecific, pthread_setspecific): Format with
57648 @deftypefun, and add @safety note.
57649 * manual/signal.texi: Move comments that analyze the above
57650 functions to their home place.
57651
57652 2014-02-03 Allan McRae <allan@archlinux.org>
57653
57654 * po/sl.po: Update Slovenian translation from translation project.
57655
57656 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
57657
57658 * manual/time.texi (timegm): Add missing blank after @c.
57659 Reported by Joseph Myers <joseph@codesourcery.com>.
57660
57661 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
57662
57663 * manual/check-safety.sh: New.
57664 * manual/Makefile ($(objpfx)stamp-summary): Run it.
57665
57666 * manual/terminal.texi: Document MTASC-safety properties.
57667
57668 * manual/filesys.texi: Document MTASC-safety properties.
57669
57670 * manual/errno.texi: Document MTASC-safety properties.
57671
57672 * manual/intro.texi: Document safety identifiers and
57673 conditionals.
57674
57675 * manual/string.texi (wcstok): Fix prototype.
57676 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
57677
57678 * manual/time.texi: Document MTASC-safety properties.
57679
57680 * manual/string.texi: Document MTASC-safety properties.
57681
57682 * manual/threads.texi: Document MTASC-safety properties.
57683
57684 * manual/stdio.texi: Document MTASC-safety properties.
57685
57686 * manual/syslog.texi: Document MTASC-safety properties.
57687
57688 * manual/sysinfo.texi: Document MTASC-safety properties.
57689
57690 * manual/startup.texi: Document MTASC-safety properties.
57691
57692 * manual/socket.texi: Document MTASC-safety properties.
57693
57694 * manual/signal.texi: Document MTASC-safety properties.
57695
57696 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
57697
57698 * manual/setjmp.texi: Document MTASC-safety properties.
57699
57700 * manual/search.texi: Document MTASC-safety properties.
57701
57702 * manual/resource.texi: Document MTASC-safety properties.
57703
57704 * manual/process.texi: Document MTASC-safety properties.
57705
57706 * manual/platform.texi: Document MTASC-safety properties.
57707
57708 * manual/pipe.texi: Document MTASC-safety properties.
57709
57710 * manual/pattern.texi: Document MTASC-safety properties.
57711
57712 * manual/message.texi: Document MTASC-safety properties.
57713
57714 [BZ #12751]
57715 * manual/memory.texi: Document MTASC-safety properties.
57716
57717 * manual/math.texi: Document MTASC-safety properties.
57718
57719 * manual/locale.texi: Document MTASC-safety properties.
57720
57721 * manual/llio.texi: Document MTASC-safety properties.
57722
57723 * manual/libdl.texi: New.
57724
57725 * manual/lang.texi: Document MTASC-safety properties.
57726
57727 * manual/job.texi: Document MTASC-safety properties.
57728
57729 * manual/getopt.texi: Document MTASC-safety properties.
57730
57731 * manual/ctype.texi: Document MTASC-safety properties.
57732
57733 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
57734
57735 [BZ #16046]
57736 * csu/libc-tls.c (static_map): Remove variable.
57737 (__libc_setup_tls): Use main executable's link map for TLS data.
57738 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
57739 casing for LM_ID_BASE and GL(dl_nns).
57740 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
57741 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
57742 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
57743 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
57744 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
57745 member.
57746 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
57747 l_phnum members.
57748
57749 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
57750
57751 * manual/debug.texi: Document MTASC-safety properties.
57752
57753 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
57754
57755 [BZ #16510]
57756 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
57757 of __x86_64__ when disabling x87 inline functions.
57758
57759 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
57760
57761 * manual/charset.texi: Document MTASC-safety properties.
57762
57763 * manual/crypt.texi: Document MTASC-safety properties.
57764
57765 * manual/conf.texi: Document MTASC-safety properties.
57766
57767 * manual/arith.texi: Document MTASC-safety properties.
57768
57769 * manual/argp.texi: Document MTASC-safety properties.
57770
57771 * manual/macros.texi: Introduce macros to document multi
57772 thread, asynchronous signal and asynchronous cancellation
57773 safety properties.
57774 * manual/intro.texi: Introduce the properties themselves.
57775
57776 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57777
57778 * sysdeps/sh/sh4/Makefile: New file.
57779
57780 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
57781
57782 * math/gen-libm-test.pl ($srcdir): New variable.
57783 ($auto_input): Use it.
57784
57785 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
57786
57787 [BZ #16506]
57788 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
57789 access beyond array bounds when parsing netgroups file.
57790
57791 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
57792 the old buffer before realloc.
57793
57794 2014-01-27 Allan McRae <allan@archlinux.org>
57795
57796 * po/fr.po: Update French translation from translation project.
57797
57798 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57799
57800 * sysdeps/sh/libm-test-ulps: Regenerate.
57801
57802 2014-01-24 David S. Miller <davem@davemloft.net>
57803
57804 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
57805
57806 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57807
57808 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
57809 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
57810
57811 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
57812
57813 [BZ #16474]
57814 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
57815 string pointers after reallocation.
57816
57817 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57818
57819 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
57820 __SH4A__ instead of __SH_FPU_ANY__.
57821
57822 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57823
57824 * sysdeps/sh/fpu_control.h: New file.
57825 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
57826 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
57827 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
57828 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
57829 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
57830 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
57831 * sysdeps/sh/sys/ucontext.h: Remove.
57832 * sysdeps/sh/sys: Remove directory.
57833
57834 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57835
57836 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
57837 s390/sys/ucontext.h.
57838 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
57839 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
57840
57841 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
57842
57843 [BZ #15605]
57844 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
57845
57846 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57847
57848 [BZ #16431]
57849 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
57850 Adjust the vDSO correctly for internal calls.
57851 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
57852
57853 2014-01-20 Allan McRae <allan@archlinux.org>
57854
57855 * po/ca.po: Update Catalan translation from translation project.
57856
57857 2014-01-16 Mike Frysinger <vapier@gentoo.org>
57858
57859 * sysdeps/s390/sotruss-lib.c: New file.
57860
57861 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57862
57863 [BZ #16430]
57864 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
57865 (__GI___gettimeofday): Alias for a different internal symbol to avoid
57866 local calls issues by not having a PLT stub required for IFUNC calls.
57867 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
57868
57869 2014-01-16 Joseph Myers <joseph@codesourcery.com>
57870
57871 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
57872 * math/test-fpucw-static.c: Likewise.
57873
57874 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
57875
57876 [BZ #16453]
57877 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
57878
57879 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57880
57881 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
57882 implementation for powerpc.
57883
57884 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
57885
57886 [BZ #14782]
57887 * sysdeps/posix/system.c (__libc_system): Do not enable
57888 asynchronous cancellation.
57889
57890 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57891
57892 [BZ #16427]
57893 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
57894 handling only for numbers special also in the IEEE case.
57895
57896 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57897
57898 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
57899
57900 2014-01-11 Allan McRae <allan@archlinux.org>
57901
57902 * po/bg.po: Update Bulgarian translation from translation project.
57903
57904 * po/de.po: Update German translation from translation project.
57905
57906 2014-01-10 Roland McGrath <roland@hack.frob.com>
57907
57908 * sysdeps/generic/gcc-compat.h: New file.
57909
57910 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
57911
57912 * benchtests/asin-inputs: Correct slow inputs.
57913 * benchtests/acos-inputs: Likewise.
57914
57915 2014-01-10 Allan McRae <allan@archlinux.org>
57916
57917 * po:sv.po: Update Swedish translation from translation project.
57918
57919 * po/vi.po: Update Vietnamese translation from translation project.
57920
57921 * po/eo.po: Update Esperanto translation from translation project.
57922
57923 * po/cs.po: Update Czech translation from translation project.
57924
57925 * po/nl.po: Update Dutch translation from translation project.
57926
57927 * po/pl.po: Update Polish translation from translation project.
57928
57929 * po/ru.po: Update Russian translation from translation project.
57930
57931 * po/uk.po: Update Ukrainian translation from translation project.
57932
57933 2014-01-08 Brooks Moses <bmoses@google.com>
57934
57935 * elf/dl-load.c: Fix comment typo.
57936
57937 2014-01-08 Carlos O'Donell <carlos@redhat.com>
57938
57939 * po/header.pot: Rename to...
57940 * po/pot.header: ... this.
57941 * po/Makefile: Use pot.header.
57942
57943 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
57944 Maxim Kuvyrkov <maxim@kugelworks.com>
57945
57946 [BZ #16394]
57947 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
57948 SRC and DEST against LEN.
57949
57950 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57951
57952 [BZ #16414]
57953 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
57954 implementation.
57955 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
57956
57957 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57958
57959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57960
57961 2014-01-08 Joseph Myers <joseph@codesourcery.com>
57962
57963 [BZ #16408]
57964 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
57965 for large positive arguments.
57966
57967 2014-01-07 Joseph Myers <joseph@codesourcery.com>
57968
57969 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
57970
57971 * math/auto-libm-test-in: Mark various tests with
57972 xfail-rounding:ldbl-128ibm.
57973 * math/auto-libm-test-out: Regenerated.
57974
57975 [BZ #16407]
57976 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
57977 Increase overflow threshold.
57978
57979 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
57980
57981 [BZ #14286]
57982 * stdio-common/vfprintf.c: Check for integer overflow.
57983
57984 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57985
57986 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
57987 the first argument and return value of __tls_get_addr_internal.
57988
57989 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57990
57991 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
57992 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
57993
57994 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57995
57996 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
57997 * sysdeps/s390/rtld-global-offsets.sym: New file.
57998 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
57999 GLIBC_2.19 symbol.
58000 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
58001 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
58002 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
58003 ... this.
58004 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
58005 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
58006 ... this.
58007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58008 Regenerate.
58009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58010 Regenerate.
58011 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
58012 halfs of GPRs for high_gprs contexts.
58013 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
58014 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
58015 field.
58016 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
58017 uc_flags field.
58018 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
58019 64 bit versions:
58020 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
58021 for high GPRs (uc_high_gprs) and for future extensions
58022 (__reserved).
58023 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
58024 for future extensions (__reserved).
58025 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
58026 64 bit versions:
58027 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
58028 SC_HIGHGPRS offset definition.
58029 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
58030 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
58031
58032 * Versions.def: Add GLIBC_2.19 for libpthread.
58033 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
58034 siglongjmp for libpthread with GLIBC_2.19 symver.
58035 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
58036 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
58037 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
58038 * sysdeps/s390/__longjmp.c: New file.
58039 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
58040 * sysdeps/s390/longjmp.c: New file.
58041 * sysdeps/s390/setjmp.S: New file.
58042 * sysdeps/s390/sigjmp.S: New file.
58043 * sysdeps/s390/v1-longjmp.c: New file.
58044 * sysdeps/s390/v1-setjmp.h: New file.
58045 * sysdeps/s390/v1-sigjmp.c: New file.
58046 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
58047 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
58048 GLIBC_2.19 version.
58049 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
58050 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
58051 versioned symbols for ____longjmp_chk.
58052 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
58053 Likewise.
58054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58055 Regenerate.
58056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58057 Regenerate.
58058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58059 Regenerate.
58060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58061 Regenerate.
58062 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
58063 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
58064 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
58065 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
58066 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
58067 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
58068 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
58069 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
58070 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
58071 * sysdeps/s390/rtld-__longjmp.c: New file.
58072 * sysdeps/s390/rtld-setjmp.S: New file.
58073
58074 2014-01-06 Joseph Myers <joseph@codesourcery.com>
58075
58076 [BZ #16400]
58077 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58078 Return -__logl (x) for small positive arguments without evaluating
58079 a polynomial.
58080
58081 2014-01-06 Mike Frysinger <vapier@gentoo.org>
58082
58083 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
58084 Rename to ...
58085 (__ptrace_peeksiginfo_args): ... this.
58086 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58087 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58088 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58089
58090 2014-01-06 Allan McRae <allan@archlinux.org>
58091
58092 * inet/netinet/in.h: Fix typo in comment.
58093
58094 2014-01-05 Andreas Jaeger <aj@suse.de>
58095
58096 * sysdeps/i386/fpu/libm-test-ulps: Update.
58097
58098 2014-01-05 Allan McRae <allan@archlinux.org>
58099
58100 * po/libc.pot: Regenerated.
58101
58102 * malloc/memusagestat.c: Fix gettext call formatting.
58103
58104 2014-01-04 Sami Kerola <kerolasa@iki.fi>
58105
58106 * nscd/nscd.c: Improve usage() output.
58107
58108 2014-01-04 Mike Frysinger <vapier@gentoo.org>
58109
58110 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
58111 * sysdeps/unix/sysv/linux/configure: Regenerated.
58112 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
58113 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
58114
58115 2014-01-03 Joseph Myers <joseph@codesourcery.com>
58116
58117 [BZ #16390]
58118 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
58119 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
58120
58121 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58122
58123 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
58124 extra tokens at end of #undef directive.
58125 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
58126 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
58127 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
58128
58129 2014-01-03 Joseph Myers <joseph@codesourcery.com>
58130
58131 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58132
58133 * math/auto-libm-test-in: Mark various tests with
58134 xfail-rounding:ldbl-128ibm.
58135 * math/auto-libm-test-out: Regenerated.
58136
58137 2014-01-02 Joseph Myers <joseph@codesourcery.com>
58138
58139 [BZ #16386]
58140 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
58141 numbers with subnormal high part when calculating exponent.
58142
58143 [BZ #16385]
58144 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
58145 fabs.
58146
58147 [BZ #16384]
58148 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
58149 M_LN2l.
58150 (__ieee754_acoshl): Use __log1pl not __log1p.
58151
58152 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
58153
58154 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
58155 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
58156 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
58157 (grow_heap, heap_trim, _int_new_arena, get_free_list)
58158 (reused_arena, arena_get2): Convert to GNU style.
58159 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
58160 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
58161 (memalign_check, __malloc_set_state): Likewise.
58162 * malloc/mallocbug.c (main): Likewise.
58163 * malloc/malloc.c (__malloc_assert, malloc_init_state)
58164 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
58165 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
58166 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
58167 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
58168 (__posix_memalign, malloc_info): Likewise.
58169 * malloc/malloc.h: Likewise.
58170 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
58171 (mallochook, memalignhook, reallochook, mabort): Likewise.
58172 * malloc/mcheck.h: Likewise.
58173 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
58174 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
58175 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
58176 * malloc/morecore.c (__default_morecore): Likewise.
58177 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
58178 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
58179 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
58180 (print_and_abort): Likewise.
58181 * malloc/obstack.h: Likewise.
58182 * malloc/set-freeres.c (__libc_freeres): Likewise.
58183 * malloc/tst-mallocstate.c (main): Likewise.
58184 * malloc/tst-mtrace.c (main): Likewise.
58185 * malloc/tst-realloc.c (do_test): Likewise.
58186
58187 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
58188
58189 [BZ #16366]
58190 * nscd/netgroupcache.c (do_notfound): New function.
58191 (addgetnetgrentX): Use it.
58192
58193 [BZ # 16365]
58194 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
58195 NSS_STATUS_NOTFOUND.
58196
58197 2014-01-01 Joseph Myers <joseph@codesourcery.com>
58198
58199 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
58200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58201
58202 2014-01-01 Allan McRae <allan@archlinux.org>
58203
58204 * scripts/update-copyrights: Update configure input file suffix.
58205
58206 * NEWS: Update copyright year.
58207 * catgets/gencat.c: Likewise.
58208 * csu/version.c: Likewise.
58209 * debug/catchsegv.sh: Likewise.
58210 * debug/pcprofiledump.c: Likewise.
58211 * debug/xtrace.sh: Likewise.
58212 * elf/ldconfig.c: Likewise.
58213 * elf/ldd.bash.in: Likewise.
58214 * elf/pldd.c: Likewise.
58215 * elf/sotruss.ksh: Likewise.
58216 * elf/sprof.c: Likewise.
58217 * iconv/iconv_prog.c: Likewise.
58218 * iconv/iconvconfig.c: Likewise.
58219 * locale/programs/locale.c: Likewise.
58220 * locale/programs/localedef.c: Likewise.
58221 * login/programs/pt_chown.c: Likewise.
58222 * malloc/memusage.sh: Likewise.
58223 * malloc/memusagestat.c: Likewise.
58224 * malloc/mtrace.pl: Likewise.
58225 * manual/libc.texinfo: Likewise.
58226 * nscd/nscd.c: Likewise.
58227 * nss/getent.c: Likewise.
58228 * nss/makedb.c: Likewise.
58229 * posix/getconf.c: Likewise.
58230 * scripts/test-installation.pl: Likewise.
58231
58232 * All files with FSF copyright notices: Update copyright dates
58233 using scripts/update-copyrights.
58234 * intl/plural.c: Regenerated.
58235 * locale/programs/charmap-kw.h: Likewise.
58236 * locale/programs/locfile-kw.h: Likewise.
58237
58238 2013-12-31 Mike Frysinger <vapier@gentoo.org>
58239
58240 * sysdeps/unix/sysv/linux/configure: Regenerated.
58241 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
58242 the linux/fanotify.h header.
58243 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
58244 HAVE_LINUX_FANOTIFY_H is defined.
58245
58246 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
58247
58248 * benchtests/cos-inputs: New inputs.
58249 * benchtests/sin-inputs: Likewise.
58250
58251 * benchtests/atan-inputs: New inputs. Fix name of multiple
58252 precision fallback inputs.
58253
58254 * benchtests/atanh-inputs: New inputs.
58255 * benchtests/tanh-inputs: Likewise.
58256
58257 * benchtests/acosh-inputs: New inputs.
58258 * benchtests/asinh-inputs: Likewise.
58259
58260 * benchtests/cosh-inputs: New inputs.
58261 * benchtests/sinh-inputs: Likewise.
58262
58263 * benchtests/acos-inputs: Add more inputs.
58264 * benchtests/asin-inputs: Likewise.
58265
58266 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
58267
58268 [BZ #16375]
58269 * manual/arith.texi: Fix spelling.
58270 * manual/charset.texi: Likewise.
58271 * manual/errno.texi: Likewise.
58272 * manual/filesys.texi: Likewise.
58273 * manual/lang.texi: Likewise.
58274 * manual/llio.texi: Likewise.
58275 * manual/locale.texi: Likewise.
58276 * manual/message.texi: Likewise.
58277 * manual/resource.texi: Likewise.
58278 * manual/search.texi: Likewise.
58279 * manual/setjmp.texi: Likewise.
58280 * manual/stdio.texi: Likewise.
58281 * manual/string.texi: Likewise.
58282 * manual/sysinfo.texi: Likewise.
58283 * manual/time.texi: Likewise.
58284
58285 2013-12-27 Carlos O'Donell <carlos@redhat.com>
58286
58287 * po/sl.po: New file.
58288
58289 2013-12-27 Mike Frysinger <vapier@gentoo.org>
58290
58291 * .gitignore: Add core/.gdbinit/.gdb_history.
58292
58293 2013-12-27 Allan McRae <allan@archlinux.org>
58294
58295 [BZ #16369]
58296 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
58297 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
58298
58299 2013-12-24 Brooks Moses <bmoses@google.com>
58300
58301 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
58302 all compilers that claim C++98 compliance, not just GCC.
58303 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
58304 Likewise.
58305
58306 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
58307
58308 * NEWS: Restore accidentally deleted bug-fix entries.
58309
58310 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
58311 Ondřej Bílka <neleai@seznam.cz>
58312
58313 [BZ #15073]
58314 * malloc/malloc.c (_int_free): Perform sanity check only if we
58315 have_lock.
58316
58317 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
58318
58319 [BZ #12986]
58320 * manual/stdio.texi (String Input Conversions): Clarify that character
58321 classes are not supported.
58322
58323 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58324
58325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58326
58327 2013-12-22 Joseph Myers <joseph@codesourcery.com>
58328
58329 [BZ #16337]
58330 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58331 Calculate results for small negative arguments directly rather
58332 than using reflection formula with special underflow handling.
58333
58334 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
58335 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
58336 sysdeps/unix/bsd/bsd4.4/syscalls.list.
58337 (fchflags): Likewise.
58338 (revoke): Likewise.
58339 (setlogin): Likewise.
58340 (sigaltstack): Likewise.
58341 (wait4): Likewise.
58342 (sigblock): Remove.
58343 (sigsetmask): Likewise.
58344 (wait3): Likewise.
58345 (waitpid): Likewise.
58346 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
58347 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
58348 file.
58349 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
58350 * sysdeps/unix/bsd/Makefile: ... here.
58351 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
58352 * sysdeps/unix/bsd/Versions: ... here.
58353 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
58354 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
58355 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
58356 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
58357 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
58358 * sysdeps/unix/bsd/sigblock.c: ... here.
58359 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
58360 * sysdeps/unix/bsd/sigsetmask.c: ... here.
58361 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
58362 * sysdeps/unix/bsd/sigvec.c: ... here.
58363 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
58364 * sysdeps/unix/bsd/tcdrain.c: ... here.
58365 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
58366 * sysdeps/unix/bsd/tcgetattr.c: ... here.
58367 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
58368 * sysdeps/unix/bsd/tcsetattr.c: ... here.
58369 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
58370 * sysdeps/unix/bsd/wait.c: ... here.
58371 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
58372 * sysdeps/unix/bsd/wait3.c: ... here.
58373 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
58374 * sysdeps/unix/bsd/waitpid.c: ... here.
58375
58376 2013-12-21 Joseph Myers <joseph@codesourcery.com>
58377
58378 [BZ #16356]
58379 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
58380 round-to-nearest for [!USE_AS_EXPM1L].
58381 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
58382 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
58383 more tests of exp and exp10. Expect some exp10 tests to miss
58384 exceptions or fail in directed rounding modes.
58385 * math/auto-libm-test-out: Regenerated.
58386 * math/libm-test.inc (exp10_tonearest_test_data): New array.
58387 (exp10_test_tonearest): New function.
58388 (exp10_towardzero_test_data): New array.
58389 (exp10_test_towardzero): New function.
58390 (exp10_downward_test_data): New array.
58391 (exp10_test_downward): New function.
58392 (exp10_upward_test_data): New array.
58393 (exp10_test_upward): New function.
58394 (main): Call the new functions.
58395 * sysdeps/i386/fpu/libm-test-ulps: Update.
58396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58397
58398 2013-12-20 Joseph Myers <joseph@codesourcery.com>
58399
58400 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
58401 asinh, atan, atan2, atanh, cbrt, cos and cosh.
58402 * math/auto-libm-test-out: Regenerated.
58403 * math/libm-test.inc (acosh_test_data): Add more tests.
58404 (atanh_test_data): Likewise.
58405 (ceil_test_data): Likewise.
58406 (copysign_test_data): Likewise.
58407 * sysdeps/i386/fpu/libm-test-ulps: Update.
58408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58409
58410 * timezone/checktab.awk: Update from tzcode 2013i.
58411 * timezone/private.h: Likewise.
58412 * timezone/scheck.c: Likewise.
58413 * timezone/tzfile.h: Likewise.
58414 * timezone/tzselect.ksh: Likewise.
58415 * timezone/zdump.c: Likewise.
58416 * timezone/zic.c: Likewise.
58417
58418 * math/auto-libm-test-in: Add tests of cpow.
58419 * math/auto-libm-test-out: Regenerated.
58420 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
58421 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58422 mpc_cc_c.
58423 (func_calc_desc): Add mpc_cc_c union field.
58424 (test_functions): Add cpow.
58425 (special_fill_2pi): New function.
58426 (special_real_inputs): Add 2pi.
58427 (calc_generic_results): Handle mpc_cc_c.
58428 * sysdeps/i386/fpu/libm-test-ulps: Update.
58429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58430
58431 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
58432 csqrt, ctan and ctanh.
58433 * math/auto-libm-test-out: Regenerated.
58434 * math/libm-test.inc (TEST_COND_x86_64): New macro.
58435 (TEST_COND_x86): Likewise.
58436 (ccos_test_data): Use AUTO_TESTS_c_c.
58437 (ccosh_test_data): Likewise.
58438 (cexp_test_data): Likewise.
58439 (clog_test_data): Likewise.
58440 (csqrt_test_data): Likewise.
58441 (ctan_test_data): Likewise.
58442 (ctan_tonearest_test_data): Likewise.
58443 (ctan_towardzero_test_data): Likewise.
58444 (ctan_downward_test_data): Likewise.
58445 (ctan_upward_test_data): Likewise.
58446 (ctanh_test_data): Likewise.
58447 (ctanh_tonearest_test_data): Likewise.
58448 (ctanh_towardzero_test_data): Likewise.
58449 (ctanh_downward_test_data): Likewise.
58450 (ctanh_upward_test_data): Likewise.
58451 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58452 mpc_c_c.
58453 (func_calc_desc): Add mpc_c_c union field.
58454 (FUNC_mpc_c_c): New macro.
58455 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
58456 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
58457 ctanh.
58458 (special_fill_min_subnorm_p120): New function.
58459 (special_real_inputs): Add min_subnorm_p120.
58460 (calc_generic_results): Handle mpc_c_c.
58461 * sysdeps/i386/fpu/libm-test-ulps: Update.
58462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58463
58464 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
58465
58466 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
58467 (do_sin_slow): New functions.
58468 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
58469 (cslow2, csloww1, csloww2): Use the new functions.
58470
58471 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
58472 Use M to change sign of result instead of X. Assume X is
58473 positive.
58474 (csloww1): Likewise.
58475 (__sin): Adjust.
58476 (__cos): Adjust.
58477
58478 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
58479 arguments A and DA.
58480 (__sin): Adjust.
58481 (__cos): Likewise.
58482
58483 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
58484 (__cos): Likewise.
58485 (sloww1): Don't adjust sign of DX.
58486 (csloww1): Likewise.
58487 (sloww2): Use X directly and don't adjust sign of DX.
58488 (csloww2): Likewise.
58489
58490 2013-12-19 Joseph Myers <joseph@codesourcery.com>
58491
58492 * math/auto-libm-test-in: Add tests of cabs and carg.
58493 * math/auto-libm-test-out: Regenerated.
58494 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
58495 (carg_test_data): Likewise.
58496 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58497 mpc_c_f.
58498 (func_calc_desc): Add mpc_c_f union field.
58499 (test_functions): Add cabs and carg.
58500 (calc_generic_results): Handle mpc_c_f.
58501
58502 * sysdeps/powerpc/powerpc32/libgcc-compat.S
58503 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
58504 as a macro and a compat symbol.
58505 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
58506 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
58507 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
58508 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
58509 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
58510 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
58511 not use .hidden.
58512 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
58513 Likewise.
58514 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
58515 Likewise.
58516 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
58517 Likewise.
58518 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
58519 Likewise.
58520 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
58521 Likewise.
58522 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
58523 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
58524 from GLIBC_2.3.2.
58525
58526 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58527
58528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58529
58530 2013-12-19 Joseph Myers <joseph@codesourcery.com>
58531
58532 * manual/texinfo.tex: Update to version 2013-11-26.10 with
58533 trailing whitespace removed.
58534 * scripts/config.guess: Update to version 2013-11-29.
58535 * scripts/config.sub: Update to version 2013-10-01.
58536
58537 * math/auto-libm-test-in: Add tests of sincos.
58538 * math/auto-libm-test-out: Regenerated.
58539 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
58540 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58541 mpfr_f_11.
58542 (func_calc_desc): Add mpfr_f_11 union field.
58543 (test_functions): Add sincos.
58544 (calc_generic_results): Handle mpfr_f_11.
58545 * sysdeps/i386/fpu/libm-test-ulps: Update.
58546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58547
58548 2013-12-19 Andreas Schwab <schwab@suse.de>
58549
58550 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
58551 CALL_MCOUNT.
58552 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
58553 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
58554 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
58555
58556 2013-12-19 Joseph Myers <joseph@codesourcery.com>
58557
58558 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
58559 * sysdeps/i386/fpu/libm-test-ulps: Update.
58560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58561
58562 [BZ #16293]
58563 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
58564 round-to-nearest mode when using frndint.
58565 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
58566 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
58567 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
58568 Likewise.
58569 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
58570 sinh test to fail.
58571 * math/auto-libm-test-out: Regenerated.
58572 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
58573 (TEST_COND_x86): Likewise.
58574 (expm1_tonearest_test_data): New array.
58575 (expm1_test_tonearest): New function.
58576 (expm1_towardzero_test_data): New array.
58577 (expm1_test_towardzero): New function.
58578 (expm1_downward_test_data): New array.
58579 (expm1_test_downward): New function.
58580 (expm1_upward_test_data): New array.
58581 (expm1_test_upward): New function.
58582 (main): Run the new test functions.
58583 * sysdeps/i386/fpu/libm-test-ulps: Update.
58584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58585
58586 * include/features.h: Update comment documenting feature test
58587 macros. Mention _DEFAULT_SOURCE in comment.
58588 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
58589 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
58590 _BSD_SOURCE and _SVID_SOURCE.
58591 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
58592 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
58593 !_SVID_SOURCE]: Likewise.
58594 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58595 (__USE_POSIX_IMPLICITLY): Define.
58596 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58597 (_POSIX_SOURCE): Undefine and redefine.
58598 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58599 (_POSIX_C_SOURCE): Likewise.
58600 * manual/creature.texi (_DEFAULT_SOURCE): Document.
58601 (Feature Test Macros): Update documentation of default features.
58602
58603 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
58604
58605 * benchtests/Makefile: Add bench-strtok.
58606 * benchtests/bench-strtok.c: New file: strtok benchtest.
58607
58608 2013-12-19 Allan McRae <allan@archlinux.org>
58609
58610 * manual/install.texi: Suppress menu for plain text output.
58611 * INSTALL: Regenerated.
58612
58613 2013-12-18 Brooks Moses <bmoses@google.com>
58614
58615 [BZ #15846]
58616 * misc/getauxval.c: Include errno.h.
58617 (__getauxval): Set errno to ENOENT if the requested type is not
58618 found.
58619 * misc/sys/auxv.h (getauxval): Document that it may set errno;
58620 don't declare with __attribute_const__.
58621 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
58622 * manual/startup.texi: Document that getauxval sets errno.
58623
58624 2013-12-18 Joseph Myers <joseph@codesourcery.com>
58625
58626 * math/auto-libm-test-in: Add tests of jn and yn.
58627 * math/auto-libm-test-out: Regenerated.
58628 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
58629 (yn_test_data): Likewise.
58630 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58631 mpfr_if_f.
58632 (func_calc_desc): Add mpfr_if_f union field.
58633 (FUNC_mpfr_if_f): New macro.
58634 (test_functions): Add jn and yn.
58635 (calc_generic_results): Assert type of second input for
58636 mpfr_ff_f. Handle mpfr_if_f.
58637 (output_for_one_input_case): Disable all checking for arguments
58638 fitting floating-point types in case of an integer argument.
58639 * sysdeps/i386/fpu/libm-test-ulps: Update.
58640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58641
58642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
58643 Don't expect fegetround reference in libm.so.
58644
58645 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
58646
58647 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
58648 $(config-cflags-nofma).
58649
58650 2013-12-18 Joseph Myers <joseph@codesourcery.com>
58651
58652 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
58653 * math/auto-libm-test-out: Regenerated.
58654
58655 [BZ #16338]
58656 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
58657 to determine exponent and adjust argument to have exponent of -1.
58658 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
58659 log2.
58660 * math/auto-libm-test-out: Regenerated.
58661 * sysdeps/i386/fpu/libm-test-ulps: Update.
58662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58663
58664 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
58665
58666 * manual/probes.texi: Remove cases when per-thread arenas are
58667 disabled.
58668
58669 2013-12-18 Andreas Schwab <schwab@suse.de>
58670
58671 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
58672 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
58673 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
58674 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
58675 * sysdeps/i386/i686/multiarch/Makefile: Update.
58676 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
58677
58678 2013-12-17 Joseph Myers <joseph@codesourcery.com>
58679
58680 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
58681 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
58682
58683 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
58684
58685 [BZ #15968]
58686 Support TZ transition times < 00:00:00.
58687 This is needed for version-3 tz-format files; it supports time
58688 stamps past 2037 for America/Godthab (the only entry in the tz
58689 database for which this change is relevant).
58690 * manual/time.texi (TZ Variable): Document transition times
58691 from -167:59:59 through -00:00:01.
58692 * time/tzset.c (tz_rule): Time of day is now signed.
58693 (__tzset_parse_tz): Parse negative time of day.
58694
58695 Document TZ transition times >= 25:00:00.
58696 * manual/time.texi (TZ Variable): Document transition times from
58697 25:00:00 through 167:59:59. These are already supported, and this
58698 support will help with version-3 tz-format files.
58699
58700 * manual/time.texi (TZ Variable): Modernize North America example
58701 to reflect current (i.e., 2007-and-later) daylight saving rules.
58702
58703 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
58704
58705 2013-12-17 Joseph Myers <joseph@codesourcery.com>
58706
58707 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
58708 * sysdeps/unix/bsd/bits/stat.h: Likewise.
58709 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
58710 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
58711 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
58712 * sysdeps/unix/bsd/bsdstat.h: Likewise.
58713 * sysdeps/unix/bsd/clock.c: Likewise.
58714 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
58715 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
58716 * sysdeps/unix/bsd/init-posix.c: Likewise.
58717 * sysdeps/unix/bsd/poll.c: Likewise.
58718 * sysdeps/unix/bsd/ptsname.c: Likewise.
58719 * sysdeps/unix/bsd/seekdir.c: Likewise.
58720 * sysdeps/unix/bsd/setegid.c: Likewise.
58721 * sysdeps/unix/bsd/seteuid.c: Likewise.
58722 * sysdeps/unix/bsd/setgid.c: Likewise.
58723 * sysdeps/unix/bsd/setrgid.c: Likewise.
58724 * sysdeps/unix/bsd/setruid.c: Likewise.
58725 * sysdeps/unix/bsd/setsid.c: Likewise.
58726 * sysdeps/unix/bsd/setuid.c: Likewise.
58727 * sysdeps/unix/bsd/sigaction.c: Likewise.
58728 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
58729 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
58730 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
58731 * sysdeps/unix/bsd/telldir.c: Likewise.
58732 * sysdeps/unix/bsd/times.c: Likewise.
58733 * sysdeps/unix/bsd/usleep.c: Likewise.
58734
58735 * misc/Makefile (install-lib): Remove libbsd-compat.a.
58736 ($(objpfx)libbsd-compat.a): Remove rule.
58737
58738 * include/features.h (__FAVOR_BSD): Do not define.
58739 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
58740 features conflicting with POSIX.
58741 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
58742 (_BSD_SOURCE): Remove description of not being a subset of other
58743 feature test macros.
58744 * manual/job.texi (getpgrp): Do not document BSD version.
58745 (getpgid): Do not document by reference to BSD getpgrp.
58746 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
58747 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
58748 * signal/signal.h [__FAVOR_BSD]: Likewise.
58749 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
58750 instead of making contents conditional on [__FAVOR_BSD].
58751 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
58752
58753 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58754
58755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58756
58757 2013-12-17 Joseph Myers <joseph@codesourcery.com>
58758
58759 [BZ #16314]
58760 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
58761 values below 2**-450, not 2**-500.
58762 * math/auto-libm-test-in: Don't allow spurious underflow from
58763 hypot.
58764 * math/auto-libm-test-out: Regenerated.
58765
58766 [BZ #16316]
58767 [BZ #16330]
58768 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
58769 values of ha and hb and sort them after adjusting subnormal
58770 arguments.
58771 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
58772 Likewise.
58773 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
58774 values of ea and eb and sort them after adjusting subnormal
58775 arguments.
58776 * math/auto-libm-test-in: Do not expect some hypot tests of
58777 subnormals to fail. Add more hypot tests.
58778 * math/auto-libm-test-out: Regenerated.
58779
58780 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58781
58782 [BZ #13304]
58783 * sysdeps/sh/s_fma.c: New file.
58784 * sysdeps/sh/s_fmaf.c: New file.
58785 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
58786 version.
58787 * sysdeps/sh/Implies: Add sh/soft-fp.
58788
58789 2013-12-16 Roland McGrath <roland@hack.frob.com>
58790
58791 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
58792 level of indirection to members `objname', `errstring', `malloced'.
58793 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
58794 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
58795 it as the __longjmp argument (just pass 1 instead).
58796 (_dl_catch_error): Initialize C with argument pointers and address of
58797 volatile local ERRCODE rather than copying values out of C at return.
58798
58799 2013-12-16 Joseph Myers <joseph@codesourcery.com>
58800
58801 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
58802 * math/auto-libm-test-out: Regenerated.
58803 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
58804 (hypot_test_data): Likewise.
58805 (pow_test_data): Likewise.
58806 (pow_tonearest_test_data): Likewise.
58807 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58808 mpfr_ff_f.
58809 (func_calc_desc): Add mpfr_ff_f union field.
58810 (FUNC_mpfr_ff_f): New macro.
58811 (test_functions): Add atan2, hypot and pow.
58812 (special_fill_min): New function.
58813 (special_fill_minus_min): Likewise.
58814 (special_fill_min_subnorm): Likewise.
58815 (special_fill_minus_min_subnorm): Likewise.
58816 (special_real_inputs): Add min, -min, min_subnorm and
58817 -min_subnorm.
58818 (calc_generic_results): Handle mpfr_ff_f.
58819 * sysdeps/i386/fpu/libm-test-ulps: Update.
58820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58821
58822 2013-12-16 Will Newton <will.newton@linaro.org>
58823
58824 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
58825 (Aligned Memory Blocks): Add documentation for aligned_alloc
58826 and suggest it as an alternative to posix_memalign.
58827 (Hooks for Malloc): Document __memalign_hook is also called
58828 for aligned_alloc. (Summary of Malloc): Add summary for
58829 aligned alloc. Document __memalign_hook is also called
58830 for aligned_alloc.
58831
58832 2013-12-16 Will Newton <will.newton@linaro.org>
58833
58834 * manual/memory.texi (Malloc Examples): Clarify default
58835 alignment documentation. Suggest posix_memalign rather
58836 than memalign or valloc.
58837 (Aligned Memory Blocks): Remove suggestion to use memalign
58838 or valloc. Remove obsolete comment about BSD.
58839 Document memalign errno values and mark the function obsolete.
58840 Document posix_memalign returned error codes. Mark valloc
58841 as obsolete. (Hooks for Malloc): __memalign_hook is also
58842 called for posix_memalign and valloc.
58843 (Summary of Malloc): Add posix_memalign to function summary.
58844 __memalign_hook is also called for posix_memalign and valloc.
58845
58846 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
58847
58848 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
58849 TAYLOR_SIN.
58850 (__sin): Adjust.
58851 (__cos): Likewise.
58852 (sloww): Use mynumber union. Expand ternary operator into
58853 if-else statements.
58854 (cslow): use mynumber union.
58855
58856 2013-12-16 Allan McRae <allan@archlinux.org>
58857
58858 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
58859 * configure: Regenerated.
58860
58861 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
58862
58863 [BZ #14120]
58864 * configure.ac: Added --enable-maintainer-mode. Check for
58865 autoconf when enabled.
58866 * configure: Regenerated.
58867
58868 * nscd/nscd.service: New file.
58869 * nscd/nscd.tmpfiles: New file.
58870
58871 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
58872
58873 [BZ #12100]
58874 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
58875 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
58876 * sysdeps/x86_64/multiarch/strstr.c: ... here.
58877 (strstr): Add __strstr_sse2_unaligned ifunc.
58878 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
58879 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
58880 (strcasestr): Remove __strcasestr_sse42 ifunc.
58881 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
58882 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
58883 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
58884
58885 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58886
58887 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
58888 * sysdeps/sh/bits/fenv.h: ... here.
58889 * sysdeps/sh/sh4/fpu/bits: Remove directory.
58890
58891 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58892
58893 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
58894
58895 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
58896 hypotf multiarch implementations.
58897 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
58898 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
58899 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
58900 multiarch hypot for PPC64.
58901 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
58902 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
58903 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
58904 multiarch hypotf for PPC64.
58905
58906 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
58907 modff multiarch implementations.
58908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
58909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
58910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
58911 multiarch modf for PPC64.
58912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
58913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
58914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
58915 multiarch modff for PPC64.
58916
58917 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
58918 and logl multiarch implementations.
58919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
58920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
58921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
58922 multiarch logb for PPC64.
58923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
58924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
58925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
58926 multiarch logb for PPC64.
58927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
58928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
58929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
58930 multiarch logb for PPC64.
58931
58932 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
58933 isinff multiarch implementation.
58934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
58935 file.
58936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
58937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
58938 multiarch isinf for PPC64.
58939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
58940 file.
58941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
58942 multiarch isinff for PPC64.
58943
58944 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
58945 finitef multiarch implementation.
58946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
58947 file.
58948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
58949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
58950 multiarch finite for PPC64.
58951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
58952 file.
58953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
58954 multiarch finitef for PPC64.
58955
58956 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
58957 lrint multiarch implementation.
58958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
58959 file.
58960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
58961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
58962 multiarch llrint for PPC64.
58963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
58964 multiarch lrint for PPC64.
58965
58966 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
58967 copysignf multiarch implementation.
58968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
58969 file.
58970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
58971 file.
58972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
58973 multiarch copysign for PPC64.
58974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
58975 multiarch copysignf for PPC64.
58976
58977 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
58978 multiarch implementation.
58979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
58980 file.
58981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
58982 file.
58983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
58984 file.
58985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
58986 file.
58987 multiarch llround for PPC64.
58988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
58989 multiarch trunc for PPC64.
58990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
58991 multiarch truncf for PPC64.
58992
58993 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
58994 multiarch implementation.
58995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
58996 file.
58997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
58998 file.
58999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
59000 file.
59001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
59002 file.
59003 multiarch llround for PPC64.
59004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
59005 multiarch round for PPC64.
59006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
59007 multiarch roundf for PPC64.
59008
59009 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
59010 multiarch implementation.
59011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
59012 file.
59013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
59014 file.
59015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
59016 file.
59017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
59018 file.
59019 multiarch llround for PPC64.
59020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
59021 multiarch floor for PPC64.
59022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
59023 multiarch floorf for PPC64.
59024
59025 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
59026 multiarch implementation.
59027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
59028 file.
59029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
59030 file.
59031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
59032 file.
59033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
59034 file.
59035 multiarch llround for PPC64.
59036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
59037 multiarch ceil for PPC64.
59038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
59039 multiarch ceilf for PPC64.
59040
59041 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
59042 multiarch implementation.
59043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
59044 file.
59045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
59046 file.
59047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
59048 file.
59049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
59050 multiarch llround for PPC64.
59051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
59052 multiarch lround for PPC64.
59053
59054 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
59055 multiarch implementation.
59056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
59057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
59058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
59059 file.
59060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
59061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
59062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
59063 multiarch isnan for PPC64.
59064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
59065 multiarch isnanf for PPC64.
59066
59067 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
59068 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
59069 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
59070 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
59071 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
59072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
59073
59074 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
59075 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59076 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59077 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59078
59079 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
59080 multiarch implementations.
59081 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59082 (__libc_ifunc_impl_list): Likewise.
59083 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
59084 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
59085 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
59086 multiarch stpcpy for PPC64.
59087
59088 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
59089 multiarch implementations.
59090 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59091 (__libc_ifunc_impl_list): Likewise.
59092 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
59093 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
59094 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
59095 multiarch strcpy for PPC64.
59096
59097 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
59098 redefine function name.
59099 (_wordcopy_fwd_dest_aligned): Likewise.
59100 (_wordcopy_bwd_aligned): Likewise.
59101 (_wordcopy_bwd_dest_aligned): Likewise.
59102 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
59103 multiarch implementations.
59104 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59105 (__libc_ifunc_impl_list): Likewise.
59106 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
59107 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
59108 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
59109 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
59110 multiarch wcscpy for PPC64.
59111
59112 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
59113 multiarch implementations.
59114 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59115 (__libc_ifunc_impl_list): Likewise.
59116 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
59117 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
59118 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
59119 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
59120 multiarch wcscpy for PPC64.
59121
59122 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
59123 multiarch implementations.
59124 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59125 (__libc_ifunc_impl_list): Likewise.
59126 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
59127 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
59128 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
59129 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
59130 multiarch wcsrchr for PPC64.
59131
59132 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
59133 multiarch implementations.
59134 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59135 (__libc_ifunc_impl_list): Likewise.
59136 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
59137 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
59138 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
59139 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
59140 multiarch wcschr for PPC64.
59141
59142 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
59143 multiarch implementations.
59144 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59145 (__libc_ifunc_impl_list): Likewise.
59146 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
59147 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
59148 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
59149 multiarch strchrnul for PPC64.
59150
59151 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
59152 implementations.
59153 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59154 (__libc_ifunc_impl_list): Likewise.
59155 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
59156 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
59157 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
59158 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
59159 strchr for PPC64.
59160
59161 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
59162 implementations.
59163 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59164 (__libc_ifunc_impl_list): Likewise.
59165 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
59166 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
59167 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
59168 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
59169 strncmp for PPC64.
59170
59171 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
59172 multiarch implementations.
59173 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59174 (__libc_ifunc_impl_list): Likewise.
59175 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
59176 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
59177 strncasecmp for PPC64.
59178 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
59179 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
59180 multiarch strncasecmp_l for PPC64.
59181
59182 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
59183 multiarch implementations.
59184 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
59185 (__libc_ifunc_impl_list): Likewise.
59186 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
59187 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
59188 multiarch strcasecmp for PPC64.
59189 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
59190 file.
59191 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
59192 multiarch strcasecmp_l for PPC64.
59193
59194 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
59195 implementations.
59196 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59197 (__libc_ifunc_impl_list): Likewise.
59198 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
59199 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
59200 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
59201 strnlen for PPC64.
59202
59203 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
59204 implementations.
59205 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59206 (__libc_ifunc_impl_list): Likewise.
59207 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
59208 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
59209 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
59210 strlen for PPC64.
59211
59212 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
59213 implementations.
59214 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59215 (__libc_ifunc_impl_list): Likewise.
59216 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
59217 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
59218 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
59219 rawmemrchr for PPC64.
59220
59221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
59222 implementation.
59223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59224 (__libc_ifunc_impl_list): Likewise.
59225 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
59226 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
59227 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
59228 memrchr for PPC64.
59229
59230 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
59231 implementation.
59232 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59233 (__libc_ifunc_impl_list): Likewise.
59234 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
59235 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
59236 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
59237 memchr for PPC64.
59238
59239 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
59240 implementation.
59241 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59242 (__libc_ifunc_impl_list): Likewise.
59243 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
59244 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
59245 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
59246 mempcpy for PPC64.
59247
59248 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
59249 avoid cretion of __bzero symbol.
59250 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
59251 Likewise.
59252 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
59253 Likewise.
59254 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
59255 Likewise.
59256 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
59257 multiarch implementations.
59258 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59259 (__libc_ifunc_impl_list): Likewise.
59260 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
59261 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
59262 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
59263 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
59264 bzero for PPC32.
59265 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
59266 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
59267 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
59268 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
59269 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
59270 memset for PPC64.
59271 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
59272
59273 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
59274 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
59275 implementations.
59276 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59277 (__libc_ifunc_impl_list): Likewise.
59278 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
59279 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
59280 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
59281 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
59282 memcmp for PPC64.
59283
59284 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
59285 multiarch for POWER/PPC64.
59286 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
59287 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
59288 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
59289 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
59290 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
59291 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
59292 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
59293 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
59294 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
59295 memcpy for PPC64.
59296
59297 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
59298 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
59299 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
59300 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
59301 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
59302 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
59303 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
59304 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
59305 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
59306 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
59307 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
59308 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
59309 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
59310 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
59311 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
59312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
59313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
59314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
59315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
59316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
59317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
59318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
59319
59320 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
59321
59322 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
59323
59324 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
59325
59326 * benchtests/Makefile (bench): Add exp2 and log2.
59327 (LDLIBS-bench-exp2): Add -lm.
59328 (LDLIBS-bench-log2): Likewise.
59329 * benchtests/exp2-inputs: New inputs file.
59330 * benchtests/log2-inputs: New inputs file.
59331 * benchtests/log-inputs: Add new inputs.
59332 * benchtests/tan-inputs: Likewise.
59333
59334 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
59335
59336 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
59337 definition...
59338 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
59339 (csloww2): ... from here.
59340
59341 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
59342 instead of structures.
59343 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
59344 (POLYNOMIAL): Likewise.
59345 (TAYLOR_SLOW): Likewise.
59346 (__sin): Likewise.
59347 (__cos): Likewise.
59348 (slow1): Likewise.
59349 (slow2): Likewise.
59350 (sloww): Likewise.
59351 (sloww1); Likewise.
59352 (sloww2): Likewise.
59353 (bsloww1): Likewise.
59354 (bsloww2): Likewise.
59355 (cslow2): Likewise.
59356 (csloww): Likewise.
59357 (csloww1): Likewise.
59358 (csloww2): Likewise.
59359
59360 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
59361
59362 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
59363 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
59364 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
59365 * malloc/hooks.c (realloc_check): Likewise.
59366
59367 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
59368 * malloc/arena.c: Remove PER_THREAD conditional.
59369 [!PER_THREAD]: Remove code.
59370 (ptmalloc_unlock_all2): Likewise.
59371 (ptmalloc_init): Likewise.
59372 (_int_new_arena): Likewise.
59373 (arena_get2): Likewise.
59374 * malloc/hooks.c (__malloc_get_state): Likewise.
59375 (__malloc_set_state): Likewise.
59376 * malloc/malloc.c: Likewise.
59377 (struct malloc_state): Likewise.
59378 (struct malloc_par): Likewise.
59379 (__libc_realloc): Likewise.
59380 (__libc_mallopt): Likewise.
59381
59382 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59383
59384 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
59385
59386 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
59387
59388 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
59389 macro to a function. Check for zero perturb_byte.
59390 (_int_malloc, _int_free): Remove zero perturb_byte checks.
59391
59392 * malloc/malloc.c: (force_reg): Remove.
59393 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
59394 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
59395 force_reg by atomic_forced_read.
59396 * malloc/arena.c (ptmalloc_init): Likewise.
59397 * malloc/hooks.c (top_check): Likewise.
59398
59399 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59400
59401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59402
59403 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
59404
59405 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59406
59407 2013-12-08 Joseph Myers <joseph@codesourcery.com>
59408
59409 * math/auto-libm-test-in: Add tests of lgamma.
59410 * math/auto-libm-test-out: Regenerated.
59411 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
59412 (M_LOG_2_SQRT_PIl): Likewise.
59413 (lgamma_test_data): Use AUTO_TESTS_f_f1.
59414 * math/gen-auto-libm-tests.c (func_calc_method): Add value
59415 mpfr_f_f1.
59416 (func_calc_desc): Add mpfr_f_f1 union field.
59417 (ARGS1): New macro.
59418 (ARGS2): Likewise.
59419 (ARGS3): Likewise.
59420 (ARGS4): Likewise.
59421 (RET1): Likewise.
59422 (RET2): Likewise.
59423 (CALC): Likewise.
59424 (FUNC): Likewise.
59425 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
59426 (test_functions): Add lgamma.
59427 (calc_generic_results): Handle mpfr_f_f1.
59428 * sysdeps/i386/fpu/libm-test-ulps: Update.
59429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59430
59431 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59432
59433 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
59434 __mpn_add_n for PowerPC64/POWER7.
59435 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
59436 __mpn_sub_n for PowerPC64/POWER7.
59437
59438 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
59439 __mpn_addmul_1 for PowerPC64.
59440 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
59441 __mpn_submul_1 for PowerPC64.
59442 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
59443 for PowerPC64.
59444 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
59445 for PowerPC64.
59446
59447 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
59448
59449 [BZ #15089]
59450 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
59451
59452 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59453
59454 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
59455
59456 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
59457 add multiarch folders.
59458 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
59459 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
59460 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
59461 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
59462 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
59463 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
59464 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
59465 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
59466 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
59467 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
59468 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
59469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
59470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
59471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
59472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
59473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
59474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
59475
59476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59477 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
59478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
59479 New file.
59480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
59481 New file.
59482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
59483 multiarch __ieee754_hypot for PowerPC32.
59484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
59485 New file.
59486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
59487 New file.
59488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
59489 multiarch __ieee754_hypotf for PowerPC32.
59490
59491 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
59492 long_double_symbol only if __logbl is defined.
59493 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
59494 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
59495 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
59496 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
59497 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
59498 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
59499 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
59500 path for implementation.
59501 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
59502 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
59503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
59504 logb, and logbl multiarch implementations for PowerPC32.
59505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
59506 file.
59507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
59508 file.
59509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
59510 multiarch logb for PowerPC32.
59511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
59512 file.
59513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
59514 file.
59515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
59516 multiarch logbf for PowerPC32.
59517 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
59518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
59519 file.
59520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
59521 multiarch logbl implementation for PowerPC32.
59522
59523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
59524 and modff multiarch implementations.
59525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
59526 New file.
59527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
59528 New file.
59529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
59530 multiarch modf for PowerPC32.
59531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
59532 New file.
59533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
59534 New file.
59535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
59536 multiarch modff for PowerPC32.
59537
59538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
59539 and lrintf multiarch implementations.
59540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
59541 New file.
59542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
59543 New file.
59544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
59545 multiarch lrint for PowerPC32.
59546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
59547 file: multiarch lrintf for PowerPC32.
59548
59549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
59550 and lroundf multiarch implementations.
59551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
59552 New file.
59553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
59554 New file.
59555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
59556 New file.
59557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
59558 multiarch lround for PowerPC32.
59559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
59560 file: multiarch lroundf for PowerPC32.
59561
59562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59563 copysign and copysignf multiarch implementations.
59564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
59565 New file.
59566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
59567 New file.
59568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
59569 file: multiarch copysign for PowerPC32.
59570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
59571 file: multiarch copysignf for PowerPC32.
59572
59573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
59574 and truncf multiarch implementations.
59575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
59576 New file.
59577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
59578 file.
59579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
59580 multiarch trunc for PowerPC32.
59581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
59582 New file.
59583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
59584 New file.
59585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
59586 multiarch truncf for PowerPC32.
59587
59588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
59589 and roundf multiarch implementations.
59590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
59591 New file.
59592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
59593 file.
59594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
59595 multiarch round for PowerPC32.
59596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
59597 New file.
59598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
59599 New file.
59600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
59601 multiarch roundf for PowerPC32.
59602
59603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
59604 and floorf multiarch implementations.
59605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
59606 New file.
59607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
59608 file.
59609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
59610 multiarch floor for PowerPC32.
59611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
59612 New file.
59613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
59614 New file.
59615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
59616 multiarch floorf for PowerPC32.
59617
59618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
59619 and ceilf multiarch implementations.
59620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
59621 New file.
59622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
59623 file.
59624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
59625 multiarch ceil for PowerPC32.
59626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
59627 New file.
59628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
59629 file.
59630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
59631 multiarch ceilf for PowerPC32.
59632
59633 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
59634 is defined.
59635 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
59636 FINITEF is defined.
59637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
59638 and finitef multiarch implementations.
59639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
59640 New file.
59641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
59642 file.
59643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
59644 multiarch finite for PowerPC32.
59645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
59646 New file.
59647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
59648 file: multiarch finitef for PowerPC32.
59649
59650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
59651 and isinff multiarch implementations.
59652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
59653 file.
59654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
59655 file.
59656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
59657 multiarch isinf for PowerPC32.
59658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
59659 New file.
59660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
59661 multiarch isinff for PowerPC32.
59662
59663 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
59664 alias when __isnan is defined.
59665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
59666 and isnanf multiarch implementations.
59667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
59668 file.
59669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
59670 file.
59671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
59672 file.
59673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
59674 file.
59675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
59676 multiarch isnan for PowerPC32.
59677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
59678 New file.
59679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
59680 New file.
59681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
59682 multiarch isnanf for PowerPC32.
59683
59684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
59685 and sqrtf multiarch implementations.
59686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
59687 file.
59688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
59689 file.
59690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
59691 multiarch sqrt for PowerPC32.
59692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
59693 file.
59694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
59695 file.
59696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
59697 multiarch sqrtf for PowerPC32.
59698
59699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
59700 and llroundf multiarch implementations.
59701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
59702 New file.
59703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
59704 New file.
59705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
59706 New file.
59707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
59708 file: multiarch llround for PowerPC32.
59709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
59710 file: multiarch llroundf for PowerPC32.
59711
59712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
59713 multiarch PowerPC32 fpu implementations.
59714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
59715 New file.
59716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
59717 New file.
59718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
59719 multiarch llrint for PowerPC32.
59720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
59721 New file.
59722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
59723 New file.
59724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
59725 file.
59726
59727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
59728
59729 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
59730 file.
59731 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
59732 file.
59733 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
59734 file.
59735 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
59736 multiarch wordcopy for PPC32.
59737 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
59738 wordcopy objects.
59739 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59740 (__libc_ifunc_impl_list): Likewise.
59741 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
59742 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
59743 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
59744 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
59745 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
59746 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
59747
59748 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
59749 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
59750 file.
59751 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
59752 file.
59753 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
59754 file.
59755 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
59756 multiarch wcscpy for PPC32.
59757 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
59758 multiarch objects.
59759 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59760 (__libc_ifunc_impl_list): Likewise.
59761 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
59762 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
59763 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
59764 sysdeps/powerpc/power6/wcscpy.c.
59765
59766 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
59767 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
59768 file.
59769 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
59770 file.
59771 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
59772 file.
59773 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
59774 multiarch wcsrchr for PPC32.
59775 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
59776 multiarch objects.
59777 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59778 (__libc_ifunc_impl_list): Likewise.
59779 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
59780 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
59781 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
59782 sysdeps/powerpc/power6/wcsrchr.c.
59783
59784 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
59785 file.
59786 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
59787 file.
59788 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
59789 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
59790 multiarch wcschr for PPc32.
59791 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
59792 multiarch objects.
59793 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59794 (__libc_ifunc_impl_list): Likewise.
59795 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
59796 * sysdeps/powerpc/power6/wcschr.c: ... to here.
59797 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
59798 sysdeps/powerpc/power6/wcschr.c.
59799
59800 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
59801 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
59802 file.
59803 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
59804 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
59805 file: multiarch strchr for PPC32.
59806 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
59807 multiarch objects.
59808 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59809 (__libc_ifunc_impl_list): Likewise.
59810
59811 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
59812 name.
59813 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
59814 file.
59815 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
59816 file.
59817 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
59818 multiarch strchrnul for PPC32.
59819 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
59820 multiarch objects.
59821 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59822 (__libc_ifunc_impl_list): Likewise.
59823
59824 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
59825 file.
59826 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
59827 multiarch strncasecmp for PPC32.
59828 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
59829 file.
59830 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
59831 multiarch strncasecmp_l for PPC32.
59832 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
59833 strncasecmp multiarch objects.
59834 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59835 (__libc_ifunc_impl_list): Likewise.
59836
59837 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
59838 file.
59839 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
59840 multiarch strncasecmp for PPC32.
59841 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
59842 New file.
59843 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
59844 multiarch strcasecmp_l for PPC32.
59845 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
59846 multiarch objects.
59847 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59848 (__libc_ifunc_impl_list): Likewise.
59849
59850 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
59851 file.
59852 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
59853 file.
59854 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
59855 multiarch strncmp for PPC32.
59856 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
59857 multiarch objects.
59858 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59859 (__libc_ifunc_impl_list): Likewise.
59860
59861 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
59862 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
59863 file.
59864 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
59865 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
59866 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
59867 multiarch objects.
59868 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59869 (__libc_ifunc_impl_list): Likewise.
59870
59871 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
59872 file.
59873 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
59874 file.
59875 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
59876 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
59877 multiarch objects.
59878 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59879 (__libc_ifunc_impl_list): Likewise.
59880
59881 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
59882 file.
59883 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
59884 file.
59885 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
59886 multiarch rawmemchr for PPC32.
59887 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
59888 multiarch objects.
59889 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59890 (__libc_ifunc_impl_list): Likewise.
59891
59892 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
59893 file.
59894 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
59895 file.
59896 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
59897 file: memrchr multiarch for PPC32.
59898 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
59899 multiarch objects.
59900 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59901 (__libc_ifunc_impl_list): Likewise.
59902
59903 * string/memchr.c (__memchr): Using macro to redefine symbol name.
59904 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
59905 file.
59906 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
59907 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
59908 multiarch memchr for PPC32.
59909 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
59910 multiarch objects.
59911 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59912 (__libc_ifunc_impl_list): Likewise.
59913
59914 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
59915 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
59916 file.
59917 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
59918 file.
59919 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
59920 file: multiarch mempcpy for PPC32.
59921 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
59922 multiarch objects.
59923 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59924 (__libc_ifunc_impl_list): Likewise.
59925
59926 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
59927 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
59928 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
59929 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
59930 multiarch bzero for PPC32.
59931 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
59932 file.
59933 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
59934 file.
59935 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
59936 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
59937 file: multiarch memset for PPC32.
59938 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
59939 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
59940 memset multiarch objects.
59941 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59942 (__libc_ifunc_impl_list): Likewise.
59943
59944 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
59945 file.
59946 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
59947 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
59948 memcmp for PPC32.
59949 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
59950 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
59951 multiarch objects.
59952 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59953 (__libc_ifunc_impl_list): Likewise.
59954
59955 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
59956 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
59957 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
59958 file.
59959 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
59960 file.
59961 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
59962 file.
59963 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
59964 multiarch memcpy for PPC32.
59965 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
59966 multiarch objects.
59967 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59968 (__libc_ifunc_impl_list): Likewise.
59969
59970 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
59971 support multiarch for POWER/PPC32.
59972 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
59973 Likewise.
59974 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
59975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
59976 Implies file to make multiarch folder appers before the fpu and
59977 default folder for power4 configuration.
59978
59979 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
59980
59981 * scripts/bench.pl: Append volatile keyword to type.
59982
59983 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
59984
59985 * sysdeps/sh/sotruss-lib.c: New file.
59986 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
59987
59988 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59989
59990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59991
59992 2013-12-05 Joseph Myers <joseph@codesourcery.com>
59993
59994 [BZ #6810]
59995 * math/w_tgamma.c: Include <errno.h>.
59996 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
59997 * math/w_tgammaf.c: Include <errno.h>.
59998 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
59999 * math/w_tgammal.c: Include <errno.h>.
60000 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
60001 * math/auto-libm-test-in: Do not allow missing errno on tgamma
60002 underflow. Add more tgamma tests.
60003 * math/auto-libm-test-out: Regenerated.
60004 * sysdeps/i386/fpu/libm-test-ulps: Update.
60005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60006
60007 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
60008 sin, sinh, tan, tanh, tgamma, y0 and y1.
60009 * math/auto-libm-test-out: Regenerated.
60010 * math/libm-test.inc (TEST_COND_x86_64): New macro.
60011 (TEST_COND_x86): Likewise.
60012 (M_E2l): Remove macro.
60013 (M_E3l): Likewise.
60014 (M_2_SQRT_PIl): Likewise.
60015 (M_SQRT_PIl): Likewise.
60016 (M_1_DIV_El): Likewise.
60017 (log_test_data): Use AUTO_TESTS_f_f.
60018 (log10_test_data): Likewise.
60019 (log1p_test_data): Likewise.
60020 (log2_test_data): Likewise.
60021 (sin_test_data): Likewise.
60022 (sin_tonearest_test_data): Likewise.
60023 (sin_towardzero_test_data): Likewise.
60024 (sin_downward_test_data): Likewise.
60025 (sin_upward_test_data): Likewise.
60026 (sinh_test_data): Likewise.
60027 (sinh_tonearest_test_data): Likewise.
60028 (sinh_towardzero_test_data): Likewise.
60029 (sinh_downward_test_data): Likewise.
60030 (sinh_upward_test_data): Likewise.
60031 (tan_test_data): Likewise.
60032 (tan_tonearest_test_data): Likewise.
60033 (tan_towardzero_test_data): Likewise.
60034 (tan_downward_test_data): Likewise.
60035 (tan_upward_test_data): Likewise.
60036 (tanh_test_data): Likewise.
60037 (tgamma_test_data): Likewise.
60038 (y0_test_data): Likewise.
60039 (y1_test_data): Likewise.
60040 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
60041 (special_real_inputs): Add pi/4.
60042 * sysdeps/i386/fpu/libm-test-ulps: Update.
60043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60044
60045 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60046
60047 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
60048 "longjmp_target" static probes.
60049 (__longjmp): Rename to __longjmp_symbol.
60050 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
60051 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
60052 on which longjmp to generate.
60053 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
60054 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
60055 probe.
60056 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60057 (__sigjmp_save): Rename to __sigjmp_save_symbol.
60058 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
60059 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
60060 and __sigjmp_save_symbol based on which sigsetjmp to generated.
60061 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
60063 __longjmp_symbol based on which __longjmp to generate.
60064 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
60065 probe.
60066 (setjmp): Rename to setjmp_symbol.
60067 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60068 (_setjmp): Rename to _setjmp_symbol.
60069 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60070 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
60071 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
60072 which setjmp to generate.
60073 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
60074 "longjmp_target" static probes.
60075
60076 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
60077
60078 * benchtests/README: Add note about output arguments.
60079 * benchtests/bench-sincos.c: Remove file.
60080 * benchtests/sincos-inputs: New file.
60081 * scripts/bench.pl: Identify output arguments and define
60082 static variables for them.
60083
60084 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
60085
60086 [BZ #15941]
60087 * Makefile (INSTALL): Add install-plain.texi as the primary
60088 dependency.
60089 * manual/install-plain.texi: New file.
60090 * manual/install.texi: Include node directive only for
60091 non-plaintext output.
60092
60093 2013-12-04 Joseph Myers <joseph@codesourcery.com>
60094
60095 * stdlib/longlong.h: Update from GCC.
60096
60097 [BZ #6807]
60098 [BZ #15901]
60099 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
60100 * math/w_j0f.c (y0f): Likewise.
60101 * math/w_j0l.c (__y0l): Likewise.
60102 * math/w_j1.c (y1): Likewise.
60103 * math/w_j1f.c (y1f): Likewise.
60104 * math/w_j1l.c (__y1l): Likewise.
60105 * math/w_jn.c (yn): Likewise.
60106 * math/w_jnf.c (ynf): Likewise.
60107 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
60108 Bessel function pole errors in _POSIX_ mode. Use NAN as return
60109 value for Bessel function domain errors outside _SVID_ mode.
60110 Adjust sign of return value for yn (negative integer, 0).
60111 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
60112 by zero in return for negative x and set sign appropriately for
60113 negative n.
60114 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
60115 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60116 * math/libm-test.inc (y0_test_data): Add more tests and adjust
60117 expectations in error cases.
60118 (y1_test_data): Likewise.
60119 (yn_test_data): Likewise.
60120 * sysdeps/i386/fpu/libm-test-ulps: Update.
60121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60122
60123 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60124
60125 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
60126 "64" to "64-v1". Add "64-v2".
60127 (abi-64-options): Rename to ...
60128 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
60129 (abi-64-condition): Rename to ...
60130 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
60131 (abi-64-ld-soname): Rename to ...
60132 (abi-64-v1-ld-soname): ... this.
60133 (abi-64-v2-options): Define.
60134 (abi-64-v2-condition): Likewise.
60135 (abi-64-v2-ld-soname): Likewise.
60136 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
60137 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
60138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
60139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
60140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
60141
60142 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60143 Alan Modra <amodra@gmail.com>
60144
60145 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
60146 New versions for use with the ELFv2 ABI.
60147 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
60148 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
60149 declaration.
60150 (struct La_ppc64v2_retval): Likewise.
60151 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
60152 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
60153 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
60154 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
60155 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
60156 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60157 Do not save or restore CR.
60158 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
60159 (_dl_profile_resolve): Do no save or restore CR. Support extended
60160 return values for ELFv2 ABI. Fix location of FPR return registers.
60161 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
60162 updated values for _CALL_ELF == 2.
60163 (La_regs, La_retval, int_retval): Likewise.
60164
60165 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60166
60167 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
60168 (FRAME_MIN_SIZE_PARM): Likewise.
60169 (FRAME_BACKCHAIN): Likewise.
60170 (FRAME_CR_SAVE): Likewise.
60171 (FRAME_LR_SAVE): Likewise.
60172 (FRAME_TOC_SAVE): Likewise.
60173 (FRAME_PARM_SAVE): Likewise.
60174 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
60175 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
60176 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60177 (call_mcount_parm_offset): New macro.
60178 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
60179 (PROF): Use symbolic stack frame offsets.
60180 (TAIL_CALL_SYSCALL_ERROR): Likewise.
60181 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
60182 Redefine in terms of FRAME_MIN_SIZE.
60183 (_dl_runtime_resolve): Use symbolic stack frame offsets.
60184 (_dl_profile_resolve): Likewise. Update comment.
60185 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
60186 symbols stack frame offsets.
60187 (__sigsetjmp): Likewise.
60188 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
60189 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
60190 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
60191 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
60192
60193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
60194 (FRAME_BACKCHAIN): Remove.
60195 (FRAME_CR_SAVE): Likewise.
60196 (FRAME_LR_SAVE): Likewise.
60197 (FRAME_COMPILER_DW): Likewise.
60198 (FRAME_LINKER_DW): Likewise.
60199 (FRAME_TOC_SAVE): Likewise.
60200 (FRAME_PARM_SAVE): Likewise.
60201 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
60202 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
60203 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
60205 (CHECK_SP): Use symbolic stack frame offsets.
60206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
60207 zone" instead of caller's parameter save area for temp storage.
60208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60209 Likewise. Also, use symbolic stack frame offsets.
60210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
60211 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
60212 our own stack frame instead of the caller's.
60213 (__socket): Use symbolic stack frame offsets.
60214
60215 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60216 Alan Modra <amodra@gmail.com>
60217
60218 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
60219 Define.
60220 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
60221 (PPC64_LOCAL_ENTRY_OFFSET): Define.
60222 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
60223 New function.
60224 (elf_machine_fixup_plt): Call it.
60225 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
60226 reloc arguments.
60227 (elf_machine_rela): Update call to elf_machine_plt_conflict.
60228 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60229 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
60230 r2 before calling target.
60231
60232 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60233 Alan Modra <amodra@gmail.com>
60234
60235 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
60236 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
60237 versions of macros to support ELFv2 ABI.
60238 (LOCALENTRY): New macro.
60239 (ENTRY, EALIGN): Use it.
60240 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
60241 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
60242 fall through into ENTRY entry point.
60243 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
60244 Only define if _CALL_ELF != 2.
60245
60246 (elf_machine_matches_host): Verify ABI version matches.
60247 (RTLD_START): Use LOCALENTRY.
60248 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
60249 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
60250 (PLT_ENTRY_WORDS): New macro.
60251 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
60252 (elf_machine_runtime_setup): Support ELFv2 ABI.
60253 (elf_machine_fixup_plt): Likewise.
60254 (elf_machine_plt_conflict): Likewise.
60255 (resolve_ifunc): Likewise.
60256 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
60257 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
60258 Likewise.
60259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
60260 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
60261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60262 (makecontext): Support ELFv2 ABI.
60263 * elf/elf.h (EF_PPC64_ABI): Define.
60264
60265 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60266
60267 * sysdeps/powerpc/powerpc64/sysdep.h
60268 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
60269 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
60270 (ENTRY) [ASSEMBLER]: ... but instead here ...
60271 (EALIGN) [ASSEMBLER]: ... and here.
60272 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
60273 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
60274 (ENTRY_2) [!ASSEMBLER]: Use it.
60275 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
60276 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
60277 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60278 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
60279 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
60280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
60281 Use PPC64_LOAD_FUNCPTR.
60282
60283 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
60284
60285 2013-12-04 Alan Modra <amodra@gmail.com>
60286
60287 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
60288 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
60289 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
60290 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
60291
60292 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
60293 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
60294 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
60295 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
60296 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
60297 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
60298
60299 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60300
60301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60302 (__makecontext): Fix incorrect CFI when backtracing out of
60303 context created via makecontext.
60304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
60305 (__setcontext): Fix incorrect CFI during switch to new context.
60306 (__novec_setcontext): Likewise.
60307
60308 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
60309
60310 [BZ #4772]
60311 * time/strptime_l.c (__strptime_internal): Allow modifiers
60312 in strptime.
60313 * time/tst-strptime.c (day_tests): Add testcase.
60314
60315 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
60316
60317 * scripts/bench.pl: Skip over blank lines.
60318
60319 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
60320
60321 [BZ #926]
60322 * manual/time.texi (Calendar Time): Clarify what timezone functions
60323 use.
60324
60325 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60326
60327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60328
60329 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
60330
60331 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
60332 implementation.
60333 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
60334 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
60335 * debug/memset_chk.c (__memset_chk): Likewise.
60336 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
60337 * debug/strncpy_chk.c: Likewise.
60338
60339 2013-12-03 Joseph Myers <joseph@codesourcery.com>
60340
60341 [BZ #15268]
60342 [BZ #15425]
60343 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
60344 (__ieee754_exp): For possibly underflowing results, check size of
60345 result and force underflow exception if required.
60346 * math/auto-libm-test-in: Add more tests of exp.
60347 * math/auto-libm-test-out: Regenerated.
60348 * sysdeps/i386/fpu/libm-test-ulps: Update.
60349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60350
60351 [BZ #16283]
60352 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
60353 * math/w_exp2f.c (__exp2f): Likewise.
60354 * math/w_exp2l.c (__exp2l): Likewise.
60355 * math/auto-libm-test-in: Do not allow missing errno on exp2
60356 underflow.
60357 * math/auto-libm-test-out: Regenerated.
60358
60359 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
60360
60361 [BZ #16274]
60362 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
60363 handle filename validation.
60364 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
60365 (do_open): Delete.
60366
60367 2013-12-03 Joseph Myers <joseph@codesourcery.com>
60368
60369 [BZ #6786]
60370 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
60371 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
60372 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
60373 <float.h>.
60374 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
60375 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
60376 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60377 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
60378 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60379 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
60380 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60381 * math/auto-libm-test-in: Don't allow missing errno from erfc.
60382 Add more erfc tests.
60383 * math/auto-libm-test-out: Regenerated.
60384 * sysdeps/i386/fpu/libm-test-ulps: Update.
60385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60386
60387 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
60388 exp2, expm1, j0 and j1.
60389 * math/auto-libm-test-out: Regenerated.
60390 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
60391 (erfc_test_data): Likewise.
60392 (exp_test_data): Likewise.
60393 (exp_tonearest_test_data): Likewise.
60394 (exp_towardzero_test_data): Likewise.
60395 (exp_downward_test_data): Likewise.
60396 (exp_upward_test_data): Likewise.
60397 (exp10_test_data): Likewise.
60398 (exp2_test_data): Likewise.
60399 (expm1_test_data): Likewise.
60400 (j0_test_data): Likewise.
60401 (j1_test_data): Likewise.
60402 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
60403 (input_flag_type): Add flag_xfail_rounding.
60404 (input_flags): Add xfail-rounding.
60405 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
60406 (output_for_one_input_case): Handle flag_xfail_rounding.
60407 * sysdeps/i386/fpu/libm-test-ulps: Update.
60408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60409
60410 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
60411
60412 [BZ #16289]
60413 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
60414 division by 0.
60415
60416 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
60417
60418 [BZ #16195]
60419 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
60420 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
60421 (STAP_PROBE0): New macro.
60422 (STAP_PROBE1): Likewise.
60423 (STAP_PROBE2): Likewise.
60424 (STAP_PROBE3): Likewise.
60425 (STAP_PROBE4): Likewise.
60426
60427 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
60428
60429 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
60430
60431 2013-12-02 Steve Ellcey <sellcey@mips.com>
60432
60433 * benchtests/Makefile (bench): Add sqrt.
60434 (LDLIBS-bench-sqrt): New.
60435 * benchtests/sqrt-input: New.
60436
60437 2013-12-02 Pavel Simerda <psimerda@redhat.com>
60438
60439 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
60440 (GAIH_EAI): Likewise.
60441 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
60442 (gaih_inet): Likewise.
60443 (getaddrinfo): Don't use GAIH_EAI.
60444
60445 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
60446 (struct gaih): Remove definition.
60447
60448 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
60449
60450 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
60451 Use HERRNOP directly.
60452
60453 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60454
60455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60456
60457 2013-11-30 Joseph Myers <joseph@codesourcery.com>
60458
60459 * math/gen-auto-libm-tests.c (test_functions): Add more
60460 single-argument functions.
60461 (special_fill_pi_2): New function.
60462 (special_fill_minus_pi_2): Likewise.
60463 (special_fill_pi_6): Likewise.
60464 (special_fill_minus_pi_6): Likewise.
60465 (special_fill_pi_3): Likewise.
60466 (special_fill_2pi_3): Likewise.
60467 (special_fill_e): Likewise.
60468 (special_fill_1_e): Likewise.
60469 (special_fill_e_minus_1): Likewise.
60470 (special_real_inputs): Add more special inputs.
60471 (output_for_one_input_case): Do not require ERANGE on underflow to
60472 zero if round-to-nearest result does not underflow to zero, unless
60473 exact results required.
60474 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
60475 atan, atanh, cbrt, cos and cosh.
60476 * math/auto-libm-test-out: Regenerated.
60477 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
60478 (acos_tonearest_test_data): Likewise.
60479 (acos_towardzero_test_data): Likewise.
60480 (acos_downward_test_data): Likewise.
60481 (acos_upward_test_data): Likewise.
60482 (acosh_test_data): Likewise.
60483 (asin_test_data): Likewise.
60484 (asin_tonearest_test_data): Likewise.
60485 (asin_towardzero_test_data): Likewise.
60486 (asin_upward_test_data): Likewise.
60487 (asinh_test_data): Likewise.
60488 (atan_test_data): Likewise.
60489 (atanh_test_data): Likewise.
60490 (cbrt_test_data): Likewise.
60491 (cos_test_data): Likewise.
60492 (cos_tonearest_test_data): Likewise.
60493 (cos_towardzero_test_data): Likewise.
60494 (cos_downward_test_data): Likewise.
60495 (cos_upward_test_data): Likewise.
60496 (cosh_test_data): Likewise.
60497 (cosh_tonearest_test_data): Likewise.
60498 (cosh_towardzero_test_data): Likewise.
60499 (cosh_downward_test_data): Likewise.
60500 (cosh_upward_test_data): Likewise.
60501 * sysdeps/i386/fpu/libm-test-ulps: Update.
60502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60503
60504 2013-11-29 Joseph Myers <joseph@codesourcery.com>
60505
60506 [BZ #6787]
60507 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
60508 * math/w_exp10f.c (__exp10f): Likewise.
60509 * math/w_exp10l.c (__exp10l): Likewise.
60510 * math/libm-test.inc (exp10_test_data): Add more tests and expect
60511 errno settings in existing tests.
60512
60513 [BZ #14032]
60514 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
60515 precision control set to double precision.
60516 * sysdeps/i386/fpu/w_sqrt.c: New file.
60517 * math/auto-libm-test-in: Add more tests.
60518 * math/auto-libm-test-out: Update.
60519
60520 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
60521 (sqrt_test_tonearest): New function.
60522 (sqrt_towardzero_test_data): New variable.
60523 (sqrt_test_towardzero): New function.
60524 (sqrt_downward_test_data): New variable.
60525 (sqrt_test_downward): New function.
60526 (sqrt_upward_test_data): New variable.
60527 (sqrt_test_upward): New function.
60528 (main): Call the new functions.
60529
60530 * math/gen-auto-libm-tests.c: New file.
60531 * math/auto-libm-test-in: Likewise.
60532 * math/auto-libm-test-out: New generated file.
60533 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
60534 variables.
60535 (%beautify): Add generated representations of zero.
60536 (top level): Set $auto_input and call parse_auto_input.
60537 (beautify): Remove trailing "f" from hex float constants.
60538 (parse_args): Handle XFAIL_TEST.
60539 (convert_condition): New function.
60540 (or_value): Likewise.
60541 (or_cond_value): Likewise.
60542 (generate_testfile): Handle AUTO_TESTS_* lines.
60543 (parse_auto_input): New function.
60544 * math/libm-test.inc (XFAIL_TEST): New macro.
60545 (ERRNO_UNCHANGED): Update value.
60546 (ERRNO_EDOM): Likewise.
60547 (ERRNO_ERANGE): Likewise.
60548 (IGNORE_RESULT): Likewise.
60549 (TEST_COND_flt_32): New macro.
60550 (TEST_COND_dbl_64): Likewise.
60551 (TEST_COND_ldbl_96_intel): Likewise.
60552 (TEST_COND_ldbl_96_m68k): Likewise.
60553 (TEST_COND_ldbl_128): Likewise.
60554 (TEST_COND_ldbl_128ibm): Likewise.
60555 (TEST_COND_long32): Likewise.
60556 (TEST_COND_long64): Likewise.
60557 (TEST_COND_before_rounding): Likewise.
60558 (TEST_COND_after_rounding): Likewise.
60559 (enable_test): Handle XFAIL_TEST flag.
60560 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
60561 with finite results.
60562 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
60563 auto-libm-test-out.
60564
60565 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
60566 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60567
60568 [BZ #16214]
60569 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
60570 __tls_get_addr_internal instead of __tls_get_offset in order to
60571 avoid GOT pointer dependency. Make rtld export
60572 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
60573 __tls_get_addr since we are a __tls_get_offset platform.
60574 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
60575 GOT pointer being set up before.
60576 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
60577
60578 2013-11-28 Joseph Myers <joseph@codesourcery.com>
60579
60580 * manual/math.texi (Errors in Math Functions): Document accuracy
60581 goals.
60582
60583 [BZ #15004]
60584 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
60585 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
60586 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60587 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
60588 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
60589 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
60590 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
60591 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
60592 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
60593 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
60594 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
60595 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
60596 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
60597 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
60598 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
60599 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
60600
60601 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
60602 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
60603 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
60604 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
60605 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
60606 Likewise.
60607 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
60608 Likewise.
60609 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
60610 Likewise.
60611 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
60612 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
60613 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
60614 atomic-feupdateenv and flt-rounds.
60615 * sysdeps/powerpc/nofpu/Versions (libc): Add
60616 __atomic_feholdexcept, __atomic_feclearexcept,
60617 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
60618 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
60619 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
60620 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
60621 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
60622 here.
60623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
60624 Update.
60625
60626 * manual/arith.texi (FP Exceptions): Document that exceptions may
60627 not be raised when matherr is used.
60628 (Math Error Reporting): Document overflow in directed rounding
60629 modes. Document that errno may not be set when finite values are
60630 returned on overflow. Document intent to set errno on underflow
60631 only for underflow to zero.
60632
60633 [BZ #16271]
60634 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
60635 round-to-nearest then adjust result for other rounding modes.
60636 * include/fenv.h (fegetround): Use libm_hidden_proto.
60637 * math/fegetround.c (fegetround): Use libm_hidden_def.
60638 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
60639 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
60640 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
60641 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
60642 Likewise.
60643 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
60644 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
60645 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
60646 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
60647
60648 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
60649
60650 [BZ #16077]
60651 * nss/Versions (libnss_files): Add
60652 _nss_files_gethostbyname3_r.
60653 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
60654 New function.
60655 (HOST_DB_LOOKUP): Remove macro.
60656 (_nss_files_gethostbyname_r): Implement function without the
60657 HOST_DB_LOOKUP macro.
60658 (_nss_files_gethostbyname2_r): Likewise.
60659
60660 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
60661
60662 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
60663
60664 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
60665
60666 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
60667 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
60668 warning.
60669
60670 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60671
60672 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
60673 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
60674 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
60675 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
60676 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
60677 __fe_nomask_env_priv and attribute_hidden.
60678 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
60679 (libc_feupdateenv_test_ppc): Likewise.
60680 (libc_feresetround_ppc): Likewise.
60681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60682 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
60683 compat_symbol macro.
60684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60685 (__fe_nomask_env): Likewise.
60686 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
60687
60688 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
60689
60690 * string/Makefile: Remove ifunc tests.
60691 * string/test-string.h: Define TEST_IFUNC.
60692 * string/test-bcopy-ifunc.c: Remove.
60693 * string/test-bzero-ifunc.c: Likewise.
60694 * string/test-memccpy-ifunc.c: Likewise.
60695 * string/test-memchr-ifunc.c: Likewise.
60696 * string/test-memcmp-ifunc.c: Likewise.
60697 * string/test-memcpy-ifunc.c: Likewise.
60698 * string/test-memmem-ifunc.c: Likewise.
60699 * string/test-memmove-ifunc.c: Likewise.
60700 * string/test-mempcpy-ifunc.c: Likewise.
60701 * string/test-memrchr-ifunc.c: Likewise.
60702 * string/test-memset-ifunc.c: Likewise.
60703 * string/test-rawmemchr-ifunc.c: Likewise.
60704 * string/test-stpcpy-ifunc.c: Likewise.
60705 * string/test-stpncpy-ifunc.c: Likewise.
60706 * string/test-strcasecmp-ifunc.c: Likewise.
60707 * string/test-strcasestr-ifunc.c: Likewise.
60708 * string/test-strcat-ifunc.c: Likewise.
60709 * string/test-strchr-ifunc.c: Likewise.
60710 * string/test-strchrnul-ifunc.c: Likewise.
60711 * string/test-strcmp-ifunc.c: Likewise.
60712 * string/test-strcpy-ifunc.c: Likewise.
60713 * string/test-strcspn-ifunc.c: Likewise.
60714 * string/test-strlen-ifunc.c: Likewise.
60715 * string/test-strncasecmp-ifunc.c: Likewise.
60716 * string/test-strncat-ifunc.c: Likewise.
60717 * string/test-strncmp-ifunc.c: Likewise.
60718 * string/test-strncpy-ifunc.c: Likewise.
60719 * string/test-strnlen-ifunc.c: Likewise.
60720 * string/test-strpbrk-ifunc.c: Likewise.
60721 * string/test-strrchr-ifunc.c: Likewise.
60722 * string/test-strspn-ifunc.c: Likewise.
60723 * string/test-strstr-ifunc.c: Likewise.
60724
60725 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
60726
60727 * benchtests/Makefile: Remove ifunc tests.
60728 * benchtests/bench-string.h: Define TEST_IFUNC.
60729 * benchtests/bench-bcopy-ifunc.c: Remove.
60730 * benchtests/bench-bzero-ifunc.c: Likewise.
60731 * benchtests/bench-memccpy-ifunc.c: Likewise.
60732 * benchtests/bench-memchr-ifunc.c: Likewise.
60733 * benchtests/bench-memcmp-ifunc.c: Likewise.
60734 * benchtests/bench-memcpy-ifunc.c: Likewise.
60735 * benchtests/bench-memmem-ifunc.c: Likewise.
60736 * benchtests/bench-memmove-ifunc.c: Likewise.
60737 * benchtests/bench-mempcpy-ifunc.c: Likewise.
60738 * benchtests/bench-memrchr-ifunc.c: Likewise.
60739 * benchtests/bench-memset-ifunc.c: Likewise.
60740 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
60741 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
60742 * benchtests/bench-stpcpy-ifunc.c: Likewise.
60743 * benchtests/bench-stpncpy-ifunc.c: Likewise.
60744 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
60745 * benchtests/bench-strcasestr-ifunc.c: Likewise.
60746 * benchtests/bench-strcat-ifunc.c: Likewise.
60747 * benchtests/bench-strchr-ifunc.c: Likewise.
60748 * benchtests/bench-strchrnul-ifunc.c: Likewise.
60749 * benchtests/bench-strcmp-ifunc.c: Likewise.
60750 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
60751 * benchtests/bench-strcpy-ifunc.c: Likewise.
60752 * benchtests/bench-strcspn-ifunc.c: Likewise.
60753 * benchtests/bench-strlen-ifunc.c: Likewise.
60754 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
60755 * benchtests/bench-strncat-ifunc.c: Likewise.
60756 * benchtests/bench-strncmp-ifunc.c: Likewise.
60757 * benchtests/bench-strncpy-ifunc.c: Likewise.
60758 * benchtests/bench-strnlen-ifunc.c: Likewise.
60759 * benchtests/bench-strpbrk-ifunc.c: Likewise.
60760 * benchtests/bench-strrchr-ifunc.c: Likewise.
60761 * benchtests/bench-strsep-ifunc.c: Likewise.
60762 * benchtests/bench-strspn-ifunc.c: Likewise.
60763 * benchtests/bench-strstr-ifunc.c: Likewise.
60764
60765 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
60766
60767 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
60768
60769 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
60770
60771 * resolv/netdb.h: Use __glibc_reserved instead __unused.
60772 * rt/aio.h: Likewise.
60773 * sysdeps/gnu/bits/utmp.h: Likewise.
60774 * sysdeps/gnu/bits/utmpx.h: Likewise.
60775 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
60776 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
60777 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
60778 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
60779 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
60780 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
60781 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
60782 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
60783 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
60784 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
60785 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
60786 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
60787 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
60788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
60789 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
60790 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
60791 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
60792 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
60793 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
60794 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
60795 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
60796 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
60797 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
60798 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
60799 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
60800 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60801 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
60802 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
60803 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
60804 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
60805 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
60806 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
60807 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
60808 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
60809 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
60810 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
60811 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
60812 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
60813 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
60814 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
60815 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
60816 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
60817
60818 2013-11-25 Carlos O'Donell <carlos@redhat.com>
60819
60820 [BZ #16245]
60821 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
60822 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
60823
60824 2013-11-25 Joseph Myers <joseph@codesourcery.com>
60825
60826 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
60827 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
60828 Likewise.
60829
60830 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60831
60832 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
60833 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
60834 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
60835 (__fesetround): Remove define.
60836 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
60837 rounding and exceptions handling.
60838 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
60839 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
60840 (__fe_nomask_env): Likewise.
60841 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
60842 __fegetround instead of fegetround.
60843 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
60844 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
60845
60846 2013-11-21 Roland McGrath <roland@hack.frob.com>
60847
60848 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
60849 it's there.
60850
60851 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
60852
60853 2013-11-21 Meador Inge <meadori@codesourcery.com>
60854
60855 [BZ #11157]
60856 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
60857 (encrypt_r): Likewise.
60858 * malloc/obstack.h (obstack_free): Likewise.
60859 * posix/unistd.h (encrypt): Likewise.
60860
60861 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
60862
60863 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
60864 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
60865 DL_CALL_DT_FINI() that call the functions directly.
60866 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
60867 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
60868 * elf/dl-fini.c: Likewise.
60869
60870 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
60871
60872 * malloc/hooks.c (memalign_check): Add alignment rounding.
60873 * malloc/malloc.c (_mid_memalign): New function.
60874 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
60875 Implement by calling _mid_memalign.
60876 * manual/probes.texi (Memory Allocation Probes): Remove
60877 memory_valloc_retry and memory_pvalloc_retry.
60878
60879 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
60880
60881 * locale/programs/locarchive.c (open_archive): Add const
60882 qualifier to ARCHIVEFNAME and copy default fname to
60883 DEFAULT_FNAME.
60884
60885 [BZ #15601]
60886 * libio/tst-widetext.input: Rename Oriya to Odia.
60887 * locale/iso-639.def: Likewise.
60888
60889 * manual/probes.texi (Mathematical Function Probes): Add
60890 documentation for sin, cos, asin and acos probes.
60891 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
60892 (__sin32): Add slowasin probe.
60893 (__cos32): Add slowacos probe.
60894 (__mpsin): Add slowsin probe.
60895 (__mpcos): Add slowcos probe.
60896
60897 2013-11-19 Joseph Myers <joseph@codesourcery.com>
60898
60899 [BZ #15483]
60900 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
60901 thread-local __sim_exceptions_thread and global
60902 __sim_exceptions_global.
60903 (__sim_disabled_exceptions): Change to thread-local
60904 __sim_disabled_exceptions_thread and global
60905 __sim_disabled_exceptions_global.
60906 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
60907 and global __sim_round_mode_global.
60908 (__simulate_exceptions): Use thread-local floating-point state and
60909 set global state from it as needed.
60910 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
60911 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
60912 __sim_round_mode_thread.
60913 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
60914 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
60915 and global __sim_exceptions_global.
60916 (__sim_disabled_exceptions): Change to thread-local
60917 __sim_disabled_exceptions_thread and global
60918 __sim_disabled_exceptions_global.
60919 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
60920 and global __sim_round_mode_global.
60921 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
60922 (SIM_SET_GLOBAL): Likewise.
60923 * sysdeps/powerpc/soft-fp/sfp-machine.h
60924 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
60925 __sim_round_mode_thread.
60926 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
60927 __sim_disabled_exceptions_thread.
60928 (__sim_exceptions): Change to __sim_exceptions_thread.
60929 (__sim_disabled_exceptions): Change to
60930 __sim_disabled_exceptions_thread.
60931 (__sim_round_mode): Change to __sim_round_mode_thread.
60932 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
60933 thread-local floating-point state and set global state from it as
60934 needed.
60935 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
60936 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
60937 (__sim_disabled_exceptions): Remove extern declaration.
60938 (feenableexcept): Use thread-local floating-point state and set
60939 global state from it as needed.
60940 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
60941 extern declaration.
60942 (__sim_disabled_exceptions): Likewise.
60943 (__sim_round_mode): Likewise.
60944 (__fegetenv): Use thread-local floating-point state.
60945 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
60946 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
60947 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
60948 floating-point state and set global state from it as needed.
60949 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
60950 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
60951 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
60952 Likewise.
60953 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
60954 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
60955 Likewise.
60956 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
60957 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
60958 Use __sim_round_mode_thread.
60959 * math/test-fenv-tls.c: New file.
60960 * math/Makefile (tests): Add test-fenv-tls.
60961 ($(objpfx)test-fenv-tls): Depend on
60962 $(common-objpfx)nptl/libpthread.so.
60963
60964 2013-11-19 Andreas Schwab <schwab@suse.de>
60965
60966 * locale/programs/locale.c (show_info): Decode wordarray elements.
60967 * locale/categories.def (LC_MONETARY): Add element for
60968 _NL_MONETARY_CRNCYSTR.
60969 * locale/C-monetary.c (conversion_rate): New variable.
60970 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
60971 element.
60972
60973 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
60974
60975 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
60976 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
60977
60978 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
60979
60980 * elf/Makefile (tst-auxv): New test.
60981 * elf/tst-auxv.c: New
60982 * elf/rtld.c (dl_main): Adjust AT_EXECFN
60983
60984 2013-11-18 Joseph Myers <joseph@codesourcery.com>
60985
60986 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
60987 (hidden_proto): Caller changed.
60988 (hidden_tls_proto): New macro.
60989 (libc_hidden_tls_proto): Likewise.
60990 (rtld_hidden_tls_proto): Likewise.
60991 (libm_hidden_tls_proto): Likewise.
60992 (libresolv_hidden_tls_proto): Likewise.
60993 (librt_hidden_tls_proto): Likewise.
60994 (libdl_hidden_tls_proto): Likewise.
60995 (libnss_files_hidden_tls_proto): Likewise.
60996 (libnsl_hidden_tls_proto): Likewise.
60997 (libnss_nisplus_hidden_tls_proto): Likewise.
60998 (libutil_hidden_tls_proto): Likewise.
60999
61000 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
61001
61002 [BZ #10253]
61003 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
61004 (decompose_rpath): Defer expansion to fillin_rpath.
61005 (_dl_init_paths): Pass linkmap to fillin_rpath.
61006
61007 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
61008
61009 * benchtests/Makefile: Add strsep.
61010 * benchtests/bench-strsep.c: New file: strsep benchtest.
61011 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
61012
61013 2013-11-18 Andreas Schwab <schwab@suse.de>
61014
61015 * locale/programs/locale.c (show_info) [case byte]: Check for
61016 '\377' instead of '\177'.
61017 * locale/C-monetary.c (not_available): Always use "\377".
61018 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
61019 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
61020 detect unavailable sign_posn locale elements.
61021 * locale/localeconv.c (__localeconv): For grouping and
61022 mon_grouping handle "\177" and "\377" like no grouping.
61023 (INT_ELEM): New macro. Use it to set all numeric members.
61024 * locale/programs/ld-monetary.c (monetary_read)
61025 <tok_mon_grouping>: Normalize single -1 to the empty string.
61026 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
61027 Likewise.
61028
61029 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
61030
61031 [BZ #16055]
61032 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
61033 when we match (nil).
61034 * stdio-common/tst-sscanf.c (struct test): Add testcase.
61035
61036 2013-11-16 Joseph Myers <joseph@codesourcery.com>
61037
61038 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
61039 (NO_TEST_INLINE): Update value.
61040 (ERRNO_UNCHANGED): Likewise.
61041 (ERRNO_EDOM): Likewise.
61042 (ERRNO_ERANGE): Likewise.
61043 (IGNORE_RESULT): Likewise.
61044 (check_float_internal): Check signs of NaN results if
61045 TEST_NAN_SIGN used.
61046 (check_complex): Pass TEST_NAN_SIGN flag through to second
61047 check_float_internal call.
61048 (copysign_test_data): Add tests with quiet NaNs as second
61049 argument. Use TEST_NAN_SIGN.
61050 (fabs_test_data): Add test of negative quiet NaN argument. Use
61051 TEST_NAN_SIGN.
61052 (signbit_test_data): Add tests of quiet NaN argument.
61053 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
61054
61055 * math/gen-libm-test.pl (show_exceptions): Take extra argument
61056 $ignore_result.
61057 (parse_args): Handle function results specified as IGNORE.
61058 * math/libm-test.inc (IGNORE_RESULT): New macro.
61059 (check_float_internal): Do not check numerical result if flag
61060 IGNORE_RESULT set.
61061 (check_complex): Pass through IGNORE_RESULT to second
61062 check_float_internal call.
61063 (check_int): Do not check numerical result if flag IGNORE_RESULT
61064 set.
61065 (check_long): Likewise.
61066 (check_bool): Likewise.
61067 (check_longlong): Likewise.
61068 (lrint_test_data): Add tests of infinite and NaN arguments.
61069 (lrint_tonearest_test_data): Likewise.
61070 (lrint_towardzero_test_data): Likewise.
61071 (lrint_downward_test_data): Likewise.
61072 (lrint_upward_test_data): Likewise.
61073 (llrint_test_data): Likewise.
61074 (llrint_tonearest_test_data): Likewise.
61075 (llrint_towardzero_test_data): Likewise.
61076 (llrint_downward_test_data): Likewise.
61077 (llrint_upward_test_data): Likewise.
61078 (lround_test_data): Likewise.
61079 (llround_test_data): Likewise.
61080
61081 * math/libm-test.inc (NO_TEST_INLINE): New macro.
61082 (ERRNO_UNCHANGED): Update value.
61083 (ERRNO_EDOM): Likewise.
61084 (ERRNO_ERANGE): Likewise.
61085 (NO_TEST_INLINE_FLOAT): New macro.
61086 (NO_TEST_INLINE_DOUBLE): Likewise.
61087 (enable_test): New function.
61088 (RUN_TEST_f_f): Check enable_test before running test.
61089 (RUN_TEST_2_f): Likewise.
61090 (RUN_TEST_fff_f): Likewise.
61091 (RUN_TEST_c_f): Likewise.
61092 (RUN_TEST_f_f1): Likewise.
61093 (RUN_TEST_fF_f1): Likewise.
61094 (RUN_TEST_fI_f1): Likewise.
61095 (RUN_TEST_ffI_f1): Likewise.
61096 (RUN_TEST_c_c): Likewise.
61097 (RUN_TEST_cc_c): Likewise.
61098 (RUN_TEST_f_i): Likewise.
61099 (RUN_TEST_f_i_tg): Likewise.
61100 (RUN_TEST_ff_i_tg): Likewise.
61101 (RUN_TEST_f_b): Likewise.
61102 (RUN_TEST_f_b_tg): Likewise.
61103 (RUN_TEST_f_l): Likewise.
61104 (RUN_TEST_f_L): Likewise.
61105 (RUN_TEST_fFF_11): Likewise.
61106 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
61107 conditionals.
61108 (cosh_test_data): Likewise.
61109 (exp_test_data): Likewise.
61110 (expm1_test_data): Likewise.
61111 (hypot_test_data): Likewise.
61112 (pow_test_data): Likewise.
61113 (sinh_test_data): Likewise.
61114 (tanh_test_data): Likewise.
61115 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
61116 flags argument.
61117
61118 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
61119 tests with quiet NaN input and output.
61120 (acosh_test_data): Likewise.
61121 (asin_test_data): Likewise.
61122 (asinh_test_data): Likewise.
61123 (atan_test_data): Likewise.
61124 (atanh_test_data): Likewise.
61125 (atan2_test_data): Likewise.
61126 (cbrt_test_data): Likewise.
61127 (cos_test_data): Likewise.
61128 (cosh_test_data): Likewise.
61129 (erf_test_data): Likewise.
61130 (erfc_test_data): Likewise.
61131 (exp_test_data): Likewise.
61132 (exp10_test_data): Likewise.
61133 (exp2_test_data): Likewise.
61134 (expm1_test_data): Likewise.
61135 (hypot_test_data): Likewise.
61136 (j0_test_data): Likewise.
61137 (j1_test_data): Likewise.
61138 (jn_test_data): Likewise.
61139 (lgamma_test_data): Likewise.
61140 (log_test_data): Likewise.
61141 (log10_test_data): Likewise.
61142 (log1p_test_data): Likewise.
61143 (log2_test_data): Likewise.
61144 (pow_test_data): Likewise.
61145 (scalb_test_data): Likewise.
61146 (sin_test_data): Likewise.
61147 (sincos_test_data): Likewise.
61148 (sinh_test_data): Likewise.
61149 (tan_test_data): Likewise.
61150 (tanh_test_data): Likewise.
61151 (tgamma_test_data): Likewise.
61152 (y0_test_data): Likewise.
61153 (y1_test_data): Likewise.
61154 (yn_test_data): Likewise.
61155
61156 [BZ #16167]
61157 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
61158 argument being NaN and avoid computations with second argument in
61159 that case.
61160 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61161 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
61162 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
61163
61164 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
61165
61166 * locale/iso-639.def: Add Chitwani Tharu (the).
61167
61168 2013-11-14 Andreas Schwab <schwab@suse.de>
61169
61170 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
61171 word instead of empty string.
61172
61173 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61174
61175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61176 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
61177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61178 (__fe_nomask_env): Likewise.
61179
61180 2013-11-13 Steve Ellcey <sellcey@mips.com>
61181
61182 * benchtests/bench-timing.h: Include time.h.
61183
61184 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
61185
61186 [BZ #15997]
61187 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
61188 to 3.4.0 for x32.
61189 * sysdeps/unix/sysv/linux/configure: Regenerated.
61190
61191 2013-11-13 Joseph Myers <joseph@codesourcery.com>
61192
61193 [BZ #16151]
61194 * stdlib/strtod_l.c (round_and_return): Do not consider
61195 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
61196 exponent one less than half the least subnormal exponent.
61197 * stdlib/test-strtod-round-data: Add more tests.
61198 * stdlib/tst-strtod-round.c (tests): Regenerated.
61199
61200 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61201
61202 [BZ #14143]
61203 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
61204 (__fe_mask_env): Likewise.
61205 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
61206 libm_hidden_proto and add function prototype.
61207 (__fe_mask_env): Add function prototype.
61208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61209 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
61210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61211 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
61212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61213 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
61214
61215 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61216
61217 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
61218 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
61219
61220 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61221
61222 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
61223 of htab_find_slot().
61224
61225 2013-11-11 David S. Miller <davem@davemloft.net>
61226
61227 [BZ #16150]
61228 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
61229 symbol in the non-vis3 case in static builds.
61230 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
61231 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
61232 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
61233 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
61234
61235 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
61236
61237 [BZ #387]
61238 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
61239 it is empty.
61240
61241 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61242
61243 * benchtests/Makefile: Add bench-strtod.
61244 * benchtests/bench-strtod.c: New file: strtod benchtest
61245
61246 2013-11-11 Andreas Schwab <schwab@suse.de>
61247
61248 [BZ #16153]
61249 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
61250 terminating NUL in key length.
61251
61252 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61253
61254 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
61255 Add artificial ODP entry for vDSO symbol for PPC64.
61256 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
61257 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
61258
61259 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
61260
61261 [BZ #15374]
61262 * nss/getent.c (services_keys): Recognize services starting with digit.
61263
61264 2013-11-06 David S. Miller <davem@davemloft.net>
61265
61266 [BZ #15985]
61267 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
61268 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
61269
61270 2013-11-06 Will Newton <will.newton@linaro.org>
61271
61272 * manual/memory.texi (Malloc Examples): Remove register
61273 keyword from examples.
61274
61275 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
61276
61277 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
61278
61279 2013-11-04 Joseph Myers <joseph@codesourcery.com>
61280
61281 [BZ #6981]
61282 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
61283 depending on [__GCC_IEC_559 > 0].
61284 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
61285 depending on [__GCC_IEC_559_COMPLEX > 0].
61286
61287 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
61288
61289 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
61290 to iso-639.def.
61291
61292 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
61293
61294 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
61295
61296 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
61297
61298 [BZ #16112]
61299 * malloc/malloc (malloc_info): Do not handle first bin as
61300 special case.
61301
61302 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
61303
61304 * locale/iso-639.def: Add Central Nahuatl (nhn).
61305
61306 2013-11-01 Bruno Haible <bruno@clisp.org>
61307
61308 [BZ #7003]
61309 * manual/math.texi (BSD Random): Specify range upper bound as
61310 in POSIX.
61311
61312 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
61313
61314 * locale/iso-639.def: Add Meadow Mari (mhr).
61315
61316 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
61317
61318 [BZ #14752], [BZ #15763]
61319 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
61320 Validate name.
61321 * rt/tst_shm.c: Add test for escaping directory.
61322
61323 2013-10-31 Andreas Schwab <schwab@suse.de>
61324
61325 [BZ #15917]
61326 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
61327 followed by 'x' as part of digit sequence.
61328 * stdio-common/tst-sscanf.c (double_tests2): New tests.
61329
61330 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
61331
61332 [BZ #16037]
61333 * configure.ac: allow GNU Make 4.0 and greater.
61334 * configure: Regenerated.
61335
61336 2013-10-30 Will Newton <will.newton@linaro.org>
61337
61338 [BZ #16038]
61339 * malloc/hooks.c (memalign_check): Limit alignment to the
61340 maximum representable power of two.
61341 * malloc/malloc.c (__libc_memalign): Likewise.
61342 * malloc/tst-memalign.c (do_test): Add test for very
61343 large alignment values.
61344 * malloc/tst-posix_memalign.c (do_test): Likewise.
61345
61346 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
61347
61348 [BZ #11087]
61349 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
61350 (munmap_chunk): Likewise.
61351 (mremap_chunk): Likewise.
61352
61353 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
61354
61355 [BZ #15799]
61356 * stdlib/div.c (div): Remove obsolete code.
61357 * stdlib/ldiv.c (ldiv): Likewise.
61358 * stdlib/lldiv.c (lldiv): Likewise.
61359
61360 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
61361
61362 [BZ #16071]
61363 * nss/nss_files/files-XXX.c (get_contents_ret): New
61364 enumerator.
61365 (get_contents): New function.
61366 (internal_getent): Use it. Expand size of LINEBUFLEN.
61367
61368 2013-10-30 Mike Frysinger <vapier@gentoo.org>
61369
61370 * configure.in: Moved to ...
61371 * configure.ac: ... here. Change reference to configure.in
61372 to configure.ac.
61373 * sysdeps/arm/preconfigure.ac: ... here.
61374 configure.in to configure.ac.
61375 * sysdeps/gnu/configure.in: Moved to ...
61376 * sysdeps/gnu/configure.ac: ... here.
61377 * sysdeps/i386/configure.in: Moved to ...
61378 * sysdeps/i386/configure.ac: ... here.
61379 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
61380 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
61381 * sysdeps/mach/configure.in: Moved to ...
61382 * sysdeps/mach/configure.ac: ... here.
61383 * sysdeps/mach/hurd/configure.in: Moved to ...
61384 * sysdeps/mach/hurd/configure.ac: ... here.
61385 * sysdeps/powerpc/configure.in: Moved to ...
61386 * sysdeps/powerpc/configure.ac: ... here.
61387 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
61388 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
61389 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
61390 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
61391 * sysdeps/s390/s390-32/configure.in: Moved to ...
61392 * sysdeps/s390/s390-32/configure.ac: ... here.
61393 * sysdeps/s390/s390-64/configure.in: Moved to ...
61394 * sysdeps/s390/s390-64/configure.ac: ... here.
61395 * sysdeps/sh/configure.in: Moved to ...
61396 * sysdeps/sh/configure.ac: ... here.
61397 * sysdeps/sparc/configure.in: Moved to ...
61398 * sysdeps/sparc/configure.ac: ... here.
61399 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
61400 * sysdeps/unix/sysv/linux/configure.ac: ... here.
61401 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
61402 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
61403 * sysdeps/x86_64/configure.in: Moved to ...
61404 * sysdeps/x86_64/configure.ac: ... here.
61405 * sysdeps/x86_64/preconfigure.in: Moved to ...
61406 * sysdeps/x86_64/preconfigure.ac: ... here.
61407 * aclocal.m4: Change reference to configure.in to configure.ac.
61408 * config.h.in: Likewise.
61409 * manual/install.texi: Likewise.
61410 * manual/maint.texi: Likewise.
61411 * Makefile: Likewise.
61412 * malloc/Makefile: Likewise.
61413 * nscd/Makefile: Likewise.
61414 * Makeconfig: Change reference to configure.in and
61415 preconfigure.in to configure.ac and preconfigure.ac
61416 respectively.
61417 * INSTALL: Regenerated.
61418 * configure: Likewise.
61419 * sysdeps/gnu/configure: Likewise.
61420 * sysdeps/i386/configure: Likewise.
61421 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
61422 * sysdeps/mach/configure: Likewise.
61423 * sysdeps/mach/hurd/configure: Likewise.
61424 * sysdeps/powerpc/configure: Likewise.
61425 * sysdeps/powerpc/powerpc32/configure: Likewise.
61426 * sysdeps/powerpc/powerpc64/configure: Likewise.
61427 * sysdeps/s390/s390-32/configure: Likewise.
61428 * sysdeps/s390/s390-64/configure: Likewise.
61429 * sysdeps/sh/configure: Likewise.
61430 * sysdeps/sparc/configure: Likewise.
61431 * sysdeps/unix/sysv/linux/configure: Likewise.
61432 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
61433 * sysdeps/x86_64/configure: Likewise.
61434 * sysdeps/x86_64/preconfigure: Likewise.
61435
61436 2013-10-29 Andreas Schwab <schwab@suse.de>
61437
61438 * stdio-common/Makefile (tst-swscanf-ENV): Define.
61439
61440 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61441
61442 * benchtests/pow-inputs: Add new inputs.
61443
61444 * benchtests/exp-inputs: Add new inputs.
61445
61446 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
61447 conditional check for return value.
61448 (__cos32): Likewise.
61449
61450 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61451
61452 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
61453 to provide a boost for large inputs with word alignment.
61454 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
61455 implementation based on optimized PPC64 strcpy.
61456 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
61457 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
61458 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
61459 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
61460
61461 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
61462
61463 [BZ #2801]
61464 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
61465
61466 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
61467
61468 [BZ #14876]
61469 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
61470 * time/tst-strptime.c (day_tests): Add testcase.
61471
61472 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
61473
61474 [BZ #14029]
61475 * manual/pattern.texi: Acknowledge that fnmatch can fail.
61476
61477 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
61478
61479 [BZ #16074]
61480 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
61481 MAP_FAILED on error.
61482
61483 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
61484
61485 [BZ #16072]
61486 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
61487 heap for large requests.
61488
61489 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
61490
61491 [BZ #9954]
61492 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
61493 result if the result has no associated interface.
61494 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
61495 interface for all 127.X.Y.Z addresses.
61496
61497 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
61498
61499 * locale/iso-639.def: Add Ligurian (lij)
61500
61501 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
61502
61503 [BZ #15825]
61504 * sunrpc/rpc_main.c: Document rpcgen -5.
61505
61506 2013-10-19 Michael Stahl <mstahl@redhat.com>
61507
61508 * elf/rtld.c (do_preload): Print the reason why preloading failed.
61509
61510 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
61511
61512 [BZ #10278]
61513 * posix/glob.c: Match only directories when trailing slash is present.
61514 * posix/tst-gnuglob.c (my_opendir): Do not open files.
61515 (main): Add testcase.
61516
61517 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
61518
61519 [BZ #15670]
61520 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
61521
61522 2013-10-18 Carlos O'Donell <carlos@redhat.com>
61523
61524 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
61525 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
61526 AUTH_DES and cindex for FIPS 140-2.
61527 (DES Encryption): Add cindex FIPS 46-3.
61528
61529 * locale/locarchive.h (struct locarhandle): Add fname.
61530 * locale/programs/localedef.c (main): Pass ARGV[remaining]
61531 if an optional argument was specified to --list-archive,
61532 otherwise NULL.
61533 * locale/programs/locarchive.c (show_archive_content): Take new
61534 argument fname and pass it via ah.fname to open_archive.
61535 * locale/programs/localedef.h: Update decl.
61536 (open_archive): If AH->fname is non-null, open that file
61537 rather than the default file name, and don't ignore ENOENT.
61538 (create_archive): Set AH.fname to NULL.
61539 (delete_locales_from_archive): Likewise.
61540 (add_locales_to_archive): Likewise.
61541 * locale/programs/locfile.c (write_all_categories): Likewise.
61542
61543 2013-10-18 Joseph Myers <joseph@codesourcery.com>
61544 Aldy Hernandez <aldyh@redhat.com>
61545
61546 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
61547 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
61548 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
61549 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
61550 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
61551 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
61552 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
61553 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
61554 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
61555 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
61556 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
61557 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
61558 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
61559 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
61560 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
61561 Likewise.
61562 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
61563 Likewise.
61564 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
61565 Likewise.
61566 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
61567 Likewise.
61568 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
61569 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
61570 Likewise.
61571 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
61572 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
61573 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
61574 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
61575 Likewise.
61576 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
61577 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
61578 * sysdeps/powerpc/preconfigure: Likewise.
61579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
61580 Likewise.
61581 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
61582 Replace contents of file by #include of <fenv_libc.h>.
61583 * sysdeps/powerpc/soft-fp/sfp-machine.h
61584 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
61585 and <sys/prctl.h>.
61586 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
61587 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
61588 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
61589 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
61590 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
61591 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
61592 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
61593 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
61594 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
61595 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
61596 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
61597 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
61598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
61599 Allow copysignl PLT reference to be missing.
61600
61601 2013-10-18 Richard Sandiford <richard@codesourcery.com>
61602 Joseph Myers <joseph@codesourcery.com
61603
61604 [BZ #15948]
61605 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
61606 single character.
61607 (add_to_tablewc): Assert sequence of wide characters is nonempty.
61608
61609 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
61610
61611 * elf/tst-tls-dlinfo.c: Don't include tls.h.
61612 * elf/tst-tls1.c: Likewise.
61613 * elf/tst-tls10.h: Likewise.
61614 * elf/tst-tls14.c: Likewise.
61615 * elf/tst-tls2.c: Likewise.
61616 * elf/tst-tls3.c: Likewise.
61617 * elf/tst-tls4.c: Likewise.
61618 * elf/tst-tls5.c: Likewise.
61619 * elf/tst-tls6.c: Likewise.
61620 * elf/tst-tls7.c: Likewise.
61621 * elf/tst-tls8.c: Likewise.
61622 * elf/tst-tls9.c: Likewise.
61623 * elf/tst-tlsmod1.c: Likewise.
61624 * elf/tst-tlsmod13.c: Likewise.
61625 * elf/tst-tlsmod13a.c: Likewise.
61626 * elf/tst-tlsmod14a.c: Likewise.
61627 * elf/tst-tlsmod16a.c: Likewise.
61628 * elf/tst-tlsmod16b.c: Likewise.
61629 * elf/tst-tlsmod2.c: Likewise.
61630 * elf/tst-tlsmod3.c: Likewise.
61631 * elf/tst-tlsmod4.c: Likewise.
61632 * elf/tst-tlsmod5.c: Likewise.
61633 * elf/tst-tlsmod6.c: Likewise.
61634
61635 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
61636
61637 [BZ #12486]
61638 * malloc/malloc.c: remove checks for statistics.
61639
61640 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
61641
61642 [BZ #15277]
61643 * inet/inet_net.c (inet_network): Detect additional invalid strings.
61644 * inet/tst-network.c: Add testcase.
61645
61646 2013-10-17 Andreas Schwab <schwab@suse.de>
61647
61648 [BZ #15218]
61649 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
61650 to determine canonical name.
61651
61652 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
61653
61654 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
61655 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
61656 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61657 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61658 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61659 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61660 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61661 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61662 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
61663 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61664 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
61665 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61666 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61667 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61668 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61669 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61670 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61671 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61672 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
61673 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61674 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61675 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61676 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61677 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
61678 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
61679 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
61680 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
61681 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
61682 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
61683 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
61684 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61685 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61686 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
61687 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
61688 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61689 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61690 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61691 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61692 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61693 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61694 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61695 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
61696 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
61697 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61698 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
61699 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61700 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61701 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
61702 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
61703 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61704 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
61705 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61706 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
61707 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
61708 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61709 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
61710 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61711 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
61712
61713 2013-10-17 Joseph Myers <joseph@codesourcery.com>
61714
61715 [BZ #16041]
61716 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
61717 make result into a quiet NaN.
61718
61719 2013-10-16 Joseph Myers <joseph@codesourcery.com>
61720
61721 * soft-fp/adddf3.c: Fix horizontal whitespace.
61722 * soft-fp/addsf3.c: Likewise.
61723 * soft-fp/addtf3.c: Likewise.
61724 * soft-fp/divdf3.c: Likewise.
61725 * soft-fp/divsf3.c: Likewise.
61726 * soft-fp/divtf3.c: Likewise.
61727 * soft-fp/double.h: Likewise.
61728 * soft-fp/eqdf2.c: Likewise.
61729 * soft-fp/eqsf2.c: Likewise.
61730 * soft-fp/eqtf2.c: Likewise.
61731 * soft-fp/extenddftf2.c: Likewise.
61732 * soft-fp/extended.h: Likewise.
61733 * soft-fp/extendsfdf2.c: Likewise.
61734 * soft-fp/extendsftf2.c: Likewise.
61735 * soft-fp/extendxftf2.c: Likewise.
61736 * soft-fp/fixdfdi.c: Likewise.
61737 * soft-fp/fixdfsi.c: Likewise.
61738 * soft-fp/fixdfti.c: Likewise.
61739 * soft-fp/fixsfdi.c: Likewise.
61740 * soft-fp/fixsfsi.c: Likewise.
61741 * soft-fp/fixsfti.c: Likewise.
61742 * soft-fp/fixtfdi.c: Likewise.
61743 * soft-fp/fixtfsi.c: Likewise.
61744 * soft-fp/fixtfti.c: Likewise.
61745 * soft-fp/fixunsdfdi.c: Likewise.
61746 * soft-fp/fixunsdfsi.c: Likewise.
61747 * soft-fp/fixunsdfti.c: Likewise.
61748 * soft-fp/fixunssfdi.c: Likewise.
61749 * soft-fp/fixunssfsi.c: Likewise.
61750 * soft-fp/fixunssfti.c: Likewise.
61751 * soft-fp/fixunstfdi.c: Likewise.
61752 * soft-fp/fixunstfsi.c: Likewise.
61753 * soft-fp/fixunstfti.c: Likewise.
61754 * soft-fp/floatdidf.c: Likewise.
61755 * soft-fp/floatdisf.c: Likewise.
61756 * soft-fp/floatditf.c: Likewise.
61757 * soft-fp/floatsidf.c: Likewise.
61758 * soft-fp/floatsisf.c: Likewise.
61759 * soft-fp/floatsitf.c: Likewise.
61760 * soft-fp/floattidf.c: Likewise.
61761 * soft-fp/floattisf.c: Likewise.
61762 * soft-fp/floattitf.c: Likewise.
61763 * soft-fp/floatundidf.c: Likewise.
61764 * soft-fp/floatundisf.c: Likewise.
61765 * soft-fp/floatunditf.c: Likewise.
61766 * soft-fp/floatunsidf.c: Likewise.
61767 * soft-fp/floatunsisf.c: Likewise.
61768 * soft-fp/floatunsitf.c: Likewise.
61769 * soft-fp/floatuntidf.c: Likewise.
61770 * soft-fp/floatuntisf.c: Likewise.
61771 * soft-fp/floatuntitf.c: Likewise.
61772 * soft-fp/fmadf4.c: Likewise.
61773 * soft-fp/fmasf4.c: Likewise.
61774 * soft-fp/fmatf4.c: Likewise.
61775 * soft-fp/gedf2.c: Likewise.
61776 * soft-fp/gesf2.c: Likewise.
61777 * soft-fp/getf2.c: Likewise.
61778 * soft-fp/ledf2.c: Likewise.
61779 * soft-fp/lesf2.c: Likewise.
61780 * soft-fp/letf2.c: Likewise.
61781 * soft-fp/muldf3.c: Likewise.
61782 * soft-fp/mulsf3.c: Likewise.
61783 * soft-fp/multf3.c: Likewise.
61784 * soft-fp/negdf2.c: Likewise.
61785 * soft-fp/negsf2.c: Likewise.
61786 * soft-fp/negtf2.c: Likewise.
61787 * soft-fp/op-1.h: Likewise.
61788 * soft-fp/op-2.h: Likewise.
61789 * soft-fp/op-4.h: Likewise.
61790 * soft-fp/op-8.h: Likewise.
61791 * soft-fp/op-common.h: Likewise.
61792 * soft-fp/quad.h: Likewise.
61793 * soft-fp/single.h: Likewise.
61794 * soft-fp/soft-fp.h: Likewise.
61795 * soft-fp/sqrtdf2.c: Likewise.
61796 * soft-fp/sqrtsf2.c: Likewise.
61797 * soft-fp/sqrttf2.c: Likewise.
61798 * soft-fp/subdf3.c: Likewise.
61799 * soft-fp/subsf3.c: Likewise.
61800 * soft-fp/subtf3.c: Likewise.
61801 * soft-fp/truncdfsf2.c: Likewise.
61802 * soft-fp/trunctfdf2.c: Likewise.
61803 * soft-fp/trunctfsf2.c: Likewise.
61804 * soft-fp/trunctfxf2.c: Likewise.
61805 * soft-fp/unorddf2.c: Likewise.
61806 * soft-fp/unordsf2.c: Likewise.
61807 * soft-fp/unordtf2.c: Likewise.
61808
61809 2013-10-15 Joseph Myers <joseph@codesourcery.com>
61810
61811 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
61812 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
61813
61814 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
61815
61816 * elf/dl-libc.c: Clear initfini list after freeing.
61817
61818 2013-10-14 Joseph Myers <joseph@codesourcery.com>
61819
61820 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
61821 * soft-fp/addsf3.c: Likewise.
61822 * soft-fp/addtf3.c: Likewise.
61823 * soft-fp/divdf3.c: Likewise.
61824 * soft-fp/divsf3.c: Likewise.
61825 * soft-fp/divtf3.c: Likewise.
61826 * soft-fp/double.h: Likewise.
61827 * soft-fp/eqdf2.c: Likewise.
61828 * soft-fp/eqsf2.c: Likewise.
61829 * soft-fp/eqtf2.c: Likewise.
61830 * soft-fp/extenddftf2.c: Likewise.
61831 * soft-fp/extended.h: Likewise.
61832 * soft-fp/extendsfdf2.c: Likewise.
61833 * soft-fp/extendsftf2.c: Likewise.
61834 * soft-fp/extendxftf2.c: Likewise.
61835 * soft-fp/fixdfdi.c: Likewise.
61836 * soft-fp/fixdfsi.c: Likewise.
61837 * soft-fp/fixdfti.c: Likewise.
61838 * soft-fp/fixsfdi.c: Likewise.
61839 * soft-fp/fixsfsi.c: Likewise.
61840 * soft-fp/fixsfti.c: Likewise.
61841 * soft-fp/fixtfdi.c: Likewise.
61842 * soft-fp/fixtfsi.c: Likewise.
61843 * soft-fp/fixtfti.c: Likewise.
61844 * soft-fp/fixunsdfdi.c: Likewise.
61845 * soft-fp/fixunsdfsi.c: Likewise.
61846 * soft-fp/fixunsdfti.c: Likewise.
61847 * soft-fp/fixunssfdi.c: Likewise.
61848 * soft-fp/fixunssfsi.c: Likewise.
61849 * soft-fp/fixunssfti.c: Likewise.
61850 * soft-fp/fixunstfdi.c: Likewise.
61851 * soft-fp/fixunstfsi.c: Likewise.
61852 * soft-fp/fixunstfti.c: Likewise.
61853 * soft-fp/floatdidf.c: Likewise.
61854 * soft-fp/floatdisf.c: Likewise.
61855 * soft-fp/floatditf.c: Likewise.
61856 * soft-fp/floatsidf.c: Likewise.
61857 * soft-fp/floatsisf.c: Likewise.
61858 * soft-fp/floatsitf.c: Likewise.
61859 * soft-fp/floattidf.c: Likewise.
61860 * soft-fp/floattisf.c: Likewise.
61861 * soft-fp/floattitf.c: Likewise.
61862 * soft-fp/floatundidf.c: Likewise.
61863 * soft-fp/floatundisf.c: Likewise.
61864 * soft-fp/floatunsidf.c: Likewise.
61865 * soft-fp/floatunsisf.c: Likewise.
61866 * soft-fp/floatuntidf.c: Likewise.
61867 * soft-fp/floatuntisf.c: Likewise.
61868 * soft-fp/floatuntitf.c: Likewise.
61869 * soft-fp/fmadf4.c: Likewise.
61870 * soft-fp/fmasf4.c: Likewise.
61871 * soft-fp/fmatf4.c: Likewise.
61872 * soft-fp/gedf2.c: Likewise.
61873 * soft-fp/gesf2.c: Likewise.
61874 * soft-fp/getf2.c: Likewise.
61875 * soft-fp/ledf2.c: Likewise.
61876 * soft-fp/lesf2.c: Likewise.
61877 * soft-fp/letf2.c: Likewise.
61878 * soft-fp/muldf3.c: Likewise.
61879 * soft-fp/mulsf3.c: Likewise.
61880 * soft-fp/multf3.c: Likewise.
61881 * soft-fp/negdf2.c: Likewise.
61882 * soft-fp/negsf2.c: Likewise.
61883 * soft-fp/negtf2.c: Likewise.
61884 * soft-fp/op-1.h: Likewise.
61885 * soft-fp/op-2.h: Likewise.
61886 * soft-fp/op-4.h: Likewise.
61887 * soft-fp/op-8.h: Likewise.
61888 * soft-fp/op-common.h: Likewise.
61889 * soft-fp/quad.h: Likewise.
61890 * soft-fp/single.h: Likewise.
61891 * soft-fp/soft-fp.h: Likewise.
61892 * soft-fp/sqrtdf2.c: Likewise.
61893 * soft-fp/sqrtsf2.c: Likewise.
61894 * soft-fp/sqrttf2.c: Likewise.
61895 * soft-fp/subdf3.c: Likewise.
61896 * soft-fp/subsf3.c: Likewise.
61897 * soft-fp/subtf3.c: Likewise.
61898 * soft-fp/truncdfsf2.c: Likewise.
61899 * soft-fp/trunctfdf2.c: Likewise.
61900 * soft-fp/trunctfsf2.c: Likewise.
61901 * soft-fp/trunctfxf2.c: Likewise.
61902 * soft-fp/unorddf2.c: Likewise.
61903 * soft-fp/unordsf2.c: Likewise.
61904 * soft-fp/unordtf2.c: Likewise.
61905
61906 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
61907
61908 [BZ #15672]
61909 * misc/error.c (error_tail): Fix possible buffer overflow.
61910
61911 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
61912
61913 [BZ #13028]
61914 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
61915 address.
61916
61917 2013-10-14 P. J. McDermott <pj@pehjota.net>
61918
61919 [BZ #832]
61920 * elf/ldd.bash.in (try_trace): New function. Delete previous code
61921 testing pipefail option.
61922
61923 2013-10-12 Joseph Myers <joseph@codesourcery.com>
61924
61925 * soft-fp/double.h: Indent preprocessor directives inside #if.
61926 * soft-fp/extended.h: Likewise.
61927 * soft-fp/op-2.h: Likewise.
61928 * soft-fp/op-4.h: Likewise.
61929 * soft-fp/op-common.h: Likewise.
61930 * soft-fp/quad.h: Likewise.
61931 * soft-fp/single.h: Likewise.
61932 * soft-fp/soft-fp.h: Likewise.
61933
61934 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
61935
61936 * iconv/iconv_prog.c: Fix typos.
61937 * stdio-common/psiginfo-data.h: Likewise.
61938
61939 2013-10-12 Reuben Thomas <rrt@sc3d.org>
61940
61941 [BZ #15764]
61942 * locale/setlocale.c: Fix typo.
61943
61944 2013-10-12 Joseph Myers <joseph@codesourcery.com>
61945
61946 [BZ #16036]
61947 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
61948 signaling NaN arguments.
61949 * soft-fp/unordsf2.c (__unordsf2): Likewise.
61950 * soft-fp/unordtf2.c (__unordtf2): Likewise.
61951
61952 [BZ #14910]
61953 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
61954 unordered operands.
61955 * soft-fp/gesf2.c (__gesf2): Likewise.
61956 * soft-fp/getf2.c (__getf2): Likewise.
61957 * soft-fp/ledf2.c (__ledf2): Likewise.
61958 * soft-fp/lesf2.c (__lesf2): Likewise.
61959 * soft-fp/letf2.c (__letf2): Likewise.
61960
61961 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
61962 * soft-fp/eqsf2.c (__eqsf2): Likewise.
61963 * soft-fp/eqtf2.c (__eqtf2): Likewise.
61964 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
61965 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
61966 * soft-fp/fixdfti.c (__fixdfti): Likewise.
61967 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
61968 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
61969 * soft-fp/fixsfti.c (__fixsfti): Likewise.
61970 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
61971 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
61972 * soft-fp/fixtfti.c (__fixtfti): Likewise.
61973 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
61974 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
61975 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
61976 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
61977 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
61978 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
61979 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
61980 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
61981 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
61982 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
61983 * soft-fp/floatdisf.c (__floatdisf): Likewise.
61984 * soft-fp/floatsisf.c (__floatsisf): Likewise.
61985 * soft-fp/floattidf.c (__floattidf): Likewise.
61986 * soft-fp/floattisf.c (__floattisf): Likewise.
61987 * soft-fp/floattitf.c (__floattitf): Likewise.
61988 * soft-fp/floatundidf.c (__floatundidf): Likewise.
61989 * soft-fp/floatundisf.c (__floatundisf): Likewise.
61990 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
61991 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
61992 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
61993 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
61994 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
61995 * soft-fp/gesf2.c (__gesf2): Likewise.
61996 * soft-fp/getf2.c (__getf2): Likewise.
61997 * soft-fp/ledf2.c (__ledf2): Likewise.
61998 * soft-fp/lesf2.c (__lesf2): Likewise.
61999 * soft-fp/letf2.c (__letf2): Likewise.
62000
62001 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
62002 Undefine and redefine.
62003 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
62004 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
62005 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
62006 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
62007 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62008 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
62009 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62010 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
62011 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62012 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
62013 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62014 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
62015 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62016 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
62017 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62018
62019 [BZ #16032]
62020 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
62021 without decrementing exponent if mantissa >= that for the
62022 denominator, not >.
62023 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
62024 denominator, not >. Decrement exponent in < case instead of
62025 incrementing in >= case.
62026 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
62027 without decrementing exponent if mantissa >= that for the
62028 denominator, not >.
62029
62030 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
62031 computing saturated result for unsigned overflow.
62032
62033 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
62034 Jeff Law <law@redhat.com>
62035
62036 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
62037 (atan2Mp): Add systemtap probe marker.
62038 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
62039 (__ieee754_log): Add systemtap probe marker.
62040 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
62041 (atanMp): Add systemtap probe marker.
62042 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
62043 (tanMp): Add systemtap probe marker.
62044 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
62045 (__slowexp): Add systemtap probe marker.
62046 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
62047 (__slowpow): Add systemtap probe marker.
62048 * manual/probes.texi: Document probes.
62049
62050 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
62051
62052 [BZ #15362]
62053 * libio/fileops.c (_IO_new_file_write): Return count of bytes
62054 written.
62055 (_IO_new_file_xsputn): Don't return EOF if nothing has been
62056 written.
62057 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
62058 written to buffer but not flushed.
62059 * libio/iofwrite_u.c: Likewise.
62060 * libio/iopadn.c: Return bytes returned even if EOF was
62061 encountered.
62062 * libio/iowpadn.c: Likewise.
62063 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
62064 if _IO_padn does not write the whole buffer.
62065 [!COMPILE_WPRINTF] (PAD): Likewise.
62066
62067 2013-10-10 David S. Miller <davem@davemloft.net>
62068
62069 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
62070 directory block.
62071
62072 2013-10-10 Joseph Myers <joseph@codesourcery.com>
62073
62074 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
62075 instead of FSF address.
62076 * soft-fp/fixdfti.c: Likewise.
62077 * soft-fp/fixsfti.c: Likewise.
62078 * soft-fp/fixtfti.c: Likewise.
62079 * soft-fp/fixunsdfti.c: Likewise.
62080 * soft-fp/fixunssfti.c: Likewise.
62081 * soft-fp/fixunstfti.c: Likewise.
62082 * soft-fp/floattidf.c: Likewise.
62083 * soft-fp/floattisf.c: Likewise.
62084 * soft-fp/floattitf.c: Likewise.
62085 * soft-fp/floatuntidf.c: Likewise.
62086 * soft-fp/floatuntisf.c: Likewise.
62087 * soft-fp/floatuntitf.c: Likewise.
62088 * soft-fp/trunctfxf2.c: Likewise.
62089
62090 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
62091 * soft-fp/fixdfti.c: Likewise.
62092 * soft-fp/fixsfti.c: Likewise.
62093 * soft-fp/fixtfti.c: Likewise.
62094 * soft-fp/fixunsdfti.c: Likewise.
62095 * soft-fp/fixunssfti.c: Likewise.
62096 * soft-fp/fixunstfti.c: Likewise.
62097 * soft-fp/floattidf.c: Likewise.
62098 * soft-fp/floattisf.c: Likewise.
62099 * soft-fp/floattitf.c: Likewise.
62100 * soft-fp/floatuntidf.c: Likewise.
62101 * soft-fp/floatuntisf.c: Likewise.
62102 * soft-fp/floatuntitf.c: Likewise.
62103 * soft-fp/trunctfxf2.c: Likewise.
62104
62105 2013-10-10 David S. Miller <davem@davemloft.net>
62106
62107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62108
62109 2013-10-10 Joseph Myers <joseph@codsourcery.com>
62110
62111 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
62112 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
62113 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
62114 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
62115 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
62116 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
62117 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
62118
62119 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
62120 for NaNs before doing comparisons on argument.
62121 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
62122 Likewise.
62123
62124 2013-10-10 Will Newton <will.newton@linaro.org>
62125
62126 * malloc/hooks.c (memalign_check): Ensure the value of bytes
62127 passed to _int_memalign does not overflow.
62128
62129 2013-10-10 Torvald Riegel <triegel@redhat.com>
62130
62131 * scripts/bench.pl: Add include-sources directive.
62132 * benchtests/README: Update documentation.
62133
62134 2013-10-10 Joseph Myers <joseph@codesourcery.com>
62135
62136 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
62137 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
62138 instead of FP_INIT_ROUNDMODE.
62139 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
62140 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
62141
62142 [BZ #16034]
62143 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
62144 copy class of input value.
62145 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
62146 not handle exceptions.
62147 * soft-fp/negsf2.c (__negsf2): Likewise.
62148 * soft-fp/negtf2.c (__negtf2): Likewise.
62149 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
62150
62151 2013-10-09 Joseph Myers <joseph@codesourcery.com>
62152
62153 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
62154 semicolon. From Linux kernel.
62155
62156 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
62157
62158 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
62159
62160 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
62161
62162 [BZ #156]
62163 * manual/socket.texi: Added statement about buffer
62164 for gethostbyname2_r.
62165
62166 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
62167
62168 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
62169 Use .p2align directive instead, throughout.
62170 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62171 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
62172 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
62173 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62174 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62175 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
62176 * sysdeps/x86_64/strchr.S: Likewise.
62177 * sysdeps/x86_64/strrchr.S: Likewise.
62178
62179 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
62180
62181 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
62182
62183 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
62184
62185 * sysdeps/generic/math_private.h (__mpsin1): Remove
62186 declaration.
62187 (__mpcos1): Likewise.
62188 (__mpsin): New argument __range_reduce.
62189 (__mpcos): Likewise.
62190 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62191 (slow): Use __mpsin and __mpcos.
62192 (slow1): Likewise.
62193 (slow2): Likewise.
62194 (sloww): Likewise.
62195 (sloww1): Likewise.
62196 (sloww2): Likewise.
62197 (bsloww): Likewise.
62198 (bsloww1): Likewise.
62199 (bsloww2): Likewise.
62200 (cslow2): Likewise.
62201 (csloww): Likewise.
62202 (csloww1): Likewise.
62203 (csloww2): Likewise.
62204 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
62205 range_reduce. Merge in __mpsin1.
62206 (__mpcos): Likewise.
62207 (__mpsin1): Remove.
62208 (__mpcos1): Likewise.
62209
62210 2013-10-07 Joseph Myers <joseph@codesourcery.com>
62211
62212 * locale/loadlocale.c (_nl_intern_locale_data): Use
62213 LOCFILE_ALIGNED_P.
62214 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
62215 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
62216 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
62217 obstack data is appropriately aligned.
62218 (obstack_int32_grow_fast): Likewise.
62219 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
62220 * locale/programs/locfile.c (add_locale_uint32): Likewise.
62221 (add_locale_uint32_array): Likewise.
62222
62223 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
62224
62225 * benchtests/Makefile: Remove ARGLIST and RET variables.
62226 ($(objpfx)bench-%.c): Pass only function name to the script.
62227 * benchtests/README: Update documentation.
62228 * benchtests/acos-inputs: Add new directives.
62229 * benchtests/acosh-inputs: Likewise.
62230 * benchtests/asin-inputs: Likewise.
62231 * benchtests/asinh-inputs: Likewise.
62232 * benchtests/atan-inputs: Likewise.
62233 * benchtests/atanh-inputs: Likewise.
62234 * benchtests/cos-inputs: Likewise.
62235 * benchtests/cosh-inputs: Likewise.
62236 * benchtests/exp-inputs: Likewise.
62237 * benchtests/log-inputs: Likewise.
62238 * benchtests/pow-inputs: Likewise.
62239 * benchtests/rint-inputs: Likewise.
62240 * benchtests/sin-inputs: Likewise.
62241 * benchtests/sinh-inputs: Likewise.
62242 * benchtests/tan-inputs: Likewise.
62243 * benchtests/tanh-inputs: Likewise.
62244 * scripts/bench.pl: Add support for new directives.
62245
62246 2013-10-07 Alan Modra <amodra@gmail.com>
62247
62248 * README: Fix careless merge.
62249
62250 2013-10-05 Alan Modra <amodra@gmail.com>
62251
62252 * NEWS: Mention powerpc64le support and bugs fixed.
62253 * README: Both big-endian and little-endian powerpc64 supported.
62254
62255 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
62256
62257 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
62258 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
62259 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
62260 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
62261
62262 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
62263
62264 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
62265 match prototype.
62266
62267 2013-10-04 Joseph Myers <joseph@codesourcery.com>
62268
62269 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
62270 Move -mhard-float appending from
62271 ports/sysdeps/powerpc/powerpc32/Makefile.
62272 [$(with-fp) = yes] (ASFLAGS): Likewise.
62273 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
62274 * sysdeps/powerpc/nofpu: Move directory from
62275 ports/sysdeps/powerpc/nofpu.
62276 * sysdeps/powerpc/soft-fp: Move directory from
62277 ports/sysdeps/powerpc/soft-fp.
62278 * sysdeps/powerpc/powerpc32/405: Move directory from
62279 ports/sysdeps/powerpc/powerpc32/405.
62280 * sysdeps/powerpc/powerpc32/440: Move directory from
62281 ports/sysdeps/powerpc/powerpc32/440.
62282 * sysdeps/powerpc/powerpc32/464: Move directory from
62283 ports/sysdeps/powerpc/powerpc32/464.
62284 * sysdeps/powerpc/powerpc32/476: Move directory from
62285 ports/sysdeps/powerpc/powerpc32/476.
62286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
62287 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
62288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
62289 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
62290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
62291 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
62292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
62293 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
62294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
62295 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
62296 * README: Update for powerpc-*-linux-gnu software floating point
62297 support in libc.
62298
62299 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
62300 case to powerpc/powerpc32*.
62301 * sysdeps/unix/sysv/linux/configure: Regenerated.
62302
62303 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
62304 (_FPU_MASK_OM): Define as 0x04.
62305 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
62306 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
62307 0x00c10080.
62308 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
62309 0x0000003c.
62310 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
62311
62312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
62313 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62314 getcontext_e500.
62315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
62316 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62317 setcontext_e500.
62318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
62319 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
62320 and setcontext_e500.
62321
62322 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
62323
62324 * locale/iso-3166.def: Update iso-1366.def and related occurrences
62325
62326 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
62327
62328 * manual/threads.texi (Default Thread Attributes): Fix typo.
62329
62330 2013-10-04 Will Newton <will.newton@linaro.org>
62331
62332 * malloc/Makefile: Add tst-memalign.
62333 * malloc/tst-memalign.c: New file.
62334
62335 * malloc/tst-posix_memalign.c: Add comments.
62336 (do_test): Add comments and call free on all potentially
62337 allocated pointers. Add space after cast.
62338
62339 * malloc/tst-pvalloc.c: Add comments.
62340 (do_test): Add comments and call free on all potentially
62341 allocated pointers. Remove duplicate check for NULL pointer.
62342 Add space after cast.
62343
62344 * malloc/tst-valloc.c: Add comments.
62345 (do_test): Add comments and call free on all potentially
62346 allocated pointers. Remove duplicate check for NULL pointer.
62347 Add space after cast.
62348
62349 2013-10-04 Alan Modra <amodra@gmail.com>
62350
62351 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62352 Use stdint types in rather than __attribute__((mode())).
62353 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62354
62355 2013-10-04 Alan Modra <amodra@gmail.com>
62356
62357 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62358 Correct handling of unaligned relocs for little-endian.
62359 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62360
62361 2013-10-04 Alan Modra <amodra@gmail.com>
62362
62363 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
62364 * configure: Regenerate.
62365 * nptl/shlib-versions: Powerpc*le starts at 2.18.
62366 * shlib-versions: Likewise.
62367
62368 2013-10-04 Alan Modra <amodra@gmail.com>
62369
62370 * string/tester.c (test_memrchr): Increment reported test cycle.
62371
62372 2013-10-04 Alan Modra <amodra@gmail.com>
62373
62374 * string/test-memcpy.c (do_one_test): When reporting errors, print
62375 string address and don't overrun end of string.
62376
62377 2013-10-04 Alan Modra <amodra@gmail.com>
62378
62379 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
62380 insrdi. Make better use of reg selection to speed exit slightly.
62381 Schedule entry path a little better. Remove useless "are we done"
62382 checks on entry to main loop. Handle wrapping around zero address.
62383 Correct main loop count. Handle single left-over word from main
62384 loop inline rather than by using loop_small. Remove extra word
62385 case in loop_small caused by wrong loop count. Add little-endian
62386 support.
62387 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62388 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
62389 cache hint.
62390 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62391 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
62392 support. Avoid rlwimi.
62393 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
62394
62395 2013-10-04 Alan Modra <amodra@gmail.com>
62396
62397 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
62398 insrdi. Formatting.
62399 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
62400 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
62401 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
62402 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62403 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
62404 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
62405
62406 2013-10-04 Alan Modra <amodra@gmail.com>
62407
62408 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
62409 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62410 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
62411 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
62412 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62413 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62414 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62415 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62416 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
62417 use of regs. Use power7 mtocrf. Tidy function tails.
62418
62419 2013-10-04 Alan Modra <amodra@gmail.com>
62420
62421 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
62422 Formatting. Consistently use rXXX register defines or rN defines.
62423 Use early exit labels that avoid restoring unused non-volatile regs.
62424 Make cr field use more consistent with rWORDn compares. Rename
62425 regs used as shift registers for unaligned loop, using rN defines
62426 for short lifetime/multiple use regs.
62427 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62428 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
62429 addi 1,1,64 to pop stack frame. Simplify return value code.
62430 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62431
62432 2013-10-04 Alan Modra <amodra@gmail.com>
62433
62434 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
62435 support. Correct typos, formatting. Optimize tail. Use insrdi
62436 rather than rlwimi.
62437 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
62438 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
62439 little-endian support. Correct typos.
62440 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
62441 rather than rlwimi.
62442 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
62443 in loop and entry code to keep "and." results.
62444 (strchr): Add little-endian support. Comment. Move cntlzd
62445 earlier in tail.
62446 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
62447
62448 2013-10-04 Alan Modra <amodra@gmail.com>
62449
62450 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
62451 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
62452 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
62453 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
62454
62455 2013-10-04 Alan Modra <amodra@gmail.com>
62456
62457 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
62458 (rTMP): Define as r11.
62459 (strcmp): Add little-endian support. Optimise tail.
62460 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
62461 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62462 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
62463 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62464 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
62465 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62466 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62467
62468 2013-10-04 Alan Modra <amodra@gmail.com>
62469
62470 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
62471 little-endian support. Remove unnecessary "are we done" tests.
62472 Handle "s" wrapping around zero and extremely large "size".
62473 Correct main loop count. Handle single left-over word from main
62474 loop inline rather than by using small_loop. Correct comments.
62475 Delete "zero" tail, use "end_max" instead.
62476 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
62477
62478 2013-10-04 Alan Modra <amodra@gmail.com>
62479
62480 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
62481 support. Don't branch over align.
62482 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
62483 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
62484 support. Rearrange tmp reg use to suit. Comment.
62485 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
62486
62487 2013-10-04 Alan Modra <amodra@gmail.com>
62488
62489 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
62490
62491 2013-10-04 Alan Modra <amodra@gmail.com>
62492
62493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
62494 conditional form of branch and link when obtaining pc.
62495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
62496
62497 2013-10-04 Alan Modra <amodra@gmail.com>
62498
62499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
62500 HIWORD/LOWORD.
62501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
62502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
62503
62504 2013-10-04 Alan Modra <amodra@gmail.com>
62505
62506 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
62507 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
62508 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
62509 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
62510 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
62511 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
62512 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
62513 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
62514 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
62515 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
62516
62517 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62518 Alistair Popple <alistair@ozlabs.au.ibm.com>
62519 Alan Modra <amodra@gmail.com>
62520
62521 [BZ #15723]
62522 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
62523 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
62524 _dl_hwcap access for little-endian.
62525 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
62526 destroy vmx regs when saving unaligned.
62527 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
62528 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
62529 destroy vmx regs when saving unaligned.
62530
62531 2013-10-04 Alan Modra <amodra@gmail.com>
62532
62533 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
62534 Don't use a union to pack hi/low value.
62535
62536 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62537
62538 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
62539 for little-endian.
62540 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
62541 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
62542 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
62543 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
62544 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
62545
62546 2013-10-04 Alan Modra <amodra@gmail.com>
62547
62548 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
62549 constants to usual value for .cst8 section, and remove redundant
62550 high address load.
62551 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
62552 constant for 0x1p52. Load little-endian words of double from
62553 correct stack offsets.
62554
62555 2013-10-04 Alan Modra <amodra@gmail.com>
62556
62557 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
62558 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
62559 words of double from correct stack offsets.
62560 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
62561 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
62562 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
62563 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
62564 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
62565 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
62566 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
62567 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
62568 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
62569 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
62570 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
62571 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
62572 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
62573 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
62574 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
62575 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
62576 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
62577
62578 2013-10-04 Alan Modra <amodra@gmail.com>
62579
62580 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
62581 64-bit int/double union.
62582 (_FPU_SETCW): Likewise.
62583 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
62584 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
62585
62586 2013-10-04 Alan Modra <amodra@gmail.com>
62587
62588 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
62589 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
62590
62591 2013-10-04 Alan Modra <amodra@gmail.com>
62592
62593 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
62594 use vector int constants.
62595 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
62596
62597 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62598
62599 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
62600 array with long long.
62601 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
62602 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
62603 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
62604 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
62605 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
62606 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
62607 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
62608 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
62609 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
62610 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
62611 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
62612 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
62613 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
62614
62615 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62616
62617 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
62618 (__signbit): Likewise. Correct for little-endian.
62619 (__signbitl): Call __signbit.
62620 (lrint): Correct for little-endian.
62621 (lrintf): Call lrint.
62622
62623 2013-10-04 Alan Modra <amodra@gmail.com>
62624
62625 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
62626 union 32-bit int array member with 64-bit int array.
62627 (t515, tm256): Double rather than long double.
62628 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
62629
62630 2013-10-04 Alan Modra <amodra@gmail.com>
62631
62632 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
62633 Delete.
62634 (IEEE854_LONG_DOUBLE_BIAS): Delete.
62635 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
62636 version of math_ldbl.h.
62637
62638 2013-10-04 Alan Modra <amodra@gmail.com>
62639
62640 [BZ #15734], [BZ #15735]
62641 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
62642 all uses of ieee875 long double macros and unions. Simplify test
62643 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
62644 ldbl_extract_mantissa value for ix,iy exponents. Properly
62645 normalize after ldbl_extract_mantissa, and don't add hidden bit
62646 already handled. Don't treat low word of ieee854 mantissa like
62647 low word of IBM long double and mask off bit when testing for
62648 zero.
62649 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
62650 all uses of ieee875 long double macros and unions. Simplify tests
62651 for 0.0L and inf. Correct double adjustment of k. Delete dead code
62652 adjusting ha,hb. Simplify code setting kld. Delete two600 and
62653 two1022, instead use their values. Recognise that tests for large
62654 "a" and small "b" are mutually exclusive. Rename vars. Comment.
62655 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
62656 Rewrite all uses of ieee875 long double macros and unions. Simplify
62657 test for 0.0L and nan. Correct negation.
62658 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
62659 ieee875 long double macros and unions. Correct output for large
62660 magnitude x. Correct absolute value calculation.
62661 (__erfcl): Likewise.
62662 * math/libm-test.inc: Add tests for errors discovered in IBM long
62663 double versions of fmodl, remainderl, erfl and erfcl.
62664
62665 2013-10-04 Alan Modra <amodra@gmail.com>
62666
62667 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
62668 all uses of ieee854 long double macros and unions. Simplify tests
62669 for long doubles that are fully specified by the high double.
62670 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
62671 Likewise.
62672 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
62673 Remove dead code too.
62674 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
62675 (__ieee754_ynl): Likewise.
62676 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
62677 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
62678 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
62679 Remove dead code too.
62680 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
62681 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
62682 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
62683 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
62684 Simplify.
62685 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
62686 Simplify.
62687 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
62688 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
62689 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
62690 Comment on variable precision.
62691 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
62692 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
62693 Likewise.
62694 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
62695 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
62696 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
62697 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
62698 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
62699
62700 2013-10-04 Alan Modra <amodra@gmail.com>
62701
62702 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
62703 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
62704 all uses of ieee854 long double macros and unions.
62705 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
62706 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
62707 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
62708 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
62709 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
62710 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
62711 Likewise.
62712 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
62713 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
62714 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
62715 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
62716 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
62717 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
62718 Simplify sign and nan test too.
62719 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
62720 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
62721 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
62722 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
62723 Likewise.
62724 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
62725 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
62726 Likewise.
62727 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62728 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
62729 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
62730 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
62731 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
62732 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
62733
62734 2013-10-04 Alan Modra <amodra@gmail.com>
62735
62736 * stdio-common/printf_size.c (__printf_size): Don't use
62737 union ieee854_long_double in fpnum union.
62738 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
62739 signbit macro to retrieve sign from long double.
62740 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
62741 retrieve sign from long double.
62742 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
62743 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
62744 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
62745 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
62746 * math/test-misc.c (main): Don't use union ieee854_long_double.
62747
62748 2013-10-04 Alan Modra <amodra@gmail.com>
62749
62750 [BZ #15680]
62751 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
62752 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
62753 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
62754 calculation. Remove unnecessary test for denormal exponent.
62755 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
62756 Correct handling of denormals. Avoid undefined shift behaviour.
62757 Correct normalisation of low mantissa when low double is denormal.
62758 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
62759 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
62760 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
62761 Correct normalisation of low mantissa. Test for overflow of high
62762 mantissa and normalise.
62763 (ldbl_nearbyint): Use more readable constant for two52.
62764 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
62765 (__mpn_construct_long_double): Fix test for overflow of high
62766 mantissa and correct normalisation. Avoid undefined shift.
62767
62768 2013-10-04 Alan Modra <amodra@gmail.com>
62769
62770 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
62771 (union ibm_extended_long_double): Define as an array of ieee754_double.
62772 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
62773 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
62774 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
62775 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
62776 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
62777 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
62778 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
62779 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
62780 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
62781 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
62782 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
62783
62784 2013-10-03 Joseph Myers <joseph@codesourcery.com>
62785
62786 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
62787 page size instead of calling getpagesize.
62788
62789 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
62790 (LOCFILE_ALIGN_MASK): Likewise.
62791 (LOCFILE_ALIGN_UP): Likewise.
62792 (LOCFILE_ALIGNED_P): Likewise.
62793 * locale/programs/ld-collate.c (collate_output): Use the new
62794 macros instead of __alignof__ (int32_t).
62795 * locale/weight.h (findidx): Likewise.
62796
62797 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
62798
62799 [BZ #431]
62800 * manual/string.texi: Fix strncat and wcsncat.
62801
62802 2013-10-03 Brooks Moses <bmoses@google.com>
62803
62804 [BZ #15915]
62805 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
62806 * Makerules: ...here, and adjust associated comments.
62807
62808 2013-10-02 Will Newton <will.newton@linaro.org>
62809
62810 * malloc/Makefile: Add tst-pvalloc.
62811 * malloc/tst-pvalloc.c: New file.
62812
62813 2013-10-02 Will Newton <will.newton@linaro.org>
62814
62815 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
62816 improve test coverage.
62817
62818 2013-10-02 Will Newton <will.newton@linaro.org>
62819
62820 * malloc/Makefile: Add tst-posix_memalign.
62821 * malloc/tst-posix_memalign.c: New file.
62822
62823 2013-10-01 Eric Blake <eblake@redhat.com>
62824
62825 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
62826 Use __THROWNL rather than __THROW on static functions.
62827
62828 2013-09-30 Petr Machata <pmachata@redhat.com>
62829
62830 * elf/elf.h (R_AARCH64_ABS16): New macro.
62831 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
62832 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
62833 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
62834 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
62835 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
62836 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
62837 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
62838 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
62839 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
62840 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
62841 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
62842 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
62843 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
62844 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
62845 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
62846 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
62847 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
62848 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
62849 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
62850 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
62851 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
62852 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
62853 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
62854 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
62855 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
62856 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
62857 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
62858 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
62859 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
62860 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
62861 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
62862 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
62863 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
62864 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
62865 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
62866 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
62867 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
62868 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
62869 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
62870 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
62871 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
62872 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
62873 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
62874 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
62875 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
62876 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
62877 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
62878 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
62879 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
62880 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
62881 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
62882 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
62883 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
62884 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
62885 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
62886 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
62887 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
62888 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
62889 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
62890 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
62891 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
62892 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
62893 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
62894 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
62895 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
62896 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
62897 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
62898 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
62899 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
62900 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
62901 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
62902 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
62903 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
62904 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
62905 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
62906 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
62907 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
62908 (R_AARCH64_TLSDESC_LDR): Likewise.
62909 (R_AARCH64_TLSDESC_ADD): Likewise.
62910 (R_AARCH64_TLSDESC_CALL): Likewise.
62911
62912 2013-09-30 Andreas Schwab <schwab@suse.de>
62913
62914 [BZ #15048]
62915 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
62916 the nss database lookup.
62917 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62918 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62919
62920 2013-09-28 Mike Frysinger <vapier@gentoo.org>
62921
62922 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
62923
62924 2013-09-28 P. J. McDermott <pj@pehjota.net>
62925
62926 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
62927 ${Bash-specific parameter/pattern/string} parameter expansion.
62928 * sysdeps/unix/make-syscalls.sh: Likewise.
62929
62930 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
62931
62932 * sysdeps/sh/stackguard-macros.h: New file.
62933
62934 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
62935
62936 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
62937 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
62938 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
62939 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
62940 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62941 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
62942
62943 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62944
62945 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
62946 Fix thread ID register.
62947
62948 2013-09-25 Joseph Myers <joseph@codesourcery.com>
62949
62950 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
62951 [POSIX || UNIX98]: Require rather than permitting all symbols from
62952 <time.h>.
62953 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
62954 element of struct sched_param.
62955 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
62956 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
62957 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
62958 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
62959 constant.
62960
62961 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
62962
62963 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
62964 argument calculation.
62965
62966 2013-09-24 Joseph Myers <joseph@codesourcery.com>
62967
62968 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
62969 Expect macro.
62970 [POSIX] (pthread_attr_t): Do not require type.
62971 [POSIX] (pthread_cond_t): Likewise.
62972 [POSIX] (pthread_condattr_t): Likewise.
62973 [POSIX] (pthread_key_t): Likewise.
62974 [POSIX] (pthread_mutex_t): Likewise.
62975 [POSIX] (pthread_mutexattr_t): Likewise.
62976 [POSIX] (pthread_once_t): Likewise.
62977 [POSIX] (pthread_t): Likewise.
62978 [POSIX-based standards] (pthread_atfork): Expect function.
62979
62980 2013-09-24 Joseph Myers <joseph@codesourcery.com>
62981 Richard Sandiford <richard@codesourcery.com>
62982
62983 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
62984 (swap_endianness_p): New extern variable.
62985 (set_big_endian): New inline function.
62986 (maybe_swap_uint32): Likewise.
62987 (maybe_swap_uint32_array): Likewise.
62988 (maybe_swap_uint32_obstack): Likewise.
62989 * locale/programs/locfile.c: Include <stdbool.h>.
62990 (swap_endianness_p): New variable.
62991 (add_locale_uint32): Call maybe_swap_uint32.
62992 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
62993 (write_locale_data): Call maybe_swap_uint32_array.
62994 * locale/programs/ld-collate.c (obstack_int32_grow): Call
62995 maybe_swap_uint32.
62996 (obstack_int32_grow_fast): Likewise.
62997 (output_weightwc): Call maybe_swap_uint32_obstack.
62998 (collate_output): Likewise.
62999 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
63000 (OPT_LITTLE_ENDIAN): Likewise.
63001 (options): Add --little-endian and --big-endian options.
63002 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
63003 * locale/programs/locarchive.c: Include "locfile.h".
63004 (GET): New macro.
63005 (SET): Likewise.
63006 (INC): Likewise.
63007 (create_archive): Use the new macros to access fields of
63008 structures directly mapped from or written to locale archives.
63009 (oldlocrecentcmp): Likewise.
63010 (enlarge_archive): Likewise.
63011 (insert_name): Likewise.
63012 (add_alias): Likewise.
63013 (add_locale): Likewise.
63014 (delete_locales_from_archive): Likewise.
63015 (show_archive_content): Likewise.
63016 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
63017 locale data.
63018
63019 2013-09-24 Roland McGrath <roland@hack.frob.com>
63020
63021 * manual/freemanuals.texi: Updated from (newly) canonical copy at
63022 http://www.gnu.org/doc/freemanuals.texi.
63023 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
63024
63025 2013-09-24 Will Newton <will.newton@linaro.org>
63026
63027 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
63028 macro.
63029
63030 2013-09-23 Joseph Myers <joseph@codesourcery.com>
63031
63032 * locale/hashval.h (compute_hashval): Interpret bytes of key as
63033 unsigned char.
63034
63035 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
63036
63037 * manual/threads.texi (POSIX Threads): Fix a typo.
63038
63039 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
63040
63041 [BZ #14547]
63042 * string/tst-strcoll-overflow.c: New test case.
63043 * string/Makefile (xtests): Add tst-strcoll-overflow.
63044 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
63045 cache if string sizes may cause integer overflow.
63046
63047 [BZ #14547]
63048 * string/strcoll_l.c (coll_seq): New members rule, idx,
63049 save_idx and back_us.
63050 (get_next_seq_nocache): New function.
63051 (do_compare_nocache): New function.
63052 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
63053 when malloc fails.
63054
63055 2013-09-23 Carlos O'Donell <carlos@redhat.com>
63056
63057 [BZ #15754]
63058 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
63059 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
63060 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
63061
63062 [BZ #15754]
63063 * elf/Makefile (tests): Add tst-ptrguard1.
63064 (tests-static): Add tst-ptrguard1-static.
63065 (tst-ptrguard1-ARGS): Define.
63066 (tst-ptrguard1-static-ARGS): Define.
63067 * elf/tst-ptrguard1.c: New file.
63068 * elf/tst-ptrguard1-static.c: New file.
63069 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
63070 * sysdeps/i386/stackguard-macros.h: Likewise.
63071 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63072 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63073 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63074 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63075 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63076 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63077
63078 2013-09-23 Hector Marco <hecmargi@upv.es>
63079 Ismael Ripoll <iripoll@disca.upv.es>
63080 Carlos O'Donell <carlos@redhat.com>
63081
63082 [BZ #15754]
63083 * sysdeps/generic/stackguard-macros.h: Define
63084 __pointer_chk_guard_local and POINTER_CHK_GUARD.
63085 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
63086 Define __pointer_chk_guard_local.
63087 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
63088 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
63089
63090 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
63091
63092 [BZ #15859]
63093 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
63094
63095 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
63096
63097 * include/string.h (__ffs): Declare as hidden.
63098 * string/ffs.c (__ffs): Define as hidden.
63099 * sysdeps/i386/ffs.c (__ffs): Likewise.
63100 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
63101 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
63102 * sysdeps/s390/ffs.c (__ffs): Likewise.
63103 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
63104
63105 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
63106
63107 * NEWS: Mention malloc probes.
63108
63109 * malloc/arena.c (new_heap): New memory_heap_new probe.
63110 (grow_heap): New memory_heap_more probe.
63111 (shrink_heap): New memory_heap_less probe.
63112 (heap_trim): New memory_heap_free probe.
63113 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
63114 (systrim): New memory_sbrk_less probe.
63115 * manual/probes.texi: Document them.
63116
63117 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
63118 * manual/probes.texi: Document it.
63119
63120 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
63121 (__libc_realloc): Add memory_realloc_retry probe.
63122 (__libc_memalign): Add memory_memalign_retry probe.
63123 (__libc_valloc): Add memory_valloc_retry probe.
63124 (__libc_pvalloc): Add memory_pvalloc_retry probe.
63125 (__libc_calloc): Add memory_calloc_retry probe.
63126 * manual/probes.texi: Document them.
63127
63128 * malloc/arena.c (get_free_list): Add probe
63129 memory_arena_reuse_free_list.
63130 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
63131 and memory_arena_reuse.
63132 (arena_get2) [!PER_THREAD]: Likewise.
63133 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
63134 memory_arena_reuse_realloc.
63135 * manual/probes.texi: Document them.
63136
63137 * malloc/malloc.c (__libc_free): Add
63138 memory_mallopt_free_dyn_thresholds probe.
63139 (__libc_mallopt): Add multiple memory_mallopt probes.
63140 * manual/probes.texi: Document them.
63141
63142 * malloc/malloc.c: Include stap-probe.h.
63143 (__libc_mallopt): Add memory_mallopt probe.
63144 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
63145 * manual/probes.texi: New.
63146 * manual/Makefile (chapters): Add probes.
63147 * manual/threads.texi: Set next node.
63148
63149 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
63150
63151 [BZ #15963, #13985]
63152 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
63153 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
63154 Add `Chinese' to `nan' entry name.
63155
63156 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
63157
63158 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
63159 (POLYNOMIAL): Likewise.
63160 (TAYLOR_SINCOS): Likewise.
63161 (TAYLOR_SLOW): Likewise.
63162 (__sin): Use TAYLOR_SINCOS.
63163 (__cos): Likewise.
63164 (slow): Use TAYLOR_SLOW.
63165 (sloww): Likewise.
63166 (bsloww): Likewise.
63167 (csloww): Likewise.
63168
63169 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
63170
63171 * stdlib/strtod_l.c: Fix buffer overrun.
63172
63173 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
63174
63175 * benchtests/Makefile (bench): Add sincos.
63176 * benchtests/bench-sincos.c: New file.
63177
63178 * math/libm-test.inc (cos_test_data): New test inputs.
63179 (sin_test_data): Likewise.
63180
63181 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
63182 macro.
63183 (__sin): Use it.
63184 (__cos): Likewise.
63185 (slow1): Likewise.
63186 (slow2): Likewise.
63187 (sloww1): Likewise.
63188 (sloww2): Likewise.
63189 (bsloww1): Likewise.
63190 (bsloww2): Likewise.
63191 (cslow2): Likewise.
63192 (csloww1): Likewise.
63193 (csloww2): Likewise.
63194
63195 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
63196 function.
63197 (__sin): Use it.
63198 (__cos): Likewise.
63199
63200 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
63201 gotos.
63202 (__cos): Likewise.
63203
63204 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
63205
63206 * config.h.in (HAVE_MIPS_NAN2008): New macro.
63207 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
63208 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
63209 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
63210 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
63211 * elf/cache.c (print_entry): Handle the new cache flags.
63212
63213 2013-09-18 Joseph Myers <joseph@codesourcery.com>
63214 Aldy Hernandez <aldyh@redhat.com>
63215
63216 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
63217 Change condition to [_SOFT_FLOAT].
63218 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
63219 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
63220 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
63221 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
63222 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
63223 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
63224 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
63225 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
63226 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
63227 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
63228 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
63229 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
63230 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
63231 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
63232 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
63233 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
63234 declaration.
63235
63236 2013-09-18 Joseph Myers <joseph@codesourcery.com>
63237
63238 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
63239 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63240 (__longjmp): Use LOAD_GP to load saved GPRs.
63241 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
63242 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63243 (__sigsetjmp): Use SAVE_GP to save GPRs.
63244
63245 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
63246 Do not append -msoft-float.
63247 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
63248
63249 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
63250
63251 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
63252
63253 2013-09-17 Joseph Myers <joseph@codesourcery.com>
63254
63255 [BZ #15966]
63256 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
63257 (_FPU_GETCW): Use initial "__" on variable and field names but not
63258 on macro parameter name.
63259 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
63260 parentheses around reference to macro parameter.
63261
63262 2013-09-13 Richard Sandiford <richard@codesourcery.com>
63263
63264 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
63265 prototype.
63266 (ctype_startup): Use uint32_t in cast and sizeof for
63267 ctype->charnames.
63268
63269 2013-09-11 Jia Liu <proljc@gmail.com>
63270
63271 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
63272 __daddr_t_defined.
63273 [__FreeBSD__]: Likewise.
63274
63275 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
63276
63277 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
63278 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
63279 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
63280 (strchr): Remove __strchr_sse42 ifunc selection.
63281 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
63282 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
63283
63284 2013-09-11 Will Newton <will.newton@linaro.org>
63285
63286 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
63287 parameter to RES. Remove hardcoded 1000 value.
63288 * benchtests/bench-skeleton.c (main): Pass RES parameter
63289 to TIMING_INIT and multiply result by 1000.
63290
63291 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63292
63293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63294
63295 2013-09-11 Andreas Schwab <schwab@suse.de>
63296
63297 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
63298 if not defined.
63299 (O_TMPFILE) [__USE_GNU]: Define.
63300 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
63301 Define.
63302
63303 2013-09-11 Will Newton <will.newton@linaro.org>
63304
63305 [BZ #15857]
63306 * malloc/malloc.c (__libc_memalign): Check the value of bytes
63307 does not overflow.
63308
63309 2013-09-11 Will Newton <will.newton@linaro.org>
63310
63311 [BZ #15856]
63312 * malloc/malloc.c (__libc_valloc): Check the value of bytes
63313 does not overflow.
63314
63315 2013-09-11 Will Newton <will.newton@linaro.org>
63316
63317 [BZ #15855]
63318 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
63319 does not overflow.
63320
63321 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
63322
63323 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
63324 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63325 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63326 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63327 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63328
63329 2013-09-10 Allan McRae <allan@archlinux.org>
63330
63331 [BZ #15748]
63332 * manual/arith.texi (Parsing of Floats): Clarify
63333 cross-reference.
63334
63335 [BZ #15849]
63336 * manual/install.texi (Running make install): Mention
63337 --enable-pt-chown.
63338 * INSTALL: Regenerated.
63339
63340 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
63341
63342 * csu/init-first.c (_init): Remove the !SHARED condition around
63343 FPU control word initialization.
63344 * elf/dl-support.c (_dl_fpu_control): New variable.
63345 (_dl_aux_init) <AT_FPUCW>: Initialize it.
63346 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
63347 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
63348 * math/test-fpucw-static.c: New file.
63349 * math/test-fpucw-ieee.c: New file.
63350 * math/test-fpucw-ieee-static.c: New file.
63351 * math/Makefile (tests): Add `test-fpucw-ieee' and
63352 `$(tests-static)'.
63353 (tests-static): New variable.
63354 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
63355 dependency to...
63356 [($(build-shared),yes)]
63357 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
63358 ... this.
63359 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
63360 New dependency.
63361
63362 2013-09-09 Allan McRae <allan@archlinux.org>
63363
63364 [BZ #15939]
63365 * manual/string.texi (Collation Functions): Fix typo in
63366 strcoll example.
63367 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
63368
63369 [BZ #15893]
63370 * stdlib/isomac.c (get_null_defines): Fix memory leak.
63371
63372 [BZ #15892]
63373 * libio/memstream.c (open_memstream): Fix memory leak.
63374 * libio/wmemstream.c (open_wmemstream): Likewise.
63375
63376 [BZ #15895]
63377 * nscd/netgroupcache.c: Fix nesting of ifdefs.
63378
63379 2013-09-09 Will Newton <will.newton@linaro.org>
63380
63381 * malloc/Makefile: Add tst-realloc to tests.
63382 * malloc/tst-realloc.c: New file.
63383
63384 2013-09-09 Allan McRae <allan@archlinux.org>
63385
63386 [BZ #15844]
63387 * COPYING: Update from GNU website to fix FSF address.
63388 * COPYING.LIB: Likewise.
63389
63390 2013-09-06 David S. Miller <davem@davemloft.net>
63391
63392 * po/zh_TW.po: Update Chinese (traditional) translation from
63393 translation project.
63394
63395 2013-09-06 Richard Sandiford <richard@codesourcery.com>
63396 Joseph Myers <joseph@codesourcery.com>
63397
63398 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
63399 "localeinfo.h".
63400 (obstack_chunk_alloc): New macro.
63401 (obstack_chunk_free): Likewise.
63402 (record_offset): New function.
63403 (init_locale_data): Likewise.
63404 (align_locale_data): Likewise.
63405 (add_locale_empty): Likewise.
63406 (add_locale_raw_data): Likewise.
63407 (add_locale_raw_obstack): Likewise.
63408 (add_locale_string): Likewise.
63409 (add_locale_wstring): Likewise.
63410 (add_locale_uint32): Likewise.
63411 (add_locale_uint32_array): Likewise.
63412 (add_locale_char): Likewise.
63413 (start_locale_structure): Likewise.
63414 (end_locale_structure): Likewise.
63415 (start_locale_prelude): Likewise.
63416 (end_locale_prelude): Likewise.
63417 (write_locale_data): Take locale_file structure rather than an
63418 iovec.
63419 * locale/programs/locfile.h: Include "obstack.h".
63420 (struct locale_file): Change to store locale file contents instead
63421 of header.
63422 (init_locale_data): New prototype.
63423 (align_locale_data): Likewise.
63424 (add_locale_empty): Likewise.
63425 (add_locale_raw_data): Likewise.
63426 (add_locale_raw_obstack): Likewise.
63427 (add_locale_string): Likewise.
63428 (add_locale_wstring): Likewise.
63429 (add_locale_uint32): Likewise.
63430 (add_locale_uint32_array): Likewise.
63431 (add_locale_char): Likewise.
63432 (start_locale_structure): Likewise.
63433 (end_locale_structure): Likewise.
63434 (start_locale_prelude): Likewise.
63435 (end_locale_prelude): Likewise.
63436 (write_locale_data): Update prototype.
63437 * locale/programs/3level.h (struct TABLE): Remove result field.
63438 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
63439 Use new locale_file interface.
63440 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
63441 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
63442 * locale/programs/ld-address.c (address_output): Use new
63443 locale_file interface.
63444 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
63445 NO_ADD_LOCALE.
63446 (collate_finish): Don't call collseq_table_finalize.
63447 (collate_output): Use new locale_file interface.
63448 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
63449 in file.
63450 (NO_FINALIZE): Change to NO_ADD_LOCALE.
63451 (TABLE): Move defines earlier in file.
63452 (ELEMENT): Likewise.
63453 (DEFAULT): Likewise.
63454 (wctrans_table_add): Move macro and inline function earlier in
63455 file.
63456 (struct wctype_table): Move type earlier in file.
63457 (add_locale_wctype_table): New static prototype.
63458 (struct locale_ctype_t): Use logical types instead of struct iovec
63459 pointers for members.
63460 (ctype_output): Use new locale_file interface.
63461 (wctype_table_finalize): Change to add_locale_wctype_table. Use
63462 new locale_file interface.
63463 (allocate_arrays): Update for use of new locale_file interface.
63464 * locale/programs/ld-identification.c (identification_output): Use
63465 new locale_file interface.
63466 * locale/programs/ld-measurement.c (measurement_output): Likewise.
63467 * locale/programs/ld-messages.c (messages_output): Likewise.
63468 * locale/programs/ld-monetary.c (monetary_output): Likewise.
63469 * locale/programs/ld-name.c (name_output): Likewise.
63470 * locale/programs/ld-numeric.c (numeric_output): Likewise.
63471 * locale/programs/ld-paper.c (paper_output): Likewise.
63472 * locale/programs/ld-telephone.c (telephone_output): Likewise.
63473 * locale/programs/ld-time.c (time_output): Likewise.
63474
63475 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63476
63477 * benchtests/Makefile: Add memrchr benchmark.
63478 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
63479 benchmark as memrchr.
63480 * benchtests/bench-memrchr-ifunc.c: New file.
63481 * benchtests/bench-memrchr.c: New file.
63482
63483 2013-09-06 Will Newton <will.newton@linaro.org>
63484
63485 * benchtests/Makefile (string-bench): Add memcpy.
63486
63487 2013-09-05 Carlos O'Donell <carlos@redhat.com>
63488 Cong Wang <amwang@redhat.com>
63489
63490 [BZ #15850]
63491 * sysdeps/unix/sysv/linux/bits/in.h
63492 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
63493 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
63494 before __USE_KERNEL_IPV6_DEFS uses.
63495 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
63496 IPPROTO_BEETPH.
63497 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
63498 sockaddr_in6, or ipv6_mreq.
63499
63500 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63501
63502 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
63503 memory access for final bytes in some large inputs.
63504 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
63505
63506 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63507
63508 * string/test-memrchr.c: New file.
63509 * string/test-memrchr-ifunc.c: New file.
63510 * string/Makefile: Add new memrchr testcase.
63511
63512 2013-09-05 Mike Frysinger <vapier@gentoo.org>
63513
63514 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
63515 fanotify_init returns EPERM.
63516
63517 2013-09-04 Joseph Myers <joseph@codesourcery.com>
63518
63519 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
63520 errors.
63521 (top level): Treat second token from macro or constant entries for
63522 allowed headers as allowed.
63523 * include/complex.h: Condition internal declarations on
63524 [!_ISOMAC].
63525 * include/fenv.h: Condition include of <stdbool.h> and internal
63526 declarations on [!_ISOMAC].
63527
63528 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
63529
63530 [BZ #15923]
63531 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
63532
63533 2013-09-04 Joseph Myers <joseph@codesourcery.com>
63534
63535 * configure.in (--enable-versioning): Remove configure option.
63536 (libc_cv_asm_symver_directive): Remove configure test.
63537 (libc_cv_ld_version_script_option): Likewise.
63538 (VERSIONING): Remove variable and AC_SUBST.
63539 (DO_VERSIONING): Remove AC_DEFINE.
63540 * configure: Regenerated.
63541 * config.h.in (DO_VERSIONING): Remove macro.
63542 * Makerules [$(versioning) = yes]: Change conditionals to
63543 [$(build-shared) = yes].
63544 * config.make.in (versioning): Remove variable.
63545 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
63546 [$(build-shared) = yes].
63547 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
63548 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
63549 * elf/Makefile [$(versioning) = yes]: Change conditionals to
63550 [$(build-shared) = yes].
63551 * extra-lib.mk [$(versioning) = yes]: Likewise.
63552 * hurd/Makefile [$(versioning) = yes]: Likewise.
63553 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
63554 [SHARED].
63555 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
63556 [SHARED].
63557 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63558 [SHARED && !NO_HIDDEN].
63559 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
63560 [SHARED].
63561 [SHARED && DO_VERSIONING]: Likewise..
63562 * libio/Makefile [$(versioning) = yes]: Change conditionals to
63563 [$(build-shared) = yes].
63564 * manual/install.texi (--disable-versioning): Remove
63565 documentation.
63566 * INSTALL: Regenerated.
63567 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
63568 to [SHARED].
63569 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
63570 [$(build-shared) = yes].
63571 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
63572 * sysdeps/i386/i686/multiarch/strstr-c.c
63573 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63574 [SHARED && !NO_HIDDEN].
63575 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
63576 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
63577 * sysdeps/powerpc/powerpc32/dl-machine.c
63578 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
63579 * sysdeps/powerpc/powerpc32/sysdep.h
63580 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
63581 to [SHARED && PIC && !NO_HIDDEN].
63582 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
63583 conditional to [SHARED].
63584
63585 2013-09-04 Will Newton <will.newton@linaro.org>
63586
63587 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
63588 * benchtests/bench-string.h: Include bench-timing.h instead
63589 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
63590 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
63591 call to HP_TIMING_DIFF_INIT.
63592 * benchtests/bench-memccpy.c: Use bench-timing.h macros
63593 instead of hp-timing.h macros.
63594 * benchtests/bench-memchr.c: Likewise.
63595 * benchtests/bench-memcmp.c: Likewise.
63596 * benchtests/bench-memcpy.c: Likewise.
63597 * benchtests/bench-memmem.c: Likewise.
63598 * benchtests/bench-memmove.c: Likewise.
63599 * benchtests/bench-memset.c: Likewise.
63600 * benchtests/bench-rawmemchr.c: Likewise.
63601 * benchtests/bench-strcasecmp.c: Likewise.
63602 * benchtests/bench-strcasestr.c: Likewise.
63603 * benchtests/bench-strcat.c: Likewise.
63604 * benchtests/bench-strchr.c: Likewise.
63605 * benchtests/bench-strcmp.c: Likewise.
63606 * benchtests/bench-strcpy.c: Likewise.
63607 * benchtests/bench-strcpy_chk.c: Likewise.
63608 * benchtests/bench-strlen.c: Likewise.
63609 * benchtests/bench-strncasecmp.c: Likewise.
63610 * benchtests/bench-strncat.c: Likewise.
63611 * benchtests/bench-strncmp.c: Likewise.
63612 * benchtests/bench-strncpy.c: Likewise.
63613 * benchtests/bench-strnlen.c: Likewise.
63614 * benchtests/bench-strpbrk.c: Likewise.
63615 * benchtests/bench-strrchr.c: Likewise.
63616 * benchtests/bench-strspn.c: Likewise.
63617 * benchtests/bench-strstr.c: Likewise.
63618
63619 2013-09-04 Will Newton <will.newton@linaro.org>
63620
63621 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
63622
63623 2013-09-03 Joseph Myers <joseph@codesourcery.com>
63624
63625 [BZ #15427]
63626 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
63627 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
63628 * math/libm-test.inc (lgamma_test_data): Add more tests.
63629 * sysdeps/i386/fpu/libm-test-ulps: Update.
63630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63631
63632 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
63633
63634 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
63635 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63636 Add ifunc.
63637 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63638 Add strcmp-sse2-unaligned
63639 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
63640
63641 2013-09-02 Mike Frysinger <vapier@gentoo.org>
63642
63643 * Versions.def (libc): Add GLIBC_2.19.
63644
63645 2013-09-02 Mike Frysinger <vapier@gentoo.org>
63646
63647 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
63648 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
63649
63650 2013-09-02 Joseph Myers <joseph@codesourcery.com>
63651
63652 [BZ #14155]
63653 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
63654 intermediate calculations in recurrence.
63655 (__ieee754_ynf): Likewise.
63656 * math/libm-test.inc (jn_test_data): Do not allow spurious
63657 underflow exception. Add more tests.
63658 (yn_test_data): Add more tests.
63659 * sysdeps/i386/fpu/libm-test-ulps: Update.
63660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63661
63662 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
63663
63664 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
63665
63666 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
63667
63668 * csu/init-first.c: Fix then/than typos.
63669 * locale/programs/ld-collate.c: Likewise.
63670 * locale/programs/linereader.h: Likewise.
63671 * manual/charset.texi: Likewise.
63672 * manual/filesys.texi: Likewise.
63673 * manual/stdio.texi: Likewise.
63674 * manual/string.texi: Likewise.
63675 * stdlib/fmtmsg.c: Likewise.
63676 * sysdeps/i386/stpncpy.S: Likewise.
63677 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
63678 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
63679 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
63680 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
63681
63682 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
63683
63684 * elf/dl-open.c: Fix typos.
63685 * iconvdata/gbbig5.c: Likewise.
63686 * iconvdata/iso-2022-jp.c: Likewise.
63687 * iconv/gconv_int.h: Likewise.
63688 * iconv/loop.c: Likewise.
63689 * nis/rpcsvc/nis.h: Likewise.
63690 * resolv/ns_name.c: Likewise.
63691 * stdio-common/vfscanf.c: Likewise.
63692 * streams/stropts.h: Likewise.
63693 * sunrpc/rpc_thread.c: Likewise.
63694 * sysdeps/i386/strpbrk.S: Likewise.
63695 * sysdeps/ieee754/k_standard.c: Likewise.
63696 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
63697 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63698 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
63699 * sysdeps/mach/hurd/profil.c: Likewise.
63700 * sysdeps/s390/dl-procinfo.h: Likewise.
63701 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
63702 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
63703 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
63704 * sysdeps/x86_64/dl-trampoline.S: Likewise.
63705 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
63706
63707 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
63708
63709 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
63710 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
63711
63712 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
63713
63714 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
63715 aix specific files.
63716 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
63717 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
63718 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
63719 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
63720 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
63721 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
63722 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
63723 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
63724
63725 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
63726 Roland McGrath <roland@hack.frob.com>
63727
63728 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
63729 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
63730
63731 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
63732
63733 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
63734 __executable_start symbol instead of _start.
63735
63736 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
63737
63738 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
63739 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
63740 Move macros to...
63741 * sysdeps/gnu/ldsodefs.h: ... this new file.
63742
63743 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
63744 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
63745 instead of ELFOSABI_LINUX.
63746
63747 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
63748 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
63749 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
63750 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
63751 Likewise.
63752 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
63753 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
63754 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
63755 Likewise.
63756 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
63757 (ibm_extended_long_double): Add ieee_nan member.
63758 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
63759 (do_test): New function.
63760
63761 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
63762 TEST_TRUNC.
63763 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
63764 functions, renamed from truncdfsf_test, trunctfsf_test,
63765 trunctfdf_test.
63766 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
63767 functions.
63768 (do_test): Run all these.
63769
63770 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
63771
63772 * argp/argp-help.c: Fix typos.
63773 * argp/argp-parse.c: Likewise.
63774 * debug/backtracesyms.c: Likewise.
63775 * elf/elf.h: Likewise.
63776 * malloc/malloc.c: Likewise.
63777 * nis/nis_print.c: Likewise.
63778 * resolv/res_comp.c: Likewise.
63779 * stdlib/stdlib.h: Likewise.
63780 * sunrpc/clnt_tcp.c: Likewise.
63781 * sunrpc/clnt_udp.c: Likewise.
63782 * sunrpc/clnt_unix.c: Likewise.
63783 * sysdeps/unix/bsd/ptsname.c: Likewise.
63784 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
63785 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
63786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
63787 Likewise.
63788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
63789 Likewise.
63790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
63791 Likewise.
63792 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
63793
63794 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
63795
63796 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
63797 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63798
63799 2013-08-27 Mike Frysinger <vapier@gentoo.org>
63800
63801 [BZ #15897]
63802 * dlfcn/Makefile (tests): Add bug-dl-leaf.
63803 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
63804 ($(objpfx)bug-dl-leaf): New rule.
63805 ($(objpfx)bug-dl-leaf.so): Likewise.
63806 ($(objpfx)bug-dl-leaf.out): Likewise.
63807 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
63808 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
63809 * dlfcn/bug-dl-leaf.c: New test.
63810 * dlfcn/bug-dl-leaf-lib.c: Likewise.
63811 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
63812 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
63813 (dlclose): Likewise.
63814 (dlmopen): Likewise.
63815
63816 2013-08-27 Roland McGrath <roland@hack.frob.com>
63817
63818 * include/netdb.h [!_ISOMAC]:
63819 Don't include <tls.h>.
63820 (h_errno, __libc_h_errno): Move declaration and macros out of
63821 [_LIBC_REENTRANT].
63822
63823 * include/resolv.h [_RESOLV_H_]:
63824 Don't include <tls.h>.
63825 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
63826 * resolv/res_libc.c: Don't include <tls.h>.
63827 (_res): Use __attribute__ ((nocommon)) in place of
63828 __attribute__ ((section (".bss"))).
63829
63830 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
63831 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
63832
63833 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
63834
63835 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
63836 only under [SIOCGIFCONF && SIOCGIFNETMASK].
63837
63838 * resolv/res_mkquery.c: Include <sys/time.h>.
63839
63840 * inet/ifreq.c: Moved to ...
63841 * sysdeps/unix/ifreq.c: ... here.
63842 * inet/ifreq.c: New file, true stub version.
63843
63844 * socket/sa_len.c: New file.
63845 * socket/Makefile (aux): Add it.
63846 * sysdeps/unix/sysv/linux/Makefile
63847 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
63848 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
63849 and #include <socket/sa_len.c>.
63850 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
63851 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
63852
63853 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
63854 * bits/socket.h: ... here.
63855
63856 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
63857 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
63858 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
63859
63860 2013-08-27 Andreas Schwab <schwab@suse.de>
63861
63862 [BZ #15736]
63863 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
63864 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
63865 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
63866 * string/test-strcasecmp.c (test_main): Run tests in several
63867 locales.
63868 * string/test-strncasecmp.c (test_main): Likewise.
63869
63870 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
63871 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
63872 to __strcasecmp_nonascii and __strncasecmp_nonascii.
63873 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
63874 (__strncasecmp_ssse3) [PIC]: Likewise.
63875
63876 2013-08-26 Roland McGrath <roland@hack.frob.com>
63877
63878 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
63879
63880 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
63881 instead of explicitly declaring xdecrypt.
63882 * nis/nss_nis/nis-publickey.c: Likewise.
63883
63884 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
63885
63886 [BZ #15890]
63887 * nscd/aicache.c: Include res_hconf.h.
63888 (addhstaiX): Initialize res_hconf.
63889
63890 2013-08-26 Andreas Schwab <schwab@suse.de>
63891
63892 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
63893 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
63894
63895 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
63896
63897 * nscd/aicache.c (addhstaiX): Fix indentation.
63898
63899 2013-08-25 Mike Frysinger <vapier@gentoo.org>
63900
63901 * configure.ac: Quote $build_pt_chown test.
63902 * configure: Regenerated.
63903
63904 2013-08-23 Joseph Myers <joseph@codesourcery.com>
63905
63906 [BZ #15532]
63907 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
63908 * math/s_cexpf.c (__cexpf): Likewise.
63909 * math/s_cexpl.c (__cexpl): Likewise.
63910 * math/libm-test.inc (cexp_test_data): Correct expected return
63911 value for NaN + i0. Add another test.
63912
63913 2013-08-22 David S. Miller <davem@davemloft.net>
63914
63915 * po/ca.po: Update Catalan translation from translation project.
63916 * po/uk.po: Add Ukrainian translations from translation project.
63917
63918 2013-08-21 Joseph Myers <joseph@codesourcery.com>
63919
63920 [BZ #15797]
63921 * math/s_fdim.c (__fdim): Check for infinite arguments if result
63922 is infinite, not alongside NaN test.
63923 * math/s_fdimf.c (__fdimf): Likewise.
63924 * math/s_fdiml.c (__fdiml): Likewise.
63925 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
63926 errno is unchanged.
63927
63928 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
63929
63930 * argp/argp-help.c: Fix typos.
63931 * crypt/speeds.c: Likewise.
63932 * csu/check_fds.c: Likewise.
63933 * elf/dl-load.c: Likewise.
63934 * elf/dl-open.c: Likewise.
63935 * elf/reldep3.c: Likewise.
63936 * elf/reldep.c: Likewise.
63937 * elf/sprof.c: Likewise.
63938 * iconv/iconv_charmap.c: Likewise.
63939 * iconv/skeleton.c: Likewise.
63940 * iconv/strtab.c: Likewise.
63941 * io/lockf64.c: Likewise.
63942 * libio/libioP.h: Likewise.
63943 * resolv/gai_notify.c: Likewise.
63944 * resolv/ns_name.c: Likewise.
63945 * resolv/ns_samedomain.c: Likewise.
63946 * resolv/res_send.c: Likewise.
63947 * stdlib/random.c: Likewise.
63948 * sunrpc/rpc/xdr.h: Likewise.
63949 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
63950 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
63951 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
63952 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
63953 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
63954 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
63955 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
63956 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
63957 * sysdeps/mach/hurd/check_fds.c: Likewise.
63958 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
63959 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
63960 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
63961 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
63962 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
63963 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
63964 * sysdeps/pthread/aio_notify.c: Likewise.
63965 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
63966 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
63967 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
63968 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
63969 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
63970
63971 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
63972
63973 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
63974 version if bit_Slow_SSE4_2 is set.
63975 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63976 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
63977
63978 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63979
63980 [BZ #15867]
63981 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
63982 trampoline stack frame information.
63983 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
63984 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
63985 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
63986 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
63987 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
63988 * sysdeps/unix/sysv/linux/powerpc/init-first.c
63989 (_libc_vdso_platform_setup): Initialize the signal trampolines.
63990 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
63991 sa_flags value.
63992 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
63993 interrupting a syscall and set with option SA_SIGINFO.
63994
63995 2013-08-20 Joseph Myers <joseph@codesourcery.com>
63996
63997 [BZ #15531]
63998 * math/s_cproj.c (__cproj): Only return an infinity if one part of
63999 argument is infinite.
64000 * math/s_cprojf.c (__cprojf): Likewise.
64001 * math/s_cprojl.c (__cprojl): Likewise.
64002 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
64003 * math/libm-test.inc (cproj_test_data): Add more tests.
64004
64005 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
64006
64007 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
64008 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
64009 size. Use __ffs to determine corresponding shift.
64010
64011 2013-08-20 Joseph Myers <joseph@codesourcery.com>
64012 Roland McGrath <roland@hack.frob.com>
64013
64014 * Makefile (INSTALL): Remove trailing blank lines from output of
64015 makeinfo.
64016
64017 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64018
64019 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
64020 Align 32 bit compat elf_greg to 8 bytes.
64021
64022 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
64023
64024 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
64025
64026 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
64027
64028 * string/strcoll_l.c (coll_seq): New structure.
64029 (get_next_seq_cached): New function.
64030 (get_next_seq): New function.
64031 (do_compare): New function.
64032 (STRCOLL): Use GNU style definition. Simplify implementation
64033 by using get_next_seq, get_next_seq_cached and do_compare.
64034
64035 2013-08-16 Florian Weimer <fweimer@redhat.com>
64036
64037 [BZ #14699]
64038 CVE-2013-4237
64039 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
64040 member.
64041 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
64042 member.
64043 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
64044 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
64045 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
64046 conditional.
64047 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
64048 GETDENTS_64BIT_ALIGNED.
64049 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
64050 * manual/filesys.texi (Reading/Closing Directory): Document
64051 ENAMETOOLONG return value of readdir_r. Recommend readdir more
64052 strongly.
64053 * manual/conf.texi (Limits for Files): Add portability note to
64054 NAME_MAX, PATH_MAX.
64055 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
64056
64057 2013-08-13 Andreas Schwab <schwab@suse.de>
64058
64059 [BZ #15749]
64060 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
64061 of fabs.
64062 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
64063 LDBL_MAX_EXP >= 16384]: Add tests for it.
64064
64065 2013-08-12 David S. Miller <davem@davemloft.net>
64066
64067 * version.h (RELEASE): Set to "development".
64068 (VERSION): Set to "2.18.90".
64069 * NEWS: Add 2.19 section.
64070
64071 2013-08-03 David S. Miller <davem@davemloft.net>
64072
64073 * po/ko.po: Update Korean translation from translation project.
64074
64075 2013-08-01 David S. Miller <davem@davemloft.net>
64076
64077 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
64078 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
64079 Bilka.
64080
64081 2013-07-30 David S. Miller <davem@davemloft.net>
64082
64083 * po/fr.po: Update French translation from translation project.
64084
64085 2013-07-28 David S. Miller <davem@davemloft.net>
64086
64087 * po/cs.po: Update Czech translation from translation project.
64088
64089 * po/sv.po: Update Swedish translation from translation project.
64090
64091 2013-07-27 David S. Miller <davem@davemloft.net>
64092
64093 * po/eo.po: Update Esperanto translation from translation project.
64094
64095 * po/vi.po: Update Vietnamese translation from translation project.
64096
64097 * po/de.po: Update German translation from translation project.
64098
64099 2013-07-26 David S. Miller <davem@davemloft.net>
64100
64101 * po/bg.po: Update Bulgarian translation from translation project.
64102
64103 * po/nl.po: Update Dutch translation from translation project.
64104 * po/pl.po: Update Polish translation from translation project.
64105 * po/ru.po: Update Russian translation from translation project.
64106
64107 2013-07-24 David S. Miller <davem@davemloft.net>
64108
64109 * po/libc.pot: Update.
64110
64111 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64112
64113 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
64114 variable page size.
64115 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
64116 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
64117 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
64118
64119 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64120
64121 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
64122
64123 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
64124 Andreas Schwab <schwab@suse.de>
64125 Roland McGrath <roland@hack.frob.com>
64126 Joseph Myers <joseph@codesourcery.com>
64127 Carlos O'Donell <carlos@redhat.com>
64128
64129 [BZ #15755]
64130 * config.h.in: Define HAVE_PT_CHOWN.
64131 * config.make.in (build-pt-chown): New variable.
64132 * configure.in (--enable-pt_chown): New configure option.
64133 * configure: Regenerate.
64134 * login/Makefile: Include Makeconfig. Build pt_chown only if
64135 build-pt-chown is enabled.
64136 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
64137 pt_chown to fix pty ownership.
64138 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
64139 CLOSE_ALL_FDS.
64140 * manual/install.texi (Configuring and compiling): Mention
64141 --enable-pt_chown. Add @findex for grantpt.
64142 * INSTALL: Regenerate.
64143
64144 2013-07-20 David S. Miller <davem@davemloft.net>
64145
64146 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
64147 difference between 32-bit and 64-bit.
64148
64149 2013-07-15 Carlos O'Donell <carlos@redhat.com>
64150
64151 [BZ #15711]
64152 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
64153 Avoid system header dependency with -ffreestanding.
64154 ($(objpfx)bits/syscall%d): Likewise.
64155
64156 2013-07-13 David S. Miller <davem@davemloft.net>
64157
64158 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
64159 underflows from atanl/atan2l due to bug 15319.
64160 (casinh_test_data): Likewise.
64161
64162 2013-07-07 David S. Miller <davem@davemloft.net>
64163
64164 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
64165
64166 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
64167
64168 * sysdeps/i386/fpu/libm-test-ulps: Update.
64169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64170
64171 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
64172
64173 * configure.in (--enable-lock-elision): Fix message text.
64174 * INSTALL: Regenerate.
64175 * configure: Regenerate.
64176
64177 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64178
64179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64180
64181 2013-07-03 Andreas Jaeger <aj@suse.de>
64182
64183 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
64184 define.
64185 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
64186 (ptrace_peeksiginfo_args): Add.
64187 (__ptrace_peeksiginfo_flags): Add.
64188 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
64189 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
64190 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
64191
64192 2013-07-03 Allan McRae <allan@archlinux.org>
64193
64194 * sysdeps/i386/fpu/libm-test-ulps: Update.
64195
64196 2013-07-02 David S. Miller <davem@davemloft.net>
64197
64198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64199
64200 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
64201
64202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64203
64204 2013-07-02 Joseph Myers <joseph@codesourcery.com>
64205
64206 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
64207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64208
64209 2013-07-02 Andi Kleen <ak@linux.intel.com>
64210
64211 * config.h.in (ENABLE_LOCK_ELISION): Add.
64212 * configure.in (--enable-lock-elision): Add option.
64213 * manual/install.texi: Document --enable lock elision.
64214 * configure: Regenerate
64215 * INSTALL: Regenerate.
64216
64217 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
64218
64219 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
64220 SSE4.2 strcasecmp for libc.a.
64221 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
64222
64223 2013-07-02 Joseph Myers <joseph@codesourcery.com>
64224
64225 [BZ #13304]
64226 * soft-fp/op-common.h (_FP_FMA): New macro.
64227 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
64228 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
64229 (_FP_MUL_MEAT_1_imm): ... here.
64230 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
64231 (_FP_MUL_MEAT_1_wide): ... here.
64232 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
64233 (_FP_MUL_MEAT_1_hard): ... here.
64234 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
64235 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
64236 (_FP_MUL_MEAT_2_wide): ... here.
64237 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
64238 (_FP_MUL_MEAT_2_wide_3mul): ... here.
64239 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
64240 (_FP_MUL_MEAT_2_gmp): ... here.
64241 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
64242 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
64243 (_FP_MUL_MEAT_4_wide): ... here.
64244 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
64245 (_FP_MUL_MEAT_4_gmp): ... here.
64246 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
64247 (_FP_WFRACBITS_DW_S): Likewise.
64248 (_FP_WFRACXBITS_DW_S): Likewise.
64249 (_FP_HIGHBIT_DW_S): Likewise.
64250 (FP_FMA_S): Likewise.
64251 (_FP_FRAC_HIGH_DW_S): Likewise.
64252 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
64253 (_FP_WFRACBITS_DW_D): Likewise.
64254 (_FP_WFRACXBITS_DW_D): Likewise.
64255 (_FP_HIGHBIT_DW_D): Likewise.
64256 (FP_FMA_D): Likewise.
64257 (_FP_FRAC_HIGH_DW_D): Likewise.
64258 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
64259 (_FP_WFRACBITS_DW_E): Likewise.
64260 (_FP_WFRACXBITS_DW_E): Likewise.
64261 (_FP_HIGHBIT_DW_E): Likewise.
64262 (FP_FMA_E): Likewise.
64263 (_FP_FRAC_HIGH_DW_E): Likewise.
64264 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
64265 (_FP_WFRACBITS_DW_Q): Likewise.
64266 (_FP_WFRACXBITS_DW_Q): Likewise.
64267 (_FP_HIGHBIT_DW_Q): Likewise.
64268 (FP_FMA_Q): Likewise.
64269 (_FP_FRAC_HIGH_DW_Q): Likewise.
64270 * soft-fp/fmasf4.c: New file.
64271 * soft-fp/fmadf4.c: Likewise.
64272 * soft-fp/fmatf4.c: Likewise.
64273
64274 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64275
64276 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64277 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
64278 Silvermont.
64279 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
64280 macro.
64281 (index_Slow_SSE4_2): Likewise.
64282 (index_Prefer_PMINUB_for_stringop): Likewise.
64283 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
64284 bit_Slow_SSE4_2 is set.
64285 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
64286 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
64287
64288 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64289
64290 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
64291 rtld_global._dl_hwcap2.
64292 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
64293 POWER8.
64294 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
64295 POWER8 feature descriptions defined in _dl_hwcap2.
64296 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
64297 string handling for POWER8 feature bits.
64298 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
64299 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
64300 _dl_powerpc_cap_flags.
64301 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
64302 * sysdeps/powerpc/rtld-global-offsets.sym
64303 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
64304 _dl_hwcap2 in the rtld_global_ro structure.
64305
64306 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64307
64308 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
64309 hardware capabilities in support of AT_HWCAP2.
64310 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
64311 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
64312 GLRO(dl_hwcap2).
64313 (_dl_show_auxv): Add support for calling _dl_procinfo to display
64314 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
64315 explicitly the unknown a_type display mechanism is used.
64316 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
64317 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
64318 struct member.
64319 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
64320 to macro prototype for AT_HWCAP2 support.
64321 * sysdeps/i386/dl-procinfo.h: Likewise.
64322 * sysdeps/s390/dl-procinfo.h: Likewise.
64323 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
64324 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
64325 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
64326 return -1 for unknown a_type display fallback.
64327 * sysdeps/sparc/dl-procinfo.h: Likewise.
64328 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
64329 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
64330
64331 2013-06-28 Joseph Myers <joseph@codesourcery.com>
64332
64333 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
64334 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
64335
64336 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
64337
64338 [BZ #12492]
64339 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
64340 mprotect making __stack_prot writable.
64341
64342 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
64343 Joseph Myers <joseph@codesourcery.com>
64344
64345 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
64346 as being properly aligned.
64347
64348 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
64349
64350 * dlfcn/modstatic5.c: New file.
64351 * dlfcn/tststatic5.c: New file.
64352 * dlfcn/Makefile (tests): Add tststatic5.
64353 (tests-static): Likewise.
64354 (modules-names): Add modstatic5.
64355 (tststatic5-ENV): New variable.
64356 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
64357
64358 [BZ #15022]
64359 * elf/dl-support.c (_dl_main_map): New variable.
64360 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
64361 (_dl_nns, _dl_load_adds): Set to 1.
64362 (_dl_initial_searchlist): Refer to _dl_main_map.
64363 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
64364 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
64365 call to _dl_get_origin.
64366 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
64367 around call_map.
64368 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
64369 * dlfcn/modstatic3.c: New file.
64370 * dlfcn/tststatic3.c: New file.
64371 * dlfcn/tststatic4.c: New file.
64372 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
64373 (tests-static): Likewise.
64374 (modules-names): Add modstatic3.
64375 (tststatic3-ENV, tststatic4-ENV): New variables.
64376 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
64377 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
64378
64379 2013-06-26 Joseph Myers <joseph@codesourcery.com>
64380
64381 * configure.in (CC): Require GCC version 4.4 or later.
64382 * configure: Regenerated.
64383 * manual/install.texi (Tools for Compilation): Update GCC version
64384 requirement.
64385 * INSTALL: Regenerated.
64386
64387 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64388
64389 [BZ #15674]
64390 * string/test-memcmp.c (check2): New.
64391 (main): Call check2.
64392
64393 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
64394
64395 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
64396
64397 [BZ #15022]
64398 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
64399 over to...
64400 (dl_open_worker) [!SHARED]: ... here.
64401
64402 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64403
64404 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
64405
64406 2013-06-25 Richard Henderson <rth@redhat.com>
64407
64408 * locale/programs/locarchive.c: Include <libc-internal.h>
64409
64410 2013-06-25 Joseph Myers <joseph@codesourcery.com>
64411
64412 * manual/texinfo.tex: Update to version 2013-06-21.17, with
64413 trailing whitespace removed.
64414
64415 2013-06-24 Mike Frysinger <vapier@gentoo.org>
64416
64417 [BZ #10283]
64418 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
64419 * locale/programs/locarchive.c: Include libc-mmap.h.
64420 (prepare_address_space): Take two new outputs (the mmap base and len).
64421 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
64422 values.
64423 (create_archive): Declare new mmap base and len values for
64424 prepare_address_space, and store the result in ah.
64425 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
64426 (enlarge_archive): If ah->mmap_base is not NULL, use that and
64427 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64428 Declare new mmap base and len values for
64429 prepare_address_space, and store the result in new_ah.
64430 (open_archive): Declare new mmap base and len values for
64431 prepare_address_space, and store the result in ah.
64432 (close_archive): If ah->mmap_base is not NULL, use that and
64433 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64434 * sysdeps/generic/libc-mmap.h: New file.
64435
64436 2013-06-24 Mike Frysinger <vapier@gentoo.org>
64437
64438 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
64439 (ALIGN_UP): Likewise.
64440 (PTR_ALIGN_DOWN): Likewise.
64441 (PTR_ALIGN_UP): Likewise.
64442
64443 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64444
64445 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
64446 entry mapped to PPC_PLATFORM_POWER8.
64447 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
64448 POWER8.
64449 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
64450 (_dl_string_platform): Add case for exporting platform position for
64451 POWER8.
64452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
64453 search path to sysdeps/powerpc/powerpc32/power8 directory.
64454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
64455 search path to sysdeps/powerpc/powerpc64/power8 directory.
64456 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
64457 power7 directories.
64458 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
64459 power7 directories.
64460
64461 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
64462
64463 * INSTALL: Regenerate.
64464
64465 * nscd/connections.c (nscd_init): Fix comment.
64466
64467 2013-06-22 Joseph Myers <joseph@codesourcery.com>
64468
64469 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
64470
64471 [BZ #15667]
64472 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
64473 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
64474
64475 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
64476
64477 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
64478 DL_DST_REQ_STATIC.
64479 (DL_DST_REQ_STATIC): Remove macro.
64480
64481 2013-06-21 Joseph Myers <joseph@codesourcery.com>
64482
64483 [BZ #7006]
64484 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
64485 with a shift of 0 bits.
64486
64487 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
64488
64489 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
64490 $(tststatic-ENV).
64491
64492 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
64493
64494 [BZ #15655]
64495 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
64496
64497 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64498
64499 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
64500 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
64501 accepts -fno-tree-loop-distribute-patterns.
64502 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
64503 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
64504 recursive call.
64505 * string/memset.c (memset): Likewise.
64506 * string/test-memmove.c (simple_memmove): Disable loop transformation
64507 to library calls.
64508 * string/test-memset.c (simple_memset): Likewise.
64509 * benchtests/bench-memmove.c (simple_memmove): Likewise.
64510 * benchtests/bench-memset.c (simple_memset): Likewise.
64511 * configure: Regenerated.
64512
64513 2013-06-20 Joseph Myers <joseph@codesourcery.com>
64514
64515 * math/test-misc.c (main): Ignore fesetround failure when failures
64516 of subsequent rounding tests would be ignored.
64517
64518 [BZ #15654]
64519 * math/fedisblxcpt.c (fedisableexcept): Return 0.
64520 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
64521 * math/fegetenv.c (__fegetenv): Return 0.
64522 * math/fegetexcept.c (fegetexcept): Return 0.
64523 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
64524 FE_TONEAREST.
64525 * math/feholdexcpt.c (feholdexcept): Return 0.
64526 * math/fesetenv.c (__fesetenv): Return 0.
64527 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
64528 argument FE_TONEAREST.
64529 * math/feupdateenv.c (__feupdateenv): Return 0.
64530 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
64531
64532 2013-06-18 Roland McGrath <roland@hack.frob.com>
64533
64534 * elf/rtld-Rules (rtld-compile-command.S): New variable.
64535 (rtld-compile-command.s, rtld-compile-command.c): New variables.
64536 ($(objpfx)rtld-%.os rules): Use them.
64537
64538 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64539
64540 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
64541 fields.
64542
64543 2013-06-17 Roland McGrath <roland@hack.frob.com>
64544
64545 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
64546 length of target pattern, then descending length of dependency pattern.
64547 * configure.in (AWK): Require gawk 3.1.2 or newer.
64548 * manual/install.texi (Tools for Compilation): Say that we do.
64549 * configure: Regenerated.
64550
64551 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
64552 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
64553 * scripts/sysd-rules.awk: ... this new script.
64554 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
64555 than a glob-style pattern.
64556
64557 2013-06-17 Joseph Myers <joseph@codesourcery.com>
64558
64559 * math/test-misc.c (main): Do not treat incorrectly rounded
64560 conversions as failure unless ROUNDING_TESTS passes.
64561
64562 2013-06-15 Joseph Myers <joseph@codesourcery.com>
64563
64564 [BZ #15631]
64565 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
64566 restore exception state around main square root computation, then
64567 check for inexactness explicitly.
64568
64569 * math/libm-test.inc (fma_test_data): Add another test.
64570
64571 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
64572
64573 * manual/threads.texi (Non-POSIX Extensions): New document
64574 node. Document pthread_getattr_default_np and
64575 pthread_setattr_default_np.
64576
64577 * Versions.def (libpthread): Add GLIBC_2.18.
64578 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
64579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64580 Likewise.
64581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64582 Likewise.
64583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64584 Likewise.
64585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64586 Likewise.
64587 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
64588 Likewise.
64589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
64590 Likewise.
64591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
64592 Likewise.
64593 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64594 Likewise.
64595 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64596 Likewise.
64597
64598 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64599
64600 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64601 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
64602
64603 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
64604 H.J. Lu <hjl.tools@gmail.com>
64605
64606 [BZ #15627]
64607 * sysdeps/x86_64/rtld-memset.c: Remove file.
64608 * sysdeps/x86_64/rtld-memset.S: New file.
64609
64610 2013-06-14 Joseph Myers <joseph@codesourcery.com>
64611
64612 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
64613 (test_in_one_mode): Take arguments for whether the rounding mode
64614 is supported for each floating-point type.
64615 (do_test): Pass new arguments to test_in_one_mode using
64616 ROUNDING_TESTS.
64617
64618 2013-06-13 Roland McGrath <roland@hack.frob.com>
64619
64620 * posix/tst-waitid.c (do_test): Distinguish different instances of
64621 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
64622 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
64623 before entering the kernel for waitpid.
64624
64625 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
64626
64627 * NEWS: Fix note on clock function precision. Text by Roland
64628 McGrath.
64629
64630 2013-06-13 Roland McGrath <roland@hack.frob.com>
64631
64632 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
64633 it into place only when and if the sanity check passes.
64634
64635 2013-06-13 Joseph Myers <joseph@codesourcery.com>
64636
64637 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
64638 output for whether conversion result is exact. Take argument
64639 indicating whether type is IBM long double.
64640 (round_for_all): Change need_exact field to ibm_ld.
64641 * stdlib/tst-strtod-round.c (struct exactness): New type.
64642 (struct test): Change bool ld_ok field to struct exactness exact.
64643 (TEST): Update all definitions for change to field.
64644 (tests): Regenerate array contents.
64645 (test_in_one_mode): Take pointer to new field instead of old ld_ok
64646 field value. Check for IBM long double here.
64647 (do_test): Update calls to test_in_one_mode.
64648
64649 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
64650
64651 [BZ #12515]
64652 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
64653 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
64654
64655 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64656
64657 [BZ #15605]
64658 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
64659 generated by the compiler on loop optimizations.
64660 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
64661 general definitions.
64662
64663 2013-06-12 Joseph Myers <joseph@codesourcery.com>
64664
64665 * math/bug-nextafter.c: Include <math-tests.h>.
64666 (main): Only test for exceptions if EXCEPTION_TESTS is true for
64667 the relevant type.
64668 * math/bug-nexttoward.c: Include <math-tests.h>.
64669 (main): Only test for exceptions if EXCEPTION_TESTS is true for
64670 the relevant type.
64671 * math/test-misc.c: Include <math-tests.h>.
64672 (main): Only test for exceptions if EXCEPTION_TESTS is true for
64673 the relevant type.
64674
64675 2013-06-12 Andreas Jaeger <aj@suse.de>
64676
64677 * po/ia.po: Update Interlingua translation from translation
64678 project.
64679
64680 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
64681
64682 * include/fenv.h: Include stdbool.h.
64683 (struct rm_ctx): New structure.
64684 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
64685 Define macro.
64686 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
64687 (SET_RESTORE_ROUNDF): Likewise.
64688 (SET_RESTORE_ROUNDL): Likewise.
64689 (SET_RESTORE_ROUND_NOEX): Likewise.
64690 (SET_RESTORE_ROUND_NOEXF): Likewise.
64691 (SET_RESTORE_ROUND_NOEXL): Likewise.
64692 (SET_RESTORE_ROUND_53BIT): Likewise.
64693 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
64694 (libc_feresetround_noexf_ctx): Likewise.
64695 (libc_feresetround_noexl_ctx): Likewise.
64696 (libc_feholdsetround_53bit_ctx): Likewise.
64697 (libc_feresetround_53bit_ctx): Likewise.
64698 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
64699 (libc_feholdexcept_setround_sse_ctx): New function.
64700 (libc_fesetenv_sse_ctx): Likewise.
64701 (libc_feupdateenv_sse_ctx): Likewise.
64702 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
64703 (libc_feholdexcept_setround_387_ctx): Likewise.
64704 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
64705 (libc_feholdsetround_387_prec_ctx): Likewise.
64706 (libc_feholdsetround_387_ctx): Likewise.
64707 (libc_feholdsetround_387_53bit_ctx): Likewise.
64708 (libc_feholdsetround_sse_ctx): Likewise.
64709 (libc_feresetround_sse_ctx): Likewise.
64710 (libc_feresetround_387_ctx): Likewise.
64711 (libc_feupdateenv_387_ctx): Likewise.
64712 (libc_feholdexcept_setroundf_ctx): Define macro.
64713 (libc_fesetenvf_ctx): Likewise.
64714 (libc_feupdateenvf_ctx): Likewise.
64715 (libc_feholdsetroundf_ctx): Likewise.
64716 (libc_feresetroundf_ctx): Likewise.
64717 (libc_feholdexcept_setround_ctx): Likewise.
64718 (libc_fesetenv_ctx): Likewise.
64719 (libc_feupdateenv_ctx): Likewise.
64720 (libc_feholdsetround_ctx): Likewise.
64721 (libc_feresetround_ctx): Likewise.
64722 (libc_feholdexcept_setroundl_ctx): Likewise.
64723 (libc_feupdateenvl_ctx): Likewise.
64724 (libc_feholdsetroundl_ctx): Likewise.
64725 (libc_feresetroundl_ctx): Likewise.
64726 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
64727 (libc_feresetround_53bit_ctx): Likewise.
64728
64729 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
64730
64731 * locale/iso-639.def: Convert to UTF-8.
64732
64733 2013-06-11 Joseph Myers <joseph@codesourcery.com>
64734
64735 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
64736 (EXCEPTION_TESTS_double): Likewise.
64737 (EXCEPTION_TESTS_long_double): Likewise.
64738 (EXCEPTION_TESTS): Likewise.
64739 * math/libm-test.inc (test_exceptions): Only test exceptions if
64740 EXCEPTION_TESTS (FLOAT).
64741
64742 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
64743
64744 * benchtests/Makefile (string-bench): Add strcpy_chk and
64745 stpcpy_chk.
64746 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
64747 * benchtests/bench-stpcpy_chk.c: New file.
64748 * benchtests/bench-strcpy_chk-ifunc.c: New file.
64749 * benchtests/bench-strcpy_chk.c: New file.
64750 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
64751 code.
64752 (do_test): Likewise.
64753
64754 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64755
64756 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
64757 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
64758 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
64759 with tabs where appropriate.
64760 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
64761 dl-procinfo.h.
64762 [PPC_PLATFORM_PPC440]: Likewise.
64763 [PPC_PLATFORM_PPC464]: Likewise.
64764 [PPC_PLATFORM_PPC476]: Likewise.
64765 (_dl_string_platform): Add support for detecting ppc405, ppc440,
64766 ppc464, and ppc476 platform strings merging from ports/
64767 dl-procinfo.h.
64768
64769 2013-06-11 Andreas Schwab <schwab@suse.de>
64770
64771 [BZ #14991]
64772 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
64773 (from_ucs4_idx): Regenerate.
64774 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
64775 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
64776 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
64777 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
64778 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
64779 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
64780 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
64781 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
64782 from FROM_LOOP and TO_LOOP specific macros.
64783 (BODY): Handle combining characters.
64784 * iconvdata/BIG5HKSCS.irreversible: Update.
64785 * iconvdata/BIG5HKSCS.precomposed: New file.
64786 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
64787 characters.
64788 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
64789
64790 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
64791
64792 * include/sys/time.h: Fix indentation and add copyright header.
64793
64794 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
64795 (do_test): Likewise.
64796 * string/test-memchr.c (do_one_test): Likewise.
64797 (do_test): Likewise.
64798 * string/test-memcmp.c (do_one_test): Likewise.
64799 (do_test): Likewise.
64800 * string/test-memcpy.c (do_one_test): Likewise.
64801 (do_test): Likewise.
64802 * string/test-memmem.c (do_one_test): Likewise.
64803 (do_test): Likewise.
64804 (do_random_tests): Likewise.
64805 * string/test-memmove.c (do_one_test): Likewise.
64806 (do_test): Likewise.
64807 * string/test-memset.c (do_one_test): Likewise.
64808 (do_test): Likewise.
64809 * string/test-rawmemchr.c (do_one_test): Likewise.
64810 (do_test): Likewise.
64811 * string/test-strcasecmp.c (do_one_test): Likewise.
64812 (do_test): Likewise.
64813 * string/test-strcasestr.c (do_one_test): Likewise.
64814 (do_test): Likewise.
64815 * string/test-strcat.c (do_one_test): Likewise.
64816 (do_test): Likewise.
64817 * string/test-strchr.c (do_one_test): Likewise.
64818 (do_test): Likewise.
64819 * string/test-strcmp.c (do_one_test): Likewise.
64820 (do_test): Likewise.
64821 * string/test-strcpy.c (do_one_test): Likewise.
64822 (do_test): Likewise.
64823 * string/test-string.h: Likewise.
64824 (test_init): Likewise.
64825 * string/test-strlen.c (do_one_test): Likewise.
64826 (do_test): Likewise.
64827 * string/test-strncasecmp.c (do_one_test): Likewise.
64828 (do_test): Likewise.
64829 * string/test-strncat.c (do_one_test): Likewise.
64830 (do_test): Likewise.
64831 * string/test-strncmp.c (do_one_test): Likewise.
64832 (do_test_limit): Likewise.
64833 (do_test): Likewise.
64834 * string/test-strncpy.c (do_one_test): Likewise.
64835 (do_test): Likewise.
64836 * string/test-strnlen.c (do_one_test): Likewise.
64837 (do_test): Likewise.
64838 * string/test-strpbrk.c (do_one_test): Likewise.
64839 (do_test): Likewise.
64840 * string/test-strrchr.c (do_one_test): Likewise.
64841 (do_test): Likewise.
64842 * string/test-strspn.c (do_one_test): Likewise.
64843 (do_test): Likewise.
64844 * string/test-strstr.c (do_one_test): Likewise.
64845 (do_test): Likewise.
64846
64847 * benchtests/Makefile (string-bench): Add string benchmarks.
64848 * benchtests/bench-bcopy-ifunc.c: New file.
64849 * benchtests/bench-bcopy.c: New file.
64850 * benchtests/bench-bzero-ifunc.c: New file.
64851 * benchtests/bench-bzero.c: New file.
64852 * benchtests/bench-memccpy-ifunc.c: New file.
64853 * benchtests/bench-memccpy.c: New file.
64854 * benchtests/bench-memchr-ifunc.c: New file.
64855 * benchtests/bench-memchr.c: New file.
64856 * benchtests/bench-memcmp-ifunc.c: New file.
64857 * benchtests/bench-memcmp.c: New file.
64858 * benchtests/bench-memmem-ifunc.c: New file.
64859 * benchtests/bench-memmem.c: New file.
64860 * benchtests/bench-memmove-ifunc.c: New file.
64861 * benchtests/bench-memmove.c: New file.
64862 * benchtests/bench-mempcpy-ifunc.c: New file.
64863 * benchtests/bench-mempcpy.c: New file.
64864 * benchtests/bench-memset-ifunc.c: New file.
64865 * benchtests/bench-memset.c: New file.
64866 * benchtests/bench-rawmemchr-ifunc.c: New file.
64867 * benchtests/bench-rawmemchr.c: New file.
64868 * benchtests/bench-stpcpy-ifunc.c: New file.
64869 * benchtests/bench-stpcpy.c: New file.
64870 * benchtests/bench-stpncpy-ifunc.c: New file.
64871 * benchtests/bench-stpncpy.c: New file.
64872 * benchtests/bench-strcasecmp-ifunc.c: New file.
64873 * benchtests/bench-strcasecmp.c: New file.
64874 * benchtests/bench-strcasestr-ifunc.c: New file.
64875 * benchtests/bench-strcasestr.c: New file.
64876 * benchtests/bench-strcat-ifunc.c: New file.
64877 * benchtests/bench-strcat.c: New file.
64878 * benchtests/bench-strchr-ifunc.c: New file.
64879 * benchtests/bench-strchr.c: New file.
64880 * benchtests/bench-strchrnul-ifunc.c: New file.
64881 * benchtests/bench-strchrnul.c: New file.
64882 * benchtests/bench-strcmp-ifunc.c: New file.
64883 * benchtests/bench-strcmp.c: New file.
64884 * benchtests/bench-strcpy-ifunc.c: New file.
64885 * benchtests/bench-strcpy.c: New file.
64886 * benchtests/bench-strcspn-ifunc.c: New file.
64887 * benchtests/bench-strcspn.c: New file.
64888 * benchtests/bench-strlen-ifunc.c: New file.
64889 * benchtests/bench-strlen.c: New file.
64890 * benchtests/bench-strncasecmp-ifunc.c: New file.
64891 * benchtests/bench-strncasecmp.c: New file.
64892 * benchtests/bench-strncat-ifunc.c: New file.
64893 * benchtests/bench-strncat.c: New file.
64894 * benchtests/bench-strncmp-ifunc.c: New file.
64895 * benchtests/bench-strncmp.c: New file.
64896 * benchtests/bench-strncpy-ifunc.c: New file.
64897 * benchtests/bench-strncpy.c: New file.
64898 * benchtests/bench-strnlen-ifunc.c: New file.
64899 * benchtests/bench-strnlen.c: New file.
64900 * benchtests/bench-strpbrk-ifunc.c: New file.
64901 * benchtests/bench-strpbrk.c: New file.
64902 * benchtests/bench-strrchr-ifunc.c: New file.
64903 * benchtests/bench-strrchr.c: New file.
64904 * benchtests/bench-strspn-ifunc.c: New file.
64905 * benchtests/bench-strspn.c: New file.
64906 * benchtests/bench-strstr-ifunc.c: New file.
64907 * benchtests/bench-strstr.c: New file.
64908
64909 * benchtests/Makefile: Disable parallel execution of targets.
64910 (string-bench): Add memcpy.
64911 (benchset): New variable to store a list of benchmark sets.
64912 (bench-func): Renamed from bench.
64913 (bench-set): New target.
64914 (bench): Depend on bench-func and bench-set.
64915 * benchtests/README: Add section on benchmark sets.
64916 * benchtests/bench-memcpy-ifunc.c: New file.
64917 * benchtests/bench-memcpy.c: New file.
64918 * benchtests/bench-string.h: New file.
64919
64920 2013-06-11 Andreas Schwab <schwab@suse.de>
64921
64922 [BZ #15577]
64923 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
64924 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
64925 values in the triple.
64926 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
64927 terminator in the group key.
64928
64929 2013-06-11 Andreas Jaeger <aj@suse.de>
64930
64931 * po/zh_TW.po: Update Chinese (traditional) translation from
64932 translation project.
64933
64934 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
64935
64936 * include/time.h (__clock_gettime): Add libc_hidden_proto.
64937 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
64938 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
64939 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
64940 (clock_getcpuclockid): Likewise.
64941 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
64942 Add weak_alias and libc_hidden_def.
64943 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
64944 * rt/clock_gettime.c (clock_gettime): Rename to
64945 __clock_gettime. Add weak_alias and libc_hidden_def.
64946 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
64947 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
64948 __clock_nanosleep. Add weak_alias and libc_hidden_def.
64949 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
64950 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
64951 Likewise.
64952 * rt/clock_settime.c (clock_settime): Rename to
64953 __clock_settime. Add weak_alias and libc_hidden_def.
64954 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
64955
64956 2013-06-10 Joseph Myers <joseph@codesourcery.com>
64957
64958 * mach/err_boot.sub: Remove trailing whitespace.
64959 * mach/err_ipc.sub: Likewise.
64960 * mach/err_mach.sub: Likewise.
64961
64962 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
64963 (ROUNDING_TESTS_double): Likewise.
64964 (ROUNDING_TESTS_long_double): Likewise.
64965 (ROUNDING_TESTS): Likewise.
64966 * math/libm-test.inc: Include <math-tests.h>.
64967 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
64968 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
64969 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
64970 (IF_ROUND_INIT_FE_UPWARD): Likewise.
64971
64972 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
64973
64974 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
64975 of assigning.
64976
64977 2013-06-08 Joseph Myers <joseph@codesourcery.com>
64978
64979 * sysdeps/gnu/errlist.awk: Do not generate space at end of
64980 otherwise empty TRANS lines.
64981 * sysdeps/gnu/errlist.c: Regenerated.
64982
64983 * catgets/gencat.c (error_print): Use (void) in function
64984 definition.
64985 * crypt/crypt_util.c (__init_des): Likewise.
64986 * crypt/speeds.c (Stop): Likewise.
64987 (main): Likewise.
64988 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
64989 * inet/ruserpass.c (token): Likewise.
64990 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
64991 * intl/localealias.c (extend_alias_table): Likewise.
64992 * intl/plural-exp.c (init_germanic_plural): Likewise.
64993 * libio/fcloseall.c (__fcloseall): Likewise.
64994 * libio/genops.c (_IO_flush_all): Likewise.
64995 (_IO_flush_all_linebuffered): Likewise.
64996 (_IO_cleanup): Likewise.
64997 (_IO_iter_begin): Likewise.
64998 (_IO_iter_end): Likewise.
64999 (_IO_list_lock): Likewise.
65000 (_IO_list_unlock): Likewise.
65001 (_IO_list_resetlock): Likewise.
65002 * libio/getchar.c (getchar): Likewise.
65003 * libio/getchar_u.c (getchar_unlocked): Likewise.
65004 * libio/getwchar.c (getwchar): Likewise.
65005 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
65006 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
65007 * login/getpt.c (__getpt): Likewise.
65008 * login/tst-utmp.c (main): Likewise.
65009 * malloc/hooks.c (__malloc_check_init): Likewise.
65010 * malloc/malloc.c (__malloc_stats): Likewise.
65011 * malloc/mtrace.c (tr_break): Likewise.
65012 (mtrace): Likewise.
65013 (muntrace): Likewise.
65014 * misc/fstab.c (endfsent): Likewise.
65015 * misc/getclktck.c (__getclktck): Likewise.
65016 * misc/getdtsz.c (__getdtablesize): Likewise.
65017 * misc/gethostid.c (gethostid): Likewise.
65018 * misc/getpagesize.c (__getpagesize): Likewise.
65019 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
65020 (__get_nprocs): Likewise.
65021 (__get_phys_pages): Likewise.
65022 (__get_avphys_pages): Likewise.
65023 * misc/getttyent.c (getttyent): Likewise.
65024 (setttyent): Likewise.
65025 (endttyent): Likewise.
65026 * misc/getusershell.c (getusershell): Likewise.
65027 (endusershell): Likewise.
65028 (setusershell): Likewise.
65029 (initshells): Likewise.
65030 * misc/hsearch.c (__hdestroy): Likewise.
65031 * misc/sync.c (sync): Likewise.
65032 * misc/syslog.c (closelog_internal): Likewise.
65033 (closelog): Likewise.
65034 * misc/ttyslot.c (ttyslot): Likewise.
65035 * misc/vhangup.c (vhangup): Likewise.
65036 * posix/fork.c (__fork): Likewise.
65037 * posix/getegid.c (__getegid): Likewise.
65038 * posix/geteuid.c (__geteuid): Likewise.
65039 * posix/getgid.c (__getgid): Likewise.
65040 * posix/getpid.c (__getpid): Likewise.
65041 * posix/getppid.c (__getppid): Likewise.
65042 * posix/getuid.c (__getuid): Likewise.
65043 * posix/pause.c (pause): Likewise.
65044 * posix/setpgrp.c (setpgrp): Likewise.
65045 * posix/setsid.c (__setsid): Likewise.
65046 * posix/test-vfork.c (noop): Likewise.
65047 * resolv/gethnamaddr.c (_endhtent): Likewise.
65048 (_gethtent): Likewise.
65049 (ht_endhostent): Likewise.
65050 (gethostent): Likewise.
65051 (dns_service): Likewise.
65052 * stdlib/drand48.c (drand48): Likewise.
65053 * stdlib/lrand48.c (lrand48): Likewise.
65054 * stdlib/mrand48.c (mrand48): Likewise.
65055 * stdlib/rand.c (rand): Likewise.
65056 * stdlib/random.c (__random): Likewise.
65057 * stdlib/setenv.c (clearenv): Likewise.
65058 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
65059 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
65060 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
65061 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
65062 (__get_nprocs): Likewise.
65063 (__get_phys_pages): Likewise.
65064 (__get_avphys_pages): Likewise.
65065 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
65066 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
65067 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
65068 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
65069 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
65070 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
65071 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
65072 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
65073 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
65074 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
65075 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
65076 * sysdeps/mach/hurd/sync.c (sync): Likewise.
65077 * sysdeps/posix/clock.c (clock): Likewise.
65078 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
65079 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
65080 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
65081 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
65082 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
65083 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
65084 (__get_nprocs_conf): Likewise.
65085 (__get_phys_pages): Likewise.
65086 (__get_avphys_pages): Likewise.
65087 * time/clock.c (clock): Likewise.
65088 * time/tzset.c (__tzname_max): Likewise.
65089
65090 2013-06-07 Joseph Myers <joseph@codesourcery.com>
65091
65092 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
65093 (__bswap_32): Do not use "register".
65094 * crypt/crypt.c (_ufc_doit_r): Likewise.
65095 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
65096 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
65097 * gmon/gmon.c (__monstartup): Likewise.
65098 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
65099 * hurd/hurdmalloc.c (more_memory): Likewise.
65100 (malloc): Likewise.
65101 (free): Likewise.
65102 (realloc): Likewise.
65103 (malloc_fork_prepare): Likewise.
65104 (malloc_fork_parent): Likewise.
65105 (malloc_fork_child): Likewise.
65106 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
65107 (_svcauth_des): Likewise.
65108 * inet/inet_lnaof.c (inet_lnaof): Likewise.
65109 * inet/inet_net.c (inet_network): Likewise.
65110 * inet/inet_netof.c (inet_netof): Likewise.
65111 * inet/rcmd.c (__validuser2_sa): Likewise.
65112 * io/fts.c (fts_open): Likewise.
65113 (fts_load): Likewise.
65114 (fts_close): Likewise.
65115 (fts_read): Likewise.
65116 (fts_children): Likewise.
65117 (fts_build): Likewise.
65118 (fts_stat): Likewise.
65119 (fts_sort): Likewise.
65120 (fts_alloc): Likewise.
65121 (fts_lfree): Likewise.
65122 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
65123 (_IO_file_xsgetn): Likewise.
65124 (_IO_file_xsgetn_mmap): Likewise.
65125 * libio/iofopncook.c (_IO_cookie_read): Likewise.
65126 (_IO_cookie_write): Likewise.
65127 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
65128 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
65129 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
65130 * malloc/obstack.c (_obstack_begin): Likewise.
65131 (_obstack_begin_1): Likewise.
65132 (_obstack_newchunk): Likewise.
65133 (_obstack_allocated_p): Likewise.
65134 (obstack_free): Likewise.
65135 (_obstack_memory_used): Likewise.
65136 * misc/getttyent.c (getttynam): Likewise.
65137 (getttyent): Likewise.
65138 (skip): Likewise.
65139 (value): Likewise.
65140 * misc/getusershell.c (initshells): Likewise.
65141 * misc/syslog.c (__vsyslog_chk): Likewise.
65142 * misc/ttyslot.c (ttyslot): Likewise.
65143 * nis/nis_hash.c (__nis_hash): Likewise.
65144 * posix/fnmatch_loop.c (FCT): Likewise.
65145 * posix/getconf.c (print_all): Likewise.
65146 (main): Likewise.
65147 * posix/getopt.c (exchange): Likewise.
65148 * posix/glob.c (globfree): Likewise.
65149 (prefix_array): Likewise.
65150 (__glob_pattern_type): Likewise.
65151 * resolv/arpa/nameser.h (NS_GET16): Likewise.
65152 (NS_GET32): Likewise.
65153 (NS_PUT16): Likewise.
65154 (NS_PUT32): Likewise.
65155 * resolv/gethnamaddr.c (getanswer): Likewise.
65156 (gethostbyname2): Likewise.
65157 (gethostbyaddr): Likewise.
65158 (_gethtent): Likewise.
65159 (_gethtbyname2): Likewise.
65160 (_gethtbyaddr): Likewise.
65161 * resolv/ns_print.c (dst_s_get_int16): Likewise.
65162 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
65163 * resolv/res_init.c (__res_vinit): Likewise.
65164 (net_mask): Likewise.
65165 * resolv/res_mkquery.c (outchar): Likewise.
65166 (PRINT): Likewise.
65167 * stdio-common/printf_fp.c (outchar): Likewise.
65168 (PRINT): Likewise.
65169 * stdio-common/printf_fphex.c (outchar): Likewise.
65170 (PRINT): Likewise.
65171 * stdio-common/printf_size.c (outchar): Likewise.
65172 (PRINT): Likewise.
65173 * stdio-common/test_rdwr.c (main): Likewise.
65174 * stdio-common/tfformat.c (matches): Likewise.
65175 * stdio-common/vfprintf.c (outchar): Likewise.
65176 (printf_unknown): Likewise.
65177 (buffered_vfprintf): Likewise.
65178 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
65179 * stdio-common/xbug.c (AppendToBuffer): Likewise.
65180 (ReadFile): Likewise.
65181 * stdlib/qsort.c (SWAP): Likewise.
65182 (_quicksort): Likewise.
65183 * stdlib/setenv.c (__add_to_environ): Likewise.
65184 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
65185 * stdlib/strtol_l.c (__strtol_l): Likewise.
65186 * stdlib/tst-strtod.c (main): Likewise.
65187 * stdlib/tst-strtol.c (main): Likewise.
65188 * stdlib/tst-strtoll.c (main): Likewise.
65189 * string/bits/string2.h (__strcmp_cc): Likewise.
65190 (__strcmp_cg): Likewise.
65191 (__strcspn_c1): Likewise.
65192 (__strcspn_c2): Likewise.
65193 (__strcspn_c3): Likewise.
65194 (__strspn_c1): Likewise.
65195 (__strspn_c2): Likewise.
65196 (__strspn_c3): Likewise.
65197 (__strsep_1c): Likewise.
65198 (__strsep_2c): Likewise.
65199 (__strsep_3c): Likewise.
65200 * string/memccpy.c (__memccpy): Likewise.
65201 * string/stpcpy.c (__stpcpy): Likewise.
65202 * string/strcmp.c (strcmp): Likewise.
65203 * string/strrchr.c (strrchr): Likewise.
65204 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
65205 Likewise.
65206 * sysdeps/mach/hurd/getcwd.c
65207 (_hurd_canonicalize_directory_name_internal): Likewise.
65208 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
65209 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
65210 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
65211 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
65212 Likewise, in both definitions.
65213 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
65214 definitions.
65215 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
65216 64] (__bswap_64): Likewise.
65217 * time/test_time.c (main): Likewise.
65218 * time/tzfile.c (__tzfile_read): Likewise.
65219 (__tzfile_compute): Likewise.
65220 * time/tzset.c (__tzset_parse_tz): Likewise.
65221 (tzset_internal): Likewise.
65222 (compute_change): Likewise.
65223 * wcsmbs/wcscat.c (__wcscat): Likewise.
65224 * wcsmbs/wcschr.c (wcschr): Likewise.
65225 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
65226 * wcsmbs/wcscspn.c (wcscspn): Likewise.
65227 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
65228 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
65229 * wcsmbs/wcsspn.c (wcsspn): Likewise.
65230 * wcsmbs/wcsstr.c (wcsstr): Likewise.
65231 * wcsmbs/wmemchr.c (wmemchr): Likewise.
65232 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
65233 * wcsmbs/wmemset.c (wmemset): Likewise.
65234
65235 2013-06-06 Joseph Myers <joseph@codesourcery.com>
65236
65237 * scripts/config.guess: Update to version 2013-05-16.
65238 * scripts/config.sub: Update to version 2013-04-24.
65239 * scripts/install-sh: Update to version 2011-11-20.07.
65240 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
65241 * scripts/move-if-change: Update to version 2012-01-06 07:23.
65242
65243 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
65244
65245 * debug/fgetws_u_chk.c: Fix leading whitespaces.
65246 * elf/sln.c: Likewise.
65247 * hurd/hurd/ioctl.h: Likewise.
65248 * hurd/hurdmalloc.c: Likewise.
65249 * hurd/xattr.c: Likewise.
65250 * include/shlib-compat.h: Likewise.
65251 * inet/ruserpass.c: Likewise.
65252 * libio/iofgets_u.c: Likewise.
65253 * libio/iofgetws_u.c: Likewise.
65254 * locale/programs/ld-identification.c: Likewise.
65255 * locale/programs/ld-time.c: Likewise.
65256 * mach/msg-destroy.c: Likewise.
65257 * nss/nss_files/files-netgrp.c: Likewise.
65258 * resolv/res_data.c: Likewise.
65259 * soft-fp/op-1.h: Likewise.
65260 * soft-fp/op-2.h: Likewise.
65261 * soft-fp/op-4.h: Likewise.
65262 * soft-fp/op-common.h: Likewise.
65263 * stdio-common/printf_fphex.c: Likewise.
65264 * stdlib/strtod_l.c: Likewise.
65265 * sunrpc/rpc/clnt.h: Likewise.
65266 * sysdeps/generic/framestate.c: Likewise.
65267 * sysdeps/i386/bsd-_setjmp.S: Likewise.
65268 * sysdeps/i386/bsd-setjmp.S: Likewise.
65269 * sysdeps/i386/__longjmp.S: Likewise.
65270 * sysdeps/i386/setjmp.S: Likewise.
65271 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65272 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65273 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65274 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
65275 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
65276 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
65277 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65278 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65279 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65280 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
65281 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
65282 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
65283 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
65284 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
65285 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
65286 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65287 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
65288 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
65289 * sysdeps/ieee754/support.c: Likewise.
65290 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65291 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
65292 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
65293 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
65294 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
65295 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
65296 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
65297 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
65298 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
65299 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
65300 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
65301 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
65302 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
65303 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
65304 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
65305 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
65306 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
65307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
65308
65309 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
65310
65311 * posix/transbug.c: Remove executable mode.
65312
65313 2013-06-05 Joseph Myers <joseph@codesourcery.com>
65314
65315 * crypt/speeds.c: Remove trailing whitespace.
65316 * dlfcn/default.c: Likewise.
65317 * elf/ifuncdep2.c: Likewise.
65318 * elf/ifuncmain1.c: Likewise.
65319 * elf/ifuncmain1vis.c: Likewise.
65320 * elf/testobj.h: Likewise.
65321 * elf/tst-stackguard1.c: Likewise.
65322 * gmon/sys/gmon.h: Likewise.
65323 * hurd/hurdmsg.c: Likewise.
65324 * hurd/new-fd.c: Likewise.
65325 * hurd/ports-get.c: Likewise.
65326 * iconvdata/ibm1008_420.c: Likewise.
65327 * inet/tst-getni1.c: Likewise.
65328 * inet/tst-getni2.c: Likewise.
65329 * libio/ioungetc.c: Likewise.
65330 * libio/wfiledoalloc.c: Likewise.
65331 * manual/libm-err-tab.pl: Likewise.
65332 * math/w_dremf.c: Likewise.
65333 * misc/ftruncate.c: Likewise.
65334 * posix/bug-glob2.c: Likewise.
65335 * posix/tst-pcre.c: Likewise.
65336 * posix/wait4.c: Likewise.
65337 * resolv/README: Likewise.
65338 * resolv/res_debug.h: Likewise.
65339 * resolv/tst-inet_ntop.c: Likewise.
65340 * setjmp/bug269-setjmp.c: Likewise.
65341 * soft-fp/extended.h: Likewise.
65342 * soft-fp/op-1.h: Likewise.
65343 * soft-fp/op-2.h: Likewise.
65344 * soft-fp/op-4.h: Likewise.
65345 * soft-fp/op-8.h: Likewise.
65346 * soft-fp/testit.c: Likewise.
65347 * stdio-common/bug16.c: Likewise.
65348 * stdlib/random.c: Likewise.
65349 * sunrpc/rpcsvc/rquota.x: Likewise.
65350 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
65351 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65352 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65353 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65354 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65355 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65356 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65357 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65358 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65359 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65360 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65361 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
65362 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65363 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
65364 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65365 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
65366 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
65367 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65368 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
65369 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65370 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65371 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65372 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
65373 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
65374 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
65375 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
65376 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65377 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65378 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65379 * sysdeps/ieee754/s_lib_version.c: Likewise.
65380 * sysdeps/mach/hurd/check_fds.c: Likewise.
65381 * sysdeps/mach/hurd/getsockname.c: Likewise.
65382 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
65383 * sysdeps/mach/hurd/recvfrom.c: Likewise.
65384 * sysdeps/powerpc/bits/link.h: Likewise.
65385 * sysdeps/powerpc/dl-procinfo.c: Likewise.
65386 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
65387 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
65388 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
65389 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65390 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
65391 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
65392 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65393 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
65394 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65395 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
65396 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
65397 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
65398 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65399 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65400 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65401 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
65402 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
65403 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65404 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65405 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65406 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
65407 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65408 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
65409 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
65410 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
65411 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
65412 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65413 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65414 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
65415 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
65416 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
65417 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
65418 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65419 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
65420 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65421 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
65422 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
65423 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
65424 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
65425 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
65426 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
65427 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
65428 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
65429 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
65430 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
65431 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
65432 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
65433 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
65434 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
65435 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65436 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65437 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65438 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65439 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
65440 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
65441 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
65442 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
65443 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
65444 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
65445 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
65446 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
65447 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
65448 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
65449 * sysdeps/powerpc/sysdep.h: Likewise.
65450 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65451 * sysdeps/s390/s390-64/sub_n.S: Likewise.
65452 * sysdeps/sh/dl-trampoline.S: Likewise.
65453 * sysdeps/sh/memset.S: Likewise.
65454 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
65455 * sysdeps/sh/strlen.S: Likewise.
65456 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
65457 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
65458 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
65459 * sysdeps/sparc/sparc32/rem.S: Likewise.
65460 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
65461 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
65462 * sysdeps/sparc/sparc32/strchr.S: Likewise.
65463 * sysdeps/sparc/sparc32/udiv.S: Likewise.
65464 * sysdeps/sparc/sparc32/urem.S: Likewise.
65465 * sysdeps/sparc/sparc64/add_n.S: Likewise.
65466 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65467 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
65468 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
65469 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
65470 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
65471 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
65472 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
65473 * sysdeps/unix/bsd/times.c: Likewise.
65474 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
65475 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
65476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
65477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
65478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
65479 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
65480 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
65481 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
65482 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
65483 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
65484 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
65485 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
65486 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
65487 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65488 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
65489 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
65490 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
65491 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
65492 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
65493 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
65494 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
65495 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
65496 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65497 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
65498 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
65499 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
65500 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
65501 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65502 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
65503 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
65504 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
65505 * sysdeps/x86_64/strcspn.S: Likewise.
65506
65507 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
65508
65509 * locale/C-translit.h: Revert #include <stdint.h> because this is a
65510 generated file. Regenerate properly from gen-translit.pl.
65511 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
65512 locale/C-translit.h.
65513
65514 2013-06-05 Andreas Schwab <schwab@suse.de>
65515
65516 [BZ #15100]
65517 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
65518 week as 6 instead of -1.
65519 * time/tst-strptime.c (day_tests): Add test case.
65520
65521 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
65522
65523 * sysdeps/generic/math_private.h
65524 (libc_feholdexcept_setround_53bit): Replace with
65525 libc_feholdsetround_53bit.
65526 (libc_feupdateenv_53bit): Replace with
65527 libc_feresetround_53bit.
65528 (SET_RESTORE_ROUND_53BIT): Adjust.
65529
65530 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
65531
65532 * string/test-strchrnul.c: Add copyright header.
65533
65534 * posix/tst-getaddrinfo4.c: Increase test timeout.
65535
65536 2013-06-03 Carlos O'Donell <carlos@redhat.com>
65537
65538 [BZ #15536]
65539 * math/libm-test.inc (MAX_EXP): Remove
65540 (MIN_EXP): Define.
65541 (ulp): Use MIN_EXP - MANT_DIG.
65542 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
65543
65544 2013-05-31 Carlos O'Donell <carlos@redhat.com>
65545
65546 * po/be.po: Revert last change.
65547 * po/zh_CN.po: Likewise.
65548 * po/header.pot: Likewise.
65549
65550 2013-05-31 Joseph Myers <joseph@codesourcery.com>
65551
65552 * Makefile ($(common-objpfx)linkobj/libc.so): Define
65553 link-libc-deps to empty as target-specific variable.
65554 * Makerules (link-libc-args): New variable.
65555 (libc-for-link): Likewise.
65556 (link-libc-deps): Likewise.
65557 (lib%.so): Depend on $(link-libc-deps). Link with
65558 $(link-libc-args).
65559 (build-module): Link with $(link-libc-args).
65560 (build-module-asneeded): Likewise.
65561 (build-module-helper-objlist): Filter out $(link-libc-deps) from
65562 list of objects.
65563 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
65564 target-specific variable.
65565 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
65566 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
65567 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
65568 libc.
65569 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
65570 libc and ld.so.
65571 ($(objpfx)libpcprofile.so): Likewise.
65572 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
65573 libc_nonshared.a.
65574 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
65575 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
65576 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
65577 $(link-libc-deps).
65578 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
65579 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
65580 * login/Makefile ($(objpfx)libutil.so): Likewise.
65581 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
65582 * math/Makefile ($(objpfx)libm.so): Likewise.
65583 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
65584 $(objpfx)libnsl.so): Define libc-for-link as target-specific
65585 variable instead of depending directly on libc.
65586 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
65587 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
65588 $(link-libc-deps).
65589 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
65590 libc.
65591 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
65592 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
65593 ($(objpfx)libanl.so): Likewise.
65594 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
65595 ld.so.
65596 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
65597 $(link-libc-deps).
65598 * sysdeps/i386/fpu/Makefile: Remove file.
65599 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
65600 ($(objpfx)libm.so): Remove dependency on ld.so.
65601
65602 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
65603
65604 [BZ # 15553]
65605 * nis/yp_xdr.c (XDRMAXNAME): Define.
65606 (XDRMAXRECORD): Define.
65607 (xdr_domainname): Use XDRMAXNAME.
65608 (xdr_mapname): Likewise.
65609 (xdr_peername): Likewise.
65610 (xdr_keydat): Use XDRMAXRECORD.
65611 (xdr_valdat): Likewise.
65612
65613 2013-05-30 Jeff Law <law@redhat.com>
65614
65615 [BZ #14256]
65616 * manual/errno.texi (ESTALE): Update to account for more than
65617 just NFS file systems.
65618 * sysdeps/gnu/errlist.c: Regenerated.
65619
65620 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
65621
65622 [BZ #15465]
65623 * elf/Makefile (tests): Add tst-null-argv.
65624 (modules-names): Add tst-null-argv-lib.
65625 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
65626 (tst-null-argv-ENV): Set environment for tst-null-argv.
65627 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
65628 (RTLD_PROGNAME): New macro.
65629 * elf/tst-null-argv.c: New test case.
65630 * elf/tst-null-argv-lib.c: Library for test case.
65631 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
65632 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
65633 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
65634 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
65635 * elf/dl-init.c (call_init): Likewise.
65636 (_dl_init): Likewise.
65637 * elf/dl-load.c (print_search_path): Likewise.
65638 (_dl_map_object): Likewise.
65639 * elf/dl-lookup.c (do_lookup_x): Likewise.
65640 (add_dependency): Likewise.
65641 (_dl_lookup_symbol_x): Likewise.
65642 (_dl_debug_bindings): Likewise.
65643 * elf/dl-open.c (_dl_show_scope): Likewise.
65644 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
65645 * elf/dl-version.c (match_symbol): Likewise.
65646 (_dl_check_map_versions): Likewise.
65647 * elf/rtld.c (dl_main): Likewise.
65648 (print_unresolved): Use RTLD_PROGNAME.
65649 (print_missing_version): Likewise.
65650 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
65651 (elf_machine_rela): Likewise.
65652 * sysdeps/powerpc/powerpc32/dl-machine.c
65653 (__process_machine_rela): Likewise.
65654 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65655 Likewise.
65656 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
65657 Likewise.
65658 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
65659 Likewise.
65660 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
65661 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
65662 Likewise.
65663 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
65664 Likewise.
65665 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
65666
65667 2013-05-28 Carlos O'Donell <carlos@redhat.com>
65668
65669 * po/be.po: Add descriptive title.
65670 * po/zh_CN.po: Likewise.
65671 * po/header.pot: Likewise.
65672
65673 2013-05-28 Mike Frysinger <vapier@gentoo.org>
65674
65675 * locale/programs/locarchive.c (create_archive): Inlucde fname in
65676 error message.
65677 (enlarge_archive): Likewise.
65678
65679 2013-05-28 Ben North <ben@redfrontdoor.org>
65680
65681 * manual/arith.texi (frexp): It is the magnitude of the return
65682 value which lies in [0.5, 1), not the return value itself.
65683
65684 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65685
65686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65687
65688 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
65689
65690 * stdio-common/bug26.c (main): Correct fscanf template.
65691
65692 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
65693 declare _dl_skip_args.
65694
65695 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
65696 Don't declare.
65697
65698 * manual/platform.texi: Add missing @end deftypefun.
65699
65700 2013-05-24 Joseph Myers <joseph@codesourcery.com>
65701
65702 [BZ #15529]
65703 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
65704 bit of mantissa of 2^16382.
65705 * math/libm-test.inc (hypot_test_data): Add more tests.
65706
65707 * math/libm-test.inc: Add drem and pow10 to list of tested
65708 functions.
65709 (pow10_test): New function.
65710 (drem_test): Likewise.
65711 (drem_test_tonearest): Likewise.
65712 (drem_test_towardzero): Likewise.
65713 (drem_test_downward): Likewise.
65714 (drem_test_upward): Likewise.
65715 (main): Call the new functions.
65716
65717 * math/libm-test.inc (finite_test_data): Remove.
65718 (finite_test): Run tests from isfinite_test_data.
65719 (gamma_test_data): Remove.
65720 (gamma_test): Run tests from lgamma_test_data.
65721 * sysdeps/i386/fpu/libm-test-ulps: Update.
65722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65723
65724 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65725
65726 * manual/platform.texi: Add PowerPC PPR function set documentation.
65727 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
65728 implementation.
65729
65730 2013-05-24 Carlos O'Donell <carlos@redhat.com>
65731
65732 * math/libm-test.inc (MAX_EXP): Define.
65733 (ULPDIFF): Define.
65734 (ulp): New function.
65735 (check_float_internal): Use ULPDIFF.
65736 (cpow_test): Disable failing test.
65737 (check_ulp): Test ulp() implementation.
65738 (main): Call check_ulp before starting tests.
65739
65740 2013-05-24 Joseph Myers <joseph@codesourcery.com>
65741
65742 * math/gen-libm-test.pl (generate_testfile): Do not handle
65743 START_DATA and END_DATA.
65744 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
65745 END_DATA.
65746 (acos_tonearest_test_data): Likewise.
65747 (acos_towardzero_test_data): Likewise.
65748 (acos_downward_test_data): Likewise.
65749 (acos_upward_test_data): Likewise.
65750 (acosh_test_data): Likewise.
65751 (asin_test_data): Likewise.
65752 (asin_tonearest_test_data): Likewise.
65753 (asin_towardzero_test_data): Likewise.
65754 (asin_downward_test_data): Likewise.
65755 (asin_upward_test_data): Likewise.
65756 (asinh_test_data): Likewise.
65757 (atan_test_data): Likewise.
65758 (atanh_test_data): Likewise.
65759 (atan2_test_data): Likewise.
65760 (cabs_test_data): Likewise.
65761 (cacos_test_data): Likewise.
65762 (cacosh_test_data): Likewise.
65763 (carg_test_data): Likewise.
65764 (casin_test_data): Likewise.
65765 (casinh_test_data): Likewise.
65766 (catan_test_data): Likewise.
65767 (catanh_test_data): Likewise.
65768 (cbrt_test_data): Likewise.
65769 (ccos_test_data): Likewise.
65770 (ccosh_test_data): Likewise.
65771 (ceil_test_data): Likewise.
65772 (cexp_test_data): Likewise.
65773 (cimag_test_data): Likewise.
65774 (clog_test_data): Likewise.
65775 (clog10_test_data): Likewise.
65776 (conj_test_data): Likewise.
65777 (copysign_test_data): Likewise.
65778 (cos_test_data): Likewise.
65779 (cos_tonearest_test_data): Likewise.
65780 (cos_towardzero_test_data): Likewise.
65781 (cos_downward_test_data): Likewise.
65782 (cos_upward_test_data): Likewise.
65783 (cosh_test_data): Likewise.
65784 (cosh_tonearest_test_data): Likewise.
65785 (cosh_towardzero_test_data): Likewise.
65786 (cosh_downward_test_data): Likewise.
65787 (cosh_upward_test_data): Likewise.
65788 (cpow_test_data): Likewise.
65789 (cproj_test_data): Likewise.
65790 (creal_test_data): Likewise.
65791 (csin_test_data): Likewise.
65792 (csinh_test_data): Likewise.
65793 (csqrt_test_data): Likewise.
65794 (ctan_test_data): Likewise.
65795 (ctan_tonearest_test_data): Likewise.
65796 (ctan_towardzero_test_data): Likewise.
65797 (ctan_downward_test_data): Likewise.
65798 (ctan_upward_test_data): Likewise.
65799 (ctanh_test_data): Likewise.
65800 (ctanh_tonearest_test_data): Likewise.
65801 (ctanh_towardzero_test_data): Likewise.
65802 (ctanh_downward_test_data): Likewise.
65803 (ctanh_upward_test_data): Likewise.
65804 (erf_test_data): Likewise.
65805 (erfc_test_data): Likewise.
65806 (exp_test_data): Likewise.
65807 (exp_tonearest_test_data): Likewise.
65808 (exp_towardzero_test_data): Likewise.
65809 (exp_downward_test_data): Likewise.
65810 (exp_upward_test_data): Likewise.
65811 (exp10_test_data): Likewise.
65812 (exp2_test_data): Likewise.
65813 (expm1_test_data): Likewise.
65814 (fabs_test_data): Likewise.
65815 (fdim_test_data): Likewise.
65816 (finite_test_data): Likewise.
65817 (floor_test_data): Likewise.
65818 (fma_test_data): Likewise.
65819 (fma_towardzero_test_data): Likewise.
65820 (fma_downward_test_data): Likewise.
65821 (fma_upward_test_data): Likewise.
65822 (fmax_test_data): Likewise.
65823 (fmin_test_data): Likewise.
65824 (fmod_test_data): Likewise.
65825 (fpclassify_test_data): Likewise.
65826 (frexp_test_data): Likewise.
65827 (gamma_test_data): Likewise.
65828 (hypot_test_data): Likewise.
65829 (ilogb_test_data): Likewise.
65830 (isfinite_test_data): Likewise.
65831 (isgreater_test_data): Likewise.
65832 (isgreaterequal_test_data): Likewise.
65833 (isinf_test_data): Likewise.
65834 (isless_test_data): Likewise.
65835 (islessequal_test_data): Likewise.
65836 (islessgreater_test_data): Likewise.
65837 (isnan_test_data): Likewise.
65838 (isnormal_test_data): Likewise.
65839 (issignaling_test_data): Likewise.
65840 (isunordered_test_data): Likewise.
65841 (j0_test_data): Likewise.
65842 (j1_test_data): Likewise.
65843 (jn_test_data): Likewise.
65844 (ldexp_test_data): Likewise.
65845 (lgamma_test_data): Likewise.
65846 (lrint_test_data): Likewise.
65847 (lrint_tonearest_test_data): Likewise.
65848 (lrint_towardzero_test_data): Likewise.
65849 (lrint_downward_test_data): Likewise.
65850 (lrint_upward_test_data): Likewise.
65851 (llrint_test_data): Likewise.
65852 (llrint_tonearest_test_data): Likewise.
65853 (llrint_towardzero_test_data): Likewise.
65854 (llrint_downward_test_data): Likewise.
65855 (llrint_upward_test_data): Likewise.
65856 (log_test_data): Likewise.
65857 (log10_test_data): Likewise.
65858 (log1p_test_data): Likewise.
65859 (log2_test_data): Likewise.
65860 (logb_test_data): Likewise.
65861 (logb_downward_test_data): Likewise.
65862 (lround_test_data): Likewise.
65863 (llround_test_data): Likewise.
65864 (modf_test_data): Likewise.
65865 (nearbyint_test_data): Likewise.
65866 (nextafter_test_data): Likewise.
65867 (nexttoward_test_data): Likewise.
65868 (pow_test_data): Likewise.
65869 (pow_tonearest_test_data): Likewise.
65870 (pow_towardzero_test_data): Likewise.
65871 (pow_downward_test_data): Likewise.
65872 (pow_upward_test_data): Likewise.
65873 (remainder_test_data): Likewise.
65874 (remainder_tonearest_test_data): Likewise.
65875 (remainder_towardzero_test_data): Likewise.
65876 (remainder_downward_test_data): Likewise.
65877 (remainder_upward_test_data): Likewise.
65878 (remquo_test_data): Likewise.
65879 (rint_test_data): Likewise.
65880 (rint_tonearest_test_data): Likewise.
65881 (rint_towardzero_test_data): Likewise.
65882 (rint_downward_test_data): Likewise.
65883 (rint_upward_test_data): Likewise.
65884 (round_test_data): Likewise.
65885 (scalb_test_data): Likewise.
65886 (scalbn_test_data): Likewise.
65887 (scalbln_test_data): Likewise.
65888 (signbit_test_data): Likewise.
65889 (sin_test_data): Likewise.
65890 (sin_tonearest_test_data): Likewise.
65891 (sin_towardzero_test_data): Likewise.
65892 (sin_downward_test_data): Likewise.
65893 (sin_upward_test_data): Likewise.
65894 (sincos_test_data): Likewise.
65895 (sinh_test_data): Likewise.
65896 (sinh_tonearest_test_data): Likewise.
65897 (sinh_towardzero_test_data): Likewise.
65898 (sinh_downward_test_data): Likewise.
65899 (sinh_upward_test_data): Likewise.
65900 (sqrt_test_data): Likewise.
65901 (tan_test_data): Likewise.
65902 (tan_tonearest_test_data): Likewise.
65903 (tan_towardzero_test_data): Likewise.
65904 (tan_downward_test_data): Likewise.
65905 (tan_upward_test_data): Likewise.
65906 (tanh_test_data): Likewise.
65907 (tgamma_test_data): Likewise.
65908 (trunc_test_data): Likewise.
65909 (y0_test_data): Likewise.
65910 (y1_test_data): Likewise.
65911 (yn_test_data): Likewise.
65912 (significand_test_data): Likewise.
65913
65914 * math/gen-libm-test.pl (@functions): Remove variable.
65915 (generate_testfile): Don't handle START and END lines.
65916 * math/libm-test.inc (START): New macro.
65917 (END): Likewise.
65918 (END_COMPLEX): Likewise.
65919 (acos_test): Use END macro without arguments.
65920 (acos_test_tonearest): Likewise.
65921 (acos_test_towardzero): Likewise.
65922 (acos_test_downward): Likewise.
65923 (acos_test_upward): Likewise.
65924 (acosh_test): Likewise.
65925 (asin_test): Likewise.
65926 (asin_test_tonearest): Likewise.
65927 (asin_test_towardzero): Likewise.
65928 (asin_test_downward): Likewise.
65929 (asin_test_upward): Likewise.
65930 (asinh_test): Likewise.
65931 (atan_test): Likewise.
65932 (atanh_test): Likewise.
65933 (atan2_test): Likewise.
65934 (cabs_test): Likewise.
65935 (cacos_test): Use END_COMPLEX macro without arguments.
65936 (cacosh_test): Likewise.
65937 (carg_test): Use END macro without arguments.
65938 (casin_test): Use END_COMPLEX macro without arguments.
65939 (casinh_test): Likewise.
65940 (catan_test): Likewise.
65941 (catanh_test): Likewise.
65942 (cbrt_test): Use END macro without arguments.
65943 (ccos_test): Use END_COMPLEX macro without arguments.
65944 (ccosh_test): Likewise.
65945 (ceil_test): Use END macro without arguments.
65946 (cexp_test): Use END_COMPLEX macro without arguments.
65947 (cimag_test): Use END macro without arguments.
65948 (clog_test): Use END_COMPLEX macro without arguments.
65949 (clog10_test): Likewise.
65950 (conj_test): Likewise.
65951 (copysign_test): Use END macro without arguments.
65952 (cos_test): Likewise.
65953 (cos_test_tonearest): Likewise.
65954 (cos_test_towardzero): Likewise.
65955 (cos_test_downward): Likewise.
65956 (cos_test_upward): Likewise.
65957 (cosh_test): Likewise.
65958 (cosh_test_tonearest): Likewise.
65959 (cosh_test_towardzero): Likewise.
65960 (cosh_test_downward): Likewise.
65961 (cosh_test_upward): Likewise.
65962 (cpow_test): Use END_COMPLEX macro without arguments.
65963 (cproj_test): Likewise.
65964 (creal_test): Use END macro without arguments.
65965 (csin_test): Use END_COMPLEX macro without arguments.
65966 (csinh_test): Likewise.
65967 (csqrt_test): Likewise.
65968 (ctan_test): Likewise.
65969 (ctan_test_tonearest): Likewise.
65970 (ctan_test_towardzero): Likewise.
65971 (ctan_test_downward): Likewise.
65972 (ctan_test_upward): Likewise.
65973 (ctanh_test): Likewise.
65974 (ctanh_test_tonearest): Likewise.
65975 (ctanh_test_towardzero): Likewise.
65976 (ctanh_test_downward): Likewise.
65977 (ctanh_test_upward): Likewise.
65978 (erf_test): Use END macro without arguments.
65979 (erfc_test): Likewise.
65980 (exp_test): Likewise.
65981 (exp_test_tonearest): Likewise.
65982 (exp_test_towardzero): Likewise.
65983 (exp_test_downward): Likewise.
65984 (exp_test_upward): Likewise.
65985 (exp10_test): Likewise.
65986 (exp2_test): Likewise.
65987 (expm1_test): Likewise.
65988 (fabs_test): Likewise.
65989 (fdim_test): Likewise.
65990 (finite_test): Likewise.
65991 (floor_test): Likewise.
65992 (fma_test): Likewise.
65993 (fma_test_towardzero): Likewise.
65994 (fma_test_downward): Likewise.
65995 (fma_test_upward): Likewise.
65996 (fmax_test): Likewise.
65997 (fmin_test): Likewise.
65998 (fmod_test): Likewise.
65999 (fpclassify_test): Likewise.
66000 (frexp_test): Likewise.
66001 (gamma_test): Likewise.
66002 (hypot_test): Likewise.
66003 (ilogb_test): Likewise.
66004 (isfinite_test): Likewise.
66005 (isgreater_test): Likewise.
66006 (isgreaterequal_test): Likewise.
66007 (isinf_test): Likewise.
66008 (isless_test): Likewise.
66009 (islessequal_test): Likewise.
66010 (islessgreater_test): Likewise.
66011 (isnan_test): Likewise.
66012 (isnormal_test): Likewise.
66013 (issignaling_test): Likewise.
66014 (isunordered_test): Likewise.
66015 (j0_test): Likewise.
66016 (j1_test): Likewise.
66017 (jn_test): Likewise.
66018 (ldexp_test): Likewise.
66019 (lgamma_test): Likewise.
66020 (lrint_test): Likewise.
66021 (lrint_test_tonearest): Likewise.
66022 (lrint_test_towardzero): Likewise.
66023 (lrint_test_downward): Likewise.
66024 (lrint_test_upward): Likewise.
66025 (llrint_test): Likewise.
66026 (llrint_test_tonearest): Likewise.
66027 (llrint_test_towardzero): Likewise.
66028 (llrint_test_downward): Likewise.
66029 (llrint_test_upward): Likewise.
66030 (log_test): Likewise.
66031 (log10_test): Likewise.
66032 (log1p_test): Likewise.
66033 (log2_test): Likewise.
66034 (logb_test): Likewise.
66035 (logb_test_downward): Likewise.
66036 (lround_test): Likewise.
66037 (llround_test): Likewise.
66038 (modf_test): Likewise.
66039 (nearbyint_test): Likewise.
66040 (nextafter_test): Likewise.
66041 (nexttoward_test): Likewise.
66042 (pow_test): Likewise.
66043 (pow_test_tonearest): Likewise.
66044 (pow_test_towardzero): Likewise.
66045 (pow_test_downward): Likewise.
66046 (pow_test_upward): Likewise.
66047 (remainder_test): Likewise.
66048 (remainder_test_tonearest): Likewise.
66049 (remainder_test_towardzero): Likewise.
66050 (remainder_test_downward): Likewise.
66051 (remainder_test_upward): Likewise.
66052 (remquo_test): Likewise.
66053 (rint_test): Likewise.
66054 (rint_test_tonearest): Likewise.
66055 (rint_test_towardzero): Likewise.
66056 (rint_test_downward): Likewise.
66057 (rint_test_upward): Likewise.
66058 (round_test): Likewise.
66059 (scalb_test): Likewise.
66060 (scalbn_test): Likewise.
66061 (scalbln_test): Likewise.
66062 (signbit_test): Likewise.
66063 (sin_test): Likewise.
66064 (sin_test_tonearest): Likewise.
66065 (sin_test_towardzero): Likewise.
66066 (sin_test_downward): Likewise.
66067 (sin_test_upward): Likewise.
66068 (sincos_test): Likewise.
66069 (sinh_test): Likewise.
66070 (sinh_test_tonearest): Likewise.
66071 (sinh_test_towardzero): Likewise.
66072 (sinh_test_downward): Likewise.
66073 (sinh_test_upward): Likewise.
66074 (sqrt_test): Likewise.
66075 (tan_test): Likewise.
66076 (tan_test_tonearest): Likewise.
66077 (tan_test_towardzero): Likewise.
66078 (tan_test_downward): Likewise.
66079 (tan_test_upward): Likewise.
66080 (tanh_test): Likewise.
66081 (tgamma_test): Likewise.
66082 (trunc_test): Likewise.
66083 (y0_test): Likewise.
66084 (y1_test): Likewise.
66085 (yn_test): Likewise.
66086 (significand_test): Likewise.
66087
66088 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
66089
66090 [BZ #15381]
66091 * libio/genops.c (_IO_no_init): Initialize wide struct info.
66092
66093 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
66094
66095 [BZ #14894]
66096 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
66097 __ppc_mdoio and __ppc_mdoom.
66098 * manual/platform.texi: Document new functions __ppc_yield,
66099 __ppc_mdoio and __ppc_mdoom.
66100
66101 2013-05-22 Carlos O'Donell <carlos@redhat.com>
66102
66103 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
66104 (main): Mention "tls" pseudo-hwcap is legacy.
66105 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
66106
66107 2013-05-22 Joseph Myers <joseph@codesourcery.com>
66108
66109 * math/gen-libm-test.pl (parse_args): Output only string of
66110 arguments as text for test name, not full call or descriptions of
66111 tests for extra outputs.
66112 (generate_testfile): Do not pass function name to parse_args.
66113 Generate this_func variable from START.
66114 * math/libm-test.inc (struct test_f_f_data): Rename test_name
66115 field to arg_str.
66116 (struct test_ff_f_data): Likewise.
66117 (test_ff_f_data_nexttoward): Likewise.
66118 (struct test_fi_f_data): Likewise.
66119 (struct test_fl_f_data): Likewise.
66120 (struct test_if_f_data): Likewise.
66121 (struct test_fff_f_data): Likewise.
66122 (struct test_c_f_data): Likewise.
66123 (struct test_f_f1_data): Likewise. Remove field extra_name.
66124 (struct test_fF_f1_data): Likewise.
66125 (struct test_ffI_f1_data): Likewise.
66126 (struct test_c_c_data): Rename test_name field to arg_str.
66127 (struct test_cc_c_data): Likewise.
66128 (struct test_f_i_data): Likewise.
66129 (struct test_ff_i_data): Likewise.
66130 (struct test_f_l_data): Likewise.
66131 (struct test_f_L_data): Likewise.
66132 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
66133 and extra2_name.
66134 (COMMON_TEST_SETUP): New macro.
66135 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
66136 (COMMON_TEST_CLEANUP): Likewise.
66137 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
66138 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
66139 macros.
66140 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
66141 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
66142 macros.
66143 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
66144 (RUN_TEST_fff_f): Take argument string. Call new setup and
66145 cleanup macros.
66146 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
66147 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
66148 macros.
66149 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
66150 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
66151 macros.
66152 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66153 (RUN_TEST_fF_f1): Take argument string. Call new setup and
66154 cleanup macros.
66155 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66156 (RUN_TEST_fI_f1): Take argument string. Call new setup and
66157 cleanup macros.
66158 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66159 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
66160 cleanup macros.
66161 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66162 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
66163 macros.
66164 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
66165 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
66166 macros.
66167 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
66168 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
66169 macros.
66170 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
66171 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
66172 cleanup macros.
66173 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
66174 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
66175 cleanup macros.
66176 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
66177 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
66178 macros.
66179 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
66180 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
66181 cleanup macros.
66182 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
66183 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
66184 macros.
66185 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
66186 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
66187 macros.
66188 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
66189 (RUN_TEST_fFF_11): Take argument string. Call new setup and
66190 cleanup macros.
66191 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
66192
66193 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
66194
66195 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
66196 to _sifields.sigfault.
66197 (si_addr_lsb): Define new macro.
66198 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
66199 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66200 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
66201
66202 2013-05-03 Carlos O'Donell <carlos at redhat.com>
66203
66204 [BZ #15441]
66205 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
66206 returns -1.
66207 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
66208 null return -1.
66209 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
66210 loading the domain.
66211
66212 2013-05-22 Joseph Myers <joseph@codesourcery.com>
66213
66214 * math/gen-libm-test.pl (parse_args): Do not include expected
66215 result in test name.
66216 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
66217 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66218 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66219 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66220 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66222
66223 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
66224
66225 * benchtests/Makefile: Sort function entries.
66226
66227 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
66228 tanh, asinh, acosh, atanh.
66229 * benchtests/acos-inputs: New file.
66230 * benchtests/acosh-inputs: New file.
66231 * benchtests/asin-inputs: New file.
66232 * benchtests/asinh-inputs: New file.
66233 * benchtests/atanh-inputs: New file.
66234 * benchtests/cosh-inputs: New file.
66235 * benchtests/log-inputs: New file.
66236 * benchtests/sinh-inputs: New file.
66237 * benchtests/tanh-inputs: New file.
66238
66239 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
66240
66241 [BZ #15339]
66242 * posix/tst-getaddrinfo4.c: New test.
66243 * posix/Makefile (tests): Add it.
66244
66245 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
66246
66247 [BZ #15339]
66248 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
66249 when no services were used.
66250 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
66251 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
66252
66253 2013-05-21 Andreas Schwab <schwab@suse.de>
66254
66255 [BZ #15014]
66256 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
66257 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
66258 successful.
66259 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
66260 redundant variable declarations and reallocation of buffer when
66261 parsing as IPv6 address. Always set NSS status when called from
66262 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
66263 buffer too small. Correct computation of needed size.
66264 * nss/Makefile (tests): Add test-digits-dots.
66265 * nss/test-digits-dots.c: New test.
66266
66267 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
66268
66269 * benchtests/Makefile: Remove instructions for adding
66270 benchmark tests.
66271 * benchtests/README: New file to explain how to execute and
66272 enhance the benchmark tests.
66273
66274 2013-05-21 Andreas Schwab <schwab@suse.de>
66275
66276 [BZ #15493]
66277 * setjmp/Makefile (tests): Add tst-sigsetjmp.
66278 * setjmp/tst-sigsetjmp.c: New test.
66279
66280 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
66281
66282 * sysdeps/x86_64/memset.S (memset): New implementation.
66283 (__bzero): Likewise.
66284 (__memset_tail): New function.
66285
66286 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
66287
66288 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
66289 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
66290 __memcpy_sse2_unaligned ifunc selection.
66291 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
66292 Add memcpy-sse2-unaligned.S.
66293 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
66294 Add: __memcpy_sse2_unaligned.
66295
66296 2013-05-19 Joseph Myers <joseph@codesourcery.com>
66297
66298 [BZ #15490]
66299 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
66300 math_force_eval before restoring floating-point envrionment.
66301 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
66302 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
66303 Likewise.
66304 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
66305 <math_private.h>.
66306 (__nearbyintl): Use math_force_eval before restoring
66307 floating-point environment.
66308 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
66309
66310 * math/gen-libm-test.pl (special_functions): Remove.
66311 (parse_args): Don't handle TEST_extra. Handle functions with no
66312 return value.
66313 * math/libm-test.inc (struct test_sincos_data): Replace with
66314 struct test_fFF_11_data.
66315 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
66316 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
66317 (sincos_test_data): Change element type to struct
66318 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
66319 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
66320 RUN_TEST_LOOP_sincos.
66321 * math/README.libm-test: Don't mention special handling of
66322 individual functions.
66323 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
66324 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66325 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66326 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66327 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66329
66330 * math/gen-libm-test.pl (get_variable): Remove function.
66331 (parse_args): Don't show pointer parameters to call in test
66332 names. Use "extra output N" in test names for extra outputs
66333 rather than naming variables.
66334
66335 2013-05-18 Joseph Myers <joseph@codesourcery.com>
66336
66337 [BZ #15488]
66338 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
66339 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
66340 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
66341 double tests.
66342 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
66343 disable.
66344 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
66345 check_long_double.
66346
66347 * math/gen-libm-test.pl (@tests): Remove variable.
66348 ($count): Likewise.
66349 (new_test): Remove function.
66350 (show_exceptions): New function.
66351 (special_functions): Use show_exceptions instead of new_test.
66352 (parse_args): Likewise.
66353 (generate_testfile): Pass only function name in generated call to
66354 print_max_error or print_complex_max_error.
66355 (get_ulps): Do not handle complex tests specially.
66356 (output_test): Rename to ...
66357 (get_all_ulps_for_test): ... this. Return a string rather than
66358 printing to a file. Require ulps to be present.
66359 (output_ulps): Generate arrays rather than #defines.
66360 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
66361 (struct ulp_data): New type.
66362 (BUILD_COMPLEX_ULP): Remove macro.
66363 (compare_ulp_data): New function.
66364 (find_ulps): Likewise.
66365 (find_test_ulps): Likewise.
66366 (find_function_ulps): Likewise.
66367 (find_complex_function_ulps): Likewise.
66368 (print_max_error): Determine allowed ulps using
66369 find_function_ulps.
66370 (print_complex_max_error): Determine allowed ulps using
66371 find_complex_function_ulps.
66372 (check_float_internal): Determine max ulps using find_test_ulps.
66373 (check_float): Do not take max_ulp parameter. Update call to
66374 check_float_internal.
66375 (check_complex): Likewise.
66376 (check_int): Do not take max_ulp parameter.
66377 (check_long): Likewise.
66378 (check_bool): Likewise.
66379 (check_longlong): Likewise.
66380 (struct test_f_f_data): Remove max_ulp field.
66381 (struct test_ff_f_data): Likewise.
66382 (struct test_ff_f_data_nexttoward): Likewise.
66383 (struct test_fi_f_data): Likewise.
66384 (struct test_fl_f_data): Likewise.
66385 (struct test_if_f_data): Likewise.
66386 (struct test_fff_f_data): Likewise.
66387 (struct test_c_f_data): Likewise.
66388 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
66389 (struct test_fF_f1_data): Likewise.
66390 (struct test_ffI_f1_data): Likewise.
66391 (struct test_c_c_data): Remove max_ulp field.
66392 (struct test_cc_c_data): Likewise.
66393 (struct test_f_i_data): Likewise.
66394 (struct test_ff_i_data): Likewise.
66395 (struct test_f_l_data): Likewise.
66396 (struct test_f_L_data): Likewise.
66397 (struct test_sincos_data): Likewise.
66398 (RUN_TEST_f_f): Do not handle ulps.
66399 (RUN_TEST_LOOP_f_f): Likewise.
66400 (RUN_TEST_2_f): Likewise.
66401 (RUN_TEST_LOOP_2_f): Likewise.
66402 (RUN_TEST_fff_f): Likewise.
66403 (RUN_TEST_LOOP_fff_f): Likewise.
66404 (RUN_TEST_c_f): Likewise.
66405 (RUN_TEST_LOOP_c_f): Likewise.
66406 (RUN_TEST_f_f1): Likewise.
66407 (RUN_TEST_LOOP_f_f1): Likewise.
66408 (RUN_TEST_fF_f1): Likewise.
66409 (RUN_TEST_LOOP_fF_f1): Likewise.
66410 (RUN_TEST_fI_f1): Likewise.
66411 (RUN_TEST_LOOP_fI_f1): Likewise.
66412 (RUN_TEST_ffI_f1): Likewise.
66413 (RUN_TEST_LOOP_ffI_f1): Likewise.
66414 (RUN_TEST_c_c): Likewise.
66415 (RUN_TEST_LOOP_c_c): Likewise.
66416 (RUN_TEST_cc_c): Likewise.
66417 (RUN_TEST_LOOP_cc_c): Likewise.
66418 (RUN_TEST_f_i): Likewise.
66419 (RUN_TEST_LOOP_f_i): Likewise.
66420 (RUN_TEST_f_i_tg): Likewise.
66421 (RUN_TEST_LOOP_f_i_tg): Likewise.
66422 (RUN_TEST_ff_i_tg): Likewise.
66423 (RUN_TEST_LOOP_ff_i_tg): Likewise.
66424 (RUN_TEST_f_b): Likewise.
66425 (RUN_TEST_LOOP_f_b): Likewise.
66426 (RUN_TEST_f_b_tg): Likewise.
66427 (RUN_TEST_LOOP_f_b_tg): Likewise.
66428 (RUN_TEST_f_l): Likewise.
66429 (RUN_TEST_LOOP_f_l): Likewise.
66430 (RUN_TEST_f_L): Likewise.
66431 (RUN_TEST_LOOP_f_L): Likewise.
66432 (RUN_TEST_sincos): Likewise.
66433 (RUN_TEST_LOOP_sincos): Likewise.
66434
66435 2013-05-17 Joseph Myers <joseph@codesourcery.com>
66436
66437 [BZ #15480]
66438 [BZ #15485]
66439 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
66440 main case of finite arguments, set rounding mode to FE_TONEAREST
66441 and discard exceptions.
66442 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
66443 exceptions.
66444 (remainder_tonearest_test_data): New variable.
66445 (remainder_test_tonearest): New function.
66446 (remainder_towardzero_test_data): New variable.
66447 (remainder_test_towardzero): New function.
66448 (remainder_downward_test_data): New variable.
66449 (remainder_test_downward): New function.
66450 (remainder_upward_test_data): New variable.
66451 (remainder_test_upward): New function.
66452 (main): Call the new test functions.
66453
66454 * math/libm-test.inc (struct test_f_f1_data): Remove field
66455 extra_init.
66456 (struct test_fF_f1_data): Likewise.
66457 (struct test_ffI_f1_data): Likewise.
66458 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
66459 based on value of EXTRA_EXPECTED.
66460 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66461 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
66462 EXTRA_VAR based on value of EXTRA_EXPECTED.
66463 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66464 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
66465 EXTRA_VAR based on value of EXTRA_EXPECTED.
66466 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66467 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
66468 EXTRA_VAR based on value of EXTRA_EXPECTED.
66469 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66470 * math/gen-libm-test.pl (parse_args): Don't output initializers
66471 for extra output values.
66472
66473 * math/libm-test.inc (check_int): Expect result to be exactly
66474 equal to expected value and do not handle ulps.
66475 (check_long): Likewise.
66476 (check_longlong): Likewise.
66477
66478 * math/libm-test.inc (ceil_test_data): Test for "inexact"
66479 exceptions.
66480 (cimag_test_data): Likewise.
66481 (conj_test_data): Likewise.
66482 (copysign_test_data): Likewise.
66483 (cproj_test_data): Likewise.
66484 (creal_test_data): Likewise.
66485 (fabs_test_data): Likewise.
66486 (fdim_test_data): Likewise.
66487 (finite_test_data): Likewise.
66488 (floor_test_data): Likewise.
66489 (fmax_test_data): Likewise.
66490 (fmin_test_data): Likewise.
66491 (fmod_test_data): Likewise.
66492 (fpclassify_test_data): Likewise.
66493 (frexp_test_data): Likewise.
66494 (ilogb_test_data): Likewise.
66495 (isfinite_test_data): Likewise.
66496 (isgreater_test_data): Likewise.
66497 (isgreaterequal_test_data): Likewise.
66498 (isinf_test_data): Likewise.
66499 (isless_test_data): Likewise.
66500 (islessequal_test_data): Likewise.
66501 (islessgreater_test_data): Likewise.
66502 (isnan_test_data): Likewise.
66503 (isnormal_test_data): Likewise.
66504 (issignaling_test_data): Likewise.
66505 (isunordered_test_data): Likewise.
66506 (ldexp_test_data): Likewise.
66507 (lrint_test_data): Likewise.
66508 (lrint_test_data) [TEST_FLOAT]: Disable one test.
66509 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
66510 (lrint_tonearest_test_data): Test for "inexact" exceptions.
66511 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66512 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
66513 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66514 test input.
66515 (lrint_towardzero_test_data): Test for "inexact" exceptions.
66516 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66517 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
66518 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
66519 that test input.
66520 (lrint_downward_test_data): Test for "inexact" exceptions.
66521 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66522 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
66523 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66524 test input.
66525 (lrint_upward_test_data): Test for "inexact" exceptions.
66526 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
66527 test input.
66528 (llrint_test_data): Test for "inexact" exceptions.
66529 (llrint_test_data) [TEST_FLOAT]: Disable one test.
66530 (llrint_tonearest_test_data): Test for "inexact" exceptions.
66531 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66532 (llrint_towardzero_test_data): Test for "inexact" exceptions.
66533 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66534 (llrint_downward_test_data): Test for "inexact" exceptions.
66535 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66536 (llrint_upward_test_data): Test for "inexact" exceptions.
66537 (logb_test_data): Likewise.
66538 (logb_downward_test_data): Likewise.
66539 (nextafter_test_data): Likewise.
66540 (nexttoward_test_data): Likewise.
66541 (remainder_test_data): Likewise.
66542 (remquo_test_data): Likewise.
66543 (scalbn_test_data): Likewise.
66544 (scalbln_test_data): Likewise.
66545 (signbit_test_data): Likewise.
66546 (sqrt_test_data): Likewise.
66547 (significand_test_data): Likewise.
66548
66549 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
66550
66551 [BZ #15424]
66552 * benchtests/bench-modf.c (struct args): Mark arg0 as
66553 volatile.
66554 * scripts/bench.pl: Mark members of struct args as volatile.
66555
66556 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66557
66558 [BZ # 15497]
66559 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
66560 negative infinity on POWER6 or lower.
66561 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
66562
66563 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
66564
66565 [BZ #15442]
66566 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
66567 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
66568 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
66569 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
66570 (_FP_SETQNAN): New macro.
66571 (_FP_SETQNAN_SEMIRAW): Likewise.
66572 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
66573 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
66574 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
66575 (FP_EXTEND): Use _FP_FRAC_SNANP.
66576 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
66577 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
66578 into account.
66579 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66580 New macro.
66581 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66582 Likewise.
66583
66584 2013-05-16 Joseph Myers <joseph@codesourcery.com>
66585
66586 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
66587 with DIVIDE_BY_ZERO_EXCEPTION.
66588 (gamma_test_data): Likewise.
66589 (lgamma_test_data): Likewise.
66590 (log_test_data): Likewise.
66591 (log10_test_data): Likewise.
66592 (log2_test_data): Likewise.
66593 (tgamma_test_data): Likewise.
66594
66595 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
66596 (acos_test_tonearest): Likewise.
66597 (acos_test_towardzero): Likewise.
66598 (acos_test_downward): Likewise.
66599 (acos_test_upward): Likewise.
66600 (acosh_test): Likewise.
66601 (asin_test): Likewise.
66602 (asin_test_tonearest): Likewise.
66603 (asin_test_towardzero): Likewise.
66604 (asin_test_downward): Likewise.
66605 (asin_test_upward): Likewise.
66606 (asinh_test): Likewise.
66607 (atan_test): Likewise.
66608 (atanh_test): Likewise.
66609 (atan2_test): Likewise.
66610 (cabs_test): Likewise.
66611 (cacos_test): Likewise.
66612 (cacosh_test): Likewise.
66613 (casin_test): Likewise.
66614 (casinh_test): Likewise.
66615 (catan_test): Likewise.
66616 (catanh_test): Likewise.
66617 (cbrt_test): Likewise.
66618 (ccos_test): Likewise.
66619 (ccosh_test): Likewise.
66620 (cexp_test): Likewise.
66621 (clog_test): Likewise.
66622 (clog10_test): Likewise.
66623 (cos_test): Likewise.
66624 (cos_test_tonearest): Likewise.
66625 (cos_test_towardzero): Likewise.
66626 (cos_test_downward): Likewise.
66627 (cos_test_upward): Likewise.
66628 (cosh_test): Likewise.
66629 (cosh_test_tonearest): Likewise.
66630 (cosh_test_towardzero): Likewise.
66631 (cosh_test_downward): Likewise.
66632 (cosh_test_upward): Likewise.
66633 (cpow_test): Likewise.
66634 (csin_test): Likewise.
66635 (csinh_test): Likewise.
66636 (csqrt_test): Likewise.
66637 (ctan_test): Likewise.
66638 (ctan_test_tonearest): Likewise.
66639 (ctan_test_towardzero): Likewise.
66640 (ctan_test_downward): Likewise.
66641 (ctan_test_upward): Likewise.
66642 (ctanh_test): Likewise.
66643 (ctanh_test_tonearest): Likewise.
66644 (ctanh_test_towardzero): Likewise.
66645 (ctanh_test_downward): Likewise.
66646 (ctanh_test_upward): Likewise.
66647 (erf_test): Likewise.
66648 (erfc_test): Likewise.
66649 (exp_test): Likewise.
66650 (exp_test_tonearest): Likewise.
66651 (exp_test_towardzero): Likewise.
66652 (exp_test_downward): Likewise.
66653 (exp_test_upward): Likewise.
66654 (exp10_test): Likewise.
66655 (exp2_test): Likewise.
66656 (expm1_test): Likewise.
66657 (fmod_test): Likewise.
66658 (gamma_test): Likewise.
66659 (hypot_test): Likewise.
66660 (j0_test): Likewise.
66661 (j1_test): Likewise.
66662 (jn_test): Likewise.
66663 (lgamma_test): Likewise.
66664 (log_test): Likewise.
66665 (log10_test): Likewise.
66666 (log1p_test): Likewise.
66667 (log2_test): Likewise.
66668 (logb_test_downward): Likewise.
66669 (pow_test): Likewise.
66670 (pow_test_tonearest): Likewise.
66671 (pow_test_towardzero): Likewise.
66672 (pow_test_downward): Likewise.
66673 (pow_test_upward): Likewise.
66674 (remainder_test): Likewise.
66675 (remquo_test): Likewise.
66676 (sin_test): Likewise.
66677 (sin_test_tonearest): Likewise.
66678 (sin_test_towardzero): Likewise.
66679 (sin_test_downward): Likewise.
66680 (sin_test_upward): Likewise.
66681 (sincos_test): Likewise.
66682 (sinh_test): Likewise.
66683 (sinh_test_tonearest): Likewise.
66684 (sinh_test_towardzero): Likewise.
66685 (sinh_test_downward): Likewise.
66686 (sinh_test_upward): Likewise.
66687 (sqrt_test): Likewise.
66688 (tan_test): Likewise.
66689 (tan_test_tonearest): Likewise.
66690 (tan_test_towardzero): Likewise.
66691 (tan_test_downward): Likewise.
66692 (tan_test_upward): Likewise.
66693 (tanh_test): Likewise.
66694 (tgamma_test): Likewise.
66695 (y0_test): Likewise.
66696 (y1_test): Likewise.
66697 (yn_test): Likewise.
66698
66699 * math/gen-libm-test.pl (adjust_arg): Remove function.
66700 (special_function): Remove argument $in_func. Only handle
66701 generating output for tables of tests, not inside functions.
66702 (parse_args): Likewise.
66703 (generate_testfile): Remove variable $in_func. Update call to
66704 parse_args.
66705 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
66706 (MINUS_ZERO_INIT): Rename macro to minus_zero.
66707 (PLUS_INFTY_INIT): Rename macro to plus_infty.
66708 (MINUS_INFTY_INIT): Rename macro to minus_infty.
66709 (QNAN_VALUE_INIT): Rename macro to qnan_value.
66710 (MAX_VALUE_INIT): Rename macro to max_value.
66711 (MIN_VALUE_INIT): Rename macro to min_value.
66712 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
66713 (plus_zero): Remove variable.
66714 (minus_zero): Likewise.
66715 (plus_infty): Likewise.
66716 (minus_infty): Likewise.
66717 (qnan_value): Likewise.
66718 (max_value): Likewise.
66719 (min_value): Likewise.
66720 (min_subnorm_value): Likewise.
66721
66722 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
66723
66724 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
66725 uint64_t or uint32_t usage.
66726 * crypt/sha256-block.c: Likewise.
66727 * crypt/sha256-crypt.c: Likewise.
66728 * crypt/sha256.c: Likewise.
66729 * crypt/sha512-block.c: Likewise.
66730 * crypt/sha512-crypt.c: Likewise.
66731 * crypt/sha512.c: Likewise.
66732 * debug/backtrace-tst.c: Likewise.
66733 * debug/pcprofiledump.c: Likewise.
66734 * elf/cache.c: Likewise.
66735 * elf/dl-cache.c: Likewise.
66736 * elf/dl-misc.c: Likewise.
66737 * elf/dl-profile.c: Likewise.
66738 * elf/dl-support.c: Likewise.
66739 * elf/ldconfig.c: Likewise.
66740 * elf/sprof.c: Likewise.
66741 * iconv/dummy-repertoire.c: Likewise.
66742 * iconv/iconv_charmap.c: Likewise.
66743 * iconv/skeleton.c: Likewise.
66744 * iconvdata/8bit-generic.c: Likewise.
66745 * iconvdata/cp737.h: Likewise.
66746 * iconvdata/cp775.h: Likewise.
66747 * iconvdata/ibm1008.h: Likewise.
66748 * iconvdata/ibm1025.h: Likewise.
66749 * iconvdata/ibm1046.h: Likewise.
66750 * iconvdata/ibm1097.h: Likewise.
66751 * iconvdata/ibm1112.h: Likewise.
66752 * iconvdata/ibm1122.h: Likewise.
66753 * iconvdata/ibm1123.h: Likewise.
66754 * iconvdata/ibm1124.h: Likewise.
66755 * iconvdata/ibm1129.h: Likewise.
66756 * iconvdata/ibm1130.h: Likewise.
66757 * iconvdata/ibm1132.h: Likewise.
66758 * iconvdata/ibm1133.h: Likewise.
66759 * iconvdata/ibm1137.h: Likewise.
66760 * iconvdata/ibm1140.h: Likewise.
66761 * iconvdata/ibm1141.h: Likewise.
66762 * iconvdata/ibm1142.h: Likewise.
66763 * iconvdata/ibm1143.h: Likewise.
66764 * iconvdata/ibm1144.h: Likewise.
66765 * iconvdata/ibm1145.h: Likewise.
66766 * iconvdata/ibm1146.h: Likewise.
66767 * iconvdata/ibm1147.h: Likewise.
66768 * iconvdata/ibm1148.h: Likewise.
66769 * iconvdata/ibm1149.h: Likewise.
66770 * iconvdata/ibm1153.h: Likewise.
66771 * iconvdata/ibm1154.h: Likewise.
66772 * iconvdata/ibm1155.h: Likewise.
66773 * iconvdata/ibm1156.h: Likewise.
66774 * iconvdata/ibm1157.h: Likewise.
66775 * iconvdata/ibm1158.h: Likewise.
66776 * iconvdata/ibm1160.h: Likewise.
66777 * iconvdata/ibm1161.h: Likewise.
66778 * iconvdata/ibm1162.h: Likewise.
66779 * iconvdata/ibm1163.h: Likewise.
66780 * iconvdata/ibm1164.h: Likewise.
66781 * iconvdata/ibm1166.h: Likewise.
66782 * iconvdata/ibm1167.h: Likewise.
66783 * iconvdata/ibm12712.h: Likewise.
66784 * iconvdata/ibm1390.h: Likewise.
66785 * iconvdata/ibm1399.h: Likewise.
66786 * iconvdata/ibm16804.h: Likewise.
66787 * iconvdata/ibm4517.h: Likewise.
66788 * iconvdata/ibm4899.h: Likewise.
66789 * iconvdata/ibm4909.h: Likewise.
66790 * iconvdata/ibm4971.h: Likewise.
66791 * iconvdata/ibm5347.h: Likewise.
66792 * iconvdata/ibm803.h: Likewise.
66793 * iconvdata/ibm856.h: Likewise.
66794 * iconvdata/ibm901.h: Likewise.
66795 * iconvdata/ibm902.h: Likewise.
66796 * iconvdata/ibm9030.h: Likewise.
66797 * iconvdata/ibm9066.h: Likewise.
66798 * iconvdata/ibm921.h: Likewise.
66799 * iconvdata/ibm922.h: Likewise.
66800 * iconvdata/ibm9448.h: Likewise.
66801 * iconvdata/isiri-3342.h: Likewise.
66802 * iconvdata/jis0201.h: Likewise.
66803 * include/link.h: Likewise.
66804 * include/netdb.h: Likewise.
66805 * inet/check_native.c: Likewise.
66806 * inet/check_pf.c: Likewise.
66807 * inet/getipv4sourcefilter.c: Likewise.
66808 * inet/getnameinfo.c: Likewise.
66809 * inet/getsourcefilter.c: Likewise.
66810 * inet/htonl.c: Likewise.
66811 * inet/setipv4sourcefilter.c: Likewise.
66812 * inet/setsourcefilter.c: Likewise.
66813 * inet/test-inet6_opt.c: Likewise.
66814 * inet/tst-network.c: Likewise.
66815 * locale/C-collate.c: Likewise.
66816 * locale/C-ctype.c: Likewise.
66817 * locale/C-time.c: Likewise.
66818 * locale/C-translit.h: Likewise.
66819 * locale/loadarchive.c: Likewise.
66820 * locale/programs/3level.h: Likewise.
66821 * locale/programs/charmap.c: Likewise.
66822 * locale/programs/charmap.h: Likewise.
66823 * locale/programs/ld-address.c: Likewise.
66824 * locale/programs/ld-collate.c: Likewise.
66825 * locale/programs/ld-ctype.c: Likewise.
66826 * locale/programs/ld-identification.c: Likewise.
66827 * locale/programs/ld-measurement.c: Likewise.
66828 * locale/programs/ld-messages.c: Likewise.
66829 * locale/programs/ld-monetary.c: Likewise.
66830 * locale/programs/ld-name.c: Likewise.
66831 * locale/programs/ld-numeric.c: Likewise.
66832 * locale/programs/ld-paper.c: Likewise.
66833 * locale/programs/ld-telephone.c: Likewise.
66834 * locale/programs/ld-time.c: Likewise.
66835 * locale/programs/linereader.c: Likewise.
66836 * locale/programs/locale.c: Likewise.
66837 * locale/programs/locarchive.c: Likewise.
66838 * locale/programs/locfile.h: Likewise.
66839 * locale/programs/repertoire.c: Likewise.
66840 * locale/programs/simple-hash.c: Likewise.
66841 * locale/programs/simple-hash.h: Likewise.
66842 * malloc/memusage.c: Likewise.
66843 * malloc/memusagestat.c: Likewise.
66844 * nis/nis_defaults.c: Likewise.
66845 * nis/nis_hash.c: Likewise.
66846 * nis/nis_print.c: Likewise.
66847 * nis/nis_xdr.c: Likewise.
66848 * nscd/connections.c: Likewise.
66849 * nscd/hstcache.c: Likewise.
66850 * nscd/nscd_gethst_r.c: Likewise.
66851 * nscd/nscd_getserv_r.c: Likewise.
66852 * nscd/nscd_helper.c: Likewise.
66853 * nscd/servicescache.c: Likewise.
66854 * nss/makedb.c: Likewise.
66855 * nss/nss_db/db-XXX.c: Likewise.
66856 * nss/nss_db/db-initgroups.c: Likewise.
66857 * nss/nss_db/db-netgrp.c: Likewise.
66858 * nss/nss_files/files-network.c: Likewise.
66859 * nss/nss_files/files-parse.c: Likewise.
66860 * posix/bug-regex5.c: Likewise.
66861 * posix/fnmatch_loop.c: Likewise.
66862 * posix/regcomp.c: Likewise.
66863 * posix/regexec.c: Likewise.
66864 * posix/tst-rfc3484-2.c: Likewise.
66865 * posix/tst-rfc3484-3.c: Likewise.
66866 * posix/tst-rfc3484.c: Likewise.
66867 * resolv/nss_dns/dns-canon.c: Likewise.
66868 * resolv/nss_dns/dns-network.c: Likewise.
66869 * resolv/res_init.c: Likewise.
66870 * resolv/res_mkquery.c: Likewise.
66871 * resolv/tst-aton.c: Likewise.
66872 * stdlib/cxa_atexit.c: Likewise.
66873 * stdlib/cxa_finalize.c: Likewise.
66874 * stdlib/gen-fpioconst.c: Likewise.
66875 * stdlib/strtol_l.c: Likewise.
66876 * string/tst-endian.c: Likewise.
66877 * sunrpc/auth_des.c: Likewise.
66878 * sunrpc/clnt_udp.c: Likewise.
66879 * sunrpc/rtime.c: Likewise.
66880 * sunrpc/svcauth_des.c: Likewise.
66881 * sunrpc/xdr.c: Likewise.
66882 * sunrpc/xdr_intXX_t.c: Likewise.
66883 * sunrpc/xdr_rec.c: Likewise.
66884 * sysdeps/generic/ldconfig.h: Likewise.
66885 * sysdeps/generic/ldsodefs.h: Likewise.
66886 * sysdeps/generic/memusage.h: Likewise.
66887 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
66888 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
66889 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
66890 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
66891 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66892 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
66893 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
66894 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
66895 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66896 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
66897 * sysdeps/posix/getaddrinfo.c: Likewise.
66898 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66899 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66900 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
66901 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
66902 * sysdeps/powerpc/test-gettimebase.c: Likewise.
66903 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
66904 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
66905 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
66906 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
66907 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
66908 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
66909 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
66910 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
66911 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
66912 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
66913 * sysdeps/x86_64/dl-tls.h: Likewise.
66914 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
66915 * time/alt_digit.c: Likewise.
66916 * time/era.c: Likewise.
66917 * wcsmbs/tst-c16c32-1.c: Likewise.
66918
66919 2013-05-16 Joseph Myers <joseph@codesourcery.com>
66920
66921 * math/libm-test.inc (struct test_sincos_data): New type.
66922 (RUN_TEST_LOOP_sincos): New macro.
66923 (sincos_test_data): New variable.
66924 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
66925
66926 2013-05-16 Richard Henderson <rth@redhat.com>
66927
66928 * math/atest-exp2.c (LIMB64): New macro.
66929 (CONSTSZ): New macro.
66930 (mp_exp1, mp_exp_m1, mp_log2): New variables.
66931 (hexdig): Move ...
66932 (print_mpn_fp): ... to function scope.
66933 (read_mpn_hex): Remove.
66934 (get_log2): Remove.
66935 (exp2_mpn): Use mp_log2.
66936 (main): Use mp_exp1.
66937
66938 2013-05-16 Joseph Myers <joseph@codesourcery.com>
66939
66940 * math/libm-test.inc: Remove comment about not testing "inexact"
66941 exceptions.
66942 (INEXACT_EXCEPTION): New macro.
66943 (NO_INEXACT_EXCEPTION): Likewise.
66944 (INVALID_EXCEPTION_OK): Update value.
66945 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66946 (OVERFLOW_EXCEPTION_OK): Likewise.
66947 (UNDERFLOW_EXCEPTION_OK): Likewise.
66948 (IGNORE_ZERO_INF_SIGN): Likewise.
66949 (ERRNO_UNCHANGED): Likewise.
66950 (ERRNO_EDOM): Likewise.
66951 (ERRNO_ERANGE): Likewise.
66952 (test_exceptions): Handle testing "inexact" exceptions.
66953 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
66954 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
66955 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
66956 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
66957 INEXACT_EXCEPTION.
66958 (rint_towardzero_test_data): Likewise.
66959 (rint_downward_test_data): Likewise.
66960 (rint_upward_test_data): Likewise.
66961
66962 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
66963 with OVERFLOW_EXCEPTION.
66964 (exp10_test_data): Likewise.
66965 (exp2_test_data): Likewise.
66966 (expm1_test_data): Likewise.
66967 (lgamma_test_data): Likewise.
66968 (pow_test_data): Likewise.
66969 (tgamma_test_data): Likewise.
66970 (yn_test_data): Remove duplicate test of overflow.
66971
66972 * math/libm-test.inc (struct test_cc_c_data): New type.
66973 (RUN_TEST_LOOP_cc_c): New macro.
66974 (cpow_test_data): New variable.
66975 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
66976
66977 * math/libm-test.inc (struct test_f_L_data): New type.
66978 (RUN_TEST_LOOP_f_L): New macro.
66979 (llrint_test_data): New variable.
66980 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
66981 (llrint_tonearest_test_data): New variable.
66982 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
66983 (llrint_towardzero_test_data): New variable.
66984 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
66985 (llrint_downward_test_data): New variable.
66986 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
66987 (llrint_upward_test_data): New variable.
66988 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
66989 (llround_test_data): New variable.
66990 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
66991
66992 2013-05-13 Peter Collingbourne <pcc@google.com>
66993
66994 * math/atest-exp2.c (get_log2): Remove const attribute.
66995
66996 2013-05-15 Joseph Myers <joseph@codesourcery.com>
66997
66998 * math/libm-test.inc (struct test_f_l_data): New type.
66999 (RUN_TEST_LOOP_f_l): New macro.
67000 (lrint_test_data): New variable.
67001 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
67002 (lrint_tonearest_test_data): New variable.
67003 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
67004 (lrint_towardzero_test_data): New variable.
67005 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
67006 (lrint_downward_test_data): New variable.
67007 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
67008 (lrint_upward_test_data): New variable.
67009 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
67010 (lround_test_data): New variable.
67011 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
67012
67013 2013-05-15 Peter Collingbourne <pcc@google.com>
67014
67015 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
67016 (EXTRACT_WORDS64) Use where appropriate.
67017 (INSERT_WORDS64) Likewise.
67018
67019 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
67020 constraints with x constraints.
67021 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
67022
67023 * malloc/obstack.c (_obstack_compat): Add initializer.
67024
67025 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
67026
67027 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
67028 si_trapno and add si_addr_lsb to _sifields.sigfault.
67029 (si_trapno): Remove macro.
67030 (si_addr_lsb): Define new macro.
67031 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
67032
67033 2013-05-15 Joseph Myers <joseph@codesourcery.com>
67034
67035 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
67036 instead of TEST_f_l.
67037 (llrint_test_tonearest): Likewise.
67038 (llrint_test_towardzero): Likewise.
67039 (llrint_test_downward): Likewise.
67040 (llrint_test_upward): Likewise.
67041 (llround_test): Likewise.
67042
67043 * math/libm-test.inc (struct test_f_i_data): Add comment.
67044 (RUN_TEST_LOOP_f_b): New macro.
67045 (RUN_TEST_LOOP_f_b_tg): Likewise.
67046 (finite_test_data): New variable.
67047 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
67048 (isfinite_test_data): New variable.
67049 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67050 (isinf_test_data): New variable.
67051 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67052 (isnan_test_data): New variable.
67053 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67054 (isnormal_test_data): New variable.
67055 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67056 (issignaling_test_data): New variable.
67057 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67058 (signbit_test_data): New variable.
67059 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67060
67061 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
67062 with INVALID_EXCEPTION.
67063 (acosh_test_data): Likewise.
67064 (asin_test_data): Likewise.
67065 (atanh_test_data): Likewise.
67066 (fmod_test_data): Likewise.
67067 (log_test_data): Likewise.
67068 (log10_test_data): Likewise.
67069 (log2_test_data): Likewise.
67070 (pow_test_data): Likewise.
67071 (sqrt_test_data): Likewise.
67072 (y0_test_data): Likewise.
67073 (y1_test_data): Likewise.
67074 (yn_test_data): Likewise.
67075
67076 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
67077 function contents.
67078
67079 * math/libm-test.inc (struct test_ff_i_data): New type.
67080 (RUN_TEST_LOOP_ff_i_tg): New macro.
67081 (isgreater_test_data): New variable.
67082 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67083 (isgreaterequal_test_data): New variable.
67084 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67085 (isless_test_data): New variable.
67086 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67087 (islessequal_test_data): New variable.
67088 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67089 (islessgreater_test_data): New variable.
67090 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67091 (isunordered_test_data): New variable.
67092 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67093
67094 2013-05-14 David S. Miller <davem@davemloft.net>
67095
67096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67097
67098 2013-05-14 Joseph Myers <joseph@codesourcery.com>
67099
67100 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
67101
67102 * math/libm-test.inc (struct test_fF_f1_data): Change type of
67103 extra_test to int.
67104 (struct test_f_i_data): Change type of max_ulp to int.
67105
67106 * math/libm-test.inc (test_ffI_f1_data): New type.
67107 (RUN_TEST_LOOP_ffI_f1): New macro.
67108 (remquo_test_data): New variable.
67109 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
67110
67111 * setjmp/tst-setjmp-fp.c: New file.
67112 * setjmp/Makefile (tests): Add tst-setjmp-fp.
67113 (link-libm): New variable.
67114 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
67115
67116 * math/libm-test.inc (struct test_f_i_data): New type.
67117 (RUN_TEST_LOOP_f_i): New macro.
67118 (RUN_TEST_LOOP_f_i_tg): Likewise.
67119 (fpclassify_test_data): New variable.
67120 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
67121 (ilogb_test_data): New variable.
67122 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
67123
67124 * math/libm-test.inc (scalbln_test): Correct function name in END
67125 call.
67126
67127 * math/libm-test.inc (struct test_f_f1_data): Add comment.
67128 (RUN_TEST_LOOP_fI_f1): New macro.
67129 (frexp_test_data): New variable.
67130 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
67131
67132 * math/libm-test.inc (struct test_fF_f1_data): New type.
67133 (RUN_TEST_LOOP_fF_f1): New macro.
67134 (modf_test_data): New variable.
67135 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
67136
67137 * math/libm-test.inc (struct test_f_f1_data): New type.
67138 (RUN_TEST_LOOP_f_f1): New macro.
67139 (gamma_test_data): New variable.
67140 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67141 (lgamma_test_data): New variable.
67142 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67143
67144 2013-05-13 Carlos O'Donell <carlos@redhat.com>
67145
67146 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
67147 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
67148 (main): Comment "tls" pseudo-hwcap.
67149
67150 2013-05-13 Joseph Myers <joseph@codesourcery.com>
67151
67152 * math/libm-test.inc (struct test_fl_f_data): New type.
67153 (RUN_TEST_LOOP_fl_f): New variable.
67154 (scalbln_test_data): New variable.
67155 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
67156
67157 * math/libm-test.inc (struct test_fi_f_data): New type.
67158 (RUN_TEST_LOOP_fi_f): New macro.
67159 (ldexp_test_data): New variable.
67160 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
67161 (scalbn_test_data): New variable.
67162 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
67163
67164 * math/libm-test.inc (struct test_c_f_data): New type.
67165 (RUN_TEST_LOOP_c_f): New macro.
67166 (cabs_test_data): New variable.
67167 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
67168 (carg_test_data): New variable.
67169 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
67170 (cimag_test_data): New variable.
67171 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
67172 (creal_test_data): New variable.
67173 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
67174
67175 * math/libm-test.inc (struct test_if_f_data): New type.
67176 (RUN_TEST_LOOP_if_f): New macro.
67177 (jn_test_data): New variable.
67178 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
67179 (yn_test_data): New variable.
67180 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
67181
67182 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
67183
67184 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67185
67186 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
67187 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
67188
67189 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
67190
67191 * benchtests/Makefile (CPPFLAGS-nonlib): Add
67192 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
67193 (bench-deps): Add bench-timing.h.
67194 * benchtests-bench-skeleton.c: Include bench-timing.h.
67195 (main): Use TIMING_* macros instead of clock_gettime.
67196 * benchtests/bench-timing.h: New file.
67197
67198 [BZ #14582]
67199 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
67200 Renamed from _LIB_VERSION.
67201 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
67202
67203 2013-05-12 Joseph Myers <joseph@codesourcery.com>
67204
67205 * math/libm-test.inc (struct test_fff_f_data): New type.
67206 (RUN_TEST_LOOP_fff_f): New macro.
67207 (fma_test_data): New variable.
67208 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
67209 (fma_towardzero_test_data): New variable.
67210 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
67211 (fma_downward_test_data): New variable.
67212 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
67213 (fma_upward_test_data): New variable.
67214 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
67215
67216 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
67217 (struct test_c_c_data): New type.
67218 (RUN_TEST_LOOP_c_c): New macro.
67219 (cacos_test_data): New variable.
67220 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
67221 (cacosh_test_data): New variable.
67222 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
67223 (casin_test_data): New variable.
67224 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
67225 (casinh_test_data): New variable.
67226 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
67227 (catan_test_data): New variable.
67228 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
67229 (catanh_test_data): New variable.
67230 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
67231 (ccos_test_data): New variable.
67232 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
67233 (ccosh_test_data): New variable.
67234 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
67235 (cexp_test_data): New variable.
67236 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
67237 (clog_test_data): New variable.
67238 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
67239 (clog10_test_data): New variable.
67240 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
67241 (conj_test_data): New variable.
67242 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
67243 (cproj_test_data): New variable.
67244 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
67245 (csin_test_data): New variable.
67246 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
67247 (csinh_test_data): New variable.
67248 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
67249 (csqrt_test_data): New variable.
67250 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
67251 (ctan_test_data): New variable.
67252 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
67253 (ctan_tonearest_test_data): New variable.
67254 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67255 (ctan_towardzero_test_data): New variable.
67256 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67257 (ctan_downward_test_data): New variable.
67258 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67259 (ctan_upward_test_data): New variable.
67260 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67261 (ctanh_test_data): New variable.
67262 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
67263 (ctanh_tonearest_test_data): New variable.
67264 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67265 (ctanh_towardzero_test_data): New variable.
67266 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67267 (ctanh_downward_test_data): New variable.
67268 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67269 (ctanh_upward_test_data): New variable.
67270 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67271 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
67272 of BUILD_COMPLEX.
67273
67274 * math/libm-test.inc (struct test_ff_f_data): New type.
67275 (struct test_ff_f_data_nexttoward): Likewise.
67276 (RUN_TEST_LOOP_2_f): New macro.
67277 (RUN_TEST_LOOP_ff_f): Likewise.
67278 (atan2_test_data): New variable.
67279 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
67280 (copysign_test_data): New variable.
67281 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
67282 (fdim_test_data): New variable.
67283 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
67284 (fmax_test_data): New variable.
67285 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
67286 (fmin_test_data): New variable.
67287 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
67288 (fmod_test_data): New variable.
67289 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
67290 (hypot_test_data): New variable.
67291 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
67292 (nextafter_test_data): New variable.
67293 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
67294 (nexttoward_test_data): New variable.
67295 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
67296 (pow_test_data): New variable.
67297 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
67298 (pow_tonearest_test_data): New variable.
67299 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
67300 (pow_towardzero_test_data): New variable.
67301 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
67302 (pow_downward_test_data): New variable.
67303 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
67304 (pow_upward_test_data): New variable.
67305 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
67306 (remainder_test_data): New variable.
67307 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
67308 (scalb_test_data): New variable.
67309 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
67310 * sysdeps/i386/fpu/libm-test-ulps: Update.
67311
67312 2013-05-11 Joseph Myers <joseph@codesourcery.com>
67313
67314 * math/libm-test.inc (fma_test): Use max_value instead of local
67315 variable fltmax.
67316 (nextafter_test): Likewise.
67317
67318 * math/libm-test.inc (acos_towardzero_test_data): New variable.
67319 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67320 (acos_downward_test_data): New variable.
67321 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67322 (acos_upward_test_data): New variable.
67323 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67324 (acosh_test_data): New variable.
67325 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
67326 (asin_test_data): New variable.
67327 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
67328 (asin_tonearest_test_data): New variable.
67329 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67330 (asin_towardzero_test_data): New variable.
67331 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67332 (asin_downward_test_data): New variable.
67333 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67334 (asin_upward_test_data): New variable.
67335 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67336 (asinh_test_data): New variable.
67337 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
67338 (atan_test_data): New variable.
67339 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
67340 (atanh_test_data): New variable.
67341 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
67342 (cbrt_test_data): New variable.
67343 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
67344 (ceil_test_data): New variable.
67345 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
67346 (cos_test_data): New variable.
67347 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
67348 (cos_tonearest_test_data): New variable.
67349 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67350 (cos_towardzero_test_data): New variable.
67351 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67352 (cos_downward_test_data): New variable.
67353 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67354 (cos_upward_test_data): New variable.
67355 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67356 (cosh_test_data): New variable.
67357 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
67358 (cosh_tonearest_test_data): New variable.
67359 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67360 (cosh_towardzero_test_data): New variable.
67361 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67362 (cosh_downward_test_data): New variable.
67363 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67364 (cosh_upward_test_data): New variable.
67365 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67366 (erf_test_data): New variable.
67367 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
67368 (erfc_test_data): New variable.
67369 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
67370 (exp_test_data): New variable.
67371 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
67372 (exp_tonearest_test_data): New variable.
67373 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67374 (exp_towardzero_test_data): New variable.
67375 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67376 (exp_downward_test_data): New variable.
67377 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67378 (exp_upward_test_data): New variable.
67379 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67380 (exp10_test_data): New variable.
67381 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
67382 (exp2_test_data): New variable.
67383 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
67384 (expm1_test_data): New variable.
67385 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
67386 (fabs_test_data): New variable.
67387 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
67388 (floor_test_data): New variable.
67389 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
67390 (j0_test_data): New variable.
67391 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
67392 (j1_test_data): New variable.
67393 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
67394 (log_test_data): New variable.
67395 (log_test): Run tests with RUN_TEST_LOOP_f_f.
67396 (log10_test_data): New variable.
67397 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
67398 (log1p_test_data): New variable.
67399 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
67400 (log2_test_data): New variable.
67401 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
67402 (logb_test_data): New variable.
67403 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
67404 (logb_downward_test_data): New variable.
67405 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67406 (nearbyint_test_data): New variable.
67407 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
67408 (rint_test_data): New variable.
67409 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
67410 (rint_tonearest_test_data): New variable.
67411 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67412 (rint_towardzero_test_data): New variable.
67413 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67414 (rint_downward_test_data): New variable.
67415 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67416 (rint_upward_test_data): New variable.
67417 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67418 (round_test_data): New variable.
67419 (round_test): Run tests with RUN_TEST_LOOP_f_f.
67420 (sin_test_data): New variable.
67421 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
67422 (sin_tonearest_test_data): New variable.
67423 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67424 (sin_towardzero_test_data): New variable.
67425 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67426 (sin_downward_test_data): New variable.
67427 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67428 (sin_upward_test_data): New variable.
67429 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67430 (sinh_test_data): New variable.
67431 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
67432 (sinh_tonearest_test_data): New variable.
67433 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67434 (sinh_towardzero_test_data): New variable.
67435 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67436 (sinh_downward_test_data): New variable.
67437 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67438 (sinh_upward_test_data): New variable.
67439 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67440 (sqrt_test_data): New variable.
67441 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
67442 (tan_test_data): New variable.
67443 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
67444 (tan_tonearest_test_data): New variable.
67445 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67446 (tan_towardzero_test_data): New variable.
67447 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67448 (tan_downward_test_data): New variable.
67449 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67450 (tan_upward_test_data): New variable.
67451 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67452 (tanh_test_data): New variable.
67453 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
67454 (tgamma_test_data): New variable.
67455 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
67456 (trunc_test_data): New variable.
67457 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
67458 (y0_test_data): New variable.
67459 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
67460 (y1_test_data): New variable.
67461 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
67462 (significand_test_data): New variable.
67463 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
67464
67465 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
67466
67467 [BZ #12387]
67468 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
67469
67470 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
67471
67472 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
67473
67474 2013-05-10 Andreas Jaeger <aj@suse.de>
67475
67476 [BZ #15448]
67477 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
67478 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
67479
67480 2013-05-10 Joseph Myers <joseph@codesourcery.com>
67481
67482 * math/gen-libm-test.pl (adjust_arg): New function.
67483 (special_functions): Handle generating output in both functions
67484 and arrays.
67485 (parse_args): Likewise.
67486 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
67487 $in_func argument to parse_args.
67488 * math/libm-test.inc (struct test_f_f_data): New type.
67489 (IF_ROUND_INIT_): New macro.
67490 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
67491 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
67492 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
67493 (IF_ROUND_INIT_FE_UPWARD): Likewise.
67494 (ROUND_RESTORE_): Likewise.
67495 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
67496 (ROUND_RESTORE_FE_TONEAREST): Likewise.
67497 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
67498 (ROUND_RESTORE_FE_UPWARD): Likewise.
67499 (RUN_TEST_LOOP_f_f): New macro.
67500 (acos_test_data): New variable.
67501 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
67502 (acos_tonearest_test_data): New variable.
67503 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67504
67505 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
67506
67507 * benchtests/bench-skeleton.c (startup): Fix coding style.
67508
67509 2013-05-10 Joseph Myers <joseph@codesourcery.com>
67510
67511 [BZ #6809]
67512 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
67513 negative infinity argument.
67514 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
67515 negative infinity argument.
67516 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
67517 negative infinity argument.
67518 * math/libm-test.inc (tgamma_test): Expect errno to be set for
67519 domain errors.
67520
67521 2013-05-10 Florian Weimer <fweimer@redhat.com>
67522
67523 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
67524 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
67525 * iconv/iconv_prog.c (main): Likewise.
67526 * locale/programs/charmap-dir.c (charmap_readdir)
67527 (fopen_uncompressed): Likewise.
67528 * locale/programs/locfile.c (siblings_uncached)
67529 (write_locale_data): Use lstat64 instead of lstat.
67530 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
67531 stat.
67532
67533 2013-05-10 Andreas Jaeger <aj@suse.de>
67534
67535 [BZ #15395]
67536 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
67537 localization.
67538 Include <locale.h>.
67539
67540 2013-05-09 Carlos O'Donell <carlos@redhat.com>
67541
67542 * elf/dl-close.c (_dl_close_worker): Add comments.
67543
67544 2013-05-09 Joseph Myers <joseph@codesourcery.com>
67545
67546 [BZ #15359]
67547 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
67548 high part of pi/2.
67549 (__ieee754_rem_pio2l): Update comments.
67550
67551 [BZ #15429]
67552 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
67553 high part of pi/2.
67554 (__ieee754_rem_pio2l): Update comments.
67555
67556 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
67557 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
67558
67559 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
67560 M_PI_4l.
67561
67562 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
67563 (M_PI_34_LOG10El): Likewise.
67564 (M_PI2_LOG10El): Likewise.
67565 (M_PI4_LOG10El): Likewise.
67566 (M_PI_LOG10El): Likewise.
67567
67568 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67569
67570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67571
67572 2013-05-08 Joseph Myers <joseph@codesourcery.com>
67573
67574 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
67575 (MINUS_ZERO_INIT): Likewise.
67576 (PLUS_INFTY_INIT): Likewise.
67577 (MINUS_INFTY_INIT): Likewise.
67578 (QNAN_VALUE_INIT): Likewise.
67579 (MAX_VALUE_INIT): Likewise.
67580 (MIN_VALUE_INIT): Likewise.
67581 (MIN_SUBNORM_VALUE_INIT): Likewise.
67582 (plus_zero): Initialize with PLUS_ZERO_INIT.
67583 (minus_zero): Initialize with MINUS_ZERO_INIT.
67584 (plus_infty): Initialize with PLUS_INFTY_INIT.
67585 (minus_infty): Initialize with MINUS_INFTY_INIT.
67586 (qnan_value): Initialize with QNAN_VALUE_INIT.
67587 (max_value): Initialize with MAX_VALUE_INIT.
67588 (min_value): Initialize with MIN_VALUE_INIT.
67589 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
67590
67591 * math/libm-test.inc (RUN_TEST_if_f): New macro.
67592 (jn_test): Use TEST_if_f instead of TEST_ff_f.
67593 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
67594 (yn_test): Use TEST_if_f instead of TEST_ff_f.
67595
67596 * math/libm-test.inc (RUN_TEST_f_f): New macro.
67597 (RUN_TEST_2_f): Likewise.
67598 (RUN_TEST_ff_f): Likewise.
67599 (RUN_TEST_fi_f): Likewise.
67600 (RUN_TEST_fl_f): Likewise.
67601 (RUN_TEST_fff_f): Likewise.
67602 (RUN_TEST_c_f): Likewise.
67603 (RUN_TEST_f_f1): Likewise.
67604 (RUN_TEST_fF_f1): Likewise.
67605 (RUN_TEST_fI_f1): Likewise.
67606 (RUN_TEST_ffI_f1): Likewise.
67607 (RUN_TEST_c_c): Likewise.
67608 (RUN_TEST_cc_c): Likewise.
67609 (RUN_TEST_f_i): Likewise.
67610 (RUN_TEST_f_i_tg): Likewise.
67611 (RUN_TEST_ff_i_tg): Likewise.
67612 (RUN_TEST_f_b): Likewise.
67613 (RUN_TEST_f_b_tg): Likewise.
67614 (RUN_TEST_f_l): Likewise.
67615 (RUN_TEST_f_L): Likewise.
67616 (RUN_TEST_sincos): Likewise.
67617 * math/gen-libm-test.pl (new_test): Take new argument to indicate
67618 whether to show exceptions. Do not include ");\n" in return
67619 value.
67620 (special_functions): Output call to RUN_TEST_sincos instead of
67621 check_float calls. Update calls to new_test.
67622 (parse_args): Output call to single RUN_TEST_* macro instead of
67623 check_* calls and other assignments. Update calls to new_test.
67624
67625 [BZ #2546]
67626 [BZ #2560]
67627 [BZ #5159]
67628 [BZ #15426]
67629 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
67630 input to result for tgamma overflow.
67631 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
67632 (gamma_coeff): New variable.
67633 (NCOEFF): New macro.
67634 (gamma_positive): New function.
67635 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
67636 underflow here. Use gamma_positive instead of exp (lgamma) for
67637 other arguments.
67638 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
67639 (gamma_coeff): New variable.
67640 (NCOEFF): New macro.
67641 (gammaf_positive): New function.
67642 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
67643 underflow here. Use gamma_positive instead of exp (lgamma) for
67644 other arguments.
67645 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
67646 (gamma_coeff): New variable.
67647 (NCOEFF): New macro.
67648 (gammal_positive): New function.
67649 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
67650 underflow here. Use gamma_positive instead of exp (lgamma) for
67651 other arguments.
67652 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
67653 (gamma_coeff): New variable.
67654 (NCOEFF): New macro.
67655 (gammal_positive): New function.
67656 (__ieee754_gammal_r): Handle positive infinity, overflow and
67657 underflow here. Handle NaN the same as positive infinity. Remove
67658 check x < 0xffffffff for negative integers. Use gamma_positive
67659 instead of exp (lgamma) for other arguments.
67660 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
67661 (gamma_coeff): New variable.
67662 (NCOEFF): New macro.
67663 (gammal_positive): New function.
67664 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
67665 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
67666 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
67667 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
67668 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
67669 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
67670 * sysdeps/generic/math_private.h (__gamma_productf): New
67671 prototype.
67672 (__gamma_product): Likewise.
67673 (__gamma_productl): Likewise.
67674 * math/Makefile (libm-calls): Add gamma_product.
67675 * math/libm-test.inc (tgamma_test): Add more tests.
67676 * sysdeps/i386/fpu/libm-test-ulps: Update.
67677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67678
67679 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
67680
67681 * benchtests/bench-skeleton.c (main): Preheat CPU.
67682
67683 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
67684
67685 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
67686
67687 2013-05-07 Roland McGrath <roland@hack.frob.com>
67688
67689 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
67690 and _dl_skip_args_internal.
67691
67692 2013-05-07 Carlos O'Donell <carlos@redhat.com>
67693
67694 * manual/message.texi (Message Translation): Talk about users.
67695 Message to key mapping impacts design.
67696
67697 2013-05-06 Roland McGrath <roland@hack.frob.com>
67698
67699 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
67700
67701 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
67702
67703 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
67704 * sysdeps/wordsize-64/glob64.c: ... here.
67705
67706 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
67707 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
67708 New macros.
67709
67710 * debug/getlogin_r_chk.c: Moved to ...
67711 * login/getlogin_r_chk.c: ... here.
67712 * debug/Makefile (routines): Move getlogin_r_chk to ...
67713 * login/Makefile (routines): ... here.
67714 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
67715 * login/Versions (libc: GLIBC_2.4): ... here.
67716
67717 * io/poll.c (__poll): Renamed from poll.
67718 Add libc_hidden_def.
67719 (poll): Define as weak alias.
67720
67721 * debug/ptsname_r_chk.c: Moved to ...
67722 * login/ptsname_r_chk.c: ... here.
67723 * debug/Makefile (routines): Move ptsname_r_chk to ...
67724 * login/Makefile (routines): ... here.
67725 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
67726 * login/Versions (libc: GLIBC_2.4): ... here.
67727
67728 * posix/getlogin.c: Moved to ...
67729 * login/getlogin.c: ... here.
67730 * posix/getlogin_r.c: Moved to ...
67731 * login/getlogin_r.c: ... here.
67732 * posix/getlogin_r.c: Moved to ...
67733 * login/getlogin_r.c: ... here.
67734 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
67735 * login/Makefile (routines): ... here.
67736 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
67737 * login/Versions (libc: GLIBC_2.0): ... here.
67738
67739 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
67740 (setrlimit): Define as weak alias.
67741
67742 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
67743 Call __ names for open, ftruncate, and close.
67744 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
67745 (truncate): Define as weak alias.
67746
67747 2013-05-06 Joseph Myers <joseph@codesourcery.com>
67748
67749 * math/gen-libm-test.pl (parse_args): Initialize x before each
67750 test of frexp, modf and remquo.
67751
67752 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
67753 test signgam value.
67754
67755 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67756
67757 [BZ #15418]
67758 [BZ #15419]
67759 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
67760 internal tests.
67761 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67762
67763 2013-05-06 Roland McGrath <roland@hack.frob.com>
67764
67765 * elf/dl-writev.h: New file.
67766 * elf/dl-misc.c: Include it.
67767 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
67768 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
67769
67770 2013-05-04 Joseph Myers <joseph@codesourcery.com>
67771
67772 * math/libm-test.inc (noXFails): Remove variable.
67773 (noXPasses): Likewise.
67774 (BUILD_COMPLEX_INT): Remove macro.
67775 (print_screen): Remove xfail argument.
67776 (print_screen_max_error): Likewise.
67777 (update_stats): Likewise.
67778 (print_max_error): Likewise. Update calls to other affected
67779 functions.
67780 (print_complex_max_error): Likewise.
67781 (test_single_exception): Update calls to print_screen.
67782 (test_single_errno): Likewise.
67783 (check_float_internal): Remove xfail argument. Update calls to
67784 other affected functions.
67785 (check_float): Likewise.
67786 (check_complex): Likewise.
67787 (check_int): Likewise.
67788 (check_long): Likewise.
67789 (check_bool): Likewise.
67790 (check_longlong): Likewise.
67791 (main): Don't print noXFails and noXPasses.
67792 * math/gen-libm-test.pl (top level): Don't mention expected
67793 failure handling in comment.
67794 (new_test): Don't handle expected failures.
67795 (parse_args): Don't mention expected failure handling in comment.
67796 (generate_testfile): Don't handle expected failures.
67797 (parse_ulps): Likewise.
67798 (print_ulps_file): Likewise.
67799 (get_failure): Remove function.
67800 (output_test): Don't handle expected failures.
67801 * make/README.libm-test: Don't mention expected failure handling.
67802
67803 * math/libm-test.inc (plus_zero): Make const. Add initializer.
67804 (minus_zero): Likewise.
67805 (plus_infty): Likewise.
67806 (minus_infty): Likewise.
67807 (qnan_value): Likewise.
67808 (max_value): Likewise.
67809 (min_value): Likewise.
67810 (min_subnorm_value): Likewise.
67811 (initialize): Do not initialize those variables dynamically.
67812
67813 2013-05-03 Roland McGrath <roland@hack.frob.com>
67814
67815 * io/open.c (__open_2): Moved to ...
67816 * io/open_2.c: ... this new file.
67817 * io/open64.c (__open64_2): Moved to ...
67818 * io/open64_2.c: ... this new file.
67819 * io/openat.c (__openat_2): Moved to ...
67820 * io/openat_2.c: ... this new file.
67821 * io/openat64.c (__openat64_2): Moved to ...
67822 * io/openat64_2.c: ... this new file.
67823 * io/Makefile (routines): Add them.
67824 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
67825 * sysdeps/unix/sysv/linux/open_2.c: File removed.
67826 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
67827 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
67828 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
67829 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
67830 (__openat64): Add hidden_ver.
67831 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
67832 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
67833
67834 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
67835 Separately conditionalize setting of GLRO(dl_sysinfo) so
67836 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
67837 as well, but the actual setting is only under [NEED_DL_SYSINFO].
67838
67839 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67840
67841 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
67842 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
67843 definition.
67844 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
67845 * sysdeps/unix/sysv/linux/powerpc/init-first.c
67846 (_libc_vdso_platform_setup): Add __vdso_time initialization.
67847 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
67848 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
67849
67850 2013-05-03 Joseph Myers <joseph@codesourcery.com>
67851
67852 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
67853 test signgam value.
67854
67855 * math/libm-test.inc (hypot_test): Do not use
67856 IGNORE_ZERO_INF_SIGN.
67857
67858 2013-05-03 Andreas Jaeger <aj@suse.de>
67859
67860 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
67861 Linux 3.9.
67862 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
67863 (PF_MAX): Adjust for VSOCK change.
67864
67865 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67866
67867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67868
67869 2013-05-02 Carlos O'Donell <carlos@redhat.com>
67870
67871 [BZ #15264]
67872 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
67873 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
67874 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
67875
67876 2013-05-02 David S. Miller <davem@davemloft.net>
67877
67878 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67879
67880 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
67881
67882 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
67883
67884 2013-05-01 Roland McGrath <roland@hack.frob.com>
67885
67886 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
67887
67888 2013-05-01 Richard Smith <richard@metafoo.co.uk>
67889
67890 [BZ #14952]
67891 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
67892 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
67893 Use __attribute__ ((__gnu_inline__)).
67894 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
67895 Don't use __attribute__ ((__gnu_inline__)).
67896
67897 2013-05-01 Joseph Myers <joseph@codesourcery.com>
67898
67899 [BZ #15423]
67900 * math/s_catan.c (__catan): Handle small real or imaginary part of
67901 input specially to avoid spurious underflow.
67902 * math/s_catanf.c (__catanf): Likewise.
67903 * math/s_catanh.c (__catanh): Likewise.
67904 * math/s_catanhf.c (__catanhf): Likewise.
67905 * math/s_catanhl.c (__catanhl): Likewise.
67906 * math/s_catanl.c (__catanl): Likewise.
67907 * math/libm-test.inc (catan_test): Add more tests.
67908 (catanh_test): Likewise.
67909 * sysdeps/i386/fpu/libm-test-ulps: Update.
67910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67911
67912 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67913
67914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67915
67916 2013-04-30 Joseph Myers <joseph@codesourcery.com>
67917
67918 [BZ #15416]
67919 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
67920 accurately for denominator in atan2.
67921 * math/s_catanf.c (__catanf): Likewise.
67922 * math/s_catanh.c (__catanh): Likewise.
67923 * math/s_catanhf.c (__catanhf): Likewise.
67924 * math/s_catanhl.c (__catanhl): Likewise.
67925 * math/s_catanl.c (__catanl): Likewise.
67926 * math/libm-test.inc (catan_test): Add more tests.
67927 (catanh_test): Likewise.
67928 * sysdeps/i386/fpu/libm-test-ulps: Update.
67929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67930
67931 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
67932
67933 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
67934
67935 * benchtests/Makefile (bench): Remove slow benchmarks.
67936 * benchtests/atan-inputs: Add slow benchmark inputs.
67937 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
67938 (BENCH_FUNC): Accept variant offset.
67939 (VARIANT): Define.
67940 * benchtests/bench-skeleton.c (main): Run benchmark for each
67941 variant.
67942 * benchtests/cos-inputs: Add slow benchmark inputs.
67943 * benchtests/exp-inputs: Likewise.
67944 * benchtests/pow-inputs: Likewise.
67945 * benchtests/sin-inputs: Likewise.
67946 * benchtests/slowatan-inputs: Remove.
67947 * benchtests/slowatan.c: Remove.
67948 * benchtests/slowcos-inputs: Remove.
67949 * benchtests/slowcos.c: Remove.
67950 * benchtests/slowexp-inputs: Remove.
67951 * benchtests/slowexp.c: Remove.
67952 * benchtests/slowpow-inputs: Remove.
67953 * benchtests/slowpow.c: Remove.
67954 * benchtests/slowsin-inputs: Remove.
67955 * benchtests/slowsin.c: Remove.
67956 * benchtests/slowtan-inputs: Remove.
67957 * benchtests/slowtan.c: Remove.
67958 * benchtests/tan-inputs: Add slow benchmark inputs.
67959 * scripts/bench.pl: Parse comments and directives.
67960
67961 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
67962 in CPPFLAGS.
67963 ($(objpfx)bench-%.c): Remove *-ITER.
67964 * benchtests/bench-modf.c: Remove definition of ITER.
67965 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
67966 (main): Loop for DURATION seconds instead of fixed number of
67967 iterations.
67968 * scripts/bench.pl: Don't expect iterations in parameters.
67969
67970 2013-04-29 Roland McGrath <roland@hack.frob.com>
67971
67972 * io/fchdir.c (__fchdir): Renamed from fchdir.
67973 (fchdir): Define as weak alias.
67974
67975 2013-04-29 Joseph Myers <joseph@codesourcery.com>
67976
67977 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
67978 (ERRNO_EDOM): Likewise.
67979 (ERRNO_ERANGE): Likewise.
67980 (noErrnoTests): New variable.
67981 (init_max_error): Set errno to 0.
67982 (test_single_errno): New function.
67983 (test_errno): Likewise.
67984 (check_float_internal): Call test_errno. Set errno to 0.
67985 (check_complex): Refer to errno tests in comment.
67986 (check_int): Call test_errno. Set errno to 0.
67987 (check_long): Likewise.
67988 (check_bool): Likewise.
67989 (check_longlong): Likewise.
67990 (cos_test): Use ERRNO_* flags for errno tests instead of
67991 check_int.
67992 (expm1_test): Likewise.
67993 (fmod_test): Likewise.
67994 (ilogb_test): Likewise.
67995 (lgamma_test): Likewise.
67996 (pow_test): Likewise.
67997 (remainder_test): Likewise.
67998 (sin_test): Likewise.
67999 (tan_test): Likewise.
68000 (yn_test): Likewise.
68001 (initialize): Set errno to 0.
68002 (main): Print number of errno tests.
68003 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
68004
68005 2013-04-29 Andreas Jaeger <aj@suse.de>
68006
68007 [BZ #15084]
68008 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
68009 and RES_USEVC.
68010
68011 [BZ #15085]
68012 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
68013 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
68014 unimplemented.
68015
68016 [BZ #15380]
68017 * stdlib/random.c (__initstate): Return NULL if
68018 __initstate fails.
68019
68020 [BZ #15086]
68021 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
68022 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
68023 RES_SNGLKUPREOP.
68024
68025 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68026
68027 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68028
68029 2013-04-29 Joseph Myers <joseph@codesourcery.com>
68030
68031 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
68032 of individual tests.
68033 (casin_test): Likewise.
68034 (casinh_test): Likewise.
68035
68036 2013-04-27 Joseph Myers <joseph@codesourcery.com>
68037
68038 [BZ #15409]
68039 * math/s_catan.c (__catan): Handle arguments with large real or
68040 imaginary part separately without squaring.
68041 * math/s_catanf.c (__catanf): Likewise.
68042 * math/s_catanh.c (__catanh): Likewise.
68043 * math/s_catanhf.c (__catanhf): Likewise.
68044 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68045 and redefine.
68046 (__catanhl): Handle arguments with large real or imaginary part
68047 separately without squaring.
68048 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68049 and redefine.
68050 (__catanl): Handle arguments with large real or imaginary part
68051 separately without squaring.
68052 * math/libm-test.inc (catan_test): Add more tests.
68053 (catanh_test): Likewise.
68054 * sysdeps/i386/fpu/libm-test-ulps: Update.
68055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68056
68057 2013-04-27 Andreas Jaeger <aj@suse.de>
68058
68059 [BZ #15007]
68060 * stdlib/stdlib.h: Update guards for qecvt.
68061 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
68062 <stdlib.h>.
68063
68064 2013-04-27 Allan McRae <allan@archlinux.org>
68065
68066 * sysdeps/i386/fpu/libm-test-ulps: Update.
68067
68068 2013-04-26 Joseph Myers <joseph@codesourcery.com>
68069
68070 [BZ #15406]
68071 * math/s_catan.c: Include <float.h>.
68072 (__catan): Ensure underflow exception occurs for underflowed
68073 result.
68074 * math/s_catanf.c: Include <float.h>.
68075 (__catanf): Ensure underflow exception occurs for underflowed
68076 result.
68077 * math/s_catanh.c: Include <float.h>.
68078 (__catanh): Ensure underflow exception occurs for underflowed
68079 result.
68080 * math/s_catanhf.c: Include <float.h>.
68081 (__catanhf): Ensure underflow exception occurs for underflowed
68082 result.
68083 * math/s_catanhl.c: Include <float.h>.
68084 (__catanhl): Ensure underflow exception occurs for underflowed
68085 result.
68086 * math/s_catanl.c: Include <float.h>.
68087 (__catanl): Ensure underflow exception occurs for underflowed
68088 result.
68089 * math/libm-test.inc (catan_test): Add more tests.
68090 (catanh_test): Likewise.
68091
68092 [BZ #15405]
68093 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
68094 underflowed result.
68095 * math/s_ccoshf.c (__ccoshf): Likewise.
68096 * math/s_ccoshl.c (__ccoshl): Likewise.
68097 * math/s_csin.c (__csin): Likewise.
68098 * math/s_csinf.c (__csinf): Likewise.
68099 * math/s_csinh.c (__csinh): Likewise.
68100 * math/s_csinhf.c (__csinhf): Likewise.
68101 * math/s_csinhl.c (__csinhl): Likewise.
68102 * math/s_csinl.c (__csinl): Likewise.
68103 * math/libm-test.inc (ccos_test): Add more tests.
68104 (ccosh_test): Likewise.
68105 (csin_test): Likewise.
68106 (csinh_test): Likewise.
68107
68108 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68109
68110 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
68111 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
68112 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
68113 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
68114 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
68115 powerpc/power5+/fpu folders.
68116 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
68117
68118
68119 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
68120
68121 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68122
68123 2013-04-25 Joseph Myers <joseph@codesourcery.com>
68124
68125 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
68126 additions to variable.
68127 [$(config-machine) = x86_64] (modules-names): Likewise.
68128 ($(objpfx)tst-audit3): Remove dependency.
68129 ($(objpfx)tst-audit3.out): Likewise.
68130 ($(objpfx)tst-audit4): Likewise.
68131 ($(objpfx)tst-audit4.out): Likewise.
68132 ($(objpfx)tst-audit5): Likewise.
68133 ($(objpfx)tst-audit5.out): Likewise.
68134 ($(objpfx)tst-audit6): Likewise.
68135 ($(objpfx)tst-audit6.out): Likewise.
68136 ($(objpfx)tst-audit7): Likewise.
68137 ($(objpfx)tst-audit7.out): Likewise.
68138 (tst-audit3-ENV): Remove variable.
68139 (tst-audit4-ENV): Likewise.
68140 (tst-audit5-ENV): Likewise.
68141 (tst-audit6-ENV): Likewise.
68142 (tst-audit7-ENV): Likewise.
68143 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
68144 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
68145 addition to variable.
68146 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
68147 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
68148 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
68149 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
68150 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
68151 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
68152 tst-audit3, tst-audit4 and tst-audit5.
68153 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
68154 tst-audit6 and tst-audit7.
68155 [$(subdir) = elf] (modules-names): Add audit modules for those
68156 tests.
68157 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
68158 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
68159 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
68160 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
68161 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
68162 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
68163 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
68164 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
68165 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
68166 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
68167 [$(subdir) = elf] (tst-audit3-ENV): New variable.
68168 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
68169 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
68170 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
68171 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
68172 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
68173 Likewise.
68174 [$(subdir) = elf && $(config-cflags-avx) = yes]
68175 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
68176 [$(subdir) = elf && $(config-cflags-avx) = yes]
68177 (CFLAGS-tst-auditmod4a.c): Likewise.
68178 [$(subdir) = elf && $(config-cflags-avx) = yes]
68179 (CFLAGS-tst-auditmod4b.c): Likewise.
68180 [$(subdir) = elf && $(config-cflags-avx) = yes]
68181 (CFLAGS-tst-auditmod6b.c): Likewise.
68182 [$(subdir) = elf && $(config-cflags-avx) = yes]
68183 (CFLAGS-tst-auditmod6c.c): Likewise.
68184 [$(subdir) = elf && $(config-cflags-avx) = yes]
68185 (CFLAGS-tst-auditmod7b.c): Likewise.
68186 * elf/tst-audit3.c: Move to ...
68187 * sysdeps/x86_64/tst-audit3.c: ... here.
68188 * elf/tst-audit4.c: Move to ...
68189 * sysdeps/x86_64/tst-audit4.c: ... here.
68190 * elf/tst-audit5.c: Move to ...
68191 * sysdeps/x86_64/tst-audit5.c: ... here.
68192 * elf/tst-audit6.c: Move to ...
68193 * sysdeps/x86_64/tst-audit6.c: ... here.
68194 * elf/tst-audit7.c: Move to ...
68195 * sysdeps/x86_64/tst-audit7.c: ... here.
68196 * elf/tst-auditmod3a.c: Move to ...
68197 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
68198 * elf/tst-auditmod3b.c: Move to ...
68199 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
68200 * elf/tst-auditmod4a.c: Move to ...
68201 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
68202 * elf/tst-auditmod4b.c: Move to ...
68203 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
68204 * elf/tst-auditmod5a.c: Move to ...
68205 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
68206 * elf/tst-auditmod5b.c: Move to ...
68207 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
68208 * elf/tst-auditmod6a.c: Move to ...
68209 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
68210 * elf/tst-auditmod6b.c: Move to ...
68211 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
68212 * elf/tst-auditmod6c.c: Move to ...
68213 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
68214 * elf/tst-auditmod7a.c: Move to ...
68215 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
68216 * elf/tst-auditmod7b.c: Move to ...
68217 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
68218
68219 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
68220
68221 [BZ #15366]
68222 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
68223 define unconditionally.
68224 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
68225 define unconditionally.
68226 (INT8_C, INT16_C, etc.): Likewise.
68227
68228 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
68229
68230 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
68231 __ehdr_start with hidden visibility.
68232
68233 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
68234
68235 2013-04-24 Carlos O'Donell <carlos@redhat.com>
68236
68237 * math/libm-test.inc (cos_test): Use accurate hex constants.
68238 (sincost_test): Likewise.
68239
68240 2013-04-24 Joseph Myers <joseph@codesourcery.com>
68241
68242 * math/libm-test.inc (catan_test): Add more tests.
68243 (catanh_test): Likewise.
68244
68245 * math/s_catanf.c (__catanf): Use suffixed floating-point
68246 constants.
68247 * math/s_catanhf.c (__catanhf): Likewise.
68248 * math/s_catanhl.c (__catanhl): Likewise.
68249 * math/s_catanl.c (__catanl): Likewise.
68250
68251 [BZ #15394]
68252 * math/s_catan.c (__catan): Calculate imaginary part of result
68253 with log1p not log unless computing log of number close to 0.
68254 * math/s_catanf.c (__catanf): Likewise.
68255 * math/s_catanl.c (__catanl): Likewise.
68256 * math/s_catanh.c (__catanh): Calculate real part of result with
68257 log1p not log unless computing log of number close to 0.
68258 * math/s_catanhf.c (__catanhf): Likewise.
68259 * math/s_catanhl.c (__catanhl): Likewise.
68260 * math/libm-test.inc (catan_test): Add more tests.
68261 (catanh_test): Likewise.
68262 * sysdeps/i386/fpu/libm-test-ulps: Update.
68263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68264
68265 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
68266
68267 * benchtests/Makefile: Mention files in which fast and slow
68268 paths of math functions are implemented.
68269
68270 2013-04-23 Roland McGrath <roland@hack.frob.com>
68271
68272 * sysdeps/posix/timespec_get.c: New file.
68273
68274 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68275
68276 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
68277 POWER.
68278 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
68279 for POWER.
68280 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
68281 powerpc/power5/fpu folders.
68282 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
68283 * benchtests/Makefile: Add modf testcase.
68284 * benchtests/bench-modf.c: New file: Benchmark test for mo
68285
68286 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
68287
68288 [BZ #14888]
68289 * time/Makefile (tests): Add tst-strptime-whitespace.
68290 * time/strptime_l.c (get_number): Use ISSPACE.
68291 (__strptime_internal): Likewise.
68292 * time/tst-strptime-whitespace.c: New test case.
68293
68294 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
68295
68296 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
68297 member.
68298 (_nss_files_init): Set it here.
68299
68300 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
68301
68302 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
68303 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
68304 unsigned.
68305
68306 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
68307
68308 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
68309
68310 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
68311
68312 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
68313 size just once.
68314
68315 2013-04-21 David S. Miller <davem@davemloft.net>
68316
68317 * po/ru.po: Update Russion translation from translation project.
68318
68319 2013-04-17 Adam Conrad <adconrad@0c3.net>
68320
68321 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
68322 and setfsgid.
68323
68324 2013-04-17 Carlos O'Donell <carlos@redhat.com>
68325
68326 * configure.in: Remove i386 configure warning. Remove i386 case.
68327 * configure: Regenerate.
68328 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
68329 Add example to error message.
68330 * sysdeps/i386/configure: Regenerate.
68331
68332 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
68333
68334 * benchtests/Makefile (bench): Add cos, tan, slowcos and
68335 slowtan.
68336 * benchtests/cos-inputs: New file.
68337 * benchtests/slowcos-inputs: New file.
68338 * benchtests/slowcos.c: New file.
68339 * benchtests/slowtan-inputs: New file.
68340 * benchtests/slowtan.c: New file.
68341 * benchtests/tan-inputs: New file.
68342
68343 2013-04-16 Roland McGrath <roland@hack.frob.com>
68344
68345 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
68346 considered kosher.
68347
68348 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
68349
68350 * benchtests/Makefile: Include cppflags-iterator.mk to add
68351 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
68352
68353 * Makefile.in (bench-clean): New target.
68354 * benchtests/Makefile (bench-clean): Likewise.
68355
68356 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
68357
68358 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
68359
68360 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
68361
68362 * stdio-common/tstdiomisc.c: Fix coding-style violation.
68363
68364 2013-04-15 Andreas Schwab <schwab@suse.de>
68365
68366 * nscd/grpcache.c (cache_addgr): Properly check for short write.
68367 * nscd/initgrcache.c (addinitgroupsX): Likewise.
68368 * nscd/pwdcache.c (cache_addpw): Likewise.
68369 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
68370 more than recsize.
68371
68372 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
68373
68374 * benchtests/Makefile (bench): Write all output to
68375 bench-out.tmp together.
68376
68377 2013-04-15 Andreas Schwab <schwab@suse.de>
68378
68379 * nscd/nscd.c (main): Don't fork again after closing files.
68380
68381 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
68382
68383 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
68384
68385 * benchtests/Rules (bench-deps): Collect dependencies into a
68386 single variable. Add Makefile to dependencies.
68387 ($(objpfx)bench-%.c): Depend on bench-deps.
68388
68389 2013-04-12 Roland McGrath <roland@hack.frob.com>
68390 Xavier Roche <roche+kml2@exalead.com>
68391
68392 [BZ #15361]
68393 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
68394 just that it's a file descriptor.
68395 * manual/llio.texi (Synchronizing AIO Operations): Update description
68396 for EBADF error from aio_fsync.
68397
68398 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
68399
68400 * Rules (bench): Move target definition...
68401 * benchtests/Makefile: ... here.
68402
68403 2013-04-11 Carlos O'Donell <carlos@redhat.com>
68404
68405 * math/libm-test.inc (cos_test): Fix PI/2 test.
68406 (sincos_test): Likewise.
68407 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
68408 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
68409
68410 2013-04-11 Andreas Schwab <schwab@suse.de>
68411
68412 [BZ #13988]
68413 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
68414 accept exponent character only when digits were seen.
68415 * stdio-common/Makefile (tests): Add bug26.
68416 * stdio-common/bug26.c: New file.
68417
68418 [BZ #14293]
68419 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
68420 non-freeable.
68421
68422 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
68423
68424 * Makeconfig (rtld-prefix): Define built linker prefix.
68425 * Rules (run-bench): Use it.
68426 * math/Makefile (run-regen-ulps): Likewise.
68427
68428 * Rules (bench): Remove eval.
68429
68430 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
68431 Roland McGrath <roland@hack.frob.com>
68432 Ondrej Bilka <neleai@seznam.cz>
68433
68434 [BZ #15346]
68435 * time/getdate.c: Include ctype.h and alloca.h.
68436 (__getdate_r): Trim leading and trailing spaces of input.
68437 * time/tst-getdate.c (tests): Add tests with leading and
68438 trailing spaces.
68439
68440 2013-04-08 Roland McGrath <roland@hack.frob.com>
68441
68442 [BZ #14280]
68443 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
68444 when computing value.
68445
68446 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68447
68448 * math/README.libm-test (How can I generate "libm-test-ulps"?):
68449 Use testrun.sh to run libm tests.
68450
68451 [BZ #15309]
68452 * elf/dl-open.c (dl_open_worker): memset all of seen array.
68453
68454 2013-04-06 Marko Myllynen <myllynen@redhat.com>
68455
68456 [BZ #15264]
68457 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
68458
68459 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68460
68461 * Makefile.in (regen-ulps): New target.
68462 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
68463 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
68464 [ifneq (no,$(PERL)] (regen-ulps): New target.
68465 [ifeq (no,$(PERL)] (regen-ulps): New target.
68466 * math/libm-test.inc (ulps_file_name): Define.
68467 (output_dir): New variable.
68468 (options): Add "output-dir" option.
68469 (parse_opt): Handle 'o' case.
68470 (main): If output_dir is non-NULL use it as a prefix
68471 otherwise use "".
68472 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
68473
68474 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68475
68476 [BZ #10060, #10062]
68477 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
68478 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
68479 fail configure if __sync_val_compare_and_swap is not inlined.
68480 * sysdeps/i386/configure: Regenerate.
68481 * configure.in: Build for i686 when configured for i386.
68482 * configure: Regenerate.
68483 * README: Remove i386 reference.
68484
68485 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68486
68487 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
68488 * sysdeps/s390/s390-64/sysdep.h: Likewise.
68489
68490 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
68491
68492 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
68493 (lmsnanval): New variables.
68494 (F): Add conversion tests.
68495 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
68496 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
68497
68498 * stdio-common/tstdiomisc.c (F): Properly collect individual
68499 tests' results.
68500
68501 [BZ #14686, #15336]
68502 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
68503 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
68504 Instead, use input NaN values or generate a qNaN by arithmetic
68505 operation. Also fix bugs to comply with the standard.
68506 * math/libm-test.inc (remainder_test): Add more tests.
68507
68508 [BZ #15335, #15342]
68509 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
68510 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
68511 input NaN values or generate a qNaN by arithmetic operation.
68512
68513 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
68514 unreachable code.
68515
68516 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
68517 definitions.
68518
68519 2013-04-03 Joseph Myers <joseph@codesourcery.com>
68520
68521 [BZ #14478]
68522 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
68523 underflowed result.
68524 * math/s_cexpf.c (__cexpf): Likewise.
68525 * math/s_cexpl.c (__cexpl): Likewise.
68526 * math/libm-test.inc (cexp_test): Add more tests.
68527
68528 2013-04-03 Andreas Schwab <schwab@suse.de>
68529
68530 [BZ #15330]
68531 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
68532 order arrays from heap if bigger than alloca cutoff.
68533
68534 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
68535
68536 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
68537 (SNAN_TESTS_double): Refer to GCC PR56831.
68538 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
68539 GCC PR56828.
68540
68541 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
68542
68543 * Rules (bench): Move bench.out after the run is complete.
68544
68545 * Rules (bench): Echo currently running benchmark.
68546
68547 * benchtests/Makefile (bench): Add atan and slowatan.
68548 * benchtests/atan-inputs: New file.
68549 * benchtests/slowatan-inputs: New file.
68550 * benchtests/slowatan.c: New file.
68551
68552 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
68553 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
68554 its value.
68555
68556 [BZ #15305]
68557 * sysdeps/unix/sysv/linux/kernel-features.h
68558 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
68559 __ASSUME_XFS_RESTRICTED_CHOWN.
68560 * sysdeps/unix/sysv/linux/pathconf.c
68561 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
68562 Save and restore errno.
68563
68564 2013-04-02 Joseph Myers <joseph@codesourcery.com>
68565
68566 [BZ #15327]
68567 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
68568 arguments using __kernel_casinh.
68569 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
68570 arguments using __kernel_casinhf.
68571 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
68572 arguments using __kernel_casinhl.
68573 * math/libm-test.inc (cacosh_test): Add more tests.
68574 * sysdeps/i386/fpu/libm-test-ulps: Update.
68575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68576
68577 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
68578
68579 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
68580 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
68581
68582 * bench/Makefile (bench): Add sin and slowsin.
68583 * benchtests/sin-inputs: New file.
68584 * benchtests/slowsin-inputs: New file.
68585 * benchtests/slowsin.c: New file.
68586
68587 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
68588 (bench): Add slowexp and slowpow.
68589 (exp-ITER): Increase iterations.
68590 (pow-ITER): Likewise.
68591 * benchtests/exp-inputs: Change input.
68592 * benchtests/pow-inputs: Likewise.
68593 * benchtests/slowexp-inputs: New file.
68594 * benchtests/slowexp.c: New file.
68595 * benchtests/slowpow-inputs: New file.
68596 * benchtests/slowpow.c: New file.
68597
68598 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68599
68600 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
68601 instructions.
68602 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
68603 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
68604 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
68605 * benchtests/Makefile: Add rint benchtest.
68606 * benchtests/rint-inputs: Input for rint benchtest.
68607
68608 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
68609
68610 * Versions.def (libm): Add GLIBC_2.18.
68611 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
68612 hidden libm prototypes.
68613 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
68614 * math/Makefile (libm-calls): Add s_issignaling.
68615 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
68616 __issignalingf, __issignalingl. Adjust all libm.abilist files.
68617 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
68618 declaration.
68619 * math/math.h [__USE_GNU] (issignaling): New macro.
68620 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
68621 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
68622 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
68623 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
68624 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
68625 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
68626 * manual/arith.texi (issignaling): New section.
68627 * manual/libm-err-tab.pl (@all_functions): Update comment.
68628 * math/gen-libm-test.pl (parse_args): Apply special handling for
68629 issignaling.
68630 * math/libm-test.inc (print_float, issignaling_test): New
68631 functions.
68632 (check_float_internal): Add issignaling checks.
68633 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
68634 default definition.
68635 * sysdeps/powerpc/math-tests.h: New file.
68636 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
68637 tests.
68638 * math/test-snan.c (TEST_FUNC): Likewise.
68639
68640 2013-03-30 David S. Miller <davem@davemloft.net>
68641
68642 * po/de.po: Update from translation team.
68643
68644 2013-03-30 Joseph Myers <joseph@codesourcery.com>
68645
68646 [BZ #10357]
68647 * math/k_casinh.c (__kernel_casinh): Handle arguments with
68648 imaginary part less than 1.0 and real part less than 0.5
68649 specially.
68650 * math/k_casinhf.c (__kernel_casinhf): Likewise.
68651 * math/k_casinhl.c (__kernel_casinhl): Likewise.
68652 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
68653 (cacos_test): Add more tests.
68654 (casin_test): Likewise.
68655 (casinh_test): Likewise.
68656 * sysdeps/i386/fpu/libm-test-ulps: Update.
68657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68658
68659 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
68660
68661 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
68662 ONE with its value.
68663
68664 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
68665 (__pow_mp): Replace ONE and MONE with their values.
68666 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68667 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
68668 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68669 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
68670 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68671 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
68672
68673 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
68674
68675 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
68676 (__pow_mp): Replace ZERO and MZERO with their values.
68677 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
68678 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68679 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68680 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
68681 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68682 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
68683 (__sqr): Likewise.
68684
68685 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
68686
68687 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
68688
68689 2013-03-28 Roland McGrath <roland@hack.frob.com>
68690
68691 * include/stdlib.h [!SHARED] (__call_tls_dtors):
68692 Declare with __attribute__ ((weak)).
68693 * stdlib/exit.c (__libc_atexit) [!SHARED]:
68694 Call __call_tls_dtors only if it's not NULL.
68695
68696 2013-03-28 Roland McGrath <roland@hack.frob.com>
68697
68698 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
68699 didn't do it already, then set _dl_phdr and _dl_phnum based on the
68700 magic __ehdr_start linker symbol if it's defined.
68701 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
68702 them up here if it was already done.
68703
68704 * elf/dl-support.c (_dl_phdr): Make pointer to const.
68705 (_dl_aux_init): Use const in cast when setting it.
68706 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
68707 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
68708 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
68709
68710 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
68711 Declare them here.
68712 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
68713 * csu/libc-tls.c: Nor here.
68714 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
68715
68716 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
68717 (__libc_message): Never call vsyslog.
68718
68719 2013-03-28 Alan Modra <amodra@gmail.com>
68720
68721 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
68722 Define as empty.
68723 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
68724 Likewise.
68725
68726 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68727
68728 [BZ #15214]
68729 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
68730 underflow.
68731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68732
68733 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
68734
68735 [BZ #15304]
68736 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
68737 Don't add gid passed as argument.
68738
68739 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
68740
68741 2013-03-27 Joseph Myers <joseph@codesourcery.com>
68742
68743 [BZ #15307]
68744 * math/k_casinh.c (__kernel_casinh): Handle arguments with
68745 imaginary part between 1.0 and 1.5 and real part less than 0.5
68746 specially.
68747 * math/k_casinhf.c (__kernel_casinhf): Likewise.
68748 * math/k_casinhl.c (__kernel_casinhl): Likewise.
68749 * math/libm-test.inc (cacos_test): Add more tests.
68750 (casin_test): Likewise.
68751 (casinh_test): Likewise.
68752 * sysdeps/i386/fpu/libm-test-ulps: Update.
68753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68754
68755 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
68756
68757 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
68758 constants.
68759 (norm): Likewise.
68760 (denorm): Likewise.
68761 (__dbl_mp): Likewise.
68762 (add_magnitudes): Likewise.
68763 (sub_magnitudes): Likewise.
68764 (__add): Likewise.
68765 (__sub): Likewise.
68766 (__mul): Likewise.
68767 (__sqr): Likewise.
68768 (__inv): Likewise.
68769 (__dvd): Likewise.
68770
68771 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
68772 commented code.
68773 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
68774 (__dubcos): Likewise.
68775 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
68776 (__ieee754_acos): Likewise.
68777 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
68778 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
68779 (__exp1): Likewise.
68780 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68781 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
68782 (log1): Likewise.
68783 (my_log2): Likewise.
68784 (checkint): Likewise.
68785 * sysdeps/ieee754/dbl-64/e_remainder.c
68786 (__ieee754_remainder): Likewise.
68787 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68788 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
68789 (bsloww): Likewise.
68790 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
68791
68792 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
68793 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
68794 MANTISSA_STORE_T to store computations on mantissa. Use
68795 macros for rounding and division.
68796 (denorm): Likewise.
68797 (__dbl_mp): Likewise.
68798 (add_magnitudes): Likewise.
68799 (sub_magnitudes): Likewise.
68800 (__mul): Likewise.
68801 (__sqr): Likewise.
68802 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
68803 powers of two in terms of TWOPOW macro.
68804 (mp_no): Make type of mantissa as MANTISSA_T.
68805 [!RADIXI]: Define RADIXI.
68806 [!TWO52]: Define TWO52.
68807 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
68808
68809 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68810
68811 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
68812 llroundl symbol when building for PPC32.
68813
68814 2013-03-24 Mark H Weaver <mhw@netris.org>
68815
68816 * manual/arith.texi (Normalization Functions): Fix prototypes for
68817 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
68818
68819 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68820
68821 [BZ #13889]
68822 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
68823 high value to check if expl overflow.
68824 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
68825 to check for underflow and overflow.
68826 * math/libm-test.inc: Add exp test.
68827
68828 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
68829
68830 [BZ #11120]
68831 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
68832 with NOT_IN_libc.
68833
68834 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68835
68836 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
68837 symbol.
68838
68839 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
68840
68841 * math/gen-libm-test.pl (parse_args, special_functions): Properly
68842 wrap blocks consisting of several statements.
68843
68844 * sysdeps/generic/math-tests.h: New file.
68845 * sysdeps/i386/fpu/math-tests.h: Likewise.
68846 * math/test-snan.c: Include it.
68847 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
68848
68849 2013-03-21 Joseph Myers <joseph@codesourcery.com>
68850
68851 [BZ #15285]
68852 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
68853 (__ieee754_j0l): Do not improve calculations using cos of twice
68854 input for inputs above LDBL_MAX / 2.0L.
68855 (__ieee754_y0l): Likewise.
68856 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
68857 (__ieee754_j1l): Do not improve calculations using cos of twice
68858 input for inputs above LDBL_MAX / 2.0L.
68859 (__ieee754_y1l): Likewise.
68860 * math/libm-test.inc (j0_test): Add another test.
68861 (j1_test): Likewise.
68862 (y0_test): Likewise.
68863 (y1_test): Likewise.
68864 * sysdeps/i386/fpu/libm-test-ulps: Update.
68865
68866 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
68867
68868 * Rules ($(objpfx)bench-%.c): Include code from a C source
68869 file.
68870
68871 2013-03-21 Joseph Myers <joseph@codesourcery.com>
68872
68873 [BZ #15287]
68874 * math/k_casinh.c (__kernel_casinh): Handle arguments with
68875 imaginary part 1.0 and real part less than 0.5 specially.
68876 * math/k_casinhf.c (__kernel_casinhf): Likewise.
68877 * math/k_casinhl.c (__kernel_casinhl): Likewise.
68878 * math/libm-test.inc (cacos_test): Add more tests.
68879 (casin_test): Likewise.
68880 (casinh_test): Likewise.
68881 * sysdeps/i386/fpu/libm-test-ulps: Update.
68882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68883
68884 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
68885
68886 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
68887 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
68888
68889 2013-03-20 Joseph Myers <joseph@codesourcery.com>
68890
68891 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
68892 * config.make.in (config-cflags-sse4): Remove variable.
68893 (config-cflags-avx): Likewise.
68894 (config-cflags-sse2avx): Likewise.
68895 (config-cflags-novzeroupper): Likewise.
68896 (config-asflags-i686): Likewise.
68897 (have-mfma4): Likewise.
68898 (have-as-vis3): Likewise.
68899 (MIG): Likewise.
68900 * configure.in (MIG): Do not AC_SUBST.
68901 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
68902 (libc_cv_cc_sse4): Do not AC_SUBST.
68903 (libc_cv_cc_avx): Likewise.
68904 (libc_cv_cc_sse2avx): Likewise.
68905 (libc_cv_cc_novzeroupper): Likewise.
68906 (libc_cv_cc_fma4): Likewise.
68907 (libc_cv_as_i686): Likewise.
68908 (libc_cv_sparc_as_vis3): Likewise.
68909 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
68910 LIBC_CONFIG_VAR.
68911 (config-asflags-i686): Likewise.
68912 (config-cflags-avx): Likewise.
68913 (config-cflags-sse2avx): Likewise.
68914 (have-mfma4): Likewise.
68915 (config-cflags-novzeroupper): Likewise.
68916 * sysdeps/mach/configure.in (MIG): Likewise.
68917 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
68918 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
68919 LIBC_CONFIG_VAR.
68920 (config-cflags-avx): Likewise.
68921 (config-cflags-sse2avx): Likewise.
68922 (have-mfma4): Likewise.
68923 (config-cflags-novzeroupper): Likewise.
68924 * configure: Regenerated.
68925 * sysdeps/i386/configure: Likewise.
68926 * sysdeps/mach/configure: Likewise.
68927 * sysdeps/sparc/configure: Likewise.
68928 * sysdeps/x86_64/configure: Likewise.
68929
68930 2013-03-20 Roland McGrath <roland@hack.frob.com>
68931
68932 [BZ #14812]
68933 * locale/programs/localedef.c (options): Put N_ translation marker
68934 on argument names, not just descriptions.
68935
68936 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
68937
68938 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
68939
68940 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
68941
68942 [BZ #14176]
68943 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
68944
68945 2013-03-19 Roland McGrath <roland@hack.frob.com>
68946
68947 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
68948 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
68949 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
68950 [!BEFORE_ABORT] (before_abort): New function.
68951 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
68952 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
68953 (writev_for_fatal): New function.
68954 (WRITEV_FOR_FATAL): New macro; call that.
68955 (backtrace_and_maps): New function.
68956 (BEFORE_ABORT): New macro; call that.
68957 (struct str_list): Type removed.
68958 (__libc_message, __libc_fatal): Functions removed.
68959 Include <sysdeps/posix/libc_fatal.c> instead.
68960
68961 2013-03-19 Joseph Myers <joseph@codesourcery.com>
68962
68963 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
68964 constants.
68965 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
68966 double constants.
68967
68968 2013-03-19 Andreas Schwab <schwab@suse.de>
68969
68970 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
68971 * sysdeps/gnu/configure: Regenerate.
68972
68973 * configure.in: Substitute libc_cv_rtlddir.
68974 * configure: Regenerate.
68975 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
68976 * Makeconfig (rtlddir, inst_rtlddir): New variables.
68977 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
68978 * elf/Makefile (install-others, CFLAGS-interp.c)
68979 (ldso_install, common-ldd-rewrite): Likewise.
68980 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
68981 $(inst_slibdir)/$(rtld-installed-name).
68982 * scripts/rellns-sh: Add -p option.
68983 * Makerules (make-shlib-link): Use rellns-sh to get relative name
68984 for source.
68985
68986 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
68987
68988 * manual/nptl.texi: Renamed to ...
68989 * manual/threads.texi: ... this.
68990 * manual/Makefile (chapters): Update.
68991
68992 2013-03-18 Roland McGrath <roland@hack.frob.com>
68993
68994 [BZ #14812]
68995 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
68996 on argument names, not just descriptions.
68997 * malloc/memusagestat.c (options): Likewise.
68998 * nss/getent.c (options): Likewise.
68999
69000 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
69001
69002 [BZ #14812]
69003 * iconv/iconv_prog.c (options): Put N_ translation marker
69004 on argument names, not just descriptions.
69005 * iconv/iconvconfig.c (options): Likewise.
69006
69007 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
69008
69009 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
69010 implementation which is faster on all x86_64 architectures.
69011 Tested on AMD, Intel Nehalem, SNB, IVB.
69012 * sysdeps/x86_64/strnlen.S: Likewise.
69013
69014 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
69015 Remove all multiarch strlen and strnlen versions.
69016 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
69017 Remove strlen and strnlen related parts.
69018
69019 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
69020 Inline strlen part.
69021 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
69022
69023 * sysdeps/x86_64/multiarch/strlen.S: Remove.
69024 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
69025 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
69026 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
69027 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
69028 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
69029
69030 2013-03-17 Carlos O'Donell <carlos@redhat.com>
69031
69032 * manual/memory.texi (Malloc Tunable Parameters):
69033 Sort parameters alphabetically. Add comments for missing entries.
69034
69035 2013-03-17 David S. Miller <davem@davemloft.net>
69036
69037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69038
69039 2013-03-16 Joseph Myers <joseph@codesourcery.com>
69040
69041 [BZ #15283]
69042 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
69043 for arguments at most half maximum finite value.
69044 * math/libm-test.inc (j0_test): Add more tests.
69045 (j1_test): Likewise.
69046 (y0_test): Likewise.
69047 (y1_test): Likewise.
69048 * sysdeps/i386/fpu/libm-test-ulps: Update.
69049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69050
69051 [BZ #14155]
69052 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
69053 1 / x and functions P and Q for arguments above 0x1p256L.
69054 (__ieee754_y0l): Likewise.
69055 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
69056 (__ieee754_y1l): Likewise.
69057 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
69058 (j1_test): Likewise.
69059 (y0_test): Likewise.
69060 (y1_test): Likewise.
69061
69062 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
69063
69064 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
69065 variable.
69066
69067 2013-03-15 Roland McGrath <roland@hack.frob.com>
69068
69069 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
69070 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
69071 zero since it's initialized to EXEC_PAGESIZE.
69072
69073 * sysdeps/unix/sysv/linux/ldsodefs.h
69074 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
69075 * sysdeps/generic/ldsodefs.h: ... here.
69076
69077 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
69078
69079 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
69080
69081 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
69082 math/test-snan.c.
69083 * math/test-snan.c: Renamed from
69084 sysdeps/powerpc/fpu/test-powerpc-snan.c.
69085 * math/Makefile (tests): Add test-snan.
69086 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
69087 test-powerpc-snan.
69088
69089 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
69090 SUFFIX. Initialize qNaN_var with __builtin_nan family of
69091 functions.
69092 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
69093 __builtin_nan family of functions.
69094 * math/libm-test.inc (initialize): Initialize qnan_value with
69095 __builtin_nan family of functions.
69096 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
69097 Remove variables.
69098 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
69099 Remove functions.
69100 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
69101 storage class. Initialize qNaN_var and sNaN_var with
69102 __builtin_nan and __builtin_nans families of functions,
69103 respectively.
69104
69105 * math/libm-test.inc (acosh_test): Also test with qNaN input.
69106 (sqrt_test): Remove duplicate test with qNaN input.
69107 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
69108 (round_test, signbit_test, significand_test): Note missing +/-Inf
69109 as well as qNaN tests.
69110
69111 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
69112 qNaN_var. Fix a few strings, too.
69113 * math/libm-test.inc (nan_value): Rename to qnan_value.
69114 * math/gen-libm-test.pl (%beautify): Adjust to that.
69115 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
69116 * math/test-misc.c (main): Likewise.
69117 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
69118 to __qnan_bytes, and __qnan_union, respectively.
69119 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
69120 Likewise.
69121 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
69122 and lqnanval, respectively.
69123 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
69124 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
69125 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
69126 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
69127
69128 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
69129 * math/test-misc.c (main) [__x86_64__]: Enable test for long
69130 doubles.
69131
69132 * math/test-misc.c (main): Fix copy'n'pastos.
69133 * misc/tst-efgcvt.c (special): Likewise.
69134
69135 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
69136 Remove declarations.
69137
69138 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69139
69140 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
69141 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
69142 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
69143 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
69144
69145 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69146
69147 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
69148 macro to return vdso values correctly in IFUNC implementations.
69149 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
69150 Optimization by using IFUNC.
69151
69152 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69153 Richard Henderson <rth@redhat.com>
69154 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69155
69156 * Makefile.in (bench): New target.
69157 * NEWS: Mention the benchmark framework.
69158 * Rules (bench): Likewise.
69159 (binaries-bench): Generate binaries for functions to
69160 benchmark.
69161 * benchtests/Makefile: New makefile for benchmark tests.
69162 * benchtests/bench-skeleton.c: New skeleton file for benchmark
69163 programs.
69164 * benchtests/exp-inputs: New input file for EXP function.
69165 * benchtests/pow-inputs: New input file for POW function.
69166 * scripts/bench.pl: New script to generate source files for
69167 benchmark programs.
69168
69169 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69170
69171 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69172 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
69173 computations on mantissa. Use macros for rounding and
69174 division.
69175 (denorm): Likewise.
69176 (__dbl_mp): Likewise.
69177 (add_magnitudes): Likewise.
69178 (sub_magnitudes): Likewise.
69179 (__mul): Likewise.
69180 (__sqr): Likewise.
69181 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
69182 powers of two in terms of TWOPOW macro.
69183 (mp_no): Make type of mantissa as MANTISSA_T.
69184 [!RADIXI]: Define RADIXI.
69185 [!TWO52]: Define TWO52.
69186 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69187
69188 * manual/nptl.texi (cindex): Modify threads to pthreads.
69189
69190 2013-03-15 Joseph Myers <joseph@codesourcery.com>
69191
69192 * sysdeps/x86_64/preconfigure: Regenerated.
69193
69194 2013-03-14 Joseph Myers <joseph@codesourcery.com>
69195
69196 [BZ #14155]
69197 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
69198 0x1p28 and above.
69199 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
69200 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
69201 0x1p28 and above.
69202 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
69203 * math/libm-test.inc (j0_test): Do not allow one spurious
69204 underflow exception.
69205 (y1_test): Likewise.
69206
69207 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
69208
69209 * manual/Makefile (chapters): Add nptl.
69210 * manual/debug.texi (Debugging Support): Add link to Threads
69211 chapter.
69212 * manual/nptl.texi: New file.
69213
69214 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
69215
69216 2013-03-14 Petr Baudis <pasky@ucw.cz>
69217
69218 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
69219 for non-NULL pointer before the memory validity test. Pointed
69220 out by Holger Brunck <holger.brunck@keymile.com>.
69221
69222 2013-03-13 Andreas Schwab <schwab@suse.de>
69223
69224 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
69225 instead of .os.
69226
69227 2013-03-13 Joseph Myers <joseph@codesourcery.com>
69228
69229 * timezone/zic.c: Update from tzcode 2013b.
69230
69231 2013-03-12 Carlos O'Donell <carlos@redhat.com>
69232
69233 * manual/install.texi (Configuring and compiling):
69234 Mention i686 and i586.
69235 * INSTALL: Regenerate.
69236
69237 2013-03-12 Roland McGrath <roland@hack.frob.com>
69238
69239 * sysdeps/init_array/elf-init.c: New file.
69240 * csu/elf-init.c
69241 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
69242 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
69243
69244 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
69245 __gmon_start__ as global, but as static with a .preinit_array pointer.
69246 * sysdeps/init_array/gmon-start.c: New file. Use that.
69247 * sysdeps/init_array/crti.S: New file, empty except for comments.
69248 * sysdeps/init_array/crtn.S: Likewise.
69249
69250 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
69251
69252 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
69253 definining bcopy.
69254 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69255 Remove Prefer_SSE_for_memop.
69256 * sysdeps/x86_64/multiarch/init-arch.h: Remove
69257 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
69258 HAS_PREFER_SSE_FOR_MEMOP.
69259 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
69260 memset-x86-64.
69261 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
69262 Remove bzero, memset ifunc support.
69263 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
69264 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
69265 * sysdeps/x86_64/multiarch/memset.S: Likewise.
69266 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
69267
69268 2013-03-11 Andreas Schwab <schwab@suse.de>
69269
69270 [BZ #15234]
69271 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
69272 by SHLIB_COMPAT.
69273 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
69274 (GLIBC_2.16): Remove pthread_atfork.
69275
69276 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
69277
69278 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
69279 (ptestcases.h): Likewise.
69280
69281 2013-03-08 Roland McGrath <roland@hack.frob.com>
69282
69283 * Makeconfig ($(common-objpfx)config.status): Depend on
69284 sysdeps/*/preconfigure{,.in} too.
69285
69286 2013-03-08 Joseph Myers <joseph@codesourcery.com>
69287
69288 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
69289 (__free_hook): Use void * instead of __malloc_ptr_t.
69290 (__malloc_hook): Likewise.
69291 (__realloc_hook): Likewise.
69292 (__memalign_hook): Likewise.
69293 (__after_morecore_hook): Likewise.
69294 * malloc/arena.c (save_malloc_hook): Likewise.
69295 (save_free_hook): Likewise.
69296 * malloc/hooks.c (malloc_hook_ini): Likewise.
69297 (realloc_hook_ini): Likewise.
69298 (memalign_hook_ini): Likewise.
69299 * malloc/malloc.c (malloc_hook_ini): Likewise.
69300 (realloc_hook_ini): Likewise.
69301 (memalign_hook_ini): Likewise.
69302 (__free_hook): Likewise.
69303 (__malloc_hook): Likewise.
69304 (__realloc_hook): Likewise.
69305 (__memalign_hook): Likewise.
69306 (__libc_malloc): Likewise.
69307 (__libc_free): Likewise.
69308 (__libc_realloc): Likewise.
69309 (__libc_memalign): Likewise.
69310 (__libc_valloc): Likewise.
69311 (__libc_pvalloc): Likewise.
69312 (__libc_calloc): Likewise.
69313 (__posix_memalign): Likewise.
69314 * malloc/morecore.c (__sbrk): Likewise.
69315 (__default_morecore): Likewise.
69316
69317 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
69318
69319 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
69320 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
69321 __malloc_ptrdiff_t.
69322
69323 * malloc/malloc.h (__malloc_size_t): Remove macro.
69324 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
69325 __malloc_size_t.
69326 (old_memalign_hook): Likewise.
69327 (old_realloc_hook): Likewise.
69328 (struct hdr): Likewise.
69329 (flood): Likewise.
69330 (mallochook): Likewise.
69331 (memalignhook): Likewise.
69332 (reallochook): Likewise.
69333 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
69334 (tr_old_realloc_hook): Likewise.
69335 (tr_old_memalign_hook): Likewise.
69336 (tr_mallochook): Likewise.
69337 (tr_reallochook): Likewise.
69338 (tr_memalignhook): Likewise.
69339
69340 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69341
69342 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
69343 default_ldbl_pack and using as default implementation.
69344 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
69345 implementation.
69346 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
69347 redundant definition.
69348 (ldbl_insert_mantissa): Likewise.
69349 (ldbl_canonicalize): Likewise.
69350 (ldbl_nearbyint): Likewise.
69351 (ldbl_pack): Rename to ldbl_pack_ppc.
69352 (ldbl_unpack): Rename to ldbl_unpack_ppc.
69353 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
69354 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
69355
69356 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
69357
69358 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
69359 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
69360 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
69361 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
69362 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
69363 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
69364 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
69365 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
69366
69367 2013-03-07 Andreas Jaeger <aj@suse.de>
69368
69369 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69370 bits/mman-linux.h.
69371
69372 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
69373
69374 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
69375 Include mpa.h and declare __MPEXP.
69376 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
69377 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69378 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69379 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
69380 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69381 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69382 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
69383
69384 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
69385 (__slowpow): Use long double EXPL and LOGL functions to
69386 compute POW.
69387 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69388 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69389 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
69390 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69391 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69392 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
69393
69394 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
69395 intermediate variable to calculate exponent.
69396 (__sqr): Likewise.
69397 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
69398 Likewise.
69399 (__sqr): Likewise.
69400
69401 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
69402 [!NO__SQR]: Define __sqr.
69403 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
69404 and NO__SQR. Remove all code except __mul and __sqr. Include
69405 sysdeps/ieee754/dbl-64/mpa.c.
69406 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69407
69408 [BZ #12723]
69409 * posix/Makefile (tests): Add tst-pathconf.
69410 * posix/tst-pathconf.c: New test case.
69411 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
69412 _PC_PIPE_BUF.
69413 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
69414
69415 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
69416
69417 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
69418
69419 2013-03-06 Andreas Jaeger <aj@suse.de>
69420
69421 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
69422 definition via __MAP_ANONYMOUS.
69423
69424 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
69425 it's not part of Linux headers.
69426
69427 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
69428 (MAP_HUGE_MASK): Define.
69429
69430 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69431 Define.
69432 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69433 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69434 Define.
69435 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69436 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69437 Define.
69438 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69439 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
69440 Define.
69441 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69442
69443 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
69444 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
69445 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
69446 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
69447 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
69448 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
69449
69450 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
69451 Handle f2fs.
69452
69453 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69454 Handle f2fs and efivarfs.
69455
69456 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
69457 f2fs.
69458
69459 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
69460 (EFIVARFS_MAGIC): Add.
69461 (F2FS_LINK_MAX): Add.
69462
69463 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
69464
69465 * stdio-common/vfprintf.c: Replace __builtin_expect with
69466 __glibc_unlikely.
69467
69468 2013-03-06 Joseph Myers <joseph@codesourcery.com>
69469
69470 [BZ #13550]
69471 * sysdeps/generic/bp-sym.h: Remove file.
69472 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
69473 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
69474 <bp-sym.h> and <bp-asm.h>.
69475 (__longjmp): Don't use BP_SYM.
69476 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
69477 and <bp-asm.h>.
69478 (memcpy): Don't use BP_SYM.
69479 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
69480 <bp-sym.h> and <bp-asm.h>.
69481 (memcpy): Don't use BP_SYM.
69482 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
69483 <bp-asm.h>.
69484 (memcpy): Don't use BP_SYM.
69485 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
69486 <bp-asm.h>.
69487 (memset): Don't use BP_SYM.
69488 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69489 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69490 (__bzero): Don't use BP_SYM.
69491 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69492 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69493 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
69494 <bp-sym.h> and <bp-asm.h>.
69495 (memcmp): Don't use BP_SYM. Remove comment about bounded
69496 pointers.
69497 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
69498 <bp-sym.h> and <bp-asm.h>.
69499 (memcpy): Don't use BP_SYM.
69500 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
69501 <bp-sym.h> and <bp-asm.h>.
69502 (memset): Don't use BP_SYM.
69503 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69504 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69505 (__bzero): Don't use BP_SYM.
69506 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69507 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69508 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
69509 <bp-sym.h> and <bp-asm.h>.
69510 (strncmp): Don't use BP_SYM. Remove comment about bounded
69511 pointers.
69512 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
69513 <bp-sym.h> and <bp-asm.h>.
69514 (memcpy): Don't use BP_SYM.
69515 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
69516 <bp-sym.h> and <bp-asm.h>.
69517 (memset): Don't use BP_SYM.
69518 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69519 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69520 (__bzero): Don't use BP_SYM.
69521 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69522 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69523 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
69524 <bp-sym.h> and <bp-asm.h>.
69525 (__memchr): Don't use BP_SYM.
69526 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
69527 <bp-sym.h> and <bp-asm.h>.
69528 (memcmp): Don't use BP_SYM. Remove comment about bounded
69529 pointers.
69530 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
69531 <bp-sym.h> and <bp-asm.h>.
69532 (memcpy): Don't use BP_SYM.
69533 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
69534 <bp-sym.h> and <bp-asm.h>.
69535 (__mempcpy): Don't use BP_SYM.
69536 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
69537 <bp-sym.h> and <bp-asm.h>.
69538 (__memrchr): Don't use BP_SYM.
69539 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
69540 <bp-sym.h> and <bp-asm.h>.
69541 (memset): Don't use BP_SYM.
69542 (__bzero): Likewise.
69543 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
69544 <bp-sym.h> and <bp-asm.h>.
69545 (__rawmemchr): Don't use BP_SYM.
69546 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
69547 <bp-sym.h> and <bp-asm.h>.
69548 (__STRCMP): Don't use BP_SYM.
69549 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
69550 <bp-sym.h> and <bp-asm.h>.
69551 (strchr): Don't use BP_SYM.
69552 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
69553 <bp-sym.h> and <bp-asm.h>.
69554 (__strchrnul): Don't use BP_SYM.
69555 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
69556 <bp-sym.h> and <bp-asm.h>.
69557 (strlen): Don't use BP_SYM.
69558 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
69559 <bp-sym.h> and <bp-asm.h>.
69560 (strncmp): Don't use BP_SYM. Remove comment about bounded
69561 pointers.
69562 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
69563 <bp-sym.h> and <bp-asm.h>.
69564 (__strnlen): Don't use BP_SYM.
69565 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
69566 <bp-sym.h> and <bp-asm.h>.
69567 (__GI__setjmp): Don't use BP_SYM.
69568 (_setjmp): Likewise.
69569 (__sigsetjmp): Likewise.
69570 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
69571 (L(start_addresses)): Don't use BP_SYM.
69572 (_start): Likewise.
69573 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
69574 <bp-asm.h>.
69575 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
69576 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
69577 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69578 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69579 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
69580 <bp-asm.h>.
69581 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
69582 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
69583 about bounded pointers.
69584 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69585 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69586 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
69587 <bp-asm.h>.
69588 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
69589 about bounded pointers. Remove GKM FIXME comments.
69590 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69591 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
69592 <bp-asm.h>.
69593 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
69594 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
69595 Remove GKM FIXME comments.
69596 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69597 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69598 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
69599 <bp-asm.h>.
69600 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
69601 about bounded pointers. Remove GKM FIXME comment.
69602 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
69603 and <bp-asm.h>.
69604 (strncmp): Don't use BP_SYM. Remove comment about bounded
69605 pointers.
69606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
69607 <bp-sym.h> and <bp-asm.h>.
69608 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
69609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
69610 <bp-sym.h> and <bp-asm.h>.
69611 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
69612 comment.
69613
69614 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
69615
69616 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
69617 call free(NULL).
69618
69619 2013-03-05 David S. Miller <davem@davemloft.net>
69620
69621 * po/es.po: Update from translation team.
69622
69623 2013-03-05 Andreas Jaeger <aj@suse.de>
69624
69625 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
69626 <bits/mman-linux.h>.
69627 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69628 is fine.
69629 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
69630 <bits/mman-linux.h> to end of file.
69631 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69632 is fine.
69633 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
69634 <bits/mman-linux.h> to end of file.
69635 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69636 is fine.
69637 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
69638 <bits/mman-linux.h> to end of file.
69639
69640 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
69641 (MCL_CURRENT, MCL_FUTURE): Define here.
69642
69643 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69644
69645 [BZ #15232]
69646 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
69647 attribute_hidden.
69648 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
69649
69650 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69651
69652 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
69653 fourth parameter needed for rt_sigprocmask syscall.
69654 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
69655 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
69656 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
69657 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
69658 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
69659 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
69660
69661 2013-03-04 Joseph Myers <joseph@codesourcery.com>
69662
69663 [BZ #13550]
69664 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
69665 comment about bounded pointers.
69666 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
69667 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
69668
69669 2013-03-04 Andreas Jaeger <aj@suse.de>
69670
69671 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
69672 common definitions.
69673
69674 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
69675 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
69676 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
69677 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69678 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
69679 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69680
69681 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69682
69683 [BZ #15055]
69684 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
69685 __ieee754_sqrl instead of __sqrl.
69686
69687 2013-03-01 Joseph Myers <joseph@codesourcery.com>
69688
69689 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
69690 * sysdeps/powerpc/fpu_control.h: ... here.
69691 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
69692 * sysdeps/powerpc/bits/fenvinline.h: ... here.
69693 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
69694 * sysdeps/powerpc/bits/mathinline.h: ... here.
69695
69696 2013-03-01 Roland McGrath <roland@hack.frob.com>
69697
69698 * elf/dl-hwcaps.c (_dl_important_hwcaps):
69699 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
69700 to just [NEED_DL_SYSINFO_DSO].
69701 * elf/dl-support.c: Likewise.
69702 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
69703 * elf/rtld.c (dl_main): Likewise.
69704 * elf/setup-vdso.h (setup_vdso): Likewise.
69705 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
69706 * sysdeps/unix/sysv/linux/dl-sysdep.c
69707 (_dl_discover_osversion): Likewise.
69708
69709 2013-03-01 Carlos O'Donell <carlos@redhat.com>
69710
69711 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
69712 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
69713
69714 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
69715
69716 * NEWS: Mention libm performance improvements and non-x86 PI
69717 futex support.
69718
69719 * csu/libc-start.c (__pthread_initialize_minimal): Change
69720 function arguments.
69721 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
69722
69723 2013-02-28 Joseph Myers <joseph@codesourcery.com>
69724
69725 [BZ #13550]
69726 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
69727 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
69728 <bp-sym.h> and <bp-asm.h>.
69729 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69730 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
69731 and <bp-asm.h>.
69732 (memcpy): Don't use BP_SYM.
69733 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
69734 <bp-asm.h>.
69735 (__mpn_add_n): Don't use BP_SYM.
69736 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
69737 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
69738 and <bp-asm.h>.
69739 (__mpn_addmul_1): Don't use BP_SYM.
69740 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69741 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
69742 <bp-sym.h>.
69743 (_setjmp): Don't use BP_SYM.
69744 (__novmx_setjmp): Likewise.
69745 (__GI__setjmp): Likewise.
69746 (__vmx_setjmp): Likewise.
69747 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
69748 <bp-sym.h>.
69749 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
69750 (__bzero): Don't use BP_SYM.
69751 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69752 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69753 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
69754 <bp-sym.h> and <bp-asm.h>.
69755 (memcpy): Don't use BP_SYM.
69756 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
69757 <bp-sym.h> and <bp-asm.h>.
69758 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69759 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
69760 <bp-sym.h> and <bp-asm.h>.
69761 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69762 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
69763 <bp-asm.h>.
69764 (__mpn_lshift): Don't use BP_SYM.
69765 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69766 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
69767 <bp-asm.h>.
69768 (memset): Don't use BP_SYM.
69769 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69770 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69771 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
69772 <bp-asm.h>.
69773 (__mpn_mul_1): Don't use BP_SYM.
69774 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69775 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
69776 <bp-sym.h> and <bp-asm.h>.
69777 (memcmp): Don't use BP_SYM.
69778 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
69779 <bp-sym.h> and <bp-asm.h>.
69780 (memcpy): Don't use BP_SYM.
69781 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
69782 <bp-sym.h> and <bp-asm.h>.
69783 (memset): Don't use BP_SYM.
69784 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
69785 <bp-sym.h> and <bp-asm.h>.
69786 (strncmp): Don't use BP_SYM.
69787 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
69788 <bp-sym.h> and <bp-asm.h>.
69789 (memcpy): Don't use BP_SYM.
69790 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
69791 <bp-sym.h> and <bp-asm.h>.
69792 (memset): Don't use BP_SYM.
69793 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
69794 <bp-sym.h> and <bp-asm.h>.
69795 (__memchr): Don't use BP_SYM.
69796 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
69797 <bp-sym.h> and <bp-asm.h>.
69798 (memcmp): Don't use BP_SYM.
69799 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
69800 <bp-sym.h> and <bp-asm.h>.
69801 (memcpy): Don't use BP_SYM.
69802 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
69803 <bp-sym.h> and <bp-asm.h>.
69804 (__mempcpy): Don't use BP_SYM.
69805 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
69806 <bp-sym.h> and <bp-asm.h>.
69807 (__memrchr): Don't use BP_SYM.
69808 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
69809 <bp-sym.h> and <bp-asm.h>.
69810 (memset): Don't use BP_SYM.
69811 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
69812 <bp-sym.h> and <bp-asm.h>.
69813 (__rawmemchr): Don't use BP_SYM.
69814 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
69815 <bp-sym.h> and <bp-asm.h>.
69816 (__STRCMP): Don't use BP_SYM.
69817 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
69818 <bp-sym.h> and <bp-asm.h>.
69819 (strchr): Don't use BP_SYM.
69820 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
69821 <bp-sym.h> and <bp-asm.h>.
69822 (__strchrnul): Don't use BP_SYM.
69823 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
69824 <bp-sym.h> and <bp-asm.h>.
69825 (strlen): Don't use BP_SYM.
69826 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
69827 <bp-sym.h> and <bp-asm.h>.
69828 (strncmp): Don't use BP_SYM.
69829 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
69830 <bp-sym.h> and <bp-asm.h>.
69831 (__strnlen): Don't use BP_SYM.
69832 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
69833 <bp-asm.h>.
69834 (__mpn_rshift): Don't use BP_SYM.
69835 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69836 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
69837 <bp-sym.h> and <bp-asm.h>.
69838 (__sigsetjmp): Don't use BP_SYM.
69839 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
69840 (L(start_addresses)): Don't use BP_SYM.
69841 (_start): Likewise.
69842 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
69843 <bp-asm.h>.
69844 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
69845 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69846 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69847 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
69848 <bp-asm.h>.
69849 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
69850 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69851 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69852 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
69853 <bp-asm.h>.
69854 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
69855 comments.
69856 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69857 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
69858 <bp-asm.h>.
69859 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
69860 FIXME comments.
69861 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69862 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69863 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
69864 <bp-asm.h>.
69865 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
69866 comment.
69867 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
69868 and <bp-asm.h>.
69869 (strncmp): Don't use BP_SYM,
69870 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
69871 <bp-asm.h>.
69872 (__mpn_sub_n): Don't use BP_SYM.
69873 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69874 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
69875 and <bp-asm.h>.
69876 (__mpn_submul_1): Don't use BP_SYM.
69877 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
69879 <bp-sym.h> and <bp-asm.h>.
69880 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
69881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
69882 <bp-sym.h> and <bp-asm.h>.
69883 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
69884 comment.
69885
69886 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
69887
69888 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
69889 Use ZK to minimize writes to Z.
69890 (sub_magnitudes): Simplify code a bit.
69891 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
69892 Use ZK to minimize writes to Z.
69893 (sub_magnitudes): Simplify code a bit.
69894
69895 2013-02-27 Roland McGrath <roland@hack.frob.com>
69896
69897 * csu/gmon-start.c: Add special exception to license text.
69898
69899 2013-02-27 Richard Henderson <rth@redhat.com>
69900
69901 * scripts/config.guess: Update from config.git.
69902 * scripts/config.sub: Likewise.
69903
69904 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
69905
69906 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
69907
69908 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
69909
69910 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
69911
69912 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
69913
69914 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
69915
69916 2013-02-26 Roland McGrath <roland@hack.frob.com>
69917
69918 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
69919 [$(build-shared = yes].
69920
69921 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
69922
69923 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
69924 (__mul): Reduce iterations for calculating mantissa.
69925
69926 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
69927 MPTWO.
69928 (__mpranred): Likewise.
69929
69930 [BZ #15160]
69931 * malloc/memusagestat.c (main): Draw graphs for heap and stack
69932 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
69933
69934 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
69935
69936 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
69937 Define __attribute__.
69938
69939 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
69940
69941 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
69942 unused.
69943 * posix/regex_internal.h (__attribute): Remove.
69944 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
69945 (re_string_context_at): Likewise.
69946 (bitset_not): Use __attribute__ and mark function as possibly
69947 unused.
69948 (bitset_merge): Likewise.
69949 (bitset_mask): Likewise.
69950 (re_string_char_size_at): Likewise.
69951 (re_string_wchar_at): Likewise.
69952 (re_string_elem_size_at): Likewise.
69953
69954 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
69955
69956 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
69957 code.
69958 (cc32): Likewise.
69959
69960 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
69961 (__acr): Likewise.
69962 (__cpy): Likewise.
69963 (norm): Likewise.
69964 (denorm): Likewise.
69965 (__dbl_mp): Likewise.
69966 (add_magnitudes): Likewise.
69967 (sub_magnitudes): Likewise.
69968 (__mul): Likewise.
69969 (__inv): Likewise.
69970
69971 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
69972 style.
69973
69974 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
69975 style.
69976
69977 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
69978 code.
69979
69980 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
69981 up changes with default code.
69982 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
69983 Likewise.
69984
69985 2013-02-24 Allan McRae <allan@archlinux.org>
69986
69987 * manual/socket.texi (The Internet Namespace): Order menu items
69988 to match that in the file.
69989
69990 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
69991 node listing of the info page menu.
69992
69993 2013-02-21 Joseph Myers <joseph@codesourcery.com>
69994
69995 [BZ #13550]
69996 * sysdeps/i386/bp-asm.h: Remove file.
69997 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
69998 (PARMS): Do not use macros from bp-asm.h.
69999 (S1): Likewise.
70000 (S2): Likewise.
70001 (SIZE): Likewise.
70002 (__mpn_add_n): Do not use BP_SYM
70003 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
70004 "bp-asm.h".
70005 (PARMS): Do not use macros from bp-asm.h.
70006 (S1): Likewise.
70007 (SIZE): Likewise.
70008 (__mpn_addmul_1): Do not use BP_SYM
70009 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
70010 "bp-asm.h".
70011 (PARMS): Do not use macros from bp-asm.h.
70012 (SIGMSK): Likewise.
70013 (_setjmp): Likewise. Do not use BP_SYM.
70014 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
70015 "bp-asm.h".
70016 (PARMS): Do not use macros from bp-asm.h.
70017 (SIGMSK): Likewise.
70018 (setjmp): Likewise. Do not use BP_SYM.
70019 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
70020 "bp-asm.h".
70021 (PARMS): Do not use macros from bp-asm.h.
70022 (__frexp): Do not use BP_SYM.
70023 (frexp): Likewise.
70024 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
70025 "bp-asm.h".
70026 (PARMS): Do not use macros from bp-asm.h.
70027 (__frexpf): Do not use BP_SYM.
70028 (frexpf): Likewise.
70029 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
70030 "bp-asm.h".
70031 (PARMS): Do not use macros from bp-asm.h.
70032 (__frexpl): Do not use BP_SYM.
70033 (frexpl): Likewise.
70034 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
70035 "bp-asm.h".
70036 (PARMS): Do not use macros from bp-asm.h.
70037 (__remquo): Do not use BP_SYM.
70038 (remquo): Likewise.
70039 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
70040 "bp-asm.h".
70041 (PARMS): Do not use macros from bp-asm.h.
70042 (__remquof): Do not use BP_SYM.
70043 (remquof): Likewise.
70044 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
70045 "bp-asm.h".
70046 (PARMS): Do not use macros from bp-asm.h.
70047 (__remquol): Do not use BP_SYM.
70048 (remquol): Likewise.
70049 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
70050 "bp-asm.h".
70051 (PARMS): Do not use macros from bp-asm.h.
70052 (DEST): Likewise.
70053 (SRC): Likewise.
70054 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
70055 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
70056 "bp-asm.h".
70057 (PARMS): Do not use macros from bp-asm.h.
70058 (strlen): Do not use BP_SYM.
70059 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
70060 "bp-asm.h".
70061 (PARMS): Do not use macros from bp-asm.h.
70062 (S1): Likewise.
70063 (S2): Likewise.
70064 (SIZE): Likewise.
70065 (__mpn_add_n): Do not use BP_SYM.
70066 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
70067 "bp-asm.h".
70068 (PARMS): Do not use macros from bp-asm.h.
70069 (S1): Likewise.
70070 (SIZE): Likewise.
70071 (__mpn_addmul_1): Do not use BP_SYM.
70072 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
70073 weak_alias.
70074 (bzero): Likewise.
70075 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
70076 "bp-asm.h".
70077 (PARMS): Do not use macros from bp-asm.h.
70078 (S): Likewise.
70079 (SIZE): Likewise.
70080 (__mpn_lshift): Do not use BP_SYM.
70081 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
70082 "bp-asm.h".
70083 (PARMS): Do not use macros from bp-asm.h.
70084 (DEST): Likewise.
70085 (SRC): Likewise.
70086 (LEN): Likewise.
70087 (memcpy): Likewise. Do not use BP_SYM.
70088 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
70089 libc_hidden_def and weak_alias.
70090 (mempcpy): Do not use BP_SYM in weak_alias.
70091 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
70092 "bp-asm.h".
70093 (PARMS): Do not use macros from bp-asm.h.
70094 (DEST): Likewise.
70095 (LEN): Likewise.
70096 [!BZERO_P] (CHR): Likewise.
70097 (memset): Likewise. Do not use BP_SYM.
70098 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
70099 "bp-asm.h".
70100 (PARMS): Do not use macros from bp-asm.h.
70101 (S1): Likewise.
70102 (SIZE): Likewise.
70103 (__mpn_mul_1): Do not use BP_SYM.
70104 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
70105 "bp-asm.h".
70106 (PARMS): Do not use macros from bp-asm.h.
70107 (S): Likewise.
70108 (SIZE): Likewise.
70109 (__mpn_rshift): Do not use BP_SYM.
70110 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
70111 "bp-asm.h".
70112 (PARMS): Do not use macros from bp-asm.h.
70113 (STR): Likewise.
70114 (CHR): Likewise.
70115 (strchr): Likewise. Do not use BP_SYM.
70116 (index): Do not use BP_SYM in weak_alias.
70117 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
70118 "bp-asm.h".
70119 (PARMS): Do not use macros from bp-asm.h.
70120 (DEST): Likewise.
70121 (SRC): Likewise.
70122 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
70123 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
70124 "bp-asm.h".
70125 (PARMS): Do not use macros from bp-asm.h.
70126 (strlen): Do not use BP_SYM.
70127 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
70128 "bp-asm.h".
70129 (PARMS): Do not use macros from bp-asm.h.
70130 (S1): Likewise.
70131 (S2): Likewise.
70132 (SIZE): Likewise.
70133 (__mpn_sub_n): Do not use BP_SYM.
70134 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
70135 "bp-asm.h".
70136 (PARMS): Do not use macros from bp-asm.h.
70137 (S1): Likewise.
70138 (SIZE): Likewise.
70139 (__mpn_submul_1): Do not use BP_SYM.
70140 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
70141 "bp-asm.h".
70142 (PARMS): Do not use macros from bp-asm.h.
70143 (S1): Likewise.
70144 (S2): Likewise.
70145 (SIZE): Likewise.
70146 (__mpn_add_n): Do not use BP_SYM.
70147 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
70148 weak_alias.
70149 (bzero): Likewise.
70150 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
70151 "bp-asm.h".
70152 (PARMS): Do not use macros from bp-asm.h.
70153 (BLK2): Likewise.
70154 (LEN): Likewise.
70155 (memcmp): Do not use BP_SYM.
70156 (bcmp): Do not use BP_SYM in weak_alias.
70157 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
70158 "bp-asm.h".
70159 (PARMS): Do not use macros from bp-asm.h.
70160 (DEST): Likewise.
70161 (SRC): Likewise.
70162 (LEN): Likewise.
70163 (memcpy): Likewise. Do not use BP_SYM.
70164 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
70165 "bp-asm.h".
70166 (PARMS): Do not use macros from bp-asm.h.
70167 (DEST): Likewise.
70168 (SRC): Likewise.
70169 (LEN): Likewise.
70170 (memmove): Likewise. Do not use BP_SYM.
70171 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
70172 "bp-asm.h".
70173 (PARMS): Do not use macros from bp-asm.h.
70174 (DEST): Likewise.
70175 (SRC): Likewise.
70176 (LEN): Likewise.
70177 (__mempcpy): Likewise. Do not use BP_SYM.
70178 (mempcpy): Do not use BP_SYM in weak_alias.
70179 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
70180 "bp-asm.h".
70181 (PARMS): Do not use macros from bp-asm.h.
70182 (DEST): Likewise.
70183 (LEN): Likewise.
70184 [!BZERO_P] (CHR): Likewise.
70185 (memset): Likewise. Do not use BP_SYM.
70186 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
70187 "bp-asm.h".
70188 (PARMS): Do not use macros from bp-asm.h.
70189 (STR2): Likewise.
70190 (strcmp): Do not use BP_SYM.
70191 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
70192 "bp-asm.h".
70193 (PARMS): Do not use macros from bp-asm.h.
70194 (STR): Likewise.
70195 (DELIM): Likewise.
70196 [USE_AS_STRTOK_R] (SAVE): Likewise.
70197 (FUNCTION): Likewise. Do not use BP_SYM.
70198 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
70199 aliases.
70200 (strtok_r): Likewise.
70201 (__GI___strtok_r): Likewise.
70202 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70203 (PARMS): Do not use macros from bp-asm.h.
70204 (S): Likewise.
70205 (SIZE): Likewise.
70206 (__mpn_lshift): Do not use BP_SYM.
70207 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70208 (PARMS): Do not use macros from bp-asm.h.
70209 (STR): Likewise.
70210 (CHR): Likewise.
70211 (__memchr): Do not use BP_SYM.
70212 (memchr): Do not use BP_SYM in weak_alias.
70213 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70214 (PARMS): Do not use macros from bp-asm.h.
70215 (BLK2): Likewise.
70216 (LEN): Likewise.
70217 (memcmp): Do not use BP_SYM.
70218 (bcmp): Do not use BP_SYM in weak_alias.
70219 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
70220 (PARMS): Do not use macros from bp-asm.h.
70221 (S1): Likewise.
70222 (SIZE): Likewise.
70223 (__mpn_mul_1): Do not use BP_SYM.
70224 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
70225 "bp-asm.h".
70226 (PARMS): Do not use macros from bp-asm.h.
70227 (STR): Likewise.
70228 (CHR): Likewise.
70229 (__rawmemchr): Do not use BP_SYM.
70230 (rawmemchr): Do not use BP_SYM in weak_alias.
70231 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70232 (PARMS): Do not use macros from bp-asm.h.
70233 (S): Likewise.
70234 (SIZE): Likewise.
70235 (__mpn_rshift): Do not use BP_SYM.
70236 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70237 (PARMS): Do not use macros from bp-asm.h.
70238 (SIGMSK): Likewise.
70239 (__sigsetjmp): Likewise. Do not use BP_SYM.
70240 * sysdeps/i386/start.S: Do not include "bp-sym.h".
70241 (_start): Do not use BP_SYM.
70242 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
70243 (PARMS): Do not use macros from bp-asm.h.
70244 (DEST): Likewise.
70245 (SRC): Likewise.
70246 (__stpcpy): Likewise. Do not use BP_SYM.
70247 (stpcpy): Do not use BP_SYM in weak_alias.
70248 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
70249 "bp-asm.h".
70250 (PARMS): Do not use macros from bp-asm.h.
70251 (DEST): Likewise.
70252 (SRC): Likewise.
70253 (LEN): Likewise.
70254 (__stpncpy): Likewise. Do not use BP_SYM.
70255 (stpncpy): Do not use BP_SYM in weak_alias.
70256 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70257 (PARMS): Do not use macros from bp-asm.h.
70258 (STR): Likewise.
70259 (CHR): Likewise.
70260 (strchr): Likewise. Do not use BP_SYM.
70261 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
70262 "bp-asm.h".
70263 (PARMS): Do not use macros from bp-asm.h.
70264 (STR): Likewise.
70265 (CHR): Likewise.
70266 (__strchrnul): Likewise. Do not use BP_SYM.
70267 (strchrnul): Do not use BP_SYM in weak_alias.
70268 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
70269 "bp-asm.h".
70270 (PARMS): Do not use macros from bp-asm.h.
70271 (STOP): Likewise.
70272 (strcspn): Do not use BP_SYM.
70273 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
70274 "bp-asm.h".
70275 (PARMS): Do not use macros from bp-asm.h.
70276 (STR): Likewise.
70277 (STOP): Likewise.
70278 (strpbrk): Likewise. Do not use BP_SYM.
70279 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
70280 "bp-asm.h".
70281 (PARMS): Do not use macros from bp-asm.h.
70282 (STR): Likewise.
70283 (CHR): Likewise.
70284 (strrchr): Likewise. Do not use BP_SYM.
70285 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
70286 (PARMS): Do not use macros from bp-asm.h.
70287 (SKIP): Likewise.
70288 (strspn): Do not use BP_SYM.
70289 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
70290 (PARMS): Do not use macros from bp-asm.h.
70291 (STR): Likewise.
70292 (DELIM): Likewise.
70293 (SAVE): Likewise.
70294 (FUNCTION): Likewise. Do not use BP_SYM.
70295 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
70296 aliases.
70297 (strtok_r): Likewise.
70298 (__GI___strtok_r): Likewise.
70299 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70300 (PARMS): Do not use macros from bp-asm.h.
70301 (S1): Likewise.
70302 (S2): Likewise.
70303 (SIZE): Likewise.
70304 (__mpn_sub_n): Do not use BP_SYM.
70305 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
70306 "bp-asm.h".
70307 (PARMS): Do not use macros from bp-asm.h.
70308 (S1): Likewise.
70309 (SIZE): Likewise.
70310 (__mpn_submul_1): Do not use BP_SYM.
70311 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
70312 <bp-sym.h>.
70313 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
70314 and <bp-asm.h>.
70315 (PARMS): Do not use macros from bp-asm.h.
70316 (FLAGS): Likewise.
70317 (PTID): Likewise.
70318 (TLS): Likewise.
70319 (CTID): Likewise.
70320 (__clone): Do not use BP_SYM.
70321 (clone): Do not use BP_SYM in weak_alias.
70322 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
70323 and <bp-asm.h>.
70324 (PARMS): Do not use macros from bp-asm.h.
70325 (LEN): Likewise.
70326 (__mmap64): Do not use BP_SYM.
70327 (mmap64): Do not use BP_SYM in weak_alias.
70328 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
70329 <bp-sym.h> and <bp-asm.h>.
70330 (PARMS): Do not use macros from bp-asm.h.
70331 (__posix_fadvise64_l64): Do not use BP_SYM.
70332 * sysdeps/unix/sysv/linux/i386/semtimedop.S
70333 (PARMS): Do not use macros from bp-asm.h.
70334 (NSOPS): Likewise.
70335 (semtimedop): Do not use BP_SYM.
70336 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
70337 and <bp-asm.h>.
70338
70339 2013-02-21 Allan McRae <allan@archlinux.org>
70340
70341 * manual/message.texi (Charset conversion in gettext):
70342 Move @end statement to beginning of line.
70343
70344 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
70345
70346 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
70347 static.
70348 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70349 Likewise.
70350
70351 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
70352 (denorm): Likewise.
70353 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
70354 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
70355
70356 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70357
70358 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
70359 tail-call to the resolved function if pltexit isn't needed.
70360
70361 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
70362
70363 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
70364 or Y being zero as being unlikely.
70365 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
70366 Likewise.
70367
70368 2013-02-20 Carlos O'Donell <carlos@redhat.com>
70369
70370 * manual/nss.texi (System Databases and Name Service Switch):
70371 Remove frobnicate @pxref.
70372
70373 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
70374
70375 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70376 __attribute__ ((unused)) to __attribute__ ((__unused__)).
70377
70378 2013-02-20 Petr Machata <pmachata@redhat.com>
70379
70380 * elf/elf.h (R_ARM_TARGET1): New macro.
70381 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
70382 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
70383 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
70384 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
70385 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
70386 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
70387 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
70388 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
70389 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
70390 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
70391 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
70392 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
70393 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
70394 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
70395 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
70396 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
70397 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
70398 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
70399 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
70400 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
70401 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
70402 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
70403 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
70404 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
70405 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
70406 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
70407 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
70408 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
70409 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
70410 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
70411 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
70412 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
70413 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
70414 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
70415 (R_ARM_THM_GOT_BREL12): Likewise.
70416 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
70417 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
70418 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
70419 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
70420 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
70421 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
70422 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
70423 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
70424 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
70425
70426 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
70427
70428 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70429 __attribute_used__ to __attribute__ ((unused)).
70430
70431 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
70432
70433 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
70434 powerpc mpa.c.
70435 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
70436 comment formatting.
70437 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
70438
70439 2013-02-19 Joseph Myers <joseph@codesourcery.com>
70440
70441 [BZ #13550]
70442 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
70443 Remove macro.
70444 (ENTER): Remove both macro definitions.
70445 (LEAVE): Likewise.
70446 (CHECK_BOUNDS_LOW): Likewise.
70447 (CHECK_BOUNDS_HIGH): Likewise.
70448 (CHECK_BOUNDS_BOTH): Likewise.
70449 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
70450 (RETURN_BOUNDED_POINTER): Likewise.
70451 (RETURN_NULL_BOUNDED_POINTER): Likewise.
70452 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
70453 (POP_ERRNO_LOCATION_RETURN): Likewise.
70454 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
70455 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70456 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
70457 macros.
70458 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70459 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
70460 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
70461 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
70462 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
70463 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
70464 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
70465 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
70466 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
70467 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
70468 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
70469 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
70470 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70471 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
70472 removed macros.
70473 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70474 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
70475 macros.
70476 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70477 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
70478 * sysdeps/i386/i586/memset.S (memset): Likewise.
70479 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
70480 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70481 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
70482 macros.
70483 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70484 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
70485 Change uses of L(2) to L(out).
70486 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
70487 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
70488 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
70489 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70490 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
70491 removed macros.
70492 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70493 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
70494 macros.
70495 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70496 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
70497 (RETURN): Do not use macro LEAVE.
70498 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
70499 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
70500 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
70501 * sysdeps/i386/i686/memset.S (memset): Likewise.
70502 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
70503 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
70504 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70505 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
70506 Likewise.
70507 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70508 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
70509 L(1_2) and L(1_3) into L(1).
70510 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70511 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
70512 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70513 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
70514 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70515 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
70516 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
70517 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70518 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
70519 macros.
70520 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
70521 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70522 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
70523 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
70524 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
70525 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70526 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
70527 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
70528 * sysdeps/i386/strcspn.S (strcspn): Likewise.
70529 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
70530 * sysdeps/i386/strrchr.S (strrchr): Likewise.
70531 * sysdeps/i386/strspn.S (strspn): Likewise.
70532 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
70533 conditional code.
70534 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70535 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
70536 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70537 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
70538 L(1_3) into L(1_1).
70539 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
70540 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70541 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
70542 macros.
70543 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70544
70545 2013-02-19 Jakub Jelinek <jakub@redhat.com>
70546
70547 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
70548 macro.
70549
70550 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
70551
70552 * math/atest-exp.c (exp_mpn): Remove ROUND.
70553 * math/atest-exp2.c (exp_mpn): Likewise.
70554 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
70555
70556 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
70557 * stdlib/tst-tls-atexit-lib.c: Likewise.
70558 * stdlib/tst-tls-atexit.c: Likewise.
70559
70560 2013-02-18 Mike Frysinger <vapier@gentoo.org>
70561
70562 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
70563 and __attribute_alloc_size__.
70564
70565 2013-02-18 Mike Frysinger <vapier@gentoo.org>
70566
70567 * include/programs/xmalloc.h: Change __attribute_alloc_size to
70568 __attribute_alloc_size__.
70569 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
70570 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
70571
70572 2013-02-18 Mike Frysinger <vapier@gentoo.org>
70573
70574 * include/programs/xmalloc.h: New file.
70575 * catgets/gencat.c: Include it.
70576 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
70577 * elf/pldd.c: Likewise.
70578 * iconv/iconv_charmap.c: Likewise.
70579 * iconv/iconvconfig.c: Likewise.
70580 * iconv/strtab.c: Likewise.
70581 * locale/programs/locale.c: Likewise.
70582 * locale/programs/localedef.h: Likewise.
70583 * locale/programs/simple-hash.c: Likewise.
70584 * nscd/nscd.h: Likewise.
70585 * nss/makedb.c: Likewise.
70586 * sysdeps/generic/ldconfig.h: Likewise.
70587
70588 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
70589
70590 * Versions.def: Add GLIBC_2.18.
70591 * include/link.h (struct link_map): New member l_tls_dtor_count.
70592 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
70593 (__call_tls_dtors): Likewise.
70594 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
70595 __cxa_thread_atexit_impl.
70596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70597 Likewise.
70598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70599 Likewise.
70600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
70601 Likewise.
70602 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
70603 Likewise.
70604 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
70606 Likewise.
70607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
70608 Likewise.
70609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70610 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
70611 Likewise.
70612 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
70613 (tests): Add test case tst-tls-atexit.
70614 (modules-names): Add shared library for tst-tls-atexit.
70615 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
70616 (GLIBC_PRIVATE): Add __call_tls_dtors.
70617 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
70618 for libstdc++.
70619 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
70620 * stdlib/tst-tls-atexit.c: New test case.
70621 * stdlib/tst-tls-atexit-lib.c: New test case.
70622
70623 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
70624
70625 * elf/Versions (ld): Add _dl_find_dso_for_object.
70626 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
70627 * elf/dl-open.c (_dl_find_dso_for_object): New function.
70628 (dl_open_worker): Use _dl_find_dso_for_object.
70629 * elf/dl-sym.c (do_sym): Likewise.
70630 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
70631
70632 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70633
70634 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
70635 Syntactic changes only.
70636 (_dl_runtime_profile): Do a tail-call to the resolved function.
70637
70638 2013-02-17 Joseph Myers <joseph@codesourcery.com>
70639
70640 [BZ #13550]
70641 * sysdeps/x86_64/bp-asm.h: Remove file.
70642 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
70643 <bp-sym.h> and <bp-asm.h>.
70644 (__clone): Do not use BP_SYM.
70645 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
70646 <bp-sym.h> and <bp-asm.h>.
70647 * sysdeps/unix/x86_64/sysdep.S: Likewise.
70648 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
70649 "bp-asm.h".
70650 (_setjmp): Do not use BP_SYM.
70651 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
70652 "bp-asm.h".
70653 (setjmp): Do not use BP_SYM.
70654 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
70655 libc_hidden_def.
70656 (mempcpy): Do not use BP_SYM in weak_alias.
70657 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
70658 "bp-asm.h".
70659 (strchr): Do not use BP_SYM.
70660 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
70661 "bp-asm.h".
70662 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
70663 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
70664 (_start): Do not use BP_SYM.
70665 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
70666 "bp-asm.h".
70667 (strcat): Do not use BP_SYM.
70668 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
70669 "bp-asm.h".
70670 (STRCMP): Do not use BP_SYM.
70671 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
70672 "bp-asm.h".
70673 (STRCPY): Do not use BP_SYM.
70674 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
70675 "bp-asm.h".
70676 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
70677 "bp-asm.h".
70678 (FUNCTION): Do not use BP_SYM.
70679 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
70680 weak_alias.
70681 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
70682
70683 2013-02-17 Andreas Jaeger <aj@suse.de>
70684
70685 * time/Versions: Sort entries.
70686 * string/Versions: Likewise.
70687 * resolv/Versions: Likewise.
70688 * posix/Versions: Likewise.
70689 * iconv/Versions: Likewise.
70690 * elf/Versions: Likewise.
70691 * wcsmbs/Versions: Likewise.
70692
70693 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
70694
70695 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
70696 loop termination condition.
70697
70698 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
70699 variable to calculate EZ.
70700 (__sqr): Likewise.
70701
70702 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
70703 the lower precision input.
70704
70705 2013-02-15 Joseph Myers <joseph@codesourcery.com>
70706
70707 [BZ #13550]
70708 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
70709 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
70710 (run-via-rtld-prefix): Do not handle %-bp tests.
70711 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
70712 (all-object-suffixes): Remove .ob.
70713 (bppfx): Remove variable.
70714 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
70715 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
70716 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
70717 [$(build-bounded) = yes] (libtype.ob): Likewise.
70718 * Makerules (elide-routines.ob): Remove variable.
70719 (do-tests-clean): Do not handle *-bp.out.
70720 (common-mostlyclean): Do not handle *-bp and *-bp.out.
70721 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
70722 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
70723 (tests): Do not include $(tests-bp.out).
70724 (xtests): Do not include $(xtests-bp.out).
70725 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
70726 [$(build-bounded) = yes] ($(addprefix
70727 $(objpfx),$(binaries-bounded))): Remove rule.
70728 ($(objpfx)%-bp.out): Remove rule.
70729 * config.make.in (build-bounded): Remove variable.
70730 * crypt/Makefile [$(build-bounded) = yes]
70731 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
70732 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
70733 append to variable.
70734 [$(build-bounded) = yes] (install-lib): Likewise.
70735 [$(build-bounded) = yes] (generated): Likewise.
70736 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
70737 Remove rule.
70738 * intl/Makefile [$(build-bounded) = yes]
70739 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
70740 * math/Makefile [$(build-bounded) = yes]
70741 ($(tests:%=$(objpfx)%-bp): Likewise.
70742 * misc/Makefile [$(build-bounded) = yes]
70743 ($(objpfx)tst-tsearch-bp): Likewise.
70744 * nptl/Makeconfig (bounded-thread-library): Remove variable.
70745 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
70746 Remove dependency.
70747 * string/Makefile (o-objects.ob): Remove variable.
70748 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
70749 (CFLAGS-.ob): Remove variable.
70750 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
70751 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
70752 both definitions of variable.
70753 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
70754 (ASFLAGS-.ob): Remove variable.
70755
70756 2013-02-14 Joseph Myers <joseph@codesourcery.com>
70757
70758 [BZ #13550]
70759 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
70760 Remove __BOUNDED_POINTERS__ from condition.
70761 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
70762 * string/bits/string2.h [!__NO_STRING_INLINES &&
70763 !__BOUNDED_POINTERS__]: Likewise.
70764 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
70765 Likewise.
70766 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
70767 Remove conditional code.
70768 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
70769 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
70770 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
70771 condition.
70772
70773 [BZ #13550]
70774 * csu/libc-start.c: Do not include <bp-sym.h>.
70775 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
70776 * elf/dl-open.c: Do not include <bp-sym.h>.
70777 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
70778 * math/fegetenv.c: Do not include <bp-sym.h>.
70779 (fegetenv): Do not use BP_SYM in versioned symbols.
70780 * nptl/sysdeps/pthread/bits/libc-lockP.h
70781 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
70782 <bp-sym.h>.
70783 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70784 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
70785 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70786 (__pthread_mutex_destroy): Likewise.
70787 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70788 (__pthread_mutex_lock): Likewise.
70789 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70790 (__pthread_mutex_trylock): Likewise.
70791 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70792 (__pthread_mutex_unlock): Likewise.
70793 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70794 (__pthread_mutexattr_init): Likewise.
70795 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70796 (__pthread_mutexattr_destroy): Likewise.
70797 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70798 (__pthread_mutexattr_settype): Likewise.
70799 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70800 (__pthread_rwlock_init): Likewise.
70801 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70802 (__pthread_rwlock_destroy): Likewise.
70803 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70804 (__pthread_rwlock_rdlock): Likewise.
70805 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70806 (__pthread_rwlock_tryrdlock): Likewise.
70807 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70808 (__pthread_rwlock_wrlock): Likewise.
70809 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70810 (__pthread_rwlock_trywrlock): Likewise.
70811 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70812 (__pthread_rwlock_unlock): Likewise.
70813 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70814 (__pthread_key_create): Likewise.
70815 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70816 (__pthread_setspecific): Likewise.
70817 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70818 (__pthread_getspecific): Likewise.
70819 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
70820 Likewise.
70821 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70822 (_pthread_cleanup_push_defer): Likewise.
70823 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70824 (_pthread_cleanup_pop_restore): Likewise.
70825 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70826 (pthread_setcancelstate): Likewise.
70827 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
70828 <bp-sym.h>.
70829 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
70830 (memchr): Do not use BP_SYM in weak_alias.
70831 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
70832 (fegetenv): Do not use BP_SYM in versioned symbols.
70833 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
70834 (fesetenv): Do not use BP_SYM in versioned symbols.
70835 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
70836 (feupdateenv): Do not use BP_SYM in versioned symbols.
70837 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
70838 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
70839 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
70840 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
70841 (open64): Do not use BP_SYM in weak_alias.
70842 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
70843 (fegetenv): Do not use BP_SYM in versioned symbols.
70844 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
70845 (fesetenv): Do not use BP_SYM in versioned symbols.
70846 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
70847 (feupdateenv): Do not use BP_SYM in versioned symbols.
70848 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
70849 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
70850 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
70851 (feraiseexcept): Do not use BP_SYM in versioned symbols.
70852 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
70853 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
70854 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
70855 <bp-sym.h>.
70856 (__libc_start_main): Do not use BP_SYM.
70857
70858 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
70859
70860 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
70861 redundant return line.
70862 (norm): Likewise.
70863 (denorm): Likewise.
70864 (dbl_mp): Likewise.
70865 (sub_magnitudes): Likewise.
70866 (__add): Likewise.
70867 (__sub): Likewise.
70868 (__mul): Likewise.
70869 (__inv): Likewise.
70870 (__dvd): Likewise.
70871 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
70872 (norm): Likewise.
70873 (denorm): Likewise.
70874 (dbl_mp): Likewise.
70875 (sub_magnitudes): Likewise.
70876 (__add): Likewise.
70877 (__sub): Likewise.
70878 (__mul): Likewise.
70879 (__inv): Likewise.
70880 (__dvd): Likewise.
70881
70882 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
70883 instead of __mul.
70884 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
70885 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
70886 (cc32): Likewise.
70887
70888 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
70889 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
70890 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
70891 of __mul for squares.
70892 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
70893 function
70894 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
70895 Likewise.
70896 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
70897 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
70898
70899 2013-02-13 Joseph Myers <joseph@codesourcery.com>
70900
70901 [BZ #13550]
70902 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
70903 code.
70904 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
70905 prototype or function definition. Rename ubp_* variables and
70906 parameters. Remove argv definitions conditional on
70907 [__BOUNDED_POINTERS__].
70908 * debug/backtrace.c (__backtrace): Do not use __unbounded.
70909 * elf/dl-runtime.c (_dl_fixup): Likewise.
70910 * include/set-hooks.h (RUN_HOOK): Likewise.
70911 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
70912 definition.
70913 * string/strcpy.c (strcpy): Do not use __unbounded.
70914 * sysdeps/generic/frame.h (struct layout): Likewise.
70915 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
70916 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
70917 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
70918 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
70919 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
70920 (__backtrace): Likewise.
70921 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
70922 use __ptrvalue.
70923 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
70924 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
70925 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
70926 Likewise.
70927 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
70928 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
70929 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
70930 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
70931 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
70932 Do not use __unbounded.
70933 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
70934 Rename __unboundedrlimits parameter to rlimits in prototype.
70935 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
70936 Do not use __unbounded.
70937 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
70938 not use __ptrvalue.
70939 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
70940 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
70941 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
70942 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
70943 __ptrvalue or __unbounded.
70944 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
70945 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
70946 use __unbounded.
70947 (__new_msgctl): Do not use __ptrvalue.
70948 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
70949 __unbounded.
70950 (__libc_msgrcv): Do not use __ptrvalue.
70951 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
70952 startup_info): Do not use __unbounded.
70953 (__libc_start_main): Likewise. Rename ubp_* variables and
70954 parameters. Remove argv definitions conditional on
70955 [__BOUNDED_POINTERS__].
70956 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
70957 __ptrvalue.
70958 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
70959 use __unbounded.
70960 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
70961 or __ptrvalue.
70962 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
70963 use __unbounded.
70964 (__new_shmctl): Do not use __ptrvalue.
70965 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
70966 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
70967 Likewise.
70968 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
70969 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
70970 (__libc_sigaction): Likewise.
70971 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
70972 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
70973 Likewise.
70974 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
70975
70976 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
70977
70978 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
70979
70980 * string/mempcpy.c: Implement by calling memcpy.
70981
70982 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
70983
70984 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
70985
70986 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
70987 evaluation.
70988
70989 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
70990 values in the mantissa.
70991
70992 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
70993 minimize writes to Z.
70994 (sub_magnitudes): Simplify code a bit.
70995
70996 2013-02-12 Roland McGrath <roland@hack.frob.com>
70997
70998 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
70999 from the message. The linker prefixes all warnings with that already.
71000
71001 2013-02-12 Andreas Schwab <schwab@suse.de>
71002
71003 [BZ #15078]
71004 * posix/regexec.c (extend_buffers): Add parameter min_len.
71005 (check_matching): Pass minimum needed length.
71006 (clean_state_log_if_needed): Likewise.
71007 (get_subexp): Likewise.
71008 * posix/Makefile (tests): Add bug-regex34.
71009 (bug-regex34-ENV): Define.
71010 * posix/bug-regex34.c: New file.
71011
71012 [BZ #11561]
71013 * posix/regcomp.c (parse_bracket_exp): When looking up collating
71014 elements compare against the byte sequence of it, not its name.
71015 * posix/Makefile (tests): Add bug-regex35.
71016 (bug-regex35-ENV): Define.
71017 * posix/bug-regex35.c: New file.
71018
71019 2013-02-11 Tom de Vries <tom@codesourcery.com>
71020
71021 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
71022 comment.
71023 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
71024 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
71025 (CHECK_EOL): Add undef.
71026
71027 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
71028
71029 * bits/stdlib-bsearch.h: New file.
71030 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
71031 * stdlib/stdlib.h: Likewise.
71032
71033 2013-02-11 Roland McGrath <roland@hack.frob.com>
71034
71035 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
71036 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
71037 declaration.
71038 * manual/search.texi (Array Search Function): Add missing const in
71039 lfind prototype.
71040 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
71041 declaration to use rlim_t.
71042 (Basic Scheduling Functions): Remove erroneous const from
71043 sched_getparam prototype. Remove erroneous * from
71044 sched_get_priority_max and sched_get_priority_min prototypes.
71045 (Resource Usage): Fix summary @comment on vtimes to refer to
71046 sys/vtimes.h rather than vtimes.h.
71047 Add missing *s in vtimes prototype.
71048 (Limits on Resources): Fix ulimit prototype to return long int.
71049 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
71050 prototypes to use long int rather than double.
71051 (BSD Random): Fix initstate and setstate to use char *, not void *.
71052 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
71053 prototype to make second argument 'struct aiocb64 *const[]'.
71054 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
71055 (Status of AIO Operations): Remove erroneous const in aio_return and
71056 aio_return64 prototypes.
71057 (Synchronizing I/O): Fix sync prototype to return void.
71058 * manual/startup.texi (Suboptions): Remove an erroneous const in
71059 getsubopt prototype.
71060 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
71061 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
71062 use size_t rather than int.
71063 (Scanning All Users): Likewise for getpwent_r.
71064 (Setting Groups): Add missing const to setgroups prototype.
71065 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
71066 * manual/socket.texi (Host Names): Fix gethostbyaddr and
71067 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
71068 'const void *' rather than 'const char *'.
71069 (Host Address Functions): Likewise for inet_ntop.
71070 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
71071 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
71072 ssize_t for return value.
71073 (Sending Data): Likewise for send, sendto, sendmsg.
71074 (Socket Option Functions): Add a missing const in setsockopt prototype.
71075 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
71076 use wchar_t for the argument.
71077 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
71078 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
71079 take no arguments.
71080 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
71081 double/float/long double for second argument.
71082 Fix return types of significand, significandf, significandl.
71083 * manual/filesys.texi (Setting Permissions): Use mode_t for second
71084 argument in fchmod prototype.
71085 (File Owner): Use uid_t and gid_t in fchown prototype.
71086 (File Times): Add const to utimes, futimes, and lutimes prototypes.
71087 (Making Special Files): Use mode_t and dev_t in mknod prototype.
71088 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
71089 use 'const struct dirent **' as argument types to CMP function pointer
71090 argument.
71091 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
71092 (File Times): Fix summary magic @comment for struct utimbuf and utime
71093 to refer to utime.h, not time.h.
71094 * manual/string.texi (Argz Functions): Add missing const in
71095 argz_extract and argz_next prototypes.
71096 (Finding Tokens in a String): Likewise for basename.
71097 (String/Array Comparison): Fix typo in wcscasecmp prototype.
71098 (Copying and Concatenation): Fix typo in wmemmove prototype.
71099 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
71100 (Signal Stack): Remove erroneous const in sigstack prototype.
71101 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
71102 prototype.
71103 (Simple Calendar Time): Likewise for stime.
71104 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
71105 prototype.
71106 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
71107 say sys/sysctl.h instead.
71108 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
71109 and vsyslog prototypes.
71110
71111 2013-02-11 Tom de Vries <tom@codesourcery.com>
71112
71113 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
71114 Remove.
71115
71116 2013-02-11 Roland McGrath <roland@hack.frob.com>
71117
71118 * misc/sys/mman.h: Fix typo in mremap comment.
71119
71120 2013-02-08 Roland McGrath <roland@hack.frob.com>
71121
71122 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
71123 the '\0' terminator.
71124
71125 2013-02-08 Joseph Myers <joseph@codesourcery.com>
71126
71127 [BZ #13550]
71128 * debug/segfault.c: Don't include <bp-checks.h>.
71129 * sysdeps/generic/bp-checks.h: Remove file.
71130 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
71131 (__GETDENTS): Don't use CHECK_N.
71132 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
71133 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
71134 (__getgroups): Don't use CHECK_N.
71135 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
71136 (setgroups): Don't use CHECK_N.
71137 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
71138 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
71139 (__libc_msgrcv): Don't use CHECK_N.
71140 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
71141 (__libc_msgsnd): Don't use CHECK_N.
71142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
71143 <bp-checks.h>.
71144 (__libc_pread): Don't use CHECK_N.
71145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
71146 include <bp-checks.h>.
71147 (__libc_pread64): Don't use CHECK_N.
71148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
71149 include <bp-checks.h>.
71150 (__libc_pwrite): Don't use CHECK_N.
71151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
71152 include <bp-checks.h>.
71153 (__libc_pwrite64): Don't use CHECK_N.
71154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
71155 <bp-checks.h>.
71156 (__libc_pread): Don't use CHECK_N.
71157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
71158 include <bp-checks.h>.
71159 (__libc_pread64): Don't use CHECK_N.
71160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
71161 include <bp-checks.h>.
71162 (__libc_pwrite): Don't use CHECK_N.
71163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
71164 include <bp-checks.h>.
71165 (__libc_pwrite64): Don't use CHECK_N.
71166 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
71167 (do_pread): Don't use CHECK_N.
71168 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
71169 (do_pread64): Don't use CHECK_N.
71170 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
71171 (do_pwrite): Don't use CHECK_N.
71172 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
71173 (do_pwrite64): Don't use CHECK_N.
71174 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
71175 (__libc_readv): Don't use CHECK_N.
71176 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
71177 (semop): Don't use CHECK_N.
71178 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
71179 <bp-checks.h>.
71180 (semtimedop): Don't use CHECK_N.
71181 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
71182 (__libc_pread): Don't use CHECK_N.
71183 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
71184 <bp-checks.h>.
71185 (__libc_pread64): Don't use CHECK_N.
71186 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
71187 <bp-checks.h>.
71188 (__libc_pwrite): Don't use CHECK_N.
71189 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
71190 <bp-checks.h>.
71191 (__libc_pwrite64): Don't use CHECK_N.
71192 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
71193 <bp-checks.h>.
71194 (__libc_msgrcv): Don't use CHECK_N.
71195 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
71196 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
71197 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
71198 (__libc_writev): Don't use CHECK_N.
71199
71200 2013-02-08 Roland McGrath <roland@hack.frob.com>
71201
71202 * string/strcpy.c: Removed unused variable.
71203
71204 * Makeconfig (+sysdep-includes): Define with := rather than =.
71205 Use an existing include/ subdir of each sysdeps dir before it.
71206
71207 2013-02-08 Carlos O'Donell <carlos@redhat.com>
71208
71209 * nscd/connection.c (register_traced_file): Comment function.
71210 [HAVE_INOTIFY] (union __inev): Define.
71211 [HAVE_INOTIFY] (inotify_check_files): New function.
71212 [HAVE_INOTIFY] (clear_db_cache): Likewise.
71213 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
71214 clear_db_cache.
71215 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
71216
71217 2013-02-08 Carlos O'Donell <carlos@redhat.com>
71218
71219 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
71220 loaded if not already and that a failure is permanent.
71221
71222 2013-02-08 Carlos O'Donell <carlos@redhat.com>
71223
71224 [BZ #15006]
71225 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
71226 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
71227
71228 2013-02-08 Joseph Myers <joseph@codesourcery.com>
71229
71230 [BZ #13550]
71231 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
71232 (CHECK_1_NULL_OK): Likewise.
71233 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
71234 (__fxstat): Do not use CHECK_1.
71235 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
71236 <bp-checks.h>.
71237 (___fxstat64): Do not use CHECK_1.
71238 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
71239 <bp-checks.h>.
71240 (__fxstatat): Do not use CHECK_1.
71241 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
71242 <bp-checks.h>.
71243 (__fxstatat64): Do not use CHECK_1.
71244 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
71245 <bp-checks.h>.
71246 (__fxstat): Do not use CHECK_1.
71247 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
71248 <bp-checks.h>.
71249 (__fxstatat): Do not use CHECK_1.
71250 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
71251 <bp-checks.h>.
71252 (__getresgid): Do not use CHECK_1.
71253 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
71254 <bp-checks.h>.
71255 (__getresuid): Do not use CHECK_1.
71256 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
71257 <bp-checks.h>.
71258 (__lxstat): Do not use CHECK_1.
71259 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
71260 <bp-checks.h>.
71261 (__old_msgctl): Do not use CHECK_1.
71262 (__new_msgctl): Likewise.
71263 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
71264 <bp-checks.h>.
71265 (__new_setrlimit): Do not use CHECK_1.
71266 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
71267 <bp-checks.h>.
71268 (__old_shmctl): Do not use CHECK_1.
71269 (__new_shmctl): Likewise.
71270 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
71271 <bp-checks.h>.
71272 (__xstat): Do not use CHECK_1.
71273 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
71274 (__lxstat): Do not use CHECK_1.
71275 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
71276 <bp-checks.h>.
71277 (___lxstat64): Do not use CHECK_1.
71278 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
71279 (__old_msgctl): Do not use CHECK_1.
71280 (__new_msgctl): Likewise.
71281 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
71282 <bp-checks.h>.
71283 (__gettimeofday): Do not use CHECK_1.
71284 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
71285 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
71286 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
71287 <bp-checks.h>.
71288 (__gettimeofday): Do not use CHECK_1.
71289 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
71290 (__old_shmctl): Do not use CHECK_1_NULL_OK.
71291 (__new_shmctl): Do not use CHECK_1.
71292 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
71293 <bp-checks.h>.
71294 (do_sigtimedwait): Do not use CHECK_1.
71295 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
71296 <bp-checks.h>.
71297 (do_sigwaitinfo): Do not use CHECK_1.
71298 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
71299 <bp-checks.h>.
71300 (msgctl): Do not use CHECK_1.
71301 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
71302 <bp-checks.h>.
71303 (shmctl): Do not use CHECK_1.
71304 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
71305 (ustat): Do not use CHECK_1.
71306 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
71307 <bp-checks.h>.
71308 (__fxstat): Do not use CHECK_1.
71309 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
71310 <bp-checks.h>.
71311 (__fxstatat): Do not use CHECK_1.
71312 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
71313 <bp-checks.h>.
71314 (__lxstat): Do not use CHECK_1.
71315 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
71316 <bp-checks.h>.
71317 (__xstat): Do not use CHECK_1.
71318 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
71319 (__xstat): Do not use CHECK_1.
71320 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
71321 (___xstat64): Do not use CHECK_1.
71322
71323 [BZ #13550]
71324 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
71325 definitions.
71326 (CHECK_BOUNDS_HIGH): Likewise.
71327 * string/strcpy.c: Do not include <bp-checks.h>.
71328 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
71329
71330 2013-02-07 Roland McGrath <roland@hack.frob.com>
71331
71332 * nscd/nscd-client.h (__nscd_drop_map_ref):
71333 Add __attribute__ ((unused)).
71334 * nis/nss-nisplus.h (niserr2nss): Likewise.
71335
71336 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
71337 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
71338
71339 * csu/libc-tls.c (init_static_tls, init_slotinfo):
71340 Remove inline keyword.
71341 * include/rounding-mode.h (round_away): Likewise.
71342 * libio/wfileops.c (adjust_wide_data): Likewise.
71343 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
71344 (__m128i_strloadu_tolower): Likewise.
71345 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
71346 (__m128i_strloadu_tolower): Likewise.
71347 * time/mktime.c (ydhms_diff): Likewise.
71348 * locale/elem-hash.h (elem_hash): Likewise.
71349 * locale/setlocale.c (setdata): Likewise.
71350 * posix/regex_internal.h (re_string_char_size_at): Likewise.
71351 (re_string_wchar_at): Likewise.
71352 (bitset_not, bitset_merge, bitset_mask): Likewise.
71353 [!(__GNUC__ > 3)] (inline): Remove macro.
71354 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
71355 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
71356 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
71357 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
71358 * string/memcmp.c (memcmp_bytes): Likewise.
71359 * locale/programs/locarchive.c (compute_hashval): Likewise.
71360 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
71361 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
71362 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
71363 * nss/getent.c (print_rpc, print_protocols): Likewise.
71364 (print_passwd, print_group, print_aliases): Likewise.
71365 * nis/nss-nisplus.h (niserr2nss): Likewise.
71366 * nscd/connections.c (restart_p): Likewise.
71367 Change return type to bool.
71368
71369 2013-02-05 Roland McGrath <roland@hack.frob.com>
71370
71371 * Makeconfig (all-Depend-files): Add existing
71372 $(sorted-subdirs:=/Depend) files.
71373 (all-subdirs): Remove nss.
71374 * sysdeps/unix/inet/Subdirs: Add it here instead.
71375 * hesiod/Depend: New file.
71376
71377 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
71378 instead of calling alloca.
71379
71380 * io/lseek.c (__lseek): Rename to __libc_lseek.
71381 Define __lseek as an alias.
71382
71383 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
71384
71385 2013-02-04 Carlos O'Donell <carlos@redhat.com>
71386
71387 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
71388 else clause and remove check for non-standard endianness.
71389
71390 2013-02-04 David S. Miller <davem@davemloft.net>
71391
71392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71393
71394 2013-02-04 Joseph Myers <joseph@codesourcery.com>
71395
71396 [BZ #13550]
71397 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
71398 (__ubp_memchr): Remove prototype.
71399 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
71400 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71401 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
71402 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71403 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
71404 Remove alias.
71405 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
71406 (__ubp_memchr): Likewise.
71407 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
71408 (__ubp_memchr): Likewise.
71409 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
71410 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
71411 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
71412 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
71413 CHECK_STRING.
71414 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
71415 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
71416 (__getcwd): Do not use CHECK_STRING.
71417 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
71418 <bp-checks.h>.
71419 (__real_chown): Do not use CHECK_STRING.
71420 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
71421 <bp-checks.h>.
71422 (fchownat): Do not use CHECK_STRING.
71423 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
71424 CHECK_STRING.
71425 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
71426 <bp-checks.h>.
71427 (__lchown): Do not use CHECK_STRING.
71428 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71429 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71430 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71431 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
71432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71433 include <bp-checks.h>.
71434 (truncate64): Do not use CHECK_STRING.
71435 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
71436 <bp-checks.h>.
71437 (__real_chown): Do not use CHECK_STRING.
71438 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
71439 <bp-checks.h>.
71440 (__lchown): Do not use CHECK_STRING.
71441 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
71442 <bp-checks.h>.
71443 (__chown): Do not use CHECK_STRING.
71444 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
71445 <bp-checks.h>.
71446 (truncate64): Do not use CHECK_STRING.
71447 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
71448 Likewise.
71449 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
71450 (__xmknod): Do not use CHECK_STRING.
71451 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
71452 <bp-checks.h>.
71453 (__xmknodat): Do not use CHECK_STRING.
71454 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71455 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
71456
71457 2013-02-04 Andreas Schwab <schwab@suse.de>
71458
71459 [BZ #14142]
71460 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
71461 * include/netdb.h: Likewise for h_errno.
71462 * elf/tst-stackguard1.c: Include <tls.h>.
71463
71464 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
71465
71466 * elf/link.h (struct link_map): Extend the l_addr comment.
71467 * include/link.h (struct link_map): Likewise.
71468
71469 2013-02-01 Joseph Myers <joseph@codesourcery.com>
71470
71471 [BZ #13550]
71472 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
71473 (BOUNDED_1): Remove macro.
71474 * debug/backtrace.c: Don't include <bp-checks.h>.
71475 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
71476 (__backtrace): Likewise.
71477 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
71478 <bp-checks.h>.
71479 (__backtrace): Don't use BOUNDED_1.
71480 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
71481 <bp-checks.h>.
71482 (__backtrace): Don't use BOUNDED_1.
71483 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
71484 (__backtrace): Don't use BOUNDED_1.
71485 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
71486 (shmat): Don't use BOUNDED_N.
71487
71488 2013-01-31 Joseph Myers <joseph@codesourcery.com>
71489
71490 [BZ #13550]
71491 * sysdeps/generic/bp-start.h: Remove file.
71492 * csu/libc-start.c: Don't include <bp-start.h>.
71493 (LIBC_START_MAIN): Set up __environ directly instead of using
71494 INIT_ARGV_and_ENVIRON.
71495 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
71496 <bp-start.h>.
71497
71498 [BZ #13550]
71499 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
71500 definitions.
71501 (CHECK_FCNTL): Likewise.
71502 (CHECK_N_PAGES): Likewise.
71503
71504 [BZ #13550]
71505 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
71506 definitions.
71507 (CHECK_SIGSET_NULL_OK): Likewise.
71508 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
71509 <bp-checks.h>.
71510 (sigpending): Don't use CHECK_SIGSET.
71511 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
71512 <bp-checks.h>.
71513 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71514 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
71515 <bp-checks.h>.
71516 (do_sigsuspend): Don't use CHECK_SIGSET.
71517 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
71518 use CHECK_SIGSET.
71519 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
71520 (do_sigwait): Don't use CHECK_SIGSET.
71521 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
71522 use CHECK_SIGSET.
71523 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
71524 include <bp-checks.h>.
71525 (sigpending): Don't use CHECK_SIGSET.
71526 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
71527 include <bp-checks.h>.
71528 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71529 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
71530 <bp-checks.h>.
71531 (sigpending): Don't use CHECK_SIGSET.
71532 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
71533 <bp-checks.h>.
71534 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71535
71536 [BZ #13550]
71537 * sysdeps/generic/bp-semctl.h: Remove file.
71538 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
71539 <bp-checks.h> and <bp-semctl.h>.
71540 (__old_semctl): Don't use CHECK_SEMCTL.
71541 (__new_semctl): Likewise.
71542 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
71543 and <bp-semctl.h>.
71544 (__old_semctl): Don't use CHECK_SEMCTL.
71545 (__new_semctl): Likewise.
71546 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
71547 <bp-checks.h> and <bp-semctl.h>.
71548 (__old_semctl): Don't use CHECK_SEMCTL.
71549 (__new_semctl): Likewise.
71550 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
71551 <bp-checks.h> and <bp-semctl.h>.
71552 (semctl): Don't use CHECK_SEMCTL.
71553
71554 [BZ #13550]
71555 * Makerules (elide-bp-thunks): Remove variable.
71556 (elide-routines.oS): Don't use $(elide-bp-thunks).
71557 (elide-routines.os): Likewise.
71558 (elide-routines.o): Likewise.
71559 (elide-routines.op): Likewise.
71560 (elide-routines.og): Likewise.
71561 (objects): Don't use $(bp-thunks).
71562 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
71563 include.
71564 (common-generated): Do not add s-proto-bp.d.
71565 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
71566 (int): Likewise.
71567 (typ): Likewise.
71568 Do not generate makefile rules for bounded-pointer thunks.
71569 * sysdeps/generic/bp-thunks.h: Remove file.
71570 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
71571 * sysdeps/unix/s-proto-bp.S: Likewise.
71572
71573 [BZ #15062]
71574 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
71575 parts of result separately when argument is not close to line from
71576 -i to i and one part of argument is small.
71577 * math/k_casinhf.c (__kernel_casinhf): Likewise.
71578 * math/k_casinhl.c (__kernel_casinhl): Likewise.
71579 * math/libm-test.inc (cacos_test): Add more tests.
71580 (casin_test): Likewise.
71581 (casinh_test): Likewise.
71582 * sysdeps/i386/fpu/libm-test-ulps: Update.
71583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71584
71585 2013-01-31 David S. Miller <davem@davemloft.net>
71586
71587 * po/de.po: Update from translation team.
71588
71589 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
71590
71591 * time/tzfile.c: Include stdint.h for SIZE_MAX.
71592
71593 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
71594
71595 * configure.in (_AC_PROG_CC_C89): New definition.
71596 * configure: Regenerate.
71597
71598 * configure.in (AC_PROG_CPP): New definition.
71599 * configure: Regenerate.
71600
71601 2013-01-23 Joseph Myers <joseph@codesourcery.com>
71602
71603 * debug/tst-backtrace.h: New file.
71604 * debug/tst-backtrace2.c: Include tst-backtrace.h.
71605 (ret): Remove variable.
71606 (x): Likewise.
71607 (FAIL): Remove macro.
71608 (NO_INLINE): Likewise.
71609 (fn1): Use match function instead of strstr.
71610 * debug/tst-backtrace3.c: Include tst-backtrace.h.
71611 (ret): Remove variable.
71612 (x): Likewise.
71613 (FAIL): Remove macro.
71614 (NO_INLINE): Likewise.
71615 (fn): Use match function instead of strstr.
71616 * debug/tst-backtrace4.c: Include tst-backtrace.h.
71617 (ret): Remove variable.
71618 (x): Likewise.
71619 (FAIL): Remove macro.
71620 (NO_INLINE): Likewise.
71621 (handle_signal): Use match function instead of strstr.
71622 * debug/tst-backtrace5.c: Include tst-backtrace.h.
71623 (ret): Remove variable.
71624 (x): Likewise.
71625 (FAIL): Remove macro.
71626 (NO_INLINE): Likewise.
71627 (handle_signal): Use match function instead of strstr.
71628
71629 2013-01-23 Roland McGrath <roland@hack.frob.com>
71630
71631 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
71632
71633 2013-01-23 David S. Miller <davem@davemloft.net>
71634
71635 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
71636 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
71637 argument of CAS if possible.
71638 * sysdeps/sparc/sparc64/bits/atomic.h
71639 (__arch_compare_and_exchange_val_32_acq): Likewise.
71640 (__arch_compare_and_exchange_val_64_acq): Likewise.
71641
71642 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
71643
71644 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
71645 * sysdeps/posix/ulimit.c: ... this.
71646 Include <limits.h>.
71647 * sysdeps/unix/bsd/ulimit.c: Remove file.
71648
71649 2013-01-23 Adam Conrad <adconrad@0c3.net>
71650
71651 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
71652 (LDFLAGS-tst-array5): Likewise.
71653
71654 2013-01-23 Joseph Myers <joseph@codesourcery.com>
71655
71656 [BZ #15036]
71657 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
71658 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
71659 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
71660 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
71661
71662 2013-01-21 David S. Miller <davem@davemloft.net>
71663
71664 * sysdeps/sparc/backtrace.c: New file.
71665 * sysdeps/sparc/sparc32/backtrace.h: New file.
71666 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
71667 * sysdeps/sparc/sparc64/backtrace.h: New file.
71668 * sysdeps/sparc/sparc64/backtrace.c: Delete.
71669 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
71670 -funwind-tables.
71671
71672 2013-01-21 Andreas Schwab <schwab@suse.de>
71673
71674 [BZ #15020]
71675 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
71676 closed its stdout.
71677
71678 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
71679
71680 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
71681 "mpa2.h".
71682 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71683
71684 2013-01-18 Joseph Myers <joseph@codesourcery.com>
71685 Mark Mitchell <mark@codesourcery.com>
71686 Tom de Vries <tom@codesourcery.com>
71687 Paul Pluzhnikov <ppluzhnikov@google.com>
71688
71689 * debug/tst-backtrace2.c: New file.
71690 * debug/tst-backtrace3.c: Likewise.
71691 * debug/tst-backtrace4.c: Likewise.
71692 * debug/tst-backtrace5.c: Likewise.
71693 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
71694 (CFLAGS-tst-backtrace3.c): Likewise.
71695 (CFLAGS-tst-backtrace4.c): Likewise.
71696 (CFLAGS-tst-backtrace5.c): Likewise.
71697 (LDFLAGS-tst-backtrace2): Likewise.
71698 (LDFLAGS-tst-backtrace3): Likewise.
71699 (LDFLAGS-tst-backtrace4): Likewise.
71700 (LDFLAGS-tst-backtrace5): Likewise.
71701 (tests): Add new tests tst-backtrace2, tst-backtrace3,
71702 tst-backtrace4 and tst-backtrace5.
71703
71704 2013-01-18 Anton Blanchard <anton@samba.org>
71705 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
71706
71707 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
71708 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
71709 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
71710 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
71711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
71712 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
71713 "+r" and remove output regs list as redundant. Add explicit inline
71714 asm to specify register of return val to work around compiler codegen
71715 bug. Remove (int) cast on return value. Add return type parameter to
71716 use in macro so that this macro does not truncate return value for
71717 64-bit values.
71718 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
71719 pass to INTERNAL_VSYSCALL_NCS.
71720 (INLINE_VSYSCALL): Add 'long int' as return type to
71721 INTERNAL_VSYSCALL_NCS macro invocation.
71722 (INTERNAL_VSYSCALL): Add 'long int' as return type to
71723 INTERNAL_VSYSCALL_NCS macro invocation.
71724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71725
71726 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
71727
71728 [BZ #14496]
71729 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
71730 Fix application of SIMD FP exception mask.
71731
71732 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
71733 mp_no from a power of two.
71734 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
71735 __mpexp_twomm1. Use __pow_mp.
71736
71737 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
71738 multiplication.
71739
71740 2013-01-17 David S. Miller <davem@davemloft.net>
71741
71742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71743
71744 2013-01-17 Joseph Myers <joseph@codesourcery.com>
71745
71746 [BZ #15023]
71747 * include/complex.h: Condition contents on [!_COMPLEX_H].
71748 (__kernel_casinhf): New prototype.
71749 (__kernel_casinh): Likewise.
71750 (__kernel_casinhl): Likewise.
71751 * math/Makefile (libm_calls): Add k_casinh.
71752 * math/k_casinh.c: New file.
71753 * math/k_casinhf.c: Likewise.
71754 * math/k_casinhl.c: Likewise.
71755 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
71756 finite nonzero arguments.
71757 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
71758 finite nonzero arguments.
71759 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
71760 finite nonzero arguments.
71761 * math/s_casinh.c: Do not include <float.h>.
71762 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
71763 * math/s_casinhf.c: Do not include <float.h>.
71764 (__casinhf): Move code for finite nonzero arguments to
71765 k_casinhf.c.
71766 * math/s_casinhl.c: Do not include <float.h>.
71767 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
71768 redefine.
71769 (__casinhl): Move code for finite nonzero arguments to
71770 k_casinhl.c.
71771 * math/libm-test.inc (cacos_test): Add more tests.
71772 * sysdeps/i386/fpu/libm-test-ulps: Update.
71773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71774
71775 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
71776
71777 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
71778 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
71779 [!HAVE_MREMAP]: Remove [defined linux] case.
71780 * malloc/arena.c: Do not include <malloc-sysdep.h>.
71781
71782 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
71783
71784 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
71785
71786 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
71787
71788 * elf/elf.h (R_386_SIZE32): New relocation.
71789 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
71790 R_386_SIZE32.
71791 (elf_machine_rela): Likewise.
71792 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
71793 R_X86_64_SIZE64 and R_X86_64_SIZE32.
71794
71795 2013-01-17 Joseph Myers <joseph@codesourcery.com>
71796
71797 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
71798 (FP_FAST_FMA): Do not define.
71799 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
71800 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
71801 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
71802 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
71803 !_SOFT_FLOAT]: Likewise.
71804 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
71805 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
71806 value.
71807 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
71808 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
71809 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
71810 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
71811 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
71812 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
71813 file.
71814
71815 2013-01-16 Andreas Schwab <schwab@suse.de>
71816
71817 [BZ #14327]
71818 * include/stdlib.h (__mktemp): Add declaration.
71819 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
71820 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
71821
71822 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
71823
71824 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
71825 definitions.
71826 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
71827 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
71828 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
71829 definitions here.
71830 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
71831 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
71832 definitions.
71833 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
71834 and ONE.
71835 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
71836 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
71837 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
71838 definitions.
71839 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
71840 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
71841 definitions.
71842 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
71843
71844 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
71845
71846 2013-01-15 David S. Miller <davem@davemloft.net>
71847
71848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
71849 trunc{,f} to libm-sysdep_routes.
71850 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
71851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
71852 file.
71853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
71854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
71855 file.
71856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
71857 file.
71858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
71859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
71860 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
71861 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
71862 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
71863 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
71864 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
71865 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
71866
71867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
71868 nearbyint{,f} to libm-sysdep_routes.
71869 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
71870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
71871 New file.
71872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
71873 file.
71874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
71875 New file.
71876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
71877 file.
71878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
71879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
71880 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
71881 file.
71882 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
71883 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
71884 file.
71885 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
71886 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
71887 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
71888
71889 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
71890 libc_feholdexcept and libc_fesetenv.
71891
71892 2013-01-15 Mike Frysinger <vapier@gentoo.org>
71893
71894 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
71895
71896 2013-01-14 David S. Miller <davem@davemloft.net>
71897
71898 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
71899 (SPARC_ASM_VIS2_IFUNC): Likewise.
71900 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
71901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
71902 use of 'siam' instruction.
71903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
71904 Likewise.
71905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
71906 Likewise.
71907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
71908 Likewise.
71909 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
71910 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
71911 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
71912 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
71913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
71914 file.
71915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
71916 file.
71917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
71918 file.
71919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
71920 file.
71921 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
71922 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
71923 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
71924 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
71925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
71926 new VIS2 routines.
71927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
71928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
71930 Likewise.
71931 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
71932 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
71933 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
71934 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
71935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
71936 routines to libm-sysdep_routines.
71937 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
71938
71939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
71940 fdim/fdimf to libm-sysdep_routines.
71941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
71942 file.
71943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
71944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
71945 file.
71946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
71947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
71948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
71949 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
71950 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
71951 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
71952 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
71953
71954 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
71955
71956 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
71957 to optimize copies.
71958
71959 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
71960 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
71961 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71962
71963 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
71964 local variable MPTWO.
71965 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
71966 Likewise.
71967
71968 2013-01-13 Mike Frysinger <vapier@gentoo.org>
71969
71970 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
71971 GLOB_NOESCAPE.
71972
71973 2013-01-13 Mike Frysinger <vapier@gentoo.org>
71974
71975 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
71976
71977 2013-01-13 Mike Frysinger <vapier@gentoo.org>
71978
71979 * manual/pattern.texi (glob_t): Document gl_flags.
71980 (glob64_t): Likewise.
71981
71982 2013-01-11 David S. Miller <davem@davemloft.net>
71983
71984 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
71985 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
71986 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
71987 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
71988 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
71989 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
71990 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
71991 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
71992 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
71993 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
71994 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
71995 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
71996 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
71997
71998 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
71999 sparc V9 rather than using V8 code.
72000 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72001 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72002
72003 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
72004 Move to...
72005 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
72006 Here.
72007
72008 2013-01-11 Roland McGrath <roland@hack.frob.com>
72009
72010 [BZ #14941]
72011 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
72012 not in the main loop.
72013 * configure: Regenerated.
72014
72015 2013-01-11 Joseph Myers <joseph@codesourcery.com>
72016
72017 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
72018 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
72019 to just #else.
72020 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
72021 [!__GLIBC_HAVE_LONG_LONG] case.
72022 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
72023 condition to just #else.
72024 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
72025 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
72026 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
72027 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
72028 unconditional.
72029 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
72030 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72031 #elif condition to just #else.
72032 * sysdeps/unix/sysv/linux/sys/sysmacros.h
72033 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
72034 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72035 #elif condition to just #else.
72036
72037 2013-01-11 Steve Ellcey <sellcey@mips.com>
72038
72039 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
72040 (EF_MIPS_ARCH_64): Fix value.
72041 (EF_MIPS_ARCH_32R2): New.
72042 (EF_MIPS_ARCH_64R2): New.
72043
72044 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
72045
72046 * Makeconfig (+link-pie-before-libc): New.
72047 (+link-pie-after-libc): Likewise.
72048 (+link-pie-tests): Likewise.
72049 (+link-pie): Rewritten.
72050 (link-before-libc): Remove $(config-LDFLAGS).
72051 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
72052 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
72053 (config-LDFLAGS): Renamed to ...
72054 (rtld-LDFLAGS): This.
72055 (rtld-tests-LDFLAGS): New macro.
72056 (link-libc-rpath-link): Likewise.
72057 (link-libc-tests-rpath-link): Likewise.
72058 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
72059 (link-libc): Prepand $(link-libc-rpath-link).
72060 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
72061 (test-program-prefix): New macro.
72062 (test-via-rtld-prefix): Likewise.
72063 (test-program-cmd): Likewise.
72064 (host-test-program-cmd): Likewise.
72065 * Makefile ($(common-objpfx)testrun.sh): Replace
72066 $(run-program-prefix) with $(test-program-prefix).
72067 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
72068 $(rtld-LDFLAGS).
72069 ($(common-objpfx)shlib.lds): Likewise.
72070 (build-module-helper): Likewise.
72071 ($(common-objpfx)format.lds): Likewise.
72072 * Rules (binaries-pie-tests): New.
72073 (binaries-pie-notests): Likewise.
72074 (binaries-pie): Rewritten.
72075 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
72076 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
72077 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
72078 (make-test-out): Replace $(host-built-program-cmd) with
72079 $(host-test-program-cmd).
72080 * config.make.in (build-hardcoded-path-in-tests): New variable.
72081 * configure.in (--enable-hardcoded-path-in-tests): New configure
72082 option.
72083 (hardcoded_path_in_tests): New AC_SUBST.
72084 * configure: Regenerated.
72085 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
72086 $(built-program-cmd) with $(test-program-cmd).
72087 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
72088 (test_program_cmd): This.
72089 * elf/Makefile ($(objpfx)order.out): Run test with
72090 $(test-program-prefix).
72091 ($(objpfx)order2.out): Likewise.
72092 ($(objpfx)tst-initorder.out): Likewise.
72093 ($(objpfx)tst-initorder2.out): Likewise.
72094 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
72095 $(test-program-cmd).
72096 ($(objpfx)tst-array1-static.out): Likewise.
72097 ($(objpfx)tst-array2.out): Likewise.
72098 ($(objpfx)tst-array3.out): Likewise.
72099 ($(objpfx)tst-array4.out): Likewise.
72100 ($(objpfx)tst-array5.out): Likewise.
72101 ($(objpfx)tst-array5-static.out): Likewise.
72102 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
72103 $(test-program-cmd).
72104 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
72105 $(run-program-prefix) with $(test-program-prefix).
72106 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
72107 (test_program_prefix): This.
72108 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
72109 $(run-program-prefix) with $(test-program-prefix).
72110 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
72111 (test_program_prefix): This.
72112 * iconvdata/tst-tables.sh: Likewise.
72113 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
72114 $(run-program-prefix) with $(test-program-prefix).
72115 ($(objpfx)tst-translit.out): Likewise.
72116 ($(objpfx)tst-gettext2.out): Likewise.
72117 ($(objpfx)tst-gettext4.out): Likewise.
72118 ($(objpfx)tst-gettext6.out): Likewise.
72119 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
72120 (test_program_prefix): This.
72121 * intl/tst-gettext2.sh: Likewise.
72122 * intl/tst-gettext4.sh Likewise.
72123 * intl/tst-gettext6.sh: Likewise.
72124 * intl/tst-translit.sh: Likewise.
72125 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
72126 with $(test-program-cmd).
72127 * libio/Makefile ($(objpfx)test-freopen.out): Replace
72128 $(run-program-prefix) with $(test-program-prefix).
72129 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
72130 (test_program_prefix): This.
72131 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
72132 $(run-program-prefix) with $(test-program-prefix).
72133 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
72134 (test_program_prefix): This.
72135 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
72136 * posix/Makefile ($(objpfx)globtest.out): Replace
72137 $(run-via-rtld-prefix) and $(test-wrapper) with
72138 $(test-program-prefix) and $(test-via-rtld-prefix).
72139 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
72140 $(test-program-prefix).
72141 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
72142 $(host-test-program-cmd).
72143 (tst-spawn-ARGS): Likewise.
72144 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
72145 $(test-program-prefix).
72146 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
72147 (test_via_rtld_prefix): This.
72148 (test_wrapper): Renamed to ...
72149 (test_program_prefix): This.
72150 (run_program_prefix): Replaced by test_program_prefix.
72151 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
72152 (test_program_prefix): This.
72153 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
72154 with $(host-test-program-cmd).
72155 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
72156 $(run-program-prefix) with $(test-program-prefix).
72157 ($(objpfx)tst-printf.out): Likewise.
72158 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
72159 $(test-program-cmd).
72160 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
72161 (test_program_prefix): This.
72162 * stdio-common/tst-unbputc.sh: Likewise.
72163 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
72164 $(run-program-prefix) with $(test-program-prefix).
72165 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
72166 (test_program_prefix): This.
72167 * string/Makefile ($(objpfx)tst-svc.out): Replace
72168 $(built-program-cmd) with $(test-program-cmd).
72169
72170 2013-01-11 Andreas Jaeger <aj@suse.de>
72171
72172 [BZ #15003]
72173 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
72174 value. Sync with Linux 3.7.
72175
72176 2013-01-10 David S. Miller <davem@davemloft.net>
72177
72178 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
72179 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72180 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72181
72182 2013-01-10 Roland McGrath <roland@hack.frob.com>
72183
72184 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
72185 never set.
72186 * configure: Regenerated.
72187
72188 2013-01-10 David S. Miller <davem@davemloft.net>
72189
72190 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72191 sparc V9 rather than using V8 code.
72192 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72193 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72194
72195 2013-01-10 Roland McGrath <roland@hack.frob.com>
72196
72197 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
72198 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
72199 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
72200 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
72201 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
72202 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
72203 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
72204 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
72205 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
72206 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
72207 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
72208 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
72209 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
72210 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
72211 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
72212 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
72213 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
72214 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
72215 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
72216 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
72217 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
72218 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
72219 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
72220 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
72221 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
72222 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
72223 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
72224
72225 2013-01-10 David S. Miller <davem@davemloft.net>
72226
72227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72228
72229 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
72230
72231 * posix/Makefile (tests-static): New variable.
72232 (tests): Add $(tests-static).
72233 (tst-exec-static-ARGS): New variable.
72234 (tst-spawn-static-ARGS): Likewise.
72235 * posix/tst-exec-static.c: New file.
72236 * posix/tst-spawn-static.c: Likewise.
72237 * posix/tst-exec.c: Support run directly.
72238 * posix/tst-spawn.c: Likewise.
72239
72240 2013-01-10 Joseph Myers <joseph@codesourcery.com>
72241
72242 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
72243 long.
72244 * math/bits/mathcalls.h (llrint): Likewise.
72245 (llround): Likewise.
72246 * stdlib/stdlib.h (struct drand48_data): Likewise.
72247 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
72248 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
72249 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
72250 Likewise.
72251 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
72252 Likewise.
72253 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
72254 (elf_greg_t): Likewise.
72255 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
72256 (__jmp_buf): Likewise.
72257 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
72258 definitions.
72259 (llrint): Likewise, for all definitions.
72260 (llrintl): Likewise.
72261
72262 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
72263 Remove [__GNUC__] condition.
72264 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
72265 condition to just [__USE_ISOC99].
72266 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
72267
72268 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
72269
72270 [BZ #14200]
72271 * sysdeps/unix/sysv/linux/x86/bits/environments.h
72272 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
72273 defined.
72274 (_POSIX_V6_ILP32_OFF32): Likewise.
72275 (_XBS5_ILP32_OFF32): Likewise.
72276 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
72277 (__ILP32_OFFBIG_LDFLAGS): Likewise.
72278
72279 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
72280
72281 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
72282
72283 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
72284 doubles __mpexp_twomm1. Adjust usage.
72285 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
72286 Remove.
72287
72288 2013-01-10 Andreas Schwab <schwab@suse.de>
72289
72290 [BZ #14964]
72291 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
72292 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
72293
72294 2013-01-09 David S. Miller <davem@davemloft.net>
72295
72296 [BZ #15003]
72297 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
72298 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
72299 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
72300 (TCP_FASTOPEN): Define.
72301 (tcp_repair_opt): New structure.
72302 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
72303 enum values.
72304 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
72305 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
72306 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
72307 (tcp_cookie_transactions): New structure.
72308
72309 2013-01-09 Anton Blanchard <anton@samba.org>
72310
72311 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
72312 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
72313 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
72314 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
72315
72316 2013-01-09 Joseph Myers <joseph@codesourcery.com>
72317
72318 * include/features.h (__USE_ANSI): Remove.
72319
72320 2013-01-09 Roland McGrath <roland@hack.frob.com>
72321
72322 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
72323
72324 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
72325
72326 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
72327
72328 * sysdeps/s390/fpu/libm-test-ulps: Update.
72329
72330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72331
72332 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
72333 (__acr): Likewise.
72334 (__cpy): Likewise.
72335 (norm): Likewise.
72336 (denorm): Likewise.
72337 (__mp_dbl): Likewise.
72338 (__dbl_mp): Likewise.
72339 (add_magnitudes): Likewise.
72340 (sub_magnitudes): Likewise.
72341 (__add): Likewise.
72342 (__sub): Likewise.
72343 (__mul): Likewise.
72344 (__inv): Likewise.
72345 (__dvd): Likewise.
72346 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
72347 (__acr): Likewise.
72348 (__cpy): Likewise.
72349 (norm): Likewise.
72350 (denorm): Likewise.
72351 (__mp_dbl): Likewise.
72352 (__dbl_mp): Likewise.
72353 (add_magnitudes): Likewise.
72354 (sub_magnitudes): Likewise.
72355 (__add): Likewise.
72356 (__sub): Likewise.
72357 (__mul): Likewise.
72358 (__inv): Likewise.
72359 (__dvd): Likewise.
72360 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
72361 (__acr): Likewise.
72362 (__cpy): Likewise.
72363 (norm): Likewise.
72364 (denorm): Likewise.
72365 (__mp_dbl): Likewise.
72366 (__dbl_mp): Likewise.
72367 (add_magnitudes): Likewise.
72368 (sub_magnitudes): Likewise.
72369 (__add): Likewise.
72370 (__sub): Likewise.
72371 (__mul): Likewise.
72372 (__inv): Likewise.
72373 (__dvd): Likewise.
72374
72375 2013-01-08 Joseph Myers <joseph@codesourcery.com>
72376
72377 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
72378 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
72379 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
72380 2 && __USE_EXTERN_INLINES]: Likewise.
72381
72382 2013-01-08 Andreas Jaeger <aj@suse.de>
72383
72384 [BZ #14985]
72385 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
72386 Remove.
72387 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72388 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72389
72390 2013-01-07 Anton Blanchard <anton@samba.org>
72391
72392 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
72393 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
72394 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
72395 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
72396 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
72397 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72398 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
72399 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72400 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72401 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72402 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72403 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72404 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72405 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
72406 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
72407 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72408 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72409 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
72410 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
72411 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
72412 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
72413 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
72414 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
72415 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
72416 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
72417 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
72418 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72419 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
72420 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
72421 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72422 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
72423 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72424 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72425 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
72426 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
72427 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
72428 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
72429 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
72430 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
72431 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
72432 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
72433 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72434 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
72435
72436 2013-01-07 Joseph Myers <joseph@codesourcery.com>
72437
72438 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
72439 (__MALLOC_PMT): Likewise.
72440 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
72441 [__GNUC__], only on [_LIBC].
72442 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72443 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
72444 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72445 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
72446 forward declaration.
72447 (realloc_hook_ini): Likewise.
72448 (memalign_hook_ini): Likewise.
72449 (__libc_memalign): Do not use __MALLOC_PMT in variable
72450 declaration.
72451 (__libc_valloc): Likewise.
72452 (__libc_pvalloc): Likewise.
72453 (__libc_calloc): Likewise.
72454 (__posix_memalign): Likewise.
72455
72456 [BZ #14996]
72457 * math/s_casinh.c: Include <float.h>.
72458 (__casinh): Do not do computation with squaring and square root
72459 for large arguments.
72460 * math/s_casinhf.c: Include <float.h>.
72461 (__casinhf): Do not do computation with squaring and square root
72462 for large arguments.
72463 * math/s_casinhl.c: Include <float.h>.
72464 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
72465 (__casinhl): Do not do computation with squaring and square root
72466 for large arguments.
72467 * math/libm-test.inc (casin_test): Add more tests.
72468 (casinh_test): Likewise.
72469 * sysdeps/i386/fpu/libm-test-ulps: Update.
72470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72471
72472 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
72473
72474 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
72475 (__x86_64_raw_data_cache_size): Likewise.
72476 (__x86_64_data_cache_size_half): Likewise.
72477 (__x86_64_raw_data_cache_size_half): Likewise.
72478 (__x86_64_shared_cache_size): Likewise.
72479 (__x86_64_raw_shared_cache_size): Likewise.
72480 (__x86_64_shared_cache_size_half): Likewise.
72481 (__x86_64_raw_shared_cache_size_half): Likewise.
72482 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
72483 to ...
72484 (__x86_data_cache_size): This.
72485 (__x86_64_raw_data_cache_size): Renamed to ...
72486 (__x86_raw_data_cache_size): This.
72487 (__x86_64_data_cache_size_half): Renamed to ...
72488 (__x86_data_cache_size_half): This.
72489 (__x86_64_raw_data_cache_size_half): Renamed to ...
72490 (__x86_raw_data_cache_size_half): This.
72491 (__x86_64_shared_cache_size): Renamed to ...
72492 (__x86_shared_cache_size): This.
72493 (__x86_64_raw_shared_cache_size): Renamed to ...
72494 (__x86_raw_shared_cache_size): This.
72495 (__x86_64_shared_cache_size_half): Renamed to ...
72496 (__x86_shared_cache_size_half): This.
72497 (__x86_64_raw_shared_cache_size_half): Renamed to ...
72498 (__x86_raw_shared_cache_size_half): This.
72499 * sysdeps/x86_64/memcpy.S: Updated.
72500 * sysdeps/x86_64/memset.S: Likewise.
72501 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
72502 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
72503 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
72504
72505 2013-01-04 David S. Miller <davem@davemloft.net>
72506
72507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72508
72509 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
72510
72511 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
72512 1 to avoid redefinition warning.
72513 (__USE_GNU): Don't define.
72514 (init_signaling_nan): Protoize.
72515
72516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72517
72518 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
72519
72520 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
72521 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
72522 (__cpymn): Likewise.
72523 (norm): Remove commented code.
72524 (denorm): Likewise.
72525 (__mp_dbl): Likewise.
72526 (__inv): Likewise.
72527 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
72528 (__cpymn): Likewise.
72529 (norm): Remove commented code.
72530 (denorm): Likewise.
72531 (__mp_dbl): Likewise.
72532 (__inv): Likewise.
72533
72534 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
72535 mp_no value for 1.0 and 2.0.
72536 (norm): Use RADIXI instead of radixi.d.
72537 (denorm): Likewise.
72538 (__mul): Use 0.0 instead of zero.d.
72539 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
72540 mp_no value for 1.0 and 2.0.
72541 (norm): Use RADIXI instead of radixi.d.
72542 (denorm): Likewise.
72543 (__mul): Use 0.0 instead of zero.d.
72544
72545 2013-01-04 Joseph Myers <joseph@codesourcery.com>
72546
72547 [BZ #14994]
72548 * math/s_casinh.c (__casinh): Reduce finite argument to first
72549 quadrant then set signs of results at the end.
72550 * math/s_casinhf.c (__casinhf): Likewise.
72551 * math/s_casinhl.c (__casinhl): Likewise.
72552 * math/libm-test.inc (casin_test): Add more tests.
72553 (casinh_test): Likewise.
72554 * sysdeps/i386/fpu/libm-test-ulps: Update.
72555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72556
72557 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
72558
72559 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
72560
72561 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
72562
72563 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
72564 declarations.
72565 (denorm): Likewise.
72566 (__mp_dbl): Likewise.
72567 (__inv): Likewise.
72568
72569 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
72570 and adjust the header comment.
72571
72572 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
72573 variable name from declaration.
72574
72575 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
72576
72577 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72578 Initialize COMMON_CPUID_INDEX_7 element.
72579 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
72580 (CPUID_RTM): Likewise.
72581 (HAS_RTM): Likewise.
72582 (COMMON_CPUID_INDEX_7): New enum.
72583
72584 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
72585
72586 [BZ #14981]
72587 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
72588 size is zero, record memory as freed.
72589
72590 2013-01-03 Andreas Jaeger <aj@suse.de>
72591
72592 * po/ia.po: Add new Interlingua translation.
72593
72594 2012-01-03 Allan McRae <allan@archlinux.org>
72595
72596 * locale/programs/localedef.c: Fix description of '--posix' flag.
72597
72598 2013-01-02 Joseph Myers <joseph@codesourcery.com>
72599
72600 * NEWS: Update dates in second copyright notice.
72601 * README: Update copyright dates in example.
72602 * manual/libc.texinfo: Update copyright dates.
72603 * scripts/test-installation.pl: Update copyright date in --version
72604 output.
72605
72606 * hurd/ctty-input.c: Fix copyright notice formatting.
72607 * hurd/ctty-output.c: Likewise.
72608 * hurd/dtable.c: Likewise.
72609 * hurd/hurd-raise.c: Likewise.
72610 * hurd/hurdprio.c: Likewise.
72611 * hurd/msgportdemux.c: Likewise.
72612 * misc/sys/file.h: Likewise.
72613 * misc/sys/ioctl.h: Likewise.
72614 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
72615 * sysdeps/mach/hurd/chdir.c: Likewise.
72616 * sysdeps/mach/hurd/fchdir.c: Likewise.
72617 * sysdeps/mach/hurd/rename.c: Likewise.
72618 * sysdeps/mach/hurd/rmdir.c: Likewise.
72619 * sysdeps/mach/hurd/seekdir.c: Likewise.
72620 * sysdeps/mach/hurd/setsid.c: Likewise.
72621 * sysdeps/posix/wait3.c: Likewise.
72622
72623 * All files with FSF copyright notices: Update copyright dates
72624 using scripts/update-copyrights.
72625 * intl/plural.c: Regenerated.
72626 * locale/programs/charmap-kw.h: Likewise.
72627 * locale/programs/locfile-kw.h: Likewise.
72628
72629 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
72630
72631 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
72632 four values.
72633
72634 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
72635 calculation loop and add branch prediction.
72636
72637 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
72638 check access beyond bounds of m1np.
72639
72640 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
72641 MPTWO.
72642 (__inv): Remove local variable MPTWO to use the global
72643 constant.
72644 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
72645 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
72646 variable MPTWO.
72647 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
72648 MP3HALFS static const.
72649
72650 2013-01-01 David S. Miller <davem@davemloft.net>
72651
72652 * po/ca.po: Update from translation team.
72653
72654 2013-01-01 Joseph Myers <joseph@codesourcery.com>
72655
72656 * scripts/update-copyrights: New file.
72657 * Makeconfig: Reformat copyright notice.
72658 * ctype/ctype.h: Likewise.
72659 * debug/swprintf_chk.c: Likewise.
72660 * elf/dl-cache.c: Likewise.
72661 * elf/dl-debug.c: Likewise.
72662 * elf/dl-object.c: Likewise.
72663 * grp/initgroups.c: Likewise.
72664 * hurd/Makefile: Likewise.
72665 * hurd/hurd/signal.h: Likewise.
72666 * hurd/hurdfault.c: Likewise.
72667 * hurd/hurdioctl.c: Likewise.
72668 * hurd/hurdlookup.c: Likewise.
72669 * hurd/intr-msg.c: Likewise.
72670 * iconv/gconv_open.c: Likewise.
72671 * libio/swprintf.c: Likewise.
72672 * locale/lc-ctype.c: Likewise.
72673 * locale/nl_langinfo.c: Likewise.
72674 * mach/Machrules: Likewise.
72675 * mach/Makefile: Likewise.
72676 * malloc/obstack.h: Likewise.
72677 * manual/Makefile: Likewise.
72678 * manual/tsort.awk: Likewise.
72679 * misc/bits/stab.def: Likewise.
72680 * nis/nis_print_group_entry.c: Likewise.
72681 * nis/nis_table.c: Likewise.
72682 * nis/nss_compat/compat-pwd.c: Likewise.
72683 * nis/nss_compat/compat-spwd.c: Likewise.
72684 * po/Makefile: Likewise.
72685 * posix/fnmatch.c: Likewise.
72686 * posix/regex.h: Likewise.
72687 * resolv/Makefile: Likewise.
72688 * resolv/nss_dns/dns-network.c: Likewise.
72689 * resolv/res_hconf.c: Likewise.
72690 * scripts/gen-sorted.awk: Likewise.
72691 * soft-fp/soft-fp.h: Likewise.
72692 * stdio-common/printf.h: Likewise.
72693 * stdlib/monetary.h: Likewise.
72694 * stdlib/random.c: Likewise.
72695 * stdlib/random_r.c: Likewise.
72696 * sysdeps/generic/Makefile: Likewise.
72697 * sysdeps/gnu/Makefile: Likewise.
72698 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72699 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72700 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72701 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72702 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72703 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72704 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72705 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72706 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72707 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72708 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
72709 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
72710 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
72711 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
72712 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
72713 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
72714 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
72715 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72716 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72717 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72718 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72719 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72720 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72721 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
72722 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
72723 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
72724 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
72725 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
72726 * sysdeps/mach/hurd/errnos.awk: Likewise.
72727 * sysdeps/mach/hurd/fork.c: Likewise.
72728 * sysdeps/mach/hurd/getcwd.c: Likewise.
72729 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
72730 * sysdeps/mach/hurd/mmap.c: Likewise.
72731 * sysdeps/mach/hurd/utimes.c: Likewise.
72732 * sysdeps/mach/hurd/xmknod.c: Likewise.
72733 * sysdeps/posix/profil.c: Likewise.
72734 * sysdeps/posix/readdir_r.c: Likewise.
72735 * sysdeps/powerpc/bits/mathdef.h: Likewise.
72736 * sysdeps/powerpc/bits/setjmp.h: Likewise.
72737 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
72738 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72739 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72740 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
72741 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72742 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72743 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72744 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
72745 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72746 * sysdeps/pthread/lio_listio.c: Likewise.
72747 * sysdeps/sparc/dl-procinfo.h: Likewise.
72748 * sysdeps/unix/i386/sysdep.S: Likewise.
72749 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
72750 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
72751 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
72752 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
72753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72754 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
72755 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
72756 * sysdeps/unix/sysv/linux/speed.c: Likewise.
72757 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
72758 * sysdeps/wordsize-32/divdi3.c: Likewise.
72759 * time/sys/time.h: Likewise.
72760 * wcsmbs/Makefile: Likewise.
72761
72762 2013-01-01 David S. Miller <davem@davemloft.net>
72763
72764 * po/fr.po: Update from translation team.
72765
72766 * catgets/gencat.c: Update copyright year.
72767 * csu/version.c: Likewise.
72768 * debug/catchsegv.sh: Likewise.
72769 * debug/pcprofiledump.c: Likewise.
72770 * debug/xtrace.sh: Likewise.
72771 * elf/ldconfig.c: Likewise.
72772 * elf/ldd.bash.in: Likewise.
72773 * elf/pldd.c: Likewise.
72774 * elf/sotruss.ksh: Likewise.
72775 * elf/sprof.c: Likewise.
72776 * iconv/iconv_prog.c: Likewise.
72777 * iconv/iconvconfig.c: Likewise.
72778 * locale/programs/locale.c: Likewise.
72779 * locale/programs/localedef.c: Likewise.
72780 * login/programs/pt_chown.c: Likewise.
72781 * malloc/memusage.sh: Likewise.
72782 * malloc/memusagestat.c: Likewise.
72783 * malloc/mtrace.pl: Likewise.
72784 * nscd/nscd.c: Likewise.
72785 * nss/getent.c: Likewise.
72786 * nss/makedb.c: Likewise.
72787 * posix/getconf.c: Likewise.
72788
72789 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
72790
72791 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
72792 numbers.
72793
72794 2012-12-30 Mike Frysinger <vapier@gentoo.org>
72795
72796 * math/bits/mathcalls.h (modf): Use __nonnull.
72797
72798 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
72799
72800 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
72801 (split): Use macro CN instead of the bare value.
72802 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
72803 could be used.
72804 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
72805 instead of the bare value.
72806 (power1): Likewise.
72807
72808 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
72809
72810 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
72811 __ATAN_TWOM.
72812 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72813
72814 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
72815 their values.
72816 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
72817 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
72818 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
72819 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
72820
72821 2012-12-28 Andreas Jaeger <aj@suse.de>
72822
72823 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
72824 values are from Linux 3.7.
72825
72826 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
72827 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
72828
72829 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
72830
72831 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
72832 TRUE case.
72833
72834 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
72835 (norm): Likewise.
72836 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
72837 variables with preprocessor constants.
72838 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72839 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
72840 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
72841
72842 2012-12-27 Bruno Haible <bruno@clisp.org>
72843
72844 [BZ #14317]
72845 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
72846 only if needed.
72847
72848 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
72849
72850 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
72851 and use variable directly.
72852 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
72853
72854 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
72855 MPONE.
72856 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
72857 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
72858 variable MPONE.
72859 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
72860 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
72861 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
72862 include directive. Remove local variable MPONE.
72863 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
72864 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
72865 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
72866
72867 2012-12-25 David S. Miller <davem@davemloft.net>
72868
72869 * version.h (RELEASE): Set to "development".
72870 (VERSION): Set to "2.17.90".
72871 * NEWS: Add 2.18 section.
72872
72873 2012-12-21 David S. Miller <davem@davemloft.net>
72874
72875 * po/hr.po: Update from translation team.
72876
72877 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
72878
72879 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
72880
72881 2012-12-19 Steve Ellcey <sellcey@mips.com>
72882
72883 * NEWS: Mention new memcpy for MIPS.
72884
72885 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
72886
72887 * manual/contrib.texi (Contributors): Spelling correction.
72888
72889 2012-12-15 David S. Miller <davem@davemloft.net>
72890
72891 * po/ru.po: Update from translation team.
72892
72893 2012-12-13 David S. Miller <davem@davemloft.net>
72894
72895 * NEWS: Mention IFUNC testsuite enhancements.
72896
72897 * po/pl.po: Update from translation team.
72898 * po/bg.po: Likewise.
72899
72900 * manual/contrib.texi (Contributors): Update entries for Hongjiu
72901 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
72902
72903 2012-12-11 David S. Miller <davem@davemloft.net>
72904
72905 * po/sv.po: Update from translation team.
72906
72907 * po/vi.po: Update from translation team.
72908
72909 * po/cs.po: Update from translation team.
72910
72911 * po/de.po: Update from translation team.
72912 * po/eo.po: Likewise.
72913 * po/nl.po: Likewise.
72914
72915 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
72916
72917 [BZ #14246]
72918 * manual/argp.texi (Argp Helper Functions): Move node to follow
72919 Argp Parsing State.
72920
72921 [BZ #14872]
72922 * manual/conf.texi (Limits on File System Capacity): Mention if
72923 terminating null is included in the max size.
72924
72925 2012-12-10 Andreas Jaeger <aj@suse.de>
72926
72927 * po/cs.po: Update from translation team.
72928
72929 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
72930
72931 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
72932 void pointer and cast to uintptr_t.
72933 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
72934 path.
72935 * sysdeps/s390/s390-64/memcpy.S: Likewise.
72936 * sysdeps/s390/s390-64/memset.S: Likewise.
72937
72938 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
72939
72940 [BZ #14833]
72941 * menual/message.texi (Message Translation): Fix typos.
72942 (Helper programs for gettext): Likewise.
72943
72944 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
72945
72946 [BZ #14898]
72947 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
72948 Change to -1.
72949
72950 2012-12-07 David S. Miller <davem@davemloft.net>
72951
72952 * po/libc.pot: Update.
72953
72954 2012-12-07 Richard Henderson <rth@redhat.com>
72955
72956 [BZ #10114]
72957 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
72958 normal/normal case to before the switch.
72959 (_FP_DIV): Likewise.
72960
72961 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
72962 Mike Frysinger <vapier@gentoo.org>
72963
72964 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
72965 check for __NR_fadvise64_64.
72966
72967 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
72968
72969 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
72970 0, not just to plain "0" as a statement.
72971 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
72972 with cw.
72973
72974 2012-12-06 Joseph Myers <joseph@codesourcery.com>
72975
72976 * NEWS: Use sourceware.org in Bugzilla URL.
72977
72978 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
72979
72980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
72981 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
72982
72983 * stdio-common/tst-put-error.c (do_test): Add newline to the
72984 padded test to ensure flush.
72985
72986 2012-12-05 Jeff Law <law@redhat.com>
72987
72988 * sunrpc/etc.rpc (fedfs_admin): Add entry.
72989
72990 2012-12-05 Joseph Myers <joseph@codesourcery.com>
72991
72992 * README: Don't refer to ports add-on as distributed separately.
72993 Mention AArch64 in list of systems supported in the ports add-on.
72994
72995 * LICENSES: Add more non-FSF copyright and license notices.
72996
72997 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
72998 ((unused)).
72999
73000 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
73001
73002 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
73003 10000 as width of padded output.
73004
73005 2012-12-04 Joseph Myers <joseph@codesourcery.com>
73006
73007 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
73008
73009 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
73010 variable LX with __attribute__ ((unused)).
73011 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
73012 Likewise.
73013 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
73014 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73015 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
73016 with __attribute__ ((unused)).
73017
73018 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
73019
73020 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
73021
73022 2012-12-04 Joseph Myers <joseph@codesourcery.com>
73023
73024 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
73025 (CFLAGS-nldbl-acos.c): New variable.
73026 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
73027 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
73028 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
73029 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
73030 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
73031 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
73032 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
73033 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
73034 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
73035 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
73036 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
73037 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
73038 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
73039 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
73040 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
73041 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
73042 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
73043 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
73044 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
73045 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
73046 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
73047 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
73048 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
73049 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
73050 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
73051 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
73052 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
73053 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
73054 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
73055 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
73056 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
73057 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
73058 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
73059 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
73060 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
73061 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
73062 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
73063 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
73064 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
73065 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
73066 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
73067 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
73068 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
73069 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
73070 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
73071 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
73072 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
73073 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
73074 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
73075 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
73076 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
73077 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
73078 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
73079 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
73080 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
73081 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
73082 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
73083 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
73084 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
73085 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
73086 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
73087 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
73088 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
73089 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
73090 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
73091 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
73092 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
73093 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
73094 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
73095 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
73096 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
73097 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
73098 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
73099 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
73100 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
73101 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
73102 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
73103 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
73104 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
73105 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
73106 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
73107 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
73108 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
73109 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
73110 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
73111 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
73112 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
73113 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
73114 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
73115 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
73116 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
73117 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
73118 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
73119 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
73120 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
73121 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
73122 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
73123
73124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
73125 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73126
73127 [BZ #14914]
73128 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
73129 whole low double instead of just low 47 bits when splitting values
73130 into two parts.
73131
73132 2012-12-03 Allan McRae <allan@archlinux.org>
73133
73134 * manual/stdio.texi (Predefined Printf Handlers): Remove
73135 @hsep and @vsep usage.
73136
73137 2012-12-03 Mike Frysinger <vapier@gentoo.org>
73138
73139 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
73140 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
73141
73142 2012-12-03 Jeff Law <law@redhat.com>
73143
73144 * time/sys/time.h (settimeofday): Do not mark TV argument
73145 as __nonnull.
73146
73147 2012-12-01 Mike Frysinger <vapier@gentoo.org>
73148
73149 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
73150 when currently writing and seek to current position when not.
73151 * libio/Makefile (tests): Remove bug-fclose1.
73152 * libio/bug-fclose1.c: Delete.
73153
73154 2012-12-01 Joseph Myers <joseph@codesourcery.com>
73155
73156 * manual/arith.texi (feenableexcept): Fix typo.
73157 (fedisableexcept): Likewise.
73158
73159 2012-11-30 Roland McGrath <roland@hack.frob.com>
73160
73161 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
73162 second, differently-typed declaration, rather than a cast.
73163
73164 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
73165
73166 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
73167 * include/rpc/svc.h: ... here.
73168
73169 2012-11-30 Aurelien Jarno <aurel32@debian.org>
73170
73171 [BZ #13013]
73172 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
73173 depending n and resplen2 to catch cases where answer
73174 equals answerp2.
73175
73176 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
73177
73178 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
73179 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
73180
73181 2012-11-29 Mike Frysinger <vapier@gentoo.org>
73182
73183 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
73184
73185 2012-11-29 Roland McGrath <roland@hack.frob.com>
73186
73187 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
73188
73189 2012-11-28 Jeff Law <law@redhat.com>
73190
73191 [BZ #13761]
73192 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
73193 dataset_temporary. Track alloca usage into alloca_used.
73194 If dataset is large allocate and release it via malloc/free.
73195
73196 2012-06-04 Florian Weimer <fweimer@redhat.com>
73197
73198 [BZ #14197]
73199 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
73200
73201 2012-11-28 David S. Miller <davem@davemloft.net>
73202
73203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73204
73205 2012-11-28 Joseph Myers <joseph@codesourcery.com>
73206
73207 [BZ #14803]
73208 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
73209 of pi/2 rounded to nearest to 64 bits.
73210 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
73211 nearest to 64 bits.
73212 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
73213 bits.
73214
73215 2012-11-28 Jeff Law <law@redhat.com>
73216 Martin Osvald <mosvald@redhat.com>
73217
73218 [BZ #14889]
73219 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
73220 * sunrpc/svc.c: Include time.h.
73221 (__svc_accept_failed): New function.
73222 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
73223 any reason other than EINTR, call __svc_accept_failed.
73224 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
73225 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
73226
73227 2012-11-28 Andreas Schwab <schwab@suse.de>
73228
73229 * scripts/abilist.awk: Also handle indirect functions in .opd
73230 section.
73231
73232 2012-11-28 Joseph Myers <joseph@codesourcery.com>
73233
73234 [BZ #13881]
73235 * sysdeps/x86/fpu/powl_helper.c: New file.
73236 * sysdeps/x86/fpu/Makefile: Likewise.
73237 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
73238 (p3): New object.
73239 (__ieee754_powl): Use __powl_helper for finite arguments except
73240 integer exponents below 8.
73241 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
73242 (p3): New object.
73243 (__ieee754_powl): Use __powl_helper for finite arguments except
73244 integer exponents below 8.
73245 * math/libm-test.inc (pow_test): Add more tests and enable some
73246 previously disabled tests.
73247 * sysdeps/i386/fpu/libm-test-ulps: Update.
73248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73249
73250 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
73251 Carlos O'Donell <carlos_odonell@mentor.com>
73252
73253 * nss/makedb.c (is_prime): Assert that input is odd and greater
73254 than 4. Note that fact in a comment too.
73255 (next_prime): Add 4 to input.
73256
73257 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
73258
73259 [BZ #11741]
73260 * libio/Makefile (tests): Add test case tst-fwrite-error.
73261 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
73262 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
73263 * libio/tst-fwrite-error.c: New test case.
73264
73265 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
73266
73267 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
73268 before casting to void *.
73269 * include/libc-internal.h (__pointer_type): New macro.
73270 (__integer_if_pointer_type_sub): Likewise.
73271 (__integer_if_pointer_type): Likewise.
73272 (cast_to_integer): Likewise.
73273 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
73274 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
73275 before casting to atomic64_t.
73276 (atomic_exchange_acq): Likewise.
73277 (__arch_exchange_and_add_body): Likewise.
73278 (__arch_add_body): Likewise.
73279 (atomic_add_negative): Likewise.
73280 (atomic_add_zero): Likewise.
73281
73282 2012-11-26 Joseph Myers <joseph@codesourcery.com>
73283
73284 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
73285 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
73286 (add_fdes): Likewise.
73287 (linear_search_fdes): Likewise.
73288 (binary_search_unencoded_fdes): Likewise.
73289
73290 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
73291
73292 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
73293
73294 2012-11-24 Adam Conrad <adconrad@0c3.net>
73295
73296 * configure.in: Autodetect C++ header directories.
73297 * configure: Regenerated.
73298
73299 2012-11-23 Mike Frysinger <vapier@gentoo.org>
73300
73301 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
73302
73303 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
73304
73305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73306
73307 2012-11-22 Joseph Myers <joseph@codesourcery.com>
73308
73309 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
73310 LDBL_MANT_DIG == 106]: Disable some tests.
73311 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73312 Likewise.
73313 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73314 Likewise.
73315
73316 [BZ #14871]
73317 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
73318 input for small inputs. Return +/- pi/2 for large inputs.
73319 * math/libm-test.inc (atan_test): Add more tests.
73320
73321 * sysdeps/generic/unwind-dw2-fde-glibc.c
73322 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
73323 __attribute__ ((unused)).
73324
73325 [BZ #14645]
73326 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
73327 x * y if x and y are nonzero and z is zero.
73328
73329 [BZ #14811]
73330 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
73331 nonzero exponents with absolute value below 0x1p-117 to +/-
73332 0x1p-117.
73333
73334 [BZ #14869]
73335 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
73336 up arguments below 2**-450, not just those below 2**-500.
73337 * math/libm-test.inc (hypot_test): Add another test.
73338
73339 [BZ #14868]
73340 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
73341 Return a+b for ratio over 2**120, not 2**60.
73342 * math/libm-test.inc (hypot_test): Add another test.
73343
73344 * math/libm-test.inc (clog_test): Use
73345 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
73346 (clog10_test): Likewise.
73347
73348 [BZ #6778]
73349 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
73350
73351 2012-11-22 Andreas Schwab <schwab@suse.de>
73352
73353 * sysdeps/i386/fpu/libm-test-ulps: Update.
73354
73355 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
73356
73357 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
73358 printf output with newline.
73359
73360 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
73361
73362 [BZ #14865]
73363 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
73364 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
73365 -z nodlopen, -z initfirst and -z execstack support.
73366 * configure: Regenerated.
73367
73368 * elf/elf.h (DF_1_NODIRECT): New macro.
73369 (DF_1_IGNMULDEF): Likewise.
73370 (DF_1_NOKSYMS): Likewise.
73371 (DF_1_NOHDR): Likewise.
73372 (DF_1_EDITED): Likewise.
73373 (DF_1_NORELOC): Likewise.
73374 (DF_1_SYMINTPOSE): Likewise.
73375 (DF_1_GLOBAUDIT): Likewise.
73376 (DF_1_SINGLETON): Likewise.
73377 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
73378 DT_1_SUPPORTED_MASK bits.
73379 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
73380
73381 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
73382
73383 * sysdeps/unix/make-syscalls.sh: Document prefixes.
73384
73385 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
73386
73387 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
73388 macro.
73389
73390 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
73391 (sendmmsg): Move declarations...
73392 * socket/sys/socket.h: ... here.
73393 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
73394 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
73395 include it from...
73396 * socket/recvmmsg.c: ... this new file.
73397 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
73398 (sendmmsg): Rename to __sendmmsg, create weak alias and make
73399 definition of __sendmmsg hidden.
73400 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
73401 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
73402 Move ENOSYS stub into and include it from...
73403 * socket/sendmmsg.c: ... this new file.
73404 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
73405 (sysdep_routines): Move recvmmsg and sendmmsg...
73406 * socket/Makefile (routines): ... here.
73407 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
73408 (GLIBC_PRIVATE): Add __sendmmsg.
73409 * include/sys/socket.h (__sendmmsg): Add declarations.
73410 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
73411 sendmmsg.
73412
73413 2012-11-20 Joseph Myers <joseph@codesourcery.com>
73414
73415 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
73416 variable I1 with __attribute__ ((unused)).
73417 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73418
73419 2012-11-19 Joseph Myers <joseph@codesourcery.com>
73420
73421 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
73422 DUMMY variables with __attribute__ ((unused)).
73423
73424 * bits/byteswap.h: Include <bits/types.h>.
73425 (__bswap_64): Use __uint64_t instead of unsigned long long int.
73426
73427 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
73428
73429 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
73430 string_t. Do not manually set errno.
73431 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
73432 length with __strnlen. Make sure to both set errno and return it on
73433 failure.
73434
73435 2012-11-19 David S. Miller <davem@davemloft.net>
73436
73437 With help from Joseph Myers.
73438 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
73439 very large arguments properly.
73440 * math/libm-test.inc (atan_test): New tests.
73441 (atan2_test): New tests.
73442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73443 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73444
73445 2012-11-19 Joseph Myers <joseph@codesourcery.com>
73446
73447 [BZ #14856]
73448 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
73449 Define to 3.
73450
73451 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
73452 [POSIX] (EADDRNOTAVAIL): Likewise.
73453 [POSIX] (EAFNOSUPPORT): Likewise.
73454 [POSIX] (EALREADY): Likewise.
73455 [POSIX] (ECONNABORTED): Likewise.
73456 [POSIX] (ECONNREFUSED): Likewise.
73457 [POSIX] (ECONNRESET): Likewise.
73458 [POSIX] (EDESTADDRREQ): Likewise.
73459 [POSIX] (EDQUOT): Likewise.
73460 [POSIX] (EHOSTUNREACH): Likewise.
73461 [POSIX] (EIDRM): Likewise.
73462 [POSIX] (EISCONN): Likewise.
73463 [POSIX] (ELOOP): Likewise.
73464 [POSIX] (EMULTIHOP): Likewise.
73465 [POSIX] (ENETDOWN): Likewise.
73466 [POSIX] (ENETUNREACH): Likewise.
73467 [POSIX] (ENOBUFS): Likewise.
73468 [POSIX] (ENODATA): Likewise.
73469 [POSIX] (ENOLINK): Likewise.
73470 [POSIX] (ENOMSG): Likewise.
73471 [POSIX] (ENOPROTOOPT): Likewise.
73472 [POSIX] (ENOSR): Likewise.
73473 [POSIX] (ENOSTR): Likewise.
73474 [POSIX] (ENOTCONN): Likewise.
73475 [POSIX] (ENOTSOCK): Likewise.
73476 [POSIX] (EOPNOTSUPP): Likewise.
73477 [POSIX] (EOVERFLOW): Likewise.
73478 [POSIX] (EPROTO): Likewise.
73479 [POSIX] (EPROTONOSUPPORT): Likewise.
73480 [POSIX] (EPROTOTYPE): Likewise.
73481 [POSIX] (ESTALE): Likewise.
73482 [POSIX] (ETIME): Likewise.
73483 [POSIX] (ETXTBSY): Likewise.
73484 [POSIX] (EWOULDBLOCK): Likewise.
73485 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
73486 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
73487 [POSIX] (SEEK_CUR): Likewise.
73488 [POSIX] (SEEK_END): Likewise.
73489 [POSIX || UNIX98] (mode_t): Do not require.
73490 [POSIX] (off_t): Likewise.
73491 [POSIX] (pid_t): Likewise.
73492 [POSIX] (sys/stat.h): Do not allow header.
73493 [POSIX] (unistd.h): Likewise.
73494 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
73495 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
73496 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
73497 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
73498 require.
73499 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
73500 sigevent): Specify elements.
73501 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
73502 entry.
73503 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
73504 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
73505
73506 * conform/data/cpio.h-data [POSIX]: Disable whole file.
73507 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
73508 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
73509 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
73510 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
73511 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
73512 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
73513 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
73514 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
73515 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
73516 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
73517 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
73518 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
73519 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
73520 Likewise.
73521 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
73522 Likewise.
73523 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
73524 Likewise.
73525 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
73526 Likewise.
73527 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
73528 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
73529 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
73530 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
73531 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
73532 Specify lower bound on value.
73533 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
73534 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
73535 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
73536 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
73537 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
73538 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
73539 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
73540 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
73541 value.
73542 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
73543 as optional.
73544 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
73545 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
73546 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
73547 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
73548 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
73549 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
73550 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
73551 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
73552 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
73553 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
73554 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
73555 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
73556 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
73557 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
73558 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
73559 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
73560 entry.
73561 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
73562 optional.
73563 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
73564 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
73565 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
73566 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
73567 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
73568 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
73569 Likewise.
73570 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
73571 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
73572 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
73573 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
73574 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
73575 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
73576 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
73577 as optional.
73578 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
73579 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
73580 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
73581 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
73582 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
73583 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
73584 specify as optional.
73585 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
73586 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
73587 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
73588 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
73589 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
73590 [XPG3] (NL_LANGMAX): Likewise.
73591 [POSIX || XPG3] (NL_MSGMAX): Likewise.
73592 [POSIX || XPG3] (NL_NMAX): Likewise.
73593 [POSIX || XPG3] (NL_SETMAX): Likewise.
73594 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
73595 [XPG3] (NZERO): Likewise.
73596 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
73597 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
73598 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
73599 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
73600 (REG_ERANGE): Expect.
73601 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
73602 optional-constant.
73603 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
73604 Use (void) in prototype.
73605 [POSIX] (*_t): Allow.
73606 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
73607 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
73608 (WRDE_BADVAL): Expect.
73609
73610 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
73611 expect.
73612 [XPG3 || XPG4] (O_RSYNC): Likewise.
73613 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
73614 Likewise.
73615 [XPG3 || XPG4] (pthread_sigmask): Likewise.
73616 [XPG3 || XPG4] (sigqueue): Likewise.
73617 [XPG3 || XPG4] (sigtimedwait): Likewise.
73618 [XPG3 || XPG4] (sigwaitinfo): Likewise.
73619 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
73620 [XPG3 || XPG4] (vsnprintf): Likewise.
73621 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
73622 Likewise.
73623 [XPG3 || XPG4] (blksize_t): Likewise.
73624 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
73625 Likewise.
73626 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
73627 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
73628 [XPG3 || XPG4] (struct itimerspec): Likewise.
73629 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
73630 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
73631 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
73632 [XPG3 || XPG4] (clockid_t): Likewise.
73633 [XPG3 || XPG4] (timer_t): Likewise.
73634 [XPG3 || XPG4] (clock_getres): Likewise.
73635 [XPG3 || XPG4] (clock_gettime): Likewise.
73636 [XPG3 || XPG4] (clock_settime): Likewise.
73637 [XPG3 || XPG4] (nanosleep): Likewise.
73638 [XPG3 || XPG4] (timer_create): Likewise.
73639 [XPG3 || XPG4] (timer_delete): Likewise.
73640 [XPG3 || XPG4] (timer_gettime): Likewise.
73641 [XPG3 || XPG4] (timer_getoverrun): Likewise.
73642 [XPG3 || XPG4] (timer_settime): Likewise.
73643 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
73644 [XPG3 || XPG4] (getlogin_r): Likewise.
73645 [XPG3 || XPG4] (pread): Likewise.
73646 [XPG3 || XPG4] (pthread_atfork): Likewise.
73647 [XPG3 || XPG4] (pwrite): Likewise.
73648
73649 [BZ #14835]
73650 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
73651 <bits/siginfo.h>.
73652
73653 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
73654
73655 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
73656 finalizing MALLSTREAM.
73657
73658 * sysdeps/mach/hurd/syncfs.c: New file.
73659
73660 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
73661
73662 [BZ #14719]
73663 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
73664 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
73665 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
73666 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
73667 (_nss_dns_gethostbyname4_r): Likewise.
73668 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
73669 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
73670
73671 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
73672
73673 [BZ #13763]
73674 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
73675
73676 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
73677
73678 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
73679 * elf/cache.c (print_entry): Print ",AArch64" for
73680 FLAG_AARCH64_LIB64
73681
73682 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
73683 * elf/cache.c (print_entry): Print ",hard-float" for
73684 FLAG_ARM_LIBHF.
73685
73686 2012-11-18 David S. Miller <davem@davemloft.net>
73687
73688 With help from Joseph Myers.
73689 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
73690 cutoff to 2**-13.
73691 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
73692 cutoff to 2**-25.
73693 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
73694 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
73695 small.
73696 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
73697 * math/libm-test.inc (y0_test): New tests.
73698 (y1_test): New tests.
73699 * sysdeps/i386/fpu/libm-test-ulps: Update.
73700 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73702
73703 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
73704
73705 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
73706 64-bit targets.
73707 * configure: Regenerated.
73708
73709 2012-11-17 David S. Miller <davem@davemloft.net>
73710
73711 [BZ #14811]
73712 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
73713 nonzero exponents with absolute value below 0x1p-128 to +/-
73714 0x1p-128.
73715
73716 2012-11-17 Joseph Myers <joseph@codesourcery.com>
73717
73718 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
73719
73720 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
73721
73722 * posix/getconf-speclist.c: New file.
73723 * posix/posix-envs.def: Likewise.
73724 * posix/confstr.c (START_ENV_GROUP): New macro.
73725 (END_ENV_GROUP): Likewise.
73726 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
73727 (KNOWN_PRESENT_ENV_STRING): Likewise.
73728 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
73729 (UNKNOWN_ENVIRONMENT): Likewise.
73730 (confstr): Include posix-envs.def instead of handling
73731 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
73732 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
73733 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
73734 (END_ENV_GROUP): Likewise.
73735 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
73736 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
73737 (UNKNOWN_ENVIRONMENT): Likewise.
73738 (__sysconf): Include posix-envs.def instead of handling associated
73739 cases directly here.
73740 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
73741 preprocessing getconf-speclist.c rather than running getconf or
73742 generating empty file.
73743
73744 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
73745
73746 * scripts/check-local-headers.sh: Ignore 'mach' headers.
73747
73748 2012-11-16 Andrej Lajovic <natrij@gmail.com>
73749
73750 [BZ #14672]
73751 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
73752
73753 2012-11-16 David S. Miller <davem@davemloft.net>
73754
73755 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
73756 smaller than LDBL_EPSILON/2.0L, just return xm1.
73757
73758 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
73759
73760 * elf/tst-array1.c (init): Set constructor priority to 1000.
73761 (fini): Set destructor priority to 1000.
73762 * elf/tst-array2dep.c: Likewise.
73763
73764 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
73765
73766 [BZ #11741]
73767 * libio/fileops.c (_IO_new_file_write): Correctly return error.
73768 (_IO_new_file_xsputn): Also return EOF if none of the input
73769 data was written when overflow failed.
73770 * libio/iopadn.c (_IO_padn): Likewise.
73771 * libio/iowpadn.c (_IO_wpadn): Likewise.
73772 * stdio-common/tst-put-error.c: Add copyright notice.
73773 (do_test): Add case for printing padded string.
73774 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
73775 _IO_padn returned error.
73776 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
73777 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
73778 return EOF.
73779
73780 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
73781
73782 * libio/libioP.h: Add comment note that the references to C++
73783 bits are now obsolete.
73784
73785 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
73786
73787 * math/libm-test.inc (check_complex): Use asprintf.
73788
73789 2012-11-14 Joseph Myers <joseph@codesourcery.com>
73790
73791 * debug/pcprofiledump.c (print_version): Update copyright year.
73792 * malloc/memusagestat.c (print_version): Likewise.
73793
73794 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
73795
73796 [BZ #14831]
73797 * elf/Makefile (tests): Add tst-audit8.
73798 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
73799 ($(objpfx)tst-audit8.out): New target.
73800 (tst-audit8-ENV): New variable.
73801 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
73802 audit if l_reloc_result is NULL.
73803 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
73804 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
73805 * elf/tst-audit8.c: New file.
73806
73807 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
73808
73809 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
73810 * misc/Makefile (CFLAGS-select.c): Define.
73811 * posix/Makefile (CFLAGS-pause.c): Define.
73812
73813 2012-11-13 David S. Miller <davem@davemloft.net>
73814
73815 * crypt/Makefile: Move test targets after toplevel Rules
73816 inclusion. Grab any necessary sysdep routines when linking.
73817 * crypt/md5.c (md5_process_block): Remove define, we will always
73818 name it __md5_process_block.
73819 (md5_finish_ctx): Update md5_process_block call.
73820 (md5_stream): Likewise.
73821 (md5_process_bytes): Likewise.
73822 (md5_process_block): Rename to __md5_process_block and move to ...
73823 * crypt/md5-block.c: ... here.
73824 * crypt/sha256.c (sha256_process_block): Move to ...
73825 * crypt/sha256-block.c: ... here.
73826 * crypt/sha512.c (sha512_process_block): Move to ...
73827 * crypt/sha512-block.c: ... here.
73828 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
73829 path.
73830 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
73831 * sysdeps/sparc/sparc64/multiarch/Makefile
73832 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
73833 crypt subdir.
73834 (localedef-aux): Add md5 crypto assembler when in locale subdir.
73835 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
73836 multiarch changes.
73837 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
73838 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
73839 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
73840 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
73841 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
73842 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
73843 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
73844 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
73845 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
73846 file.
73847 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
73848 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
73849 file.
73850 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
73851
73852 2012-11-13 Joseph Myers <joseph@codesourcery.com>
73853
73854 * timezone/tzselect.ksh: Update from tzcode git revision
73855 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
73856 * timezone/zdump.c: Likewise.
73857 * timezone/zic.c: Likewise.
73858 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
73859 in TZVERSION setting, not $(PKGVERSION).
73860 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
73861 REPORT_BUGS_TO settings.
73862
73863 [BZ #14838]
73864 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
73865 macro.
73866
73867 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
73868
73869 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
73870 detection to immediately after _FP_ROUND().
73871 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
73872 bits are 0.
73873
73874 2012-11-11 David S. Miller <davem@davemloft.net>
73875
73876 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
73877 inttypes.h
73878 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
73879 __close rather than their public counterparts.
73880
73881 2012-11-10 Joseph Myers <joseph@codesourcery.com>
73882
73883 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
73884 file.
73885 [UNIX98] (sem_timedwait): Do not expect.
73886 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
73887 [XPG4 || UNIX98] (sockatmark): Do not expect.
73888 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
73889 (clock_getcpuclockid): Do not expect.
73890 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
73891 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
73892 Do not expect.
73893 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
73894 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
73895 [UNIX98] (vwscanf): Likewise.
73896 [UNIX98] (vswscanf): Likewise.
73897
73898 2012-11-09 Joseph Myers <joseph@codesourcery.com>
73899
73900 * timezone/version.h: Remove file.
73901 * timezone/README: Do not refer to version.h.
73902 * timezone/Makefile ($(objpfx)zic.o): New dependency on
73903 $(objpfx)version.h.
73904 ($(objpfx)zdump.o): Likewise.
73905 ($(objpfx)version.h): New target.
73906
73907 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
73908 2012i.
73909 * timezone/README: Don't mention modification to tzselect.ksh.
73910 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
73911 work on unmodified tzselect.ksh. Substitute version numbers in
73912 tzselect.ksh.
73913
73914 * Makefile (format-me): Remove.
73915 (INSTALL): Adjust indentation. Use commands directly instead of
73916 using $(format-me).
73917
73918 * aclocal.m4 (ACX_PKGVERSION): New macro.
73919 (ACX_BUGURL): Likewise.
73920 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
73921 (PKGVERSION): New AC_DEFINE_UNQUOTED.
73922 (REPORT_BUGS_TO): Likewise.
73923 * configure: Regenerated.
73924 * config.h.in (PKGVERSION): New macro.
73925 (REPORT_BUGS_TO): Likewise.
73926 * config.make.in (PKGVERSION): New variable.
73927 (PKGVERSION_TEXI): Likewise.
73928 (REPORT_BUGS_TO): Likewise.
73929 (REPORT_BUGS_TEXI): Likewise.
73930 * Makefile (format-me): Use -I$(common-objpfx)manual.
73931 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
73932 ($(common-objpfx)manual/%): New target.
73933 (manual/%): Remove target.
73934 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
73935 (print_version): Use PKGVERSION.
73936 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
73937 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
73938 and REPORT_BUGS_TO.
73939 ($(objpfx)xtrace): Likewise.
73940 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
73941 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
73942 (print_version): Use PKGVERSION.
73943 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
73944 (do_version): Use PKGVERSION.
73945 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
73946 REPORT_BUGS_TO.
73947 (common-ldd-rewrite): Likewise.
73948 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
73949 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
73950 (print_version): Use PKGVERSION.
73951 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
73952 * elf/pldd.c (argp_program_bug_address): Remove variable.
73953 (more_help): New function.
73954 (argp): Use more_help.
73955 (print_version): Use PKGVERSION.
73956 * elf/sln.c (main): Use PKGVERSION.
73957 (usage): Use REPORT_BUGS_TO.
73958 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
73959 (top level): Use PKGVERSION.
73960 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
73961 (print_version): Use PKGVERSION.
73962 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
73963 (print_version): Use PKGVERSION.
73964 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
73965 (print_version): Use PKGVERSION.
73966 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
73967 (print_version): Use PKGVERSION.
73968 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
73969 (print_version): Use PKGVERSION.
73970 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
73971 (print_version): Use PKGVERSION.
73972 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
73973 and BUGURL.
73974 ($(objpfx)memusage): Likewise.
73975 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
73976 (do_version): Use PKGVERSION.
73977 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
73978 (print_version): Use PKGVERSION.
73979 * malloc/mtrace.pl ($PACKAGE): Remove variable.
73980 ($PKGVERSION): New variable.
73981 ($REPORT_BUGS_TO): Likewise.
73982 (usage): Use $REPORT_BUGS_TO.
73983 (top level): Use $PKGVERSION.
73984 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
73985 ($(objpfx)pkgvers.texi): New rule.
73986 ($(objpfx)stamp-pkgvers): Likewise.
73987 * manual/install.texi: Include pkgvers.texi.
73988 (--with-pkgversion): Document new configure option.
73989 (--with-bugurl): Likewise.
73990 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
73991 than necessarily for this particular distribution. Use
73992 REPORT_BUGS_TO for where to report bugs.
73993 * INSTALL: Regenerated.
73994 * manual/libc.texinfo: Include pkgvers.texi.
73995 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
73996 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
73997 (print_version): Use PKGVERSION.
73998 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
73999 (print_version): Use PKGVERSION.
74000 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
74001 (print_version): Use PKGVERSION.
74002 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
74003 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
74004 macro.
74005 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
74006 (print_version): Use PKGVERSION.
74007 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
74008 (print_version): Use PKGVERSION.
74009 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
74010 and PKGVERSION.
74011
74012 * timezone/checktab.awk: Update from tzcode 2012i.
74013 * timezone/ialloc.c: Likewise.
74014 * timezone/private.h: Likewise.
74015 * timezone/scheck.c: Likewise.
74016 * timezone/tzfile.h: Likewise.
74017 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
74018 (TZVERSION): Hardcode tzcode version number.
74019 * timezone/zdump.c: Update from tzcode 2012i.
74020 * timezone/zic.c: Likewise.
74021 * timezone/version.h: New file.
74022 * timezone/README: Describe version.h. Update upstream location.
74023
74024 [BZ #14824]
74025 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
74026 (mktemp): Enable declaration.
74027 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
74028 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
74029 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
74030 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
74031 Likewise.
74032 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
74033 Likewise.
74034 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
74035 Likewise.
74036 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
74037 Likewise.
74038 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
74039 Likewise.
74040 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
74041 Likewise.
74042
74043 [BZ #14821]
74044 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
74045 offset in buffer as u_int32_t not u_long. Consistently use memcpy
74046 for copies of such integer values.
74047 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
74048 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
74049
74050 2012-11-09 Andreas Jaeger <aj@suse.de>
74051
74052 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
74053 definitions and declarations that are provided by
74054 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
74055
74056 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74057
74058 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
74059 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
74060 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
74061 definition.
74062
74063 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74064
74065 * elf/elf.h: Update comment before AArch64 relocations.
74066
74067 2012-11-07 David S. Miller <davem@davemloft.net>
74068
74069 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
74070 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
74071 (__start_context): Declare.
74072 (__makecontext_ret): Delete.
74073 (__makecontext): Hook up __start_context instead of
74074 __makecontext_ret.
74075 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
74076 (sysdep_routines): Add __start_context when in stdlib.
74077
74078 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74079
74080 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
74081 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
74082 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
74083 hardcoded "nm".
74084 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
74085 (READELF): New variable. Use it instead of hardcoded "readelf".
74086
74087 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
74088
74089 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
74090 * sysdeps/x86/Makefile: Here.
74091 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
74092 * sysdeps/x86/tst-xmmymm.sh: This.
74093
74094 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74095
74096 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
74097 expectations.
74098 [UNIX98] (pthread_barrier_t): Do not expect.
74099 [UNIX98] (pthread_barrierattr_t): Likewise.
74100 [UNIX98] (pthread_spinlock_t): Likewise.
74101 [UNIX98] (pthread_barrier_destroy): Likewise.
74102 [UNIX98] (pthread_barrier_init): Likewise.
74103 [UNIX98] (pthread_barrier_wait): Likewise.
74104 [UNIX98] (pthread_barrierattr_destroy): Likewise.
74105 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
74106 [UNIX98] (pthread_barrierattr_init): Likewise.
74107 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
74108 [UNIX98] (pthread_getcpuclockid): Likewise.
74109 [UNIX98] (pthread_mutex_timedlock): Likewise.
74110 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
74111 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
74112 [UNIX98] (pthread_sigmask): Likewise.
74113 [UNIX98] (pthread_spin_destroy): Likewise.
74114 [UNIX98] (pthread_spin_init): Likewise.
74115 [UNIX98] (pthread_spin_lock): Likewise.
74116 [UNIX98] (pthread_spin_trylock): Likewise.
74117 [UNIX98] (pthread_spin_unlock): Likewise.
74118 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
74119 Do not expect.
74120 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
74121 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
74122 [XPG3 || XPG4] (pthread_cond_t): Likewise.
74123 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
74124 [XPG3 || XPG4] (pthread_key_t): Likewise.
74125 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
74126 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
74127 [XPG3 || XPG4] (pthread_once_t): Likewise.
74128 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
74129 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
74130 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
74131 [XPG3 || XPG4] (pthread_t): Likewise.
74132
74133 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
74134 not expect.
74135 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
74136
74137 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
74138 Change function return type to int.
74139
74140 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
74141 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
74142 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
74143 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
74144 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
74145 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
74146 [!POSIX] (posix_madvise): Likewise.
74147 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
74148 && !UNIX98].
74149 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
74150 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
74151 (mode_t): Likewise.
74152 (posix_mem_offset): Likewise.
74153 (posix_typed_mem_get_info): Likewise.
74154 (posix_typed_mem_open): Likewise.
74155
74156 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
74157 Change condition to [XOPEN2K8].
74158
74159 * conform/conformtest.pl: Preprocess allow-header data with -x c
74160 instead of from stdin.
74161 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
74162 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
74163 [C99-based standards] (cerfc): Likewise.
74164 [C99-based standards] (cexp2): Likewise.
74165 [C99-based standards] (cexpm1): Likewise.
74166 [C99-based standards] (clog10): Likewise.
74167 [C99-based standards] (clog1p): Likewise.
74168 [C99-based standards] (clog2): Likewise.
74169 [C99-based standards] (clgamma): Likewise.
74170 [C99-based standards] (ctgamma): Likewise.
74171 [C99-based standards] (cerff): Likewise.
74172 [C99-based standards] (cerfcf): Likewise.
74173 [C99-based standards] (cexp2f): Likewise.
74174 [C99-based standards] (cexpm1f): Likewise.
74175 [C99-based standards] (clog10f): Likewise.
74176 [C99-based standards] (clog1pf): Likewise.
74177 [C99-based standards] (clog2f): Likewise.
74178 [C99-based standards] (clgammaf): Likewise.
74179 [C99-based standards] (ctgammaf): Likewise.
74180 [C99-based standards] (cerfl): Likewise.
74181 [C99-based standards] (cerfcl): Likewise.
74182 [C99-based standards] (cexp2l): Likewise.
74183 [C99-based standards] (cexpm1l): Likewise.
74184 [C99-based standards] (clog10l): Likewise.
74185 [C99-based standards] (clog1pl): Likewise.
74186 [C99-based standards] (clog2l): Likewise.
74187 [C99-based standards] (clgammal): Likewise.
74188 [C99-based standards] (ctgammal): Likewise.
74189 * conform/data/inttypes.h-data [C99-based standards]: Include
74190 stdint.h-data. Remove all expectations for stdint.h contents.
74191 [C99-based standards] (PRI*): Do not allow.
74192 [C99-based standards] (SCN*): Likewise.
74193 [C99-based standards] (*_t): Likewise.
74194 [C99-based-standards] (PRId8): Expect macro.
74195 [C99-based-standards] (PRIi8): Likewise.
74196 [C99-based-standards] (PRIo8): Likewise.
74197 [C99-based-standards] (PRIu8): Likewise.
74198 [C99-based-standards] (PRIx8): Likewise.
74199 [C99-based-standards] (PRIX8): Likewise.
74200 [C99-based-standards] (SCNd8): Likewise.
74201 [C99-based-standards] (SCNi8): Likewise.
74202 [C99-based-standards] (SCNo8): Likewise.
74203 [C99-based-standards] (SCNu8): Likewise.
74204 [C99-based-standards] (SCNx8): Likewise.
74205 [C99-based-standards] (PRIdLEAST8): Likewise.
74206 [C99-based-standards] (PRIiLEAST8): Likewise.
74207 [C99-based-standards] (PRIoLEAST8): Likewise.
74208 [C99-based-standards] (PRIuLEAST8): Likewise.
74209 [C99-based-standards] (PRIxLEAST8): Likewise.
74210 [C99-based-standards] (PRIXLEAST8): Likewise.
74211 [C99-based-standards] (SCNdLEAST8): Likewise.
74212 [C99-based-standards] (SCNiLEAST8): Likewise.
74213 [C99-based-standards] (SCNoLEAST8): Likewise.
74214 [C99-based-standards] (SCNuLEAST8): Likewise.
74215 [C99-based-standards] (SCNxLEAST8): Likewise.
74216 [C99-based-standards] (PRIdFAST8): Likewise.
74217 [C99-based-standards] (PRIiFAST8): Likewise.
74218 [C99-based-standards] (PRIoFAST8): Likewise.
74219 [C99-based-standards] (PRIuFAST8): Likewise.
74220 [C99-based-standards] (PRIxFAST8): Likewise.
74221 [C99-based-standards] (PRIXFAST8): Likewise.
74222 [C99-based-standards] (SCNdFAST8): Likewise.
74223 [C99-based-standards] (SCNiFAST8): Likewise.
74224 [C99-based-standards] (SCNoFAST8): Likewise.
74225 [C99-based-standards] (SCNuFAST8): Likewise.
74226 [C99-based-standards] (SCNxFAST8): Likewise.
74227 [C99-based-standards] (PRId16): Likewise.
74228 [C99-based-standards] (PRIi16): Likewise.
74229 [C99-based-standards] (PRIo16): Likewise.
74230 [C99-based-standards] (PRIu16): Likewise.
74231 [C99-based-standards] (PRIx16): Likewise.
74232 [C99-based-standards] (PRIX16): Likewise.
74233 [C99-based-standards] (SCNd16): Likewise.
74234 [C99-based-standards] (SCNi16): Likewise.
74235 [C99-based-standards] (SCNo16): Likewise.
74236 [C99-based-standards] (SCNu16): Likewise.
74237 [C99-based-standards] (SCNx16): Likewise.
74238 [C99-based-standards] (PRIdLEAST16): Likewise.
74239 [C99-based-standards] (PRIiLEAST16): Likewise.
74240 [C99-based-standards] (PRIoLEAST16): Likewise.
74241 [C99-based-standards] (PRIuLEAST16): Likewise.
74242 [C99-based-standards] (PRIxLEAST16): Likewise.
74243 [C99-based-standards] (PRIXLEAST16): Likewise.
74244 [C99-based-standards] (SCNdLEAST16): Likewise.
74245 [C99-based-standards] (SCNiLEAST16): Likewise.
74246 [C99-based-standards] (SCNoLEAST16): Likewise.
74247 [C99-based-standards] (SCNuLEAST16): Likewise.
74248 [C99-based-standards] (SCNxLEAST16): Likewise.
74249 [C99-based-standards] (PRIdFAST16): Likewise.
74250 [C99-based-standards] (PRIiFAST16): Likewise.
74251 [C99-based-standards] (PRIoFAST16): Likewise.
74252 [C99-based-standards] (PRIuFAST16): Likewise.
74253 [C99-based-standards] (PRIxFAST16): Likewise.
74254 [C99-based-standards] (PRIXFAST16): Likewise.
74255 [C99-based-standards] (SCNdFAST16): Likewise.
74256 [C99-based-standards] (SCNiFAST16): Likewise.
74257 [C99-based-standards] (SCNoFAST16): Likewise.
74258 [C99-based-standards] (SCNuFAST16): Likewise.
74259 [C99-based-standards] (SCNxFAST16): Likewise.
74260 [C99-based-standards] (PRId32): Likewise.
74261 [C99-based-standards] (PRIi32): Likewise.
74262 [C99-based-standards] (PRIo32): Likewise.
74263 [C99-based-standards] (PRIu32): Likewise.
74264 [C99-based-standards] (PRIx32): Likewise.
74265 [C99-based-standards] (PRIX32): Likewise.
74266 [C99-based-standards] (SCNd32): Likewise.
74267 [C99-based-standards] (SCNi32): Likewise.
74268 [C99-based-standards] (SCNo32): Likewise.
74269 [C99-based-standards] (SCNu32): Likewise.
74270 [C99-based-standards] (SCNx32): Likewise.
74271 [C99-based-standards] (PRIdLEAST32): Likewise.
74272 [C99-based-standards] (PRIiLEAST32): Likewise.
74273 [C99-based-standards] (PRIoLEAST32): Likewise.
74274 [C99-based-standards] (PRIuLEAST32): Likewise.
74275 [C99-based-standards] (PRIxLEAST32): Likewise.
74276 [C99-based-standards] (PRIXLEAST32): Likewise.
74277 [C99-based-standards] (SCNdLEAST32): Likewise.
74278 [C99-based-standards] (SCNiLEAST32): Likewise.
74279 [C99-based-standards] (SCNoLEAST32): Likewise.
74280 [C99-based-standards] (SCNuLEAST32): Likewise.
74281 [C99-based-standards] (SCNxLEAST32): Likewise.
74282 [C99-based-standards] (PRIdFAST32): Likewise.
74283 [C99-based-standards] (PRIiFAST32): Likewise.
74284 [C99-based-standards] (PRIoFAST32): Likewise.
74285 [C99-based-standards] (PRIuFAST32): Likewise.
74286 [C99-based-standards] (PRIxFAST32): Likewise.
74287 [C99-based-standards] (PRIXFAST32): Likewise.
74288 [C99-based-standards] (SCNdFAST32): Likewise.
74289 [C99-based-standards] (SCNiFAST32): Likewise.
74290 [C99-based-standards] (SCNoFAST32): Likewise.
74291 [C99-based-standards] (SCNuFAST32): Likewise.
74292 [C99-based-standards] (SCNxFAST32): Likewise.
74293 [C99-based-standards] (PRId64): Likewise.
74294 [C99-based-standards] (PRIi64): Likewise.
74295 [C99-based-standards] (PRIo64): Likewise.
74296 [C99-based-standards] (PRIu64): Likewise.
74297 [C99-based-standards] (PRIx64): Likewise.
74298 [C99-based-standards] (PRIX64): Likewise.
74299 [C99-based-standards] (SCNd64): Likewise.
74300 [C99-based-standards] (SCNi64): Likewise.
74301 [C99-based-standards] (SCNo64): Likewise.
74302 [C99-based-standards] (SCNu64): Likewise.
74303 [C99-based-standards] (SCNx64): Likewise.
74304 [C99-based-standards] (PRIdLEAST64): Likewise.
74305 [C99-based-standards] (PRIiLEAST64): Likewise.
74306 [C99-based-standards] (PRIoLEAST64): Likewise.
74307 [C99-based-standards] (PRIuLEAST64): Likewise.
74308 [C99-based-standards] (PRIxLEAST64): Likewise.
74309 [C99-based-standards] (PRIXLEAST64): Likewise.
74310 [C99-based-standards] (SCNdLEAST64): Likewise.
74311 [C99-based-standards] (SCNiLEAST64): Likewise.
74312 [C99-based-standards] (SCNoLEAST64): Likewise.
74313 [C99-based-standards] (SCNuLEAST64): Likewise.
74314 [C99-based-standards] (SCNxLEAST64): Likewise.
74315 [C99-based-standards] (PRIdFAST64): Likewise.
74316 [C99-based-standards] (PRIiFAST64): Likewise.
74317 [C99-based-standards] (PRIoFAST64): Likewise.
74318 [C99-based-standards] (PRIuFAST64): Likewise.
74319 [C99-based-standards] (PRIxFAST64): Likewise.
74320 [C99-based-standards] (PRIXFAST64): Likewise.
74321 [C99-based-standards] (SCNdFAST64): Likewise.
74322 [C99-based-standards] (SCNiFAST64): Likewise.
74323 [C99-based-standards] (SCNoFAST64): Likewise.
74324 [C99-based-standards] (SCNuFAST64): Likewise.
74325 [C99-based-standards] (SCNxFAST64): Likewise.
74326 [C99-based-standards] (PRIdMAX): Likewise.
74327 [C99-based-standards] (PRIiMAX): Likewise.
74328 [C99-based-standards] (PRIoMAX): Likewise.
74329 [C99-based-standards] (PRIuMAX): Likewise.
74330 [C99-based-standards] (PRIxMAX): Likewise.
74331 [C99-based-standards] (PRIXMAX): Likewise.
74332 [C99-based-standards] (SCNdMAX): Likewise.
74333 [C99-based-standards] (SCNiMAX): Likewise.
74334 [C99-based-standards] (SCNoMAX): Likewise.
74335 [C99-based-standards] (SCNuMAX): Likewise.
74336 [C99-based-standards] (SCNxMAX): Likewise.
74337 [C99-based-standards] (PRIdPTR): Likewise.
74338 [C99-based-standards] (PRIiPTR): Likewise.
74339 [C99-based-standards] (PRIoPTR): Likewise.
74340 [C99-based-standards] (PRIuPTR): Likewise.
74341 [C99-based-standards] (PRIxPTR): Likewise.
74342 [C99-based-standards] (PRIXPTR): Likewise.
74343 [C99-based-standards] (SCNdPTR): Likewise.
74344 [C99-based-standards] (SCNiPTR): Likewise.
74345 [C99-based-standards] (SCNoPTR): Likewise.
74346 [C99-based-standards] (SCNuPTR): Likewise.
74347 [C99-based-standards] (SCNxPTR): Likewise.
74348 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
74349 allow.
74350 * conform/data/stdint.h-data: Update comments to clarify
74351 requirements.
74352 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
74353 type.
74354 [C99-based standards] (INT8_MAX): Likewise.
74355 [C99-based standards] (INT16_MIN): Likewise.
74356 [C99-based standards] (INT16_MAX): Likewise.
74357 [C99-based standards] (INT32_MIN): Likewise.
74358 [C99-based standards] (INT32_MAX): Likewise.
74359 [C99-based standards] (INT64_MIN): Likewise.
74360 [C99-based standards] (INT64_MAX): Likewise.
74361 [C99-based standards] (UINT8_MAX): Likewise.
74362 [C99-based standards] (UINT16_MAX): Likewise.
74363 [C99-based standards] (UINT32_MAX): Likewise.
74364 [C99-based standards] (UINT64_MAX): Likewise.
74365 [C99-based standards] (INT_LEAST8_MIN): Likewise.
74366 [C99-based standards] (INT_LEAST8_MAX): Likewise.
74367 [C99-based standards] (INT_LEAST16_MIN): Likewise.
74368 [C99-based standards] (INT_LEAST16_MAX): Likewise.
74369 [C99-based standards] (INT_LEAST32_MIN): Likewise.
74370 [C99-based standards] (INT_LEAST32_MAX): Likewise.
74371 [C99-based standards] (INT_LEAST64_MIN): Likewise.
74372 [C99-based standards] (INT_LEAST64_MAX): Likewise.
74373 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
74374 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
74375 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
74376 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
74377 [C99-based standards] (INT_FAST8_MIN): Likewise.
74378 [C99-based standards] (INT_FAST8_MAX): Likewise.
74379 [C99-based standards] (INT_FAST16_MIN): Likewise.
74380 [C99-based standards] (INT_FAST16_MAX): Likewise.
74381 [C99-based standards] (INT_FAST32_MIN): Likewise.
74382 [C99-based standards] (INT_FAST32_MAX): Likewise.
74383 [C99-based standards] (INT_FAST64_MIN): Likewise.
74384 [C99-based standards] (INT_FAST64_MAX): Likewise.
74385 [C99-based standards] (UINT_FAST8_MAX): Likewise.
74386 [C99-based standards] (UINT_FAST16_MAX): Likewise.
74387 [C99-based standards] (UINT_FAST32_MAX): Likewise.
74388 [C99-based standards] (UINT_FAST64_MAX): Likewise.
74389 [C99-based standards] (INTPTR_MIN): Likewise.
74390 [C99-based standards] (INTPTR_MAX): Likewise.
74391 [C99-based standards] (UINTPTR_MAX): Likewise.
74392 [C99-based standards] (INTMAX_MIN): Likewise.
74393 [C99-based standards] (INTMAX_MAX): Likewise.
74394 [C99-based standards] (UINTMAX_MAX): Likewise.
74395 [C99-based standards] (PTRDIFF_MIN): Likewise.
74396 [C99-based standards] (PTRDIFF_MAX): Likewise.
74397 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
74398 [C99-based standards] (SIZE_MAX): Likewise.
74399 [C99-based standards] (WCHAR_MAX): Likewise.
74400 [C99-based standards] (WINT_MAX): Likewise.
74401 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
74402 constraint on value.
74403 [C99-based standards] (WCHAR_MIN): Likewise.
74404 [C99-based standards] (WINT_MIN): Likewise.
74405 [C99-based standards] (*_t): Allow.
74406 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
74407 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
74408 Include math.h-data and complex.h-data. Remove all expectations
74409 of math.h and complex.h contents.
74410 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
74411 at end of line.
74412 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
74413 (struct tm): Expect tag.
74414 [C99-based-standards] (wcstof): Expect function.
74415 [C99-based-standards] (wcstold): Likewise.
74416 [C99-based-standards] (wcstoll): Likewise.
74417 [C99-based-standards] (wcstoull): Likewise.
74418 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
74419 macro-int-constant. Specify type.
74420 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
74421 constraint on value.
74422 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74423 Specify type.
74424 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
74425 Specify value.
74426 [ISO C standards]: Do not allow headers.
74427 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
74428 wcs[abcdefghijklmnopqrstuvwxyz]*.
74429 [ISO C standards] (*_t): Do not allow.
74430 * conform/data/wctype.h-data [C99-based standards] (iswblank):
74431 Expect function.
74432 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
74433 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74434 Specify type.
74435 [ISO C standards]: Do not allow headers.
74436 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
74437 is[abcdefghijklmnopqrstuvwxyz]*.
74438 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
74439 to[abcdefghijklmnopqrstuvwxyz]*.
74440 [ISO C standards] (*_t): Do not allow.
74441 * conform/data/stdalign.h-data: New file.
74442 * conform/data/stdbool.h-data: Likewise.
74443 * conform/data/stdnoreturn.h-data: Likewise.
74444
74445 2012-11-07 Roland McGrath <roland@hack.frob.com>
74446
74447 [BZ #14815]
74448 * manual/filesys.texi (Directory Entries): Typo fix.
74449 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
74450
74451 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74452
74453 * elf/elf.h (EM_AARCH64): New macro.
74454 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
74455 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
74456 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
74457 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
74458 (R_AARCH64_TLSDESC): Likewise.
74459 (NT_ARM_TLS): Likewise.
74460 (NT_ARM_HW_BREAK): Likewise.
74461 (NT_ARM_HW_WATCH): Likewise.
74462
74463 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74464
74465 [BZ #14811]
74466 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
74467 (__ieee754_powl): Saturate nonzero exponents with absolute value
74468 below 0x1p-79 to +/- 0x1p-79.
74469 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
74470 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
74471 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
74472 nonzero exponents with absolute value below 0x1p-32 to +/-
74473 0x1p-32.
74474 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
74475 (__ieee754_powl): Saturate nonzero exponents with absolute value
74476 below 0x1p-79 to +/- 0x1p-79.
74477 * math/libm-test.inc (pow_test): Add more tests.
74478
74479 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74480
74481 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
74482 _dl_s390_cap_flags with kernel. Increase string length.
74483 (_dl_s390_platforms): Add z196 and zEC12.
74484
74485 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74486
74487 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
74488 Change XOPEN21K to XOPEN2K.
74489
74490 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
74491
74492 * string/memmove.c: Use memcpy when possible.
74493
74494 2012-11-06 Andreas Jaeger <aj@suse.de>
74495
74496 * po/eo.po: Update from translation team.
74497
74498 2012-11-06 Joseph Myers <joseph@codesourcery.com>
74499
74500 [BZ #14793]
74501 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
74502 exponent and small x and y exponents, scale x or y up. Increase
74503 by 2 the exponent used in scaling up.
74504 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74505 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74506 * math/libm-test.inc (fma_test): Add more tests.
74507 (fma_test_towardzero): Likewise.
74508 (fma_test_downward): Likewise.
74509 (fma_test_upward): Likewise.
74510
74511 2012-11-05 Joseph Myers <joseph@codesourcery.com>
74512
74513 [BZ #14805]
74514 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
74515 fenv_t *.
74516
74517 [BZ #14801]
74518 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
74519 namespace for names of struct fields.
74520 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
74521 fenv_t fields.
74522 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
74523 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
74524
74525 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
74526
74527 [BZ #3665]
74528 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
74529
74530 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
74531
74532 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
74533 PTR_DEMANGLE.
74534
74535 [BZ #5246]
74536 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
74537 PTR_DEMANGLE.
74538
74539 2012-11-04 Joseph Myers <joseph@codesourcery.com>
74540
74541 [BZ #14797]
74542 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
74543 definitely overflow as x * y not x * y + z.
74544 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74545 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74546 * math/libm-test.inc (fma_test): Add more tests.
74547 (fma_test_towardzero): Likewise.
74548 (fma_test_downward): Likewise.
74549 (fma_test_upward): Likewise.
74550
74551 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
74552
74553 [BZ #157]
74554
74555 * include/stub-tag.h: Remove file.
74556 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
74557 '#include' of it.
74558 * manual/maint.texi (Porting): Don't reference it.
74559 * Makerules ($(objpfx)stubs): Likewise.
74560 * dirent/closedir.c: Don't include <stub-tag.h>.
74561 * dirent/dirfd.c: Likewise.
74562 * dirent/fdopendir.c: Likewise.
74563 * dirent/getdents.c: Likewise.
74564 * dirent/getdents64.c: Likewise.
74565 * dirent/opendir.c: Likewise.
74566 * dirent/readdir.c: Likewise.
74567 * dirent/readdir64.c: Likewise.
74568 * dirent/readdir64_r.c: Likewise.
74569 * dirent/readdir_r.c: Likewise.
74570 * dirent/rewinddir.c: Likewise.
74571 * dirent/seekdir.c: Likewise.
74572 * dirent/telldir.c: Likewise.
74573 * gmon/profil.c: Likewise.
74574 * grp/setgroups.c: Likewise.
74575 * inet/if_index.c: Likewise.
74576 * io/access.c: Likewise.
74577 * io/chdir.c: Likewise.
74578 * io/chmod.c: Likewise.
74579 * io/chown.c: Likewise.
74580 * io/close.c: Likewise.
74581 * io/dup.c: Likewise.
74582 * io/dup2.c: Likewise.
74583 * io/dup3.c: Likewise.
74584 * io/euidaccess.c: Likewise.
74585 * io/faccessat.c: Likewise.
74586 * io/fchdir.c: Likewise.
74587 * io/fchmod.c: Likewise.
74588 * io/fchmodat.c: Likewise.
74589 * io/fchown.c: Likewise.
74590 * io/fchownat.c: Likewise.
74591 * io/fcntl.c: Likewise.
74592 * io/flock.c: Likewise.
74593 * io/fstatfs.c: Likewise.
74594 * io/fstatfs64.c: Likewise.
74595 * io/fstatvfs.c: Likewise.
74596 * io/fstatvfs64.c: Likewise.
74597 * io/futimens.c: Likewise.
74598 * io/fxstat.c: Likewise.
74599 * io/fxstat64.c: Likewise.
74600 * io/fxstatat.c: Likewise.
74601 * io/fxstatat64.c: Likewise.
74602 * io/getcwd.c: Likewise.
74603 * io/isatty.c: Likewise.
74604 * io/lchmod.c: Likewise.
74605 * io/lchown.c: Likewise.
74606 * io/link.c: Likewise.
74607 * io/linkat.c: Likewise.
74608 * io/lseek.c: Likewise.
74609 * io/lseek64.c: Likewise.
74610 * io/lxstat64.c: Likewise.
74611 * io/mkdir.c: Likewise.
74612 * io/mkdirat.c: Likewise.
74613 * io/mkfifo.c: Likewise.
74614 * io/mkfifoat.c: Likewise.
74615 * io/open.c: Likewise.
74616 * io/open64.c: Likewise.
74617 * io/openat.c: Likewise.
74618 * io/openat64.c: Likewise.
74619 * io/pipe.c: Likewise.
74620 * io/pipe2.c: Likewise.
74621 * io/poll.c: Likewise.
74622 * io/posix_fadvise.c: Likewise.
74623 * io/posix_fadvise64.c: Likewise.
74624 * io/posix_fallocate.c: Likewise.
74625 * io/posix_fallocate64.c: Likewise.
74626 * io/read.c: Likewise.
74627 * io/readlink.c: Likewise.
74628 * io/readlinkat.c: Likewise.
74629 * io/rmdir.c: Likewise.
74630 * io/sendfile.c: Likewise.
74631 * io/sendfile64.c: Likewise.
74632 * io/statfs.c: Likewise.
74633 * io/statfs64.c: Likewise.
74634 * io/statvfs.c: Likewise.
74635 * io/statvfs64.c: Likewise.
74636 * io/symlink.c: Likewise.
74637 * io/symlinkat.c: Likewise.
74638 * io/ttyname.c: Likewise.
74639 * io/ttyname_r.c: Likewise.
74640 * io/umask.c: Likewise.
74641 * io/unlink.c: Likewise.
74642 * io/unlinkat.c: Likewise.
74643 * io/utime.c: Likewise.
74644 * io/utimensat.c: Likewise.
74645 * io/write.c: Likewise.
74646 * io/xmknod.c: Likewise.
74647 * io/xmknodat.c: Likewise.
74648 * io/xstat.c: Likewise.
74649 * io/xstat64.c: Likewise.
74650 * login/getpt.c: Likewise.
74651 * login/grantpt.c: Likewise.
74652 * login/unlockpt.c: Likewise.
74653 * math/e_acoshl.c: Likewise.
74654 * math/e_acosl.c: Likewise.
74655 * math/e_asinl.c: Likewise.
74656 * math/e_atan2l.c: Likewise.
74657 * math/e_atanhl.c: Likewise.
74658 * math/e_coshl.c: Likewise.
74659 * math/e_expl.c: Likewise.
74660 * math/e_fmodl.c: Likewise.
74661 * math/e_gammal_r.c: Likewise.
74662 * math/e_hypotl.c: Likewise.
74663 * math/e_j0l.c: Likewise.
74664 * math/e_j1l.c: Likewise.
74665 * math/e_jnl.c: Likewise.
74666 * math/e_lgammal_r.c: Likewise.
74667 * math/e_log10l.c: Likewise.
74668 * math/e_log2l.c: Likewise.
74669 * math/e_logl.c: Likewise.
74670 * math/e_powl.c: Likewise.
74671 * math/e_rem_pio2l.c: Likewise.
74672 * math/e_sinhl.c: Likewise.
74673 * math/e_sqrtl.c: Likewise.
74674 * math/fclrexcpt.c: Likewise.
74675 * math/fedisblxcpt.c: Likewise.
74676 * math/feenablxcpt.c: Likewise.
74677 * math/fegetenv.c: Likewise.
74678 * math/fegetexcept.c: Likewise.
74679 * math/fegetround.c: Likewise.
74680 * math/feholdexcpt.c: Likewise.
74681 * math/fesetenv.c: Likewise.
74682 * math/fesetround.c: Likewise.
74683 * math/feupdateenv.c: Likewise.
74684 * math/fgetexcptflg.c: Likewise.
74685 * math/fraiseexcpt.c: Likewise.
74686 * math/fsetexcptflg.c: Likewise.
74687 * math/ftestexcept.c: Likewise.
74688 * math/k_cosl.c: Likewise.
74689 * math/k_rem_pio2l.c: Likewise.
74690 * math/k_sinl.c: Likewise.
74691 * math/k_tanl.c: Likewise.
74692 * math/s_asinhl.c: Likewise.
74693 * math/s_atanl.c: Likewise.
74694 * math/s_cbrtl.c: Likewise.
74695 * math/s_erfl.c: Likewise.
74696 * math/s_expm1l.c: Likewise.
74697 * math/s_log1pl.c: Likewise.
74698 * math/s_tanhl.c: Likewise.
74699 * misc/acct.c: Likewise.
74700 * misc/brk.c: Likewise.
74701 * misc/chflags.c: Likewise.
74702 * misc/chroot.c: Likewise.
74703 * misc/fchflags.c: Likewise.
74704 * misc/fgetxattr.c: Likewise.
74705 * misc/flistxattr.c: Likewise.
74706 * misc/fremovexattr.c: Likewise.
74707 * misc/fsetxattr.c: Likewise.
74708 * misc/fsync.c: Likewise.
74709 * misc/ftruncate.c: Likewise.
74710 * misc/futimes.c: Likewise.
74711 * misc/futimesat.c: Likewise.
74712 * misc/getdomain.c: Likewise.
74713 * misc/getdtsz.c: Likewise.
74714 * misc/gethostid.c: Likewise.
74715 * misc/gethostname.c: Likewise.
74716 * misc/getloadavg.c: Likewise.
74717 * misc/getpagesize.c: Likewise.
74718 * misc/getsysstats.c: Likewise.
74719 * misc/getxattr.c: Likewise.
74720 * misc/gtty.c: Likewise.
74721 * misc/ioctl.c: Likewise.
74722 * misc/lgetxattr.c: Likewise.
74723 * misc/listxattr.c: Likewise.
74724 * misc/llistxattr.c: Likewise.
74725 * misc/lremovexattr.c: Likewise.
74726 * misc/lsetxattr.c: Likewise.
74727 * misc/lutimes.c: Likewise.
74728 * misc/madvise.c: Likewise.
74729 * misc/mincore.c: Likewise.
74730 * misc/mlock.c: Likewise.
74731 * misc/mlockall.c: Likewise.
74732 * misc/mmap.c: Likewise.
74733 * misc/mprotect.c: Likewise.
74734 * misc/msync.c: Likewise.
74735 * misc/munlock.c: Likewise.
74736 * misc/munlockall.c: Likewise.
74737 * misc/munmap.c: Likewise.
74738 * misc/preadv.c: Likewise.
74739 * misc/preadv64.c: Likewise.
74740 * misc/ptrace.c: Likewise.
74741 * misc/pwritev.c: Likewise.
74742 * misc/pwritev64.c: Likewise.
74743 * misc/readv.c: Likewise.
74744 * misc/reboot.c: Likewise.
74745 * misc/remap_file_pages.c: Likewise.
74746 * misc/removexattr.c: Likewise.
74747 * misc/revoke.c: Likewise.
74748 * misc/select.c: Likewise.
74749 * misc/setdomain.c: Likewise.
74750 * misc/setegid.c: Likewise.
74751 * misc/seteuid.c: Likewise.
74752 * misc/sethostid.c: Likewise.
74753 * misc/sethostname.c: Likewise.
74754 * misc/setregid.c: Likewise.
74755 * misc/setreuid.c: Likewise.
74756 * misc/setxattr.c: Likewise.
74757 * misc/sstk.c: Likewise.
74758 * misc/stty.c: Likewise.
74759 * misc/swapoff.c: Likewise.
74760 * misc/swapon.c: Likewise.
74761 * misc/sync.c: Likewise.
74762 * misc/syncfs.c: Likewise.
74763 * misc/syscall.c: Likewise.
74764 * misc/truncate.c: Likewise.
74765 * misc/ualarm.c: Likewise.
74766 * misc/usleep.c: Likewise.
74767 * misc/ustat.c: Likewise.
74768 * misc/utimes.c: Likewise.
74769 * misc/vhangup.c: Likewise.
74770 * misc/writev.c: Likewise.
74771 * posix/_exit.c: Likewise.
74772 * posix/alarm.c: Likewise.
74773 * posix/execve.c: Likewise.
74774 * posix/fexecve.c: Likewise.
74775 * posix/fork.c: Likewise.
74776 * posix/fpathconf.c: Likewise.
74777 * posix/getaddrinfo.c: Likewise.
74778 * posix/getegid.c: Likewise.
74779 * posix/geteuid.c: Likewise.
74780 * posix/getgid.c: Likewise.
74781 * posix/getgroups.c: Likewise.
74782 * posix/getlogin.c: Likewise.
74783 * posix/getlogin_r.c: Likewise.
74784 * posix/getpgid.c: Likewise.
74785 * posix/getpid.c: Likewise.
74786 * posix/getppid.c: Likewise.
74787 * posix/getresgid.c: Likewise.
74788 * posix/getresuid.c: Likewise.
74789 * posix/getsid.c: Likewise.
74790 * posix/getuid.c: Likewise.
74791 * posix/glob64.c: Likewise.
74792 * posix/nanosleep.c: Likewise.
74793 * posix/pathconf.c: Likewise.
74794 * posix/pause.c: Likewise.
74795 * posix/posix_madvise.c: Likewise.
74796 * posix/pread.c: Likewise.
74797 * posix/pread64.c: Likewise.
74798 * posix/pwrite.c: Likewise.
74799 * posix/pwrite64.c: Likewise.
74800 * posix/sched_getaffinity.c: Likewise.
74801 * posix/sched_getp.c: Likewise.
74802 * posix/sched_gets.c: Likewise.
74803 * posix/sched_primax.c: Likewise.
74804 * posix/sched_primin.c: Likewise.
74805 * posix/sched_rr_gi.c: Likewise.
74806 * posix/sched_setaffinity.c: Likewise.
74807 * posix/sched_setp.c: Likewise.
74808 * posix/sched_sets.c: Likewise.
74809 * posix/sched_yield.c: Likewise.
74810 * posix/setgid.c: Likewise.
74811 * posix/setlogin.c: Likewise.
74812 * posix/setpgid.c: Likewise.
74813 * posix/setresgid.c: Likewise.
74814 * posix/setresuid.c: Likewise.
74815 * posix/setsid.c: Likewise.
74816 * posix/setuid.c: Likewise.
74817 * posix/sleep.c: Likewise.
74818 * posix/spawni.c: Likewise.
74819 * posix/sysconf.c: Likewise.
74820 * posix/times.c: Likewise.
74821 * posix/wait.c: Likewise.
74822 * posix/wait3.c: Likewise.
74823 * posix/wait4.c: Likewise.
74824 * posix/waitpid.c: Likewise.
74825 * resolv/gai_sigqueue.c: Likewise.
74826 * resource/getpriority.c: Likewise.
74827 * resource/getrlimit.c: Likewise.
74828 * resource/getrusage.c: Likewise.
74829 * resource/nice.c: Likewise.
74830 * resource/setpriority.c: Likewise.
74831 * resource/setrlimit.c: Likewise.
74832 * resource/ulimit.c: Likewise.
74833 * rt/aio_cancel.c: Likewise.
74834 * rt/aio_fsync.c: Likewise.
74835 * rt/aio_read.c: Likewise.
74836 * rt/aio_sigqueue.c: Likewise.
74837 * rt/aio_suspend.c: Likewise.
74838 * rt/aio_write.c: Likewise.
74839 * rt/clock_getres.c: Likewise.
74840 * rt/clock_gettime.c: Likewise.
74841 * rt/clock_nanosleep.c: Likewise.
74842 * rt/clock_settime.c: Likewise.
74843 * rt/lio_listio.c: Likewise.
74844 * rt/mq_close.c: Likewise.
74845 * rt/mq_getattr.c: Likewise.
74846 * rt/mq_notify.c: Likewise.
74847 * rt/mq_open.c: Likewise.
74848 * rt/mq_receive.c: Likewise.
74849 * rt/mq_send.c: Likewise.
74850 * rt/mq_setattr.c: Likewise.
74851 * rt/mq_timedreceive.c: Likewise.
74852 * rt/mq_timedsend.c: Likewise.
74853 * rt/mq_unlink.c: Likewise.
74854 * rt/shm_open.c: Likewise.
74855 * rt/shm_unlink.c: Likewise.
74856 * rt/timer_create.c: Likewise.
74857 * rt/timer_delete.c: Likewise.
74858 * rt/timer_getoverr.c: Likewise.
74859 * rt/timer_gettime.c: Likewise.
74860 * rt/timer_settime.c: Likewise.
74861 * setjmp/__longjmp.c: Likewise.
74862 * setjmp/setjmp.c: Likewise.
74863 * signal/kill.c: Likewise.
74864 * signal/killpg.c: Likewise.
74865 * signal/raise.c: Likewise.
74866 * signal/sigaction.c: Likewise.
74867 * signal/sigaltstack.c: Likewise.
74868 * signal/sigblock.c: Likewise.
74869 * signal/sigignore.c: Likewise.
74870 * signal/sigintr.c: Likewise.
74871 * signal/signal.c: Likewise.
74872 * signal/sigpause.c: Likewise.
74873 * signal/sigpending.c: Likewise.
74874 * signal/sigqueue.c: Likewise.
74875 * signal/sigreturn.c: Likewise.
74876 * signal/sigset.c: Likewise.
74877 * signal/sigsetmask.c: Likewise.
74878 * signal/sigstack.c: Likewise.
74879 * signal/sigsuspend.c: Likewise.
74880 * signal/sigtimedwait.c: Likewise.
74881 * signal/sigvec.c: Likewise.
74882 * signal/sigwait.c: Likewise.
74883 * signal/sigwaitinfo.c: Likewise.
74884 * signal/sysv_signal.c: Likewise.
74885 * socket/accept.c: Likewise.
74886 * socket/accept4.c: Likewise.
74887 * socket/bind.c: Likewise.
74888 * socket/connect.c: Likewise.
74889 * socket/getpeername.c: Likewise.
74890 * socket/getsockname.c: Likewise.
74891 * socket/getsockopt.c: Likewise.
74892 * socket/isfdtype.c: Likewise.
74893 * socket/listen.c: Likewise.
74894 * socket/recv.c: Likewise.
74895 * socket/recvfrom.c: Likewise.
74896 * socket/recvmsg.c: Likewise.
74897 * socket/send.c: Likewise.
74898 * socket/sendmsg.c: Likewise.
74899 * socket/sendto.c: Likewise.
74900 * socket/setsockopt.c: Likewise.
74901 * socket/shutdown.c: Likewise.
74902 * socket/sockatmark.c: Likewise.
74903 * socket/socket.c: Likewise.
74904 * socket/socketpair.c: Likewise.
74905 * stdio-common/ctermid.c: Likewise.
74906 * stdio-common/cuserid.c: Likewise.
74907 * stdio-common/remove.c: Likewise.
74908 * stdio-common/rename.c: Likewise.
74909 * stdio-common/renameat.c: Likewise.
74910 * stdio-common/tempname.c: Likewise.
74911 * stdlib/getcontext.c: Likewise.
74912 * stdlib/makecontext.c: Likewise.
74913 * stdlib/setcontext.c: Likewise.
74914 * stdlib/swapcontext.c: Likewise.
74915 * stdlib/system.c: Likewise.
74916 * streams/fattach.c: Likewise.
74917 * streams/fdetach.c: Likewise.
74918 * streams/getmsg.c: Likewise.
74919 * streams/getpmsg.c: Likewise.
74920 * streams/putmsg.c: Likewise.
74921 * streams/putpmsg.c: Likewise.
74922 * sysdeps/unix/bsd/getpt.c: Likewise.
74923 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
74924 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
74925 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
74926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
74927 Likewise.
74928 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
74929 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
74930 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
74931 * sysvipc/msgctl.c: Likewise.
74932 * sysvipc/msgget.c: Likewise.
74933 * sysvipc/msgrcv.c: Likewise.
74934 * sysvipc/msgsnd.c: Likewise.
74935 * sysvipc/semctl.c: Likewise.
74936 * sysvipc/semget.c: Likewise.
74937 * sysvipc/semop.c: Likewise.
74938 * sysvipc/semtimedop.c: Likewise.
74939 * sysvipc/shmat.c: Likewise.
74940 * sysvipc/shmctl.c: Likewise.
74941 * sysvipc/shmdt.c: Likewise.
74942 * sysvipc/shmget.c: Likewise.
74943 * termios/tcdrain.c: Likewise.
74944 * termios/tcflow.c: Likewise.
74945 * termios/tcflush.c: Likewise.
74946 * termios/tcgetattr.c: Likewise.
74947 * termios/tcgetpgrp.c: Likewise.
74948 * termios/tcsendbrk.c: Likewise.
74949 * termios/tcsetattr.c: Likewise.
74950 * termios/tcsetpgrp.c: Likewise.
74951 * time/adjtime.c: Likewise.
74952 * time/clock.c: Likewise.
74953 * time/getitimer.c: Likewise.
74954 * time/gettimeofday.c: Likewise.
74955 * time/setitimer.c: Likewise.
74956 * time/settimeofday.c: Likewise.
74957 * time/stime.c: Likewise.
74958 * time/time.c: Likewise.
74959
74960 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
74961
74962 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
74963 /usr/old/bin.
74964
74965 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
74966 instead of spaces.
74967 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
74968
74969 2012-11-03 Joseph Myers <joseph@codesourcery.com>
74970
74971 [BZ #14796]
74972 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
74973 FE_TONEAREST before applying Dekker multiplication and Knuth
74974 addition. Clear inexact exceptions and check for exact zero
74975 results afterwards.
74976 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74977 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
74978 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74979 * math/libm-test.inc (fma_test): Add more tests.
74980 (fma_test_towardzero): Likewise.
74981 (fma_test_downward): Likewise.
74982 (fma_test_upward): Likewise.
74983 * sysdeps/generic/math_private.h (default_libc_fesetround): New
74984 function.
74985 (libc_fesetround): New macro.
74986 (libc_fesetroundf): Likewise.
74987 (libc_fesetroundl): Likewise.
74988 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
74989 function.
74990 (libc_fesetround_387): Likewise.
74991 (libc_fesetroundf): New macro.
74992 (libc_fesetround): Likewise.
74993 (libc_fesetroundl): Likewise.
74994 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
74995 function.
74996 (libc_fesetroundf): New macro.
74997 (libc_fesetround): Likewise.
74998 (libc_fesetroundl): Likewise.
74999 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
75000 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
75001 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
75002 libm_hidden_ver.
75003 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
75004 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
75005 libm_hidden_def.
75006 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
75007 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
75008 libm_hidden_ver.
75009 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
75010 libm_hidden_def.
75011
75012 [BZ #3439]
75013 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
75014 integer constant usable in #if and use that to give value to enum
75015 constant.
75016 (FE_DIVBYZERO): Likewise.
75017 (FE_UNDERFLOW): Likewise.
75018 (FE_OVERFLOW): Likewise.
75019 (FE_INVALID): Likewise.
75020 (FE_INVALID_SNAN): Likewise.
75021 (FE_INVALID_ISI): Likewise.
75022 (FE_INVALID_IDI): Likewise.
75023 (FE_INVALID_ZDZ): Likewise.
75024 (FE_INVALID_IMZ): Likewise.
75025 (FE_INVALID_COMPARE): Likewise.
75026 (FE_INVALID_SOFTWARE): Likewise.
75027 (FE_INVALID_SQRT): Likewise.
75028 (FE_INVALID_INTEGER_CONVERSION): Likewise.
75029 (FE_TONEAREST): Likewise.
75030 (FE_TOWARDZERO): Likewise.
75031 (FE_UPWARD): Likewise.
75032 (FE_DOWNWARD): Likewise.
75033 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
75034 (FE_DIVBYZERO): Likewise.
75035 (FE_OVERFLOW): Likewise.
75036 (FE_UNDERFLOW): Likewise.
75037 (FE_INEXACT): Likewise.
75038 (FE_TONEAREST): Likewise.
75039 (FE_DOWNWARD): Likewise.
75040 (FE_UPWARD): Likewise.
75041 (FE_TOWARDZERO): Likewise.
75042 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
75043 (FE_UNDERFLOW): Likewise.
75044 (FE_OVERFLOW): Likewise.
75045 (FE_DIVBYZERO): Likewise.
75046 (FE_INVALID): Likewise.
75047 (FE_TONEAREST): Likewise.
75048 (FE_TOWARDZERO): Likewise.
75049 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
75050 (FE_OVERFLOW): Likewise.
75051 (FE_UNDERFLOW): Likewise.
75052 (FE_DIVBYZERO): Likewise.
75053 (FE_INEXACT): Likewise.
75054 (FE_TONEAREST): Likewise.
75055 (FE_TOWARDZERO): Likewise.
75056 (FE_UPWARD): Likewise.
75057 (FE_DOWNWARD): Likewise.
75058 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
75059 (FE_DIVBYZERO): Likewise.
75060 (FE_OVERFLOW): Likewise.
75061 (FE_UNDERFLOW): Likewise.
75062 (FE_INEXACT): Likewise.
75063 (FE_TONEAREST): Likewise.
75064 (FE_DOWNWARD): Likewise.
75065 (FE_UPWARD): Likewise.
75066 (FE_TOWARDZERO): Likewise.
75067
75068 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
75069
75070 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
75071
75072 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
75073
75074 * scripts/cross-test-ssh.sh (command): Use newlines to separate
75075 commands. Quote $PWD.
75076 (blacklist_exports): Don't use remove_newlines. Replace "declare
75077 -x" by "export".
75078 (remove_newlines): Remove.
75079
75080 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
75081
75082 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
75083 * stdlib/stdlib.h (atof): Moved to ...
75084 * include/bits/stdlib-float.h: Here. New file.
75085 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
75086 * stdlib/bits/stdlib-float.h: New file.
75087 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
75088 -mno-sse -mno-mmx.
75089 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
75090 <xmmintrin.h>.
75091
75092 2012-11-02 Joseph Myers <joseph@codesourcery.com>
75093
75094 * conform/conformtest.pl (@headers): Add fenv.h.
75095 * conform/data/fenv.h-data: New file.
75096 * include/fenv.h [_ISOMAC]: Disable all contents of file except
75097 include of <math/fenv.h>.
75098
75099 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
75100 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
75101 && !UNIX98]. Enables tests for XOPEN2K8.
75102 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
75103 POSIX2008]: Likewise.
75104
75105 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
75106 (struct rusage): Do not expect type or its members.
75107
75108 [BZ #3439]
75109 * math/math.h (FP_NAN): Define macro to integer constant usable in
75110 #if and use that to give value to enum constant.
75111 (FP_INFINITE): Likewise.
75112 (FP_ZERO): Likewise.
75113 (FP_SUBNORMAL): Likewise.
75114 (FP_NORMAL): Likewise.
75115
75116 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
75117
75118 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
75119 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
75120 arguments.
75121
75122 2012-11-02 Roland McGrath <roland@hack.frob.com>
75123
75124 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
75125 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
75126 autoconf-time if not.
75127 * configure.in: Remove AC_PREREQ.
75128
75129 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75130
75131 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
75132 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
75133 of the internal implementation.
75134
75135 2012-11-02 Joseph Myers <joseph@codesourcery.com>
75136
75137 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
75138 except include of <misc/sys/syslog.h>.
75139
75140 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
75141
75142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
75143 function returns with a NULL context exit with zero.
75144
75145 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75146
75147 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
75148
75149 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
75150
75151 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
75152 (run_program_cmd): This.
75153 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
75154 (tst_langinfo): New variable. Use it.
75155
75156 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
75157
75158 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
75159 floating point opcodes.
75160
75161 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
75162
75163 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
75164 variable.
75165
75166 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
75167
75168 * sysdeps/mach/hurd/powerpc: Remove directory.
75169 * sysdeps/mach/powerpc: Likewise.
75170
75171 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
75172
75173 * scripts/check-local-headers.sh: Ignore c++ headers.
75174
75175 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
75176
75177 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
75178 __libc_cleanup_region_start argument.
75179
75180 2012-11-01 Joseph Myers <joseph@codesourcery.com>
75181
75182 [BZ #14784]
75183 [BZ #14785]
75184 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
75185 x * y using scaling, not as x * y + z.
75186 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75187 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75188 * math/libm-test.inc (fma_test): Add more tests.
75189 (fma_test_towardzero): Likewise.
75190 (fma_test_downward): Likewise.
75191 (fma_test_upward): Likewise.
75192
75193 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
75194
75195 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
75196
75197 2012-10-31 Joseph Myers <joseph@codesourcery.com>
75198
75199 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
75200 New variable.
75201
75202 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
75203
75204 * rt/tst-shm.c (worker): Correct checking for mmap failure.
75205
75206 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
75207
75208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75209 Fix sort order.
75210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75211 Likewise.
75212
75213 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75214
75215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75216 Fix the order of the list for glibc 2.17.
75217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75218 Likewise.
75219
75220 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
75221
75222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75223
75224 2012-10-31 Joseph Myers <joseph@codesourcery.com>
75225
75226 [BZ #14610]
75227 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
75228 for low part of x being zero before using __atanl (y).
75229 * math/libm-test.inc (atan2_test): Add another test.
75230
75231 * manual/install.texi (Configuring and compiling): Document
75232 general use of test-wrapper and test-wrapper-env.
75233 * INSTALL: Regenerated.
75234
75235 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
75236 (__fma): Do not extract and scale down low bits on after-rounding
75237 systems when result rounded to normal precision would have normal
75238 exponent.
75239 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
75240 (__fmal): Do not extract and scale down low bits on after-rounding
75241 systems when result rounded to normal precision would have normal
75242 exponent.
75243 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
75244 (__fmal): Do not extract and scale down low bits on after-rounding
75245 systems when result rounded to normal precision would have normal
75246 exponent.
75247 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
75248 macro.
75249 (fma_test): Add more tests.
75250 (fma_test_towardzero): Likewise.
75251 (fma_test_downward): Likewise.
75252 (fma_test_upward): Likewise.
75253
75254 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
75255
75256 * sysdeps/i386/tininess.h: Renamed to ...
75257 * sysdeps/x86/tininess.h: This.
75258 * sysdeps/x86_64/tininess.h: Removed.
75259
75260 2012-10-30 Joseph Myers <joseph@codesourcery.com>
75261
75262 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
75263 input. Use $(build-program-cmd).
75264 ($(objpfx)tst-array1-static.out): Likewise.
75265 ($(objpfx)tst-array2.out): Likewise.
75266 ($(objpfx)tst-array3.out): Likewise.
75267 ($(objpfx)tst-array4.out): Likewise.
75268 ($(objpfx)tst-array5.out): Likewise.
75269 ($(objpfx)tst-array5-static.out): Likewise.
75270
75271 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
75272
75273 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
75274 if defined.
75275
75276 * nss/nsswitch.h (nss_interface_function): Provide new
75277 macro for use with NSS functions.
75278 * grp/initgroups.c: Use new macro.
75279 * nss/getXXbyYY.c: Likewise.
75280 * nss/getXXbyYY_r.c: Likewise.
75281 * nss/getXXent.c: Likewise.
75282 * nss/getXXent_r.c: Likewise.
75283 * sysdeps/posix/getaddrinfo.c: Likewise.
75284
75285 2012-10-30 Andreas Jaeger <aj@suse.de>
75286
75287 * po/ru.po: Update Russion translation from translation project.
75288
75289 2012-10-30 Joseph Myers <joseph@codesourcery.com>
75290
75291 [BZ #14152]
75292 [BZ #14783]
75293 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
75294 result and shift together with sticky bit instead of replicating
75295 round-to-nearest rounding.
75296 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75297 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75298 * math/libm-test.inc (fma_test): Add more tests. Do not permit
75299 missing underflow exceptions.
75300 (fma_test_towardzero): Add more tests.
75301 (fma_test_downward): Likewise.
75302 (fma_test_upward): Likewise.
75303
75304 [BZ #14047]
75305 * sysdeps/generic/tininess.h: New file.
75306 * sysdeps/i386/tininess.h: Likewise.
75307 * sysdeps/sh/tininess.h: Likewise.
75308 * sysdeps/x86_64/tininess.h: Likewise.
75309 * stdlib/tst-strtod-underflow.c: Likewise.
75310 * stdlib/tst-tininess.c: Likewise.
75311 * stdlib/strtod_l.c: Include <tininess.h>.
75312 (round_and_return): Do not set errno for exact underflow cases.
75313 Force an underflow exception when setting errno for underflow.
75314 Determine underflow based on rounding to normal precision if
75315 TININESS_AFTER_ROUNDING.
75316 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
75317 ERANGE for exact underflow cases.
75318 * stdlib/Makefile (tests): Add tst-tininess and
75319 tst-strtod-underflow.
75320 ($(objpfx)tst-tininess): Use $(link-libm).
75321 ($(objpfx)tst-strtod-underflow): Likewise.
75322
75323 2012-10-30 Andreas Jaeger <aj@suse.de>
75324
75325 [BZ #14767]
75326 * elf/Makefile (tests): Remove conditional for have-initfini-array
75327 since this is now always required and the variable does not exist
75328 anymore.
75329 (tests-static): Likewise.
75330 (modules-names): Likewise.
75331
75332 * po/eo.po: Add Esperanto translation from translation project.
75333
75334 * elf/tst-array1.c (fini_array): Make writeable so that it can be
75335 merged with constructor/destructor.
75336 (init_array): Likewise.
75337 * elf/tst-array2dep.c (fini_array): Likewise.
75338 (init_array): Likewise.
75339
75340 2012-10-29 Mike Frysinger <vapier@gentoo.org>
75341
75342 * manual/message.texi: Delete @cartouche tags.
75343
75344 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
75345
75346 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
75347 EOPNOTSUPP.
75348 * sysdeps/mach/hurd/fsync.c: Likewise.
75349
75350 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
75351 [_POSIX_REALTIME_SIGNALS]: Change condition to
75352 [_POSIX_REALTIME_SIGNALS > 0].
75353
75354 2012-10-27 Andreas Jaeger <aj@suse.de>
75355
75356 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
75357 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
75358 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
75359 [__WORDSIZE != 64]: Likewise.
75360
75361 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
75362
75363 * iconvdata/tst-table.sh: Remove ${SHELL}.
75364 * iconvdata/tst-tables.sh: Likewise.
75365
75366 2012-10-25 David S. Miller <davem@davemloft.net>
75367
75368 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75369 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
75370 of strtoull.
75371
75372 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
75373 ifunc-impl-list.c
75374 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75375 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
75376 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
75377 file.
75378
75379 2012-10-25 Roland McGrath <roland@hack.frob.com>
75380
75381 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75382 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
75383 __getdirentries.
75384
75385 2012-10-25 Joseph Myers <joseph@codesourcery.com>
75386 Jim Blandy <jimb@codesourcery.com>
75387
75388 * scripts/cross-test-ssh.sh: New file.
75389 * manual/install.texi (Configuring and compiling): Document use of
75390 cross-test-ssh.sh.
75391 * INSTALL: Regenerated.
75392
75393 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
75394
75395 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
75396 EOPNOTSUPP.
75397
75398 2012-10-25 Joseph Myers <joseph@codesourcery.com>
75399
75400 * Makeconfig (run-program-prefix): Fix comment.
75401
75402 2012-10-24 Joseph Myers <joseph@codesourcery.com>
75403 Jim Blandy <jimb@codesourcery.com>
75404
75405 * Makeconfig (test-wrapper): New variable,
75406 (test-wrapper-env): Likewise.
75407 [$(cross-compiling) = yes && $(test-wrapper) != ""]
75408 (run-built-tests): Define to yes.
75409 (run-program-prefix): Use $(test-wrapper).
75410 (built-program-cmd): Likewise.
75411 * Rules (make-test-out): Use $(test-wrapper-env) and
75412 $(host-built-program-cmd).
75413 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
75414 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
75415 tst-pathopt.sh.
75416 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
75417 $(test-wrapper-env) to tst-rtld-load-self.sh.
75418 ($(objpfx)order2.out): Use $(test-wrapper).
75419 ($(objpfx)tst-initorder.out): Likewise.
75420 ($(objpfx)tst-initorder2.out): Likewise.
75421 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
75422 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
75423 (test_wrapper_env): New variable. Use it to run ld.so.
75424 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
75425 Use it to run ld.so.
75426 (test_wrapper_env): Likewise.
75427 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
75428 $(test-wrapper) to run-iconv-test.sh.
75429 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
75430 (ICONV): Use $test_wrapper.
75431 * posix/Makefile ($(objpfx)globtest.out): Pass
75432 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
75433 globtest.sh, not $(run-program-prefix).
75434 * posix/globtest.sh (run_via_rtld_prefix): New variable.
75435 (test_wrapper): Likewise.
75436 (test_wrapper_env): Likewise. Use it to run globtest with HOME
75437 set together with run_via_rtld_prefix.
75438 (run_program_prefix): Define in terms of test_wrapper and
75439 run_via_rtld_prefix.
75440
75441 2012-10-24 Roland McGrath <roland@hack.frob.com>
75442
75443 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
75444 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
75445 Targets removed.
75446
75447 [BZ #14743]
75448 * include/time.h: Remove librt_hidden_proto (clock_gettime).
75449 Declare __clock_getres, __clock_gettime, __clock_settime,
75450 __clock_nanosleep, and __clock_getcpuclockid.
75451 * rt/clock_gettime.c: Define __clock_gettime as an alias.
75452 Remove librt_hidden_def (clock_gettime).
75453 * sysdeps/unix/clock_gettime.c: Likewise.
75454 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
75455 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
75456 * rt/clock_getres.c: Define __clock_getres as an alias.
75457 * sysdeps/posix/clock_getres.c: Likewise.
75458 * rt/clock_settime.c: Define __clock_settime as an alias.
75459 * sysdeps/unix/clock_settime.c: Likewise.
75460 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
75461 * sysdeps/unix/clock_nanosleep.c: Likewise.
75462 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
75463 * rt/clock-compat.c: New file.
75464 * rt/Makefile (librt-routines): Add clock-compat and move
75465 $(clock-routines) to ...
75466 (routines): ... here, new variable.
75467 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
75468 Don't add get_clockfreq here.
75469 * rt/Versions (libc: GLIBC_2.17): New version set.
75470 Add clock_* symbols here.
75471 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
75472 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
75473 (GLIBC_2.17): Add clock_* symbols.
75474 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
75475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
75476 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
75477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75478 Likewise.
75479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75480 Likewise.
75481 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
75482 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
75483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
75484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
75485 * NEWS: Mention the move.
75486
75487 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
75488 Use __open, __read, __close rather than their public counterparts.
75489 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75490 (__get_clockfreq_via_cpuinfo): Likewise.
75491 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
75492 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
75493
75494 * config.h.in (HAVE_IFUNC): New #undef.
75495 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
75496 was successful.
75497 * configure: Regenerated.
75498
75499 2012-10-24 Mike Frysinger <vapier@gentoo.org>
75500
75501 * configure.in: Move READELF check to start of file.
75502 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
75503 libc_cv_asm_gnu_indirect_function in the process.
75504 * configure: Regenerated.
75505
75506 2012-10-24 Mike Frysinger <vapier@gentoo.org>
75507
75508 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
75509 send the output to /dev/null.
75510 (libc_cv_cc_with_libunwind): Likewise.
75511 (libc_cv_as_noexecstack): Likewise.
75512 * configure: Regenerate.
75513
75514 2012-10-24 Joseph Myers <joseph@codesourcery.com>
75515
75516 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
75517
75518 * posix/globtest.sh (TMPDIR): Do not set.
75519 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
75520 (testout): Likewise.
75521
75522 2012-10-24 Andreas Jaeger <aj@suse.de>
75523
75524 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
75525 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
75526 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
75527 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
75528 posix_fadvise64, posix_fallocate64.
75529
75530 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
75531 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
75532 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
75533 Likewise.
75534 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
75535 Likewise.
75536 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
75537
75538 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
75539 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
75540 <bits/fcntl-linux.h>.
75541 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
75542
75543 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
75544 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
75545 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
75546 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
75547 [__WORDSIZE != 64]: Likewise.
75548
75549 2012-10-23 Joseph Myers <joseph@codesourcery.com>
75550
75551 * Makeconfig (run-built-tests): New variable.
75552 * Rules [$(cross-compiling) = yes]: Change condition to
75553 [$(run-built-tests) = no].
75554 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
75555 to [$(run-built-tests) = yes].
75556 * elf/Makefile [$(cross-compiling) = no]: Likewise.
75557 * grp/Makefile [$(cross-compiling) = no]: Likewise.
75558 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
75559 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
75560 * intl/Makefile [$(cross-compiling) = no]: Likewise.
75561 * io/Makefile [$(cross-compiling) = no]: Likewise.
75562 * libio/Makefile [$(cross-compiling) = no]: Likewise.
75563 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
75564 * misc/Makefile [$(cross-compiling) = no]: Likewise.
75565 * posix/Makefile [$(cross-compiling) = no]: Likewise.
75566 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
75567 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
75568 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
75569 * string/Makefile [$(cross-compiling) = no]: Likewise.
75570
75571 * posix/Makefile ($(objpfx)globtest.out): Pass
75572 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
75573 $(rtld-installed-name).
75574 * posix/globtest.sh (elf_objpfx): Remove variable.
75575 (rtld_installed_name): Likewise.
75576 (library_path): Likewise.
75577 (run_program_prefix): New variable. Use for running globtest
75578 binary.
75579
75580 2012-10-23 Jim Blandy <jimb@codesourcery.com>
75581 Joseph Myers <joseph@codesourcery.com>
75582
75583 * Makeconfig (host-built-program-cmd): New variable.
75584 * elf/Makefile (tst-stackguard1-ARGS): Use
75585 $(host-built-program-cmd).
75586 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
75587 (tst-spawn-ARGS): Likewise.
75588 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
75589
75590 2012-10-23 Joseph Myers <joseph@codesourcery.com>
75591 Jim Blandy <jimb@codesourcery.com>
75592
75593 * Makeconfig (run-via-rtld-prefix): New variable.
75594 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
75595 (built-program-cmd): Likewise.
75596
75597 2012-10-22 Andreas Jaeger <aj@suse.de>
75598
75599 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
75600 __O_RSYNC if it exists, otherwise to O_SYNC.
75601
75602 2012-10-22 Jim Blandy <jimb@codesourcery.com>
75603 Joseph Myers <joseph@codesourcery.com>
75604
75605 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
75606 /dev/null.
75607 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
75608 from /dev/null
75609 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
75610 /dev/null.
75611
75612 2012-10-22 Andreas Jaeger <aj@suse.de>
75613
75614 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
75615 Define always.
75616 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
75617
75618 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75619 bits/fcntl-linux.h.
75620
75621 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
75622 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
75623
75624 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
75625 to __O_LARGEFILE.
75626 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
75627 to __O_LARGEFILE.
75628
75629 2012-10-21 Jim Blandy <jimb@codesourcery.com>
75630 Joseph Myers <joseph@codesourcery.com>
75631
75632 * config.make.in (NM): New variable.
75633
75634 2012-10-21 Andreas Jaeger <aj@suse.de>
75635
75636 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
75637 definitions and declarations that are provided by
75638 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
75639
75640 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
75641
75642 [BZ #14683]
75643 * elf/Makefile (tests-static): Add tst-leaks1-static.
75644 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
75645 ($(objpfx)tst-leaks1-static): New rule.
75646 ($(objpfx)tst-leaks1-static-mem): Likewise.
75647 (tst-leaks1-static-ENV): New macro.
75648 * elf/dl-open.c (dl_open_worker): Check the main application
75649 only if SHARED is defined.
75650 * elf/tst-leaks1-static.c: New file.
75651
75652 2012-10-20 Andreas Jaeger <aj@suse.de>
75653
75654 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
75655 generic values for Linux.
75656 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
75657 and declarations that are provided by <bits/fcntl-linux.h> and
75658 include <bits/fcntl-linux.h>.
75659 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75660 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75661
75662 2012-10-20 Roland McGrath <roland@hack.frob.com>
75663
75664 * io/fcntl.h: Move include of <bits/types.h> to the top and
75665 include it unconditionally.
75666
75667 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
75668
75669 * wcsmbs/Makefile (tests-ifunc): New variable.
75670 (tests): Add $(tests-ifunc).
75671 * wcsmbs/test-wcschr-ifunc.c: New file.
75672 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
75673 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
75674 * wcsmbs/test-wcslen-ifunc.c: Likewise.
75675 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
75676 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
75677
75678 * string/Makefile (tests-ifunc): New variable.
75679 (tests): Add $(tests-ifunc).
75680 * string/test-memccpy.c (TEST_NAME): New macro.
75681 * string/test-memchr.c (TEST_NAME): Likewise.
75682 * string/test-memcmp.c (TEST_NAME): Likewise.
75683 * string/test-memcpy.c (TEST_NAME): Likewise.
75684 * string/test-memmem.c (TEST_NAME): Likewise.
75685 * string/test-memmove.c (TEST_NAME): Likewise.
75686 * string/test-memset.c (TEST_NAME): Likewise.
75687 * string/test-rawmemchr.c (TEST_NAME): Likewise.
75688 * string/test-stpcpy.c (TEST_NAME): Likewise.
75689 * string/test-stpncpy.c (TEST_NAME): Likewise.
75690 * string/test-strcasecmp.c (TEST_NAME): Likewise.
75691 * string/test-strcasestr.c (TEST_NAME): Likewise.
75692 * string/test-strcat.c (TEST_NAME): Likewise.
75693 * string/test-strchr.c (TEST_NAME): Likewise.
75694 * string/test-strcmp.c(TEST_NAME): Likewise.
75695 * string/test-strcpy.c (TEST_NAME): Likewise.
75696 * string/test-strcspn.c (TEST_NAME): Likewise.
75697 * string/test-strlen.c (TEST_NAME): Likewise.
75698 * string/test-strncasecmp.c (TEST_NAME): Likewise.
75699 * string/test-strncmp.c (TEST_NAME): Likewise.
75700 * string/test-strncpy.c (TEST_NAME): Likewise.
75701 * string/test-strnlen.c (TEST_NAME): Likewise.
75702 * string/test-strpbrk.c (TEST_NAME): Likewise.
75703 * string/test-strrchr.c (TEST_NAME): Likewise.
75704 * string/test-strspn.c (TEST_NAME): Likewise.
75705 * string/test-strstr.c (TEST_NAME): Likewise.
75706 * string/test-bcopy-ifunc.c: New file.
75707 * string/test-bzero-ifunc.c: Likewise.
75708 * string/test-memccpy-ifunc.c: Likewise.
75709 * string/test-memchr-ifunc.c: Likewise.
75710 * string/test-memcmp-ifunc.c: Likewise.
75711 * string/test-memcpy-ifunc.c: Likewise.
75712 * string/test-memmem-ifunc.c: Likewise.
75713 * string/test-memmove-ifunc.c: Likewise.
75714 * string/test-mempcpy-ifunc.c: Likewise.
75715 * string/test-memset-ifunc.c: Likewise.
75716 * string/test-rawmemchr-ifunc.c: Likewise.
75717 * string/test-stpcpy-ifunc.c: Likewise.
75718 * string/test-stpncpy-ifunc.c: Likewise.
75719 * string/test-strcasecmp-ifunc.c: Likewise.
75720 * string/test-strcasestr-ifunc.c: Likewise.
75721 * string/test-strcat-ifunc.c: Likewise.
75722 * string/test-strchr-ifunc.c: Likewise.
75723 * string/test-strchrnul-ifunc.c: Likewise.
75724 * string/test-strcmp-ifunc.c: Likewise.
75725 * string/test-strcpy-ifunc.c: Likewise.
75726 * string/test-strcspn-ifunc.c: Likewise.
75727 * string/test-strlen-ifunc.c: Likewise.
75728 * string/test-strncasecmp-ifunc.c: Likewise.
75729 * string/test-strncat-ifunc.c: Likewise.
75730 * string/test-strncmp-ifunc.c: Likewise.
75731 * string/test-strncpy-ifunc.c: Likewise.
75732 * string/test-strnlen-ifunc.c: Likewise.
75733 * string/test-strpbrk-ifunc.c: Likewise.
75734 * string/test-strrchr-ifunc.c: Likewise.
75735 * string/test-strspn-ifunc.c: Likewise.
75736 * string/test-strstr-ifunc.c: Likewise.
75737
75738 * debug/Makefile (tests-ifunc): New variable.
75739 (tests): Add $(tests-ifunc).
75740 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
75741 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
75742 * debug/test-stpcpy_chk-ifunc.c: New file.
75743 * debug/test-strcpy_chk-ifunc.c: Likewise.
75744
75745 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
75746
75747 [BZ #13601]
75748 * elf/dl-load.c (open_verify): Retry read if the entire ELF
75749 header is not read in.
75750
75751 2012-10-19 Joseph Myers <joseph@codesourcery.com>
75752
75753 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
75754 script to $(SHELL) as $<. Pass $(common-objpfx) to script
75755 directly. Pass built executable to script as
75756 $(built-program-cmd).
75757 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
75758 $testprogram without using LD_LIBRARY_PATH and $ldso.
75759
75760 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
75761 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
75762 $(rtld-installed-name).
75763 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
75764 (rtld_installed_name): Likewise.
75765 (library_path): Likewise.
75766 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
75767 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
75768 $(run-program-prefix) to tst-tables.sh.
75769 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
75770 it to run tst-table-from and tst-table-to.
75771 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
75772 Pass it to tst-table.sh.
75773 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
75774 $(run-program-prefix) to tst-gettext.sh.
75775 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
75776 tst-translit.sh.
75777 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
75778 tst-gettext2.sh.
75779 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
75780 to run tst-gettext.
75781 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
75782 to run tst-gettext2.
75783 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
75784 to run tst-translit.
75785 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
75786 $(run-program-prefix) to tst-mtrace.sh.
75787 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
75788 to run tst-mtrace.
75789 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
75790 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
75791 $(rtld-installed-name).
75792 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
75793 (rtld_installed_name): Likewise.
75794 (run_program_prefix): New variable. Use it to run wordexp-test.
75795
75796 * Makeconfig (ARCH): Remove all definitions.
75797 (machine): Likewise.
75798 [ARCH]: Remove conditional code.
75799 [!objdir]: Give error.
75800 [!objdir] (objpfx): Remove.
75801 [!objdir] (common-objpfx): Likewise.
75802 [!objdir] (common-objdir): Likewise.
75803 * configure.in (config_makefile): Remove. Hardcode Makefile in
75804 AC_CONFIG_FILES call.
75805 * configure: Regenerated.
75806
75807 [BZ #13888]
75808 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
75809 or TMPDIR.
75810 (testout): Likewise.
75811
75812 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
75813 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
75814 $(rtld-installed-name).
75815 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
75816 (rtld_installed_name): Likewise.
75817 (runit): Remove function.
75818 (run_getconf): New variable, Use it for running getconf binary.
75819
75820 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
75821
75822 [BZ #14716]
75823 * string/test-memmem.c (check_result): New function.
75824 (do_one_test): Use it.
75825 (check1): New function.
75826 (test_main): Use it.
75827
75828 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
75829
75830 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
75831
75832 2012-10-18 Joseph Myers <joseph@codesourcery.com>
75833
75834 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
75835 (_G_LSEEK64): Likewise.
75836 (_G_MMAP64): Likewise.
75837 (_G_FSTAT64): Likewise.
75838 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
75839 (_G_LSEEK64): Likewise.
75840 (_G_MMAP64): Likewise.
75841 (_G_FSTAT64): Likewise.
75842 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
75843 unconditional. Call __mmap64 directly.
75844 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
75845 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
75846 __lseek64 directly.
75847 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
75848 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
75849 __mmap64 directly.
75850 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
75851 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
75852 __lseek64 directly.
75853 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
75854 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
75855 __lseek64 directly.
75856 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
75857 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
75858 __lseek64 directly.
75859 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
75860 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
75861 __fxstat64 directly.
75862 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
75863 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
75864 unconditional.
75865 (freopen64) [!_G_OPEN64]: Remove conditional code.
75866 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
75867 unconditional.
75868 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
75869 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
75870 unconditional.
75871 (ftello64) [!_G_LSEEK64]: Remove conditional code.
75872 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
75873 unconditional.
75874 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
75875 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
75876 unconditional.
75877 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
75878 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
75879 unconditional.
75880 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
75881 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
75882 unconditional.
75883 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
75884 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
75885 unconditional.
75886 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
75887
75888 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
75889
75890 [BZ #12140]
75891 * manual/memory.texi (Malloc Tunable Parameters): Add note
75892 about free list pointers overwriting some perturb bytes.
75893 Wording suggested by Roland McGrath.
75894
75895 2012-10-17 Joseph Myers <joseph@codesourcery.com>
75896
75897 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
75898 (lgamma_test): Likewise.
75899 (tgamma_test): Likewise.
75900
75901 2012-10-16 Florian Weimer <fweimer@redhat.com>
75902
75903 [BZ #14700]
75904 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
75905 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
75906
75907 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
75908
75909 * NEWS: Mention BZ #14716.
75910 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
75911 when removing AVAILABLE1_USES_J macro.
75912
75913 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
75914
75915 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
75916 (__bswap_64): __uint64_t for unsigned 64-bit int.
75917
75918 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
75919
75920 * include/string.h (memmem): Declare libc hidden alias.
75921 * string/memmem.c (memmem): Define libc hidden alias.
75922 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
75923 __read, __close instead of open, read, close.
75924
75925 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
75926
75927 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
75928 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
75929 global and hidden.
75930 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
75931 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
75932 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
75933 Likewise.
75934 (__rawmemchr_sse2): Likewise.
75935 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
75936 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
75937 (__strchr_sse2): Likewise.
75938 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
75939 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
75940 (__strcasecmp_sse2): Likewise.
75941 (__strncasecmp_sse2): Likewise.
75942 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
75943 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
75944 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
75945 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
75946 (__strrchr_sse2): Likewise.
75947 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
75948 ifunc-impl-list.c.
75949 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
75950 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
75951 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
75952 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
75953 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
75954 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
75955 * sysdeps/x86_64/multiarch/memset.S: Likewise.
75956 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
75957 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
75958 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
75959 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
75960 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
75961 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
75962 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
75963 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
75964 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
75965 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
75966 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
75967 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
75968 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
75969 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
75970 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
75971 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
75972 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
75973 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
75974 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
75975 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
75976 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
75977 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
75978 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
75979
75980 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
75981 global and hidden.
75982 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
75983 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
75984 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
75985 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
75986 Likewise.
75987 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
75988 Likewise.
75989 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
75990 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
75991 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
75992 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
75993 ifunc-impl-list.c.
75994 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
75995 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
75996 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
75997 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
75998 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
75999 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
76000 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
76001 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
76002 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
76003 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
76004 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
76005 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
76006 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
76007 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
76008 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
76009 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
76010 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
76011 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
76012 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
76013 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
76014 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76015 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
76016 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
76017 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
76018 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76019 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
76020 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
76021 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
76022 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
76023 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
76024 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
76025 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
76026 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
76027 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
76028 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
76029 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
76030 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
76031 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
76032 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
76033 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
76034 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
76035
76036 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
76037 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
76038 * include/ifunc-impl-list.h: New file.
76039 * misc/ifunc-impl-list.c: Likewise.
76040 * misc/Makefile (routines): Add ifunc-impl-list.
76041 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
76042 * string/test-string.h: Include <ifunc-impl-list.h>.
76043 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
76044 TEST_NAME]: New variables.
76045 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
76046 are defined.
76047 (test_init): Call __libc_ifunc_impl_list to initialize
76048 func_list if TEST_IFUNC and TEST_NAME are defined.
76049
76050 * string/Makefile (strop-tests): Add bcopy and bzero.
76051 * string/test-bcopy.c: New file.
76052 * string/test-bzero.c: Likewise.
76053 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
76054 defined.
76055 * string/test-memset.c: Support bzero test if TEST_BZERO is
76056 defined.
76057 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
76058 __libc_memmove.
76059 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
76060 __libc_memset.
76061 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
76062 of memset.
76063
76064 2012-10-10 Joseph Myers <joseph@codesourcery.com>
76065
76066 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
76067 * configure: Regenerated.
76068
76069 * Makeconfig (+link-static-before-libc): Don't include
76070 $(link-static-libc).
76071
76072 * libio/libio.h (_IO_pos_t): Remove.
76073
76074 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
76075
76076 * NEWS: Add note about FIPS mode. Wording suggested by Roland
76077 McGrath.
76078
76079 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
76080
76081 * crypt/crypt-entry.c: Include fips-private.h.
76082 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
76083 * crypt/md5c-test.c (main): Tolerate disabled MD5.
76084 * sysdeps/unix/sysv/linux/fips-private.h: New file.
76085 * sysdeps/generic/fips-private.h: New file, dummy fallback.
76086
76087 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
76088
76089 * crypt/crypt-private.h: Include stdbool.h.
76090 (_ufc_setup_salt_r): Return bool.
76091 * crypt/crypt-entry.c: Include errno.h.
76092 (__crypt_r): Return NULL with EINVAL for bad salt.
76093 * crypt/crypt_util.c (bad_for_salt): New.
76094 (_ufc_setup_salt_r): Check that salt is long enough and within
76095 the specified alphabet.
76096 * crypt/badsalttest.c: New file.
76097 * crypt/Makefile (tests): Add it.
76098 ($(objpfx)badsalttest): New.
76099
76100 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
76101
76102 * NEWS: Add entry for BZ #14602.
76103
76104 2012-10-09 Joseph Myers <joseph@codesourcery.com>
76105
76106 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
76107 type-generic.
76108 * math/libm-test.inc: Update comment listing what functions and
76109 macros are tested.
76110 (isgreater_test): New function.
76111 (isgreaterequal_test): Likewise.
76112 (isless_test): Likewise.
76113 (islessequal_test): Likewise.
76114 (islessgreater_test): Likewise.
76115 (isunordered_test): Likewise.
76116 (main): Call the new functions.
76117
76118 2012-10-09 Roland McGrath <roland@hack.frob.com>
76119
76120 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
76121 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
76122 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
76123 * sysdeps/i386/configure: Regenerated.
76124 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
76125 * sysdeps/mach/configure: Regenerated.
76126 * sysdeps/mach/hurd/configure: Regenerated.
76127 * sysdeps/powerpc/configure: Regenerated.
76128 * sysdeps/powerpc/powerpc32/configure: Regenerated.
76129 * sysdeps/powerpc/powerpc64/configure: Regenerated.
76130 * sysdeps/s390/s390-32/configure: Regenerated.
76131 * sysdeps/s390/s390-64/configure: Regenerated.
76132 * sysdeps/sh/configure: Regenerated.
76133 * sysdeps/sparc/configure: Regenerated.
76134 * sysdeps/unix/sysv/linux/configure: Regenerated.
76135 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
76136 * sysdeps/x86_64/configure: Regenerated.
76137
76138 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
76139 defined. Don't check if MAP is NULL.
76140
76141 2012-10-09 Joseph Myers <joseph@codesourcery.com>
76142
76143 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
76144 (_G_stat64): Likewise.
76145 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
76146 (_G_stat64): Likewise.
76147 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
76148 instead of struct _G_stat64.
76149 * libio/fileops.c (mmap_remap_check): Likewise.
76150 (decide_maybe_mmap): Likewise.
76151 (_IO_new_file_seekoff): Likewise.
76152 (_IO_file_stat): Likewise.
76153 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
76154 _G_off64_t.
76155 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
76156 instead of struct _G_stat64.
76157 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76158
76159 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
76160
76161 [BZ #14602]
76162 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76163 Replace with ...
76164 (CHECK_EOL): New macro.
76165 (two_way_short_needle): Check beginning of haystack for EOL. Use
76166 CHECK_EOL.
76167 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76168 Replace with CHECK_EOL.
76169 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76170 Replace with CHECK_EOL.
76171
76172 2012-10-08 Joseph Myers <joseph@codesourcery.com>
76173
76174 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
76175 type-generic.
76176 * math/libm-test.inc: Update comment listing what functions and
76177 macros are tested.
76178 (finite_test): New function.
76179 (isinf_test): Likewise.
76180 (isnan_test): Likewise.
76181 (fpclassify_test): Test subnormal input.
76182 (isfinite_test): Likewise.
76183 (isnormal_test): Likewise.
76184 (main): Call the new functions.
76185
76186 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
76187
76188 [BZ #14660]
76189 * Makerules (%.dynsym): Force C locale when running
76190 $(OBJDUMP) --dynamic-syms.
76191
76192 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
76193
76194 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
76195 <stdint.h>.
76196
76197 2012-10-06 David S. Miller <davem@davemloft.net>
76198
76199 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
76200 upper 32-bits of the length value in %o2 since we use branch-on-register
76201 tests which consider the entire 64-bit register.
76202
76203 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
76204
76205 * string/test-strstr.c (check2): Add a test for page boundary.
76206
76207 2012-10-05 David S. Miller <davem@davemloft.net>
76208
76209 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
76210 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
76211 file.
76212 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76213 sysdep_routines.
76214 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76215 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
76216 and bzero when HWCAP_SPARC_CRYPTO is present.
76217
76218 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
76219
76220 [BZ #14602]
76221 * string/test-strstr.c (check2): New function.
76222 (test_main): Call check2.
76223
76224 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
76225 and bug-strchr1.
76226 * string/bug-strcasestr1.c (do_test): Moved to ...
76227 * string/test-strcasestr.c (check1): Here. New function.
76228 (do_one_test): Break out result checking code into ...
76229 (check_result): This. New function.
76230 (do_one_test): Call check_result.
76231 (test_main): Call check1.
76232 * string/bug-strchr1.c (do_test): Moved to ...
76233 * string/test-strchr.c (check1): Here. New function.
76234 (do_one_test): Break out result checking code into ...
76235 (check_result): This. New function.
76236 (do_one_test): Call check_result.
76237 (test_main): Call check1.
76238 * string/bug-strstr1.c (main): Moved to ...
76239 * string/test-strstr.c (check1): Here. New function.
76240 (do_one_test): Break out result checking code into ...
76241 (check_result): This. New function.
76242 (do_one_test): Call check_result.
76243 (test_main): Call check1.
76244 * string/bug-strcasestr1.c: Removed.
76245 * string/bug-strchr1.c: Likewise.
76246 * string/bug-strstr1.c: Likewise.
76247
76248 * elf/Makefile (dl-routines): Add hwcaps.
76249 * elf/dl-support.c (_dl_important_hwcaps): Removed.
76250 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
76251 (_dl_important_hwcaps): Moved to ...
76252 * elf/dl-hwcaps.c: Here. New file.
76253 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
76254
76255 [BZ #14557]
76256 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
76257 if IS_IN_rtld isn't defined.
76258
76259 * elf/dl-support.c (_dl_sysinfo_map): New.
76260 Include "get-dynamic-info.h" and "setup-vdso.h".
76261 (_dl_non_dynamic_init): Call setup_vdso.
76262 * elf/dynamic-link.h: Don't include <assert.h>.
76263 (elf_get_dynamic_info): Moved to ...
76264 * elf/get-dynamic-info.h: Here. New file.
76265 * elf/dynamic-link.h: Include "get-dynamic-info.h".
76266 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
76267 * elf/setup-vdso.h: Here. New file.
76268 * elf/rtld.c: Include "setup-vdso.h".
76269 (dl_main): Call setup_vdso.
76270
76271 2012-10-05 Joseph Myers <joseph@codesourcery.com>
76272
76273 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
76274 creal in comment listing functions tested. List finite, isinf,
76275 isnan, isless, islessequal, isgreater, isgreaterequal,
76276 islessgreater, isunordered, lgamma_r and pow10 as functions and
76277 macros not tested. Mention which functions not tested are aliases
76278 for other functions. Fix typo. Note that signs of NaNs are not
76279 tested.
76280
76281 * scripts/config.guess: Update from config.git.
76282 * scripts/config.sub: Likewise.
76283
76284 2012-10-04 Roland McGrath <roland@hack.frob.com>
76285
76286 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
76287 * misc/madvise.c (madvise): Renamed to __madvise.
76288 Make madvise a weak alias.
76289 * include/sys/mman.h: Declare __madvise.
76290 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
76291 * sysdeps/unix/syscalls.list
76292 (madvise): Make __madvise the strong name, and madvise a weak alias.
76293 * sysdeps/unix/sysv/linux/syscalls.list
76294 (madvise, mmap): Remove redundant entries.
76295 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
76296 * malloc/malloc.c (mtrim): Likewise.
76297 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
76298
76299 2012-10-03 Roland McGrath <roland@hack.frob.com>
76300
76301 * sysdeps/mach/hurd/dl-cache.c: File removed.
76302 * config.h.in (USE_LDCONFIG): New #undef.
76303 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
76304 * configure: Regenerated.
76305 * elf/Makefile (dl-routines): Add dl-cache only under
76306 [$(use-ldconfig) = yes].
76307 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
76308 cache on [USE_LDCONFIG].
76309 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
76310 [USE_LDCONFIG].
76311 * elf/rtld.c (dl_main): Likewise.
76312
76313 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
76314
76315 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
76316 _SC_LEVEL4_CACHE_LINESIZE.
76317
76318 2012-10-03 Roland McGrath <roland@hack.frob.com>
76319
76320 * sysdeps/unix/bsd/confstr.h: File removed.
76321
76322 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
76323
76324 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
76325 sys/sdt-config.h.
76326
76327 2012-10-02 Roland McGrath <roland@hack.frob.com>
76328
76329 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
76330 Make 'mapoff' field ElfW(Off) rather than off_t.
76331
76332 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
76333
76334 * nscd/Makefile: Remove nscd-cflags and all its users.
76335 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
76336 (CFLAGS-nonlib): Add compiler flags for nscd modules.
76337
76338 [BZ #10631]
76339 * malloc.c (malloc_printerr): Clarify error message.
76340
76341 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
76342
76343 [BZ #14648]
76344 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76345 Set bit_FMA_Usable if FMA is supported.
76346 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
76347 macro.
76348 (bit_FMA4_Usable): Updated.
76349 (index_FMA_Usable): New macro.
76350 (CPUID_FMA): Likewise.
76351 (HAS_FMA): Defined with bit_FMA_Usable.
76352
76353 2012-10-01 Roland McGrath <roland@hack.frob.com>
76354
76355 * bits/types.h (__swblk_t): Type removed.
76356 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
76357 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
76358 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76359 (__SWBLK_T_TYPE): Likewise.
76360 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76361 (__SWBLK_T_TYPE): Likewise.
76362 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76363 (__SWBLK_T_TYPE): Likewise.
76364 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76365 (__SWBLK_T_TYPE): Likewise.
76366
76367 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
76368 Honza Horak <hhorak@redhat.com>
76369
76370 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
76371 (xdr_mapname): Use YPMAXMAP as maxsize.
76372 (xdr_peername): Use YPMAXPEER as maxsize.
76373 (xdr_keydat): Use YPAXRECORD as maxsize.
76374 (xdr_valdat): Use YPMAXRECORD as maxsize.
76375
76376 2012-10-01 Roland McGrath <roland@hack.frob.com>
76377
76378 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
76379
76380 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
76381 * csu/init-first.c: ... here.
76382 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
76383 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
76384 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
76385 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
76386 * sysdeps/i386/init-first.c: File removed.
76387 * sysdeps/sh/init-first.c: File removed.
76388
76389 2012-10-01 Joseph Myers <joseph@codesourcery.com>
76390
76391 [BZ #14645]
76392 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
76393 if x * y might underflow to zero and z is zero.
76394 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
76395 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76396 * math/libm-test.inc (min_subnorm_value): New variable.
76397 (fma_test): Add more tests.
76398 (fma_test_towardzero): Likewise.
76399 (fma_test_downward): Likewise.
76400 (fma_test_upward): Likewise.
76401 (initialize): Set min_subnorm_value.
76402
76403 2012-09-29 Joseph Myers <joseph@codesourcery.com>
76404
76405 [BZ #14638]
76406 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
76407 0 + 0.
76408 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
76409 mode for addition resulting in exact zero.
76410 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
76411 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
76412 exact 0 + 0.
76413 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
76414 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76415 * math/libm-test.inc (fma_test): Add more tests.
76416 (fma_test_towardzero): New function.
76417 (fma_test_downward): Likewise.
76418 (fma_test_upward): Likewise.
76419 (main): Call the new functions.
76420
76421 2012-09-28 David S. Miller <davem@davemloft.net>
76422
76423 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
76424
76425 2012-09-28 Roland McGrath <roland@hack.frob.com>
76426
76427 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
76428 instead of SIGALRM.
76429
76430 * sysdeps/gnu/_G_config.h: Moved to ...
76431 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
76432 * sysdeps/mach/hurd/_G_config.h: Moved to ...
76433 * sysdeps/generic/_G_config.h: ... here.
76434
76435 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
76436
76437 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
76438
76439 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
76440 Conditionalize target on [libnss_test1.so-version].
76441
76442 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
76443
76444 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
76445 (elfobjdir): Move out of conditionals.
76446
76447 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
76448 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
76449 (__nss_lookup_function): Conditionalize label remove_from_tree on
76450 [!DO_STATIC_NSS || SHARED], matching its only use.
76451
76452 2012-09-28 David S. Miller <davem@davemloft.net>
76453
76454 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
76455 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
76456 file.
76457 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76458 sysdep_routines.
76459 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76460 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
76461 when HWCAP_SPARC_CRYPTO is present.
76462
76463 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
76464
76465 * io/tst-mknodat.c: Create a FIFO instead of a socket.
76466
76467 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
76468
76469 [BZ #6530]
76470 * stdio-common/vfprintf.c (process_string_arg): Revert
76471 2000-07-22 change.
76472
76473 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
76474
76475 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
76476 for testcase.
76477 * stdio-common/tst-sprintf.c: Include <locale.h>
76478 (main): Test sprintf's handling of incomplete multibyte
76479 characters.
76480
76481 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
76482
76483 * elf/dl-runtime.c (VERSYMIDX): Removed.
76484 * elf/dl-version.c (VERSYMIDX): Likewise.
76485 * elf/do-rel.h (VERSYMIDX): Likewise.
76486 (VALIDX): Likewise.
76487 * elf/dynamic-link.h (VERSYMIDX): Likewise.
76488 * elf/rtld.c (VALIDX): Likewise.
76489 (ADDRIDX): Likewise.
76490 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
76491 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
76492 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
76493 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
76494 (VALIDX): Likewise.
76495 (ADDRIDX): Likewise.
76496
76497 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
76498
76499 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
76500
76501 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
76502
76503 [BZ #11438]
76504 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
76505 to global scope.
76506 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
76507 addresses are in the same scope as 192.0.2/24.
76508 * posix/gai.conf: Document new scope table defaults.
76509
76510 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
76511
76512 [BZ #5298]
76513 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
76514 for ftell. Compute offsets from write pointers instead.
76515 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76516
76517 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
76518
76519 [BZ #14543]
76520 * libio/Makefile (tests): New test case tst-fseek.
76521 * libio/tst-fseek.c: New test case to verify that fseek/ftell
76522 combination works in wide mode.
76523 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
76524 state when the external buffer state changes.
76525
76526 2012-09-27 David S. Miller <davem@davemloft.net>
76527
76528 [BZ #14376]
76529 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
76530 pass reloc->r_addend in as the 'high' argument to
76531 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
76532
76533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76534
76535 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
76536
76537 * rt/tst-aio2.c: Include <pthread.h>.
76538 * rt/tst-aio3.c: Likewise.
76539
76540 2012-09-27 Steve Ellcey <sellcey@mips.com>
76541
76542 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
76543
76544 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
76545
76546 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
76547 contents on [SHARED].
76548
76549 2012-09-26 Marek Polacek <polacek@redhat.com>
76550
76551 [BZ #14530]
76552 [BZ #13741]
76553 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
76554 for C++ and GCC <4.3 as well as for non GCC compilers.
76555
76556 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
76557
76558 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76559
76560 2012-09-25 Roland McGrath <roland@hack.frob.com>
76561
76562 * Makefile.in (all, install): Declare with .PHONY.
76563 Reported by Michael Hope <michael.hope@linaro.org>.
76564
76565 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
76566
76567 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
76568 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
76569 system header.
76570 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
76571 Likewise.
76572 (sydep_routines): Add the new and the internal functions.
76573 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
76574 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
76575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
76576 (GLIBC_2.17): Add the new function.
76577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
76578 (GLIBC_2.17): Likewise.
76579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
76580 (GLIBC_2.17): Likewise.
76581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
76582 (GLIBC_2.17): Likewise.
76583 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
76584
76585 2012-09-25 Alan Modra <amodra@gmail.com>
76586
76587 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
76588 Add release barrier before setting once_control to say
76589 initialisation is done. Add hints on lwarx. Use macro in
76590 place of isync.
76591 (clear_once_control): Add release barrier.
76592
76593 2012-09-25 Joseph Myers <joseph@codesourcery.com>
76594
76595 [BZ #13629]
76596 * math/s_clog.c (__clog): Handle more values close to |z| = 1
76597 specially.
76598 * math/s_clog10.c (__clog10): Likewise.
76599 * math/s_clog10f.c (__clog10f): Likewise.
76600 * math/s_clog10l.c (__clog10l): Likewise.
76601 * math/s_clogf.c (__clogf): Likewise.
76602 * math/s_clogl.c (__clogl): Likewise.
76603 * math/Makefile (libm-calls): Add x2y2m1.
76604 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
76605 (__x2y2m1): Likewise.
76606 (__x2y2m1l): Likewise.
76607 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
76608 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
76609 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
76610 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
76611 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
76612 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
76613 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
76614 * sysdeps/i386/fpu/libm-test-ulps: Update.
76615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76616
76617 [BZ #14621]
76618 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
76619 int as type of variable DEPTH.
76620 (glob): Use size_t instead of int as type of variables NEWCOUNT
76621 and OLD_PATHC.
76622
76623 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
76624
76625 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
76626 Add s_sincosf-sse2.
76627 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
76628 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
76629 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
76630 macros for using routine as __sincosf_ia32.
76631 Use macro for function declaration and weak_alias.
76632 * sysdeps/i386/fpu/libm-test-ulps: Update.
76633
76634 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
76635 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76636
76637 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
76638 subnormal argument.
76639 * math/s_cexpf.c (__cexpf): Likewise.
76640 * math/s_csinf.c (__csinf): Likewise.
76641 * math/s_csinhf.c (__csinhf): Likewise.
76642 * math/s_ctanf.c (__ctanf): Likewise.
76643 * math/s_ctanhf.c (__ctanhf): Likewise.
76644 * math/s_ccosh.c (__ccoshf): Likewise.
76645 * math/s_cexp.c (__cexpl): Likewise.
76646 * math/s_csin.c (__csin): Likewise.
76647 * math/s_csinh.c (__csinh): Likewise.
76648 * math/s_ctan.c (__ctan): Likewise.
76649 * math/s_ctanh.c (ctanh): Likewise.
76650 * math/s_ccoshl.c (__ccoshl): Likewise.
76651 * math/s_cexpl.c (__cexpl): Likewise.
76652 * math/s_csinl.c (__csinl): Likewise.
76653 * math/s_csinhl.c (__csinhl): Likewise.
76654 * math/s_ctanl.c (__ctanl): Likewise.
76655 * math/s_ctanhl.c (__ctanhl): Likewise.
76656
76657 2012-09-25 Joseph Myers <joseph@codesourcery.com>
76658
76659 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
76660 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
76661 (_IO_off_t): Define to __off_t, not _G_off_t.
76662 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
76663 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
76664 (_IO_wint_t): Define to wint_t, not _G_wint_t.
76665 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
76666 type of __dummy and __dummy2 fields.
76667 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
76668 (_G_ssize_t): Likewise.
76669 (_G_off_t): Likewise.
76670 (_G_pid_t): Likewise.
76671 (_G_uid_t): Likewise.
76672 (_G_wchar_t): Likewise.
76673 (_G_wint_t): Likewise.
76674 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
76675 (_G_ssize_t): Likewise.
76676 (_G_off_t): Likewise.
76677 (_G_pid_t): Likewise.
76678 (_G_uid_t): Likewise.
76679 (_G_wchar_t): Likewise.
76680 (_G_wint_t): Likewise.
76681 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
76682 (_G_ssize_t): Likewise.
76683 (_G_off_t): Likewise.
76684 (_G_pid_t): Likewise.
76685 (_G_uid_t): Likewise.
76686 (_G_wchar_t): Likewise.
76687 (_G_wint_t): Likewise.
76688
76689 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
76690
76691 * malloc/arena.c: Include malloc-sysdep.h.
76692 (shrink_heap): Use check_may_shrink_heap to decide if madvise
76693 is sufficient to shrink the heap or an unmap is needed.
76694 * sysdeps/generic/malloc-sysdep.h: New file. Define
76695 new function check_may_shrink_heap.
76696 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
76697 new function check_may_shrink_heap.
76698
76699 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
76700
76701 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
76702 comments.
76703
76704 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
76705
76706 * catgets/test-gencat.sh: Add "set -e".
76707 * elf/tst-pathopt.sh: Likewise.
76708 * grp/tst_fgetgrent.sh: Likewise.
76709 * iconvdata/run-iconv-test.sh: Likewise.
76710 * intl/tst-gettext.sh: Likewise.
76711 * intl/tst-gettext2.sh: Likewise.
76712 * intl/tst-gettext4.sh: Likewise.
76713 * intl/tst-gettext6.sh: Likewise.
76714 * intl/tst-translit.sh: Likewise.
76715 * io/ftwtest-sh: Likewise.
76716 * libio/test-freopen.sh: Likewise.
76717 * malloc/tst-mtrace.sh: Likewise.
76718 * posix/globtest.sh: Likewise.
76719 * posix/tst-getconf.sh: Likewise.
76720 * posix/wordexp-tst.sh: Likewise.
76721 * stdio-common/tst-printf.sh: Likewise.
76722 * stdio-common/tst-unbputc.sh: Likewise.
76723 * stdlib/tst-fmtmsg.sh: Likewise.
76724 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
76725 * catgets/Makefile: Do not specify -e option when running
76726 testsuite shell scripts.
76727 * elf/Makefile: Likewise.
76728 * grp/Makefile: Likewise.
76729 * iconvdata/Makefile: Likewise.
76730 * intl/Makefile: Likewise.
76731 * io/Makefile: Likewise.
76732 * libio/Makefile: Likewise.
76733 * malloc/Makefile: Likewise.
76734 * posix/Makefile: Likewise.
76735 * stdio-common/Makefile: Likewise.
76736 * stdlib/Makefile: Likewise.
76737 * sysdeps/x86_64/Makefile: Likewise.
76738
76739 * io/ftwtest-sh: Add copyright header.
76740 * posix/globtest.sh: Likewise.
76741 * posix/tst-getconf.sh: Likewise.
76742 * posix/wordexp-tst.sh: Likewise.
76743 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
76744
76745 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
76746
76747 [BZ #13679]
76748 * Makeconfig (+link): Defined as $(+link-static) if
76749 $(build-shared) isn't yes.
76750 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
76751 isn't yes.
76752 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
76753
76754 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
76755
76756 [BZ #14562]
76757 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
76758 new chunk size with MALLOC_ALIGN_MASK.
76759
76760 2012-09-24 Joseph Myers <joseph@codesourcery.com>
76761
76762 [BZ #5044]
76763 * stdio-common/printf_fphex.c: Include <stdbool.h> and
76764 <rounding-mode.h>.
76765 (__printf_fphex): Determine rounding using get_rounding_mode and
76766 round_away.
76767 * stdio-common/tst-printf-round.c (struct hex_test): New
76768 structure.
76769 (hex_tests): New variable.
76770 (test_hex_in_one_mode): New function.
76771 (do_test): Also run tests for hex float output.
76772
76773 2012-09-21 Joseph Myers <joseph@codesourcery.com>
76774
76775 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
76776 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
76777 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
76778 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
76779 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
76780 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
76781 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
76782 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
76783
76784 2012-09-20 Joseph Myers <joseph@codesourcery.com>
76785
76786 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
76787 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
76788 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
76789 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
76790
76791 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
76792
76793 [BZ #14579]
76794 * elf/rtld.c (dl_main): Limit the check for self loading to normal
76795 mode only.
76796 * elf/tst-rtld-load-self.sh: New test.
76797 * elf/Makefile: Run it.
76798
76799 2012-09-18 Joseph Myers <joseph@codesourcery.com>
76800
76801 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
76802 (tst-writev-ENV): Remove.
76803 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
76804
76805 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
76806
76807 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
76808
76809 2012-09-17 Joseph Myers <joseph@codesourcery.com>
76810
76811 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
76812 unconditional.
76813 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
76814 Likewise.
76815 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
76816 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
76817 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
76818 Likewise.
76819
76820 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
76821
76822 [BZ #14587]
76823 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
76824 * config.make.in (have-cpp-asm-debuginfo): Removed.
76825 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
76826 * configure: Regenerated.
76827
76828 2012-09-14 Joseph Myers <joseph@codesourcery.com>
76829
76830 [BZ #5044]
76831 * stdio-common/printf_fp.c: Include <stdbool.h> and
76832 <rounding-mode.h>.
76833 (___printf_fp): Determine rounding using get_rounding_mode and
76834 round_away.
76835 * stdio-common/tst-printf-round.c: New file.
76836 * stdio-common/Makefile (tests): Add tst-printf-round.
76837 (link-libm): New variable.
76838 ($(objpfx)tst-printf-round): Depend in $(link-libm).
76839
76840 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
76841
76842 [BZ #14576]
76843 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
76844 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
76845 Likewise.
76846 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
76847 Likewise.
76848
76849 2012-09-13 Joseph Myers <joseph@codesourcery.com>
76850
76851 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
76852 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
76853 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
76854 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
76855
76856 2012-09-12 Joseph Myers <joseph@codesourcery.com>
76857
76858 [BZ #14518]
76859 * include/rounding-mode.h: New file.
76860 * sysdeps/generic/get-rounding-mode.h: Likewise.
76861 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
76862 * stdlib/strtod_l.c: Include <rounding-mode.h>.
76863 (MAX_VALUE): New macro.
76864 (MIN_VALUE): Likewise.
76865 (overflow_value): New function.
76866 (underflow_value): Likewise.
76867 (round_and_return): Use overflow_value and underflow_value to
76868 determine return values in overflow and underflow cases. Use
76869 round_away to determine rounding depending on rounding mode.
76870 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
76871 determine return values in overflow and underflow cases.
76872 * stdlib/tst-strtod-round.c: Include <fenv.h>.
76873 (struct test_results): New structure.
76874 (struct test): Use struct test_results to store expected results
76875 for all rounding modes.
76876 (TEST): Include expected results for all rounding modes.
76877 (test_in_one_mode): New function.
76878 (do_test): Use test_in_one_mode to compute and check results.
76879 Check results for all rounding modes.
76880 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
76881 $(link-libm).
76882
76883 2012-12-09 Allan McRae <allan@archlinux.org>
76884
76885 * sysdeps/i386/fpu/libm-test-ulps: Update
76886
76887 2012-09-11 Joseph Myers <joseph@codesourcery.com>
76888
76889 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
76890 (_G_int32_t): Likewise.
76891 (_G_uint16_t): Likewise.
76892 (_G_uint32_t): Likewise.
76893 (_G_HAVE_BOOL): Likewise.
76894 (_G_HAVE_ATEXIT): Likewise.
76895 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
76896 (_G_HAVE_IO_FILE_OPEN): Likewise.
76897 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
76898 (_G_int32_t): Likewise.
76899 (_G_uint16_t): Likewise.
76900 (_G_uint32_t): Likewise.
76901 (_G_HAVE_BOOL): Likewise.
76902 (_G_HAVE_ATEXIT): Likewise.
76903 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
76904 (_G_HAVE_IO_FILE_OPEN): Likewise.
76905 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
76906 (_G_int32_t): Likewise.
76907 (_G_uint16_t): Likewise.
76908 (_G_uint32_t): Likewise.
76909 (_G_HAVE_BOOL): Likewise.
76910 (_G_HAVE_ATEXIT): Likewise.
76911 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
76912 (_G_HAVE_IO_FILE_OPEN): Likewise.
76913
76914 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
76915
76916 * csu/libc-tls.c: Update copyright years.
76917
76918 2012-09-10 Joseph Myers <joseph@codesourcery.com>
76919
76920 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
76921 [!_G_USING_THUNKS]: Remove conditional code.
76922 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
76923 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
76924
76925 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
76926 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
76927 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
76928 (_G_VTABLE_LABEL_PREFIX): Likewise.
76929 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
76930 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
76931 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
76932 (_G_VTABLE_LABEL_PREFIX): Likewise.
76933 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
76934 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
76935 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
76936 (_G_VTABLE_LABEL_PREFIX): Likewise.
76937 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
76938
76939 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
76940
76941 * libio/Makefile: Include ../Makeconfig before tests.
76942 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
76943 only if $(build-shared) is yes.
76944
76945 * iconv/gconv_db.c: Update copyright years.
76946
76947 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
76948
76949 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
76950 unwind info if defined PIC. Fix special cases description.
76951 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
76952
76953 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
76954 DP_HI_MASK entry.
76955 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
76956
76957 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
76958
76959 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
76960
76961 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
76962 is NULL.
76963
76964 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
76965 (LDLIBS-tst-chk4): This.
76966 (LDFLAGS-tst-chk5): Renamed to ...
76967 (LDLIBS-tst-chk5): This.
76968 (LDFLAGS-tst-chk6): Renamed to ...
76969 (LDLIBS-tst-chk6): This.
76970 (LDFLAGS-tst-lfschk4): Renamed to ...
76971 (LDLIBS-tst-lfschk4): This.
76972 (LDFLAGS-tst-lfschk5): Renamed to ...
76973 (LDLIBS-tst-lfschk5): This.
76974 (LDFLAGS-tst-lfschk6): Renamed to ...
76975 (LDLIBS-tst-lfschk6): This.
76976
76977 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
76978 on $(common-objpfx)soversions.mk.
76979
76980 2012-09-07 Joseph Myers <joseph@codesourcery.com>
76981
76982 [BZ #10014]
76983 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
76984 example host name.
76985
76986 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
76987
76988 * malloc/arena.c (arena_get_retry): New function that gets
76989 another arena for the caller to try its request on.
76990 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
76991 current arena cannot fulfill the request.
76992 (__libc_memalign): Likewise.
76993 (__libc_memalign): Likewise.
76994 (__libc_pvalloc): Likewise.
76995 (__libc_calloc): Likewise.
76996
76997 2012-09-05 John Tobey <john.tobey@gmail.com>
76998
76999 [BZ #13542]
77000 * manual/arith.texi (Operations on Complex): Fix description
77001 of carg branch cut.
77002
77003 2012-09-06 Joseph Myers <joseph@codesourcery.com>
77004
77005 [BZ #10014]
77006 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
77007 host name.
77008
77009 [BZ #10038]
77010 * manual/memory.texi (Memory): Make order of menu items match
77011 order of sections.
77012
77013 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77014
77015 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
77016 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
77017 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
77018
77019 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77020
77021 * csu/libc-tls.c (static_dtv): Renamed to ...
77022 (_dl_static_dtv): This. Make it global.
77023 (_dl_initial_dtv): Removed.
77024 (__libc_setup_tls): Updated.
77025 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
77026 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
77027 DL_INITIAL_DTV.
77028
77029 2012-09-06 Petr Machata <pmachata@redhat.com>
77030
77031 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
77032 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
77033 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
77034 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
77035
77036 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77037
77038 [BZ #14545]
77039 * csu/libc-tls.c (_dl_initial_dtv): New variable.
77040 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
77041 freeing dtv[-1].
77042
77043 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77044
77045 [BZ #14544]
77046 * Makeconfig (link-static-before-libc): Replace $(+prector)
77047 with $(+prectorT).
77048 (link-static-after-libc): Replace $(+postctor) with
77049 $(+postctorT).
77050 (link-bounded): Replace $(+prector)/$(+postctor) with
77051 $(+prectorT)/$(+postctorT).
77052 (+prectorT): New macro.
77053 (+postctorT): Likewise.
77054
77055 2012-09-06 Joseph Myers <joseph@codesourcery.com>
77056
77057 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
77058 (round_str): Handle values above the maximum for IBM long double
77059 as inexact.
77060 * stdlib/tst-strtod-round.c (tests): Regenerated.
77061
77062 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77063
77064 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
77065 assembler flag.
77066 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
77067 zarch_nohighgprs around the zarch optimized routines.
77068 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
77069 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
77070 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
77071 for zarch.
77072
77073 2012-09-05 David S. Miller <davem@davemloft.net>
77074
77075 * sysdeps/sparc/fpu/libm-test-ulps: Update.
77076
77077 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
77078 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
77079 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
77080 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77081 entries.
77082
77083 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77084
77085 * malloc/arena.c: Fold copyright years.
77086 * malloc/mcheck.c, malloc/memusage.c: Likewise.
77087
77088 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77089
77090 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
77091
77092 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77093
77094 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
77095
77096 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77097
77098 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
77099 change internal state upon failure.
77100
77101 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77102
77103 * malloc/mcheck.c (mcheck_check_all): Fix typo.
77104 * malloc/memusage.c (mmap): Likewise.
77105 (mmap64, mremap): Likewise. Adjust name in comment.
77106
77107 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
77108
77109 * libio/fileops.c: Fix typos in comments.
77110 * libio/oldfileops.c: Likewise.
77111 * libio/wfileops.c: Likewise.
77112
77113 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
77114
77115 [BZ #1349]
77116 * malloc/Makefile (tests): Add tst-malloc-usable test case.
77117 (tst-malloc-usable-ENV): Set environment for test case.
77118 * malloc/hooks.c (malloc_check_get_size): New function to get
77119 requested size.
77120 * malloc/malloc.c (musable): Use malloc_check_get_size.
77121 * malloc/tst-malloc-usable.c: New test case.
77122
77123 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
77124
77125 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
77126
77127 2012-09-05 Allan McRae <allan@archlinux.org>
77128
77129 [BZ #13966]
77130 * configure.in (CXX_SYSINCLUDES): Use compiler output to
77131 determine header location.
77132 * configure: Regenerated.
77133
77134 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
77135
77136 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
77137 float format.
77138 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
77139 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
77140 format.
77141 (test): Regenerate.
77142
77143 2012-09-04 David S. Miller <davem@davemloft.net>
77144
77145 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
77146 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
77147 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
77148
77149 2012-09-04 Florian Weimer <fweimer@redhat.com>
77150
77151 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
77152 failures.
77153
77154 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
77155
77156 2012-09-04 Joseph Myers <joseph@codesourcery.com>
77157
77158 [BZ #9914]
77159 * libio/iogetdelim.c: Include <limits.h>.
77160 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
77161 + len + 1 would overflow.
77162
77163 2012-09-03 Andreas Jaeger <aj@suse.de>
77164
77165 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77166 * sysdeps/i386/fpu/libm-test-ulps: Update.
77167
77168 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77169
77170 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
77171 Add s_sinf-sse2, s_conf-sse2.
77172
77173 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
77174 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
77175 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
77176 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
77177
77178 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
77179 for using routine as __sinf_ia32.
77180 Use macro for function declaration and weak_alias.
77181 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
77182 for using routine as __cosf_ia32.
77183 Use macro for function declaration and weak_alias.
77184
77185 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
77186 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
77187
77188 * sysdeps/x86_64/fpu/s_sinf.S: New file.
77189 * sysdeps/x86_64/fpu/s_cosf.S: New file.
77190 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77191
77192 * math/libm-test.inc (cos_test): Add more test cases.
77193 (sin_test): Likewise.
77194 (sincos_test): Likewise.
77195
77196 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77197
77198 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
77199 (IFUNC_RESOLVE): Make pointers to the specialized implementations
77200 hidden.
77201 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
77202
77203 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
77204
77205 [BZ #14538]
77206 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
77207 first element of the GOT.
77208 (elf_machine_load_address): Return the difference between
77209 the runtime address of _DYNAMIC and elf_machine_dynamic ().
77210
77211 2012-09-01 Allan McRae <allan@archlinux.org>
77212
77213 [BZ #13412]
77214 * configure.in (AWK): Require gawk version 3.0 or later.
77215 * configure: Regenerated.
77216
77217 2012-09-01 Joseph Myers <joseph@codesourcery.com>
77218
77219 * sysdeps/unix/sysv/linux/kernel-features.h
77220 (__ASSUME_POSIX_CPU_TIMERS): Remove.
77221 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
77222 [__NR_clock_getres]: Make code unconditional.
77223 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
77224 (clock_getcpuclockid): Remove code left unreachable by removal of
77225 conditionals.
77226 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
77227 code unconditional.
77228 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77229 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77230 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
77231 Make code unconditional.
77232 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77233 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77234 * sysdeps/unix/sysv/linux/clock_settime.c
77235 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
77236 conditional code.
77237 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
77238 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77239
77240 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
77241
77242 [BZ #14476]
77243 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
77244 scripts/test-installation.pl.
77245
77246 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
77247 and $ld_so_version if it is set.
77248
77249 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
77250
77251 [BZ #14516]
77252 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
77253 failure if reading from procfs failed.
77254 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
77255
77256 2012-08-27 Joseph Myers <joseph@codesourcery.com>
77257
77258 * sysdeps/unix/sysv/linux/kernel-features.h
77259 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
77260 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77261 Remove conditional code.
77262 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77263 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
77264 Remove conditional code.
77265 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77266 * sysdeps/unix/sysv/linux/i386/fxstat.c
77267 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77268 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77269 * sysdeps/unix/sysv/linux/i386/fxstatat.c
77270 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77271 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77272 * sysdeps/unix/sysv/linux/i386/lxstat.c
77273 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77274 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77275 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
77276 Remove conditional code.
77277 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77278 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77279 Remove conditional code.
77280 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77281 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
77282 <kernel-features.h>.
77283 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
77284 Remove.
77285 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
77286 Remove conditional code.
77287 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77288 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
77289 Remove conditional.
77290
77291 2012-08-27 Mike Frysinger <vapier@gentoo.org>
77292
77293 [BZ #5400]
77294 * NEWS: Add fixed bug number.
77295
77296 2012-08-27 Joseph Myers <joseph@codesourcery.com>
77297
77298 [BZ #14519]
77299 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
77300 underflowing exponent in case of negative sign.
77301 * stdlib/tst-strtod-round-data: Add more tests.
77302 * stdlib/tst-strtod-round.c (tests): Regenerated.
77303
77304 [BZ #3479]
77305 * stdlib/strtod_l.c (NDIG): Remove.
77306 (HEXNDIG): Likewise.
77307 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
77308 smallest representable value.
77309 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
77310 lie within an exact representation of 1/2 ulp of the result.
77311 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
77312 unconditionally.
77313 (TENS_P9_IDX): Define unconditionally.
77314 (TENS_P9_SIZE): Likewise.
77315 (TENS_P10_IDX): Likewise.
77316 (TENS_P10_SIZE): Likewise.
77317 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
77318 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
77319 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
77320 entries for 10^2^13 and 10^2^14.
77321 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
77322 (TENS_P13_IDX): Define.
77323 (TENS_P13_SIZE): Likewise.
77324 (TENS_P14_IDX): Likewise.
77325 (TENS_P14_SIZE): Likewise.
77326 (_fpioconst_pow10): Change array size to
77327 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
77328 unconditional.
77329 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
77330 1024]: Add entries for 10^2^13 and 10^2^14.
77331 [LAST_POW10 > _LAST_POW10]: Remove #error.
77332 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
77333 (_fpioconst_pow10): Change array size to
77334 FPIOCONST_POW10_ARRAY_SIZE.
77335 * stdlib/gen-fpioconst.c: New file.
77336 * stdlib/gen-tst-strtod-round.c: Likewise.
77337 * stdlib/tst-strtod-round-data: Likewise.
77338 * stdlib/tst-strtod-round.c: Likewise.
77339 * stdlib/Makefile (tests): Add tst-strtod-round.
77340
77341 [BZ #14459]
77342 * stdlib/strtod_l.c: Include <stdint.h>.
77343 (NDEBUG): Do not define.
77344 (round_and_return): Change EXPONENT parameter to type intmax_t.
77345 Rearrange calculations to avoid internal overflow possibilities.
77346 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
77347 Rearrange calculations to avoid internal overflow possibilities.
77348 Assert that number fits inside MPNSIZE limbs.
77349 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
77350 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
77351 calculations and add assertions to avoid internal overflow
77352 possibilities. Add casts to avoid signed/unsigned operations.
77353 * stdlib/tst-strtod-overflow.c: New file.
77354 * stdlib/Makefile (tests): Add tst-strtod-overflow.
77355
77356 2012-08-25 Marek Polacek <polacek@redhat.com>
77357
77358 * time/time.h: Fix some typos in comments.
77359
77360 2012-08-23 Roland McGrath <roland@hack.frob.com>
77361
77362 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
77363 * posix/tst-rfc3484-2.c: Likewise.
77364 * posix/tst-rfc3484-3.c: Likewise.
77365
77366 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
77367
77368 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
77369 (EF_ARM_ABI_FLOAT_HARD): Likewise.
77370
77371 2012-08-23 Joseph Myers <joseph@codesourcery.com>
77372
77373 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
77374 #include of fxstatat64.c.
77375
77376 2012-08-22 Roland McGrath <roland@hack.frob.com>
77377
77378 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
77379 * shadow/getspent_r.c: Likewise.
77380 * shadow/getspnam.c: Likewise.
77381 * shadow/getspnam_r.c: Likewise.
77382 * gshadow/getsgent.c: Likewise.
77383 * gshadow/getsgent_r.c: Likewise.
77384 * gshadow/getsgnam.c: Likewise.
77385 * gshadow/getsgnam_r.c: Likewise.
77386 * inet/getnetbyad.c: Likewise.
77387 * inet/getnetbyad_r.c: Likewise.
77388 * inet/getnetbynm.c: Likewise.
77389 * inet/getnetbynm_r.c: Likewise.
77390 * inet/getnetent.c: Likewise.
77391 * inet/getnetent_r.c: Likewise.
77392 * inet/getproto.c: Likewise.
77393 * inet/getproto_r.c: Likewise.
77394 * inet/getprtent.c: Likewise.
77395 * inet/getprtent_r.c: Likewise.
77396 * inet/getprtname.c: Likewise.
77397 * inet/getprtname_r.c: Likewise.
77398 * inet/getrpcbyname.c: Likewise.
77399 * inet/getrpcbyname_r.c: Likewise.
77400 * inet/getrpcbynumber.c: Likewise.
77401 * inet/getrpcbynumber_r.c: Likewise.
77402 * inet/getrpcent.c: Likewise.
77403 * inet/getrpcent_r.c: Likewise.
77404 * inet/getaliasent.c: Likewise.
77405 * inet/getaliasent_r.c: Likewise.
77406 * inet/getaliasname.c: Likewise.
77407 * inet/getaliasname_r.c: Likewise.
77408 * nscd/getgrgid_r.c: Likewise.
77409 * nscd/getgrnam_r.c: Likewise.
77410 * nscd/gethstbyad_r.c: Likewise.
77411 * nscd/gethstbynm3_r.c: Likewise.
77412 * nscd/getpwnam_r.c: Likewise.
77413 * nscd/getpwuid_r.c: Likewise.
77414 * nscd/getsrvbynm_r.c: Likewise.
77415 * nscd/getsrvbypt_r.c: Likewise.
77416 * nscd/gai.c: Likewise.
77417
77418 * configure.in (build_nscd): New substituted variable, set
77419 by --disable-build-nscd and defaults to $use_nscd.
77420 * configure: Regenerated.
77421 * config.make.in (build-nscd): New substituted variable.
77422 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
77423 Change conditional to require [$(build-nscd) = yes] as well.
77424 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
77425
77426 [BZ #13696]
77427 * configure.in (use_nscd): New substituted variable, set by
77428 --disable-nscd. If enabled, define USE_NSCD.
77429 * configure: Regenerated.
77430 * config.h.in: Add USE_NSCD.
77431 * config.make.in (use-nscd): New substituted variable.
77432 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
77433 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
77434 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
77435 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
77436 (CFLAGS-getgrnam_r.c): Likewise.
77437 (CFLAGS-initgroups.c): Likewise.
77438 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
77439 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
77440 Variables removed.
77441 * inet/getnetgrent_r.c
77442 (nscd_setnetgrent): New function, broken out of ...
77443 (setnetgrent): ... here. Call it.
77444 (innetgr): Conditionalize nscd bits on [USE_NSCD].
77445 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
77446 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
77447 * nscd/Makefile (routines, aux): Move definitions after include of
77448 Makeconfig. Conditionalize on [$(use-nscd) != no].
77449 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
77450 Conditionalize on [USE_NSCD].
77451 (is_nscd, nscd_init_cb): Likewise.
77452 (nss_load_library): Conditionalize init callback on [USE_NSCD].
77453 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
77454 * nss/nss_db/db-init.c: Likewise.
77455 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
77456 [USE_NSCD].
77457 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
77458 (make_request): Use it.
77459 (cache_valid_p): New function.
77460 (__check_pf): Use it.
77461 * NEWS: Add item for --disable-nscd.
77462
77463 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
77464
77465 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
77466 to support sed >= 4.2.1-20-ga9bf076.
77467 * configure: Regenerated.
77468
77469 2012-08-22 Roland McGrath <roland@hack.frob.com>
77470
77471 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
77472 Conditionalize whole body on [IREL].
77473
77474 2012-08-22 Jeff Law <law@redhat.com>
77475
77476 [BZ #14505]
77477 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
77478 if the family is PF_UNSPEC.
77479
77480 2012-08-22 Mike Frysinger <vapier@gentoo.org>
77481
77482 * Makerules (lib-version): Rename from V.
77483 (install-lib-nosubdir): Change V to lib-version.
77484
77485 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
77486
77487 [BZ #14252]
77488 * powerpc32/power6/wcschr.c: New file.
77489 * powerpc32/power6/wcscpy.c: New file.
77490 * powerpc32/power6/wcsrchr.c: New file.
77491 * powerpc64/power6/wcschr.c: New file.
77492 * powerpc64/power6/wcscpy.c: New file.
77493 * powerpc64/power6/wcsrchr.c: New file.
77494
77495 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
77496
77497 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
77498 (two_way_short_needle): Use it.
77499 * string/strstr.c (AVAILABLE1_USES_J): Define.
77500 * string/strcasestr.c: Likewise.
77501
77502 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
77503 array references.
77504 * string/strcasestr.c (TOLOWER): Make side-effect safe.
77505
77506 [BZ #11607]
77507 * NEWS: Add an entry.
77508 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
77509 define their defaults.
77510 (two_way_short_needle): Detect end-of-string on-the-fly.
77511 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
77512 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
77513 * string/bug-strcasestr1.c: New test.
77514 * string/Makefile: Run it.
77515
77516 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
77517
77518 [BZ #11607]
77519 * string/str-two-way.h (two_way_short_needle): Optimize matching of
77520 the first character.
77521
77522 2012-08-21 Roland McGrath <roland@hack.frob.com>
77523
77524 * csu/elf-init.c (__libc_csu_irel): Function removed.
77525 * csu/libc-start.c (apply_irel): New function.
77526 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
77527
77528 2012-08-21 Joseph Myers <joseph@codesourcery.com>
77529
77530 * sysdeps/unix/sysv/linux/kernel-features.h
77531 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
77532 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
77533 <kernel-features.h>.
77534 [__NR_fadvise64_64]: Make code unconditional.
77535 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
77536 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77537 !__NR_fadvise64_64)]: Likewise.
77538 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77539 !__NR_fadvise64_64))]: Likewise.
77540 [__NR_fadvise64]: Make code unconditional.
77541 [!__NR_fadvise64]: Remove conditional code.
77542 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
77543 <kernel-features.h>.
77544 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77545 unconditional.
77546 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77547 conditional code.
77548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
77549 not include <kernel-features.h>.
77550 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77551 unconditional.
77552 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77553 conditional code.
77554 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
77555 include <kernel-features.h>.
77556 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77557 unconditional.
77558 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77559 conditional code.
77560
77561 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
77562
77563 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
77564 slight instruction rearrangements per scrollpipe analysis.
77565 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
77566
77567 2012-08-20 Roland McGrath <roland@hack.frob.com>
77568
77569 * manual/syslog.texi (syslog; vsyslog, closelog):
77570 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
77571 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
77572
77573 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
77574 DSOCAPS to match condition on defining it.
77575
77576 2012-08-20 Joseph Myers <joseph@codesourcery.com>
77577
77578 * sysdeps/unix/sysv/linux/kernel-features.h
77579 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
77580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
77581 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77582 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
77584 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77585 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
77587 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77588 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77589
77590 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
77591 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
77592
77593 * sysdeps/unix/sysv/linux/kernel-features.h
77594 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
77595 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
77596 unconditional.
77597 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77598 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
77599 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77600 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77601 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
77602 Make code unconditional.
77603 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77604 (__mmap64) [!__NR_mmap2]: Likewise.
77605 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
77606 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77607 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77608 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
77609 [__NR_mmap2]: Make code unconditional.
77610 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77611 (__mmap64) [!__NR_mmap2]: Likewise.
77612
77613 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77614
77615 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
77616
77617 2012-08-18 Andreas Jaeger <aj@suse.de>
77618
77619 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
77620
77621 2012-08-18 Mike Frysinger <vapier@gentoo.org>
77622
77623 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
77624 * include/unistd.h (__have_sock_cloexec): Likewise.
77625 (__have_pipe2): Likewise.
77626 (__have_dup3): Likewise.
77627
77628 2012-08-18 Mike Frysinger <vapier@gentoo.org>
77629
77630 [BZ #9685]
77631 * include/unistd.h (__have_pipe2): Change define into an extern int.
77632 (__have_dup3): Likewise.
77633 * socket/have_sock_cloexec.c: Include fcntl.h.
77634 (__have_pipe2): New variable.
77635 (__have_dup3): Likewise.
77636
77637 2012-08-17 Mike Frysinger <vapier@gentoo.org>
77638
77639 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
77640
77641 2012-08-17 Marek Polacek <polacek@redhat.com>
77642
77643 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
77644 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
77645
77646 2012-08-17 Roland McGrath <roland@hack.frob.com>
77647
77648 * configure.in: Add AC_SUBST for sysheaders.
77649 * configure: Regenerated.
77650 * config.make.in (sysheaders): New substituted variable.
77651
77652 * sysdeps/unix/mkfifo.c: Moved ...
77653 * sysdeps/posix/mkfifo.c: ... here.
77654 * sysdeps/unix/mkfifoat.c: Moved ...
77655 * sysdeps/posix/mkfifoat.c: ... here.
77656
77657 * sysdeps/unix/utime.c: Moved ...
77658 * sysdeps/posix/utime.c: ... here.
77659
77660 * sysdeps/unix/time.c: Moved ...
77661 * sysdeps/posix/time.c: ... here.
77662 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
77663 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
77664
77665 * sysdeps/unix/nice.c: Moved ...
77666 * sysdeps/posix/nice.c: ... here.
77667
77668 * sysdeps/unix/alarm.c: Moved ...
77669 * sysdeps/posix/alarm.c: ... here.
77670
77671 * intl/Makefile ($(codeset_mo)): Depend on the input file.
77672
77673 2012-08-17 Jeff Law <law@redhat.com>
77674
77675 * intl/Makefile (codeset_mo): New variable.
77676 ($(codeset_mo)): New target.
77677 (tst-codeset.out): Depend on that. Remove explicit rule.
77678 (tst-gettext3.out, tst-gettext5.out): Likewise.
77679 (LOCPATH-ENV, tst-codeset-ENV): New variables.
77680 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
77681 * intl/tst-codeset.sh: Remove.
77682 * intl/tst-gettext3.sh: Likewise.
77683 * intl/tst-gettext5.sh: Likewise.
77684
77685 2012-08-17 Roland McGrath <roland@hack.frob.com>
77686
77687 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
77688 * sysdeps/unix/syscalls.list: ... here.
77689
77690 * sysdeps/posix/getaddrinfo.c
77691 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
77692 (gaiconf_init, gaiconf_reload): Use them.
77693 [!_STATBUF_ST_NSEC]
77694 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
77695 Define using time_t rather than struct timespec.
77696
77697 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
77698 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
77699 Macros removed.
77700 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
77701 [!NO_THREADS].
77702 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
77703 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
77704 Likewise.
77705
77706 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
77707 __libc_cleanup_push argument.
77708
77709 * bits/param.h: New file.
77710 * misc/sys/param.h: New file.
77711 * include/sys/param.h: New file.
77712 * misc/Makefile (headers): Add bits/param.h.
77713 * sysdeps/generic/sys/param.h: File removed.
77714 * sysdeps/unix/sysv/linux/bits/param.h: New file.
77715 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
77716 * sysdeps/mach/hurd/bits/param.h: New file.
77717 * sysdeps/mach/hurd/sys/param.h: File removed.
77718
77719 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
77720 last change.
77721
77722 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
77723 [_IO_MTSAFE_IO].
77724 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
77725 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
77726 New macros.
77727
77728 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
77729 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
77730 rather than -D_IO_MTSAFE_IO conditionally.
77731 * stdio-common/Makefile (CPPFLAGS): Likewise.
77732 * wcsmbs/Makefile (CPPFLAGS): Likewise.
77733 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
77734 Use $(libio-mtsafe).
77735 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
77736 of -D_IO_MTSAFE_IO.
77737 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
77738 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
77739 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
77740 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
77741 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
77742 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
77743 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
77744 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
77745 (CFLAGS-fread_u_chk.c): Likewise.
77746 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
77747 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
77748 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
77749 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
77750 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
77751 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
77752 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
77753 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
77754 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
77755
77756 * libio/Makefile: Test [$(libc-reentrant) = yes]
77757 instead of [$(filter %REENTRANT, $(defines)) nonempty].
77758
77759 * Makeconfig
77760 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
77761 * sysdeps/pthread/configure: File removed.
77762 * sysdeps/pthread/Makeconfig: New file.
77763 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
77764 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
77765
77766 2012-08-16 Gary Benson <gbenson@redhat.com>
77767
77768 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
77769 unmapping the first object in a namespace.
77770
77771 2012-08-16 Roland McGrath <roland@hack.frob.com>
77772
77773 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
77774 (__internal_setnetgrent): ... this. Add internal_function to
77775 definition. Add libc_hidden_def.
77776 (setnetgrent): Update caller.
77777 (internal_endnetgrent): Renamed to ...
77778 (__internal_endnetgrent): ... this. Add internal_function to
77779 definition. Add libc_hidden_def.
77780 (endnetgrent): Update caller.
77781 (internal_getnetgrent_r): Renamed to ...
77782 (__internal_getnetgrent_r): ... this. Add internal_function to
77783 definition. Add libc_hidden_def.
77784 (__getnetgrent_r): Update caller.
77785 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
77786
77787 2012-08-16 Joseph Myers <joseph@codesourcery.com>
77788
77789 * stdlib/longlong.h: Update from GCC.
77790
77791 2012-08-16 Roland McGrath <roland@hack.frob.com>
77792
77793 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
77794 on _QL, which is set by umul_ppmm but never used.
77795 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
77796 variables, which are set by GMP macros but never used.
77797 * stdio-common/_itowa.c (_itowa): Likewise.
77798 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
77799 * stdlib/mod_1.c (mpn_mod_1): Likewise.
77800
77801 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
77802
77803 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
77804 struct La_sh_regs is not constant.
77805 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
77806 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
77807 and struct La_sparc64_regs are not constant.
77808
77809 2012-08-16 Joseph Myers <joseph@codesourcery.com>
77810
77811 * sysdeps/unix/sysv/linux/kernel-features.h
77812 (__ASSUME_POSIX_TIMERS): Remove.
77813 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
77814 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77815 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
77816 Make code unconditional.
77817 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77818 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
77819 Make code unconditional.
77820 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77821 * sysdeps/unix/sysv/linux/clock_nanosleep.c
77822 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
77823 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77824 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
77825 Make code unconditional.
77826 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77827 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
77828 (__libc_missing_posix_timers): Remove.
77829
77830 2012-08-15 Roland McGrath <roland@hack.frob.com>
77831
77832 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
77833 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
77834
77835 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
77836
77837 * elf/dl-sym.c: Include <stdlib.h>.
77838
77839 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
77840 constants, which avoids warnings in 32-bit builds.
77841
77842 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
77843 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
77844
77845 * misc/lseek.c: File moved to ...
77846 * io/lseek.c: ... here.
77847
77848 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
77849
77850 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
77851 shifting LEN more than 31 bits at once.
77852
77853 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77854
77855 [BZ #14195]
77856 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
77857 segmentation fault for a case of two empty input strings.
77858 * string/test-strncasecmp.c (check1): Renamed to...
77859 (bz12205): ...this.
77860 (bz14195): Add new testcase for two empty input strings and N > 0.
77861 (test_main): Call new testcase, adapt for renamed function.
77862
77863 2012-08-15 Andreas Jaeger <aj@suse.de>
77864
77865 [BZ #14090]
77866 * crypt/md5test2.c: New test, based on test supplied by Serge
77867 Belyshev <belyshev@depni.sinp.msu.ru>.
77868 * crypt/Makefile (xtests): Add md5test-giant..
77869 * crypt/Makefile ($(objpfx)md5test-giant): Add.
77870
77871 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
77872
77873 [BZ #14090]
77874 * crypt/md5.c (md5_process_block): Don't assume the buffer
77875 length is less than 2**32.
77876 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
77877 length is less than 2**64.
77878
77879 2012-08-15 Roland McGrath <roland@hack.frob.com>
77880
77881 * string/str-two-way.h: Include <sys/param.h>.
77882 (MAX): Macro removed.
77883
77884 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
77885 Move #define and #undef of memmove to just before and after
77886 including <string.h>.
77887
77888 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
77889 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
77890 and after including <string.h>. Move declarations of
77891 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
77892 to before #include "string/memmove.c".
77893
77894 * include/dirent.h: Declare __getdirentries.
77895
77896 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
77897 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
77898
77899 2012-08-14 Mike Frysinger <vapier@gentoo.org>
77900
77901 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
77902 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
77903 * sysdeps/i386/configure: Regenerated.
77904 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
77905 STABS_CURRENT_FILE, and STABS_FUN.
77906 (END): Remove call to STABS_FUN_END.
77907 (STABS_CURRENT_FILE1): Delete.
77908 (STABS_CURRENT_FILE): Likewise.
77909 (STABS_FUN): Likewise.
77910 (STABS_FUN_END): Likewise.
77911 (STABS_FUN2): Likewise.
77912 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
77913 * sysdeps/x86_64/configure: Regenerated.
77914
77915 2012-08-14 Roland McGrath <roland@hack.frob.com>
77916
77917 * elf/dl-open.c: Include <atomic.h>.
77918 * elf/dl-lookup.c: Likewise.
77919
77920 2012-08-14 Joseph Myers <joseph@codesourcery.com>
77921
77922 * sysdeps/unix/sysv/linux/kernel-features.h
77923 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
77924 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
77925 unconditionally.
77926 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
77927 unconditionally.
77928 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
77929 condition on __ASSUME_CLONE_THREAD_FLAGS.
77930
77931 2012-08-14 Andreas Jaeger <aj@suse.de>
77932
77933 * sysdeps/i386/fpu/libm-test-ulps: Update.
77934
77935 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
77936
77937 * include/atomic.h (atomic_exchange_and_add): Split into ...
77938 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
77939 New atomic macros.
77940
77941 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
77942
77943 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77944
77945 2012-08-13 Jeff Law <law@redhat.com>
77946
77947 * manual/stdio.texi (snprintf): Clarify handling of the trailing
77948 null byte in the output string.
77949
77950 2012-08-10 Joseph Myers <joseph@codesourcery.com>
77951
77952 * sysdeps/unix/sysv/linux/kernel-features.h
77953 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
77954 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
77955 (__ASSUME_ARG_MAX_STACK_BASED): Define.
77956 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
77957 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
77958 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
77959 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
77960
77961 2012-08-09 Jeff Law <law@redhat.com>
77962
77963 [BZ #13939]
77964 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
77965 When avoid_arena is set, don't retry in the that arena. Pick the
77966 next one, whatever it might be.
77967 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
77968 (arena_lock): Pass in new parameter to arena_get2.
77969 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
77970 arena_get2.
77971 (__libc_malloc): Unify retrying after main arena failure with
77972 __libc_memalign version.
77973 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
77974
77975 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
77976
77977 [BZ #14166]
77978 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
77979 to __redirect_strstr.
77980 (__strstr_sse42): Use typeof __redirect_strstr.
77981 (__strstr_ia32): Likewise.
77982 (__libc_strstr): New prototype.
77983 (strstr): Renamed to ...
77984 (__libc_strstr): This.
77985 (strstr): New strong alias of __libc_strstr.
77986 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
77987 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
77988 __redirect_time.
77989 Include <time.h>.
77990 (__libc_time): New prototype.
77991 (time_ifunc): Replace time with __libc_time.
77992 (time): New strong alias and hidden definition of __libc_time.
77993 (__GI_time): Remove strong alias.
77994 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
77995 Include <stddef.h>.
77996 (memmove): Redefined to __redirect_memmove.
77997 (__memmove_sse2): Use typeof __redirect_memmove.
77998 (__memmove_ssse3): Likewise.
77999 (__memmove_ssse3_back): Likewise.
78000 (__libc_memmove): New prototype.
78001 (memmove): Renamed to ...
78002 (__libc_memmove): This.
78003 (memmove): New strong alias of __libc_memmove.
78004
78005 2012-08-08 Mark Salter <msalter@redhat.com>
78006
78007 * elf/elf.h
78008 (R_MN10300_TLS_GD): Define.
78009 (R_MN10300_TLS_LD): Likewise.
78010 (R_MN10300_TLS_LDO): Likewise.
78011 (R_MN10300_TLS_GOTIE): Likewise.
78012 (R_MN10300_TLS_IE): Likewise.
78013 (R_MN10300_TLS_LE): Likewise.
78014 (R_MN10300_TLS_DTPMOD): Likewise.
78015 (R_MN10300_TLS_DTPOFF): Likewise.
78016 (R_MN10300_TLS_TPOFF): Likewise.
78017 (R_MN10300_SYM_DIFF): Likewise.
78018 (R_MN10300_ALIGN): Likewise.
78019 (R_MN10300_NUM): Update.
78020
78021 2012-08-08 Joseph Myers <joseph@codesourcery.com>
78022
78023 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
78024 Remove.
78025
78026 2012-08-08 Roland McGrath <roland@hack.frob.com>
78027
78028 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
78029
78030 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
78031 sysdeps/unix -> sysdeps/posix move.
78032 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
78033
78034 2012-08-07 Allan McRae <allan@archlinux.org>
78035
78036 [BZ #14303]
78037 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
78038 (SUNOS_CPP): Likewise.
78039 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
78040 not found.
78041 (open_input): Call CPP using execvp.
78042
78043 2012-08-07 Joseph Myers <joseph@codesourcery.com>
78044
78045 * sysdeps/unix/sysv/linux/kernel-features.h
78046 (__ASSUME_PROT_GROWSUPDOWN): Remove.
78047 (__ASSUME_NO_CLONE_DETACHED): Likewise.
78048 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78049 (__ASSUME_WAITID_SYSCALL): Likewise.
78050 * sysdeps/unix/sysv/linux/dl-execstack.c
78051 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
78052 code unconditional.
78053 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
78054 conditional code.
78055 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
78056 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
78057 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
78058 code.
78059 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
78060 unconditional.
78061 [__ASSUME_WAITID_SYSCALL]: Likewise.
78062 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
78063
78064 2012-08-07 Roland McGrath <roland@hack.frob.com>
78065
78066 * sysdeps/unix/closedir.c: Renamed to ...
78067 * sysdeps/posix/closedir.c: ... here.
78068 * sysdeps/unix/dirfd.c: Renamed to ...
78069 * sysdeps/posix/dirfd.c: ... here.
78070 * sysdeps/unix/dirstream.h: Renamed to ...
78071 * sysdeps/posix/dirstream.h: ... here.
78072 * sysdeps/unix/fdopendir.c: Renamed to ...
78073 * sysdeps/posix/fdopendir.c: ... here.
78074 * sysdeps/unix/opendir.c: Renamed to ...
78075 * sysdeps/posix/opendir.c: ... here.
78076 * sysdeps/unix/readdir.c: Renamed to ...
78077 * sysdeps/posix/readdir.c: ... here.
78078 * sysdeps/unix/readdir_r.c: Renamed to ...
78079 * sysdeps/posix/readdir_r.c: ... here.
78080 * sysdeps/unix/rewinddir.c: Renamed to ...
78081 * sysdeps/posix/rewinddir.c: ... here.
78082 * sysdeps/unix/seekdir.c: Renamed to ...
78083 * sysdeps/posix/seekdir.c: ... here.
78084 * sysdeps/unix/telldir.c: Renamed to ...
78085 * sysdeps/posix/telldir.c: ... here.
78086 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
78087 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
78088 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
78089 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
78090
78091 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
78092 * bits/fcntl.h: ... here.
78093
78094 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
78095 not 0.
78096 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
78097 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
78098 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
78099 (struct flock): Move l_start, l_len to the beginning.
78100 Use __pid_t for l_pid.
78101 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
78102 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
78103 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
78104 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
78105 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
78106 [__USE_LARGEFILE64] (struct flock64): New type.
78107 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
78108
78109 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
78110 * bits/dirent.h: ... here.
78111
78112 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
78113 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
78114
78115 2012-08-07 Joseph Myers <joseph@codesourcery.com>
78116
78117 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78118 Change from 2.6.0 to 2.6.16.
78119 * sysdeps/unix/sysv/linux/configure: Regenerated.
78120 * sysdeps/unix/sysv/linux/kernel-features.h
78121 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
78122 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
78123 version.
78124 (__ASSUME_UTIMES): Likewise.
78125 (__ASSUME_CLONE_STOPPED): Remove.
78126 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
78127 architectures, not kernel version.
78128 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
78129 (__ASSUME_NO_CLONE_DETACHED): Likewise.
78130 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78131 (__ASSUME_WAITID_SYSCALL): Likewise.
78132 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
78133 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
78134 * README: State 2.6.16 as minimum Linux kernel version. Do not
78135 refer to older versions.
78136
78137 2012-08-06 Roland McGrath <roland@hack.frob.com>
78138
78139 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
78140 Define alphasort64 as an alias.
78141 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
78142 Define versionsort64 as an alias.
78143 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
78144 Define scandir64 as an alias.
78145 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
78146 Define scandirat64 as an alias.
78147 * dirent/alphasort64.c (alphasort64):
78148 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
78149 * dirent/versionsort64.c: Likewise.
78150 * dirent/scandir64.c: Likewise.
78151 * dirent/scandirat64.c: Likewise.
78152 * sysdeps/wordsize-64/alphasort.c: File removed.
78153 * sysdeps/wordsize-64/alphasort64.c: File removed.
78154 * sysdeps/wordsize-64/scandir.c: File removed.
78155 * sysdeps/wordsize-64/scandir64.c: File removed.
78156 * sysdeps/wordsize-64/scandirat.c: File removed.
78157 * sysdeps/wordsize-64/scandirat64.c: File removed.
78158 * sysdeps/wordsize-64/versionsort.c: File removed.
78159 * sysdeps/wordsize-64/versionsort64.c: File removed.
78160 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
78161 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
78162 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
78163 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
78164 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
78165 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
78166 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
78167 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
78168
78169 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
78170 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78171 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
78172 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78173 [defined __arch64__ || defined __sparcv9]
78174 (__INO_T_MATCHES_INO64_T): New macro.
78175 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78176 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
78177 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
78178 * sysdeps/unix/sysv/linux/bits/dirent.h
78179 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
78180 (_DIRENT_MATCHES_DIRENT64): New macro.
78181
78182 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
78183 Define lockf64 as an alias.
78184 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
78185 Define fseeko64 as an alias.
78186 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
78187 Define ftello64 as an alias.
78188 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
78189 Define _IO_fgetpos64 and fgetpos64 as aliases.
78190 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
78191 Define _IO_fsetpos64 and fsetpos64 as aliases.
78192 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
78193 Conditionalize body on this.
78194 * libio/fseeko64.c: Likewise.
78195 * libio/ftello64.c: Likewise.
78196 * libio/iofgetpos64.c: Likewise.
78197 * libio/iofsetpos64.c: Likewise.
78198 * sysdeps/wordsize-64/lockf.c: File removed.
78199 * sysdeps/wordsize-64/lockf64.c: File removed.
78200 * sysdeps/wordsize-64/fseeko.c: File removed.
78201 * sysdeps/wordsize-64/fseeko64.c: File removed.
78202 * sysdeps/wordsize-64/ftello.c: File removed.
78203 * sysdeps/wordsize-64/ftello64.c: File removed.
78204 * sysdeps/wordsize-64/iofgetpos.c: File removed.
78205 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
78206 * sysdeps/wordsize-64/iofsetpos.c: File removed.
78207 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
78208 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
78209 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
78210 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
78211 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
78212 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
78213 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
78214 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
78215 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
78216 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
78217 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
78218
78219 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78220 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78221 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
78222 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78223 [defined __arch64__ || defined __sparcv9]
78224 (__OFF_T_MATCHES_OFF64_T): New macro.
78225 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78226 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78227 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78228 (__OFF_T_MATCHES_OFF64_T): New macro.
78229
78230 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
78231
78232 * stdlib/secure-getenv.c (__secure_getenv): Replace
78233 GLIBC_2_16 with GLIBC_2_17.
78234
78235 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
78236
78237 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
78238 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
78239
78240 2012-08-03 David S. Miller <davem@davemloft.net>
78241
78242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78243
78244 2012-08-03 Joseph Myers <joseph@codesourcery.com>
78245
78246 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
78247 Remove.
78248 (__ASSUME_CORRECT_SI_PID): Likewise.
78249 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
78250 (__ASSUME_TMPFS_NAME): Likewise.
78251 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
78252 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
78253 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
78254 (HAVE_AUX_SECURE): Make definition unconditional.
78255 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
78256 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
78257
78258 2012-08-03 Roland McGrath <roland@hack.frob.com>
78259
78260 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
78261 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
78262 * sysdeps/mach/hurd/eloop-threshold.h: New file.
78263 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
78264 __eloop_threshold instead of SYMLOOP_MAX.
78265
78266 * sysdeps/generic/eloop-threshold.h: New file.
78267 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
78268 of MAXSYMLINKS.
78269 * elf/chroot_canon.c (chroot_canon): Likewise.
78270
78271 2012-08-03 Joseph Myers <joseph@codesourcery.com>
78272
78273 [BZ #13717]
78274 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78275 Change to 2.6.0 everywhere.
78276 * sysdeps/unix/sysv/linux/configure: Regenerated.
78277 * sysdeps/unix/sysv/linux/kernel-features.h
78278 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
78279 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
78280 kernel versions.
78281 (__ASSUME_POSIX_TIMERS): Define unconditionally.
78282 (__ASSUME_FUTEX_REQUEUE): Remove.
78283 (__ASSUME_STATFS64): Define unconditionally.
78284 (__ASSUME_AT_SECURE): Likewise.
78285 (__ASSUME_CORRECT_SI_PID): Likewise.
78286 (__ASSUME_TGKILL): Define without depending on kernel version for
78287 i386.
78288 (__ASSUME_UTIMES): Likewise.
78289 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
78290 kernel version.
78291 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
78292 (__ASSUME_TMPFS_NAME): Likewise.
78293 * README: Update reference to Linux kernel versions.
78294
78295 2012-08-02 Marek Polacek <polacek@redhat.com>
78296
78297 [BZ #14150]
78298 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
78299 libc_cv_asm_type_prefix with %.
78300 * configure: Regenerated.
78301 * include/libc-symbols.h: Remove comment about
78302 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78303 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
78304 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
78305 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
78306 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
78307 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78308 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
78309 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
78310 * elf/tst-unique2mod1.c: Likewise.
78311 * elf/tst-unique1mod2.c: Likewise.
78312 * elf/tst-unique1mod1.c: Likewise.
78313 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
78314 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
78315 Replace ASM_TYPE_DIRECTIVE with .type.
78316 * sysdeps/s390/s390-64/sysdep.h: Likewise.
78317 * sysdeps/i386/sysdep.h: Likewise.
78318 * sysdeps/x86_64/sysdep.h: Likewise.
78319 * sysdeps/sh/sysdep.h: Likewise.
78320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78321 Do not define ASM_TYPE_DIRECTIVE.
78322 * sysdeps/powerpc/sysdep.h: Likewise.
78323 * sysdeps/powerpc/powerpc32/sysdep.h:
78324 Replace ASM_TYPE_DIRECTIVE with .type.
78325 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
78326 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
78327 * sysdeps/i386/fpu/e_powf.S: Likewise.
78328 * sysdeps/i386/fpu/e_expl.S: Likewise.
78329 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78330 * sysdeps/i386/fpu/e_acosh.S: Likewise.
78331 * sysdeps/i386/fpu/e_pow.S: Likewise.
78332 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78333 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78334 * sysdeps/i386/fpu/s_expm1.S: Likewise.
78335 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78336 * sysdeps/i386/fpu/e_log2.S: Likewise.
78337 * sysdeps/i386/fpu/e_log2l.S: Likewise.
78338 * sysdeps/i386/fpu/e_scalb.S: Likewise.
78339 * sysdeps/i386/fpu/e_powl.S: Likewise.
78340 * sysdeps/i386/fpu/e_log10f.S: Likewise.
78341 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78342 * sysdeps/i386/fpu/e_logl.S: Likewise.
78343 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78344 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78345 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78346 * sysdeps/i386/fpu/e_log2f.S: Likewise.
78347 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78348 * sysdeps/i386/fpu/e_log.S: Likewise.
78349 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78350 * sysdeps/i386/fpu/e_logf.S: Likewise.
78351 * sysdeps/i386/fpu/e_log10l.S: Likewise.
78352 * sysdeps/i386/fpu/e_atanh.S: Likewise.
78353 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78354 * sysdeps/i386/fpu/e_log10.S: Likewise.
78355 * sysdeps/i386/fpu/s_frexp.S: Likewise.
78356 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78357 * sysdeps/i386/fpu/s_asinh.S: Likewise.
78358 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78359 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78360 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
78361 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78362 * sysdeps/i386/i686/strtok.S: Likewise.
78363 * sysdeps/i386/i386-mcount.S: Likewise.
78364 * sysdeps/i386/strtok.S: Likewise.
78365 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
78366 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78367 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78368 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78369 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
78370 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78371 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78372 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78373 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78374 * sysdeps/x86_64/_mcount.S: Likewise.
78375 * sysdeps/x86_64/strtok.S: Likewise.
78376 * sysdeps/sh/_mcount.S: Likewise.
78377
78378 2012-08-01 Roland McGrath <roland@hack.frob.com>
78379
78380 * libio/iofopen.c: Include <fcntl.h>.
78381 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
78382 (_IO_fopen64, fopen64): Define as aliases.
78383 * libio/iofopen64.c: Include <fcntl.h>.
78384 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
78385 Conditionalize body on this.
78386 * sysdeps/wordsize-64/iofopen.c: File removed.
78387 * sysdeps/wordsize-64/iofopen64.c: File removed.
78388
78389 2012-08-01 Marek Polacek <polacek@redhat.com>
78390
78391 * libc/Makeconfig: Use elf in place of binfmt-subdir.
78392 Use dlfcn directly instead of a variable.
78393 (binfmt-subdir): Do not define.
78394 (dlfcn): Likewise.
78395
78396 2012-08-01 Joseph Myers <joseph@codesourcery.com>
78397
78398 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
78399 Remove all definitions.
78400 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
78401 <kernel-features.h>.
78402 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78403 (miss_F_GETOWN_EX): Remove all definitions.
78404 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
78405 macro definition.
78406 [!__ASSUME_FCNTL64]: Remove conditional code.
78407 [__ASSUME_FCNTL64]: Make code unconditional.
78408 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
78409 <kernel-features.h>.
78410 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78411 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
78412 (lockf64) [__NR_fcntl64]: Make code unconditional.
78413 (lockf64) [__ASSUME_FCNTL64]: Likewise.
78414
78415 * sysdeps/unix/sysv/linux/kernel-features.h
78416 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
78417 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
78418 Make code unconditional.
78419 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78420 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
78422 [__NR_vfork]: Make code unconditional.
78423 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78424 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
78426 [__NR_vfork]: Make code unconditional.
78427 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78428 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78429
78430 2012-08-01 Roland McGrath <roland@hack.frob.com>
78431
78432 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
78433 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
78434
78435 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78436 Define mkstemp64 as an alias.
78437 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78438 Define mkstemps64 as an alias.
78439 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78440 Define mkostemp64 as an alias.
78441 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78442 Define mkostemps64 as an alias.
78443 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
78444 Conditionalize body on this.
78445 * misc/mkostemp64.c: Likewise.
78446 * misc/mkostemps64.c: Likewise.
78447 * misc/mkstemps64.c: Likewise.
78448 * sysdeps/wordsize-64/mkstemp64.c: File removed.
78449 * sysdeps/wordsize-64/mkostemp64.c: File removed.
78450 * sysdeps/wordsize-64/mkostemp.c: File removed.
78451 * sysdeps/wordsize-64/mkstemp.c: File removed.
78452 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
78453 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
78454 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
78455 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
78456
78457 [BZ #14138]
78458 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
78459 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
78460 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
78461 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
78462
78463 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
78464 compat_symbol macros from <shlib-compat.h> rather than the underlying
78465 default_symbol_version and symbol_version macros, so that DEFAULT
78466 lines in shlib-versions are respected.
78467 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
78468
78469 2012-08-01 Florian Weimer <fweimer@redhat.com>
78470
78471 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
78472 Declare with warn_unused_result.
78473 (setgid, setregid, setegid, setresgid): Likewise.
78474 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
78475 Likewise.
78476 * WUR-REPORT: Remove set*id functions.
78477
78478 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
78479
78480 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
78481
78482 2012-07-31 Roland McGrath <roland@hack.frob.com>
78483
78484 [BZ #10191]
78485 * include/sys/socket.h (__libc_accept, __libc_accept4):
78486 Add attribute_hidden.
78487 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
78488
78489 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
78490 use of PTR_MANGLE.
78491 * inet/getnetgrent_r.c (setup): Likewise.
78492
78493 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
78494
78495 2012-07-31 David S. Miller <davem@davemloft.net>
78496
78497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78498
78499 2012-07-31 Joseph Myers <joseph@codesourcery.com>
78500
78501 [BZ #13629]
78502 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
78503 value between 1.0 and 2.0 and smaller part has absolute value less
78504 than 1.0.
78505 * math/s_clog10.c (__clog10): Likewise.
78506 * math/s_clog10f.c (__clog10f): Likewise.
78507 * math/s_clog10l.c (__clog10l): Likewise.
78508 * math/s_clogf.c (__clogf): Likewise.
78509 * math/s_clogl.c (__clogl): Likewise.
78510 * math/libm-test.inc (clog_test): Add more tests.
78511 (clog10_test): Likewise.
78512 * sysdeps/i386/fpu/libm-test-ulps: Update.
78513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78514
78515 2012-07-31 Florian Weimer <fweimer@redhat.com>
78516
78517 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
78518 Exit with zero in case no suitable GID is found, and write a
78519 message to standard error.
78520
78521 2012-07-30 Roland McGrath <roland@hack.frob.com>
78522
78523 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
78524 rather than to 1.
78525 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
78526 (MAXPATHLEN): Removed.
78527 (NOGROUP, NODEV): New macros.
78528 (setbit, clrbit, isset, isclr): New macros.
78529 (howmany, roundup, powerof2): New macros.
78530 (DEV_BSIZE): New macro.
78531
78532 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
78533 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
78534
78535 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
78536 definition on [!__NO_LONG_DOUBLE_MATH].
78537
78538 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
78539 PTR_MANGLE and PTR_DEMANGLE.
78540
78541 * socket/accept4.c (accept4): Rename to __libc_accept4.
78542 Define accept4 as a weak alias.
78543
78544 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
78545 on [_DIRENT_HAVE_D_TYPE].
78546 * io/ftw.c (ftw_dir): Likewise.
78547
78548 * io/xmknod.c (__xmknod): Don't check PATH for being null.
78549
78550 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
78551
78552 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
78553 Use the BSD numbers rather than the arbitrary ones we had.
78554 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
78555 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
78556 (SIGXCPU, SIGXFSZ): New macros.
78557 (_NSIG): Now 32.
78558
78559 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
78560 initializer on [_LIBC_REENTRANT].
78561
78562 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
78563 definitions inside [_POSIX_MAPPED_FILES].
78564
78565 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
78566
78567 * dirent/opendir.c: Include <fcntl.h>.
78568
78569 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
78570 (__libc_getspecific): Likewise.
78571 (__libc_key_create): Likewise.
78572
78573 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
78574 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
78575 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
78576 (tmpfile64): Define as alias.
78577 * sysdeps/wordsize-64/tmpfile.c: File removed.
78578 * sysdeps/wordsize-64/tmpfile64.c: File removed.
78579 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
78580 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
78581
78582 * stdio-common/vfscanf.c: Include <stdbool.h>.
78583 * nss/makedb.c: Likewise.
78584 * stdio-common/_i18n_number.h: Likewise.
78585 * argp/argp-help.c: Likewise.
78586 * posix/wordexp.c: Likewise.
78587 * sysdeps/posix/spawni.c: Likewise.
78588 * nss/nss_files/files-initgroups.c: Likewise.
78589 * stdio-common/reg-modifier.c: Include <stdlib.h>.
78590 * nss/nss_files/files-initgroups.c: Likewise.
78591 * nss/nss_db/db-netgrp.c: Likewise.
78592 * nss/nss_db/db-initgroups.c: Likewise.
78593 * io/fchmodat.c: Include <sys/stat.h>.
78594
78595 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
78596 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
78597
78598 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
78599 [HAVE_MMAP].
78600
78601 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
78602 Add multiple inclusion protection.
78603
78604 2012-07-27 David S. Miller <davem@davemloft.net>
78605
78606 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78607
78608 2012-07-27 Gary Benson <gbenson@redhat.com>
78609
78610 [BZ #14298]
78611 * elf/rtld.c: Include <stap-probe.h>.
78612 (dl_main): Added static probes "init_start" and "init_complete".
78613 * elf/dl-load.c: Include <stap-probe.h>.
78614 (lose): Take new parameter "nsid".
78615 Added static probe "map_failed".
78616 (_dl_map_object_from_fd): Pass namespace id to lose.
78617 Added static probe "map_start".
78618 (open_verify): Pass namespace id to lose.
78619 * elf/dl-open.c: Include <stap-probe.h>.
78620 (dl_open_worker) Added static probes "map_complete", "reloc_start"
78621 and "reloc_complete".
78622 * elf/dl-close.c: Include <stap-probe.h>.
78623 (_dl_close_worker): Added static probes "unmap_start" and
78624 "unmap_complete".
78625 * elf/rtld-debugger-interface.txt: New file documenting the above.
78626
78627 2012-07-26 Roland McGrath <roland@hack.frob.com>
78628
78629 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
78630 rather than a string variable.
78631 * sunrpc/rpc_main.c (h_output): Likewise.
78632 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
78633
78634 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
78635
78636 * inet/check_native.c: New file.
78637
78638 2012-07-26 Joseph Myers <joseph@codesourcery.com>
78639
78640 [BZ #13629]
78641 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
78642 if larger part has absolute value 1.0.
78643 * math/s_clog10.c (__clog10): Likewise.
78644 * math/s_clog10f.c (__clog10f): Likewise.
78645 * math/s_clog10l.c (__clog10l): Likewise.
78646 * math/s_clogf.c (__clogf): Likewise.
78647 * math/s_clogl.c (__clogl): Likewise.
78648 * math/libm-test.inc (clog_test): Add more tests.
78649 (clog10_test): Likewise.
78650 * sysdeps/i386/fpu/libm-test-ulps: Update.
78651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78652
78653 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
78654 (pltexit): Likewise.
78655 (La_regs): Likewise.
78656 (La_retval): Likewise.
78657 (int_retval): Likewise.
78658 Update #error for removed macros to refer only to definitions in
78659 tst-audit.h.
78660 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
78661 macro.
78662 (pltexit): Likewise.
78663 (La_regs): Likewise.
78664 (La_retval): Likewise.
78665 (int_retval): Likewise.
78666 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
78667 macro.
78668 (pltexit): Likewise.
78669 (La_regs): Likewise.
78670 (La_retval): Likewise.
78671 (int_retval): Likewise.
78672 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
78673 macro.
78674 (pltexit): Likewise.
78675 (La_regs): Likewise.
78676 (La_retval): Likewise.
78677 (int_retval): Likewise.
78678 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
78679 macro.
78680 (pltexit): Likewise.
78681 (La_regs): Likewise.
78682 (La_retval): Likewise.
78683 (int_retval): Likewise.
78684 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
78685 macro.
78686 (pltexit): Likewise.
78687 (La_regs): Likewise.
78688 (La_retval): Likewise.
78689 (int_retval): Likewise.
78690 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
78691 macro.
78692 (pltexit): Likewise.
78693 (La_regs): Likewise.
78694 (La_retval): Likewise.
78695 (int_retval): Likewise.
78696 * sysdeps/generic/tst-audit.h: Update comment to refer only to
78697 macro definitions in tst-audit.h.
78698 * sysdeps/i386/tst-audit.h: New file.
78699 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
78700 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
78701 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
78702 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
78703 * sysdeps/sh/tst-audit.h: Likewise.
78704 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
78705 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
78706 * sysdeps/x86_64/tst-audit.h: Likewise.
78707
78708 2012-07-26 Andreas Jaeger <aj@suse.de>
78709
78710 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
78711 ptrace.
78712
78713 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
78714 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
78715 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
78716 PTRACE_O_MASK.
78717 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
78718 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
78719 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
78720
78721 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
78722 value.
78723
78724 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
78725 _sigsys.
78726 (si_call_addr, si_syscall, si_arch): Define new macro.
78727 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
78728 _sigsys.
78729 (si_call_addr, si_syscall, si_arch): Define new marcro.
78730 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
78731 _sigsys.
78732 (si_call_addr, si_syscall, si_arch): Define new macro.
78733 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
78734 _sigsys.
78735 (si_call_addr, si_syscall, si_arch): Define new macro.
78736
78737 2012-07-25 Joseph Myers <joseph@codesourcery.com>
78738
78739 [BZ #13717]
78740 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78741 Change to 2.4.21 where previously 2.4.1.
78742 * sysdeps/unix/sysv/linux/configure: Regenerated.
78743 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
78744 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
78745 Linux kernel version.
78746 (__ASSUME_STD_AUXV): Remove.
78747 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
78748 kernel version.
78749 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
78750 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
78751 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
78752 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
78753 (__ASSUME_NETLINK_SUPPORT): Likewise.
78754 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
78755 (__no_netlink_support): Remove conditional definition.
78756 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
78757 Remove.
78758 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
78759 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
78760 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
78761 (if_nameindex_ioctl): Remove.
78762 (if_nameindex_netlink): Do not handle __no_netlink_support.
78763 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
78764 code.
78765 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
78766 Remove conditional code.
78767 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
78768 code.
78769 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
78770 unconditional.
78771 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
78772 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
78773 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
78774 Remove.
78775 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
78776 [!__ASSUME_STD_AUXV]: Remove conditional code.
78777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
78778 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
78779 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
78780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
78781 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
78782 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
78783 code.
78784 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
78785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
78786 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
78787 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
78788 conditional code.
78789 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
78790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
78791 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
78792 code.
78793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
78794 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
78795 conditional code.
78796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
78797 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78798 code unconditional.
78799 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78800 conditional code.
78801 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78802 unconditional.
78803 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78804 conditional code.
78805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
78806 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78807 unconditional.
78808 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78809 conditional code.
78810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
78811 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78812 code unconditional.
78813 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78814 conditional code.
78815 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78816 unconditional.
78817 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78818 conditional code.
78819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
78820 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78821 code unconditional.
78822 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78823 conditional code.
78824 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78825 unconditional.
78826 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78827 conditional code.
78828
78829 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
78830
78831 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
78832 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
78833 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
78834 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
78835 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
78836 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
78837 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
78838 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
78839 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
78840 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
78841 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
78842 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
78843 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
78844 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
78845 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
78846 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
78847 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
78848 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
78849 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
78850 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
78851 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
78852 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
78853 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
78854
78855 2012-07-25 Florian Weimer <fweimer@redhat.com>
78856
78857 * Versions.def: Add GLIBC_2.17.
78858 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
78859 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
78860 Introduce __libc_secure_getenv.
78861 * stdlib/Versions (2.17): Add secure_getenv
78862 (GLIBC_PRIVATE): Add __libc_secure_getenv.
78863 * stdlib/secure-getenv.c: Rename __secure_getenv to
78864 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
78865 symbol __secure_getenv for GLIBC_2.0.
78866 * stdlib/tst-secure-getenv.c: New.
78867 * stdlib/Makefile (tests): Add testcase.
78868 * manual/startup.texi (Environment Access): Document
78869 secure_getenv.
78870 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
78871 __libc_secure_getenv.
78872 * inet/ruserpass.c (ruserpass): Likewise.
78873 * malloc/mtrace.c (mtrace): Likewise.
78874 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
78875 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
78876 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
78877 * sysdeps/posix/tempname.c: Likewise. Evaluate
78878 HAVE_SECURE_GETENV.
78879 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
78880 __secure_getenv to __libc_secure_getenv.
78881 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
78882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
78883 Likewise.
78884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
78885 Likewise.
78886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
78887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
78888 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
78889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
78890 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
78891 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
78892 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
78893
78894 2012-07-25 Joseph Myers <joseph@codesourcery.com>
78895
78896 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
78897 (struct La_i86_retval): Likewise.
78898 (struct La_x86_64_regs): Likewise.
78899 (struct La_x86_64_retval): Likewise.
78900 (struct La_x32_regs): Likewise.
78901 (struct La_x32_retval): Likewise.
78902 (struct La_ppc32_regs): Likewise.
78903 (struct La_ppc32_retval): Likewise.
78904 (struct La_ppc64_regs): Likewise.
78905 (struct La_ppc64_retval): Likewise.
78906 (struct La_sh_regs): Likewise.
78907 (struct La_sh_retval): Likewise.
78908 (struct La_s390_32_regs): Likewise.
78909 (struct La_s390_32_retval): Likewise.
78910 (struct La_s390_64_regs): Likewise.
78911 (struct La_s390_64_retval): Likewise.
78912 (struct La_sparc32_regs): Likewise.
78913 (struct La_sparc32_retval): Likewise.
78914 (struct La_sparc64_regs): Likewise.
78915 (struct La_sparc64_retval): Likewise.
78916 (struct audit_ifaces): Remove architecture-specific pltenter and
78917 pltexit members.
78918 * sysdeps/i386/ldsodefs.h: New file.
78919 * sysdeps/powerpc/ldsodefs.h: Likewise.
78920 * sysdeps/s390/ldsodefs.h: Likewise.
78921 * sysdeps/sh/ldsodefs.h: Likewise.
78922 * sysdeps/sparc/ldsodefs.h: Likewise.
78923 * sysdeps/x86_64/ldsodefs.h: Likewise.
78924
78925 2012-07-25 Marek Polacek <polacek@redhat.com>
78926
78927 [BZ #6808]
78928 * math/libm-test.inc (yn_test): Add another test.
78929 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
78930 to ERANGE when the result is +-Inf.
78931 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
78932 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
78933 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
78934 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
78935
78936 2012-07-24 Joseph Myers <joseph@codesourcery.com>
78937
78938 * conform/data/time.h-data (NULL): Use macro-constant. Require
78939 equal to 0.
78940 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
78941 clock_t.
78942 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
78943
78944 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
78945
78946 * configure.in <sysdeps resolving>: Correct printing
78947 Implies_before.
78948 * configure: Regenerate.
78949
78950 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
78951
78952 * math/w_ilogb.c: Include <limits.h>.
78953 * math/w_ilogbl.c: Likewise.
78954
78955 2012-07-20 Joseph Myers <joseph@codesourcery.com>
78956
78957 * manual/lang.texi (__va_copy): Document primarily as ISO C99
78958 va_copy. Document allowing for unavailable va_copy only as
78959 pre-C99 compatibility.
78960 * manual/string.texi (Copying and Concatenation): Use va_copy
78961 instead of __va_copy in concat example.
78962
78963 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
78964
78965 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
78966 (__sendto): Use create_address_port. Initialize APORT and deallocate
78967 it if not null.
78968
78969 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
78970 with O_NOLINK passed to __file_name_lookup.
78971
78972 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
78973 with O_NOLINK passed to __file_name_lookup.
78974
78975 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
78976 negative N or less than NGIDS.
78977
78978 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
78979 type to string_t. Set ERANGE as errno and return it if NAME is not big
78980 enough. Use memcpy instead of strncpy.
78981
78982 2012-07-20 Joseph Myers <joseph@codesourcery.com>
78983
78984 * elf/Makefile (check-data): Remove.
78985 (localplt.data): New vpath directive.
78986 ($(objpfx)check-localplt.out): Use localplt.data from vpath
78987 instead of $(check-data).
78988 * scripts/data/localplt-generic.data: Move to ...
78989 * sysdeps/generic/localplt.data: ... here.
78990 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
78991 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
78992 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
78993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
78994 ... here.
78995 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
78996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
78997 ... here.
78998 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
78999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
79000 ... here.
79001 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
79002 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
79003 ... here.
79004 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
79005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
79006 ... here.
79007 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
79008 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
79009 ... here.
79010
79011 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79012
79013 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
79014 PPC32 and PPC64 files.
79015 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
79016 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
79017
79018 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79019
79020 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
79021 __makecontext_ret to ...
79022 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
79023 ... here and call exit if uc_link is NULL. New file.
79024 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
79025 __makecontext_ret.S.
79026 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
79027 __makecontext_ret to ...
79028 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
79029 ... here and call exit if uc_link is NULL. New file.
79030 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
79031 __makecontext_ret.S.
79032
79033 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79034
79035 * elf/elf.h (R_390_IRELATIVE): New definition.
79036 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
79037 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
79038 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
79039 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
79040 (elf_machine_lazy_rel): Likewise.
79041 * sysdeps/s390/dl-irel.h: New file.
79042 * sysdeps/s390/s390-64/memcpy.S: New asm code.
79043 * sysdeps/s390/s390-64/memset.S: New asm code.
79044 * sysdeps/s390/s390-64/memcmp.S: New asm code.
79045 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
79046 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
79047 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
79048 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
79049 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
79050 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
79051 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
79052 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
79053 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
79054 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
79055 * sysdeps/s390/s390-32/memcpy.S: New asm code.
79056 * sysdeps/s390/s390-32/memset.S: New asm code.
79057 * sysdeps/s390/s390-32/memcmp.S: New asm code.
79058
79059 2012-07-17 Marek Polacek <polacek@redhat.com>
79060
79061 [BZ #14349]
79062 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
79063 * sysdeps/s390/s390-64/configure.in: Likewise.
79064 * sysdeps/sparc/configure.in: Likewise.
79065 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
79066 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
79067 * sysdeps/i386/configure.in: Likewise.
79068 * sysdeps/x86_64/configure.in: Likewise.
79069 * sysdeps/sh/configure.in: Likewise.
79070 * sysdeps/s390/s390-32/configure: Regenerated.
79071 * sysdeps/s390/s390-64/configure: Likewise.
79072 * sysdeps/x86_64/configure: Likewise.
79073 * sysdeps/sh/configure: Likewise.
79074 * sysdeps/powerpc/powerpc64/configure: Likewise.
79075 * sysdeps/powerpc/powerpc32/configure: Likewise.
79076 * sysdeps/sparc/configure: Likewise.
79077 * sysdeps/i386/configure: Likewise.
79078
79079 * elf/dl-open.c: Comment fixes.
79080
79081 2012-07-17 Joseph Myers <joseph@codesourcery.com>
79082
79083 * Makefile [CXX] (check-data): Remove.
79084 [CXX] (c++-types.data): New vpath directive.
79085 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
79086 vpath. Do not allow for C++ type data being missing.
79087 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
79088 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
79089 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
79090 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
79091 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
79092 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
79093 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
79094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
79095 ... here.
79096 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
79097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
79098 ... here.
79099 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
79100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
79101 ... here.
79102 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
79103 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
79104 ... here.
79105 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
79106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
79107 ... here.
79108 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
79109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
79110 ... here.
79111 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
79112 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
79113 ... here.
79114 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
79115 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
79116
79117 * elf/tls-macros.h (TLS_LE): Move architecture-specific
79118 definitions to architecture-specific files.
79119 (TLS_IE): Likewise.
79120 (TLS_LD): Likewise.
79121 (TLS_GD): Likewise.
79122 * sysdeps/i386/tls-macros.h: New file.
79123 * sysdeps/powerpc/tls-macros.h: Likewise.
79124 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
79125 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
79126 * sysdeps/sh/tls-macros.h: Likewise.
79127 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
79128 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
79129 * sysdeps/x86_64/tls-macros.h: Likewise.
79130
79131 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
79132
79133 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
79134 zero value for regular exit case.
79135
79136 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
79137 (__start_context): Preserve zero value for regular exit case.
79138
79139 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
79140 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79141
79142 * manual/setjmp.texi (setcontext): Clarify normal process
79143 termination when uc_link is the null pointer.
79144 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
79145 exit call.
79146
79147 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
79148
79149 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
79150 preprocessor. Test for each exception mask separately.
79151
79152 2012-07-16 Andreas Jaeger <aj@suse.de>
79153
79154 * po/ru.po: Update from translation team.
79155
79156 2012-07-15 Joseph Myers <joseph@codesourcery.com>
79157
79158 * conform/data/string.h-data (NULL): Use macro-constant. Require
79159 equal to 0.
79160 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
79161 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
79162 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
79163 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
79164 [ISO || ISO99 || ISO11] (*_t): Do not allow.
79165
79166 2012-07-13 Andreas Jaeger <aj@suse.de>
79167
79168 * po/fr.po: Update from translation team.
79169
79170 2012-07-12 Marek Polacek <polacek@redhat.com>
79171
79172 [BZ #14173]
79173 * math/libm-test.inc (yn_test): Add test for BZ #14173.
79174 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
79175 loop condition.
79176
79177 2012-07-12 Joseph Myers <joseph@codesourcery.com>
79178
79179 [BZ #13717]
79180 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
79181 Change to 2.4.1 where previously 2.4.0.
79182 * sysdeps/unix/sysv/linux/configure: Regenerated.
79183 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
79184 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
79185 version.
79186 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
79187 (__ASSUME_AT_CLKTCK): Remove.
79188 (__ASSUME_AT_PAGESIZE): Likewise.
79189 (__ASSUME_AT_XID): Likewise.
79190 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
79191 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
79192 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
79193 unconditionally.
79194 (HAVE_AUX_PAGESIZE): Likewise.
79195 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
79196 [__ASSUME_AT_CLKTCK]: Make code unconditional.
79197 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
79198
79199 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
79200
79201 [BZ #14307]
79202 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
79203 the temporary buffer used to invoke __gethostbyname2_r,
79204 __gethostbyaddr_r and gethostbyname4_r to make room for struct
79205 host_data / struct gaih_addrtuple.
79206 * resolv/nss_dns/dns-host.c (global scope): Move definition of
79207 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
79208 header file nss/nsswitch.h.
79209 * nss/nsswitch.h (global scope): Add definition of implementation
79210 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
79211 resolv/nss_dns/dns-host.c).
79212
79213 2012-07-11 Andreas Jaeger <aj@suse.de>
79214
79215 * po/fr.po: Update from translation team.
79216
79217 * po/sv.po: Update from translation team
79218 * po/fr.po: Another update from translation team.
79219
79220 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79221
79222 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
79223 for subnormals or multiply small sinh result by itself.
79224 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
79225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79226
79227 2012-07-11 David S. Miller <davem@davemloft.net>
79228
79229 * sysdeps/sparc/fpu/libm-test-ulps: Update.
79230
79231 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
79232
79233 [BZ #14347]
79234 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
79235 (INTERNAL_MARK): Shift it here.
79236
79237 2012-07-10 Marek Polacek <polacek@redhat.com>
79238
79239 [BZ #14151]
79240 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
79241 libc_cv_asm_global_directive with .globl.
79242 * configure: Regenerated.
79243 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
79244 with .globl.
79245 * sysdeps/i386/configure: Regenerated.
79246 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
79247 with .globl.
79248 * sysdeps/x86_64/configure: Regenerated.
79249 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
79250 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
79251 * elf/tst-unique2mod2.c: Likewise.
79252 * elf/tst-unique2mod1.c: Likewise.
79253 * elf/tst-unique1mod2.c: Likewise.
79254 * elf/tst-unique1mod1.c: Likewise.
79255 * sysdeps/s390/s390-32/sysdep.h: Likewise.
79256 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
79257 * sysdeps/s390/s390-64/sysdep.h: Likewise.
79258 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
79259 * sysdeps/mach/sysdep.h: Likewise.
79260 * sysdeps/i386/sysdep.h: Likewise.
79261 * sysdeps/i386/i386-mcount.S: Likewise.
79262 * sysdeps/x86_64/_mcount.S: Likewise.
79263 * sysdeps/x86_64/sysdep.h: Likewise.
79264 * sysdeps/sh/_mcount.S: Likewise.
79265 * sysdeps/sh/sysdep.h: Likewise.
79266 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
79267 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
79268 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
79269 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
79270 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
79271 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
79272 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
79273 * locale/localeinfo.h: Likewise.
79274 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
79275 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
79276
79277 2012-07-09 Roland McGrath <roland@hack.frob.com>
79278
79279 [BZ #14336]
79280 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
79281 system".
79282 * manual/message.texi (The Uniforum approach): Likewise.
79283 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
79284 (glibc iconv Implementation): Likewise.
79285
79286 2012-07-09 Joseph Myers <joseph@codesourcery.com>
79287
79288 [BZ #14337]
79289 * math/s_clog.c (__clog): Avoid scaling a value down where that
79290 could result in underflow.
79291 * math/s_clog10.c (__clog10): Likewise.
79292 * math/s_clog10f.c (__clog10f): Likewise.
79293 * math/s_clog10l.c (__clog10l): Likewise.
79294 * math/s_clogf.c (__clogf): Likewise.
79295 * math/s_clogl.c (__clogl): Likewise.
79296 * math/libm-test.inc (clog_test): Add more tests.
79297 (clog10_test): Likewise.
79298 * sysdeps/i386/fpu/libm-test-ulps: Update.
79299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79300
79301 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
79302
79303 [BZ #14283]
79304 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
79305 by 7 not 8 to examine high bit of fractional part.
79306
79307 [BZ #14042]
79308 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
79309 for call to __mcount_internal.
79310 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
79311 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
79312 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
79313
79314 2012-07-06 Joseph Myers <joseph@codesourcery.com>
79315
79316 [BZ #14154]
79317 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
79318 approximation for values within 0x1p-13f of an odd multiple of
79319 pi/4.
79320 * math/libm-test.inc (tan_test): Do not allow spurious underflow
79321 exception. Add more tests.
79322 * sysdeps/i386/fpu/libm-test-ulps: Update.
79323
79324 [BZ #6778]
79325 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
79326 inputs and return -1 for them. Do not check for +Inf in case not
79327 reachable for +Inf.
79328 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
79329 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
79330 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79331 and return -1 for them. Do not check for +Inf in case not
79332 reachable for +Inf.
79333 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
79334 define.
79335 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79336 and return -1 for them. Do not check for +Inf in case not
79337 reachable for +Inf.
79338 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
79339 spurious underflow.
79340 * sysdeps/i386/fpu/libm-test-ulps: Update.
79341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79342
79343 2012-07-06 Mike Frysinger <vapier@gentoo.org>
79344
79345 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
79346
79347 2012-07-05 Joseph Myers <joseph@codesourcery.com>
79348
79349 [BZ #14157]
79350 [BZ #14331]
79351 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
79352 could result in spurious underflow. Scale down values above
79353 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
79354 * math/s_csqrtf.c (__csqrtf): Likewise.
79355 * math/s_csqrtl.c (__csqrtl): Likewise.
79356 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
79357 spurious underflow.
79358 * sysdeps/i386/fpu/libm-test-ulps: Update.
79359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79360
79361 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
79362
79363 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
79364 xopen-msg.sed.
79365 * catgets/xopen-msg.awk: New file.
79366 * catgets/xopen-msg.sed: Removed.
79367
79368 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
79369 po2text.sed.
79370 * intl/po2test.awk: New file.
79371 * intl/po2test.sed: Removed.
79372
79373 2012-07-04 Joseph Myers <joseph@codesourcery.com>
79374
79375 [BZ #14328]
79376 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
79377 or multiply small sinh result by itself.
79378 * math/s_ctanf.c (__ctanf): Likewise.
79379 * math/s_ctanh.c (__ctanh): Likewise.
79380 * math/s_ctanhf.c (__ctanhf): Likewise.
79381 * math/s_ctanhl.c (__ctanhl): Likewise.
79382 * math/s_ctanl.c (__ctanl): Likewise.
79383 * math/libm-test.inc (ctan_test_tonearest): New function.
79384 (ctan_test_towardzero): Likewise.
79385 (ctan_test_downward): Likewise.
79386 (ctan_test_upward): Likewise.
79387 (ctanh_test_tonearest): Likewise.
79388 (ctanh_test_towardzero): Likewise.
79389 (ctanh_test_downward): Likewise.
79390 (ctanh_test_upward): Likewise.
79391 (main): Call these new functions.
79392 * sysdeps/i386/fpu/libm-test-ulps: Update.
79393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79394
79395 2012-07-03 Mike Frysinger <vapier@gentoo.org>
79396
79397 * .gitignore: Delete /ports entry.
79398
79399 2012-07-03 Andreas Jaeger <aj@suse.de>
79400
79401 * po/bg.po: Update from translation team.
79402 * po/cs.po: Likewise.
79403 * po/de.po: Likewise.
79404 * po/hr.po: Likewise.
79405 * po/nl.pl: Likewise.
79406 * po/pl.po: Likewise.
79407 * po/vi.po: Likewise.
79408
79409 2012-07-03 Joseph Myers <joseph@codesourcery.com>
79410
79411 * Makeconfig [!+link] (+link-before-libc): New variable.
79412 [!+link] (+link-after-libc): Likewise.
79413 [!+link] (+link-tests): Likewise.
79414 [!+link] (+link): Define in terms of $(+link-before-libc) and
79415 $(+link-after-libc).
79416 [!+link-static] (+link-static-before-libc): New variable.
79417 [!+link-static] (+link-static-after-libc): Likewise.
79418 [!+link-static] (+link-static-tests): Likewise.
79419 [!+link-static] (+link-static): Define in terms of
79420 $(+link-static-before-libc) and $(+link-static-after-libc).
79421 [build-shared] (link-libc-before-gnulib): New variable.
79422 [build-shared] (link-libc-tests): Likewise.
79423 [build-shared] (link-libc): Define in terms of
79424 $(link-libc-before-gnulib).
79425 [!build-shared] (link-libc-tests): New variable.
79426 (link-libc-static-tests): New variable.
79427 [!gnulib] (gnulib-arch): New variable.
79428 [!gnulib] (gnulib-tests): Likewise.
79429 [!gnulib] (static-gnulib-arch): Likewise.
79430 [!gnulib] (static-gnulib-tests): Likewise.
79431 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
79432 Define with "=" instead of ":=".
79433 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
79434 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
79435 * Rules (binaries-all-notests): New variable.
79436 (binaries-all-tests): Likewise.
79437 (binaries-static-notests): Likewise.
79438 (binaries-static-tests): Likewise.
79439 (binaries-all): Define using $(binaries-all-notests) and
79440 $(binaries-all-tests).
79441 (binaries-static): Define using $(binaries-static-notests) and
79442 $(binaries-static-tests).
79443 (binaries-shared-tests): New variable.
79444 (binaries-shared-notests): Likewise.
79445 (binaries-shared): Remove variable.
79446 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
79447 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
79448 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
79449 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
79450 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
79451 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
79452 * elf/Makefile (sln-modules): New variable.
79453 (extra-objs): Add $(sln-modules:=.o).
79454 (ldconfig-modules): Add static-stubs.
79455 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
79456 * elf/static-stubs.c: New file.
79457
79458 [BZ #14283]
79459 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
79460 by 7 not 8 to examine high bit of fractional part. Use volatile
79461 variables when splitting into final array of floats if
79462 __FLT_EVAL_METHOD__ != 0.
79463 * math/libm-test.inc (cos_test): Add another test.
79464 (sin_test): Likewise.
79465 * sysdeps/i386/fpu/libm-test-ulps: Update.
79466
79467 [BZ #14273]
79468 * math/libm-test.inc (cosh_test): Add more tests.
79469
79470 * version.h (RELEASE): Set to "development".
79471 (VERSION): Set to "2.16.90".
79472
79473 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
79474
79475 * NEWS: Update copyright. Remove last-updated date.
79476 Mention math library bug fixes and timezone data changes.
79477 * README: Mention GNU/Hurd, x32, and HPPA support status.
79478
79479 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
79480
79481 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
79482
79483 2012-06-27 Andreas Jaeger <aj@suse.de>
79484
79485 * manual/contrib.texi (Contributors): Add Samuel Thibault.
79486
79487 2012-06-25 Andreas Jaeger <aj@suse.de>
79488
79489 * sysdeps/s390/fpu/libm-test-ulps: Update.
79490
79491 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
79492 Thomas Schwinge <thomas@codesourcery.com>
79493
79494 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
79495 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
79496 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
79497 fanotify_mark.
79498
79499 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
79500
79501 * sysdeps/mach/start.c: Remove file.
79502 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
79503 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
79504 * sysdeps/sh/init-first.c: Likewise.
79505
79506 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
79507 registers for frame unwinding purposes, add CFI directives.
79508 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79509 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
79510 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
79511 Likewise.
79512
79513 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
79514 __fortify_fail returning.
79515 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79516
79517 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
79518 sysdeps/sh/____longjmp_chk.S.
79519 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
79520 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
79521 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
79522 (gen-as-const-headers): Append sigaltstack-offsets.sym.
79523
79524 * sysdeps/sh/abort-instr.h: New file.
79525 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
79526 process in case exit returns.
79527
79528 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
79529 initialize the GOT register before use.
79530
79531 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
79532 calculation of ARGC > 4.
79533
79534 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
79535 meaningful names to some local labels.
79536
79537 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
79538 Kaz Kojima <kkojima@rr.iij4u.or.jp>
79539
79540 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
79541 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
79542 (__arch_compare_and_exchange_val_16_acq): Likewise.
79543 (__arch_compare_and_exchange_val_32_acq): Likewise.
79544 (atomic_exchange_and_add): Fix gUSA sequence.
79545 (atomic_add): Likewise.
79546 (atomic_add_negative): Likewise.
79547 (atomic_add_zero): Likewise.
79548 (atomic_bit_test_set): Likewise.
79549
79550 2012-06-22 Andreas Schwab <schwab@redhat.com>
79551
79552 [BZ #13579]
79553 * include/link.h (struct link_map): Add l_free_initfini.
79554 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
79555 l_initfini.
79556 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
79557 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
79558 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
79559 set.
79560
79561 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
79562
79563 * configure.in: Use AC_LANG_SOURCE.
79564 * configure: Regenerate.
79565
79566 2012-06-22 Roland McGrath <roland@hack.frob.com>
79567
79568 * configure.in (libc_cv_localstatedir): New substituted variable.
79569 * configure: Regenerated.
79570 * config.make.in (localstatedir): New variable, substituted from
79571 libc_cv_localstatedir.
79572 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
79573 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
79574 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
79575 * sysdeps/gnu/configure: Regenerated.
79576
79577 2012-06-21 Jeff Law <law@redhat.com>
79578
79579 [BZ #14277]
79580 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
79581 free. Simplify list management for _LIBC case.
79582
79583 2012-06-21 Joseph Myers <joseph@codesourcery.com>
79584
79585 [BZ #14273]
79586 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
79587 Clear sign bit of 64-bit integer value before comparing against
79588 overflow value.
79589
79590 * sysdeps/mach/configure: Regenerated.
79591
79592 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
79593
79594 [BZ #14278]
79595 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
79596
79597 2012-06-21 Jeff Law <law@redhat.com>
79598
79599 [BZ #13882]
79600 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
79601 uint16_t for elements in the "seen" array to avoid char overflows.
79602 * elf/dl-fini.c (_dl_sort_fini): Likewise.
79603 * elf/dl-open.c (dl_open_worker): Likewise.
79604
79605 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
79606
79607 * scripts/list-sources.sh: Scan PORTS for translations.
79608 * po/libc.pot: Regenerated.
79609
79610 2012-06-21 Andreas Jaeger <aj@suse.de>
79611
79612 [BZ #12194]
79613 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
79614 warning.
79615 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
79616 * bits/byteswap-16.h (__bswap_16): Likewise.
79617 * bits/byteswap.h (__bswap_constant_16): Likewise.
79618
79619 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
79620
79621 [BZ #14117]
79622 * sysdeps/i386/fpu_control.h: Removed.
79623 * sysdeps/x86_64/fpu_control.h: Moved to ...
79624 * sysdeps/x86/fpu_control.h: Here.
79625
79626 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
79627 (_FPU_SETCW): Likewise.
79628
79629 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
79630
79631 [BZ #14117]
79632 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
79633 * sysdeps/x86/fpu/bits/mathinline.h: This.
79634 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
79635
79636 [BZ #14050]
79637 [BZ #14117]
79638 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
79639 functions if __x86_64__ is defined.
79640
79641 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
79642
79643 * string/endian.h: Add !__ASSEMBLER__ condition for including
79644 conversion interfaces.
79645
79646 2012-06-15 Joseph Myers <joseph@codesourcery.com>
79647
79648 [BZ #14241]
79649 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
79650 of ABS(x) in calculating zero to negative powers other than odd
79651 integers.
79652 * math/libm-test.inc (pow_test): Add more tests.
79653
79654 2012-06-15 Andreas Jaeger <aj@suse.de>
79655
79656 * manual/contrib.texi (Contributors): Update entry of Liubov
79657 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
79658 Machado Filho.
79659
79660 2012-06-15 Cyril Hrubis <metan@ucw.cz>
79661
79662 * string/string.h: Add __wur to GNU version of strerror_r.
79663
79664 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
79665
79666 [BZ #14229]
79667 * string/Makefile (tests): Add tst-strtok_r.
79668 * string/tst-strtok_r.c: New file.
79669 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
79670 RAX_LP/RDX_LP on SAVE_PTR.
79671
79672 2012-06-14 Roland McGrath <roland@hack.frob.com>
79673
79674 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
79675
79676 2012-06-14 Joseph Myers <joseph@codesourcery.com>
79677
79678 * libm_test.inc (csqrt_test): Allow more spurious underflow
79679 exceptions.
79680 (j0_test): Likewise.
79681 (j1_test): Likewise.
79682 (y0_test): Likewise.
79683 (y1_test): Likewise.
79684
79685 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
79686
79687 * po/Makefile (libc.pot): Use UTF-8 charset.
79688
79689 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
79690
79691 [BZ #14210]
79692 Suppress sign-conversion warning from FD_SET.
79693 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
79694 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
79695 not unsigned long int.
79696 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
79697
79698 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
79699
79700 [BZ #14050]
79701 [BZ #14117]
79702 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
79703 __extern_always_inline instead of __extern_inline.
79704 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
79705 (__signbit): Likewise.
79706 (__signbitl): Support C++ namespace.
79707 (lrintf): New inline function.
79708 (lrint): Likewise.
79709 (llrintf): Likewise.
79710 (llrint): Likewise.
79711 (fmaxf): Likewise.
79712 (fmax): Likewise.
79713 (fminf): Likewise.
79714 (fmin): Likewise.
79715 (rint): Likewise.
79716 (rintf): Likewise.
79717 (ceil): Likewise.
79718 (ceilf): Likewise.
79719 (floor): Likewise.
79720 (floorf): Likewise.
79721 (nearbyint): Likewise.
79722 (nearbyintf): Likewise.
79723
79724 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
79725
79726 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
79727 non-default versions.
79728
79729 2012-06-11 Roland McGrath <roland@hack.frob.com>
79730
79731 [BZ #14218]
79732 * manual/argp.texi (Argp): Reword argp_parse description slightly.
79733
79734 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
79735
79736 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
79737 (FE_UPWARD, FE_DOWNWARD): Don't define.
79738 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
79739 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
79740
79741 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
79742 reading it.
79743 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
79744 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79745
79746 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
79747
79748 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
79749 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
79750 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
79751 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
79752
79753 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
79754
79755 [BZ #14117]
79756 * sysdeps/i386/fpu/bits/fenv.h: Removed.
79757 * sysdeps/i386/fpu/Implies: New file.
79758 * sysdeps/x86_64/fpu/Implies: Likewise.
79759 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
79760 * sysdeps/x86/fpu/bits/fenv.h: This.
79761
79762 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
79763 __SSE_MATH__.
79764
79765 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
79766
79767 [BZ #14134]
79768 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
79769 character 0xffff that matches the last element of the
79770 conversion table.
79771
79772 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79773
79774 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
79775 fmodl commit.
79776
79777 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79778
79779 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
79780 values higher than 25.6283.
79781
79782 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79783
79784 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
79785 subnormal exponent extraction and add some __builtin_expect.
79786 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
79787 Fix for subnormal mantissa calculation.
79788
79789 2012-06-04 Mike Frysinger <vapier@gentoo.org>
79790
79791 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
79792 cpu2 is -1 and errno is not ENOSYS.
79793
79794 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
79795
79796 [BZ #14117]
79797 * sysdeps/i386/i486/bits/string.h: Renamed to ...
79798 * sysdeps/x86/bits/string.h: This.
79799 * sysdeps/x86_64/bits/string.h: Removed.
79800
79801 * sysdeps/i386/i486/bits/string.h: Define inline functions only
79802 if not compiling for x86-64, but compiling for >= i486.
79803
79804 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
79805 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
79806
79807 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
79808 New macro from Linux kernel 3.4.0.
79809 (FP_XSTATE_MAGIC2): Likewise.
79810 (FP_XSTATE_MAGIC2_SIZE): Likewise.
79811 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
79812 (struct _fpx_sw_bytes): New struct.
79813 (struct _xsave_hdr): Likewise.
79814 (struct _ymmh_state): Likewise.
79815 (struct _xstate): Likewise.
79816
79817 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
79818 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
79819 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
79820 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
79821 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
79822 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
79823
79824 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
79825 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
79826 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
79827 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
79828 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
79829 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
79830
79831 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
79832
79833 [BZ #13743]
79834 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
79835 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
79836 (sysdep_headers): Include sys/platform/ppc.h.
79837 * sysdeps/powerpc/test-gettimebase.c: Test for
79838 __ppc_get_timebase() to catch future ISA opcode/insn changes.
79839 * manual/Makefile (appendices): Include platform.texi.
79840 * manual/contrib.texi (Contributors): Update @node pointers.
79841 * manual/maint.texi (Maintenance): Likewise.
79842 (Platform): New node.
79843 * manual/platform.texi: New file. Document the new features.
79844
79845 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
79846 Jakub Jelinek <jakub@redhat.com>
79847
79848 [BZ #14188]
79849 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
79850 where __builtin_expect is unavailable.
79851
79852 2012-06-03 David S. Miller <davem@davemloft.net>
79853
79854 * stdlib/longlong.h: Updated from GCC.
79855
79856 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
79857
79858 [BZ #14042]
79859 * sysdeps/powerpc/powerpc32/mcount.c: New file.
79860 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
79861 __mcount_internal.
79862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
79863 (GLIBC_2.16): Likewise.
79864
79865 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
79866
79867 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
79868
79869 2012-06-01 Joseph Myers <joseph@codesourcery.com>
79870
79871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
79872 (default-abi): New variable.
79873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
79874 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
79875 variable.
79876 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
79877 Likewise.
79878 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
79879 Likewise.
79880 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
79881 Likewise.
79882
79883 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
79884 definition. Document in comment.
79885
79886 2012-06-01 David S. Miller <davem@davemloft.net>
79887
79888 * stdlib/longlong.h: Updated from GCC.
79889
79890 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
79891
79892 [BZ #14117]
79893 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
79894 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
79895 sys/debugreg.h sys/io.h here.
79896 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
79897 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
79898 sys/io.h.
79899 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
79900 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
79901 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
79902 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
79903 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
79904 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
79905
79906 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
79907 Define only if __x86_64__ is defined.
79908
79909 2012-06-01 Joseph Myers <joseph@codesourcery.com>
79910
79911 [BZ #14048]
79912 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
79913 Use int64_t for variable i.
79914 * math/libm-test.inc (fmod_test): Add more tests.
79915
79916 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
79917 z computation is not scheduled after fetestexcept.
79918 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
79919 Use math_force_eval instead of asm to ensure calculation scheduled
79920 before exception test.
79921 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
79922 Ensure a1 + u.d computation is not scheduled after fetestexcept.
79923
79924 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
79925
79926 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
79927 computation is not scheduled after fetestexcept.
79928
79929 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
79930
79931 [BZ #14117]
79932 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
79933 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
79934
79935 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79936
79937 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
79938 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
79939
79940 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
79941
79942 [BZ #14117]
79943 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
79944 <bits/wordsize.h>.
79945 (__WCHAR_MIN): Support __WORDSIZE == 64.
79946 (__WCHAR_MAX): Likewise.
79947
79948 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
79949 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
79950
79951 [BZ #14183]
79952 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
79953 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
79954
79955 [BZ #14117]
79956 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
79957 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
79958
79959 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
79960 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
79961
79962 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
79963 Defined to 1 if __x86_64__ isn't defined.
79964 (_STAT_VER_LINUX_OLD): New.
79965 (st_atime): Remove duplicate.
79966 (st_mtime): Likewise.
79967 (st_ctime): Likewise.
79968
79969 2012-05-31 David S. Miller <davem@davemloft.net>
79970
79971 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
79972 entries.
79973
79974 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
79975
79976 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
79977 gen-libm-test.pl.
79978
79979 [BZ #14132]
79980 * elf/dl-reloc.c: Include <_itoa.h>.
79981 (_dl_reloc_bad_type): Remove use of INTUSE.
79982 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
79983 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
79984 * stdio-common/psiginfo.c (psiginfo): Likewise.
79985 * stdio-common/psignal.c (psignal): Likewise.
79986 * string/strsignal.c (strsignal): Likewise.
79987 * include/signal.h (_sys_siglist): Declare hidden proto.
79988 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
79989 INTVARDEF with libc_hidden_data_def.
79990 * stdio-common/itoa-udigits.c: Likewise.
79991 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
79992 (_itoa_lower_digits_internal): Remove declaration.
79993 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
79994 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
79995 (_sys_sigabbrev_internal): Remove aliases.
79996 (_sys_siglist): Define hidden alias.
79997
79998 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
79999
80000 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80001 bits/sysctl.h.
80002
80003 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
80004
80005 [BZ #14117]
80006 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
80007 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
80008
80009 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
80010 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
80011 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
80012 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
80013 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
80014 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
80015
80016 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
80017 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
80018 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
80019
80020 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
80021 with __addr.
80022 (insw): Likewise.
80023 (insl): Likewise.
80024 (outsb): Likewise.
80025 (outsw): Likewise.
80026 (outsl): Likewise.
80027
80028 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
80029 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
80030 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
80031
80032 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
80033 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
80034 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
80035 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
80036 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
80037 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
80038
80039 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
80040 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
80041
80042 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
80043 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
80044
80045 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
80046 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
80047 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
80048
80049 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
80050 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
80051 to ...
80052 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
80053
80054 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
80055 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
80056 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
80057
80058 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
80059 for x86-64.
80060 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
80061
80062 2012-05-31 Joseph Myers <joseph@codesourcery.com>
80063
80064 * math/math.h (M_El): Use two more decimal places.
80065 (M_LOG2El): Likewise.
80066 (M_LOG10El): Likewise.
80067 (M_LN2l): Likewise.
80068 (M_LN10l): Likewise.
80069 (M_PIl): Likewise.
80070 (M_PI_2l): Likewise.
80071 (M_PI_4l): Likewise.
80072 (M_1_PIl): Likewise.
80073 (M_2_PIl): Likewise.
80074 (M_2_SQRTPIl): Likewise.
80075 (M_SQRT2l): Likewise.
80076 (M_SQRT1_2l): Likewise.
80077
80078 2012-05-31 David S. Miller <davem@davemloft.net>
80079
80080 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
80081 values between float registers.
80082 * sysdeps/sparc/sparc64/memset.S: Likewise.
80083 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
80084
80085 2012-05-31 Mike Frysinger <vapier@gentoo.org>
80086
80087 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
80088 -D_FORTIFY_SOURCE=1.
80089 (CPPFLAGS-tst-longjmp_chk.c): Define.
80090 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
80091 (CPPFLAGS-tst-longjmp_chk2.c): Define.
80092 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
80093 CFLAGS-tst-wchar-h.c.
80094
80095 2012-05-31 Marek Polacek <polacek@redhat.com>
80096
80097 [BZ #14132]
80098 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
80099 __endmntent_internal): Remove declaration.
80100 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
80101 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
80102 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
80103
80104 2012-05-30 David S. Miller <davem@davemloft.net>
80105
80106 * sysdeps/sparc/sparc32/soft-fp/q_util.c
80107 (___Q_simulate_exceptions): Use real FP ops rather than writing
80108 into the %fsr.
80109 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
80110 Likewise.
80111
80112 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80113
80114 [BZ #14117]
80115 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
80116 * sysdeps/x86/bits/xtitypes.h: This.
80117
80118 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
80119 * sysdeps/x86/bits/wordsize.h: This.
80120
80121 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
80122 * sysdeps/x86/bits/huge_vall.h: This.
80123
80124 * sysdeps/i386/bits/select.h: Removed.
80125 * sysdeps/x86_64/bits/select.h: Renamed to ...
80126 * sysdeps/x86/bits/select.h: This.
80127
80128 * sysdeps/i386/bits/setjmp.h: Removed.
80129 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
80130 * sysdeps/x86/bits/setjmp.h: This.
80131
80132 * sysdeps/i386/bits/mathdef.h: Removed.
80133 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
80134 * sysdeps/x86/bits/mathdef.h: This.
80135
80136 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
80137
80138 [BZ #14132]
80139 * include/sys/socket.h (__connect_internal)
80140 (__libc_sa_len_internal): Remove declaration.
80141 (__connect, __libc_sa_len): Declare hidden_proto.
80142 (SA_LEN): Remove use of INTUSE.
80143 * socket/connect.c: Add libc_hidden_def.
80144 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
80145 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
80146 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
80147 alias.
80148 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
80149 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
80150 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
80151 of adding _internal alias.
80152
80153 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80154
80155 [BZ #14117]
80156 * sysdeps/i386/bits/link.h: Removed.
80157 * sysdeps/i386/bits/linkmap.h: Likewise.
80158 * sysdeps/x86_64/bits/link.h: Renamed to ...
80159 * sysdeps/x86/bits/link.h: This.
80160 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
80161 * sysdeps/x86/bits/linkmap.h: This.
80162
80163 * sysdeps/i386/bits/endian.h: Removed.
80164 * sysdeps/x86_64/bits/endian.h: Renamed to ...
80165 * sysdeps/x86/bits/endian.h: This.
80166
80167 * sysdeps/i386/bits/byteswap.h: Removed.
80168 * sysdeps/i386/bits/byteswap-16.h: Likewise.
80169 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
80170 * sysdeps/x86/bits/byteswap.h: This.
80171 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
80172 * sysdeps/x86/bits/byteswap-16.h: This.
80173 * sysdeps/i386/Implies: Add x86.
80174 * sysdeps/x86_64/Implies: Likewise.
80175
80176 2012-05-30 David S. Miller <davem@davemloft.net>
80177
80178 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
80179 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
80180 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
80181 (FP_TRAPPING_EXCEPTIONS): Define.
80182 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
80183 (FP_TRAPPING_EXCEPTIONS): Define.
80184 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
80185 subnormals only when inexact has been signalled or underflow
80186 exceptions are enabled.
80187 (_FP_PACK_CANONICAL): Likewise.
80188
80189 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80190
80191 [BZ #14183]
80192 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
80193 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
80194
80195 2012-05-30 Richard Henderson <rth@twiddle.net>
80196
80197 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
80198 with #ifndef NOT_IN_libc.
80199
80200 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
80201 marked to avoid plt entry.
80202
80203 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80204
80205 [BZ #14112]
80206 * Makeconfig (default-abi): New macro.
80207 (abi-includes): Likewise.
80208 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
80209 $(abi-$(default-abi)-lib-soname) for soname if defined.
80210 ($(common-objpfx)gnu/lib-names.stmp): Generate from
80211 abi-variants.
80212 * Makefile (installed-stubs): Likewise.
80213 * include/stubs-biarch.h: Removed.
80214 * scripts/lib-names.awk: Only handle one library at a time.
80215 * scripts/soversions.awk: Remove WORDSIZE support.
80216 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
80217 entries.
80218 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
80219 Removed.
80220 (syscall-list-default-condition): Likewise.
80221 (syscall-list-default-condition): Likewise.
80222 (syscall-list-includes): Likewise.
80223 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
80224 syscall-list-* with abi-*. Handle undefined abi-variants.
80225 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
80226 * sysdeps/unix/sysv/linux/i386/Implies: New file.
80227 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
80228 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
80229 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
80230 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
80231 Removed.
80232 (syscall-list-32-options): Likewise.
80233 (syscall-list-32-condition): Likewise.
80234 (syscall-list-64-options): Likewise.
80235 (syscall-list-64-condition): Likewise.
80236 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
80237 macro.
80238 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
80239 Renamed to ...
80240 (abi-*): This.
80241 (abi-64-ld-soname): New macro.
80242 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
80243 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
80244 Renamed to ...
80245 (abi-*): This.
80246 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
80247 * sysdeps/x86_64/x32/shlib-versions: Likewise.
80248
80249 2012-05-30 Joseph Myers <joseph@codesourcery.com>
80250
80251 * sysdeps/unix/sysv/linux/kernel-features.h
80252 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
80253 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
80254 include <kernel-features.h>.
80255 [!__NR_ftruncate64]: Remove conditional code.
80256 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80257 [__NR_ftruncate64]: Make code unconditional.
80258 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80259 * sysdeps/unix/sysv/linux/truncate64.c: Do not
80260 include <kernel-features.h>.
80261 [!__NR_ftruncate64]: Remove conditional code.
80262 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80263 [__NR_ftruncate64]: Make code unconditional.
80264 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
80266 include <kernel-features.h>.
80267 [!__NR_ftruncate64]: Remove conditional code.
80268 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80269 [__NR_ftruncate64]: Make code unconditional.
80270 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
80272 include <kernel-features.h>.
80273 [!__NR_ftruncate64]: Remove conditional code.
80274 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80275 [__NR_ftruncate64]: Make code unconditional.
80276 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80277
80278 * configure.in (libc_cv_fpie): Weaken to a compile test using
80279 LIBC_TRY_CC_OPTION.
80280 * configure: Regenerated.
80281
80282 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
80283
80284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
80285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
80286 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
80287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
80288 Refreshed.
80289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
80290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
80291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
80292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
80293 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
80294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
80295 Refreshed.
80296
80297 2012-05-27 David S. Miller <davem@davemloft.net>
80298
80299 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
80300 (___Q_zero): New.
80301 (__Q_simulate_exceptions): Return void. Change to simulate
80302 exceptions by writing into the %fsr.
80303 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
80304 (__Qp_handle_exceptions): Likewise.
80305 (numbers): Delete.
80306 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
80307 __Qp_handle_exceptions.
80308 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
80309 __Qp_handle_exceptions.
80310 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80311 as unused and give dummy FP_RND_NEAREST initializer.
80312 (FP_INHIBIT_RESULTS): Define.
80313 (___Q_simulate_exceptions): Update declaration.
80314 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
80315 formatting.
80316 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80317 as unused and give dummy FP_RND_NEAREST initializer.
80318 (__Qp_handle_exceptions): Update declaration.
80319 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
80320 formatting.
80321
80322 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
80323
80324 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
80325 the temporary FPU control word.
80326 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
80327 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
80328 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
80329 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80330 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
80331 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
80332 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
80333 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80334 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
80335 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
80336 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80337
80338 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
80339
80340 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
80341 fields.
80342
80343 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
80344
80345 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
80346 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
80347 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
80348 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
80349 Likewise.
80350 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
80351 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
80352 Likewise.
80353
80354 2012-05-27 Ulrich Drepper <drepper@gmail.com>
80355
80356 * po/h.po: Update from translation team.
80357
80358 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
80359
80360 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
80361
80362 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
80363 handling of denormals.
80364 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
80365 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
80366 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
80367 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
80368 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
80369 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
80370 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
80371 Likewise.
80372
80373 2012-05-26 Marek Polacek <polacek@redhat.com>
80374
80375 [BZ #14152]
80376 * math/libm-test.inc (fma_test): Don't always expect underflow
80377 exception.
80378
80379 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
80380
80381 [BZ #12416]
80382 * elf/tst-execstack.c: Include stackinfo.h.
80383 (do_test): Adjust test case to ensure that pthread_getattr_np
80384 behaviour remains the same after marking stack executable.
80385
80386 2012-05-25 Joseph Myers <joseph@codesourcery.com>
80387
80388 * sysdeps/unix/sysv/linux/kernel-features.h
80389 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
80390 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
80391 kernel-features.h.
80392 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80393 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80394 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
80395 kernel-features.h.
80396 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80397 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80398
80399 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
80400
80401 * configure.in: Define the default includes to being none.
80402 * configure: Regenerated.
80403
80404 2012-05-25 Roland McGrath <roland@hack.frob.com>
80405
80406 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
80407 * sysdeps/x86_64/setjmp.S: Likewise.
80408 * sysdeps/i386/bsd-setjmp.S: Likewise.
80409 * sysdeps/i386/bsd-_setjmp.S: Likewise.
80410 * sysdeps/i386/setjmp.S: Likewise.
80411 * sysdeps/i386/__longjmp.S: Likewise.
80412 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
80413 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
80414
80415 * include/stap-probe.h: New file.
80416 * configure.in: Handle --enable-systemtap.
80417 * configure: Regenerated.
80418 * config.h.in (USE_STAP_PROBE): New #undef.
80419 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
80420 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
80421 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
80422
80423 2012-05-25 Joseph Myers <joseph@codesourcery.com>
80424
80425 [BZ #13717]
80426 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80427 to 2.4.0 where earlier.
80428 * sysdeps/unix/sysv/linux/configure: Regenerated.
80429 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
80430 <kernel-features.h>.
80431 [__ASSUME_32BITUIDS]: Make code unconditional.
80432 [!__ASSUME_32BITUIDS]: Remove conditional code.
80433 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
80434 <kernel-features.h>.
80435 [__ASSUME_32BITUIDS]: Make code unconditional.
80436 [!__ASSUME_32BITUIDS]: Remove conditional code.
80437 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
80438 [__ASSUME_32BITUIDS]: Make code unconditional.
80439 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
80440 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
80441 <kernel-features.h>.
80442 [__ASSUME_32BITUIDS]: Make code unconditional.
80443 [!__ASSUME_32BITUIDS]: Remove conditional code.
80444 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
80445 <kernel-features.h>.
80446 [__ASSUME_32BITUIDS]: Make code unconditional.
80447 [!__ASSUME_32BITUIDS]: Remove conditional code.
80448 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
80449 <kernel-features.h>.
80450 [__ASSUME_32BITUIDS]: Make code unconditional.
80451 [!__ASSUME_32BITUIDS]: Remove conditional code.
80452 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
80453 <kernel-features.h>.
80454 [__ASSUME_32BITUIDS]: Make code unconditional.
80455 [!__ASSUME_32BITUIDS]: Remove conditional code.
80456 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
80457 <kernel-features.h>.
80458 [__ASSUME_32BITUIDS]: Make code unconditional.
80459 [!__ASSUME_32BITUIDS]: Remove conditional code.
80460 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
80461 <kernel-features.h>.
80462 [__ASSUME_32BITUIDS]: Make code unconditional.
80463 [!__ASSUME_32BITUIDS]: Remove conditional code.
80464 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
80465 <kernel-features.h>.
80466 [__ASSUME_32BITUIDS]: Make code unconditional.
80467 [!__ASSUME_32BITUIDS]: Remove conditional code.
80468 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
80469 <kernel-features.h>.
80470 [__ASSUME_32BITUIDS]: Make code unconditional.
80471 [!__ASSUME_32BITUIDS]: Remove conditional code.
80472 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
80473 <kernel-features.h>.
80474 [__ASSUME_32BITUIDS]: Make code unconditional.
80475 [!__ASSUME_32BITUIDS]: Remove conditional code.
80476 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
80477 <kernel-features.h>.
80478 [__ASSUME_32BITUIDS]: Make code unconditional.
80479 [!__ASSUME_32BITUIDS]: Remove conditional code.
80480 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
80481 <kernel-features.h>.
80482 [__NR_setresgid] (__setresgid): Do not declare.
80483 [__ASSUME_32BITUIDS]: Make code unconditional.
80484 [!__ASSUME_32BITUIDS]: Remove conditional code.
80485 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
80486 <kernel-features.h>.
80487 [__NR_setresuid] (__setresuid): Do not declare.
80488 [__ASSUME_32BITUIDS]: Make code unconditional.
80489 [!__ASSUME_32BITUIDS]: Remove conditional code.
80490 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
80491 <kernel-features.h>.
80492 [__ASSUME_32BITUIDS]: Make code unconditional.
80493 [!__ASSUME_32BITUIDS]: Remove conditional code.
80494 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
80495 <kernel-features.h>.
80496 [__ASSUME_32BITUIDS]: Make code unconditional.
80497 [!__ASSUME_32BITUIDS]: Remove conditional code.
80498 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
80499 <kernel-features.h>.
80500 [__ASSUME_32BITUIDS]: Make code unconditional.
80501 [!__ASSUME_32BITUIDS]: Remove conditional code.
80502 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
80503 <kernel-features.h>.
80504 [__ASSUME_32BITUIDS]: Make code unconditional.
80505 [!__ASSUME_32BITUIDS]: Remove conditional code.
80506 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
80507 <kernel-features.h>.
80508 [__ASSUME_32BITUIDS]: Make code unconditional.
80509 [!__ASSUME_32BITUIDS]: Remove conditional code.
80510 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
80511 <kernel-features.h>.
80512 [__ASSUME_32BITUIDS]: Make code unconditional.
80513 [!__ASSUME_32BITUIDS]: Remove conditional code.
80514 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
80515 <kernel-features.h>.
80516 [__ASSUME_32BITUIDS]: Make code unconditional.
80517 [!__ASSUME_32BITUIDS]: Remove conditional code.
80518 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
80519 <kernel-features.h>.
80520 [__ASSUME_32BITUIDS]: Make code unconditional.
80521 [!__ASSUME_32BITUIDS]: Remove conditional code.
80522 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
80523 <kernel-features.h>.
80524 [__ASSUME_32BITUIDS]: Make code unconditional.
80525 [!__ASSUME_32BITUIDS]: Remove conditional code.
80526 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
80527 <kernel-features.h>.
80528 [__ASSUME_32BITUIDS]: Make code unconditional.
80529 [!__ASSUME_32BITUIDS]: Remove conditional code.
80530 * sysdeps/unix/sysv/linux/kernel-features.h
80531 (__ASSUME_SETRESUID_SYSCALL): Remove.
80532 (__ASSUME_SETRESGID_SYSCALL): Likewise.
80533 (__ASSUME_32BITUIDS): Likewise.
80534 (__ASSUME_LDT_WORKS): Likewise.
80535 (__ASSUME_O_DIRECTORY): Likewise.
80536 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
80537 architecture but not kernel version.
80538 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
80539 (__ASSUME_MMAP2_SYSCALL): Likewise.
80540 (__ASSUME_STAT64_SYSCALL): Likewise.
80541 (__ASSUME_IPC64): Likewise.
80542 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
80543 <kernel-features.h>.
80544 [__ASSUME_32BITUIDS]: Make code unconditional.
80545 [!__ASSUME_32BITUIDS]: Remove conditional code.
80546 * sysdeps/unix/sysv/linux/opendir.c: Do not include
80547 <kernel-features.h>.
80548 [__ASSUME_O_DIRECTORY]: Make code unconditional.
80549 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
80550 132096]: Remove conditional code.
80551 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
80552 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
80553 <kernel-features.h>.
80554 [__ASSUME_32BITUIDS]: Make code unconditional.
80555 [!__ASSUME_32BITUIDS]: Remove conditional code.
80556 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
80557 <kernel-features.h>.
80558 [__ASSUME_32BITUIDS]: Make code unconditional.
80559 [!__ASSUME_32BITUIDS]: Remove conditional code.
80560 * sysdeps/unix/sysv/linux/setegid.c: Do not include
80561 <kernel-features.h>.
80562 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
80563 unconditional.
80564 (__setresgid): Do not declare.
80565 [__ASSUME_32BITUIDS]: Make code unconditional.
80566 [!__ASSUME_32BITUIDS]: Remove conditional code.
80567 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
80568 <kernel-features.h>.
80569 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
80570 unconditional.
80571 (__setresuid): Do not declare.
80572 [__ASSUME_32BITUIDS]: Make code unconditional.
80573 [!__ASSUME_32BITUIDS]: Remove conditional code.
80574 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
80575 <kernel-features.h>.
80576 [__ASSUME_32BITUIDS]: Make code unconditional.
80577 [!__ASSUME_32BITUIDS]: Remove conditional code.
80578 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
80579 <kernel-features.h>.
80580 [__ASSUME_32BITUIDS]: Make code unconditional.
80581 [!__ASSUME_32BITUIDS]: Remove conditional code.
80582
80583 2012-05-25 Richard Henderson <rth@twiddle.net>
80584
80585 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
80586 dl_hwcap to ifunc resolver.
80587 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
80588 elf_ifunc_invoke.
80589 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
80590 dl_hwcap to ifunc resolver.
80591 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
80592
80593 2012-05-24 Joseph Myers <joseph@codesourcery.com>
80594
80595 [BZ #14153]
80596 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
80597 for |x| <= 2**-26, not 2**-57.
80598 * math/libm-test.inc (acos_test): Do not allow spurious underflow
80599 exception.
80600
80601 2012-05-24 Jeff Law <law@redhat.com>
80602
80603 * stdio-common/Makefile (tests): Add bug25.
80604 * stdio-common/bug25.c: New test.
80605
80606 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
80607
80608 [BZ #13576]
80609 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
80610 multiple of MALLOC_ALIGNMENT in size.
80611 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
80612
80613 2012-05-24 Joseph Myers <joseph@codesourcery.com>
80614
80615 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
80616 Require >= 256.
80617 (FILENAME_MAX): Use macro-int-constant.
80618 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
80619 (_IOFBF): Use macro-int-constant.
80620 (_IOLBF): Likewise.
80621 (_IONBF): Likewise.
80622 (SEEK_CUR): Likewise.
80623 (SEEK_END): Likewise.
80624 (SEEK_SET): Likewise.
80625 (TMP_MAX): Likewise.
80626 (EOF): Use macro-int-constant. Require < 0.
80627 (NULL): Use macro-constant. Require == 0.
80628 (stdin): Require type to be FILE *.
80629 (stdout): Likewise.
80630 (stderr): Likewise.
80631 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
80632 macro-int-constant.
80633 (EXIT_SUCCESS): Likewise.
80634 (NULL): Use macro-constant. Require == 0.
80635 (RAND_MAX): Use macro-int-constant.
80636 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
80637 [C99-based standards] (strtof): Require function.
80638 [C99-based standards] (strtold): Likewise.
80639 [C99-based standards] (strtoll): Likewise.
80640 [C99-based standards] (strtoull): Likewise.
80641 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
80642 [ISO || ISO99 || ISO11] (limits.h): Likewise.
80643 [ISO || ISO99 || ISO11] (math.h): Likewise.
80644 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
80645 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
80646 [ISO || ISO99 || ISO11] (*_t): Do not allow.
80647
80648 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
80649
80650 [BZ #14132]
80651 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
80652 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
80653 * intl/dgettext.c (DCGETTEXT): Likewise.
80654 * intl/gettext.c (DCGETTEXT): Likewise.
80655 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
80656 * posix/regex_internal.h (gettext): Likewise.
80657 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
80658 Remove declaration.
80659 * include/argz.h (__argz_count_internal)
80660 (__argz_stringify_internal): Remove declaration.
80661 (__argz_count, __argz_stringify): Declare hidden proto.
80662 * intl/dcgettext.c: Remove use of INTDEF.
80663 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
80664 * string/argz-stringify.c: Likewise.
80665 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
80666 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
80667 Declare hidden proto.
80668 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
80669 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
80670 Declare hidden proto.
80671 * include/stdio.h (__asprintf_internal): Don't declare.
80672 (__asprintf): Don't define as macro. Declare hidden proto.
80673 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
80674 (__fsetlocking): Declare hidden proto.
80675 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
80676 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
80677 hidden proto.
80678 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
80679 (_IO_setlinebuf): Remove use of INTUSE.
80680 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
80681 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
80682 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
80683 Remove declaration.
80684 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
80685 (_IO_do_flush): Remove use of INTUSE.
80686 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
80687 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
80688 (_IO_adjust_column, _IO_least_wmarker)
80689 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
80690 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
80691 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
80692 (_IO_default_doallocate, _IO_wdefault_doallocate)
80693 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
80694 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
80695 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
80696 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
80697 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
80698 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
80699 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
80700 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
80701 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
80702 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
80703 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
80704 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
80705 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
80706 proto.
80707 (_IO_flush_all_internal, _IO_adjust_column_internal)
80708 (_IO_default_uflow_internal, _IO_default_finish_internal)
80709 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
80710 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
80711 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
80712 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
80713 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
80714 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
80715 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
80716 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
80717 (_IO_file_close_internal, _IO_file_close_it_internal)
80718 (_IO_file_underflow_internal, _IO_file_overflow_internal)
80719 (_IO_file_init_internal, _IO_file_attach_internal)
80720 (_IO_file_fopen_internal, _IO_file_read_internal)
80721 (_IO_file_sync_internal, _IO_file_seek_internal)
80722 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
80723 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
80724 (_IO_str_underflow_internal, _IO_str_overflow_internal)
80725 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
80726 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
80727 (_IO_list_all_internal, _IO_link_in_internal)
80728 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
80729 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
80730 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
80731 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
80732 (_IO_do_write_internal, _IO_padn_internal)
80733 (_IO_getline_info_internal, _IO_getline_internal)
80734 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
80735 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
80736 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
80737 (_IO_vfscanf_internal, _IO_vfprintf_internal)
80738 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
80739 (_IO_init_internal, _IO_un_link_internal): Don't declare.
80740 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
80741 with libc_hidden_ver, remove use of INTUSE.
80742 * libio/genops.c: Likewise.
80743 * libio/freopen.c: Likewise.
80744 * libio/freopen64.c: Likewise.
80745 * libio/iofclose.c: Likewise.
80746 * libio/iofdopen.c: Likewise.
80747 * libio/iofflush.c: Likewise.
80748 * libio/iofflush_u.c: Likewise.
80749 * libio/iofgets.c: Likewise.
80750 * libio/iofgets_u.c: Likewise.
80751 * libio/iofopen.c: Likewise.
80752 * libio/iofopncook.c: Likewise.
80753 * libio/iofread.c: Likewise.
80754 * libio/iofread_u.c: Likewise.
80755 * libio/ioftell.c: Likewise.
80756 * libio/iofwrite.c: Likewise.
80757 * libio/iogetline.c: Likewise.
80758 * libio/iogets.c: Likewise.
80759 * libio/iogetwline.c: Likewise.
80760 * libio/iopadn.c: Likewise.
80761 * libio/iopopen.c: Likewise.
80762 * libio/ioseekoff.c: Likewise.
80763 * libio/ioseekpos.c: Likewise.
80764 * libio/iosetbuffer.c: Likewise.
80765 * libio/iosetvbuf.c: Likewise.
80766 * libio/ioungetc.c: Likewise.
80767 * libio/ioungetwc.c: Likewise.
80768 * libio/iovdprintf.c: Likewise.
80769 * libio/iovsprintf.c: Likewise.
80770 * libio/iovsscanf.c: Likewise.
80771 * libio/memstream.c: Likewise.
80772 * libio/obprintf.c: Likewise.
80773 * libio/oldfileops.c: Likewise.
80774 * libio/oldiofclose.c: Likewise.
80775 * libio/oldiofdopen.c: Likewise.
80776 * libio/oldiofopen.c: Likewise.
80777 * libio/oldiopopen.c: Likewise.
80778 * libio/oldstdfiles.c: Likewise.
80779 * libio/putc.c: Likewise.
80780 * libio/setbuf.c: Likewise.
80781 * libio/setlinebuf.c: Likewise.
80782 * libio/stdfiles.c: Likewise.
80783 * libio/strops.c: Likewise.
80784 * libio/vasprintf.c: Likewise.
80785 * libio/vscanf.c: Likewise.
80786 * libio/vsnprintf.c: Likewise.
80787 * libio/vswprintf.c: Likewise.
80788 * libio/wfiledoalloc.c: Likewise.
80789 * libio/wfileops.c: Likewise.
80790 * libio/wgenops.c: Likewise.
80791 * libio/wmemstream.c: Likewise.
80792 * libio/wstrops.c: Likewise.
80793 * libio/__fpurge.c: Likewise.
80794 * libio/__fsetlocking.c: Likewise.
80795 * assert/assert.c: Likewise.
80796 * debug/fgets_chk.c: Likewise.
80797 * debug/fgets_u_chk.c: Likewise.
80798 * debug/fread_chk.c: Likewise.
80799 * debug/fread_u_chk.c: Likewise.
80800 * debug/gets_chk.c: Likewise.
80801 * debug/obprintf_chk.c: Likewise.
80802 * debug/vasprintf_chk.c: Likewise.
80803 * debug/vdprintf_chk.c: Likewise.
80804 * debug/vsnprintf_chk.c: Likewise.
80805 * debug/vsprintf_chk.c: Likewise.
80806 * malloc/mtrace.c: Likewise.
80807 * misc/error.c: Likewise.
80808 * misc/syslog.c: Likewise.
80809 * stdio-common/asprintf.c: Likewise.
80810 * stdio-common/fxprintf.c: Likewise.
80811 * stdio-common/getw.c: Likewise.
80812 * stdio-common/isoc99_fscanf.c: Likewise.
80813 * stdio-common/isoc99_scanf.c: Likewise.
80814 * stdio-common/isoc99_vfscanf.c: Likewise.
80815 * stdio-common/isoc99_vscanf.c: Likewise.
80816 * stdio-common/isoc99_vsscanf.c: Likewise.
80817 * stdio-common/printf-prs.c: Likewise.
80818 * stdio-common/printf_fp.c: Likewise.
80819 * stdio-common/printf_fphex.c: Likewise.
80820 * stdio-common/printf_size.c: Likewise.
80821 * stdio-common/putw.c: Likewise.
80822 * stdio-common/scanf.c: Likewise.
80823 * stdio-common/sprintf.c: Likewise.
80824 * stdio-common/tmpfile.c: Likewise.
80825 * stdio-common/vfprintf.c: Likewise.
80826 * stdio-common/vfscanf.c: Likewise.
80827 * stdlib/strfmon_l.c: Likewise.
80828 * sunrpc/openchild.c: Likewise.
80829 * sunrpc/xdr_stdio.c: Likewise.
80830 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
80831 * sysdeps/mach/hurd/tmpfile.c: Likewise.
80832
80833 2012-05-24 Roland McGrath <roland@hack.frob.com>
80834
80835 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
80836
80837 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
80838 in the third column, to generate for the shared library an IFUNC
80839 that uses _dl_vdso_vsym.
80840 * Makerules (COMPILE.c, compile-stdin.c): New variables.
80841 * Makeconfig (object-suffixes-noshared): New variable.
80842
80843 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
80844 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
80845 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
80846 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
80847
80848 [BZ #14132]
80849 * include/sys/time.h (__gettimeofday): Remove macro.
80850 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
80851 * time/gettimeofday.c (__gettimeofday): Remove #undef.
80852 Remove INTDEF.
80853 (__gettimeofday): Add libc_hidden_def.
80854 (gettimeofday): Add libc_hidden_weak.
80855 * sysdeps/mach/gettimeofday.c: Likewise.
80856 * sysdeps/posix/gettimeofday.c: Likewise.
80857 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
80858 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
80859 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
80860 (__gettimeofday_internal): Remove strong_alias.
80861 (__gettimeofday): Add libc_hidden_def.
80862 (gettimeofday): Add libc_hidden_weak.
80863 * sysdeps/unix/syscalls.list (gettimeofday):
80864 Remove __gettimeofday_internal alias.
80865
80866 2012-05-24 Daniel Jacobowitz <drow@false.org>
80867 H.J. Lu <hongjiu.lu@intel.com>
80868
80869 [BZ #12495]
80870 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
80871 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
80872 (largebin_index_32_big): New.
80873 (largebin_index): Use it for 16-byte alignment.
80874 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
80875 correction with front_misalign.
80876
80877 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
80878
80879 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
80880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
80881 Likewise.
80882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
80883 Likewise.
80884 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
80885 Likewise.
80886 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
80887 Likewise.
80888 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
80889 Likewise.
80890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
80891 Likewise.
80892 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
80893 Likewise.
80894 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
80895 Likewise.
80896 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
80897 Likewise.
80898 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
80899 Likewise.
80900 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
80901 Likewise.
80902 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
80903 Likewise.
80904
80905 * scripts/data/c++-types-x32-linux-gnu.data: New file.
80906 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
80907
80908 2012-05-24 Joseph Myers <joseph@codesourcery.com>
80909
80910 [BZ #10846]
80911 [BZ #14036]
80912 * math/libm-test.inc (exp_test): Add test from bug 14036.
80913 (pow_test): Add test from bug 10846.
80914
80915 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
80916 and other flags.
80917 (special_function): Do not include flags in test name.
80918 (parse_args): Likewise.
80919 * sysdeps/i386/fpu/libm-test-ulps: Update.
80920 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
80921 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
80922 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
80923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80924
80925 * math/gen-libm-test.pl (%beautify): Add entries for underflow
80926 exceptions.
80927 * math/libm-test.inc ("Philosophy"): Update comment about
80928 exception testing.
80929 (UNDERFLOW_EXCEPTION): New macro.
80930 (UNDERFLOW_EXCEPTION_OK): Likewise.
80931 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
80932 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
80933 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
80934 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
80935 (INVALID_EXCEPTION_OK): Update value.
80936 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
80937 (OVERFLOW_EXCEPTION_OK): Likewise.
80938 (IGNORE_ZERO_INF_SIGN): Likewise.
80939 (test_exceptions): Handle underflow exceptions.
80940 (acos_test): Update for underflow exception expectations.
80941 (cexp_test): Likewise.
80942 (clog_test): Likewise.
80943 (clog10_test): Likewise.
80944 (csqrt_test): Likewise.
80945 (ctan_test): Likewise.
80946 (ctanh_test): Likewise.
80947 (exp_test): Likewise.
80948 (exp10_test): Likewise.
80949 (exp2_test): Likewise.
80950 (expm1_test): Likewise.
80951 (fma_test): Likewise.
80952 (j0_test): Likewise.
80953 (jn_test): Likewise.
80954 (nexttoward_test): Likewise.
80955 (pow_test): Likewise.
80956 (scalbn_test): Likewise.
80957 (scalbln_test): Likewise.
80958 (tan_test): Likewise.
80959 (y1_test): Likewise.
80960 * sysdeps/i386/fpu/libm-test-ulps: Update.
80961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80962
80963 2012-05-23 David S. Miller <davem@davemloft.net>
80964
80965 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
80966 (__libc_sigaction): Remove unused local variables.
80967
80968 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
80969
80970 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
80971
80972 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
80973
80974 mktime: avoid signed integer overflow
80975 * time/mktime.c (__mktime_internal): Do not mishandle the case
80976 where diff == INT_MIN.
80977
80978 mktime: simplify computation of average
80979 * time/mktime.c (ranged_convert): Use new time_t_avg function
80980 instead of rolling our own (probably-slower) code.
80981
80982 mktime: do not assume signed right shift propagates sign bit
80983 * time/mktime.c (isdst_differ): New static function.
80984 (__mktime_internal): No need to normalize tm_isdst now.
80985 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
80986 tm_isdst values.
80987
80988 mktime: merge another wrapv change from gnulib
80989 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
80990 from some compilers.
80991
80992 mktime: remove incorrect attempt at unusual arithmetics
80993 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
80994 The code didn't really work on such machines anyway.
80995 (TYPE_MINIMUM): Assume two's complement.
80996 (twos_complement_arithmetic): Verify that long_int and time_t
80997 are two's complement (or unsigned, in the latter case).
80998
80999 mktime: check signed shifts on long_int and time_t, too
81000 * time/mktime.c (SHR): Check that shifts work as desired
81001 on the types long_int and time_t too, as SHR is used on
81002 such types.
81003
81004 mktime: do not assume 'long' is wide enough
81005 * time/mktime.c (verify): Move decl up.
81006 (long_int): New type.
81007 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
81008 to remove assumption in the code that 'long' is wide enough to
81009 store year values. This assumption is not true on x32 and on
81010 some non-glibc platforms.
81011
81012 mktime: merge wrapv change from gnulib
81013 * time/mktime.c (WRAPV): New macro.
81014 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
81015 (guess_time_tm, __mktime_internal): Do not assume that signed
81016 integer overflow wraps around; modern compilers generate code
81017 where this assumption is no longer valid.
81018
81019 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
81020
81021 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81022 Replace "jmp L(pseudo_end)" with "ret".
81023 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
81024 Likewise.
81025
81026 2012-05-23 Andreas Jaeger <aj@suse.de>
81027
81028 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
81029 * sysdeps/unix/sysv/linux/poll.c: Remove file.
81030
81031 2012-05-23 Andreas Jaeger <aj@suse.de>
81032 Maximilian Attems <max@stro.at>
81033
81034 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
81035 New macros.
81036
81037 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
81038
81039 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
81040 code so that pseudo_end is just ret and the stack pointer is
81041 correct also for static library in error case.
81042
81043 2012-05-23 Joseph Myers <joseph@codesourcery.com>
81044
81045 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
81046 move to syscalls.list.
81047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
81048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
81049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
81050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
81051
81052 * manual/install.texi (Running make install): Do not mention Linux
81053 kernel version for which pt_chown is not needed.
81054 (Linux): Do not mention problems with nscd with 2.0 kernels.
81055 * INSTALL: Regenerated.
81056
81057 2012-05-23 Andreas Jaeger <aj@suse.de>
81058
81059 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
81060 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
81061 macro.
81062 * sysdeps/unix/sysv/linux/s390/bits/mman.h
81063 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81064 * sysdeps/unix/sysv/linux/sh/bits/mman.h
81065 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81066 * sysdeps/unix/sysv/linux/i386/bits/mman.h
81067 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81068 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
81069 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81070 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
81071 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81072 * sysdeps/unix/sysv/linux/bits/in.h
81073 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
81074
81075 2012-05-22 Roland McGrath <roland@hack.frob.com>
81076
81077 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
81078 (PREPARE_VERSION): Just use assert instead, it will be elided
81079 under [NDEBUG] anyway.
81080
81081 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81082
81083 * sysdeps/unix/sysv/linux/Makefile: Include
81084 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
81085 (sysdep_routines): Remove sysctl.
81086 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
81087 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
81088 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
81089 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
81090 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
81091
81092 2012-05-22 Andreas Jaeger <aj@suse.de>
81093
81094 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
81095 that pseudo_end is just ret and the stack pointer is correct also
81096 for static library in error case.
81097
81098 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
81099
81100 [BZ #14122]
81101 * nss/nsswitch.c (defconfig_entries): New variable.
81102 (__nss_database_lookup): Don't leak defconfig entries.
81103 (nss_parse_service_list): Don't leak on error paths.
81104 (free_database_entries): New function.
81105 (free_defconfig): New function.
81106 (free_mem): Move common code to free_database_entries.
81107
81108 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81109
81110 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
81111 Add arch_prctl.
81112 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
81113
81114 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
81115 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
81116 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
81117 New macro.
81118 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
81119 (INTERNAL_SYSCALL_TYPES): Likewise.
81120 (LOAD_ARGS_TYPES_[1-6]): Likewise.
81121 (LOAD_REGS_TYPES_[1-6]): Likewise.
81122 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
81123 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
81124
81125 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81126
81127 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
81128 copysignl for GLIBC_2_0.
81129 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
81130 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
81131 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
81132 logbl for GLIBC_2_0.
81133 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
81134 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
81135
81136 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81137
81138 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
81139 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
81140
81141 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81142 Use "neg %eax".
81143
81144 * time/mktime.c: Update copyright years.
81145
81146 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
81147
81148 mktime: merge comment-quoting-style change from gnulib
81149 * time/mktime.c: Quote 'like this' in comments.
81150 The GNU coding standards suggest that we no longer quote `like this',
81151 as "`" and "'" are typically rendered asymmetrically nowadays.
81152 The typical gnulib style is to quote 'like this' when quoting
81153 code, and "like this" when quoting English.
81154
81155 * time/mktime.c (compile-command): Add "-I.".
81156
81157 mktime: merge mktime-internal.h change from gnulib
81158 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
81159
81160 mktime: merge time_r change from gnulib
81161 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
81162
81163 mktime: merge DEBUG change from gnulib
81164 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
81165 case system <time.h> has a #define.
81166
81167 mktime: merge <sys/types.h> change from gnulib
81168 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
81169 since <time.t> is now guaranteed to define time_t.
81170
81171 mktime: merge HAVE_CONFIG_H change from gnulib
81172 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
81173
81174 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81175
81176 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81177 Use "neg %eax".
81178
81179 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
81180 __rlim_t cast.
81181 (struct rusage): Use anonymous union to pad each field to
81182 __syscall_slong_t.
81183
81184 2012-05-21 David S. Miller <davem@davemloft.net>
81185
81186 * Makefules (o-iterator): Remove .s cases.
81187 (compile-command.s): Delete.
81188 (COMPILE.s): Delete.
81189 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
81190
81191 2012-05-21 Joseph Myers <joseph@codesourcery.com>
81192
81193 * configure.in (libc_cv_predef_stack_protector): Only consider
81194 "foobar" and "__stack_chk_fail" lines in libc_undefs.
81195 * configure: Regenerated.
81196
81197 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81198
81199 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81200 New macro. Use R*LP on int and pointer.
81201 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
81202 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
81203 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
81204 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
81205
81206 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
81207 [__WORDSIZE_TIME64_COMPAT32] instead of
81208 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
81209 (struct utmp): Likewise.
81210 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
81211 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
81212 Renamed to ...
81213 (__WORDSIZE_TIME64_COMPAT32): This.
81214 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
81215 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
81216 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
81217 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
81218 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
81219 (__WORDSIZE_TIME64_COMPAT32): New macro.
81220
81221 2012-05-21 Andreas Jaeger <aj@suse.de>
81222
81223 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
81224 only if [SHARED]. Add prototype for __wcschr_ia32.
81225
81226 2012-05-21 Roland McGrath <roland@hack.frob.com>
81227
81228 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
81229 of %rbp unmolested in the jmp_buf while mangling the low bits.
81230 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
81231 unmolested high bits of %rbp while demangling the low bits.
81232 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
81233
81234 2012-05-21 Andreas Jaeger <aj@suse.de>
81235
81236 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
81237 * sunrpc/svc_simple.c: Use it for registerrpc.
81238 * sunrpc/xcrypt.c: Use it for passwd2des.
81239
81240 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
81241
81242 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81243
81244 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
81245 Don't define if [__SYSCALL_WORDSIZE != 32].
81246 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
81247 New macro.
81248
81249 2012-05-21 Bruno Haible <bruno@clisp.org>
81250 Andreas Jaeger <aj@suse.de>
81251
81252 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
81253 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
81254 inptr and inend for must_buffer_ch.
81255 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
81256 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
81257 * stdio-common/Makefile (tests): Remove bug15.
81258 (bug15-ENV): Remove macro.
81259 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
81260 anymore.
81261
81262 2012-05-19 Andreas Jaeger <aj@suse.de>
81263 Roland McGrath <roland@hack.frob.com>
81264
81265 * manual/contrib.texi: Completely rewritten. It contains now an
81266 alphabetical list of contributors and their contributions.
81267
81268 2012-05-21 Richard Henderson <rth@twiddle.net>
81269
81270 * misc/getauxval.c (__getauxval): Use unsigned long int.
81271 * misc/sys/auxv.h: Include <sys/cdefs.h>.
81272 (getauxval): Use unsigned long int.
81273
81274 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81275
81276 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81277
81278 2012-05-21 Roland McGrath <roland@hack.frob.com>
81279
81280 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
81281 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
81282 __alignof__ (long double).
81283
81284 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81285
81286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81287
81288 2012-05-20 Richard Henderson <rth@twiddle.net>
81289
81290 * misc/getauxval.c: New file.
81291 * misc/sys/auxv.h: New file.
81292 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
81293 (routines): Add getauxval.
81294 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
81295 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
81296 * elf/dl-sysdep.c (_dl_auxv): Remove.
81297 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
81298 * elf/dl-support.c (_dl_auxv): New variable.
81299 (_dl_aux_init): Initialize it.
81300 * manual/startup.texi (Auxiliary Vector): New node.
81301 * sysdeps/generic/bits/hwcap.h: New file.
81302 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
81303 * sysdeps/powerpc/sysdep.h: ... here. Include it.
81304 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
81305 * sysdeps/sparc/sysdep.h: ... here. Include it.
81306 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
81307 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
81308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
81309 Update.
81310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
81311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
81312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
81313 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
81314 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81315 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81316 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
81317 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
81318
81319 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81320
81321 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81322
81323 2012-05-19 David S. Miller <davem@davemloft.net>
81324
81325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
81326
81327 2012-05-19 Joseph Myers <joseph@codesourcery.com>
81328
81329 [BZ #14123]
81330 * math/s_ccosh.c: Include <float.h>
81331 (__ccosh): Avoid internal overflow calculating sinh and cosh
81332 values before multiplying by sin and cos values.
81333 * math/s_ccoshf.c: Likewise.
81334 * math/s_ccoshl.c: Likewise.
81335 * math/s_csin.c: Likewise.
81336 * math/s_csinf.c: Likewise.
81337 * math/s_csinl.c: Likewise.
81338 * math/s_csinh.c: Likewise.
81339 * math/s_csinhf.c: Likewise.
81340 * math/s_csinhl.c: Likewise.
81341 * math/libm-test.inc (ccos_test): Add more tests.
81342 (ccosh_test): Likewise.
81343 (csin_test): Likewise.
81344 (csinh_test): Likewise.
81345 * sysdeps/i386/fpu/libm-test-ulps: Update.
81346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81347
81348 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
81349
81350 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
81351 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
81352
81353 * sysdeps/x86_64/x32/_itoa.h: Add comment.
81354
81355 2012-05-19 Joseph Myers <joseph@codesourcery.com>
81356
81357 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
81358 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
81359 * sysdeps/powerpc/soft-fp/Versions: Likewise.
81360 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
81361 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
81362 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
81363 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
81364 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
81365 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
81366 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
81367 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
81368 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
81369 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
81370 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
81371 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
81372 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
81373 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
81374 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
81375 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
81376 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
81377 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
81378 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
81379 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
81380 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
81381 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
81382 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
81383 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
81384 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
81385 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
81386 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
81387 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
81388
81389 2012-05-18 Andreas Jaeger <aj@suse.de>
81390
81391 * csu/.gitignore: Delete.
81392
81393 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81394
81395 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
81396 (timex): Use __syscall_slong_t.
81397
81398 2012-05-18 Andreas Jaeger <aj@suse.de>
81399 Carlos O'Donell <carlos_odonell@mentor.com>
81400
81401 * manual/install.texi (Configuring and compiling): Update
81402 description about files modified in the source directory.
81403 * INSTALL: Regenerated.
81404
81405 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81406
81407 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
81408 value. Use "or" to set return value to -1.
81409 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
81410 negate return value.
81411
81412 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
81413
81414 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
81415 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
81416 failure if the compiler has Graphite support disabled.
81417 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
81418 Likewise.
81419 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
81420 (CFLAGS-memmove.c): Likewise.
81421 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
81422 Likewise.
81423
81424 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81425
81426 * sysdeps/x86_64/x32/_itoa.h: New file.
81427
81428 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
81429 getdents system call only if kernel and user dirents have the
81430 same d_ino and d_off.
81431
81432 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
81433 LLONG_MAX != LONG_MAX.
81434 (_itoa_word): Use _ITOA_WORD_TYPE on value.
81435 (_fitoa_word): Likewise.
81436
81437 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
81438 years.
81439 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
81440 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
81441 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
81442
81443 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
81444 include <bits/wordsize.h>. Check __x86_64__ instead of
81445 __WORDSIZE.
81446 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
81447 if __x86_64__ is defined. Use anonymous union on fpstate.
81448
81449 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
81450 anonymous union.
81451
81452 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
81453
81454 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
81455 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
81456 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
81457 Refer to _rtld_local_ro instead of _rtld_global_ro.
81458 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
81459 Likewise.
81460 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
81461 Likewise.
81462 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
81463 Likewise.
81464 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
81465 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
81466 of _rtld_global, and rtld_progname instead of _dl_argv[0].
81467
81468 [BZ #10882]
81469 * sysdeps/powerpc/powerpc32/dl-machine.c
81470 (__elf_machine_runtime_setup) [PROF]: Don't reference
81471 _dl_prof_resolve.
81472
81473 2012-05-18 Andreas Jaeger <aj@suse.de>
81474
81475 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
81476 function only available for GCCs before 3.4 since GCC 3.4
81477 introduced a builtin.
81478 (lrint): Likewise.
81479 (llrintf): Likewise.
81480 (llrint): Likewise.
81481 (fmaxf): Likewise.
81482 (fmax): Likewise.
81483 (fminf): Likewise.
81484 (fmin): Likewise.
81485 (rint): Likewise.
81486 (rintf): Likewise.
81487 (nearbyint): Likewise.
81488 (nearbyintf): Likewise.
81489 (ceil): Likewise.
81490 (ceilf): Likewise.
81491 (floor): Likewise.
81492 (floorf): Likewise.
81493
81494 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
81495
81496 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
81497 on both fields and cast pointer to __syscall_ulong_t.
81498
81499 * bits/types.h (__fsword_t): New type.
81500 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
81501 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
81502 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81503 (__FSWORD_T_TYPE): Likewise.
81504 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81505 (__FSWORD_T_TYPE): Likewise.
81506 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81507 (__FSWORD_T_TYPE): Likewise.
81508 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
81509 (__FSWORD_T_TYPE): Likewise.
81510 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
81511 __SWORD_TYPE with __fsword_t.
81512 (statfs64): Likewise.
81513
81514 2012-05-17 David S. Miller <davem@davemloft.net>
81515
81516 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
81517
81518 2012-05-17 Andreas Jaeger <aj@suse.de>
81519
81520 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
81521 warning.
81522
81523 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
81524
81525 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
81526
81527 2012-05-17 Andreas Jaeger <aj@suse.de>
81528
81529 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
81530 when it is used.
81531
81532 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
81533
81534 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
81535
81536 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
81537
81538 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
81539 * sysdeps/x86_64/tst-mallocalign1.c: New file.
81540
81541 2012-05-17 Andreas Jaeger <aj@suse.de>
81542 Carlos O'Donell <carlos_odonell@mentor.com>
81543
81544 [BZ #14059]
81545 * sysdeps/x86_64/multiarch/init-arch.h
81546 (bit_YMM_Usable): Rename to...
81547 (bit_AVX_Usable): ... this.
81548 (bit_FMA4_Usable): New macro.
81549 (bit_XMM_state): New macro.
81550 (bit_YMM_state): New macro.
81551 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
81552 [__ASSEMBLER__] (index_AVX_Usable): ... this.
81553 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
81554 (CPUID_OSXSAVE): New macro.
81555 (CPUID_AVX): New macro.
81556 (CPUID_FMA4): New macro.
81557 (index_YMM_Usable): Rename to...
81558 (index_AVX_Usable): ... this.
81559 (HAS_AVX): Use HAS_ARCH_FEATURE.
81560 (HAS_FMA4): Likewise.
81561 (HAS_YMM_USABLE): Remove.
81562 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81563 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
81564 are present.
81565 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
81566 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
81567 * sysdeps/x86_64/multiarch/Makefile: Likewise.
81568 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
81569 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
81570
81571 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
81572
81573 * math/libm-test.c: Support platforms without multiple rounding modes.
81574 * math/bug-nextafter.c: Support platforms without FP exceptions.
81575 * math/bug-nexttoward.c: Likewise.
81576 * math/test-fenv.c: Likewise.
81577 * math/test-misc.c: Likewise.
81578 * stdlib/bug-getcontext.c: Likewise.
81579
81580 2012-05-17 Andreas Jaeger <aj@suse.de>
81581
81582 * manual/examples/search.c (critter_cmp): Change signature to
81583 avoid warnings.
81584 * manual/string.texi (Collation Functions): Likewise.
81585
81586 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81587
81588 * bits/types.h: Fold copyright years.
81589 * bits/typesizes.h: Likewise.
81590 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
81591 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
81592 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
81593 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
81594 * time/time.h: Likewise.
81595
81596 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
81597
81598 [BZ #208]
81599 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
81600 in instead of returning them. Return void.
81601 (__libc_mallinfo): Accumulate over all arenas.
81602 (__malloc_stats): Adjust for change in int_mallinfo interface.
81603
81604 2012-05-16 Roland McGrath <roland@hack.frob.com>
81605
81606 [BZ #10375]
81607 * configure.in (NM): Add AC_CHECK_TOOL for it.
81608 (libc_extra_cflags): New substituted variable.
81609 Check for -fstack-protector being used implicitly.
81610 * configure: Regenerated.
81611 * config.make.in (config-extra-cflags): New variable,
81612 gets @libc_extra_cflags@.
81613 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
81614
81615 [BZ #10375]
81616 * configure.in: Check for _FORTIFY_SOURCE being predefined.
81617 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
81618 * configure: Regenerated.
81619 * config.make.in (CPPUNDEFS): New substituted variable.
81620 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
81621 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
81622 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
81623
81624 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81625
81626 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
81627 (mq_attr): Use __syscall_slong_t.
81628
81629 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81630
81631 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
81632 Check __x86_64__ instead of __WORDSIZE.
81633 (_STAT_VER_LINUX): Likewise.
81634 (stat): Check __x86_64__ instead of __WORDSIZE. Use
81635 __syscall_ulong_t and __syscall_slong_t.
81636 (stat64): Likewise.
81637
81638 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81639
81640 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
81641
81642 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81643
81644 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
81645
81646 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81647
81648 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
81649 __syscall_ulong_t.
81650
81651 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
81652 include <bits/wordsize.h>. Check __x86_64__ instead of
81653 __WORDSIZE.
81654 (greg_t): Use "__extension__ long long int" if __x86_64__ is
81655 defined.
81656 (mcontext_t): Replace "unsigned long" with "unsigned long long".
81657
81658 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
81659 include <bits/wordsize.h>. Check __x86_64__ instead of
81660 __WORDSIZE.
81661 (user_regs_struct): Use "__extension__ unsigned long long"
81662 instead of "unsigned long" if __x86_64__ is defined.
81663 (user): Likewise. Pad after pointer field if __ILP32__ is
81664 defined.
81665
81666 2012-05-16 Joseph Myers <joseph@codesourcery.com>
81667
81668 * configure.in (makeinfo): Require version 4.5 or later. Allow
81669 versions 5 to 9.
81670 * configure: Regenerated.
81671 * manual/install.texi (texinfo): Increase version requirement to
81672 4.5 or later.
81673 * INSTALL: Regenerated.
81674
81675 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
81676
81677 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81678
81679 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
81680
81681 * sysdeps/x86_64/x32/ffs.c: New file.
81682
81683 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
81684 __syscall_ulong_t.
81685 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
81686 defined. Use __syscall_ulong_t.
81687 (shminfo): Use __syscall_ulong_t.
81688 (shm_info): Likewise.
81689
81690 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
81691 __syscall_ulong_t.
81692
81693 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
81694 <bits/wordsize.h>.
81695 (msgqnum_t): Use __syscall_ulong_t.
81696 (msglen_t): Likewise.
81697 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
81698 __syscall_ulong_t.
81699
81700 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
81701 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
81702
81703 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
81704
81705 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
81706 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
81707
81708 * sysvipc/sys/msg.h (msgbuf): Replace long int with
81709 __syscall_slong_t.
81710
81711 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
81712 include <bits/wordsize.h>. Check __x86_64__ instead of
81713 __WORDSIZE.
81714
81715 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
81716 "unsigned long long int" if __x86_64__ is defined.
81717 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
81718
81719 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
81720 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
81721 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
81722
81723 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
81724 <stdint.h>.
81725 (GET_PC): Cast to uintptr_t first.
81726 (GET_FRAME): Likewise.
81727 (GET_STACK): Likewise.
81728
81729 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
81730 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
81731 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
81732 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
81733 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
81734 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
81735 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
81736 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
81737 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
81738 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
81739 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
81740 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
81741 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
81742 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
81743 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
81744 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
81745 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
81746 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
81747 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
81748 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
81749 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
81750 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
81751 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
81752 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
81753 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
81754 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
81755 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
81756 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
81757 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
81758
81759 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
81760
81761 * Makerules (+depfiles): Also collect depfiles from .oS in
81762 $(extra-objs).
81763 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
81764 .oS, $(libnldbl-routines)).
81765
81766 * Makerules (native-compile-mkdep-flags): Define.
81767 * sunrpc/Makefile (extra-objs): Add $(addprefix
81768 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
81769 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
81770 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
81771 calling $(make-target-directory).
81772
81773 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81774
81775 * bits/types.h (__snseconds_t): Removed.
81776 * time/time.h (struct timespec): Replace __snseconds_t with
81777 __syscall_slong_t.
81778 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
81779 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
81780 Likewise.
81781 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81782 (__SNSECONDS_T_TYPE): Likewise.
81783 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81784 (__SNSECONDS_T_TYPE): Likewise.
81785 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81786 (__SNSECONDS_T_TYPE): Likewise.
81787
81788 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81789
81790 * sysdeps/mach/hurd/bits/typesizes.h
81791 (__SYSCALL_SLONG_TYPE): New macro.
81792 (__SYSCALL_ULONG_TYPE): Likewise.
81793
81794 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81795
81796 * bits/types.h (__syscall_slong_t): New type.
81797 (__syscall_ulong_t): Likewise.
81798
81799 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
81800 (__SYSCALL_ULONG_TYPE): Likewise.
81801 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81802 (__SYSCALL_SLONG_TYPE): Likewise.
81803 (__SYSCALL_ULONG_TYPE): Likewise.
81804 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81805 (__SYSCALL_SLONG_TYPE): Likewise.
81806 (__SYSCALL_ULONG_TYPE): Likewise.
81807 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81808 (__SYSCALL_SLONG_TYPE): Likewise.
81809 (__SYSCALL_ULONG_TYPE): Likewise.
81810
81811 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81812
81813 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
81814 Add sigaltstack-offsets.sym.
81815 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
81816 <sigaltstack-offsets.h>.
81817 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
81818 longjmp_msg pointer.
81819 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
81820 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
81821 signal stack.
81822 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
81823
81824 2012-05-15 Joseph Myers <joseph@codesourcery.com>
81825
81826 * elf/stackguard-macros.h: Remove file.
81827 * sysdeps/generic/stackguard-macros.h: New file.
81828 * sysdeps/i386/stackguard-macros.h: Likewise.
81829 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
81830 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
81831 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
81832 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
81833 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
81834 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
81835 * sysdeps/x86_64/stackguard-macros.h: Likewise.
81836 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
81837 <elf/stackguard-macros.h>.
81838
81839 [BZ #14109]
81840 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
81841 __aligned__ in attribute.
81842 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
81843 (gregset_t): Likewise.
81844
81845 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81846
81847 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
81848 * sysdeps/x86_64/64/Implies-after: Here. New file.
81849 * sysdeps/x86_64/x32/Implies-after: New file.
81850
81851 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81852
81853 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
81854 and access return value for _dl_profile_fixup. Use R10_LP to
81855 load frame size.
81856
81857 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81858
81859 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
81860
81861 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81862
81863 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
81864 * sysdeps/x86_64/x32/sysdep.h: New file.
81865
81866 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81867
81868 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
81869 * sysdeps/x86_64/setjmp.S: Likewise.
81870
81871 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81872
81873 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
81874 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
81875 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
81876 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
81877 remove unused global constant.
81878
81879 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
81880
81881 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
81882 include of <not-cancel.h>.
81883
81884 2012-05-15 Roland McGrath <roland@hack.frob.com>
81885
81886 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
81887
81888 2012-05-15 Jeff Law <law@redhat.com>
81889 Andreas Jaeger <aj@suse.de>
81890
81891 [BZ #13594]
81892 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
81893 out from...
81894 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
81895 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
81896 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
81897 code changing __hst_map_handle.map.
81898
81899 2012-05-15 Roland McGrath <roland@hack.frob.com>
81900
81901 * configure.in (sysnames): Look for Implies-before and Implies-after
81902 files.
81903 * configure: Regenerated.
81904
81905 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81906
81907 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
81908 8-byte data alignment with LP_SIZE alignment.
81909
81910 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81911
81912 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
81913 into R10_LP.
81914
81915 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81916
81917 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
81918
81919 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81920
81921 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
81922 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
81923 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
81924 Likewise.
81925 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
81926
81927 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81928
81929 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
81930 (stackinfo_sub_sp): Likewise.
81931
81932 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81933
81934 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
81935 RAX_LP.
81936
81937 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81938
81939 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
81940 into R*_LP.
81941
81942 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81943
81944 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
81945 sizes into R*_LP.
81946
81947 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81948
81949 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
81950
81951 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81952
81953 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
81954 into R11_LP and load __x86_64_shared_cache_size_half into
81955 R8_LP.
81956
81957 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81958
81959 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
81960 R8_LP.
81961
81962 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81963
81964 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
81965 logb for POWER7.
81966 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
81967 logbf for POWER7.
81968 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
81969 logbl for POWER7.
81970 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
81971 powerpc32/power7/fpu/s_logb.c via #include.
81972 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
81973 powerpc32/power7/fpu/s_logbf.c via #include.
81974 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
81975 powerpc32/power7/fpu/s_logbl.c via #include.
81976
81977 2012-05-15 Joseph Myers <joseph@codesourcery.com>
81978
81979 * README.libm: Remove file.
81980
81981 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
81982
81983 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
81984 count for x32. Use R*_LP and omit operand-size suffix.
81985
81986 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
81987
81988 * shlib-versions: Move x86_64-.*-linux.* entries to ...
81989 * sysdeps/x86_64/64/shlib-versions: Here. New file.
81990 * sysdeps/x86_64/x32/shlib-versions: New file.
81991
81992 2012-05-14 Roland McGrath <roland@hack.frob.com>
81993
81994 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
81995 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
81996 Use _dl_fatal_printf instead.
81997
81998 2012-05-14 Joseph Myers <joseph@codesourcery.com>
81999
82000 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
82001 set if not set by the user. Do not allow for being unset.
82002 * sysdeps/unix/sysv/linux/configure: Regenerated.
82003
82004 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82005
82006 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
82007 the `q' suffix from lea and replace .quad with ASM_ADDR.
82008
82009 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82010
82011 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
82012 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
82013 instead of $17.
82014 (PTR_DEMANGLE): Likewise.
82015
82016 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82017
82018 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
82019 (LP_OP): Likewise.
82020 (ASM_ADDR): Likewise.
82021 (RAX_LP): Likewise.
82022 (RBP_LP): Likewise.
82023 (RBX_LP): Likewise.
82024 (RCX_LP): Likewise.
82025 (RDI_LP): Likewise.
82026 (RSI_LP): Likewise.
82027 (RSP_LP): Likewise.
82028 (R8_LP): Likewise.
82029 (R9_LP): Likewise.
82030 (R10_LP): Likewise.
82031 (R10_LP): Likewise.
82032 (R11_LP): Likewise.
82033 (R12_LP): Likewise.
82034 (R13_LP): Likewise.
82035 (R14_LP): Likewise.
82036 (R15_LP): Likewise.
82037
82038 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82039
82040 * sysdeps/x86_64/x32/dl-machine.h: New file.
82041
82042 2012-05-14 Andreas Jaeger <aj@suse.de>
82043
82044 * manual/Makefile (subdir): Remove export of subdir.
82045 (all): Remove target.
82046 (.PHONY): Remove all from list.
82047 (mkinstalldirs): Remove.
82048 (.PHONY): Remove installdirs from list.
82049 ($(inst_infodir)/libc.info): Use make-target-directory.
82050 (installdirs): Remove.
82051 (subdir_%): Remove.
82052 (glibc-targets): Remove.
82053 (lib): Remove.
82054 (stubs): Remove.
82055 ($(objpfx)stubs ../po/manual.pot): Remove.
82056 ($(objpfx)stamp%): Remove.
82057 (make-target-directory): Remove.
82058 (subdir_install): Remove.
82059 (routines): Remove.
82060 (aux): Remove.
82061 (sources): Remove.
82062 (objects): Remove.
82063 (headers): Remove.
82064
82065 [BZ #13750]
82066 * manual/.gitignore: Remove, it's not needed anymore.
82067 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
82068 all files in it.
82069 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
82070 directory.
82071 (texis): Renamed to $(objpfx)texis.
82072 (texis-path): New, contains path to generated files.
82073 (chapters.%): Use texis-path for complete path, add extra argument
82074 libc-texinfo.sh.
82075 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
82076 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
82077 (summary,texi, stamp-summary): Use complete path of
82078 files. Generate files in build dir.
82079 (dir-add.texi): Build in build dir.
82080 (libm-err.texi,stamp-libm-err): Likewise.
82081 (version.texi, stamp-version): Likewise.
82082 (.%c.texi): Likewise.
82083 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
82084 (mostlyclean): Remove target.
82085 (realclean): Remove target.
82086 (generated): Add new variable with contents from mostlyclean and
82087 realclean, remove entries duplicated in common-mostlyclean, add
82088 stamp-libm-err and stamp-version.
82089 (generated-dirs): Add libc directory.
82090 ($(inst_infodir)/libc.info): Install files from build dir.
82091
82092 * manual/install.texi (Configuring and compiling): Adjust since
82093 the info files are not part of the tar ball anymore.
82094
82095 2012-05-14 Andreas Jaeger <aj@suse.de>
82096
82097 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
82098 variable.
82099
82100 2012-05-14 Joseph Myers <joseph@codesourcery.com>
82101
82102 [BZ #13717]
82103 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
82104 to 2.2.0 where earlier.
82105 * sysdeps/unix/sysv/linux/configure: Regenerated.
82106 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
82107 Remove conditional code.
82108 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
82109 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
82110 Remove conditional code.
82111 [!__NR_lchown]: Likewise.
82112 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82113 [__NR_lchown]: Likewise.
82114 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
82115 comment referencing __ASSUME_LCHOWN_SYSCALL.
82116 * sysdeps/unix/sysv/linux/i386/sigaction.c
82117 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82118 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82119 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
82120 Remove conditional code.
82121 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
82122 (__protocol_available): Remove #if 0 code.
82123 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
82124 conditional code.
82125 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
82126 * sysdeps/unix/sysv/linux/kernel-features.h
82127 (__ASSUME_GETCWD_SYSCALL): Don't define.
82128 (__ASSUME_REALTIME_SIGNALS): Likewise.
82129 (__ASSUME_PREAD_SYSCALL): Likewise.
82130 (__ASSUME_PWRITE_SYSCALL): Likewise.
82131 (__ASSUME_POLL_SYSCALL): Likewise.
82132 (__ASSUME_LCHOWN_SYSCALL): Likewise.
82133 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
82134 non-SPARC.
82135 (__ASSUME_SIOCGIFNAME): Don't define.
82136 (__ASSUME_MSG_NOSIGNAL): Likewise.
82137 (__ASSUME_SENDFILE): Define unconditionally.
82138 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
82139 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
82140 conditional code.
82141 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
82142 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
82143 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82144 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82145 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
82146 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82147 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
82149 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82150 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
82152 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82153 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
82155 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82156 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
82158 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82159 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
82161 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82162 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
82164 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82165 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
82167 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82168 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
82170 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82171 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82172 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
82173 Remove conditional code.
82174 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82175 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82176 Remove conditional code.
82177 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82178 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
82179 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
82180 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82181 Remove conditional code.
82182 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82183 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
82184 Remove conditional code.
82185 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82186 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
82187 Remove conditional code.
82188 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82189 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82190 Remove conditional code.
82191 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82192 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82193 Remove conditional code.
82194 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82195 * sysdeps/unix/sysv/linux/sh/pwrite64.c
82196 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82197 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82198 * sysdeps/unix/sysv/linux/sigaction.c
82199 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82200 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82201 * sysdeps/unix/sysv/linux/sigpending.c
82202 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82203 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82204 * sysdeps/unix/sysv/linux/sigprocmask.c
82205 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82206 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82207 * sysdeps/unix/sysv/linux/sigsuspend.c
82208 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82209 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82210 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
82211 (__libc_missing_rt_sigs): Remove.
82212 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
82213 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
82214 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
82215 Remove conditional code.
82216 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
82217 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
82218 return 1.
82219 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
82220 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
82221 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
82222 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
82223
82224 2012-05-14 Andreas Jaeger <aj@suse.de>
82225
82226 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
82227 it's not used in glibc.
82228 (__coshm1): Likewise.
82229 (__acosh1p): Likewise.
82230 (__sgn): Likewise.
82231
82232 * manual/string.texi (Copying and Concatenation): Add missing
82233 variable in concat example.
82234 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
82235
82236 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82237
82238 [BZ #14103]
82239 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
82240 __builtin_clzl with __builtin_clzll.
82241
82242 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82243
82244 [BZ #14104]
82245 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
82246 libc_freeres_ptr.
82247
82248 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82249
82250 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
82251 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
82252 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
82253 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
82254
82255 2012-05-14 Mike Frysinger <vapier@gentoo.org>
82256
82257 * NEWS: Update ia64 info.
82258
82259 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
82260
82261 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
82262 used as bcopy.
82263
82264 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
82265
82266 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
82267 * sysdeps/unix/syscalls.list (dup3): Likewise.
82268 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
82269 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
82270
82271 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
82272
82273 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
82274 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
82275
82276 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
82277
82278 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
82279 thread pointer.
82280 (TLS_IE): Use mov/add instead of movq/addq to load thread
82281 pointer.
82282 (TLS_GD_PREFIX): New.
82283 (TLS_GD): Use it.
82284
82285 2012-05-11 David S. Miller <davem@davemloft.net>
82286
82287 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
82288 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
82289 (_FPU_SETCW): Likewise.
82290
82291 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82292
82293 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
82294 is 32-byte aligned.
82295
82296 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
82297
82298 [BZ #11837]
82299 * iconvdata/gb18030.c: Update tables.
82300 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
82301 characters specially.
82302 (BODY for TO_LOOP): Add encoding of missing ranges.
82303
82304 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
82305
82306 [BZ #13673]
82307 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
82308 * sysdeps/mach/hurd/dup3.c: Likewise.
82309 * sysdeps/mach/hurd/readlinkat.c: Likewise.
82310 * sysdeps/powerpc/memmove.c:: Likewise.
82311
82312 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82313
82314 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
82315 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
82316
82317 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82318
82319 * elf/elf.h (R_X86_64_RELATIVE64): New.
82320 (R_X86_64_NUM): Updated.
82321 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
82322 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
82323 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
82324 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
82325 tst-quad1pie tst-quad2pie
82326 (modules-names): Add tst-quadmod1 tst-quadmod2.
82327 ($(objpfx)tst-quad1): New dependency.
82328 ($(objpfx)tst-quad2): Likewise.
82329 ($(objpfx)tst-quad1pie): Likewise.
82330 ($(objpfx)tst-quad2pie): Likewise.
82331 * sysdeps/x86_64/tst-quad1.c: New file.
82332 * sysdeps/x86_64/tst-quad1pie.c: New file.
82333 * sysdeps/x86_64/tst-quad2.c: Likewise.
82334 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
82335 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
82336 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
82337 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
82338 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
82339
82340 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82341
82342 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
82343 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
82344 * streams/stropts.h (t_scalar_t): Define type.
82345
82346 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
82347 (_PATH_PRESERVE): Set to "/var/lib".
82348 (_PATH_RWHODIR): Set to "/var/spool/rwho".
82349
82350 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
82351 instead of int.
82352
82353 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
82354 if __dir_mkfile succeeded.
82355
82356 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
82357 checking for _hurd_dtablesize. Unlock it right after having
82358 finished _hurd_dtable allocation.
82359
82360 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82361
82362 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
82363 * sysdeps/mach/hurd/configure: Regenerated.
82364 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
82365 special-casing to...
82366 * sysdeps/gnu/configure.in: ... this new file.
82367 * sysdeps/unix/sysv/linux/configure: Regenerated.
82368 * sysdeps/gnu/configure: New generated file.
82369
82370 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
82371 for Linux: use nsec instead of usec, as well as:
82372 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
82373 members of type struct timespec.
82374 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
82375 New macros.
82376 (struct stat64): Likewise.
82377 (_STATBUF_ST_NSEC): New macro.
82378 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
82379
82380 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
82381 __strtoul_internal rather than strtoul.
82382
82383 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82384
82385 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
82386 and reject them.
82387
82388 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82389
82390 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
82391 which preserves existing values.
82392 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
82393
82394 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82395
82396 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
82397 TIMEOUT values. Return EINVAL for NFDS values either negative or
82398 greater than FD_SETSIZE.
82399
82400 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82401
82402 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
82403 allocated, call __vm_protect to finish enabling the existing space, and
82404 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
82405 allocate the remainder.
82406
82407 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82408
82409 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
82410 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
82411
82412 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82413
82414 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
82415 sysdeps/mach/hurd/readlink.c.
82416
82417 * posix/tst-sysconf.c (posix_options): Only use
82418 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
82419 _POSIX_SYNCHRONIZED_IO when they are defined
82420 * sysdeps/mach/hurd/bits/posix_opt.h:
82421 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
82422 (_XOPEN_REALTIME): Undefine macro.
82423 (_XOPEN_REALTIME_THREADS): Undefine macro.
82424 (_XOPEN_SHM): Undefine macro.
82425 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
82426 macro to -1.
82427 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
82428 macro to -1.
82429 (_POSIX_ASYNC_IO): Undefine macro.
82430 (_POSIX_PRIORITIZED_IO): Undefine macro.
82431 (_POSIX_SPIN_LOCKS): Define macro to -1.
82432
82433 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
82434 SA_NODEFER, SA_RESETHAND.
82435 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
82436 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
82437 F_DUPFD_CLOEXEC.
82438
82439 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82440
82441 * elf/Makefile (pldd-modules): Define unconditionally.
82442
82443 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82444
82445 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
82446
82447 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82448
82449 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
82450 Return ENOENT when name is empty.
82451 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
82452
82453 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82454
82455 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
82456
82457 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
82458
82459 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82460
82461 Fix mlock in all cases except non-readable pages.
82462 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
82463 instead of VM_PROT_ALL as parameter to __vm_wire function.
82464
82465 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
82466 (__mkdir): When path is `/', just fail with EEXIST.
82467 * sysdeps/mach/hurd/mkdirat.c: Likewise.
82468
82469 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82470
82471 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
82472 <sys/uio.h> (for writev).
82473 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
82474 and <sys/param.h> (for MIN).
82475
82476 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82477
82478 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
82479 REQUESTED_TIME. Properly set the remaining time and return EINTR
82480 if interrupted.
82481
82482 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82483
82484 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
82485 Depend on against $(link-rpcuserlibs).
82486
82487 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82488
82489 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
82490 (__libc_stack_end): Do not use attribute_relro.
82491 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
82492 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
82493 to libthread-provided value.
82494 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
82495 attribute_relro.
82496
82497 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82498
82499 [BZ #3748]
82500 * bits/libc-lock.h (__libc_once_get): New macro.
82501 * sysdeps/mach/bits/libc-lock.h: Likewise.
82502 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
82503 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
82504 instead of using implementation details.
82505
82506 * libio/fileops.c: Unconditionally include <kernel-features.h>.
82507 * libio/freopen.c: Likewise.
82508 * libio/freopen64.c: Likewise.
82509 * misc/syslog.c: Likewise.
82510 * nscd/connections.c: Likewise.
82511 * nscd/netgroupcache.c: Likewise.
82512 * sysdeps/posix/getcwd.c: Likewise.
82513
82514 2012-05-10 Roland McGrath <roland@hack.frob.com>
82515
82516 * math/w_ilogbf.c: Add #include <limits.h>.
82517
82518 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82519
82520 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
82521 path instead of returning without unlocking.
82522
82523 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
82524 immediate-write ioctls.
82525 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
82526
82527 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82528
82529 * sysdeps/mach/hurd/i386/init-first.c (init): Use
82530 __builtin_frame_address instead of making assumptions about the
82531 location of the return address relative to DATA. Force early load of
82532 the return address.
82533 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
82534 __builtin_frame_address.
82535
82536 dup3 for GNU Hurd.
82537 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
82538 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
82539 implement dup3 and do some further code clean-ups.
82540 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
82541 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
82542
82543 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82544
82545 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
82546
82547 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
82548 HURD_CRITICAL_END around holding _hurd_dtable_lock.
82549 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
82550 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
82551 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
82552 d->port.lock.
82553
82554 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
82555 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
82556 when handler == SIG_ERR, not when handler != SIG_ERR.
82557
82558 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82559
82560 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
82561 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
82562 definitions.
82563
82564 accept4 for GNU Hurd.
82565 * include/sys/socket.h (__libc_accept4): New prototype.
82566 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
82567 to implement __libc_accept4.
82568 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
82569 __libc_accept4.
82570 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
82571
82572 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
82573 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
82574 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
82575 signal-defines.sym.
82576
82577 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82578
82579 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
82580
82581 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82582
82583 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
82584 assertion on O_CLOEXEC flag.
82585 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
82586 * hurd/intern-fd.c: Likewise.
82587 * hurd/port2fd.c: Likewise.
82588
82589 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82590
82591 [BZ #3906]
82592 * bits/in.h (IPV6_PKTINFO): Define new macro.
82593 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
82594
82595 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82596
82597 [BZ #13954]
82598 [BZ #13955]
82599 [BZ #13956]
82600 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
82601 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
82602 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
82603 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
82604 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
82605 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
82606 * math/libm-test.inc (logb_test) : Additional logb tests.
82607
82608 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
82609 Andreas Jaeger <aj@suse.de>
82610
82611 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
82612 * configure: Regenerated.
82613 * config.h.in (LINK_OBSOLETE_RPC): New macro.
82614 * config.make.in (link-obsolete-rpc): New substituted variable.
82615 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
82616 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
82617 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82618 (shared-only-routines): Don't set it under [link-obsolete-rpc],
82619 so that libc.a contains the symbols.
82620 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82621 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
82622 * sunrpc/auth_none.c: Likewise.
82623 * sunrpc/auth_unix.c: Likewise.
82624 * sunrpc/authdes_prot.c: Likewise.
82625 * sunrpc/authuxprot.c: Likewise.
82626 * sunrpc/clnt_gen.c: Likewise.
82627 * sunrpc/clnt_perr.c: Likewise.
82628 * sunrpc/clnt_raw.c: Likewise.
82629 * sunrpc/clnt_simp.c: Likewise.
82630 * sunrpc/clnt_tcp.c: Likewise.
82631 * sunrpc/clnt_udp.c: Likewise.
82632 * sunrpc/clnt_unix.c: Likewise.
82633 * sunrpc/des_crypt.c: Likewise.
82634 * sunrpc/des_soft.c: Likewise.
82635 * sunrpc/get_myaddr.c: Likewise.
82636 * sunrpc/key_call.c: Likewise.
82637 * sunrpc/key_prot.c: Likewise.
82638 * sunrpc/netname.c: Likewise.
82639 * sunrpc/pm_getmaps.c: Likewise.
82640 * sunrpc/pm_getport.c: Likewise.
82641 * sunrpc/pmap_clnt.c: Likewise.
82642 * sunrpc/pmap_prot.c: Likewise.
82643 * sunrpc/pmap_prot2.c: Likewise.
82644 * sunrpc/pmap_rmt.c: Likewise.
82645 * sunrpc/publickey.c: Likewise.
82646 * sunrpc/rpc_cmsg.c: Likewise.
82647 * sunrpc/rpc_common.c: Likewise.
82648 * sunrpc/rpc_dtable.c: Likewise.
82649 * sunrpc/rpc_prot.c: Likewise.
82650 * sunrpc/rpc_thread.c: Likewise.
82651 * sunrpc/rtime.c: Likewise.
82652 * sunrpc/svc.c: Likewise.
82653 * sunrpc/svc_auth.c: Likewise.
82654 * sunrpc/svc_raw.c: Likewise.
82655 * sunrpc/svc_run.c: Likewise.
82656 * sunrpc/svc_tcp.c: Likewise.
82657 * sunrpc/svc_udp.c: Likewise.
82658 * sunrpc/svc_unix.c: Likewise.
82659 * sunrpc/svcauth_des.c: Likewise.
82660 * sunrpc/xcrypt.c: Likewise.
82661 * sunrpc/xdr.c: Likewise.
82662 * sunrpc/xdr_array.c: Likewise.
82663 * sunrpc/xdr_float.c: Likewise.
82664 * sunrpc/xdr_intXX_t.c: Likewise.
82665 * sunrpc/xdr_mem.c: Likewise.
82666 * sunrpc/xdr_rec.c: Likewise.
82667 * sunrpc/xdr_ref.c: Likewise.
82668 * sunrpc/xdr_sizeof.c: Likewise.
82669 * sunrpc/xdr_stdio.c: Likewise.
82670
82671 2012-05-10 Roland McGrath <roland@hack.frob.com>
82672
82673 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
82674 change. Update copyright years.
82675
82676 2012-05-10 Joseph Myers <joseph@codesourcery.com>
82677
82678 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
82679
82680 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
82681 Joseph Myers <joseph@codesourcery.com>
82682 Paul Pluzhnikov <ppluzhnikov@google.com>
82683
82684 [BZ #14012]
82685 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
82686 requiring rpcgen.
82687 [cross-compiling] (extra-libs): Likewise.
82688 [cross-compiling] (extra-libs-others): Likewise.
82689 [cross-compiling] (librpcsvc-routines): Likewise.
82690 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
82691 [cross-compiling] (omit-deps): Likewise.
82692 (sunrpc-CPPFLAGS): New variable.
82693 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
82694 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
82695 (cross-rpcgen-objs): New variable.
82696 (extra-objs): Append $(cross-rpcgen-objs).
82697 ($(cross-rpcgen-objs)): New rule.
82698 ($(objpfx)cross-rpcgen): Likewise.
82699 (rpcgen-cmd): Define to use $(built-program-file). Expand
82700 comment.
82701 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
82702 ($(objpfx)x%.stmp): Likewise.
82703 * sunrpc/proto.h [IS_IN_build] (_): Define.
82704 [IS_IN_build] (_libc_intl_domainname): Likewise.
82705
82706 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82707
82708 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
82709 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
82710 and R_X86_64_TPOFF64.
82711
82712 2012-05-10 Joseph Myers <joseph@codesourcery.com>
82713
82714 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
82715 sysdeps/unix/sysv/syscalls.list.
82716 (stime): Likewise.
82717 (utime): Likewise.
82718 * sysdeps/unix/sysv/syscalls.list: Remove file.
82719
82720 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
82721
82722 [BZ #3440]
82723 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
82724 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
82725 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
82726 (__LC_IDENTIFICATION): Make these macros useful in #if
82727 expressions, as required by C99.
82728
82729 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
82730
82731 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
82732 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
82733 after this.
82734
82735 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
82736
82737 * stdlib/longlong.h: Updated from GCC.
82738
82739 2012-05-09 Andreas Jaeger <aj@suse.de>
82740
82741 * nscd/nscd.c (run_modes): Make named enum, reorder so that
82742 default is first entry.
82743 (run_mode): Set type.
82744 (main): Remove informal message about syslog.
82745 (options): Fix typo.
82746
82747 [BZ #14053]
82748 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
82749 to asm.
82750 (lrint): Likewise.
82751 (llrintf): Likewise.
82752 (llrint): Likewise.
82753 (rint): Likewise.
82754 (rintf): Likewise.
82755 (nearbyint): Likewise.
82756 (nearbyintf): Likewise.
82757
82758 2012-05-09 Andreas Jaeger <aj@suse.de>
82759 Pedro Alves <palves@redhat.com>
82760
82761 * nscd/nscd.c (run_mode): Use enum.
82762 (main): Cleanup coding style issue.
82763
82764 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
82765 Andreas Jaeger <aj@suse.de>
82766
82767 * nscd/nscd.c (go_background): Replaced with...
82768 (run_mode): ... this.
82769 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
82770 (options): Add -F --foreground.
82771 (main): Implement it.
82772 (parse_opt): Parse it.
82773
82774 2012-05-09 Andreas Jaeger <aj@suse.de>
82775
82776 [BZ #14083]
82777 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
82778 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
82779 -Wconversion warning.
82780 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
82781 Likewise.
82782
82783 2012-05-09 Joseph Myers <joseph@codesourcery.com>
82784
82785 * conform/data/locale.h-data (NULL): Use macro-constant. Require
82786 == 0.
82787 (LC_ALL): Use macro-int-constant.
82788 (LC_COLLATE): Likewise.
82789 (LC_CTYPE): Likewise.
82790 (LC_MESSAGES): Likewise.
82791 (LC_MONETARY): Likewise.
82792 (LC_NUMERIC): Likewise.
82793 (LC_TIME): Likewise.
82794 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
82795 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
82796 [ISO || ISO99 || ISO11] (*_t): Do not allow.
82797 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
82798 Specify type.
82799 [C99-based standards] (float_t): Expect type.
82800 [C99-based standards] (double_t): Expect type.
82801 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
82802 type.
82803 [C99-based standards] (HUGE_VALL): Likewise.
82804 [C99-based standards] (INFINITY): Likewise.
82805 [C99-based standards] (NAN): Likewise.
82806 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
82807 [C99-based standards] (FP_NAN): Likewise.
82808 [C99-based standards] (FP_NORMAL): Likewise.
82809 [C99-based standards] (FP_SUBNORMAL): Likewise.
82810 [C99-based standards] (FP_ZERO): Likewise.
82811 [C99-based standards] (FP_FAST_FMA): Use
82812 optional-macro-int-constant. Specify type. Require == 1.
82813 [C99-based standards] (FP_FAST_FMAF): Likewise.
82814 [C99-based standards] (FP_FAST_FMAL): Likewise.
82815 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
82816 [C99-based standards] (FP_ILOGBNAN): Likewise.
82817 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
82818 Specify type.
82819 [C99-based standards] (MATH_ERREXCEPT): Likewise.
82820 [C99-based standards] (math_errhandling): Specify type.
82821 [ISO99 || ISO11] (signgam): Do not allow.
82822 [non-C99-based standards] (copysignf): Do not allow.
82823 [non-C99-based standards] (exp2f): Likewise.
82824 [non-C99-based standards] (log2f): Likewise.
82825 [non-C99-based standards] (modff): Allow.
82826 [non-C99-based standards] (erff): Do not allow.
82827 [non-C99-based standards] (erfcf): Likewise.
82828 [non-C99-based standards] (gammaf): Likewise.
82829 [non-C99-based standards] (hypotf): Likewise.
82830 [non-C99-based standards] (j0f): Likewise.
82831 [non-C99-based standards] (j1f): Likewise.
82832 [non-C99-based standards] (jnf): Likewise.
82833 [non-C99-based standards] (lgammaf): Likewise.
82834 [non-C99-based standards] (tgammaf): Likewise.
82835 [non-C99-based standards] (y0f): Likewise.
82836 [non-C99-based standards] (y1f): Likewise.
82837 [non-C99-based standards] (ynf): Likewise.
82838 [non-C99-based standards] (isnanf): Likewise.
82839 [non-C99-based standards] (acoshf): Likewise.
82840 [non-C99-based standards] (asinhf): Likewise.
82841 [non-C99-based standards] (atanhf): Likewise.
82842 [non-C99-based standards] (cbrtf): Likewise.
82843 [non-C99-based standards] (expm1f): Likewise.
82844 [non-C99-based standards] (ilogbf): Likewise.
82845 [non-C99-based standards] (log1pf): Likewise.
82846 [non-C99-based standards] (logbf): Likewise.
82847 [non-C99-based standards] (nextafterf): Likewise.
82848 [non-C99-based standards] (remainderf): Likewise.
82849 [non-C99-based standards] (rintf): Likewise.
82850 [non-C99-based standards] (scalbf): Likewise.
82851 [non-C99-based standards] (copysignl): Likewise.
82852 [non-C99-based standards] (exp2l): Likewise.
82853 [non-C99-based standards] (log2l): Likewise.
82854 [non-C99-based standards] (modfl): Allow.
82855 [non-C99-based standards] (erfl): Do not allow.
82856 [non-C99-based standards] (erfcl): Likewise.
82857 [non-C99-based standards] (gammal): Likewise.
82858 [non-C99-based standards] (hypotl): Likewise.
82859 [non-C99-based standards] (j0l): Likewise.
82860 [non-C99-based standards] (j1l): Likewise.
82861 [non-C99-based standards] (jnl): Likewise.
82862 [non-C99-based standards] (lgammal): Likewise.
82863 [non-C99-based standards] (tgammal): Likewise.
82864 [non-C99-based standards] (y0l): Likewise.
82865 [non-C99-based standards] (y1l): Likewise.
82866 [non-C99-based standards] (ynl): Likewise.
82867 [non-C99-based standards] (isnanl): Likewise.
82868 [non-C99-based standards] (acoshl): Likewise.
82869 [non-C99-based standards] (asinhl): Likewise.
82870 [non-C99-based standards] (atanhl): Likewise.
82871 [non-C99-based standards] (cbrtl): Likewise.
82872 [non-C99-based standards] (expm1l): Likewise.
82873 [non-C99-based standards] (ilogbl): Likewise.
82874 [non-C99-based standards] (log1pl): Likewise.
82875 [non-C99-based standards] (logbl): Likewise.
82876 [non-C99-based standards] (nextafterl): Likewise.
82877 [non-C99-based standards] (remainderl): Likewise.
82878 [non-C99-based standards] (rintl): Likewise.
82879 [non-C99-based standards] (scalbl): Likewise.
82880 [ISO || ISO99 || ISO11] (*_t): Do not allow.
82881 [non-C99-based standards] (FP_*): Do not allow.
82882 [C99-based standards] (FP_*): Change to
82883 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
82884 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
82885 allow.
82886 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
82887 (SIG_ERR): Likewise.
82888 [X/Open-based standards] (SIG_HOLD): Likewise.
82889 (SIG_IGN): Likewise.
82890 (SIGABRT): Use macro-int-constant. Specify type. Require
82891 positive value.
82892 (SIGFPE): Likewise.
82893 (SIGILL): Likewise.
82894 (SIGINT): Likewise.
82895 (SIGSEGV): Likewise.
82896 (SIGTER): Likewise.
82897 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
82898 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
82899 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
82900 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
82901 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
82902 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
82903 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
82904 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
82905 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
82906 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
82907 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
82908 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
82909 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
82910 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
82911 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
82912 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
82913 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
82914 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
82915 [X/Open-based standards] (SIGTRAP): Likewise.
82916 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
82917 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
82918 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
82919 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
82920 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
82921 allow.
82922
82923 2012-05-08 Ian Wienand <ianw@vmware.com>
82924
82925 [BZ #14080]
82926 * time/tzset.c (__tzset_parse_tz): Update default rules for
82927 daylight time changes in the Energy Policy Act of 2005.
82928
82929 2012-05-09 Andreas Jaeger <aj@suse.de>
82930
82931 [BZ #13983]
82932 * elf/ldconfig.c (parse_conf): Change string to make clear that
82933 ldconfig only issued a warning if ld.so.conf does not exist.
82934
82935 2012-05-08 David S. Miller <davem@davemloft.net>
82936
82937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
82938 movxtod instead of popping the value on the stack.
82939
82940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
82941
82942 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
82943
82944 * config.h.in: Add HAVE_ARM_PCS_VFP.
82945
82946 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
82947
82948 [BZ #13979]
82949 * include/features.h: Warn if user requests __FORTIFY_SOURCE
82950 checking but the checks are disabled for any reason.
82951
82952 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
82953
82954 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
82955 and ELF64_R_TYPE with ELFW(R_TYPE).
82956
82957 2012-05-08 Joseph Myers <joseph@codesourcery.com>
82958
82959 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
82960 (ulimit): Likewise.
82961
82962 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
82963 (settimeofday): Likewise.
82964
82965 2012-05-08 Mike Frysinger <vapier@gentoo.org>
82966
82967 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
82968 a struct th_u2 inside the union, and move tu_block/tu_code into
82969 a new th_u3 union of tu_block/tu_code inside of that. Move
82970 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
82971 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
82972 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
82973 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
82974 (th_stuff): Change to th_u1.tu_stuff.
82975 (th_data): Define.
82976 (th_msg): Change to th_u1.th_u2.tu_data.
82977
82978 2012-05-07 David S. Miller <davem@davemloft.net>
82979
82980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
82981
82982 [BZ #14074]
82983 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
82984 (SETUP_PIC_REG): Use it.
82985 (SETUP_PIC_REG_LEAF): Use it.
82986
82987 2012-05-07 Joseph Myers <joseph@codesourcery.com>
82988
82989 [BZ #13885]
82990 [BZ #13923]
82991 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
82992 USE_AS_EXPM1L.
82993 (EXPL_FINITE): Likewise.
82994 (FLDLOG): Likewise.
82995 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
82996 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
82997 e_expl.S.
82998 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
82999 USE_AS_EXPM1L.
83000 (EXPL_FINITE): Likewise.
83001 (FLDLOG): Likewise.
83002 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83003 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83004 e_expl.S.
83005 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
83006 test of -max_value argument for long double.
83007 * sysdeps/i386/fpu/libm-test-ulps: Update.
83008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83009
83010 2012-05-06 David S. Miller <davem@davemloft.net>
83011
83012 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
83013 quad soft-float symbols whose references which are compiler
83014 generated.
83015 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
83016
83017 2012-05-06 Joseph Myers <joseph@codesourcery.com>
83018
83019 [BZ #13884]
83020 [BZ #13914]
83021 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83022 USE_AS_EXP10L.
83023 (EXPL_FINITE): Likewise.
83024 (FLDLOG): Likewise.
83025 (c0): Likewise.
83026 (c1): Likewise.
83027 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
83028 Adjust comments for base varying.
83029 (__expl_finite): Change alias to EXPL_FINITE.
83030 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
83031 e_expl.S.
83032 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
83033 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
83034 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
83035 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
83036 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83037 USE_AS_EXP10L.
83038 (EXPL_FINITE): Likewise.
83039 (FLDLOG): Likewise.
83040 (c0): Likewise.
83041 (c1): Likewise.
83042 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
83043 Adjust comments for base varying.
83044 (__expl_finite): Change alias to EXPL_FINITE.
83045 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
83046 tests for bugs.
83047 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83048
83049 [BZ #14064]
83050 * math/libm-test.inc (check_float_internal): Correct ulp
83051 calculation for subnormal expected results.
83052
83053 2012-05-06 Andreas Jaeger <aj@suse.de>
83054
83055 * Makeconfig (+math-flags): New, set to -frounding-math.
83056 (+cflags): Add +math-flags so that all of glibc gets compiled with
83057 it.
83058
83059 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
83060
83061 2012-05-05 Joseph Myers <joseph@codesourcery.com>
83062
83063 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
83064 Disable one test.
83065
83066 [BZ #13787]
83067 [BZ #13922]
83068 [BZ #14036]
83069 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
83070 (__ieee754_expl): Allow for and saturate large arguments.
83071 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
83072 (u_threshold): Likewise.
83073 (__exp): Call __ieee754_exp before checking for overflow and
83074 underflow.
83075 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
83076 (u_threshold): Likewise.
83077 (__expf): Call __ieee754_expf before checking for overflow and
83078 underflow.
83079 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
83080 (u_threshold): Likewise.
83081 (__expl): Call __ieee754_expl before checking for overflow and
83082 underflow.
83083 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
83084 (__ieee754_expl): Allow for and saturate large arguments.
83085 * math/libm-test.inc (exp_test): Add another test. Do not allow
83086 missing overflow exception on overflow.
83087 (expm1_test): Do not allow missing overflow exception on overflow.
83088
83089 * sysdeps/i386/fpu/e_expl.c: Move to ...
83090 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
83091 rather than using inline asm.
83092 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
83093 * sysdeps/x86_64/fpu/e_expl.S: Copy from
83094 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
83095
83096 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
83097 (nice): Likewise.
83098 (poll): Likewise.
83099 (signal): Likewise.
83100 (time): Likewise.
83101 (times): Likewise.
83102
83103 2012-05-04 Joseph Myers <joseph@codesourcery.com>
83104
83105 * sysdeps/unix/syscalls.list (adjtime): Add entry from
83106 sysdeps/unix/common/syscalls.list.
83107 (fchmod): Likewise.
83108 (fchown): Likewise.
83109 (ftruncate): Likewise.
83110 (getrusage): Likewise.
83111 (gettimeofday): Likewise.
83112 (setpgid): Likewise.
83113 (setregid): Likewise.
83114 (setreuid): Likewise.
83115 (sigaction): Likewise.
83116 (truncate): Likewise.
83117 (vhangup): Likewise.
83118 * sysdeps/unix/common/syscalls.list: Remove file.
83119 * sysdeps/unix/bsd/Implies: Don't include unix/common.
83120 * sysdeps/unix/sysv/linux/Implies: Likewise.
83121
83122 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
83123
83124 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
83125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
83126 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
83127 Moved to ...
83128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
83129 Here.
83130 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
83131 to ...
83132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
83133 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
83134 to ...
83135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
83136 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
83137 to ...
83138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
83139 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
83140 to ...
83141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
83142 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
83143 to ...
83144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
83145 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
83146 to ...
83147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
83148 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
83149 to ...
83150 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
83151 Here.
83152 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
83153 to ...
83154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
83155 Here.
83156 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
83157 to ...
83158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
83159 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
83160 Moved to ...
83161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
83162 Here.
83163 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
83164 to ...
83165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
83166
83167 2012-05-04 Joseph Myers <joseph@codesourcery.com>
83168
83169 * sysdeps/unix/common/bits/dirent.h: Remove file.
83170 * sysdeps/unix/common/bits/fcntl.h: Likewise.
83171
83172 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
83173 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
83174 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
83175 * sysdeps/unix/bsd/isatty.c: Likewise.
83176 * sysdeps/unix/bsd/tcdrain.c: Likewise.
83177 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
83178 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
83179
83180 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
83181
83182 [BZ #13563]
83183 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
83184 long double comparison inaccuracies.
83185 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
83186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83187
83188 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
83189
83190 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
83191 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
83192
83193 2012-05-04 Joseph Myers <joseph@codesourcery.com>
83194
83195 [BZ #14049]
83196 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
83197 nonzero digits before rounding a hex value.
83198 * stdlib/tst-strtod.c (tests): Add another test.
83199
83200 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83201
83202 * sysdeps/s390/fpu/libm-test-ulps: Update.
83203
83204 2012-05-03 Andreas Jaeger <aj@suse.de>
83205
83206 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
83207 does not get optimized out.
83208 (malloc_opt_barrier): New.
83209
83210 2012-05-03 Andreas Jaeger <aj@suse.de>
83211 Roland McGrath <roland@hack.frob.com>
83212
83213 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
83214 intermediate file deletion.
83215 (generated): Add .symlist files.
83216
83217 2012-05-03 Joseph Myers <joseph@codesourcery.com>
83218
83219 [BZ #13775]
83220 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
83221 Redirect under this condition.
83222 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83223 [__USE_GNU] (__dprintf_chk): Not under this condition.
83224 [__USE_GNU] (__vdprintf_chk): Likewise.
83225 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
83226 under this condition.
83227 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83228 [__USE_XOPEN2K8] (dprintf): Define under this condition.
83229 [__USE_XOPEN2K8] (vdprintf): Likewise.
83230 [__USE_GNU] (__dprintf_chk): Not under this condition.
83231 [__USE_GNU] (__vdprintf_chk): Likewise.
83232 [__USE_GNU] (dprintf): Likewise.
83233 [__USE_GNU] (vdprintf): Likewise.
83234
83235 2012-05-03 Roland McGrath <roland@hack.frob.com>
83236
83237 * elf/Makefile (common-generated): Set this instead of generated for
83238 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
83239 $(all-built-dso)-derived lists.
83240
83241 2012-05-03 Andreas Jaeger <aj@suse.de>
83242
83243 * sysdeps/i386/fpu/libm-test-ulps: Update.
83244
83245 * FAQ: Removed.
83246 * FAQ.in: Likewise.
83247 * scripts/gen-FAQ.pl: Likewise.
83248 * manual/install.texi (Installation): Point to online location of
83249 FAQ.
83250 * Makefile (files-for-dist): Remove FAQ.
83251 (FAQ): Remove.
83252
83253 2012-05-02 Allan McRae <allan@archlinux.org>
83254
83255 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
83256 (LDFLAGS-reldepmod5.so): Likewise.
83257 (LDFLAGS-reldep6mod1.so): Likewise.
83258 (LDFLAGS-reldep6mod4.so): Likewise.
83259 (LDFLAGS-reldep8mod3.so): Likewise.
83260 (LDFLAGS-unload4mod1.so): Likewise.
83261 (LDFLAGS-unload4mod2.so): Likewise.
83262 (LDFLAGS-tst-initorder): Likewise.
83263 (LDFLAGS-tst-initordera2.so): Likewise.
83264 (LDFLAGS-tst-initordera3.so): Likewise.
83265 (LDFLAGS-tst-initordera4.so): Likewise.
83266 (LDFLAGS-tst-initorderb2.so): Likewise.
83267 (LDFLAGS-noload): Likewise.
83268 (LDFLAGS-next): Likewise.
83269 (LDFLAGS-order2mod1.so): Likewise.
83270 (LDFLAGS-order2mod2.so): Likewise.
83271 (LDFLAGS-tst-initorder2): Likewise.
83272 (LDFLAGS-tst-initorder2a.so): Likewise.
83273 (LDFLAGS-tst-initorder2b.so): Likewise.
83274 (LDFLAGS-tst-initorder2c.so): Likewise.
83275 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
83276
83277 2012-05-02 David S. Miller <davem@davemloft.net>
83278
83279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83280
83281 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
83282
83283 [BZ #14055]
83284 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
83285
83286 2012-05-02 Andreas Jaeger <aj@suse.de>
83287
83288 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
83289 since we manipulate rounding mode.
83290 (CPPFLAGS-test-idouble.c): Likewise.
83291 (CPPFLAGS-test-ifloat.c): Likewise.
83292 (CFLAGS-test-ldouble.c): Likewise.
83293 (CFLAGS-test-double.c): Likewise.
83294 (CFLAGS-test-float.c): Likewise.
83295 (CFLAGS-test-misc.c): Likewise.
83296 (CFLAGS-test-test-fenv.c): Likewise.
83297
83298 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
83299
83300 [BZ #2550]
83301 [BZ #2570]
83302 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
83303 comparisons to determine direction to adjust input.
83304
83305 2012-05-01 Roland McGrath <roland@hack.frob.com>
83306
83307 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
83308 output to the target.
83309
83310 * scripts/localplt.awk: New file.
83311 * elf/Makefile ($(objpfx)check-localplt): Target removed.
83312 (check-localplt-CFLAGS): Variable removed.
83313 ($(all-built-dso:=.jmprel)): New static pattern rule.
83314 (generated): Add those targets.
83315 (localplt-built-dso): New variable.
83316 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
83317
83318 * elf/check-localplt.c: File removed.
83319
83320 * scripts/check-execstack.awk: New file.
83321 * elf/Makefile ($(objpfx)check-execstack): Target removed.
83322 (check-execstack-CFLAGS): Variable removed.
83323 ($(objpfx)check-execstack.h): Target removed.
83324 ($(objpfx)execstack-default): New target.
83325 (generated): Add that instead of check-execstack.h.
83326 ($(all-built-dso:=.phdr)): New static pattern rule.
83327 (generated): Add those targets.
83328 * elf/check-execstack.c: File removed.
83329
83330 * scripts/check-textrel.awk: New file.
83331 * elf/Makefile ($(objpfx)check-textrel): Target removed.
83332 (check-textrel-CFLAGS): Variable removed.
83333 (all-built-dso): Use := to define.o
83334 ($(all-built-dso:=.dyn)): New static pattern rule.
83335 (generated): Add those targets.
83336 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
83337 * config.make.in (READELF): New substituted variable.
83338 * elf/check-textrel.c: File removed.
83339
83340 2012-05-01 Joseph Myers <joseph@codesourcery.com>
83341
83342 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83343 allow.
83344 * conform/data/ctype.h-data [C99-based standards] (isblank):
83345 Expect function.
83346 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
83347 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
83348 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83349 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
83350 Specify type. Require positive value.
83351 (EILSEQ): Likewise.
83352 (ERANGE): Likewise.
83353 [ISO || POSIX] (EILSEQ): Do not expect.
83354 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
83355 Specify type. Require positive value.
83356 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
83357 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
83358 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
83359 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
83360 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
83361 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
83362 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
83363 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
83364 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
83365 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
83366 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
83367 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
83368 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
83369 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
83370 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
83371 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
83372 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
83373 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
83374 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
83375 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
83376 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
83377 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
83378 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
83379 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
83380 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
83381 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
83382 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
83383 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
83384 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
83385 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
83386 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
83387 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
83388 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
83389 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
83390 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
83391 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
83392 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
83393 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
83394 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
83395 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
83396 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
83397 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
83398 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
83399 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
83400 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
83401 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
83402 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
83403 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
83404 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
83405 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
83406 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
83407 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
83408 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
83409 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
83410 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
83411 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
83412 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
83413 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
83414 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
83415 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
83416 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
83417 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
83418 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
83419 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
83420 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
83421 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
83422 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
83423 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
83424 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
83425 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
83426 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
83427 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
83428 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
83429 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
83430 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
83431 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
83432 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
83433 Require >= 2.
83434 (FLT_ROUNDS): Expect as macro, not constant.
83435 (FLT_MANT_DIG): Use macro-int-constant.
83436 (DBL_MANT_DIG): Likewise.
83437 (LDBL_MANT_DIG): Likewise.
83438 (FLT_DIG): Likewise.
83439 (DBL_DIG): Likewise.
83440 (LDBL_DIG): Likewise.
83441 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
83442 (DBL_MIN_EXP): Likewise.
83443 (LDBL_MIN_EXP): Likewise.
83444 (FLT_MAX_EXP): Use macro-int-constant.
83445 (DBL_MAX_EXP): Likewise.
83446 (LDBL_MAX_EXP): Likewise.
83447 (FLT_MAX_10_EXP): Likewise.
83448 (DBL_MAX_10_EXP): Likewise.
83449 (LDBL_MAX_10_EXP): Likewise.
83450 (FLT_MAX): Use macro-constant.
83451 (DBL_MAX): Likewise.
83452 (LDBL_MAX): Likewise.
83453 (FLT_EPSILON): Use macro-constant. Give upper bound.
83454 (DBL_EPSILON): Likewise.
83455 (LDBL_EPSILON): Likewise.
83456 (FLT_MIN): Likewise.
83457 (DBL_MIN): Likewise.
83458 (LDBL_MIN): Likewise.
83459 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
83460 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
83461 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
83462 [ISO11] (FLT_HAS_SUBNORM): Likewise.
83463 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
83464 [ISO11] (DBL_DECIMAL_DIG): Likewise.
83465 [ISO11] (FLT_DECIMAL_DIG): Likewise.
83466 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
83467 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
83468 [ISO11] (FLT_TRUE_MIN): Likewise.
83469 [ISO11] (LDBL_TRUE_MIN): Likewise.
83470 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83471 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
83472 (SCHAR_MIN): Use macro-int-constant. Specify type.
83473 (SCHAR_MAX): Likewise.
83474 (UCHAR_MAX): Likewise.
83475 (CHAR_MIN): Likewise.
83476 (CHAR_MAX): Likewise.
83477 (MB_LEN_MAX): Use macro-int-constant.
83478 (SHRT_MIN): Use macro-int-constant. Specify type.
83479 (SHRT_MAX): Likewise.
83480 (USHRT_MAX): Likewise.
83481 (INT_MAX): Likewise.
83482 (INT_MIN): Use macro-int-constant. Specify type. Make upper
83483 bound negative.
83484 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
83485 bound with "U".
83486 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
83487 bound with "L".
83488 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
83489 bound negative. Suffix upper bound with "L".
83490 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
83491 bound with "UL".
83492 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
83493 Specify type.
83494 [C99-based standards] (LLONG_MAX): Likewise.
83495 [C99-based standards] (ULLONG_MAX): Likewise.
83496 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
83497 == 0.
83498 [ISO11] (max_align_t): Require type.
83499 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83500
83501 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
83502 from $CFLAGS, without defining away __attribute__ calls.
83503 (checknamespace): Use $CFLAGS_namespace.
83504
83505 * conform/conformtest.pl (@keywords): Only include C99 keywords
83506 for standards based on C99 or C11.
83507
83508 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
83509 Disable tests.
83510 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
83511 UNIX98]: Likewise.
83512
83513 * conform/conformtest.pl: Handle "macro-int-constant" and test for
83514 usability of symbols in #if.
83515
83516 * conform/conformtest.pl: If macro or constant types start
83517 "promoted:", expect the symbol to be of the following type
83518 promoted by the integer promotions.
83519
83520 * conform/conformtest.pl: Parse all "constant" and "macro" lines
83521 in one place. Also handle "macro-constant".
83522
83523 * conform/conformtest.pl: Only accept expected macro values with
83524 "==". Parse all "macro" lines in one place.
83525 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
83526
83527 * conform/conformtest.pl: Handle braced types on "constant" lines
83528 instead of handling "typed-constant".
83529 * conform/data/signal.h-data: Use "constant" instead of
83530 "typed-constant".
83531
83532 * conform/conformtest.pl: Handle "optional-" at start of lines in
83533 one place rather than duplicating several cases. Handle each
83534 format of "macro" line with initial "optional-".
83535
83536 * conform/conformtest.pl: Only accept expected constant or
83537 optional-constant values with "==". Parse all "constant" lines in
83538 one place. Parse all "optional-constant" lines in one place.
83539 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
83540 * conform/data/fmtmsg.h-data: Likewise.
83541 * conform/data/netinet/in.h-data: Likewise.
83542 * conform/data/tar.h-data: Likewise.
83543 * conform/data/limits.h-data: Use "==" form on "constant" and
83544 "optional-constant" lines.
83545
83546 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
83547 Use -std=c99 for XOPEN2K.
83548 (@knownproblems): Remove.
83549 (newtoken): Don't check %isknown.
83550
83551 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
83552 Do not expect macro.
83553 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
83554 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
83555 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
83556 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
83557 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
83558 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
83559 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
83560 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
83561 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
83562 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
83563 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
83564 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
83565 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
83566 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
83567 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
83568 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
83569 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
83570 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
83571 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
83572 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
83573 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
83574 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
83575 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
83576 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
83577 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
83578 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
83579 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
83580 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
83581 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
83582 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
83583 [XPG3] (acosh): Likewise.
83584 [XPG3] (asinh): Likewise.
83585 [XPG3] (atanh): Likewise.
83586 [XPG3] (cbrt): Likewise.
83587 [XPG3] (expm1): Likewise.
83588 [XPG3] (ilogb): Likewise.
83589 [XPG3] (log1p): Likewise.
83590 [XPG3] (logb): Likewise.
83591 [XPG3] (nextafter): Likewise.
83592 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
83593 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
83594 [XPG3] (remainder): Likewise.
83595 [XPG3] (rint): Likewise.
83596 [XPG3 || XPG4 || UNIX98] (round): Likewise.
83597 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
83598 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
83599 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
83600 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
83601 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
83602 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
83603 [UNIX98 || XOPEN2K] (scalb): Expect.
83604 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
83605 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
83606 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
83607 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
83608 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
83609 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
83610 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
83611 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
83612 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
83613 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
83614 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
83615 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
83616 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
83617 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
83618 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
83619 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
83620 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
83621 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
83622 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
83623 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
83624 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
83625 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
83626 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
83627 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
83628 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
83629 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
83630 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
83631 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
83632 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
83633 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
83634 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
83635 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
83636 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
83637 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
83638 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
83639 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
83640 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
83641 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
83642 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
83643 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
83644 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
83645 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
83646 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
83647 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
83648 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
83649 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
83650 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
83651 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
83652 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
83653 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
83654 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
83655 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
83656 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
83657 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
83658 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
83659 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
83660 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
83661 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
83662 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
83663 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
83664 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
83665 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
83666 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
83667 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
83668 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
83669 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
83670 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
83671 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
83672 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
83673 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
83674 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
83675 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
83676 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
83677 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
83678 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
83679 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
83680 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
83681 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
83682 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
83683 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
83684 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
83685 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
83686 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
83687 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
83688 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
83689 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
83690 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
83691 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
83692 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
83693 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
83694 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
83695 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
83696 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
83697 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
83698 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
83699 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
83700 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
83701 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
83702 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
83703 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
83704 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
83705 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
83706 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
83707 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
83708 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
83709 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
83710 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
83711 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
83712 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
83713 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
83714 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
83715 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
83716 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
83717 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
83718 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
83719 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
83720 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
83721 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
83722 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
83723 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
83724 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
83725 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
83726 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
83727 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
83728 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
83729 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
83730 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
83731 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
83732 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
83733 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
83734 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
83735 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
83736 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
83737 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
83738 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
83739 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
83740 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
83741
83742 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
83743 _XOPEN_SOURCE_EXTENDED for XPG4.
83744
83745 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
83746
83747 * Makeconfig (localtime): Remove variable.
83748 (inst_localtime-file): Likewise.
83749
83750 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
83751
83752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
83753 Update.
83754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
83755 Update.
83756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
83757 Update.
83758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
83759 Update.
83760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
83761 Update.
83762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
83763 Update.
83764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
83765 Update.
83766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
83767 Update.
83768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
83769 Update.
83770
83771 2012-05-01 Joseph Myers <joseph@codesourcery.com>
83772
83773 [BZ #2550]
83774 [BZ #2570]
83775 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
83776 comparisons to determine direction to adjust input.
83777 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
83778 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
83779 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
83780 Likewise.
83781 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
83782 Likewise.
83783 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
83784 Likewise.
83785 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
83786 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
83787 Likewise.
83788 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
83789 Likewise.
83790 * math/libm-test.inc (nexttoward_test): Add more tests.
83791
83792 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
83793
83794 [BZ #14040]
83795 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
83796 in version GLIBC_2.1, not GLIBC_2.0.
83797 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
83798 Likewise.
83799
83800 2012-04-30 Joseph Myers <joseph@codesourcery.com>
83801
83802 [BZ #13942]
83803 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
83804 (1 - x) * (1 + x).
83805 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
83806 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
83807 * math/libm-test.inc (acos_test): Add more tests.
83808 (asin_test): Likewise.
83809 * sysdeps/i386/fpu/libm-test-ulps: Update.
83810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83811
83812 [BZ #14034]
83813 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
83814 of square root.
83815 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
83816 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
83817 * math/libm-test.inc (acos_test_tonearest): New function.
83818 (acos_test_towardzero): Likewise.
83819 (acos_test_downward): Likewise.
83820 (acos_test_upward): Likewise.
83821 (asin_test_tonearest): Likewise.
83822 (asin_test_towardzero): Likewise.
83823 (asin_test_downward): Likewise.
83824 (asin_test_upward): Likewise.
83825 (main): Call the new functions.
83826 * sysdeps/i386/fpu/libm-test-ulps: Update.
83827 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83828
83829 [BZ #13884]
83830 [BZ #13924]
83831 * math/e_exp10.c: Include <float.h>.
83832 (__ieee754_exp10): Handle underflow here rather than multiplying
83833 large negative argument by M_LN10.
83834 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
83835 of __ieee754_expf.
83836 * math/e_exp10l.c: Include <float.h>.
83837 (__ieee754_exp10l): Handle underflow here rather than multiplying
83838 large negative argument by M_LN10l.
83839 * math/libm-test.inc (exp10_test): Add another test. Do not allow
83840 spurious overflow exception on underflow.
83841
83842 2012-04-29 Marek Polacek <polacek@redhat.com>
83843
83844 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
83845 (__fortify_function): New macro.
83846 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
83847 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
83848 __extern_always_inline.
83849 * libio/bits/stdio2.h: Likewise.
83850 * libio/bits/stdio.h: Likewise.
83851 * string/string.h: Likewise.
83852 * string/bits/string3.h: Likewise.
83853 * include/stdio.h: Likewise.
83854 * stdlib/bits/stdlib.h: Likewise.
83855 * stdlib/stdlib.h: Likewise.
83856 * rt/bits/mqueue2.h: Likewise.
83857 * rt/mqueue.h: Likewise.
83858 * posix/bits/unistd.h: Likewise.
83859 * posix/unistd.h: Likewise.
83860 * io/bits/poll2.h: Likewise.
83861 * io/bits/fcntl2.h: Likewise.
83862 * io/fcntl.h: Likewise.
83863 * io/sys/poll.h: Likewise.
83864 * misc/bits/syslog.h: Likewise.
83865 * misc/bits/syslog-ldbl.h: Likewise.
83866 * misc/sys/syslog.h: Likewise.
83867 * socket/bits/socket2.h: Likewise.
83868 * socket/sys/socket.h: Likewise.
83869 * debug/tst-chk1.c: Likewise.
83870 * wcsmbs/bits/wchar2.h: Likewise.
83871 * wcsmbs/bits/wchar-ldbl.h: Likewise.
83872 * wcsmbs/wchar.h: Likewise.
83873
83874 2012-04-29 Andreas Jaeger <aj@suse.de>
83875
83876 * Makerules (tests): Remove enable-check-abi protection.
83877 (check-abi-warn): Remove.
83878 (check-abi-%): Remove check-abi-warn usage.
83879
83880 * configure.in: Remove check-abi configure option.
83881 * configure: Regenerated.
83882 * config.make.in (enable-check-abi): Remove.
83883
83884 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
83885
83886 [BZ #14033]
83887 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
83888 double functions to double *_finite functions.
83889
83890 [BZ #13941]
83891 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
83892 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
83893 LDBL_MIN_EXP.
83894 * stdio-common/Makefile (tests): Add tst-sprintf3.
83895 * stdio-common/tst-sprintf3.c: New file.
83896
83897 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
83898 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
83899
83900 2012-04-28 Joseph Myers <joseph@codesourcery.com>
83901
83902 * conform/conformtest.pl: Remove duplicate typed-constant
83903 handling.
83904
83905 2012-04-28 David S. Miller <davem@davemloft.net>
83906
83907 * Makerules (%.abilist): Add vpath on sysdep_dirs.
83908 (check-abi-%): Remove AWK script prerequisite and explicit
83909 abilist directory.
83910 (check-abi): Rewrite to just diff the symlist with the abilist.
83911 (config-tls, config-abi-config): Delete, no longer used.
83912 (update-abi-%): Remove AWK script and explicit abilist directory.
83913 (update-abi): Rewrite to simply compare and conditionally copy the
83914 symlist and the sysdep abilist file. Remove update-abi-config
83915 checks.
83916 * abilist/ld.abilist: Remove.
83917 * abilist/libBrokenLocale.abilist: Remove.
83918 * abilist/libanl.abilist: Remove.
83919 * abilist/libcrypt.abilist: Remove.
83920 * abilist/libdl.abilist: Remove.
83921 * abilist/librt.abilist: Remove.
83922 * abilist/libthread_db.abilist: Remove.
83923 * abilist/libutil.abilist: Remove.
83924 * scripts/extract-abilist.awk: Remove.
83925 * scripts/merge-abilist.awk: Remove.
83926 * sysdeps/generic/libcidn.abilist: New file.
83927 * sysdeps/generic/libnss_compat.abilist: New file.
83928 * sysdeps/generic/libnss_db.abilist: New file.
83929 * sysdeps/generic/libnss_dns.abilist: New file.
83930 * sysdeps/generic/libnss_files.abilist: New file.
83931 * sysdeps/generic/libnss_hesiod.abilist: New file.
83932 * sysdeps/generic/libnss_nis.abilist: New file.
83933 * sysdeps/generic/libnss_nisplus.abilist: New file.
83934 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
83935 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
83936 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
83937 file.
83938 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
83939 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
83940 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
83941 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
83942 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
83943 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
83944 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
83945 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
83946 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
83947 file.
83948 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
83949 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
83950 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
83951 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
83952 file.
83953 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
83954 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
83955 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
83956 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
83957 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
83958 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
83959 file.
83960 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
83961 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
83962 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
83963 file.
83964 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
83965 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
83966 New file.
83967 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
83968 New file.
83969 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
83970 New file.
83971 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
83972 New file.
83973 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
83974 New file.
83975 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
83976 New file.
83977 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
83978 New file.
83979 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
83980 New file.
83981 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
83982 New file.
83983 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
83984 New file.
83985 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
83986 New file.
83987 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
83988 New file.
83989 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
83990 New file.
83991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
83992 file.
83993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
83994 New file.
83995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
83996 New file.
83997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
83998 file.
83999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
84000 New file.
84001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
84002 New file.
84003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
84004 file.
84005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
84006 New file.
84007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
84008 New file.
84009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
84010 New file.
84011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
84012 New file.
84013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
84014 New file.
84015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
84016 New file.
84017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
84018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
84019 file.
84020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
84021 New file.
84022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
84023 file.
84024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
84025 file.
84026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
84027 file.
84028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
84029 file.
84030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
84031 file.
84032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
84033 New file.
84034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
84035 file.
84036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
84037 file.
84038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
84039 New file.
84040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
84041 file.
84042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
84043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
84044 file.
84045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
84046 New file.
84047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
84048 file.
84049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
84050 file.
84051 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
84052 file.
84053 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
84054 file.
84055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
84056 file.
84057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
84058 New file.
84059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
84060 file.
84061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
84062 file.
84063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
84064 New file.
84065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
84066 file.
84067 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
84068 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
84069 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
84070 file.
84071 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
84072 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
84073 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
84074 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
84075 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
84076 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
84077 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
84078 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
84079 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
84080 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
84081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
84082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
84083 file.
84084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
84085 New file.
84086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
84087 file.
84088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
84089 file.
84090 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
84091 file.
84092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
84093 file.
84094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
84095 file.
84096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
84097 New file.
84098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
84099 New file.
84100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
84101 file.
84102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
84103 New file.
84104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
84105 file.
84106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
84107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
84108 file.
84109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
84110 New file.
84111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
84112 file.
84113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
84114 file.
84115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
84116 file.
84117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
84118 file.
84119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
84120 file.
84121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
84122 New file.
84123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
84124 New file.
84125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
84126 file.
84127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
84128 New file.
84129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
84130 file.
84131
84132 2012-04-28 Joseph Myers <joseph@codesourcery.com>
84133
84134 * conform/conformtest.pl: Fix typo in handling typed-constant from
84135 allow-header.
84136
84137 2012-04-27 Joseph Myers <joseph@codesourcery.com>
84138
84139 * README: Cut down references to pre-2.6 Linux kernels and
84140 Linuxthreads. Update lists of configurations in libc and ports
84141 and sort alphabetically. Say "or newer" with Linux kernel version
84142 requirements.
84143
84144 * config.h.in [IS_IN_build]: Allow compiling without optimization.
84145
84146 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
84147
84148 [BZ #887]
84149 * math/libm-test.inc (logb_test_downward): New test to expose
84150 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
84151 rounding mode.
84152
84153 2012-04-27 Joseph Myers <joseph@codesourcery.com>
84154
84155 [BZ #14027]
84156 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
84157 to be done.
84158 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
84159 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
84160
84161 2012-04-26 Joseph Myers <joseph@codesourcery.com>
84162
84163 * sysdeps/unix/i386/brk.S: Remove file.
84164 * sysdeps/unix/i386/dl-brk.S: Likewise.
84165 * sysdeps/unix/i386/pipe.S: Likewise.
84166 * sysdeps/unix/i386/sigreturn.S: Likewise.
84167 * sysdeps/unix/i386/syscall.S: Likewise.
84168 * sysdeps/unix/i386/vfork.S: Likewise.
84169 * sysdeps/unix/i386/wait.S: Likewise.
84170
84171 * sysdeps/unix/common/tcsendbrk.c: Move to ...
84172 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
84173
84174 * configure.in (arm*-none*): Do not allow without
84175 --enable-hacker-mode.
84176 (netbsd*): Remove case setting base_os.
84177 (386bsd*): Likewise.
84178 (freebsd*): Likewise.
84179 (bsdi*): Likewise.
84180 (osf*): Likewise.
84181 (sunos*): Likewise.
84182 (ultrix*): Likewise.
84183 (newsos*): Likewise.
84184 (dynix*): Likewise.
84185 (*bsd*): Likewise.
84186 (sysv*): Likewise.
84187 (isc*): Likewise.
84188 (esix*): Likewise.
84189 (sco*): Likewise.
84190 (minix*): Likewise.
84191 (irix4*): Likewise.
84192 (irix6*): Likewise.
84193 (solaris[2-9]*): Likewise.
84194 (none): Likewise.
84195 * configure: Regenerated.
84196
84197 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84198
84199 [BZ #11521]
84200 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
84201 overflow or cancellation in calculating denominator.
84202 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
84203 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
84204 down expression to avoid unexpected rounding in newer GCCs.
84205 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
84206
84207 2012-04-26 David S. Miller <davem@davemloft.net>
84208
84209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
84210 long-double compat symbols.
84211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
84212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
84213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
84214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
84215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
84216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
84217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
84218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
84219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
84220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
84221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
84222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
84223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
84224
84225 2012-04-25 David S. Miller <davem@davemloft.net>
84226
84227 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
84228 HWCAP_* values only after the memory barriers have been defined.
84229 (atomic_full_barrier): Define.
84230 (atomic_read_barrier): Define.
84231 (atomic_write_barrier): Define.
84232
84233 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
84234
84235 * shlib-versions: Add libgcc_s version information.
84236 * sysdeps/generic/libgcc_s.h: Remove.
84237 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
84238 libgcc_s.h.
84239 * sysdeps/gnu/unwind-resume.c: Likewise.
84240 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
84241
84242 2012-04-25 David S. Miller <davem@davemloft.net>
84243
84244 * sysdeps/unix/sparc/brk.S: Delete.
84245 * sysdeps/unix/sparc/dl-brk.S: Delete.
84246 * sysdeps/unix/sparc/pipe.S: Delete.
84247 * sysdeps/unix/sparc/sysdep.S: Delete.
84248 * sysdeps/unix/sparc/sysdep.h: Delete.
84249 * sysdeps/unix/sparc/vfork.S: Delete.
84250 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
84251 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
84252 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
84253 (ret_ERRVAL, r0, r1, MOVE): Define.
84254 (JUMPTARGET): Remove.
84255 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
84256 sysdeps/unix/sparc/sysdep.h
84257 (ENTRY, END): Remove.
84258 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84259
84260 2012-04-25 Joseph Myers <joseph@codesourcery.com>
84261
84262 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
84263 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
84264 -DIS_IN_build.
84265
84266 * timezone/README: Update upstream location and email address for
84267 tzcode and tzdata.
84268 * timezone/zdump.c: Update from tzcode 2012b.
84269 * timezone/zic.c: Likewise.
84270
84271 * configure.in (libc_cv_as_needed): Remove test.
84272 * configure: Regenerated.
84273 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
84274 conditional definition.
84275 [$(have-as-needed) != yes] (no-as-needed): Likewise.
84276 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
84277 * config.make.in (have-as-needed): Remove variable.
84278
84279 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
84280 Paul Pluzhnikov <ppluzhnikov@google.com>
84281
84282 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
84283 strings correctly.
84284
84285 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
84286
84287 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
84288 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
84289 * sysdeps/sh/strlen.S: Likewise.
84290
84291 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84292
84293 * sysdeps/unix/fork.S: Remove file.
84294 * sysdeps/unix/i386/fork.S: Likewise.
84295 * sysdeps/unix/sparc/fork.S: Likewise.
84296
84297 * sysdeps/unix/system.c: Remove file.
84298 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
84299
84300 * sysdeps/unix/getegid.S: Remove file.
84301 * sysdeps/unix/geteuid.S: Likewise.
84302
84303 2012-04-24 Roland McGrath <roland@hack.frob.com>
84304
84305 * scripts/check-localplt.awk: New file.
84306 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
84307 of diff.
84308 * scripts/data/localplt-generic.data: Add a comment.
84309
84310 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
84311 NODE when __dir_mkfile failed.
84312 * sysdeps/mach/hurd/symlinkat.c: Likewise.
84313 Reported by Ludovic Courtès <ludo@gnu.org>.
84314
84315 2012-04-24 Andreas Jaeger <aj@suse.de>
84316
84317 * Makerules (common-clean): Also remove gen-as-const-headers
84318 files.
84319
84320 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84321
84322 * Makerules (native-compile): Do not change working directory for
84323 build. Use $(OUTPUT_OPTION) in command.
84324 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
84325
84326 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84327
84328 [BZ #13886]
84329 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
84330 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
84331 * math/libm-test.inc (floor_test): Add more tests.
84332 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
84333
84334 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84335
84336 * sysdeps/unix/getdents.c: Remove file.
84337 * sysdeps/unix/sysv/getdents.c: Likewise.
84338 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
84339
84340 * sysdeps/unix/syscalls.list (madvise): Add syscall from
84341 sysdeps/unix/mman/syscalls.list.
84342 (mmap): Likewise.
84343 (mprotect): Likewise.
84344 (msync): Likewise.
84345 (munmap): Likewise.
84346 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
84347 * sysdeps/unix/mman/syscalls.list: Remove.
84348 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
84349
84350 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
84351 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
84352 * configure: Regenerated.
84353 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
84354 $(libgcc_s_suffix).
84355 * config.make.in (libgcc_s_suffix): Remove variable.
84356
84357 2012-04-23 Joseph Myers <joseph@codesourcery.com>
84358
84359 * sysdeps/unix/sysv/gethostname.c: Move to ...
84360 * sysdeps/posix/gethostname.c: ... here.
84361
84362 * sysdeps/unix/execve.S: Remove file.
84363
84364 * sysdeps/unix/_exit.S: Remove file.
84365
84366 2012-04-23 Andreas Jaeger <aj@suse.de>
84367
84368 [BZ #13739]
84369 * manual/Makefile: Remove make dist support, there's no
84370 need for a stand-alone documentation tar ball.
84371 (TEXI2DVI): Define always, it's not in Makeconfig.
84372 (dist): Removed.
84373 (tar-it): Removed.
84374 (edition): Removed.
84375 (glibc-doc-$(edition).tar): Removed
84376 (%.Z): Removed.
84377 (%.gz): Removed.
84378 (%.uu): Removed.
84379 (ETAGS): Remove, it's in Makeconfig.
84380 (move-if-change): Remove, it's in Makeconfig.
84381
84382 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
84383
84384 [BZ #13970]
84385 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
84386 (strtod, strtof, strtold, strtol, strtoul, strtoq)
84387 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
84388 (strtod_l, strtof_l, strtold_l): Remove __wur.
84389 It is not necessarily an error to ignore strtol's return value.
84390 One can reliably look at the stored endptr to decide whether
84391 the number had valid syntax.
84392
84393 2012-04-21 Andreas Jaeger <aj@suse.de>
84394
84395 [BZ #13739]
84396 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
84397
84398 2012-04-21 Joseph Myers <joseph@codesourcery.com>
84399
84400 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
84401 * sysdeps/unix/sysv/Versions: Remove file.
84402
84403 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
84404
84405 [BZ #13927]
84406 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84407
84408 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
84409
84410 [BZ #7064]
84411 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
84412 version from __vm86.
84413
84414 2012-04-20 Joseph Myers <joseph@codesourcery.com>
84415
84416 * sysdeps/unix/common/lxstat.c: Remove file.
84417 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
84418
84419 * sysdeps/unix/sysv/Makefile: Remove file.
84420
84421 * sysdeps/unix/sysv/direct.h: Remove file.
84422
84423 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
84424 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
84425 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
84426 * sysdeps/unix/sysv/bits/signum.h: Likewise.
84427 * sysdeps/unix/sysv/bits/stat.h: Likewise.
84428 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
84429 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
84430
84431 * sysdeps/unix/sysv/setrlimit.c: Remove file.
84432
84433 * sysdeps/unix/xmknod.c: Remove file.
84434 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
84435
84436 * sysdeps/unix/sysv/settimeofday.c: Remove file.
84437
84438 * sysdeps/unix/sysv/i386/time.S: Remove file.
84439
84440 * sysdeps/unix/fxstat.c: Remove file.
84441 * sysdeps/unix/xstat.c: Likewise.
84442 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
84443
84444 * sysdeps/unix/sysv/sigaction.c: Remove file.
84445
84446 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
84447 (sysdep_headers): Remove variable.
84448 [termio.h not in sysdep_headers] (generated): Likewise.
84449 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
84450 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
84451 * sysdeps/unix/sysv/tcdrain.c: Likewise.
84452 * sysdeps/unix/sysv/tcflow.c: Likewise.
84453 * sysdeps/unix/sysv/tcflush.c: Likewise.
84454 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
84455 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
84456 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
84457 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
84458 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
84459
84460 * sysdeps/unix/siglist.c: Remove file.
84461
84462 * sysdeps/unix/getppid.S: Remove file.
84463
84464 * sysdeps/unix/mkdir.c: Remove file.
84465 * sysdeps/unix/rmdir.c: Likewise.
84466
84467 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
84468
84469 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
84470 ERR_MAX value.
84471 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
84472 errlist-compat value.
84473
84474 2012-04-18 David S. Miller <davem@davemloft.net>
84475
84476 * sysdeps/generic/memcopy.h (reg_char): Delete.
84477 * debug/strcat_chk.c: Use char, not reg_char.
84478 * debug/strcpy_chk.c: Likewise.
84479 * debug/strncat_chk.c: Likewise.
84480 * debug/strncpy_chk.c: Likewise.
84481 * string/memchr.c: Likewise.
84482 * string/memrchr.c: Likewise.
84483 * string/rawmemchr.c: Likewise.
84484 * string/strcat.c: Likewise.
84485 * string/strchr.c: Likewise.
84486 * string/strchrnul.c: Likewise.
84487 * string/strcmp.c: Likewise.
84488 * string/strcpy.c: Likewise.
84489 * string/strncat.c: Likewise.
84490 * string/strncmp.c: Likewise.
84491 * string/strncpy.c: Likewise.
84492
84493 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
84494
84495 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
84496 __builtin_memcopy is called when src and dest ranges are known to not
84497 overlap.
84498
84499 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
84500
84501 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
84502 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
84503 fwd_align_merge macro call.
84504 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
84505 bwd_align_merge macro call.
84506 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84507
84508 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
84509
84510 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
84511 bwd_align_merge macros.
84512 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
84513 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
84514 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84515
84516 2012-04-18 David S. Miller <davem@davemloft.net>
84517
84518 * sysdeps/sparc/sparc64/memcopy.h: Delete.
84519
84520 2012-04-18 Andreas Jaeger <aj@suse.de>
84521
84522 [BZ #6794]
84523 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
84524 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
84525 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84526
84527 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
84528 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
84529 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84530
84531 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
84532 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
84533 Adjust for changed ldbl-128 files.
84534
84535 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
84536 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
84537 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84538
84539 2012-04-17 David S. Miller <davem@davemloft.net>
84540
84541 * sysdeps/sparc/sparc32/memcopy.h: Delete.
84542
84543 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
84544
84545 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
84546 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
84547 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
84548 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
84549 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
84550 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
84551
84552 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84553
84554 [BZ #6794]
84555 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
84556 * math/libm-test.inc: Add ilogb errno and exception tests.
84557 * math/w_ilogb.c: New file: ilogb wrapper.
84558 * math/w_ilogbf.c: New file: ilogbf wrapper.
84559 * math/w_ilogbl.c: New file: ilogbl wrapper.
84560 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
84561 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
84562 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
84563 exception being thrown with 0.0 as argument.
84564 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
84565 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
84566 exception being thrown with 0.0 as argument.
84567 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
84568 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84569 exception being thrown with 0.0 as argument.
84570 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
84571 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84572 exception being thrown with 0.0 as argument.
84573 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
84574 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
84575 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
84576 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
84577 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
84578 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
84579 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
84580 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
84581 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
84582
84583 2012-04-17 Petr Baudis <pasky@ucw.cz>
84584
84585 * include/sys/uio.h: Change __vector to __iovec to avoid clash
84586 with altivec.
84587
84588 2012-04-16 Marek Polacek <polacek@redhat.com>
84589
84590 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
84591
84592 2012-04-16 Marek Polacek <polacek@redhat.com>
84593
84594 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
84595 operands of fdivp instruction.
84596
84597 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
84598
84599 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
84600 * elf/tst-auditmod3b.c: Likewise.
84601 * elf/tst-auditmod4b.c: Likewise.
84602 * elf/tst-auditmod5b.c: Likewise.
84603 * elf/tst-auditmod6b.c: Likewise.
84604 * elf/tst-auditmod6c.c: Likewise.
84605 * elf/tst-auditmod7b.c: Likewise.
84606 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
84607 * sysdeps/x86_64/preconfigure.in: Likewise.
84608 * sysdeps/x86_64/preconfigure: Regenerated.
84609
84610 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
84611
84612 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
84613 __ILP32__.
84614
84615 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
84616
84617 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
84618 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
84619
84620 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
84621
84622 [BZ #13973]
84623 * locale/iso-639.def: Fix gl language name. Spotted by
84624 Yaron Shahrabani.
84625
84626 2012-04-12 Roland McGrath <roland@hack.frob.com>
84627
84628 [BZ #2074]
84629 * libio/libio.h (__io_write_fn): Update comment.
84630
84631 2012-04-12 Petr Baudis <pasky@ucw.cz>
84632
84633 [BZ #2074]
84634 * stdio.texi (Hook Functions): The user provided writer function
84635 is not allowed to return -1.
84636
84637 2012-04-11 David S. Miller <davem@davemloft.net>
84638
84639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
84640
84641 2012-04-11 Mike Frysinger <vapier@gentoo.org>
84642
84643 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
84644 Add a leading slash to rtkaio.
84645
84646 2012-04-11 Jim Meyering <meyering@redhat.com>
84647
84648 [BZ #11959]
84649 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
84650 It is not necessarily an error to ignore fwrite's return
84651 value. One can reliably use ferror to test for errors after
84652 the fact.
84653
84654 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
84655
84656 * bits/types.h (__snseconds_t): New type.
84657 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
84658
84659 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
84660 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
84661 (__SNSECONDS_T_TYPE): Likewise.
84662 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
84663 (__SNSECONDS_T_TYPE): Likewise.
84664 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
84665 (__SNSECONDS_T_TYPE): Likewise.
84666
84667 2012-04-10 Andreas Jaeger <aj@suse.de>
84668
84669 [BZ #2636]
84670 * manual/time.texi (Processor Time): Return type of times is
84671 elapsed real time since an arbitrary point in the past.
84672 (CPU Time): Move CLK_TCK from here...
84673 (Processor Time): ...to here. Correct description.
84674 * manual/conf.texi (Constants for Sysconf): Correct description of
84675 _SC_CLK_TCK.
84676
84677 2012-04-10 David S. Miller <davem@davemloft.net>
84678
84679 [BZ #13967]
84680 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
84681 where the is a gap between DT_REL(A) and DT_JMPREL.
84682
84683 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
84684
84685 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
84686 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
84687 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
84688
84689 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
84690
84691 * elf/dl-support.c (_dl_inhibit_cache): New variable.
84692 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
84693 (dl_main): Handle --inhibit-cache.
84694 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
84695 _dl_inhibit_cache.
84696 * elf/dl-load.c (_dl_map_object): Use it.
84697 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
84698
84699 2012-04-09 Joseph Myers <joseph@codesourcery.com>
84700
84701 [BZ #13872]
84702 * sysdeps/i386/fpu/e_powl.S (p78): New object.
84703 (__ieee754_powl): Saturate large exponents rather than testing for
84704 overflow of y*log2(x).
84705 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
84706 * math/libm-test.inc (pow_test): Do not permit spurious overflow
84707 exceptions.
84708
84709 [BZ #11521]
84710 * math/s_ctan.c: Include <float.h>.
84711 (__ctan): Avoid internal overflow or cancellation in calculating
84712 denominator.
84713 * math/s_ctanf.c: Likewise.
84714 * math/s_ctanl.c: Likewise.
84715 * math/s_ctanh.c: Likewise.
84716 * math/s_ctanhf.c: Likewise.
84717 * math/s_ctanhl.c: Likewise.
84718 * math/libm-test.inc (ctan_test): Add more tests.
84719 (ctanh_test): Likewise.
84720 * sysdeps/i386/fpu/libm-test-ulps: Update.
84721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84722
84723 2012-04-09 Andreas Jaeger <aj@suse.de>
84724
84725 [BZ #6894]
84726 * manual/filesys.texi (Directory Entries): Mention that d_namlen
84727 is an optional BSD extension.
84728
84729 [BZ #10254]
84730 * manual/stdio.texi (Opening Streams): Document additional fopen
84731 parameters.
84732
84733 2012-04-09 Roland McGrath <roland@hack.frob.com>
84734
84735 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
84736 %eax without telling the compiler.
84737
84738 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
84739
84740 [BZ # 13963]
84741 * manual/install.texi: Use sourceware.org.
84742
84743 2012-04-09 Joseph Myers <joseph@codesourcery.com>
84744
84745 [BZ #13873]
84746 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
84747 (__ieee754_pow): Generate overflow and underflow using huge*huge
84748 and tiny*tiny rather than just returning constant infinity or zero
84749 for large exponents.
84750 * math/libm-test.inc (pow_test): Require overflow exceptions for
84751 applicable cases of large exponents.
84752
84753 [BZ #706]
84754 * sysdeps/i386/fpu/e_pow.S (p10): New object.
84755 (__ieee754_pow): Use iterative multiplication algorithm only for
84756 integer exponents with absolute value below 1024. Check for odd
84757 integer exponents when using algorithm for real exponents.
84758 * math/libm-test.inc (pow_test): Add more tests.
84759 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84760
84761 2012-04-08 Joseph Myers <joseph@codesourcery.com>
84762
84763 [BZ #13705]
84764 * math/libm-test.inc (exp_test): Do not allow overflow exception
84765 on underflow test.
84766
84767 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
84768
84769 [BZ #13705]
84770 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
84771 instead of __kernel_standard_f.
84772
84773 2012-04-08 Mike Frysinger <vapier@gentoo.org>
84774
84775 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
84776 * sysdeps/x86_64/memset_chk.S: Likewise.
84777
84778 2012-04-08 Andreas Jaeger <aj@suse.de>
84779
84780 [BZ #10153]
84781 * manual/startup.texi (Environment Access): Describe return value
84782 for putenv and setenv.
84783
84784 [BZ #6895]
84785 * manual/filesys.texi (Directory Entries): Add description for
84786 DT_LNK.
84787
84788 [BZ #6890]
84789 * manual/filesys.texi (Directory Entries): Clarify that it's file
84790 system not operating system in the description of DT_UNKNOWN.
84791
84792 [BZ #6578]
84793 * manual/syslog.texi (closelog): Fix reference, it's openlog.
84794
84795 2012-04-08 Stephen Compall <s11@member.fsf.org>
84796
84797 [BZ #6649]
84798 * manual/llio.texi (Opening and Closing Files): Add cross
84799 reference to explain mode argument.
84800
84801 2012-04-07 Mike Frysinger <vapier@gentoo.org>
84802
84803 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
84804 * sysdeps/x86_64/memset_chk.S: Likewise.
84805
84806 2012-04-07 David S. Miller <davem@davemloft.net>
84807
84808 * elf/elf.h (R_SPARC_WDISP10): Define.
84809 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
84810 R_SPARC_SIZE32.
84811 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
84812 R_SPARC_SIZE64 and R_SPARC_H34.
84813
84814 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
84815
84816 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
84817 conditions and remove no longer applicable assertion.
84818
84819 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
84820
84821 * bits/byteswap.h: Include <features.h>.
84822 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
84823 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
84824
84825 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
84826
84827 * bits/byteswap.h (__bswap_16): Removed.
84828 Include <bits/byteswap-16.h> to get __bswap_16.
84829 * sysdeps/i386/bits/byteswap.h: Likewise.
84830 * sysdeps/s390/bits/byteswap.h: Likewise.
84831 * sysdeps/x86_64/bits/byteswap.h: Likewise.
84832 * bits/byteswap-16.h: New file.
84833 * sysdeps/i386/bits/byteswap-16.h: Likewise.
84834 * sysdeps/s390/bits/byteswap-16.h: Likewise.
84835 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
84836 * string/Makefile (headers): Add bits/byteswap-16.h.
84837
84838 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
84839
84840 [BZ #13895]
84841 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
84842 extra indirection.
84843 * nss/Makefile (tests-static, tests): Add tst-nss-static.
84844 * nss/tst-nss-static.c: New.
84845
84846 2012-04-06 Robert Millan <rmh@gnu.org>
84847
84848 [BZ #6486]
84849 * manual/llio.texi (File Position Primitive): lseek
84850 refers to WHENCE when it really means OFFSET.
84851
84852 2012-04-06 Andreas Jaeger <aj@suse.de>
84853
84854 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
84855 strncmp declarations.
84856
84857 * abilist/libc.abilist: Add __poll and __ppoll.
84858
84859 2012-04-05 David S. Miller <davem@davemloft.net>
84860
84861 * scripts/check-local-headers.sh: Accept a host triplet in the
84862 path matched by the exclude regexp.
84863
84864 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
84865 definition.
84866 * sysdeps/powerpc/powerpc32/dl-machine.h
84867 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
84868 * sysdeps/s390/s390-32/dl-machine.h
84869 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
84870 * sysdeps/sparc/sparc32/dl-machine.h
84871 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
84872 * sysdeps/sparc/sparc64/dl-machine.h
84873 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
84874
84875 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
84876 lazy binding.
84877 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
84878 undefined symbol errors.
84879
84880 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
84881 DT_NEEDED entries.
84882
84883 2012-04-05 Michael Matz <matz@suse.de>
84884
84885 [BZ #13592]
84886 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
84887
84888 2012-04-05 Andreas Jaeger <aj@suse.de>
84889
84890 [BZ #13908]
84891 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
84892 comment.
84893
84894 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
84895
84896 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
84897 which ROUND is no valid rounding mode.
84898
84899 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
84900
84901 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
84902 read again.
84903 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
84904
84905 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
84906
84907 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
84908 an exception using FPU order intentionally.
84909
84910 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
84911
84912 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
84913 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
84914 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
84915 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
84916
84917 2012-04-05 Simon Josefsson <simon@josefsson.org>
84918
84919 [BZ #12340]
84920 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
84921 EINVAL when BUFLEN is too smal.
84922
84923 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
84924
84925 [BZ #13553]
84926 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
84927 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
84928
84929 2012-04-03 Andreas Jaeger <aj@suse.de>
84930
84931 [BZ #13938]
84932 * manual/setjmp.texi (System V contexts): Fix sentence.
84933
84934 [BZ #13926]
84935 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
84936 New macro for this case.
84937 [!__GNUC__] (__bswap_64): New inline function for this case.
84938 * sysdeps/x86_64/bits/byteswap.h: Likewise.
84939 * bits/byteswap.h: Likewise.
84940 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
84941 ull, guard with __GLIBC_HAVE_LONG_LONG.
84942
84943 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
84944 __GLIBC_HAVE_LONG_LONG.
84945
84946 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
84947 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
84948
84949 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
84950
84951 [BZ #13691]
84952 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
84953 inptr and inend, rather than using last_ch.
84954
84955 2012-04-02 David S. Miller <davem@davemloft.net>
84956
84957 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
84958 * stdio-common/printf-parse.h (read_int): Change return type to
84959 'int', return -1 on INT_MAX overflow.
84960 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
84961 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
84962 overflows INT_MAX. Check for overflow of in-format-string precision
84963 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
84964 SIZE_MAX not INT_MAX for integer overflow test.
84965 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
84966 skip the construct in the format string but do not record anything.
84967 * stdio-common/bug22.c: Adjust to test both width/prevision
84968 INT_MAX overflow as well as total length INT_MAX overflow. Check
84969 explicitly for proper errno values.
84970
84971 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
84972
84973 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
84974 CHAR_MAX.
84975 * string/test-strcmp.c [! WIDE]: Likewise.
84976 * time/tst-mktime2.c: Likewise for INT_MAX.
84977 * string/test-string.h: #include <sys/param.h> for MIN.
84978
84979 * csu/init-first.c (__libc_init_first): Call __ctype_init.
84980 * sysdeps/i386/init-first.c (init): Likewise.
84981 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
84982 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
84983 * sysdeps/sh/init-first.c (init): Likewise.
84984
84985 2012-04-01 Ulrich Drepper <drepper@gmail.com>
84986
84987 * po/ru.po: Update from translation team.
84988 * po/vi.po: Likewise.
84989
84990 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
84991
84992 * resolv/nss_dns/dns-host.c: Merge copyright years.
84993
84994 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
84995
84996 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
84997 Optimize memcpy with prefetch if
84998 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
84999 src, dst pointers have unequal 16 byte alignments.
85000
85001 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
85002
85003 [BZ #13928]
85004 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
85005 from a CNAME entry and return the minimum ttl for the query.
85006 (gaih_getanswer_slice): Likewise.
85007
85008 2012-03-30 Jeff Law <law@redhat.com>
85009
85010 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
85011 due to long keys.
85012 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
85013 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
85014
85015 * resolv/nss_dns/dns-host.c: Update copyright year.
85016
85017 2012-03-30 Ulrich Drepper <drepper@gmail.com>
85018
85019 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
85020 requests to save a system call. Fix check that all bytes are sent.
85021
85022 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
85023 comments for sendmmsg.
85024
85025 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
85026
85027 [BZ #13691]
85028 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
85029 with only 1 character between 0x0041 and 0x01b0.
85030 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
85031 * wcsmbs/tst-mbsnrtowcs.c: New file.
85032
85033 2012-03-29 David S. Miller <davem@davemloft.net>
85034
85035 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
85036 small copies by hand.
85037
85038 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
85039
85040 [BZ #13761]
85041 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
85042 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
85043 group memberships.
85044
85045 2012-03-28 David S. Miller <davem@davemloft.net>
85046
85047 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
85048 that branches into memcpy.
85049 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
85050 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
85051 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
85052 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
85053 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
85054 bits.
85055 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
85056 implementation too.
85057 * sysdeps/sparc/mempcpy.S: New file.
85058
85059 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
85060 the IFUNC routine in the libc case.
85061 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
85062
85063 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
85064 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
85065 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
85066 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
85067 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
85068 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
85069 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
85070 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
85071
85072 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
85073 loop to 256 bytes instead of 64 bytes and fix test signedness.
85074
85075 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
85076 * sysdeps/sparc/sparc32/Makefile: rather than here...
85077 * sysdeps/sparc/sparc64/Makefile: and here.
85078
85079 2012-03-28 Ulrich Drepper <drepper@gmail.com>
85080
85081 * malloc/mallocbug.c: Avoid warnings about unused variables.
85082
85083 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
85084
85085 [BZ #13760]
85086 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
85087 in the right place. Discard and retry query if response is
85088 larger than input buffer size.
85089
85090 2012-03-28 Joseph Myers <joseph@codesourcery.com>
85091
85092 [BZ #369]
85093 [BZ #2678]
85094 [BZ #3866]
85095 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
85096 x for large integer exponent.
85097 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
85098 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
85099 sign of result as needed afterwards.
85100 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
85101 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
85102 result for underflowing pow the same as for overflow.
85103 (__kernel_standard_l): Handle powl overflow and underflow here
85104 rather than calling __kernel_standard.
85105 * math/libm-test.inc (pow_test): Add more tests.
85106
85107 [BZ #3868]
85108 [BZ #13879]
85109 [BZ #13910]
85110 [BZ #13911]
85111 [BZ #13912]
85112 [BZ #13913]
85113 [BZ #13915]
85114 [BZ #13916]
85115 [BZ #13917]
85116 [BZ #13918]
85117 [BZ #13919]
85118 [BZ #13920]
85119 [BZ #13921]
85120 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
85121 * sysdeps/ieee754/k_standard.c: Include <float.h>.
85122 (__kernel_standard_l): New function.
85123 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
85124 __kernel_standard.
85125 * math/w_acosl.c (__acosl): Likewise.
85126 * math/w_asinl.c (__asinl): Likewise.
85127 * math/w_atan2l.c (__atan2l): Likewise.
85128 * math/w_atanhl.c (__atanhl): Likewise.
85129 * math/w_coshl.c (__coshl): Likewise.
85130 * math/w_exp10l.c (__exp10l): Likewise.
85131 * math/w_exp2l.c (__exp2l): Likewise.
85132 * math/w_fmodl.c (__fmodl): Likewise.
85133 * math/w_hypotl.c (__hypotl): Likewise.
85134 * math/w_j0l.c (__j0l, __y0l): Likewise.
85135 * math/w_j1l.c (__j1l, __y1l): Likewise.
85136 * math/w_jnl.c (__jnl, __ynl): Likewise.
85137 * math/w_lgammal.c (__lgammal): Likewise.
85138 * math/w_log10l.c (__log10l): Likewise.
85139 * math/w_log2l.c (__log2l): Likewise.
85140 * math/w_logl.c (__logl): Likewise.
85141 * math/w_powl.c (__powl): Likewise.
85142 * math/w_remainderl.c (__remainderl): Likewise.
85143 * math/w_scalbl.c (sysv_scalbl): Likewise.
85144 * math/w_sinhl.c (__sinhl): Likewise.
85145 * math/w_sqrtl.c (__sqrtl): Likewise.
85146 * math/w_tgammal.c (__tgammal): Likewise.
85147 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
85148 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
85149 * math/libm-test.inc (acos_test): Add more tests.
85150 (acosh_test): Likewise.
85151 (asin_test): Likewise.
85152 (atanh_test): Likewise.
85153 (exp_test): Likewise.
85154 (exp10_test): Likewise.
85155 (exp2_test): Likewise.
85156 (expm1_test): Likewise.
85157 (lgamma_test): Likewise.
85158 (log_test): Likewise.
85159 (log10_test): Likewise.
85160 (log1p_test): Likewise.
85161 (log2_test): Likewise.
85162 (pow_test): Do not allow some spurious overflow exceptions.
85163 (sqrt_test): Add more tests.
85164 (tgamma_test): Likewise.
85165 (y0_test): Likewise.
85166 (y1_test): Likewise.
85167 (yn_test): Likewise.
85168
85169 2012-03-27 Anton Blanchard <anton@samba.org>
85170
85171 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
85172 MAP_HUGETLB.
85173 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
85174 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
85175 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
85176
85177 2012-03-27 David S. Miller <davem@davemloft.net>
85178
85179 * conform/Makefile: Run run-conformtest.sh using $(BASH).
85180
85181 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
85182 have-as-vis3 check.
85183
85184 2012-03-27 Andreas Jaeger <aj@suse.de>
85185
85186 * sysdeps/x86_64/elf/configure.in: Moved to ...
85187 * sysdeps/x86_64/configure.in: ... here.
85188 * sysdeps/x86_64/elf/start.S: Moved to ...
85189 * sysdeps/x86_64/start.S: ... here.
85190 * sysdeps/x86_64/elf/configure: Delete.
85191
85192 * sysdeps/x86_64/configure.in: Merge contents from
85193 sysdeps/i386/configure.in (without i686 check).
85194
85195 * sysdeps/i386/elf/Versions: Merge into ...
85196 * sysdeps/i386/Versions: ... this.
85197 * sysdeps/i386/elf/Versions: Delete file.
85198 * sysdeps/i386/elf/start.S: Moved to ...
85199 * sysdeps/i386/start.S: ...here.
85200 * sysdeps/i386/elf/configure.in: Merge into...
85201 * sysdeps/i386/configure.in: ...here.
85202 * sysdeps/i386/elf/configure.in: Delete file.
85203 * sysdeps/i386/elf/configure: Delete file.
85204
85205 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
85206 * debug/backtracesyms.c: ... here.
85207 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
85208 * debug/backtracesymsfd.c: ... here.
85209 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
85210 * sysdeps/generic/ifunc-sel.h: ... here.
85211
85212 * sysdeps/unix/i386/start.c: Delete file.
85213 * sysdeps/unix/sparc/start.c: Delete file.
85214 * sysdeps/unix/start.c: Delete file.
85215
85216 * sysdeps/sh/elf/configure.in: Moved to ...
85217 * sysdeps/sh/configure.in: ... here.
85218 * sysdeps/sh/elf/start.S: Moved to ...
85219 * sysdeps/sh/start.S: ... here.
85220 * sysdeps/sh/elf/configure: Delete file.
85221
85222 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
85223 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
85224 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
85225 * sysdeps/powerpc/powerpc64/entry.h: ... here.
85226 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
85227 * sysdeps/powerpc/powerpc64/start.S: here.
85228 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
85229 * sysdeps/powerpc/powerpc64/Makefile: ... this.
85230 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
85231 * sysdeps/powerpc/powerpc64/configure.in: ... this.
85232 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
85233
85234 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
85235 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
85236 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
85237 * sysdeps/powerpc/powerpc32/start.S: ... here.
85238 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
85239 * sysdeps/powerpc/powerpc32/configure.in: ... this.
85240 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
85241
85242 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
85243 * sysdeps/powerpc/ifunc-sel.h: ... here.
85244 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
85245 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
85246
85247 * sysdeps/sparc/elf/configure.in: Moved to ...
85248 * sysdeps/sparc/configure.in: ... here.
85249 * sysdeps/sparc/elf/configure: Delete file.
85250 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
85251 * sysdeps/sparc/sparc32/start.S: ... here.
85252 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
85253 * sysdeps/sparc/sparc64/start.S: ... here.
85254 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
85255 * sysdeps/sparc/sparc32/Makefile: ... this.
85256 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
85257 * sysdeps/sparc/sparc64/Makefile: ... this.
85258
85259 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
85260 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
85261 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
85262 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
85263 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
85264 * sysdeps/s390/s390-32/setjmp.S: ... here.
85265 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
85266 * sysdeps/s390/s390-32/configure.in: ... here.
85267 * sysdeps/s390/s390-32/elf/configure: Delete file.
85268 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
85269 * sysdeps/s390/s390-32/start.S: ... here.
85270
85271 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
85272 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
85273 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
85274 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
85275 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
85276 * sysdeps/s390/s390-64/setjmp.S: ... here.
85277 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
85278 * sysdeps/s390/s390-64/configure.in: ... here
85279 * sysdeps/s390/s390-64/elf/configure: Delete file.
85280 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
85281 * sysdeps/s390/s390-64/start.S: ... here.
85282 * sysdeps/s390/s390-64/elf/configure: Delete.
85283
85284 * configure.in: Remove support for elf directories in sysdeps.
85285
85286 * configure: Regenerated.
85287 * sysdeps/i386/configure: Regenerated.
85288 * sysdeps/powerpc/powerpc32/configure: Regenerated.
85289 * sysdeps/powerpc/powerpc64/configure: Regenerated.
85290 * sysdeps/s390/s390-32/configure: Regenerated.
85291 * sysdeps/s390/s390-64/configure: Regenerated.
85292 * sysdeps/sh/configure: Regenerated.
85293 * sysdeps/sparc/configure: Regenerated.
85294 * sysdeps/x86_64/configure: Regenerated.
85295
85296 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
85297
85298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85299
85300 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
85301 denormal result into account.
85302
85303 2012-03-25 Roland McGrath <roland@hack.frob.com>
85304
85305 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
85306 Reported by Allan McRae <allan@archlinux.org>.
85307
85308 2012-03-23 Jeff Law <law@redhat.com>
85309
85310 * nss/getnssent.c (__nss_getent): Fix typo.
85311
85312 2012-03-23 David S. Miller <davem@davemloft.net>
85313
85314 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85315
85316 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
85317
85318 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
85319 to pad to uint64_t for each field.
85320 (dl_tls_index): Replace unsigned long with uint64_t.
85321
85322 2012-03-23 Daniel Jacobowitz <dmj@google.com>
85323 Paul Pluzhnikov <ppluzhnikov@google.com>
85324
85325 [BZ #6528]
85326 * grp/Makefile (otherlibs): Don't set it.
85327 * inet/Makefile (otherlibs): Likewise.
85328 * login/Makefile (otherlibs): Likewise.
85329 * nscd/Makefile (otherlibs): Likewise.
85330 * posix/Makefile (otherlibs): Likewise.
85331 * pwd/Makefile (otherlibs): Likewise.
85332 * rt/Makefile (otherlibs): Likewise.
85333 * sunrpc/Makefile (otherlibs): Likewise.
85334 * nss/Makefile (otherlibs): Likewise.
85335 Add libnss_files to routines and static-only-routines.
85336 ($(objpfx)getent): Remove rule.
85337 * resolv/Makefile: Add libnss_dns and libresolv to routines and
85338 static-only-routines.
85339
85340 2012-03-22 Joseph Myers <joseph@codesourcery.com>
85341
85342 [BZ #13892]
85343 * math/s_cexp.c: Include <float.h>.
85344 (__cexp): Handle exp result overflowing not necessarily
85345 overflowing both real and imaginary parts of result.
85346 * math/s_cexpf.c: Likewise.
85347 * math/s_cexpl.c: Likewise.
85348 * math/libm-test.inc (cexp_test): Add more tests.
85349 * sysdeps/i386/fpu/libm-test-ulps: Update.
85350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85351
85352 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85353
85354 * include/link.h (ELFW): New macro.
85355 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
85356 Replace ELF64_R_TYPE with ELFW(R_TYPE).
85357
85358 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85359
85360 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
85361 with uint64_t.
85362
85363 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85364
85365 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
85366 declaration.
85367 (struct La_x32_retval): Likewise.
85368
85369 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85370
85371 * sysdeps/x86_64/preconfigure.in: New file.
85372 * sysdeps/x86_64/preconfigure: New generated file.
85373
85374 2012-03-22 Joseph Myers <joseph@codesourcery.com>
85375
85376 [BZ #13824]
85377 * math/e_exp2l.c: Include <float.h>.
85378 (__ieee754_exp2l): Handle overflow and underflow cases
85379 separately. Only pass fractional part of argument to
85380 __ieee754_expl.
85381 * math/libm-test.inc (exp2_test): Add more tests.
85382
85383 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
85384 negating x to take absolute value.
85385 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
85386 Likewise.
85387 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
85388 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
85389 Likewise.
85390 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
85391 computing low part if x was negated.
85392 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
85393
85394 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85395
85396 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
85397 la_x32_gnu_pltexit.
85398 (pltexit): Cast int_retval to ptrdiff_t.
85399 * elf/tst-auditmod3b.c: Likewise.
85400 * elf/tst-auditmod4b.c: Likewise.
85401 * elf/tst-auditmod5b.c: Likewise.
85402 * elf/tst-auditmod6b.c: Likewise.
85403 * elf/tst-auditmod6c.c: Likewise.
85404 * elf/tst-auditmod7b.c: Likewise.
85405
85406 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
85407 and x32_gnu_pltexit.
85408
85409 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
85410 __ELF_NATIVE_CLASS.
85411 (La_x32_regs): New macro.
85412 (La_x32_retval): Likewise.
85413 (la_x32_gnu_pltenter): New function prototype.
85414 (la_x32_gnu_pltexit): Likewise.
85415
85416 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
85417
85418 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
85419 exponent.
85420
85421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85422
85423 * configure.in (libc_cv_cc_nofma): Check for option to disable
85424 generation of FMA instructions.
85425 * configure: Regenerate.
85426 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
85427 * sysdeps/ieee754/dbl-64/Makefile: New file.
85428 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
85429 Remove brandred-fma4.
85430 (CFLAGS-brandred-fma4.c): Remove.
85431 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
85432 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
85433 define.
85434 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
85435 define.
85436
85437 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85438
85439 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
85440 LLONG_MAX != LONG_MAX.
85441 (_itoa_word): Use _ITOA_WORD_TYPE on value.
85442 (_fitoa_word): Likewise.
85443 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
85444 LLONG_MAX != LONG_MAX.
85445 * stdio-common/_itowa.h: Include <_itoa.h>.
85446 (_itowa_word): Use _ITOA_WORD_TYPE on value.
85447 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
85448 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
85449 only if not defined.
85450 (_ITOA_WORD_TYPE): Likewise.
85451 (_itoa_word): Use _ITOA_WORD_TYPE on value.
85452 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
85453
85454 2012-03-21 David S. Miller <davem@davemloft.net>
85455
85456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85457
85458 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85459
85460 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
85461 of x86_64 when setting libc_cv_slibdir, libdir and
85462 libc_cv_localedir.
85463 * sysdeps/unix/sysv/linux/configure: Regenerated.
85464
85465 2012-03-21 Joseph Myers <joseph@codesourcery.com>
85466
85467 * manual/lang.texi (Old Varargs): Remove section.
85468 (How Variadic): Update menu.
85469 (va_start): Do not mention varargs.h.
85470
85471 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
85472 Joseph Myers <joseph@codesourcery.com>
85473
85474 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
85475 link test.
85476 * configure: Regenerated.
85477
85478 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
85479
85480 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
85481 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
85482 conformtest.pl
85483
85484 2012-03-21 Joseph Myers <joseph@codesourcery.com>
85485
85486 * NOTES: Remove.
85487 * Makefile (files-for-dist): Remove NOTES.
85488 (NOTES): Remove rule.
85489 * README: Don't refer to NOTES.
85490 * manual/creature.texi: Don't include macros.texi.
85491 * manual/intro.texi (creature.texi): Remove comment referring to
85492 NOTES.
85493
85494 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
85495 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
85496 * configure: Regenerated.
85497 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
85498 LIBC_TRY_CC_OPTION.
85499 (libc_cv_as_i686): Likewise.
85500 (libc_cv_cc_avx): Likewise.
85501 (libc_cv_cc_sse2avx): Likewise.
85502 (libc_cv_cc_fma4): Likewise.
85503 (libc_cv_cc_novzeroupper): Likewise.
85504 * sysdeps/i386/configure: Regenerated.
85505
85506 [BZ #13883]
85507 * sysdeps/i386/fpu/s_cexp.S: Remove.
85508 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
85509 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
85510 * math/libm-test.inc (cexp_test): Add more tests.
85511 * sysdeps/i386/fpu/libm-test-ulps: Update.
85512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85513
85514 2012-03-21 Allan McRae <allan@archlinux.org>
85515
85516 * timezone/Makefile: Do not install iso3166.tab and zone.tab
85517
85518 2012-03-21 Joseph Myers <joseph@codesourcery.com>
85519
85520 [BZ #13871]
85521 * math/w_exp2.c: Do not include <float.h>.
85522 (o_threshold, u_threshold): Remove.
85523 (__exp2): Calculate result before checking finiteness and calling
85524 __kernel_standard.
85525 * math/w_exp2f.c: Likewise.
85526 * math/w_exp2l.c: Likewise.
85527 * math/libm-test.inc (exp2_test): Require overflow exception for
85528 1e6 input.
85529
85530 [BZ #3866]
85531 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
85532 range of signed 64-bit integers before using fistpll. Remove
85533 checks for whether integers fit in mantissa bits.
85534 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
85535 the range of signed 32-bit integers before using fistpl. Remove
85536 checks for whether integers fit in mantissa bits.
85537 * sysdeps/i386/fpu/e_powl.S (p64): New object.
85538 (__ieee754_powl): Test for y outside the range of signed 64-bit
85539 integers before using fistpll. Reduce 64-bit values to 63-bit
85540 ones as needed.
85541 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
85542 divide-by-zero is raised for zero to large negative powers.
85543 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
85544 (__ieee754_powl): Test for y outside the range of signed 64-bit
85545 integers before using fistpll. Reduce 64-bit values to 63-bit
85546 ones as needed.
85547 * math/libm-test.inc (pow_test): Add more tests.
85548
85549 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
85550
85551 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
85552 <stdio-common/_itoa.h>.
85553 * debug/segfault.c: Likewise.
85554 * elf/dl-cache.c: Likewise.
85555 * elf/dl-minimal.c: Likewise.
85556 * elf/dl-misc.c: Likewise.
85557 * elf/dl-sysdep.c: Likewise.
85558 * elf/dl-version.c: Likewise.
85559 * elf/rtld.c: Likewise.
85560 * hurd/hurdsock.c: Likewise.
85561 * hurd/lookup-retry.c: Likewise.
85562 * malloc/malloc.c: Likewise.
85563 * malloc/mtrace.c: Likewise.
85564 * nscd/nscd_getgr_r.c: Likewise.
85565 * nscd/nscd_getpw_r.c: Likewise.
85566 * nscd/nscd_getserv_r.c: Likewise.
85567 * posix/getopt_init.c: Likewise.
85568 * posix/wordexp.c: Likewise.
85569 * stdio-common/_itoa.c: Likewise.
85570 * stdio-common/printf_fphex.c: Likewise.
85571 * stdio-common/vfprintf.c: Likewise.
85572 * string/_strerror.c: Likewise.
85573 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
85574 * sysdeps/i386/i686/hp-timing.h: Likewise.
85575 * sysdeps/mach/_strerror.c: Likewise.
85576 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
85577 * sysdeps/mach/hurd/sethostid.c: Likewise.
85578 * sysdeps/mach/hurd/xmknodat.c: Likewise.
85579 * sysdeps/mach/xpg-strerror.c: Likewise.
85580 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
85581 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
85582 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
85583 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
85584 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
85585 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
85586 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
85587 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
85588 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
85589 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
85590 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
85591 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
85592 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
85593 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
85594 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
85595 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
85596 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
85597 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
85598 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
85599 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
85600 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
85601
85602 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
85603
85604 * stdio-common/_itoa.h: Moved to ...
85605 * sysdeps/generic/_itoa.h: Here.
85606
85607 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
85608
85609 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
85610 instead of "_itoa.h" and "_itowa.h".
85611 * stdio-common/vfprintf.: Likewise.
85612
85613 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
85614
85615 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
85616 <bits/wordsize.h>.
85617 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
85618 (__signbit): Likewise.
85619 (llrintf): Likewise.
85620 (llrint): Likewise.
85621
85622 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
85623
85624 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
85625 __WORDSIZE != 64.
85626
85627 2012-03-20 Joseph Myers <joseph@codesourcery.com>
85628
85629 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
85630 OVERFLOW_EXCEPTION_OK.
85631 * math/libm-test.inc ("Philosophy"): Update comment about
85632 exception testing.
85633 (OVERFLOW_EXCEPTION): Define.
85634 (OVERFLOW_EXCEPTION_OK): Likewise.
85635 (INVALID_EXCEPTION_OK): Renumber.
85636 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
85637 (IGNORE_ZERO_INF_SIGN): Likewise.
85638 (test_exceptions): Handle FE_OVERFLOW.
85639 (exp10_test): Expect overflow exceptions.
85640 (exp2_test): Likewise.
85641 (expm1_test): Likewise.
85642 (nextafter_test): Likewise.
85643 (pow_test): Likewise.
85644 (scalbn_test): Likewise.
85645 (scalbln_test): Likewise.
85646
85647 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85648
85649 * sysdeps/x86_64/bits/atomic.h
85650 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
85651 64bit integer.
85652 (atomic_exchange_acq): Likewise.
85653 (__arch_exchange_and_add_body): Likewise.
85654 (__arch_add_body): Likewise.
85655 (atomic_add_negative): Likewise.
85656 (atomic_add_zero): Likewise.
85657
85658 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85659
85660 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
85661 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
85662
85663 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85664
85665 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
85666 Check __x86_64__ instead of __WORDSIZE.
85667
85668 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85669
85670 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
85671
85672 2012-03-19 David S. Miller <davem@davemloft.net>
85673
85674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85675
85676 * sysdeps/sparc/fpu/fenv_private.h: New file.
85677 * sysdeps/sparc/fpu/math_private.h: Use it.
85678 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
85679 Remove.
85680 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
85681 (libc_feholdexcept_setroundl): Remove.
85682 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
85683 Remove.
85684 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
85685 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
85686
85687 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85688
85689 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
85690 int64_t instead of long int.
85691 (INSERT_WORDS64): Likewise.
85692
85693 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85694
85695 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
85696 _Unwind_GetCFA return to _Unwind_Ptr first.
85697
85698 2012-03-19 Joseph Myers <joseph@codesourcery.com>
85699
85700 [BZ #13629]
85701 * math/s_clog.c: Include <float.h>.
85702 (__clog): Scale large or subnormal inputs.
85703 * math/s_clogf.c: Likewise.
85704 * math/s_clogl.c: Likewise.
85705 * math/s_clog10.c: Include <float.h>.
85706 (M_LOG10_2): Define.
85707 (__clog10): Scale large or subnormal inputs.
85708 * math/s_clog10f.c: Likewise.
85709 * math/s_clog10l.c: Likewise.
85710 * math/libm-test.inc (clog_test): Add more tests.
85711 (clog10_test): Likewise.
85712 * sysdeps/i386/fpu/libm-test-ulps: Update.
85713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85714
85715 [BZ #11451]
85716 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
85717 x and y.
85718 * math/libm-test.inc (atan2_test): Add another test.
85719
85720 * Makerules (common-objdir-compile): Remove.
85721 * sysdeps/unix/Makefile (config-generated): Do not add
85722 $(unix-generated) to variable.
85723 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
85724 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
85725 Remove rule.
85726 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
85727 Likewise.
85728 [generic bits/local_lim.h] (before-compile): Do not append to
85729 variable.
85730 [generic bits/local_lim.h] (common-generated): Likewise.
85731 [generic sys/param.h] (before-compile): Do not append to variable.
85732 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
85733 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
85734 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
85735 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
85736 include.
85737 [generic sys/param.h] (sys/param.h-includes): Remove variable.
85738 [generic sys/param.h] (sys/param.h-includes): Remove rule.
85739 [generic sys/param.h] ($(addprefix
85740 $(common-objpfx),$(sys/param.h-includes))): Likewise.
85741 [generic sys/param.h] (common-generated): Do not append to
85742 variable.
85743 [generic sys/param.h] (sysdep_headers): Likewise.
85744 [generic bits/errno.h] (before-compile): Do not append to
85745 variable.
85746 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
85747 rule.
85748 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
85749 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
85750 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
85751 [generic bits/errno.h] (common-generated): Do not append to
85752 variable.
85753 [generic bits/ioctls.h] (before-compile): Do not append to
85754 variable.
85755 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
85756 rule.
85757 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
85758 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
85759 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
85760 rule.
85761 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
85762 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
85763 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
85764 [generic bits/ioctls.h] (common-generated): Do not append to
85765 variable.
85766 [generic sys/syscall.h] (syscall.h): Remove variable.
85767 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
85768 rule.
85769 [generic sys/syscall.h] (before-compile): Do not append to
85770 variable.
85771 [generic sys/syscall.h] (common-generated): Likewise.
85772 * sysdeps/unix/errnos-tmpl.c: Remove file.
85773 * sysdeps/unix/errnos.awk: Likewise.
85774 * sysdeps/unix/ioctls-tmpl.c: Likewise.
85775 * sysdeps/unix/ioctls.awk: Likewise.
85776 * sysdeps/unix/mk-local_lim.c: Likewise.
85777 * sysdeps/unix/snarf-ioctls: Likewise.
85778
85779 2012-03-19 Richard Henderson <rth@twiddle.net>
85780
85781 * sysdeps/i386/fpu/fenv_private.h: New file.
85782 * sysdeps/i386/fpu/math_private.h: Use it.
85783 (math_opt_barrier, math_force_eval): Remove.
85784 (libc_feholdexcept_setround_53bit): Remove.
85785 (libc_feupdateenv_53bit): Remove.
85786 * sysdeps/x86_64/fpu/math_private.h: Likewise.
85787 (math_opt_barrier, math_force_eval): Remove.
85788 (libc_feholdexcept): Remove.
85789 (libc_feholdexcept_setround): Remove.
85790 (libc_fetestexcept, libc_fesetenv): Remove.
85791 (libc_feupdateenv_test): Remove.
85792 (libc_feupdateenv, libc_feholdsetround): Remove.
85793 (libc_feresetround): Remove.
85794
85795 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
85796 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
85797
85798 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
85799 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
85800 (libc_feupdateenv_testl): New.
85801 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
85802 (libc_feupdateenv_testf): New.
85803 (libc_feupdateenv): Use libc_feupdateenv_test.
85804 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
85805 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
85806
85807 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
85808 (libc_feholdsetroundf, libc_feholdsetroundl): New.
85809 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
85810 (libc_feresetround_noex): New.
85811 (libc_feresetround_noexf): New.
85812 (libc_feresetround_noexl): New.
85813 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
85814 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
85815 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
85816 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
85817 SET_RESTORE_ROUND.
85818 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
85819 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
85820 (__cos): Likewise.
85821 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
85822 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
85823 SET_RESTORE_ROUND_NOEX.
85824 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
85825 SET_RESTORE_ROUND_NOEXF.
85826 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
85827 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
85828 (libc_feholdsetroundf): New.
85829 (libc_feresetround, libc_feresetroundf): New.
85830
85831 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
85832 (libc_feholdexcept_setround_53bit): Convert from macro to function.
85833 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
85834
85835 * sysdeps/generic/math_private.h: Include <fenv.h>.
85836 (default_libc_feholdexcept): New.
85837 (default_libc_feholdexcept_setround): New.
85838 (default_libc_fesetenv, default_libc_feupdateenv): New.
85839 (libc_feholdexcept): Only define if undefined.
85840 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
85841 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
85842 (libc_feholdexcept_setroundl): Likewise.
85843 (libc_feholdexcept_setround_53bit): Likewise.
85844 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
85845 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
85846 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
85847 (libc_feupdateenv_53bit): Likewise.
85848 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
85849 (libc_feholdexcept): Convert from macro to inline function.
85850 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
85851 (libc_fesetenv, libc_feupdateenv): Likewise.
85852
85853 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
85854 not previously defined.
85855 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
85856 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
85857 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
85858 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
85859 * sysdeps/ieee754/flt-32/math_private.h: New file.
85860 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
85861 math_private.h below SET_FLOAT_WORD.
85862 (__isnan, __isinf_ns, __finite): Remove.
85863 (__isnanf, __isinf_nsf, __finitef): Remove.
85864
85865 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
85866
85867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85868
85869 2012-03-17 David S. Miller <davem@davemloft.net>
85870
85871 [BZ #6471]
85872 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
85873 for 2.16.
85874
85875 2012-03-16 David S. Miller <davem@davemloft.net>
85876
85877 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
85878 warnings.
85879
85880 [BZ #6471]
85881 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
85882 properly.
85883 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
85884 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
85885 sysdep_routines when subdir is sysvipc.
85886 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
85887 __getshmlba helper.
85888
85889 * sysdeps/sparc/fpu/libm-test/ulps: Update.
85890
85891 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
85892
85893 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
85894 [__LP64__].
85895
85896 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
85897
85898 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
85899 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
85900 (__lround): Renamed to ...
85901 (__llround): This. Replace long int with long long int.
85902 Define lround functions as aliases of llround functions.
85903 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
85904
85905 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
85906
85907 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
85908 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
85909 adresses to uintptr_t. Replace "long int" and "unsigned long
85910 int" with "greg_t" on va_arg.
85911
85912 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
85913
85914 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
85915 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
85916
85917 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
85918 Move e_machine check before EI_CLASS check. Handle x32
85919 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
85920 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
85921 SKIP_EM_IA_64 and include
85922 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
85923
85924 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
85925 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
85926 (add_system_dir): New macro.
85927
85928 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
85929 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
85930
85931 2012-03-16 Joseph Myers <joseph@codesourcery.com>
85932
85933 [BZ #2551]
85934 [BZ #2552]
85935 [BZ #2553]
85936 [BZ #2554]
85937 [BZ #2562]
85938 [BZ #2563]
85939 [BZ #2565]
85940 [BZ #2566]
85941 [BZ #2576]
85942 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
85943 (y0): Likewise.
85944 * math/w_j0f.c (j0f): Likewise.
85945 (y0f): Likewise.
85946 * math/w_j0l.c (__j0l): Likewise.
85947 (__y0l): Likewise.
85948 * math/w_j1.c (j1): Likewise.
85949 (y1): Likewise.
85950 * math/w_j1f.c (j1f): Likewise.
85951 (y1f): Likewise.
85952 * math/w_j1l.c (__j1l): Likewise.
85953 (__y1l): Likewise.
85954 * math/w_jn.c (jn): Likewise.
85955 (yn): Likewise.
85956 * math/w_jnf.c (jnf): Likewise.
85957 (ynf): Likewise.
85958 * math/w_jnl.c (__jnl): Likewise.
85959 (__ynl): Likewise.
85960 * math/libm-test.inc (j0_test): Add more tests.
85961 (j1_test): Likewise.
85962 (jn_test): Likewise. Add trailing semicolon to existing test.
85963 (y0_test): Likewise.
85964 (y1_test): Likewise.
85965 * sysdeps/i386/fpu/libm-test-ulps: Update.
85966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85967
85968 [BZ #13851]
85969 [BZ #13854]
85970 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
85971 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
85972 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
85973 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
85974 (__tanl): Set errno for infinite argument.
85975 * sysdeps/i386/fpu/mptan.c: Remove.
85976 * sysdeps/i386/fpu/s_tan.S: Likewise.
85977 * sysdeps/i386/fpu/s_tanl.S: Likewise.
85978 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
85979 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
85980 * math/libm-test.inc (tan_test): Add more tests and enable more
85981 tests for double and long double.
85982 * sysdeps/i386/fpu/libm-test-ulps: Update.
85983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85984
85985 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
85986
85987 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
85988 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
85989
85990 2012-03-16 Roland McGrath <roland@hack.frob.com>
85991
85992 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
85993 * configure.in: Use it for both main tree and add-ons.
85994 * configure: Regenerated.
85995
85996 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
85997
85998 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
85999
86000 2012-03-16 Joseph Myers <joseph@codesourcery.com>
86001
86002 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
86003 in comment.
86004
86005 [BZ #13851]
86006 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
86007 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
86008 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
86009 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
86010 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
86011 infinite argument.
86012 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
86013 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
86014 != 0 for prec == 2.
86015 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
86016 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
86017 * sysdeps/i386/fpu/s_cosl.S: Likewise.
86018 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
86019 * sysdeps/i386/fpu/s_sinl.S: Likewise.
86020 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
86021 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
86022 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
86023 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
86024 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
86025 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
86026 * math/libm-test.inc (cos_test): Add more tests and enable more
86027 tests for long double.
86028 (sin_test): Likewise.
86029 (sincos_test): Likewise.
86030 * sysdeps/i386/fpu/libm-test-ulps: Update.
86031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86032
86033 2012-03-16 David S. Miller <davem@davemloft.net>
86034
86035 * sysdeps/sparc/fpu/math_private.h: New file.
86036
86037 2012-03-15 David S. Miller <davem@davemloft.net>
86038
86039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
86040 file.
86041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
86042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
86043 file.
86044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
86045 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
86046 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
86047 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
86048 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
86049 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
86050 sysdep routines.
86051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86052
86053 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
86054 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
86055
86056 * sysdeps/sparc/sparc-ifunc.h: New file.
86057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
86058 sparc-ifunc.h
86059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
86060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
86061 Likewise.
86062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
86063 Likewise.
86064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
86065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
86066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
86067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
86068 Likewise.
86069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
86070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
86071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
86072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
86073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
86074 Likewise.
86075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
86076 Likewise.
86077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
86078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
86079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
86080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
86081 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
86082 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
86083 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
86084 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
86085 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
86086 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
86087 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
86088 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
86089 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
86090 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
86091 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
86092 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
86093 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
86094 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
86095 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
86096 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
86097 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
86098 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
86099 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
86100 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
86101
86102 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
86103
86104 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
86105 scaling.
86106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86107
86108 2012-03-15 Andreas Jaeger <aj@suse.de>
86109
86110 [BZ #13852]
86111 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
86112 ieee754/flt-32 implementation for sin, cos and sincos.
86113 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
86114 * sysdeps/i386/fpu/s_cosf.S: Likewise.
86115 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
86116 * sysdeps/i386/fpu/s_sinf.S: Likewise.
86117 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
86118 ieee754/flt-32 implementation for tan.
86119
86120 * math/libm-test.inc (cos_test): Enable some large input tests for
86121 float as well
86122 (sin_test): Likewise.
86123 (sincos_test): Likewise.
86124 (tan_test): Add tests for large input.
86125
86126 * sysdeps/i386/fpu/libm-test-ulps: Update.
86127
86128 2012-03-15 Andreas Jaeger <aj@suse.de>
86129
86130 [BZ #13658]
86131 * math/libm-test.inc (cos_test): Add more test cases.
86132 (sin_test): Likewise.
86133 (sincos_test): Likewise.
86134
86135 2012-03-15 Andreas Jaeger <aj@suse.de>
86136
86137 [BZ #13837]
86138 * math/libm-test.inc (cos_test): Add a test case for large input
86139 value.
86140 (sin_test): Likewise.
86141 (sincos_test): Likewise.
86142
86143 2012-03-15 Andreas Jaeger <aj@suse.de>
86144 Joseph Myers <joseph@codesourcery.com>
86145
86146 [BZ #13658]
86147 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
86148 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
86149 * sysdeps/i386/fpu/branred.c: Likewise.
86150 * sysdeps/i386/fpu/dosincos.c: Likewise.
86151 * sysdeps/i386/fpu/mpa.c: Likewise.
86152 * sysdeps/i386/fpu/s_cos.S: Likewise.
86153 * sysdeps/i386/fpu/s_sin.S: Likewise.
86154 * sysdeps/i386/fpu/s_sincos.S: Likewise.
86155 * sysdeps/i386/fpu/sincos32.c: Likewise.
86156
86157 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
86158 Define.
86159 (libc_feupdateenv_53bit): Define.
86160 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
86161 Define.
86162 (libc_feupdateenv_53bit): Define.
86163
86164 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
86165 53 bit (without extend i386 double precision).
86166
86167 * math/libm-test.inc (sincos_test): Add tests for large input.
86168 (sin): Likewise.
86169 (cos): Likewise.
86170
86171 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
86172
86173 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
86174
86175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86176
86177 2012-03-15 David S. Miller <davem@davemloft.net>
86178
86179 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
86180 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
86181 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
86182 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
86183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
86184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
86185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
86186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
86187 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
86188 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
86189 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
86190 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
86191 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
86192 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
86193 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
86194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
86195 file.
86196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
86197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
86198 file.
86199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
86200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
86201 file.
86202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
86203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
86204 file.
86205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
86206 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
86207 fmin/fmax sysdep routines.
86208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86209
86210 2012-03-14 David S. Miller <davem@davemloft.net>
86211
86212 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
86213 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
86214 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
86215 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
86216 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
86217 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
86218 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
86219 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
86220 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
86221 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
86222 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
86223 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
86224 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
86225 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
86226 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
86227 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
86228 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
86229 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
86230 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
86231 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
86232 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
86233 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
86234 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
86235 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
86236 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
86237 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
86238 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
86239 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
86240 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
86241 routines.
86242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
86243 file.
86244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
86245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
86246 file.
86247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
86248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
86249 file.
86250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
86251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
86252 file.
86253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
86254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
86255 file.
86256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
86257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
86258 file.
86259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
86260 file.
86261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
86262 file.
86263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
86264 file.
86265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
86266 New file.
86267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
86268 file.
86269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
86270 file.
86271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
86272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
86273 file.
86274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
86275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
86276 file.
86277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
86278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
86279 file.
86280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
86281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
86282 VIS3 routines.
86283
86284 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
86285 New file.
86286
86287 * sysdeps/sparc/fpu/libm-test-ulps: Update.
86288
86289 * sysdeps/sparc/configure.in: New file.
86290 * sysdeps/sparc/configure: Generate.
86291 * configure.in (libc_cv_sparc_as_vis3): Substitute.
86292 * configure: Regenerate.
86293 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
86294 * config.make.in (have-as-vis3): New.
86295 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
86296 available use -Av9d instead of -Av9a.
86297 * sysdeps/sparc/sparc64/Makefile: Likewise.
86298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
86299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
86300 New file.
86301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
86302 file.
86303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
86304 New file.
86305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
86306 file.
86307 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
86308 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
86309 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
86310 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
86311 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
86312
86313 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
86314 fzeros/fnegs to load 0x80000000 into a float register instead of
86315 using the stack.
86316 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
86317
86318 2012-03-14 Joseph Myers <joseph@codesourcery.com>
86319
86320 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86321 bits/syscall.h.
86322 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
86323 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
86324 ($(inst_includedir)/bits/syscall.h): Remove rule.
86325 ($(objpfx)bits/syscall.d): Include instead of
86326 $(objpfx)syscall-list.d.
86327 (generated): Change syscall-list.h and syscall-list.d to
86328 bits/syscall.h and bits/syscall.d.
86329
86330 2012-03-14 Roland McGrath <roland@hack.frob.com>
86331
86332 [BZ #13846]
86333 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
86334
86335 2012-03-14 Joseph Myers <joseph@codesourcery.com>
86336
86337 [BZ #13841]
86338 * math/s_csqrt.c: Include <float.h>.
86339 (__csqrt): Scale large or subnormal inputs.
86340 * math/s_csqrtf.c: Likewise.
86341 * math/s_csqrtl.c: Likewise.
86342 * math/libm-test.inc (csqrt_test): Add more tests.
86343 * sysdeps/i386/fpu/libm-test-ulps: Update.
86344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86345
86346 [BZ #13840]
86347 * math/libm-test.inc (hypot_test): Add more tests.
86348
86349 2012-03-13 David S. Miller <davem@davemloft.net>
86350
86351 [BZ #13840]
86352 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
86353 double-precision for the calculation instead of scaling.
86354
86355 2012-03-13 Joseph Myers <joseph@codesourcery.com>
86356
86357 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
86358 manipulate bits before adding and subtracting TWO52[sx].
86359 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
86360 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
86361 Likewise.
86362 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
86363
86364 2012-03-13 David S. Miller <davem@davemloft.net>
86365
86366 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
86367 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
86368 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
86369 rtld-global-offsets.h
86370 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86371
86372 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
86373 large parameters.
86374
86375 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
86376
86377 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
86378 'err' in the ifdef scope in which it is actually used.
86379
86380 * nss/nss_db/db-init.c: Include string.h
86381
86382 2012-03-12 David S. Miller <davem@davemloft.net>
86383
86384 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86385 masking out of the most significant byte of random value used.
86386 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86387 Fix coding style in previous change.
86388
86389 * sysdeps/unix/sysv/linux/kernel-features.h
86390 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
86391 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
86392 expression.
86393 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
86394 later.
86395
86396 2012-03-11 David S. Miller <davem@davemloft.net>
86397
86398 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
86399 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
86400 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
86401 for 'resultvar' otherwise things get truncated on 64-bit.
86402
86403 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86404 Fix masking out of the most significant byte of random value used.
86405
86406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
86407
86408 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
86409
86410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86411
86412 2012-03-09 David S. Miller <davem@davemloft.net>
86413
86414 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
86415 variables with appropriate CPP guards.
86416 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
86417 from the frame pointer, not the stack pointer. Correct layout
86418 comments. Fix test on resulting framesize and the management of
86419 the outregs buffer for pltexit. Preserve floating point return
86420 values across _dl_call_pltexit call.
86421 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
86422 framesize and the management of the outregs buffer for pltexit.
86423 Preserve floating point return values across _dl_call_pltexit
86424 call.
86425 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
86426 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
86427 (la_sparc64_gnu_pltexit): New functions.
86428 (print_exit): Fix format string for return register value.
86429
86430 2012-03-10 Joseph Myers <joseph@codesourcery.com>
86431
86432 * sunrpc/Makefile (others): Add rpcgen.
86433 ($(objpfx)rpcgen): Remove special build rule and dependency on
86434 libc.
86435 * sunrpc/rpcgen.c: New file.
86436
86437 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
86438
86439 [BZ #13673]
86440 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
86441 * stdio-common/bug-vfprintf-nargs.c: Likewise.
86442 * sysdeps/i386/crti.S: Likewise.
86443 * sysdeps/i386/crtn.S: Likewise.
86444 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
86445 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
86446 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
86447 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
86448 * sysdeps/sh/crti.S: Likewise.
86449 * sysdeps/sh/crtn.S: Likewise.
86450 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
86451
86452 [BZ #13673]
86453 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
86454 with URL.
86455 * locale/programs/locfile-kw.gperf: Likewise.
86456 * locale/programs/charmap-kw.h: Regenerated.
86457 * locale/programs/locfile-kw.h: Likewise.
86458
86459 [BZ #13673]
86460 * intl/plural.y: Replace FSF snail mail address with URL.
86461 * intl/plural.c: Regenerated.
86462
86463 2012-03-09 Richard Henderson <rth@twiddle.net>
86464
86465 * include/math_private.h: Remove file.
86466 * math/math_private.h: Move file ...
86467 * sysdeps/generic/math_private.h: ... here.
86468
86469 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
86470 * sysdeps/powerpc/fpu/math_private.h: Likewise.
86471 * sysdeps/x86_64/fpu/math_private.h: Likewise.
86472
86473 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
86474 and <math_private.h>.
86475 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
86476 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
86477 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
86478 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
86479 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
86480 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
86481 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
86482 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86483 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
86484 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
86485 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86486 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
86487 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
86488 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86489 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
86490 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
86491 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
86492 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
86493 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
86494 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
86495 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86496 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
86497 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
86498 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86499 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
86500 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
86501 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
86502 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
86503 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86504 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
86505 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
86506 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86507 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
86508 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
86509 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
86510 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
86511 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
86512 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
86513 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
86514 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86515 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
86516 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
86517 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
86518 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
86519 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
86520 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
86521 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
86522 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
86523 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
86524 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
86525 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
86526 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
86527 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
86528 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
86529 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
86530 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
86531 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86532 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
86533 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
86534 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
86535 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
86536 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
86537 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86538 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
86539 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
86540 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
86541 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
86542 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
86543 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
86544 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
86545 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
86546 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
86547 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
86548 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
86549 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
86550 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
86551 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
86552 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
86553 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
86554 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
86555 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
86556 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
86557 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
86558 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
86559 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
86560 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
86561 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
86562 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
86563 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
86564 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
86565 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
86566 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
86567 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86568 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
86569 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
86570 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
86571 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
86572 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
86573 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86574 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
86575 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
86576 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
86577 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
86578 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
86579 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
86580 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
86581 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
86582 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
86583 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
86584 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
86585 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
86586 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
86587 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
86588 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
86589 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
86590 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
86591 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
86592 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
86593 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
86594 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
86595 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
86596 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
86597 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
86598 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
86599 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
86600 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
86601 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
86602 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
86603 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
86604 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
86605 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
86606 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
86607 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
86608 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
86609 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
86610 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
86611 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
86612 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
86613 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
86614 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
86615 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
86616 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
86617 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
86618 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
86619 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
86620 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
86621 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
86622 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
86623 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
86624 * sysdeps/ieee754/k_standard.c: Likewise.
86625 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
86626 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
86627 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
86628 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
86629 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
86630 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
86631 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
86632 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
86633 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
86634 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
86635 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
86636 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
86637 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
86638 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
86639 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
86640 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
86641 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
86642 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
86643 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
86644 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
86645 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
86646 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
86647 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
86648 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
86649 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
86650 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
86651 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
86652 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
86653 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
86654 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
86655 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
86656 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
86657 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
86658 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
86659 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
86660 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
86661 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
86662 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
86663 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
86664 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
86665 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
86666 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
86667 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
86668 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
86669 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
86670 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
86671 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
86672 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
86673 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
86674 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
86675 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
86676 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
86677 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
86678 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
86679 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
86680 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
86681 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
86682 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
86683 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
86684 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
86685 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
86686 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
86687 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
86688 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
86689 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
86690 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
86691 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
86692 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
86693 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
86694 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
86695 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
86696 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
86697 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
86698 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
86699 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
86700 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
86701 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
86702 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
86703 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
86704 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
86705 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
86706 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
86707 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
86708 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
86709 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
86710 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
86711 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
86712 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
86713 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
86714 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
86715 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
86716 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
86717 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
86718 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
86719 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
86720 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
86721 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
86722 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
86723 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
86724 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
86725 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
86726 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
86727 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
86728 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
86729 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
86730 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
86731 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
86732 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
86733 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
86734 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
86735 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
86736 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
86737 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
86738 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
86739 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
86740 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
86741 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
86742 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
86743 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
86744 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
86745 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
86746 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
86747 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
86748 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
86749 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
86750 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
86751 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
86752 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
86753 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
86754 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
86755 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
86756 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
86757 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
86758 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
86759 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
86760 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
86761 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
86762 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
86763 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
86764 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
86765 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
86766 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
86767 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
86768 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
86769 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
86770 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
86771 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
86772 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
86773 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
86774 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
86775 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
86776 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
86777 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
86778 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
86779 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
86780 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
86781 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
86782 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
86783 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
86784 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
86785 * sysdeps/ieee754/s_lib_version.c: Likewise.
86786 * sysdeps/ieee754/s_matherr.c: Likewise.
86787 * sysdeps/ieee754/s_signgam.c: Likewise.
86788 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
86789 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
86790 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
86791 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
86792 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
86793 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
86794 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
86795 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
86796 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
86797 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
86798 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
86799 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
86800 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
86801 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
86802 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
86803 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
86804 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
86805 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
86806 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
86807 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
86808 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
86809
86810 2012-03-09 Joseph Myers <joseph@codesourcery.com>
86811
86812 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
86813 * sunrpc/rpc_main.c: Likewise.
86814 * sunrpc/rpc_svcout.c: Likewise.
86815
86816 2012-03-09 David S. Miller <davem@davemloft.net>
86817
86818 * include/math_private.h: New file.
86819
86820 2012-03-09 Joseph Myers <joseph@codesourcery.com>
86821
86822 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
86823 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
86824 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
86825 from <bits/socket_type.h>.
86826 (enum __socket_type): Don't define here.
86827 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
86828 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86829 bits/socket_type.h.
86830
86831 [BZ #13566]
86832 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
86833 checking __USE_GNU.
86834
86835 * Makerules ($(inst_includedir)/%.h): New rule.
86836 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
86837 (install-others): Remove variable setting.
86838 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
86839
86840 2012-03-08 Richard Henderson <rth@twiddle.net>
86841
86842 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
86843 from macro to inline function; merge with the
86844 !__LIBC_INTERNAL_MATH_INLINES version.
86845 (__ieee754_sqrtf): Likewise.
86846
86847 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
86848 to inline function.
86849 (__rintf, __floor, __floorf): Likewise.
86850
86851 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
86852 macro to inline function.
86853 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
86854
86855 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
86856 not <math/math_private.h>.
86857
86858 2012-03-08 David S. Miller <davem@davemloft.net>
86859
86860 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
86861 copyright year.
86862 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
86863
86864 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
86865
86866 * resolv/gai_misc.c (handle_requests): Fix struct timespec
86867 normalization.
86868 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
86869 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
86870
86871 2012-03-08 Ulrich Drepper <drepper@gmail.com>
86872
86873 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
86874 be defined individually, they must be defined as a block. Define
86875 S for printing a string instead of hidint the different by using a
86876 macro for adding the 'l'.
86877 * stdio-common/tst-fphex-wide.c: Adjust.
86878
86879 2012-03-07 Marek Polacek <polacek@redhat.com>
86880
86881 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
86882
86883 2012-03-08 Marek Polacek <polacek@redhat.com>
86884
86885 [BZ #13806]
86886 * stdio-common/Makefile (tests): Add tst-fphex-wide.
86887 * stdio-common/tst-fphex.c: Define a few macros to make the
86888 test reusable. Use them.
86889 * stdio-common/tst-fphex-wide.c: New file.
86890
86891 2012-03-08 Joseph Myers <joseph@codesourcery.com>
86892
86893 [BZ #6911]
86894 * manual/macros.texi (gnusystems): New macro.
86895 (nongnusystems): Likewise.
86896 (gnulinuxhurdsystems): Likewise.
86897 (gnuhurdsystems): Likewise..
86898 (gnulinuxsystems): Likewise.
86899 * manual/charset.texi: Use new macros or @theglibc{} to refer to
86900 variants of the GNU system, not "GNU system".
86901 * manual/conf.texi: Likewise.
86902 * manual/errno.texi: Likewise. Update example of errno macro
86903 expansion.
86904 * manual/filesys.texi: Likewise.
86905 (getumask): Document as specific to GNU/Hurd.
86906 * manual/install.texi: Likewise. Reword some references to
86907 GNU/Linux.
86908 * manual/intro.texi: Likewise.
86909 * manual/io.texi: Likewise.
86910 (File Name Portability): Detail which constraints are inapplicable
86911 to all GNU systems and which are only inapplicable to GNU/Hurd.
86912 * manual/job.texi: Likewise.
86913 * manual/llio.texi: Likewise.
86914 (O_NOCTTY): Document as present on GNU/Linux.
86915 * manual/maint.texi: Likewise.
86916 * manual/memory.texi: Likewise.
86917 * manual/pattern.texi: Likewise.
86918 * manual/pipe.texi: Likewise.
86919 * manual/process.texi: Likewise.
86920 * manual/resource.texi: Likewise.
86921 (RUSAGE_CHILDREN): Remove statement about specifying a particular
86922 child on GNU/Hurd.
86923 * manual/setjmp.texi: Likewise.
86924 * manual/signal.texi: Likewise.
86925 * manual/startup.texi: Likewise.
86926 * manual/stdio.texi: Likewise.
86927 * manual/terminal.texi: Likewise.
86928 (ONLCR): Document as POSIX.
86929 (OXTABS): Document availability on GNU/Linux as XTABS.
86930 (ONOEOT): Document availability separately from other bits.
86931 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
86932 * manual/time.texi: Likewise.
86933 * manual/users.texi: Likewise.
86934 * INSTALL: Regenerated.
86935 * sysdeps/gnu/errlist.c: Regenerated.
86936
86937 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
86938 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
86939 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
86940 puts.
86941 * configure: Regenerated.
86942
86943 2012-03-07 Joseph Myers <joseph@codesourcery.com>
86944
86945 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
86946 default includes instead of AC_HEADER_CHECK.
86947 * sysdeps/i386/configure: Regenerated.
86948
86949 [BZ #10716]
86950 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
86951 * math/s_cacoshf.c (__cacoshf): Likewise.
86952 * math/s_cacoshl.c (__cacoshl): Likewise.
86953 * math/s_casinh.c (__casinh): Set signs of result from argument.
86954 * math/s_casinhf.c (__casinhf): Likewise.
86955 * math/s_casinhl.c (__casinhl): Likewise.
86956 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
86957 (casinh_test): Add more tests.
86958 * sysdeps/i386/fpu/libm-test-ulps: Update.
86959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86960
86961 2012-03-07 Ulrich Drepper <drepper@gmail.com>
86962
86963 * po/zh_TW.po: Update from translation team.
86964
86965 * login/Makefile (distribute): Remove variable.
86966 * catgets/Makefile: Likewise.
86967 * mach/Makefile: Likewise.
86968 * malloc/Makefile: Likewise.
86969 * misc/Makefile: Likewise.
86970 * iconv/Makefile: Likewise.
86971 * nscd/Makefile: Likewise.
86972 * hurd/Makefile: Likewise.
86973 * manual/Makefile: Likewise.
86974 * locale/Makefile: Likewise.
86975 * intl/Makefile: Likewise.
86976 * conform/Makefile: Likewise.
86977 * nss/Makefile: Likewise.
86978 * time/Makefile: Likewise.
86979 * soft-fp/Makefile: Likewise.
86980 * dirent/Makefile: Likewise.
86981 * gmon/Makefile: Likewise.
86982 * po/Makefile: Likewise.
86983 * rt/Makefile: Likewise.
86984 * socket/Makefile: Likewise.
86985 * math/Makefile: Likewise.
86986 * signal/Makefile: Likewise.
86987 * debug/Makefile: Likewise.
86988 * elf/Makefile: Likewise.
86989 * timezone/Makefile: Likewise.
86990 * stdlib/Makefile: Likewise.
86991 * iconvdata/Makefile: Likewise.
86992 * sunrpc/Makefile: Likewise.
86993 * io/Makefile: Likewise.
86994 * argp/Makefile: Likewise.
86995 * inet/Makefile: Likewise.
86996 * hesiod/Makefile: Likewise.
86997 * grp/Makefile: Likewise.
86998 * csu/Makefile: Likewise.
86999 * wctype/Makefile: Likewise.
87000 * crypt/Makefile: Likewise.
87001 * libio/Makefile: Likewise.
87002 * string/Makefile: Likewise.
87003 * nis/Makefile: Likewise.
87004 * resolv/Makefile: Likewise.
87005 * stdio-common/Makefile: Likewise.
87006 * wcsmbs/Makefile: Likewise.
87007 * dlfcn/Makefile: Likewise.
87008 * posix/Makefile: Likewise.
87009
87010 [BZ #6959]
87011 * timezone/Makefile: Don't install timezone files, just the programs
87012 and scripts.
87013
87014 2012-03-06 Ulrich Drepper <drepper@gmail.com>
87015
87016 * nss/databases.def: Add missing gshadow entry.
87017
87018 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
87019
87020 2012-03-06 Marek Polacek <polacek@redhat.com>
87021
87022 [BZ #13726]
87023 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
87024 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
87025 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
87026 * stdio-common/tst-long-dbl-fphex.c: New file.
87027
87028 2012-03-06 David S. Miller <davem@davemloft.net>
87029
87030 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
87031 (set_obp_int): New function.
87032 (get_obp_int): New function.
87033 (__get_clockfreq_via_dev_openprom): Likewise.
87034 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
87035 Avoid unused variable warnings on 'val' and use builtin_expect.
87036 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
87037 __builtin_expect.
87038 (INLINE_CLONE_SYSCALL): Likewise.
87039
87040 2012-03-05 David S. Miller <davem@davemloft.net>
87041
87042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
87043
87044 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
87045
87046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87047
87048 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
87049 only for |x| >= 40.
87050 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87051
87052 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
87053
87054 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
87055 Replace gettimeofday with __vdso_gettimeofday.
87056
87057 * sysdeps/unix/sysv/linux/x86_64/init-first.c
87058 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
87059 __vdso_clock_gettime and __vdso_getcpu.
87060
87061 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
87062 time with __vdso_time.
87063
87064 2012-03-05 Joseph Myers <joseph@codesourcery.com>
87065
87066 * manual/lang.texi (size_t): Note types to which size_t may be
87067 equivalent with the GNU C Library, but do not describe when
87068 differences between them are significant.
87069
87070 2012-03-05 Andreas Jaeger <aj@suse.de>
87071
87072 * sysdeps/i386/fpu/libm-test-ulps: Update.
87073
87074 2012-03-05 Joseph Myers <joseph@codesourcery.com>
87075
87076 [BZ #3976]
87077 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
87078 (__ieee754_pow): Save and restore rounding mode and use
87079 round-to-nearest for main computations.
87080 * math/libm-test.inc (pow_test_tonearest): New function.
87081 (pow_test_towardzero): Likewise.
87082 (pow_test_downward): Likewise.
87083 (pow_test_upward): Likewise.
87084 (main): Call the new functions.
87085 * sysdeps/i386/fpu/libm-test-ulps: Update.
87086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87087
87088 [BZ #3976]
87089 * math/libm-test.inc (cosh_test_tonearest): New function.
87090 (cosh_test_towardzero): Likewise.
87091 (cosh_test_downward): Likewise.
87092 (cosh_test_upward): Likewise.
87093 (sinh_test_tonearest): Likewise.
87094 (sinh_test_towardzero): Likewise.
87095 (sinh_test_downward): Likewise.
87096 (sinh_test_upward): Likewise.
87097 (main): Call the new functions.
87098 * sysdeps/i386/fpu/libm-test-ulps: Update.
87099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87100
87101 2012-03-05 Tom de Vries <tom@codesourcery.com>
87102
87103 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
87104 default stack guard is set in last bytes.
87105 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
87106
87107 2012-03-05 Kees Cook <keescook@chromium.org>
87108
87109 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
87110
87111 [BZ #13656]
87112 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
87113 possibly allocate from heap instead of stack.
87114 * stdio-common/bug-vfprintf-nargs.c: New file.
87115 * stdio-common/Makefile (tests): Add nargs overflow test.
87116
87117 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
87118
87119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87120
87121 2012-03-03 Marek Polacek <polacek@redhat.com>
87122
87123 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
87124 * math/math_private.h: Likewise.
87125 * stdlib/tst-strtod.c: Likewise.
87126 * sysdeps/i386/i486/bits/atomic.h: Likewise.
87127 * sysdeps/x86_64/bits/atomic.h: Likewise.
87128
87129 2012-03-02 David S. Miller <davem@davemloft.net>
87130
87131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
87132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
87133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
87134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
87135 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
87136 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
87137 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
87138 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
87139
87140 2012-03-02 Roland McGrath <roland@hack.frob.com>
87141
87142 [BZ #13792]
87143 * manual/examples/README: New file, says the example source files
87144 can be used under GPL>=2.
87145 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
87146 line containing just "*/".
87147 * manual/examples/add.c: Add copyright header (GPL>=2).
87148 * manual/examples/argp-ex1.c: Likewise.
87149 * manual/examples/argp-ex2.c: Likewise.
87150 * manual/examples/argp-ex3.c: Likewise.
87151 * manual/examples/argp-ex4.c: Likewise.
87152 * manual/examples/atexit.c: Likewise.
87153 * manual/examples/db.c: Likewise.
87154 * manual/examples/dir.c: Likewise.
87155 * manual/examples/dir2.c: Likewise.
87156 * manual/examples/execinfo.c: Likewise.
87157 * manual/examples/filecli.c: Likewise.
87158 * manual/examples/filesrv.c: Likewise.
87159 * manual/examples/fmtmsgexpl.c: Likewise.
87160 * manual/examples/genpass.c: Likewise.
87161 * manual/examples/inetcli.c: Likewise.
87162 * manual/examples/inetsrv.c: Likewise.
87163 * manual/examples/isockad.c: Likewise.
87164 * manual/examples/longopt.c: Likewise.
87165 * manual/examples/memopen.c: Likewise.
87166 * manual/examples/memstrm.c: Likewise.
87167 * manual/examples/mkfsock.c: Likewise.
87168 * manual/examples/mkisock.c: Likewise.
87169 * manual/examples/mygetpass.c: Likewise.
87170 * manual/examples/pipe.c: Likewise.
87171 * manual/examples/popen.c: Likewise.
87172 * manual/examples/rprintf.c: Likewise.
87173 * manual/examples/search.c: Likewise.
87174 * manual/examples/select.c: Likewise.
87175 * manual/examples/setjmp.c: Likewise.
87176 * manual/examples/sigh1.c: Likewise.
87177 * manual/examples/sigusr.c: Likewise.
87178 * manual/examples/stpcpy.c: Likewise.
87179 * manual/examples/strdupa.c: Likewise.
87180 * manual/examples/strftim.c: Likewise.
87181 * manual/examples/strncat.c: Likewise.
87182 * manual/examples/subopt.c: Likewise.
87183 * manual/examples/swapcontext.c: Likewise.
87184 * manual/examples/termios.c: Likewise.
87185 * manual/examples/testopt.c: Likewise.
87186 * manual/examples/testpass.c: Likewise.
87187 * manual/examples/timeval_subtract.c: Likewise.
87188
87189 [BZ #13792]
87190 * manual/time.texi (Elapsed Time): Move timeval_subtract example
87191 function to ...
87192 * manual/timeval_subtract.c.texi: ... here, new file.
87193
87194 2012-03-02 David S. Miller <davem@davemloft.net>
87195
87196 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
87197
87198 2012-03-02 Joseph Myers <joseph@codesourcery.com>
87199
87200 [BZ #3976]
87201 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
87202 (__sin): Save and restore rounding mode and use round-to-nearest
87203 for all computations.
87204 (__cos): Save and restore rounding mode and use round-to-nearest
87205 for all computations.
87206 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
87207 <fenv.h>.
87208 (tan): Save and restore rounding mode and use round-to-nearest for
87209 all computations.
87210 * math/libm-test.inc (cos_test_tonearest): New function.
87211 (cos_test_towardzero): Likewise.
87212 (cos_test_downward): Likewise.
87213 (cos_test_upward): Likewise.
87214 (sin_test_tonearest): Likewise.
87215 (sin_test_towardzero): Likewise.
87216 (sin_test_downward): Likewise.
87217 (sin_test_upward): Likewise.
87218 (tan_test_tonearest): Likewise.
87219 (tan_test_towardzero): Likewise.
87220 (tan_test_downward): Likewise.
87221 (tan_test_upward): Likewise.
87222 (main): Call the new functions.
87223 * sysdeps/i386/fpu/libm-test-ulps: Update.
87224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87225
87226 [BZ #10135]
87227 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
87228 small n, then large n, before computing and testing k+n.
87229 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
87230 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
87231 Likewise.
87232 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
87233 Likewise.
87234 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
87235 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
87236 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
87237 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
87238 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
87239 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
87240 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
87241 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
87242 * math/libm-test.inc (scalbn_test): Add more tests.
87243 (scalbln_test): Likewise.
87244
87245 * manual/filesys.texi (mode_t): Describe constraints on size and
87246 signedness, not exact equivalence to a particular type.
87247 (ino_t): Likewise.
87248 (ino64_t): Likewise.
87249 (dev_t): Likewise.
87250 (nlink_t): Likewise.
87251 (blkcnt_t): Likewise.
87252 (blkcnt64_t): Likewise.
87253 * manual/llio.texi (off_t): Likewise.
87254
87255 [BZ #3976]
87256 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
87257 (__ieee754_exp): Save and restore rounding mode and use
87258 round-to-nearest for all computations.
87259 * math/libm-test.inc (exp_test_tonearest): New function.
87260 (exp_test_towardzero): Likewise.
87261 (exp_test_downward): Likewise.
87262 (exp_test_upward): Likewise.
87263 (main): Call the new functions.
87264 * sysdeps/i386/fpu/libm-test-ulps: Update.
87265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87266
87267 2012-03-01 Chris Demetriou <cgd@google.com>
87268
87269 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
87270 have predictable order.
87271
87272 2012-03-01 David S. Miller <davem@davemloft.net>
87273
87274 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
87275
87276 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
87277 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
87278 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
87279 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
87280
87281 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
87282 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
87283 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
87284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
87285 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
87286 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
87287 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
87288 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
87289 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
87290
87291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
87292
87293 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
87294 * sysdeps/sparc/fpu/libm-test-ulps: to here.
87295 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
87296
87297 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
87298 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
87299 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
87300 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
87301 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
87302 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
87303 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
87304 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
87305 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
87306 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
87307 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
87308 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87309 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
87310 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
87311 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
87312 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87313 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
87314 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
87315 * sysdeps/sparc/elf/configure: Regenerated.
87316
87317 2012-03-01 Joseph Myers <joseph@codesourcery.com>
87318
87319 * configure.in (AS, LD): Require binutils 2.20 or later.
87320 * configure: Regenerated.
87321 * manual/install.texi (Tools for Compilation): Give binutils 2.20
87322 as required minimum version.
87323 * INSTALL: Regenerated.
87324
87325 [BZ #2541]
87326 [BZ #4108]
87327 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
87328 before squaring exponent.
87329 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
87330 bottom long double and 27 bits of top long double before squaring
87331 exponent.
87332 * math/libm-test.inc (erfc_test): Add more tests.
87333 * sysdeps/i386/fpu/libm-test-ulps: Update.
87334 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
87335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87336
87337 2012-03-01 Kai Tietz <ktietz@redhat.com>
87338
87339 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
87340 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
87341 containing bit-fields.
87342 * soft-fp/extended.h (_FP_UNION_E): Likewise.
87343 * soft-fp/single.h (_FP_UNION_S): Likewise.
87344 * soft-fp/double.h (_FP_UNION_D): Likewise.
87345
87346 2012-02-29 Joseph Myers <joseph@codesourcery.com>
87347
87348 [BZ #13786]
87349 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
87350 not include ../strcmp.S.
87351 [USE_AS_STRNCASECMP_L]: Likewise.
87352 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
87353 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
87354 * sysdeps/i386/i686/multiarch/strncase_l-c.c
87355 (__strncasecmp_l_ia32): Define as alias to
87356 __strncasecmp_l_nonascii.
87357
87358 [BZ #5794]
87359 * math/libm-test.inc (expm1_test): Add test for bug 5794.
87360 * sysdeps/i386/fpu/libm-test-ulps: Update.
87361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87362
87363 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
87364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87365
87366 2012-02-29 Jeff Law <law@redhat.com>
87367
87368 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
87369 out of bounds read.
87370
87371 2012-02-29 Marek Polacek <polacek@redhat.com>
87372
87373 [BZ #13706]
87374 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
87375 * elf/Makefile: Add rules to run tst-unused-dep.out.
87376
87377 2012-02-28 David S. Miller <davem@davemloft.net>
87378
87379 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
87380 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
87381 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
87382 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
87383 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
87384 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
87385
87386 2012-02-29 Joseph Myers <joseph@codesourcery.com>
87387
87388 * math/libm-test.inc (llround_test): Move one test from
87389 lround_test. Use TEST_f_L in moved test.
87390 (lround_test): Move misplaced test to llround_test. Add testcase
87391 from bug 2561.
87392
87393 2012-02-28 Ulrich Drepper <drepper@gmail.com>
87394
87395 * sysdeps/x86_64/fpu/e_expf.S: New file.
87396 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
87397
87398 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
87399
87400 [BZ #13637]
87401 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
87402 of remain_len that may cause incomplete multi-byte character and
87403 false match.
87404 * posix/bug-regex33.c: New file.
87405 * posix/Makefile (tests): Add bug-regex33.
87406
87407 2012-02-28 Joseph Myers <joseph@codesourcery.com>
87408
87409 * manual/macros.texi: New file.
87410 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
87411 * manual/libc.texinfo: Include macros.texi.
87412 * manual/creatute.texi: Likewise.
87413 * manual/install.texi: Likewise.
87414 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
87415 @glibcadj{} in references to the GNU C Library.
87416 * manual/charset.texi: Likewise.
87417 * manual/conf.texi: Likewise.
87418 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
87419 when not using those macros.
87420 * manual/creature.texi: Likewise.
87421 * manual/crypt.texi: Likewise.
87422 * manual/errno.texi: Likewise.
87423 * manual/filesys.texi: Likewise.
87424 * manual/header.texi: Likewise.
87425 * manual/install.texi: Likewise.
87426 * manual/intro.texi: Likewise.
87427 * manual/io.texi: Likewise.
87428 * manual/job.texi: Likewise.
87429 * manual/lang.texi: Likewise.
87430 * manual/libc.texiinfo: Likewise.
87431 * manual/llio.texi: Likewise.
87432 * manual/locale.texi: Likewise.
87433 * manual/maint.texi: Likewise.
87434 * manual/math.texi: Likewise.
87435 * manual/memory.texi: Likewise.
87436 * manual/message.texi: Likewise.
87437 * manual/nss.texi: Likewise.
87438 * manual/pattern.texi: Likewise.
87439 * manual/process.texi: Likewise.
87440 * manual/resource.texi: Likewise.
87441 * manual/search.texi: Likewise.
87442 * manual/setjmp.texi: Likewise.
87443 * manual/signal.texi: Likewise.
87444 * manual/socket.texi: Likewise.
87445 * manual/startup.texi: Likewise.
87446 * manual/stdio.texi: Likewise.
87447 * manual/string.texi: Likewise.
87448 * manual/sysinfo.texi: Likewise.
87449 * manual/syslog.texi: Likewise.
87450 * manual/terminal.texi: Likewise.
87451 * manual/time.texi: Likewise.
87452 * manual/users.texi: Likewise.
87453 * INSTALL: Regenerated.
87454 * NOTES: Regenerated.
87455 * sysdeps/gnu/errlist.c: Regenerated.
87456
87457 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
87458
87459 * include/dirent.h: Include <dirstream.h> before
87460 <dirent/dirent.h>.
87461
87462 2012-02-28 David S. Miller <davem@davemloft.net>
87463
87464 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
87465 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
87466 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
87467 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
87468
87469 2012-02-27 David S. Miller <davem@davemloft.net>
87470
87471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
87472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
87473 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
87474 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
87475
87476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
87477 frame pointer instead of stack pointer relative arg slot.
87478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87479 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87480 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87481
87482 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
87483
87484 [BZ #3992]
87485 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
87486
87487 2012-02-27 David S. Miller <davem@davemloft.net>
87488
87489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
87490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
87492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
87493 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87494 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87495 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
87496 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
87497
87498 2012-02-27 Joseph Myers <joseph@codesourcery.com>
87499
87500 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
87501 later. Allow versions 5-9.
87502 * configure: Regenerated.
87503 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
87504 required minimum version and 4.6 as recommended version. Do not
87505 mention bugs in GCC 2.7 and 2.8.
87506 * INSTALL: Regenerated.
87507
87508 2012-02-27 David S. Miller <davem@davemloft.net>
87509
87510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
87511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
87512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
87513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
87514 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
87515 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
87516 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
87517 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
87518
87519 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
87520 manipulate bits before adding and subtracting TWO112[sx].
87521 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
87522
87523 2012-02-27 Roland McGrath <roland@hack.frob.com>
87524
87525 [BZ #13775]
87526 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
87527 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
87528 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
87529 being in POSIX, because they are in 1003.1-2008.
87530
87531 * rt/tst-aio.c: Include <fcntl.h>.
87532 * rt/tst-aio7.c: Likewise.
87533 * rt/tst-aio64.c: Likewise.
87534
87535 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
87536
87537 2012-02-27 Joseph Myers <joseph@codesourcery.com>
87538
87539 * manual/install.texi (--with-headers): Describe headers as
87540 interface headers, not private headers.
87541 (Specific advice for GNU/Linux systems): Describe use of headers
87542 from "make headers_install", not private headers from older
87543 kernels.
87544 * INSTALL: Regenerated.
87545 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
87546 Change to 2.6.19.
87547 * sysdeps/unix/sysv/linux/configure: Regenerated.
87548
87549 * manual/llio.texi (fclean): Remove documentation.
87550
87551 * manual/Makefile (libc-texi-generated): New variable. Include
87552 version.texi.
87553 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
87554 $(libc-texi-generated), not duplicated list of files.
87555 (version.texi, stamp-version): New rules.
87556 (realclean): Remove $(libc-texi-generated), not individual files
87557 from that list. Do not remove dir-add.texinfo.
87558 * manual/libc.texinfo: Comment out uses of edition numbers and
87559 references to printed manual. Remove last-updated dates.
87560 (EDITION): Comment out.
87561 (ISBN): Likewise.
87562 (VERSION, UPDATED): Remove.
87563 (version.texi): Include.
87564
87565 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
87566
87567 * sysdeps/posix/spawni.c: Include <signal.h>.
87568 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
87569 * sysdeps/pthread/aio_fsync.c: Likewise.
87570
87571 2012-02-26 Ulrich Drepper <drepper@gmail.com>
87572
87573 * conform/Makefile (tests): Run only when not cross-compiling and
87574 when fast-check is not defined.
87575
87576 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
87577 * conform/data/limits.h-data: Fixes for POSIX2008.
87578 * conform/run-conformtest.sh: Run all tests.
87579 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
87580 headers.
87581 * include/bits/dlfcn.h: Likewise.
87582 * include/langinfo.h: Likewise.
87583 * include/monetary.h: Likewise.
87584 * include/sys/poll.h: Likewise.
87585
87586 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
87587 for __USE_GNU.
87588 * posix/spawn.h: Define __need_sigset_t.
87589 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
87590 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
87591 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
87592 to get sigevent_t only.
87593 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
87594 only for __USE_GNU.
87595 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87596 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
87597 process_vm_writev only for __USE_GNU.
87598 * termios/termios.h: Declare tcgetsid also for POSIX2008.
87599
87600 * conform/Makefile: For now ignore errors from run-conformtest.
87601 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
87602 POSIX to avoid namespace pollution. Don't prepend headers.
87603 * conform/data/aio.h-data: Fixes for POSIX testing.
87604 * conform/data/fcntl.h-data: Likewise.
87605 * conform/data/glob.h-data: Likewise.
87606 * conform/data/grp.h-data: Likewise.
87607 * conform/data/pthread.h-data: Likewise.
87608 * conform/data/pwd.h-data: Likewise.
87609 * conform/data/signal.h-data: Likewise.
87610 * conform/data/spawn.h-data: Likewise.
87611 * conform/data/stdio.h-data: Likewise.
87612 * conform/data/stdlib.h-data: Likewise.
87613 * conform/data/stropts.h-data: Likewise.
87614 * conform/data/sys/mman.h-data: Likewise.
87615 * conform/data/sys/stat.h-data: Likewise.
87616 * conform/data/sys/types.h-data: Likewise.
87617 * conform/data/sys/wait.h-data: Likewise.
87618 * conform/data/time.h-data: Likewise.
87619 * conform/data/unistd.h-data: Likewise.
87620 * conform/data/utime.h-data: Likewise.
87621
87622 * io/sys/stat.h: fchmod was always in POSIX.
87623 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
87624 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
87625 * rt/aio.h: Define __need_timespec before including <time.h>.
87626 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
87627 struct. Add forward declaration of pthread_attr_t and use it in
87628 sigevent.
87629 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
87630 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
87631 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
87632 always remove CLK_TCK definition.
87633
87634 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
87635
87636 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
87637
87638 2012-02-25 Ulrich Drepper <drepper@gmail.com>
87639
87640 * conform/run-conformtest.sh: New file.
87641 * conform/Makefile: Run run-conformtest for tests.
87642 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
87643 support.
87644
87645 * conform/data/uchar.h-data: New file.
87646 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
87647 * conform/data/arpa/inet.h-data: Likewise.
87648 * conform/data/assert.h-data: Likewise.
87649 * conform/data/complex.h-data: Likewise.
87650 * conform/data/cpio.h-data: Likewise.
87651 * conform/data/ctype.h-data: Likewise.
87652 * conform/data/dirent.h-data: Likewise.
87653 * conform/data/dlfcn.h-data: Likewise.
87654 * conform/data/errno.h-data: Likewise.
87655 * conform/data/fcntl.h-data: Likewise.
87656 * conform/data/float.h-data: Likewise.
87657 * conform/data/fmtmsg.h-data: Likewise.
87658 * conform/data/fnmatch.h-data: Likewise.
87659 * conform/data/ftw.h-data: Likewise.
87660 * conform/data/glob.h-data: Likewise.
87661 * conform/data/grp.h-data: Likewise.
87662 * conform/data/iconv.h-data: Likewise.
87663 * conform/data/inttypes.h-data: Likewise.
87664 * conform/data/langinfo.h-data: Likewise.
87665 * conform/data/libgen.h-data: Likewise.
87666 * conform/data/limits.h-data: Likewise.
87667 * conform/data/locale.h-data: Likewise.
87668 * conform/data/math.h-data: Likewise.
87669 * conform/data/monetary.h-data: Likewise.
87670 * conform/data/mqueue.h-data: Likewise.
87671 * conform/data/ndbm.h-data: Likewise.
87672 * conform/data/net/if.h-data: Likewise.
87673 * conform/data/netdb.h-data: Likewise.
87674 * conform/data/netinet/in.h-data: Likewise.
87675 * conform/data/nl_types.h-data: Likewise.
87676 * conform/data/poll.h-data: Likewise.
87677 * conform/data/pthread.h-data: Likewise.
87678 * conform/data/pwd.h-data: Likewise.
87679 * conform/data/regex.h-data: Likewise.
87680 * conform/data/sched.h-data: Likewise.
87681 * conform/data/search.h-data: Likewise.
87682 * conform/data/semaphore.h-data: Likewise.
87683 * conform/data/setjmp.h-data: Likewise.
87684 * conform/data/signal.h-data: Likewise.
87685 * conform/data/spawn.h-data: Likewise.
87686 * conform/data/stdarg.h-data: Likewise.
87687 * conform/data/stdio.h-data: Likewise.
87688 * conform/data/stdlib.h-data: Likewise.
87689 * conform/data/string.h-data: Likewise.
87690 * conform/data/strings.h-data: Likewise.
87691 * conform/data/stropts.h-data: Likewise.
87692 * conform/data/sys/ipc.h-data: Likewise.
87693 * conform/data/sys/mman.h-data: Likewise.
87694 * conform/data/sys/msg.h-data: Likewise.
87695 * conform/data/sys/resource.h-data: Likewise.
87696 * conform/data/sys/select.h-data: Likewise.
87697 * conform/data/sys/sem.h-data: Likewise.
87698 * conform/data/sys/shm.h-data: Likewise.
87699 * conform/data/sys/socket.h-data: Likewise.
87700 * conform/data/sys/stat.h-data: Likewise.
87701 * conform/data/sys/statvfs.h-data: Likewise.
87702 * conform/data/sys/time.h-data: Likewise.
87703 * conform/data/sys/timeb.h-data: Likewise.
87704 * conform/data/sys/times.h-data: Likewise.
87705 * conform/data/sys/types.h-data: Likewise.
87706 * conform/data/sys/uio.h-data: Likewise.
87707 * conform/data/sys/un.h-data: Likewise.
87708 * conform/data/sys/utsname.h-data: Likewise.
87709 * conform/data/sys/wait.h-data: Likewise.
87710 * conform/data/syslog.h-data: Likewise.
87711 * conform/data/tar.h-data: Likewise.
87712 * conform/data/termios.h-data: Likewise.
87713 * conform/data/utime.h-data: Likewise.
87714 * conform/data/utmpx.h-data: Likewise.
87715 * conform/data/varargs.h-data: Likewise.
87716 * conform/data/wchar.h-data: Likewise.
87717 * conform/data/wctype.h-data: Likewise.
87718 * conform/data/wordexp.h-data: Likewise.
87719
87720 * include/stropts.h: New file.
87721 * include/uchar.h: New file.
87722 * include/aio.h: Changes to allow conformtest.pl to use the headers.
87723 * include/assert.h: Likewise.
87724 * include/ctype.h: Likewise.
87725 * include/dirent.h: Likewise.
87726 * include/dlfcn.h: Likewise.
87727 * include/fcntl.h: Likewise.
87728 * include/fnmatch.h: Likewise.
87729 * include/glob.h: Likewise.
87730 * include/grp.h: Likewise.
87731 * include/libio.h: Likewise.
87732 * include/locale.h: Likewise.
87733 * include/math.h: Likewise.
87734 * include/net/if.h: Likewise.
87735 * include/netdb.h: Likewise.
87736 * include/netinet/in.h: Likewise.
87737 * include/pthread.h: Likewise.
87738 * include/pwd.h: Likewise.
87739 * include/regex.h: Likewise.
87740 * include/sched.h: Likewise.
87741 * include/search.h: Likewise.
87742 * include/setjmp.h: Likewise.
87743 * include/signal.h: Likewise.
87744 * include/stdio.h: Likewise.
87745 * include/stdlib.h: Likewise.
87746 * include/string.h: Likewise.
87747 * include/sys/cdefs.h: Likewise.
87748 * include/sys/mman.h: Likewise.
87749 * include/sys/msg.h: Likewise.
87750 * include/sys/resource.h: Likewise.
87751 * include/sys/select.h: Likewise.
87752 * include/sys/socket.h: Likewise.
87753 * include/sys/stat.h: Likewise.
87754 * include/sys/statvfs.h: Likewise.
87755 * include/sys/time.h: Likewise.
87756 * include/sys/times.h: Likewise.
87757 * include/sys/uio.h: Likewise.
87758 * include/sys/utsname.h: Likewise.
87759 * include/sys/wait.h: Likewise.
87760 * include/termios.h: Likewise.
87761 * include/time.h: Likewise.
87762 * include/ulimit.h: Likewise.
87763 * include/unistd.h: Likewise.
87764 * include/utime.h: Likewise.
87765 * include/wchar.h: Likewise.
87766 * include/wctype.h: Likewise.
87767 * include/wordexp.h: Likewise.
87768
87769 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
87770
87771 * time/time.h: TIME_UTC must be a macro.
87772 Make timespec_get available for ISO C11 only as well.
87773
87774 2012-02-24 Ulrich Drepper <drepper@gmail.com>
87775
87776 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
87777 Reported by Peng Haitao <penght@cn.fujitsu.com>.
87778
87779 2012-02-24 Joseph Myers <joseph@codesourcery.com>
87780
87781 * configure.in: Use -o not -a in test for unsupported multi-arch.
87782
87783 2012-02-24 Joseph Myers <joseph@codesourcery.com>
87784
87785 * manual/texinfo.tex: Update to version 2012-01-19.16.
87786
87787 2012-02-24 Joseph Myers <joseph@codesourcery.com>
87788
87789 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
87790
87791 2012-02-24 Roland McGrath <roland@hack.frob.com>
87792
87793 [BZ #13738]
87794 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
87795 * manual/fdl-1.3.texi: New file.
87796 * manual/fdl-1.1.texi: File removed.
87797
87798 [BZ #13738]
87799 * manual/libc.texinfo (FDL_VERSION): New @set.
87800 Use it for mention of FDL in cover text.
87801 (Documentation License): Use it in @include file name.
87802
87803 2012-02-22 Joseph Myers <joseph@codesourcery.com>
87804 Roland McGrath <roland@hack.frob.com>
87805
87806 [BZ #5461]
87807 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
87808 (not LONG_LONG_MAX and LONG_LONG_MIN.
87809 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
87810 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
87811 name.
87812 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
87813
87814 2012-02-22 Joseph Myers <joseph@codesourcery.com>
87815
87816 [BZ #2547]
87817 [BZ #11365]
87818 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
87819 manipulate bits before adding and subtracting TWO23[sx].
87820 * math/libm-test.inc (nearbyint_test): Add more tests.
87821
87822 2012-02-22 Joseph Myers <joseph@codesourcery.com>
87823
87824 [BZ #2548]
87825 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
87826 bits before adding and subtracting TWO23[sx].
87827 * math/libm-test.inc (rint_test): Add more tests.
87828 (rint_test_tonearest): Likewise.
87829 (rint_test_towardzero): Likewise.
87830 (rint_test_downward): Likewise.
87831 (rint_test_upward: Likewise.
87832
87833 2012-02-22 Joseph Myers <joseph@codesourcery.com>
87834
87835 [BZ #10110]
87836 * include/stdc-predef.h: New file. Extracted from features.h.
87837 * include/features.h: Include stdc-predef.h.
87838 * Makefile (headers): Add stdc-predef.h.
87839 * CONFORMANCE (Compiler limitations): Update.
87840
87841 2012-02-22 Joseph Myers <joseph@codesourcery.com>
87842
87843 * manual/libc.texinfo (VERSION, UPDATED): Revert.
87844
87845 2012-02-21 David S. Miller <davem@davemloft.net>
87846
87847 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
87848 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
87849
87850 2012-02-20 David S. Miller <davem@davemloft.net>
87851
87852 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
87853 using a normal save/restore sequence, rather than allocating a
87854 dummy stack frame just to store a frame pointer and restore.
87855 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87856
87857 2012-02-21 Joseph Myers <joseph@codesourcery.com>
87858
87859 * manual/install.texi: Fix stray word in line-wrapped comment.
87860
87861 2012-02-20 David S. Miller <davem@davemloft.net>
87862
87863 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
87864 both binutils and gcc support GOTDATA.
87865
87866 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
87867 "rd %pc" in the PIC register setup sequences.
87868
87869 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
87870 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
87871 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
87872 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
87873 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
87874 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
87875 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
87876 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87877 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
87878 (SYSCALL_ERROR_HANDLER): Likewise.
87879 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
87880 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
87881 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
87882 (SYSCALL_ERROR_HANDLER): Likewise.
87883
87884 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
87885 (HAVE_GCC_GOTDATA): New.
87886 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
87887 relocation support in both binutils and gcc.
87888 * sysdeps/sparc/elf/configure: Regenerate.
87889
87890 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
87891 * sysdeps/sparc/sparc32/elf/configure: Delete.
87892 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
87893 * sysdeps/sparc/sparc64/elf/configure: Delete.
87894 * sysdeps/sparc/elf/configure.in: New file.
87895 * sysdeps/sparc/elf/configure: Generate.
87896
87897 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
87898 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
87899 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
87900 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
87901 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
87902
87903 2012-02-21 Joseph Myers <joseph@codesourcery.com>
87904
87905 * manual/install.texi: Do not mention specific glibc version
87906 numbers.
87907 * manual/libc.texinfo (VERSION, UPDATED): Update.
87908 (@copying): Use @copyright{} and range of years.
87909
87910 2012-02-21 Joseph Myers <joseph@codesourcery.com>
87911
87912 [BZ #13695]
87913 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
87914 [crti.S not in sysdirs] (generated): Do not append.
87915 [crti.S not in sysdirs] (omit-deps): Likewise.
87916 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
87917 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
87918 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
87919 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
87920 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
87921 Likewise.
87922 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
87923 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
87924 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
87925 * csu/defs.awk: Remove file.
87926 * sysdeps/generic/initfini.c: Likewise.
87927 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
87928 variable.
87929 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
87930 Likewise.
87931
87932 2012-02-20 Joseph Myers <joseph@codesourcery.com>
87933
87934 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
87935 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
87936 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
87937 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
87938 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
87939 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
87940 <bits/epoll.h>.
87941 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
87942 (__EPOLL_PACKED): Define to empty if not defined by
87943 <bits/epoll.h>.
87944 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
87945 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87946 bits/epoll.h.
87947
87948 2012-02-20 Joseph Myers <joseph@codesourcery.com>
87949
87950 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
87951 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
87952 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
87953 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
87954 <bits/timerfd.h>.
87955 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
87956 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87957 bits/timerfd.h.
87958
87959 2012-02-20 Joseph Myers <joseph@codesourcery.com>
87960
87961 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
87962 in C locale.
87963 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
87964 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
87965 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
87966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87967
87968 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
87969
87970 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87971 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
87972
87973 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
87974
87975 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
87976 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
87977 defined.
87978 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
87979 Likewise.
87980 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
87981 entry for 2.16.
87982
87983 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
87984
87985 * math/w_acos.c: Use non-signaling floating-point comparisons.
87986 * math/w_acosf.c: Likewise.
87987 * math/w_acosh.c: Likewise.
87988 * math/w_acoshf.c: Likewise.
87989 * math/w_acoshl.c: Likewise.
87990 * math/w_acosl.c: Likewise.
87991 * math/w_asin.c: Likewise.
87992 * math/w_asinf.c: Likewise.
87993 * math/w_asinl.c: Likewise.
87994 * math/w_atanh.c: Likewise.
87995 * math/w_atanhf.c: Likewise.
87996 * math/w_atanhl.c: Likewise.
87997 * math/w_exp2.c: Likewise.
87998 * math/w_exp2f.c: Likewise.
87999 * math/w_exp2l.c: Likewise.
88000 * math/w_j0.c: Likewise.
88001 * math/w_j0f.c: Likewise.
88002 * math/w_j0l.c: Likewise.
88003 * math/w_j1.c: Likewise.
88004 * math/w_j1f.c: Likewise.
88005 * math/w_j1l.c: Likewise.
88006 * math/w_jn.c: Likewise.
88007 * math/w_jnf.c: Likewise.
88008 * math/w_log.c: Likewise.
88009 * math/w_log10.c: Likewise.
88010 * math/w_log10f.c: Likewise.
88011 * math/w_log10l.c: Likewise.
88012 * math/w_log2.c: Likewise.
88013 * math/w_log2f.c: Likewise.
88014 * math/w_log2l.c: Likewise.
88015 * math/w_logf.c: Likewise.
88016 * math/w_logl.c: Likewise.
88017 * math/w_sqrt.c: Likewise.
88018 * math/w_sqrtf.c: Likewise.
88019 * math/w_sqrtl.c: Likewise.
88020 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
88021 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
88022 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
88023 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
88024 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
88025
88026 2012-02-19 Joseph Myers <joseph@codesourcery.com>
88027
88028 [BZ #9739]
88029 * manual/string.texi (strnlen): Use correct parameter name in
88030 equivalent expression.
88031
88032 2012-02-19 Joseph Myers <joseph@codesourcery.com>
88033
88034 [BZ #11174]
88035 * manual/users.texi (seteuid): Consistently use neweuid for
88036 argument name.
88037
88038 2012-02-19 Joseph Myers <joseph@codesourcery.com>
88039
88040 [BZ #13704]
88041 * manual/nss.texi (Services in the NSS configuration): Correct
88042 list of services in example configuration file.
88043
88044 2012-02-19 Nick Bowler <nbowler@draconx.ca>
88045
88046 [BZ #11322]
88047 * manual/arith.texi: Remove statements about negative zero
88048 behaving identically to zero.
88049
88050 2012-02-18 Joseph Myers <joseph@codesourcery.com>
88051
88052 [BZ #5993]
88053 * manual/install.texi: Do not document upgrading from libc5.
88054
88055 2012-02-18 Joseph Myers <joseph@codesourcery.com>
88056
88057 [BZ #4596]
88058 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
88059
88060 2012-02-18 David S. Miller <davem@davemloft.net>
88061
88062 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
88063 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
88064 %o7 across the call.
88065 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
88066 instead.
88067 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
88068 SETUP_PIC_REG_LEAF.
88069 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
88070 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
88071 * sysdeps/sparc/crtn.S: Likewise.
88072
88073 2012-02-17 Ulrich Drepper <drepper@gmail.com>
88074
88075 * aout/Makefile: Remove.
88076
88077 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
88078
88079 [BZ #13058]
88080 * manual/examples/argp-ex1.c (main): Format definition in GNU
88081 style.
88082 * manual/examples/argp-ex2.c (main): Likewise.
88083 * manual/examples/argp-ex3.c (main): Likewise.
88084 * manual/examples/argp-ex4.c (main): Likewise.
88085 * manual/examples/longopt.c (main): Use new-style prototype
88086 definition.
88087 * manual/examples/strncat.c (main): Specify return type and use
88088 (void) for arguments.
88089 * manual/examples/subopt.c (main): Use char **argv argument.
88090
88091 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88092
88093 [BZ #5077]
88094 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
88095 rounding modes.
88096
88097 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
88098
88099 [BZ #6907]
88100 * manual/string.texi (strchr): Change when strchrnul is
88101 recommended.
88102
88103 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
88104
88105 [BZ #174]
88106 * manual/locale.texi (setlocale): Document LOCPATH.
88107
88108 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88109
88110 [BZ #10210]
88111 * manual/process.texi (execle): Move @dots{} before last argument.
88112
88113 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
88114
88115 [BZ #12047]
88116 * manual/charset.texi (Generic Charset Conversion): Fix typo
88117 (LC_TYPE -> LC_CTYPE).
88118
88119 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
88120
88121 [BZ #5805]
88122 * manual/arith.texi (scalbn): Use @var{} on parameter names.
88123 (scalbnf): Likewise.
88124 (scalbnl): Likewise.
88125 (scalbln): Likewise.
88126 (scalblnf): Likewise.
88127 (scalblnl): Likewise.
88128 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
88129 (vwarnx): Likewise.
88130 (verr): Likewise.
88131 (verrx): Likewise.
88132 * manual/filesys.texi (telldir): Use braces around return type.
88133 * manual/llio.texi (mmap): Add space after comma.
88134 (mmap64): Likewise.
88135 * manual/math.texi (jn): Use @var{} on parameter names.
88136 (jnf): Likewise.
88137 (jnl): Likewise.
88138 (yn): Likewise.
88139 (ynf): Likewise.
88140 (ynl): Likewise.
88141 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
88142 line.
88143 * manual/resource.texi (ulimit): Use @dots{} instead of literal
88144 "...".
88145 (sched_get_priority_min): Remove semicolon on @deftypefun line.
88146 (sched_get_priority_max): Likewise.
88147 * manual/signal.texi (sigvec): Add space after comma.
88148 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
88149 names.
88150 (if_indextoname): Likewise.
88151 (if_freenameindex): Likewise.
88152 (sendto): Use ',' instead of '.' in prototype.
88153 * manual/startup.texi (syscall): Use @dots{} instead of literal
88154 "...".
88155 * manual/stdio.texi (__fpending): Separate initial words of
88156 paragraph from @deftypefun line.
88157 * manual/syslog.texi (syslog): Use @dots{} instead of literal
88158 "...".
88159 (vsyslog): Use @var{} on parameter names.
88160 * manual/terminal.texi (stty): Use @var{} on parameter names.
88161 * manual/users.texi (getutmp): Use @var{} on parameter names.
88162 (getutmpx): Likewise.
88163
88164 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88165
88166 [BZ #6884]
88167 * manual/stdio.texi (fopen): Fix typos in description of
88168 ",ccs=STRING".
88169
88170 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
88171
88172 [BZ #4026]
88173 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
88174 get clock_id definition.
88175
88176 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
88177
88178 [BZ #4822]
88179 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
88180 (madvise): Cast every argument to void on its own.
88181
88182 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88183
88184 [BZ #9902]
88185 * manual/startup.texi (Exit Status): Fix typo.
88186
88187 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88188
88189 [BZ #10140]
88190 * manual/examples/argp-ex1.c: Include <stdlib.h>.
88191 * manual/examples/argp-ex2.c: Likewise.
88192 * manual/examples/argp-ex3.c: Likewise.
88193
88194 2012-02-16 Richard Henderson <rth@redhat.com>
88195
88196 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
88197 * sysdeps/s390/s390-32/initfini.c: Remove.
88198 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
88199 * sysdeps/s390/s390-64/initfini.c: Remove.
88200
88201 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
88202
88203 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
88204 compiler output for sysdeps/generic/initfini.c.
88205 * sysdeps/sh/elf/initfini.c: Remove file.
88206
88207 2012-02-16 David S. Miller <davem@davemloft.net>
88208
88209 [BZ #11494]
88210 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
88211
88212 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
88213 * sysdeps/sparc/crti.S: New file.
88214 * sysdeps/sparc/crtn.S: New file.
88215 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
88216 * sysdeps/sparc/sparc64/Makefile: Likewise.
88217
88218 2012-02-15 Mike Frysinger <vapier@gentoo.org>
88219
88220 [BZ #3335]
88221 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
88222
88223 2012-02-15 Roland McGrath <roland@hack.frob.com>
88224
88225 [BZ #4822]
88226 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
88227
88228 * mach/devstream.c (cookie_io_functions_t): Macro removed.
88229 (write, read, close): Likewise.
88230 Patch by Aurelien Jarno <aurelien@aurel32.net>.
88231
88232 2012-02-15 Joseph Myers <joseph@codesourcery.com>
88233
88234 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
88235 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
88236 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
88237 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
88238 <bits/signalfd.h>.
88239 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
88240 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88241 bits/signalfd.h.
88242
88243 2012-02-14 Marek Polacek <polacek@redhat.com>
88244
88245 * sysdeps/x86_64/crti.S: New file.
88246 * sysdeps/x86_64/crtn.S: New file.
88247 * sysdeps/x86_64/elf/initfini.c: Remove file.
88248
88249 2012-02-13 Joseph Myers <joseph@codesourcery.com>
88250
88251 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
88252 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
88253 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
88254 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
88255 <bits/inotify.h>.
88256 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
88257 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88258 bits/inotify.h.
88259
88260 2012-02-13 Joseph Myers <joseph@codesourcery.com>
88261
88262 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
88263 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
88264 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
88265 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
88266 <bits/eventfd.h>.
88267 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
88268 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88269 bits/eventfd.h.
88270
88271 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
88272
88273 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
88274 __feraiseexcept instead of feraiseexcept.
88275
88276 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
88277 nanosleep invocations.
88278 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
88279 strings, and add error checking for a nanosleep invocations.
88280
88281 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
88282
88283 Replace FSF snail mail address with URLs, as per GNU coding standards.
88284 Most of the snail mail addresses were wrong anyway, and omitting
88285 them makes the source code easier to maintain. Almost all of the
88286 changes are to license notices and to locale LC_IDENTIFICATION
88287 addresses, except for this one:
88288 * manual/libc.texinfo: In "Published by", give the FSF's URL,
88289 not its snail mail address.
88290
88291 2012-02-09 Richard Henderson <rth@twiddle.net>
88292
88293 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
88294 of kernel-features.h.
88295
88296 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
88297
88298 2012-02-08 Marek Polacek <polacek@redhat.com>
88299
88300 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
88301 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
88302 * sysdeps/gnu/_G_config.h: Likewise.
88303 * sysdeps/generic/_G_config.h: Likewise.
88304
88305 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
88306
88307 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
88308 tests.
88309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88310
88311 * sysdeps/powerpc/powerpc32/crti.S: New file.
88312 * sysdeps/powerpc/powerpc32/crtn.S: New file.
88313 * sysdeps/powerpc/powerpc64/crti.S: New file.
88314 * sysdeps/powerpc/powerpc64/crtn.S: New file.
88315
88316 * Makeconfig (have-initfini): Don't set.
88317 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
88318 * configure.in (nopic_initfini): Don't substitute.
88319 * config.h.in (HAVE_INITFINI): Don't #undef.
88320 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
88321 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
88322
88323 2012-02-08 Joseph Myers <joseph@codesourcery.com>
88324
88325 Support crti.S and crtn.S provided directly by architectures.
88326 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
88327 [crti.S in sysdirs] (omit-deps): Likewise.
88328 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
88329 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
88330 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
88331 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
88332 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
88333 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
88334 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
88335 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
88336 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
88337 compiler output for sysdeps/generic/initfini.c.
88338 * sysdeps/i386/elf/Makefile: Remove file.
88339 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
88340
88341 2012-02-07 Marek Polacek <polacek@redhat.com>
88342
88343 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
88344 * sysdeps/gnu/_G_config.h: Likewise.
88345 * sysdeps/mach/hurd/_G_config.h: Likewise.
88346
88347 2012-02-07 Marek Polacek <polacek@redhat.com>
88348
88349 * math/Makefile (tests): Add tst-CMPLX2.
88350 * math/tst-CMPLX2.c: New file.
88351
88352 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
88353
88354 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88355
88356 * math/libm-test.inc (jn_test): Add missing L suffix.
88357
88358 2012-02-06 Marek Polacek <polacek@redhat.com>
88359
88360 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
88361 * sysdeps/i386/fpu/e_powf.S: Likewise.
88362 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
88363 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
88364 * sysdeps/i386/fpu/e_acosh.S: Likewise.
88365 * sysdeps/i386/fpu/e_pow.S: Likewise.
88366 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
88367 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
88368 * sysdeps/i386/fpu/s_expm1.S: Likewise.
88369 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
88370 * sysdeps/i386/fpu/e_log2.S: Likewise.
88371 * sysdeps/i386/fpu/e_log2l.S: Likewise.
88372 * sysdeps/i386/fpu/e_scalb.S: Likewise.
88373 * sysdeps/i386/fpu/e_powl.S: Likewise.
88374 * sysdeps/i386/fpu/s_log1p.S: Likewise.
88375 * sysdeps/i386/fpu/e_log10f.S: Likewise.
88376 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
88377 * sysdeps/i386/fpu/e_logl.S: Likewise.
88378 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
88379 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
88380 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
88381 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
88382 * sysdeps/i386/fpu/e_log2f.S: Likewise.
88383 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
88384 * sysdeps/i386/fpu/e_log.S: Likewise.
88385 * sysdeps/i386/fpu/s_cexp.S: Likewise.
88386 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
88387 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
88388 * sysdeps/i386/fpu/e_logf.S: Likewise.
88389 * sysdeps/i386/fpu/e_log10l.S: Likewise.
88390 * sysdeps/i386/fpu/e_atanh.S: Likewise.
88391 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
88392 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
88393 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
88394 * sysdeps/i386/fpu/e_log10.S: Likewise.
88395 * sysdeps/i386/fpu/s_frexp.S: Likewise.
88396 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
88397 * sysdeps/i386/fpu/s_asinh.S: Likewise.
88398 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
88399 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
88400 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
88401 * sysdeps/i386/asm-syntax.h: Likewise.
88402 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
88403 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
88404 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
88405 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
88406 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
88407 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
88408 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
88409 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
88410 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
88411 * sysdeps/powerpc/sysdep.h: Likewise.
88412 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
88413 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
88414
88415 2012-02-06 Joseph Myers <joseph@codesourcery.com>
88416
88417 [BZ #411]
88418 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
88419
88420 2012-02-06 Joseph Myers <joseph@codesourcery.com>
88421
88422 * sysdeps/i386/sysdep.h: Include <features.h>.
88423 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
88424 version.
88425
88426 2012-02-05 Joseph Myers <joseph@codesourcery.com>
88427
88428 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
88429 Define.
88430 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
88431 LOAD_PIC_REG_STR.
88432
88433 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88434
88435 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
88436 (SETUP_PIC_REG): Use GET_PC_THUNK.
88437 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
88438 macro.
88439
88440 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88441
88442 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
88443 for non-PIC compilation.
88444 (SETUP_PIC_REG): Add .p2align directive.
88445 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
88446 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
88447 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
88448 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
88449 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
88450 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
88451 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
88452 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88453 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
88454 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
88455 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
88456 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
88457 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
88458 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
88459 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
88460 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
88461 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
88462 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
88463 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
88464 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
88465 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
88466 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
88467 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
88468 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
88469 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
88470 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
88471 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
88472 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
88473 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
88474 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
88475 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
88476 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
88477 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
88478 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
88479 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
88480 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
88481 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
88482 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
88483 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
88484 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
88485 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
88486
88487 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88488
88489 * math/tst-CMPLX.c: Include <stdio.h>.
88490
88491 2012-01-31 Joseph Myers <joseph@codesourcery.com>
88492
88493 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
88494 float.
88495 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
88496 * sysdeps/sparc/bits/mathdef.h: Likewise.
88497
88498 2012-01-31 Marek Polacek <polacek@redhat.com>
88499
88500 * libio/libio.h: Don't define _PARAMS.
88501 * locale/programs/config.h: Don't define PARAMS.
88502 * stdlib/strtol_l.c: Likewise.
88503 (__strtol_l): Remove PARAMS from the prototype.
88504
88505 2012-01-31 Ulrich Drepper <drepper@gmail.com>
88506
88507 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
88508 names. Just use the correct names. Remove unnecessary wrapper
88509 functions.
88510 * malloc/arena.c: Likewise.
88511 * malloc/hooks.c: Likewise.
88512
88513 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
88514 ARENA_TEST says not to. Simplify test for creation of a new arena.
88515 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
88516
88517 2012-01-30 Ulrich Drepper <drepper@gmail.com>
88518
88519 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
88520 into tail calls.
88521 (update_get_addr): New function.
88522 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
88523 GET_ADDR_MODULE parameter.
88524
88525 2012-01-30 Joseph Myers <joseph@codesourcery.com>
88526
88527 * crypt/cert.c: Remove __STDC__ conditionals.
88528 * crypt/crypt-entry.c: Likewise.
88529 * crypt/crypt_util.c: Likewise.
88530 * libio/filedoalloc.c: Likewise.
88531 * libio/fileops.c: Likewise.
88532 * libio/genops.c: Likewise.
88533 * libio/iofclose.c: Likewise.
88534 * libio/iofdopen.c: Likewise.
88535 * libio/iofopen.c: Likewise.
88536 * libio/iofopen64.c: Likewise.
88537 * libio/iogetdelim.c: Likewise.
88538 * libio/iopopen.c: Likewise.
88539 * libio/obprintf.c: Likewise.
88540 * libio/oldfileops.c: Likewise.
88541 * libio/oldiofclose.c: Likewise.
88542 * libio/oldiofdopen.c: Likewise.
88543 * libio/oldiofopen.c: Likewise.
88544 * libio/oldiopopen.c: Likewise.
88545 * libio/wfiledoalloc.c: Likewise.
88546 * libio/wgenops.c: Likewise.
88547 * locale/programs/xmalloc.c: Likewise.
88548 * misc/syslog.c: Likewise.
88549 * stdio-common/xbug.c: Likewise.
88550 * string/memchr.c: Likewise.
88551 * string/memcmp.c: Likewise.
88552 * string/memrchr.c: Likewise.
88553 * string/rawmemchr.c: Likewise.
88554 * sysdeps/posix/getcwd.c: Likewise.
88555 * time/strftime_l.c: Likewise.
88556
88557 2012-01-30 Joseph Myers <joseph@codesourcery.com>
88558
88559 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
88560 * config.make.in (config-cflags-sse2avx): Define.
88561 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
88562 Fix typo.
88563
88564 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
88565
88566 * scripts/config.guess: Update from upstream config git repository.
88567 * scripts/config.sub: Likewise.
88568
88569 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
88570
88571 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
88572 (EM_NUM): Update.
88573 (R_TILEPRO_*, R_TILEGX_*): New macros.
88574
88575 * scripts/firstversions.awk: Fix bug in version range handling.
88576
88577 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
88578
88579 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
88580
88581 * include/sys/epoll.h: New file.
88582 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
88583 libc_hidden_def.
88584
88585 2012-01-28 Ulrich Drepper <drepper@gmail.com>
88586
88587 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
88588 Avoid unnecessary __WORDSIZE == 64 test.
88589 (fmaxf): Use VEX format if possible.
88590 (fmax): Likewise.
88591 (fminf): Likewise.
88592 (fmin): Likewise.
88593
88594 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
88595 * math/math_private.h: Remove libc_fegetround* and
88596 libc_fesetround*.
88597 * sysdeps/i386/configure.in: Check for -msse2avx.
88598 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
88599 also if SSE2AVX is defined.
88600 Remove libc_fegetround* and libc_fesetround*.
88601 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
88602 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
88603 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
88604 of HAS_YMM_USABLE.
88605 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88606 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88607 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88608 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88609 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88610
88611 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
88612
88613 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
88614
88615 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
88616 size is not set.
88617 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
88618
88619 2012-01-27 Ulrich Drepper <drepper@gmail.com>
88620
88621 [BZ #13618]
88622 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
88623 relocation.
88624 * Makeconfig (libm): Define.
88625 * elf/Makefile: Add rules to build and run tst-relsort1.
88626 * elf/tst-relsort1.c: New file.
88627 * elf/tst-relsort1mod1.c: New file.
88628 * elf/tst-relsort1mod2.c: New file.
88629
88630 2012-01-27 Joseph Myers <joseph@codesourcery.com>
88631
88632 * math/s_ldexp.c: Remove __STDC__ conditionals.
88633 * math/s_ldexpf.c: Likewise.
88634 * math/s_ldexpl.c: Likewise.
88635 * math/s_nextafter.c: Likewise.
88636 * math/s_nexttowardf.c: Likewise.
88637 * math/s_significand.c: Likewise.
88638 * math/s_significandf.c: Likewise.
88639 * math/s_significandl.c: Likewise.
88640 * math/w_jnl.c: Likewise.
88641 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
88642 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
88643 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
88644 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
88645 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
88646 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
88647 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
88648 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
88649 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
88650 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
88651 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
88652 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
88653 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
88654 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
88655 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
88656 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
88657 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
88658 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
88659 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
88660 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
88661 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
88662 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
88663 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
88664 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
88665 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
88666 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
88667 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
88668 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
88669 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
88670 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
88671 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
88672 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
88673 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
88674 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
88675 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
88676 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
88677 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
88678 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
88679 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
88680 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
88681 * sysdeps/ieee754/k_standard.c: Likewise.
88682 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
88683 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
88684 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
88685 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
88686 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
88687 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
88688 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
88689 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
88690 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
88691 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
88692 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
88693 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
88694 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
88695 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
88696 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
88697 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
88698 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
88699 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
88700 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
88701 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
88702 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
88703 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
88704 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
88705 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
88706 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
88707 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
88708 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
88709 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
88710 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
88711 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
88712 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
88713 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
88714 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
88715 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
88716 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
88717 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
88718 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
88719 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
88720 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
88721 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
88722 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
88723 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
88724 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
88725 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
88726 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
88727 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
88728 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
88729 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
88730 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
88731 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
88732 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
88733 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
88734 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
88735 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
88736 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
88737 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
88738 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
88739 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
88740 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
88741 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
88742 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
88743 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
88744 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
88745 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
88746 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
88747 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
88748 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
88749 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
88750 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
88751 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
88752 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
88753 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
88754 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
88755 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
88756 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
88757 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
88758 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
88759 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
88760 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
88761 * sysdeps/ieee754/s_matherr.c: Likewise.
88762 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
88763 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
88764 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
88765 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
88766
88767 2012-01-26 Joseph Myers <joseph@codesourcery.com>
88768
88769 * crypt/md5.h: Remove __STDC__ conditionals.
88770 * libio/libioP.h: Likewise.
88771 * locale/programs/config.h: Likewise.
88772 * sysdeps/generic/sysdep.h: Likewise.
88773 * sysdeps/i386/asm-syntax.h: Likewise.
88774 * sysdeps/s390/asm-syntax.h: Likewise.
88775 * sysdeps/unix/sysdep.h: Likewise.
88776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
88777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
88778
88779 2012-01-26 Joseph Myers <joseph@codesourcery.com>
88780
88781 * libio/libio.h: Remove __STDC__ conditionals.
88782 * malloc/obstack.h: Likewise.
88783 * math/complex.h: Likewise.
88784 * math/math.h: Likewise.
88785 * sysdeps/generic/_G_config.h: Likewise.
88786 * sysdeps/gnu/_G_config.h: Likewise.
88787 * sysdeps/mach/hurd/_G_config.h: Likewise.
88788 * sysdeps/powerpc/bits/mathdef.h: Likewise.
88789 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
88790 * sysdeps/sparc/bits/mathdef.h: Likewise.
88791
88792 2012-01-26 Ulrich Drepper <drepper@gmail.com>
88793
88794 [BZ #13583]
88795 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
88796 Clean up HAS_* macros.
88797 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
88798 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
88799 possible.
88800 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
88801 HAS_AVX.
88802 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88803 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88804 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88805 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88806 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88807
88808 2012-01-25 Joseph Myers <joseph@codesourcery.com>
88809
88810 * elf/tst-unique3.cc (gets): Remove declaration.
88811 * elf/tst-unique3lib.cc (gets): Likewise.
88812 * elf/tst-unique3lib2.cc (gets): Likewise.
88813 * elf/tst-unique4.cc (gets): Likewise.
88814
88815 2012-01-24 Ulrich Drepper <drepper@gmail.com>
88816
88817 * include/stdio.h: Add C++ protection. Add gets declarations and
88818 definitions.
88819 * debug/tst-chk1.c: Don't declare gets here.
88820 * stdio-common/tst-gets.c: Likewise.
88821
88822 2012-01-24 Joseph Myers <joseph@codesourcery.com>
88823
88824 * posix/glob: Remove directory.
88825
88826 2012-01-24 Joseph Myers <joseph@codesourcery.com>
88827
88828 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
88829
88830 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
88831
88832 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
88833 of the non-standard EPFNOSUPPORT.
88834
88835 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
88836
88837 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
88838 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
88839 ANYWHERE set to 1 only on KERN_NO_SPACE error.
88840
88841 2012-01-21 Ulrich Drepper <drepper@gmail.com>
88842
88843 * wcsmbs/uchar.h: Test __STDC_VERSION__.
88844
88845 2012-01-20 Ulrich Drepper <drepper@gmail.com>
88846
88847 * nscd/aicache.c (addhstaiX): Do not cache negative results of
88848 transient errors.
88849 * nscd/grpcache.c (cache_addgr): Likewise.
88850 * nscd/hstcache.c (cache_addhst): Likewise.
88851 * nscd/initgrcache.c (addinitgroupsX): Likewise.
88852 * nscd/pwdcache.c (cache_addpw): Likewise.
88853 * nscd/servicescache.c (cache_addserv): Likewise.
88854
88855 2012-01-16 Ulrich Drepper <drepper@gmail.com>
88856
88857 * malloc/malloc.c: Various cleanups.
88858 * malloc/hooks.c: Likewise.
88859
88860 * stdlib/Makefile (tests): Add bug-fmtmsg1.
88861 * stdlib/bug-fmtmsg1.c: New file.
88862
88863 * stdlib/fmtmsg.c (init): Add missing unlock.
88864 Patch by Peng Haitao <penght@cn.fujitsu.com>.
88865
88866 2012-01-12 Marek Polacek <polacek@redhat.com>
88867
88868 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
88869 and _GNU_SOURCE.
88870
88871 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
88872
88873 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
88874 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
88875 macro to ensure uniqueness of label name.
88876 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
88877 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
88878
88879 2012-01-11 Ulrich Drepper <drepper@gmail.com>
88880
88881 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
88882
88883 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
88884 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
88885 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
88886 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
88887
88888 2012-01-10 Ulrich Drepper <drepper@gmail.com>
88889
88890 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
88891
88892 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
88893 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
88894 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
88895
88896 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
88897
88898 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
88899 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
88900 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
88901 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
88902
88903 * math/bits/math-finite.h: Add ldexp support.
88904
88905 2012-01-10 Marek Polacek <polacek@redhat.com>
88906
88907 * locale/programs/localedef.h (show_archive_content): Add noreturn
88908 attribute.
88909
88910 2012-01-09 Ulrich Drepper <drepper@gmail.com>
88911
88912 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
88913
88914 2012-01-08 Ulrich Drepper <drepper@gmail.com>
88915
88916 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
88917
88918 * io/Makefile (headers): Add bits/poll2.h.
88919
88920 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
88921
88922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
88923 typo #include statement.
88924
88925 2012-01-08 Ulrich Drepper <drepper@gmail.com>
88926
88927 * include/sys/cdefs.h: Define __attribute_alloc_size.
88928 * catgets/gencat.c: Add alloc_size attribute and apply consistently
88929 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
88930 * elf/pldd.c: Likewise.
88931 * iconv/iconv_charmap.c: Likewise.
88932 * iconv/iconvconfig.c: Likewise.
88933 * iconv/strtab.c: Likewise.
88934 * locale/programs/locale.c: Likewise.
88935 * locale/programs/localedef.h: Likewise.
88936 * locale/programs/simple-hash.c: Likewise.
88937 * nscd/nscd.h: Likewise.
88938 * nss/makedb.c: Likewise.
88939 * sysdeps/generic/ldconfig.h: Likewise.
88940 * locale/programs/localedef.c: Remove xmalloc prototype.
88941 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
88942
88943 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
88944
88945 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
88946 appropriate.
88947
88948 2012-01-08 Ulrich Drepper <drepper@gmail.com>
88949
88950 * math/Makefile (tests): Add tst-CMPLX.
88951 * math/tst-CMPLX.c: New file.
88952
88953 * math/complex.h (CMPLXL): Fix typo.
88954
88955 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
88956 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
88957 GLIBC_2.16.
88958 * debug/tst-chk1.c: Add poll and ppoll tests.
88959 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
88960 * include/sys/poll.h: Add hidden proto for ppoll.
88961 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
88962 * sysdeps/mach/hurd/ppoll.c: Likewise.
88963 * io/ppoll.c: Likewise.
88964 * debug/poll_chk.c: New file.
88965 * debug/ppoll_chk.c: New file.
88966 * include/bits/poll2.h: New file.
88967 * io/bits/poll2.h: New file.
88968
88969 [BZ #1350]
88970 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
88971
88972 * configure.in: static is always set to yes. Remove.
88973 * config.make.in: Don't set build-static.
88974 * Makeconfig: Remove use of build-static.
88975 * dlfcn/Makefile: Likewise.
88976 * elf/Makefile: Likewise.
88977 * math/Makefile: Likewise.
88978 * misc/Makefile: Likewise.
88979 * nptl/Makefile: Likewise.
88980 * sysdeps/mach/hurd/Makefile: Likewise.
88981
88982 * configure.in: PWD_P is not used anymore.
88983 * config.make.in: Remove PWD_P entry.
88984
88985 * configure.in: Remove last remnants of RANLIB.
88986 No need to check for signed size_t anymore.
88987 Don't set libc_commonpagesize and libc_relro_required here for Alpha
88988 and IA-64.
88989 Remove __builtin_expect test because we require at least gcc 3.4.
88990 * aclocal.m4: Likewise.
88991
88992 * wcsmbs/mbrtoc16.c: Implement using towc function.
88993 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
88994 * wcsmbs/wcsmbsload.c: Likewise.
88995 * iconv/gconv_simple.c: Likewise.
88996 * iconv/gconv_int.h: Likewise.
88997 * iconv/gconv_builtin.h: Likewise.
88998 * iconv/iconv_prog.c: Remove CHAR16 handling.
88999
89000 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
89001
89002 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
89003
89004 * configure.in: Remove --with-elf and --enable-bounded options.
89005 Dont set base_machine for ia64. More non-ELF conditions removed.
89006 Remove testing and setting of leading underscore information.
89007 * config.make.in (build-bounded): Set to no.
89008 * config.h.in: Remove NO_UNDERSCORES entry.
89009 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
89010 them.
89011 * csu/start.c: Remove !NO_UNDERSCORE code.
89012 * locale/localeinfo.h: Likewise.
89013 * sysdeps/generic/machine-gmon.h: Likewise.
89014 * sysdeps/generic/sysdep.h: Likewise.
89015 * sysdeps/i386/sysdep.h: Likewise.
89016 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89017 * sysdeps/mach/sysdep.h: Likewise.
89018 * sysdeps/s390/s390-32/sysdep.h: Likewise.
89019 * sysdeps/s390/s390-64/sysdep.h: Likewise.
89020 * sysdeps/sh/sysdep.h: Likewise.
89021 * sysdeps/sparc/sparc32/alloca.S: Likewise.
89022 * sysdeps/unix/i386/sysdep.S: Likewise.
89023 * sysdeps/unix/sparc/start.c: Likewise.
89024 * sysdeps/unix/sparc/sysdep.S: Likewise.
89025 * sysdeps/unix/sparc/sysdep.h: Likewise.
89026 * sysdeps/unix/start.c: Likewise.
89027 * sysdeps/unix/x86_64/sysdep.S: Likewise.
89028 * sysdeps/x86_64/sysdep.h: Likewise.
89029
89030 2012-01-07 Ulrich Drepper <drepper@gmail.com>
89031
89032 [BZ #13553]
89033 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
89034 for non-gcc.
89035 * argp/argp-fmtstream.h: Use const instead __const.
89036 * argp/argp.h: Likewise.
89037 * assert/assert.h: Likewise.
89038 * bits/fenv.h: Likewise.
89039 * bits/sched.h: Likewise.
89040 * bits/sigset.h: Likewise.
89041 * bits/sigthread.h: Likewise.
89042 * catgets/nl_types.h: Likewise.
89043 * conform/data/pthread.h-data: Likewise.
89044 * crypt/crypt-private.h: Likewise.
89045 * crypt/crypt.h: Likewise.
89046 * crypt/crypt_util.c: Likewise.
89047 * ctype/ctype.h: Likewise.
89048 * debug/execinfo.h: Likewise.
89049 * debug/mbsnrtowcs_chk.c: Likewise.
89050 * debug/mbsrtowcs_chk.c: Likewise.
89051 * debug/wcsnrtombs_chk.c: Likewise.
89052 * debug/wcsrtombs_chk.c: Likewise.
89053 * debug/wcstombs_chk.c: Likewise.
89054 * dirent/dirent.h: Likewise.
89055 * dlfcn/dlfcn.h: Likewise.
89056 * elf/neededtest4.c: Likewise.
89057 * grp/grp.h: Likewise.
89058 * gshadow/gshadow.h: Likewise.
89059 * iconv/gconv.h: Likewise.
89060 * iconv/gconv_int.h: Likewise.
89061 * iconv/gconv_simple.c: Likewise.
89062 * iconv/iconv.h: Likewise.
89063 * iconv/loop.c: Likewise.
89064 * iconv/skeleton.c: Likewise.
89065 * include/aio.h: Likewise.
89066 * include/aliases.h: Likewise.
89067 * include/argz.h: Likewise.
89068 * include/arpa/inet.h: Likewise.
89069 * include/assert.h: Likewise.
89070 * include/dirent.h: Likewise.
89071 * include/dlfcn.h: Likewise.
89072 * include/execinfo.h: Likewise.
89073 * include/fcntl.h: Likewise.
89074 * include/fenv.h: Likewise.
89075 * include/glob.h: Likewise.
89076 * include/grp.h: Likewise.
89077 * include/libintl.h: Likewise.
89078 * include/mntent.h: Likewise.
89079 * include/netdb.h: Likewise.
89080 * include/pwd.h: Likewise.
89081 * include/rpc/netdb.h: Likewise.
89082 * include/sched.h: Likewise.
89083 * include/search.h: Likewise.
89084 * include/shadow.h: Likewise.
89085 * include/signal.h: Likewise.
89086 * include/stdio.h: Likewise.
89087 * include/stdlib.h: Likewise.
89088 * include/string.h: Likewise.
89089 * include/sys/socket.h: Likewise.
89090 * include/sys/stat.h: Likewise.
89091 * include/sys/statfs.h: Likewise.
89092 * include/sys/statvfs.h: Likewise.
89093 * include/sys/syslog.h: Likewise.
89094 * include/sys/time.h: Likewise.
89095 * include/sys/uio.h: Likewise.
89096 * include/time.h: Likewise.
89097 * include/unistd.h: Likewise.
89098 * include/utmp.h: Likewise.
89099 * include/wchar.h: Likewise.
89100 * include/wctype.h: Likewise.
89101 * inet/aliases.h: Likewise.
89102 * inet/arpa/inet.h: Likewise.
89103 * inet/netinet/ether.h: Likewise.
89104 * inet/netinet/in.h: Likewise.
89105 * intl/libintl.h: Likewise.
89106 * io/bits/fcntl2.h: Likewise.
89107 * io/fcntl.h: Likewise.
89108 * io/ftw.h: Likewise.
89109 * io/sys/poll.h: Likewise.
89110 * io/sys/stat.h: Likewise.
89111 * io/sys/statfs.h: Likewise.
89112 * io/sys/statvfs.h: Likewise.
89113 * io/utime.h: Likewise.
89114 * libio/bits/stdio.h: Likewise.
89115 * libio/bits/stdio2.h: Likewise.
89116 * libio/libio.h: Likewise.
89117 * libio/libioP.h: Likewise.
89118 * libio/stdio.h: Likewise.
89119 * locale/lc-ctype.c: Likewise.
89120 * locale/locale.h: Likewise.
89121 * login/utmp.h: Likewise.
89122 * malloc/arena.c: Likewise.
89123 * malloc/malloc.c: Likewise.
89124 * malloc/malloc.h: Likewise.
89125 * malloc/mcheck.c: Likewise.
89126 * malloc/mtrace.c: Likewise.
89127 * math/bits/mathcalls.h: Likewise.
89128 * math/fenv.h: Likewise.
89129 * math/math_private.h: Likewise.
89130 * misc/bits/error.h: Likewise.
89131 * misc/bits/syslog.h: Likewise.
89132 * misc/err.h: Likewise.
89133 * misc/error.h: Likewise.
89134 * misc/fstab.h: Likewise.
89135 * misc/mntent.h: Likewise.
89136 * misc/regexp.h: Likewise.
89137 * misc/search.h: Likewise.
89138 * misc/sgtty.h: Likewise.
89139 * misc/sys/mman.h: Likewise.
89140 * misc/sys/syslog.h: Likewise.
89141 * misc/sys/uio.h: Likewise.
89142 * misc/sys/xattr.h: Likewise.
89143 * misc/ttyent.h: Likewise.
89144 * nis/rpcsvc/ypclnt.h: Likewise.
89145 * nss/nss.h: Likewise.
89146 * posix/bits/unistd.h: Likewise.
89147 * posix/fnmatch.h: Likewise.
89148 * posix/glob.h: Likewise.
89149 * posix/sched.h: Likewise.
89150 * posix/spawn.h: Likewise.
89151 * posix/sys/wait.h: Likewise.
89152 * posix/unistd.h: Likewise.
89153 * posix/wordexp.h: Likewise.
89154 * pwd/pwd.h: Likewise.
89155 * resolv/netdb.h: Likewise.
89156 * resource/sys/resource.h: Likewise.
89157 * rt/aio.h: Likewise.
89158 * rt/bits/mqueue2.h: Likewise.
89159 * rt/mqueue.h: Likewise.
89160 * shadow/shadow.h: Likewise.
89161 * signal/signal.h: Likewise.
89162 * socket/send.c: Likewise.
89163 * socket/sendto.c: Likewise.
89164 * socket/sys/socket.h: Likewise.
89165 * stdio-common/printf.h: Likewise.
89166 * stdlib/bits/stdlib.h: Likewise.
89167 * stdlib/fmtmsg.h: Likewise.
89168 * stdlib/monetary.h: Likewise.
89169 * stdlib/stdlib.h: Likewise.
89170 * stdlib/ucontext.h: Likewise.
89171 * streams/stropts.h: Likewise.
89172 * string/argz.h: Likewise.
89173 * string/bits/string2.h: Likewise.
89174 * string/string.h: Likewise.
89175 * string/strings.h: Likewise.
89176 * sunrpc/rpc/auth.h: Likewise.
89177 * sunrpc/rpc/auth_des.h: Likewise.
89178 * sunrpc/rpc/clnt.h: Likewise.
89179 * sunrpc/rpc/netdb.h: Likewise.
89180 * sunrpc/rpc/pmap_clnt.h: Likewise.
89181 * sunrpc/rpc/xdr.h: Likewise.
89182 * sysdeps/generic/inttypes.h: Likewise.
89183 * sysdeps/generic/net/if.h: Likewise.
89184 * sysdeps/generic/sys/swap.h: Likewise.
89185 * sysdeps/gnu/net/if.h: Likewise.
89186 * sysdeps/gnu/utmpx.h: Likewise.
89187 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
89188 * sysdeps/i386/i486/bits/string.h: Likewise.
89189 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
89190 * sysdeps/s390/bits/string.h: Likewise.
89191 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
89192 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
89193 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
89194 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
89195 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
89196 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
89197 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
89198 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
89199 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
89200 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
89201 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
89202 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
89203 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
89204 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
89205 * sysdeps/unix/sysv/linux/readv.c: Likewise.
89206 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
89207 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
89208 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89209 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
89210 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
89211 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89212 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
89213 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
89214 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
89215 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
89216 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
89217 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
89218 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89219 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
89220 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
89221 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
89222 * sysvipc/sys/ipc.h: Likewise.
89223 * sysvipc/sys/msg.h: Likewise.
89224 * sysvipc/sys/sem.h: Likewise.
89225 * sysvipc/sys/shm.h: Likewise.
89226 * termios/termios.h: Likewise.
89227 * time/sys/time.h: Likewise.
89228 * time/time.h: Likewise.
89229 * wcsmbs/bits/wchar2.h: Likewise.
89230 * wcsmbs/uchar.h: Likewise.
89231 * wcsmbs/wchar.h: Likewise.
89232 * wctype/wctype.h: Likewise.
89233
89234 [BZ #13551]
89235 * Makeconfig: Remove all but ELF support including AIX support.
89236 * Makerules: Likewise.
89237 * config.h.in: Likewise.
89238 * config.make.in: Likewise.
89239 * configure: Likewise.
89240 * configure.in: Likewise.
89241 * csu/Makefile: Likewise.
89242 * csu/version.c: Likewise.
89243 * debug/Makefile: Likewise.
89244 * dlfcn/Makefile: Likewise.
89245 * elf/Makefile: Likewise.
89246 * extra-lib.mk: Likewise.
89247 * iconv/Makefile: Likewise.
89248 * include/libc-symbols.h: Likewise.
89249 * include/shlib-compat.h: Likewise.
89250 * resolv/Makefile: Likewise.
89251 * resolv/res_libc.c: Likewise.
89252 * rt/Makefile: Likewise.
89253 * sysdeps/i386/asm-syntax.h: Likewise.
89254 * sysdeps/i386/sysdep.h: Likewise.
89255 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89256 * sysdeps/mach/sysdep.h: Likewise.
89257 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
89258 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
89259 * sysdeps/s390/asm-syntax.h: Likewise.
89260 * sysdeps/s390/s390-32/sysdep.h: Likewise.
89261 * sysdeps/s390/s390-64/sysdep.h: Likewise.
89262 * sysdeps/sh/sysdep.h: Likewise.
89263 * sysdeps/unix/sparc/sysdep.h: Likewise.
89264 * sysdeps/wordsize-32/divdi3.c: Likewise.
89265 * sysdeps/x86_64/sysdep.h: Likewise.
89266
89267 * argp/Versions: Remove _argp_unlock_xxx.
89268
89269 [BZ #13559]
89270 * abilist/ld.abilist: Update. Adjust for removal of tls option.
89271 * abilist/libBrokenLocale.abilist: Likewise.
89272 * abilist/libanl.abilist: Likewise.
89273 * abilist/libc.abilist: Likewise.
89274 * abilist/libcrypt.abilist: Likewise.
89275 * abilist/libdl.abilist: Likewise.
89276 * abilist/libm.abilist: Likewise.
89277 * abilist/libnsl.abilist: Likewise.
89278 * abilist/libpthread.abilist: Likewise.
89279 * abilist/libresolv.abilist: Likewise.
89280 * abilist/librt.abilist: Likewise.
89281 * abilist/libthread_db.abilist: Likewise.
89282 * abilist/libutil.abilist: Likewise.
89283 * abilist/libnss_db.abilist: New file.
89284
89285 * scripts/abilist.awk: Add support for indirect functions.
89286
89287 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
89288
89289 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
89290
89291 * shlib-versions: Remove entries for ports architectures.
89292
89293 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
89294 files in ports.
89295 * elf/stackguard-macros.h: Remove support for IA-64.
89296 * elf/tst-auditmod1.c: Likewise.
89297 * sysdeps/generic/ldsodefs.h: Likewise.
89298
89299 * sysdeps/unix/sysv/linux/configure.in: Ports should define
89300 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
89301 configure files.
89302
89303 [BZ #13552]
89304 * configure.in: Remove --enable-omitfp support.
89305 * FAQ.in: Adjust.
89306 * config.make.in: Likewise.
89307 * Makeconfig: Likewise.
89308 * manual/install.texi: Likewise.
89309
89310 In case anyone cares, the IA-64 architecture could move to ports.
89311 * sysdeps/ia64/*: Removed.
89312 * sysdeps/unix/sysv/linux/ia64/*: Removed.
89313 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
89314
89315 [BZ #13555]
89316 * configure.in: Remove entries for unsupported architectures.
89317
89318 [BZ #13533]
89319 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
89320 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
89321 routines.
89322 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
89323 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
89324 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
89325 fall back to using wcrtomb.
89326 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
89327 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
89328 renaming.
89329 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
89330 * wcsmbs/tst-c16c32-1.c: New file.
89331
89332 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
89333 local variable.
89334
89335 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
89336
89337 * elf/tst-unique3.cc: Add explicit declaration of gets.
89338 * elf/tst-unique3lib.cc: Likewise.
89339 * elf/tst-unique3lib2.cc: Likewise.
89340 * elf/tst-unique4.cc: Likewise.
89341
89342 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
89343
89344 2012-01-06 Joseph Myers <joseph@codesourcery.com>
89345
89346 [BZ #13566]
89347 * assert/assert.h (static_assert): Don't define for C++.
89348 * libio/stdio.h (gets): Do declare for C++ <= C++11.
89349 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
89350
89351 2012-01-03 Ulrich Drepper <drepper@gmail.com>
89352
89353 * iconv/loop.c (single loop): Fix assertion in storing of
89354 remaining bytes.
89355
89356 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
89357
89358 2012-01-01 Ulrich Drepper <drepper@gmail.com>
89359
89360 * posix/getconf.c: Update copyright year.
89361 * nss/getent.c: Likewise.
89362 * nss/makedb.c: Likewise.
89363 * iconv/iconvconfig.c: Likewise.
89364 * iconv/iconv_prog.c: Likewise.
89365 * elf/ldconfig.c: Likewise.
89366 * elf/pldd.c: Likewise.
89367 * elf/sotruss.ksh: Likewise.
89368 * catgets/gencat.c: Likewise.
89369 * csu/version.c: Likewise.
89370 * elf/ldd.bash.in: Likewise.
89371 * elf/sprof.c (print_version): Likewise.
89372 * locale/programs/locale.c: Likewise.
89373 * locale/programs/localedef.c: Likewise.
89374 * login/programs/pt_chown.c: Likewise.
89375 * nscd/nscd.c (print_version): Likewise.
89376 * debug/xtrace.sh: Likewise.
89377 * malloc/memusage.sh: Likewise.
89378 * malloc/mtrace.pl: Likewise.
89379 * debug/catchsegv.sh: Likewise.
89380
89381 2011-12-30 Jakub Jelinek <jakub@redhat.com>
89382
89383 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
89384 pure attribute.
89385
89386 2011-12-24 Ulrich Drepper <drepper@gmail.com>
89387
89388 [BZ #13533]
89389 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
89390 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
89391 transformations.
89392 * iconv/gconv_int.h: Likewise.
89393 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
89394 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
89395 from libc for GLIBC_2.16.
89396 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
89397 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
89398 * wcsmbs/uchar.h: Really define mbstate_t.
89399 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
89400 * wcsmbs/c16rtomb.c: New file.
89401 * wcsmbs/mbrtoc16.c: New file.
89402 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
89403 for C/POSIX locale.
89404 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
89405 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
89406
89407 * wcsmbs/wchar.h: Add missing __restrict.
89408
89409 2011-12-23 Ulrich Drepper <drepper@gmail.com>
89410
89411 [BZ #13532]
89412 * time/Makefile (routines): Add timespec_get.
89413 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
89414 * time/time.h: Define TIME_UTC and declare timespec_get. Define
89415 timespec for ISO C11.
89416 * time/timespec_get.c: New file.
89417 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
89418 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
89419
89420 [BZ #13531]
89421 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
89422 * stdlib/stdlib.h: Declare aligned_alloc.
89423 * Versions.def: Add GLIBC_2.16 for libc.
89424 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
89425
89426 [BZ 13527]
89427 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
89428 ISO C11.
89429
89430 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
89431 code.
89432
89433 [BZ #13528]
89434 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
89435
89436 [BZ #13529]
89437 * assert/assert.h (static_assert): Define.
89438
89439 * version.h: Update for 2.16 development version.
89440
89441 [BZ #13526]
89442 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
89443 _ISOC11_SOURCE.
89444
89445 * version.h (RELEASE): Bump for 2.15 release.
89446 * include/features.h (__GLIBC_MINOR__): Bump to 15.
89447
89448 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
89449 Patch by Marek Polacek <mpolacek@redhat.com>.
89450
89451 * bits/byteswap.h: Protect long long constants with __extension__.
89452 * sysdeps/i386/bits/byteswap.h: Likewise.
89453 * sysdeps/ia64/bits/byteswap.h: Likewise.
89454 * sysdeps/s390/bits/byteswap.h: Likewise.
89455 * sysdeps/x86_64/bits/byteswap.h: Likewise.
89456
89457 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89458
89459 [BZ #13540]
89460 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
89461 destination buffer.
89462 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
89463
89464 2011-12-23 Marek Polacek <polacek@redhat.com>
89465
89466 * elf/dl-addr.c (determine_info): Add inline keyword.
89467 * elf/tst-auditmod4b.c (check_avx): Likewise.
89468 * elf/tst-auditmod6b.c (check_avx): Likewise.
89469 * elf/tst-auditmod6c.c (check_avx): Likewise.
89470 * elf/tst-auditmod7b.c (check_avx): Likewise.
89471
89472 2011-12-23 Ulrich Drepper <drepper@gmail.com>
89473
89474 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
89475 !__SSE_MATH__.
89476
89477 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89478
89479 [BZ #13540]
89480 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
89481 processing for last bytes.
89482
89483 2011-08-06 Bruno Haible <bruno@clisp.org>
89484
89485 [BZ #13061]
89486 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
89487 U+0385, not to U+1FEE.
89488
89489 [BZ #13062]
89490 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
89491 entry for U+00A5 U+0301.
89492
89493 2011-12-22 Ulrich Drepper <drepper@gmail.com>
89494
89495 [BZ #13166]
89496 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
89497 buffer for the output is too small.
89498
89499 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
89500 optimization.
89501
89502 [BZ #13185]
89503 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
89504 SSE flags if possible.
89505
89506 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89507
89508 [BZ #13540]
89509 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
89510 processing for last bytes.
89511
89512 2011-12-22 Joseph Myers <joseph@codesourcery.com>
89513
89514 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
89515 (syscall-list-default-options, syscall-list-default-condition)
89516 (syscall-list-includes): Define.
89517 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
89518 list of ABIs and options and #if conditions for each ABI. Do not
89519 handle common syscalls between ABIs specially.
89520 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
89521 Remove.
89522 (syscall-list-variants, syscall-list-32bit-options)
89523 (syscall-list-32bit-condition, syscall-list-64bit-options)
89524 (syscall-list-64bit-condition): Define.
89525 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
89526 (syscall-list-variants, syscall-list-32bit-options)
89527 (syscall-list-32bit-condition, syscall-list-64bit-options)
89528 (syscall-list-64bit-condition): Define.
89529 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
89530 Remove.
89531 (syscall-list-variants, syscall-list-32bit-options)
89532 (syscall-list-32bit-condition, syscall-list-64bit-options)
89533 (syscall-list-64bit-condition): Define.
89534 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
89535 Remove.
89536 (syscall-list-variants, syscall-list-32bit-options)
89537 (syscall-list-32bit-condition, syscall-list-64bit-options)
89538 (syscall-list-64bit-condition): Define.
89539
89540 2011-12-22 Ulrich Drepper <drepper@gmail.com>
89541
89542 * locale/iso-639.def: Add brx entry.
89543
89544 [BZ #13328]
89545 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
89546 Proposed by Mariusz_Cukr <marcukr@op.pl>.
89547
89548 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
89549 __feraiseexcept_renamed.
89550
89551 2011-12-21 Ulrich Drepper <drepper@gmail.com>
89552
89553 [BZ #13538]
89554 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
89555 EPOLLET with unsigned values.
89556 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89557 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89558
89559 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
89560 to large cancellation.
89561 * math/s_cacoshf.c: Likewise.
89562 * math/s_cacoshl.c: Likewise.
89563
89564 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
89565
89566 [BZ #13305]
89567 [BZ #12786]
89568 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
89569 * math/s_cacoshf.c: Likewise.
89570 * math/s_cacoshl.c: Likewise.
89571
89572 2011-12-21 Ulrich Drepper <drepper@gmail.com>
89573
89574 [BZ #13439]
89575 * iconv/gconv.h: Define __GCONV_SWAP.
89576 * iconvdata/unicode.c: The swap bit must be stored in __flags.
89577 * iconvdata/utf-16.c: Likewise.
89578 * iconvdata/utf-32.c: Likewise.
89579
89580 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
89581
89582 [BZ #13524]
89583 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
89584 numerator after shifting it by one limb.
89585
89586 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
89587
89588 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
89589 under [__USE_EXTERN_INLINES].
89590
89591 2011-12-17 Ulrich Drepper <drepper@gmail.com>
89592
89593 [BZ #13446]
89594 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
89595
89596 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89597
89598 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
89599 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
89600 optimized code.
89601 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
89602 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
89603 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
89604 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
89605 for strncasecmp/strncasecmp_l compilation.
89606 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
89607 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
89608
89609 2011-12-08 Marek Polacek <mpolacek@redhat.com>
89610
89611 [BZ #13484]
89612 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
89613 of __asm__.
89614
89615 2011-12-17 Ulrich Drepper <drepper@gmail.com>
89616
89617 [BZ #13506]
89618 * time/tzfile.c (__tzfile_read): Check values from file header.
89619
89620 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
89621
89622 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
89623 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
89624 * powerpc/powerpc32/dl-start.S: Likewise.
89625 * powerpc/powerpc32/elf/start.S: Likewise.
89626 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
89627 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
89628 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
89629 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
89630 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
89631 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
89632 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
89633 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
89634 * powerpc/powerpc32/fpu/s_round.S: Likewise.
89635 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
89636 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
89637 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
89638 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
89639 * powerpc/powerpc32/memset.S: Likewise.
89640 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
89641 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
89642 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
89643 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
89644 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
89645 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
89646 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
89647 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
89648 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
89649 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
89650 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
89651 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
89652 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
89653
89654 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89655
89656 * math/libm-test.inc: Added more nearbyint tests.
89657 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
89658 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
89659 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
89660 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
89661
89662 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
89663
89664 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
89665 FD_CLOEXEC.
89666
89667 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89668
89669 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
89670 Add wcscpy-ssse3 wcscpy-c.
89671 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
89672 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
89673 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
89674 * sysdeps/x86_64/wcschr.S: New file.
89675 * sysdeps/x86_64/wcsrchr.S: New file.
89676 * string/test-strcmp.c: Remove checking of wcscmp function for
89677 wrong alignments.
89678 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
89679 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
89680 wcsrchr-sse2 wcsrchr-c.
89681 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
89682 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
89683 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
89684 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
89685 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
89686 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
89687 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
89688 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
89689 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
89690 * wcsmbc/wcschr.c (WCSCHR): New macro.
89691
89692 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89693
89694 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
89695 * wcsmbs/test-wcsrchr.c: New file.
89696 * string/test-strrchr.c: Add wcsrchr support.
89697 (WIDE): New macro.
89698 * wcsmbs/test-wcscpy.c: New file.
89699 * string/test-strcpy.c: Add wcscpy support.
89700 (WIDE): New macro.
89701
89702 2011-12-10 Ulrich Drepper <drepper@gmail.com>
89703
89704 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
89705 the inner loop.
89706
89707 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
89708
89709 [BZ #13472]
89710 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
89711
89712 2011-12-04 Ulrich Drepper <drepper@gmail.com>
89713
89714 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
89715 Minor optimizations.
89716
89717 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
89718 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
89719 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
89720
89721 2011-12-03 Ulrich Drepper <drepper@gmail.com>
89722
89723 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
89724 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
89725 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
89726 for gcc to avoid warnings.
89727 * inet/Makefile (tests): Add tst-checks.
89728 * inet/tst-checks.c: New file.
89729
89730 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
89731 warning.
89732
89733 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
89734 __wmemcmp_sse2.
89735
89736 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
89737 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
89738
89739 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
89740
89741 2011-12-02 Ulrich Drepper <drepper@gmail.com>
89742
89743 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
89744 problem.
89745
89746 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
89747
89748 2011-11-29 Joseph Myers <joseph@codesourcery.com>
89749
89750 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
89751 conditional on GCC version.
89752 (__arch_compare_and_exchange_val_8_acq)
89753 (__arch_compare_and_exchange_val_16_acq)
89754 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
89755 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
89756 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
89757
89758 2011-12-02 Joseph Myers <joseph@codesourcery.com>
89759
89760 * sysdeps/sh/backtrace.c: New file.
89761
89762 2011-12-02 Andreas Schwab <schwab@redhat.com>
89763
89764 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
89765 parenthesis.
89766
89767 2011-12-01 Andreas Schwab <schwab@redhat.com>
89768
89769 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
89770 falling back to utime.
89771
89772 2011-11-30 Andreas Schwab <schwab@redhat.com>
89773
89774 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
89775 expectations for float.
89776
89777 2011-11-29 Andreas Schwab <schwab@redhat.com>
89778
89779 * locale/weight.h (findidx): Add parameter len.
89780 * locale/weightwc.h (findidx): Likewise.
89781 * posix/fnmatch_loop.c (FCT): Adjust caller.
89782 * posix/regcomp.c (build_equiv_class): Likewise.
89783 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
89784 * posix/regexec.c (check_node_accept_bytes): Likewise.
89785 * string/strcoll_l.c (STRCOLL): Likewise.
89786 * string/strxfrm_l.c (STRXFRM): Likewise.
89787
89788 2011-11-17 Ulrich Drepper <drepper@gmail.com>
89789
89790 * Makefile.in: Remove CVSOPT handling.
89791 * configure.in: Remove use of AC_REVISION.
89792 * iconvdata/Makefile (distribute): No need to filter out CVS.
89793 * scripts/list-sources.sh: Remove CVS, subversion and monotone
89794 handling.
89795
89796 2011-11-16 Andreas Schwab <schwab@redhat.com>
89797
89798 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
89799 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
89800 [USE_AS_STRNCASECMP_L]: Likewise.
89801 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
89802 NO_TLS_DIRECT_SEG_REFS.
89803 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
89804 Fix argument offsets for non-PIC.
89805 [USE_AS_STRNCASECMP_L]: Likewise.
89806 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
89807 NO_TLS_DIRECT_SEG_REFS.
89808
89809 2011-11-15 Ulrich Drepper <drepper@gmail.com>
89810
89811 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
89812 O_CLOEXEC.
89813 * locale/loadlocale.c (_nl_load_locale): Likewise.
89814
89815 2011-11-15 Andreas Schwab <schwab@redhat.com>
89816
89817 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
89818 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
89819 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
89820 (SYSCALL_GETTIME): Set errno on error.
89821
89822 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
89823 count references to noai6ai_cached.
89824
89825 2011-11-15 Ulrich Drepper <drepper@gmail.com>
89826
89827 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
89828
89829 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
89830 FD_CLOEXEC for /proc/self/maps.
89831
89832 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
89833 FD_CLOEXEC for /proc/meminfo.
89834
89835 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
89836 gai.conf.
89837
89838 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
89839 FD_CLOEXEC for given file.
89840
89841 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
89842
89843 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
89844 FD_CLOEXEC for /etc/hosts.
89845 (_gethtent): Likewise.
89846
89847 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
89848
89849 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
89850 cancellation and set FD_CLOEXEC for /etc/netgroup.
89851
89852 * nss/nss_files/files-key.c (search): Don't allow cancellation when
89853 reading /etc/publickey.
89854
89855 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
89856 allow cancellation when reading /etc/group.
89857
89858 * nss/nss_files/files-alias.c (internal_setent): Don't allow
89859 cancellation.
89860 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
89861
89862 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
89863 when using data file.
89864
89865 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
89866
89867 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
89868 (write_nis_obj): Use "c" and "e" in fopen.
89869
89870 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
89871
89872 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
89873
89874 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
89875
89876 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
89877
89878 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
89879 locale.alias.
89880
89881 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
89882
89883 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
89884
89885 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
89886
89887 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
89888 file parsing and set FD_CLOEXEC.
89889
89890 2011-11-14 Ulrich Drepper <drepper@gmail.com>
89891
89892 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
89893
89894 2011-11-14 Andreas Schwab <schwab@redhat.com>
89895
89896 * malloc/arena.c (arena_get2): Don't call reused_arena when
89897 _int_new_arena failed.
89898
89899 2011-11-14 Ulrich Drepper <drepper@gmail.com>
89900
89901 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
89902 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
89903 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
89904 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
89905 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
89906 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
89907 to compile strcasecmp and strncasecmp.
89908 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
89909 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
89910
89911 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
89912
89913 2011-11-13 Ulrich Drepper <drepper@gmail.com>
89914
89915 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
89916 locale-defines.sym to gen-as-const-headers.
89917 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
89918 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
89919 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
89920 to compile strcasecmp and strncasecmp.
89921 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
89922 strcasecmp_l and strncasecmp_l.
89923 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
89924 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
89925 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
89926 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
89927 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
89928 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
89929 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
89930 * sysdeps/i386/i686/multiarch/strncase.S: New file.
89931 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
89932 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
89933 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
89934
89935 2011-11-12 Ulrich Drepper <drepper@gmail.com>
89936
89937 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
89938 result of SYSDEP_GETTIME_CPU to retval.
89939 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
89940 parameter list to macro. Remove trailing semicolon. Adjust users.
89941
89942 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
89943 variable.
89944
89945 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
89946 mantissa words.
89947 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
89948
89949 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
89950 from unused variable.
89951
89952 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
89953 DWARF definitions.
89954 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
89955 for assembling.
89956
89957 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
89958 over namespaces.
89959
89960 * sunrpc/rpc_prot.c (rejected): Fix case value.
89961
89962 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
89963 unsigned long long int to avoid warnings in shift.
89964
89965 * posix/regex_internal.c (re_string_reconstruct): Actually use result
89966 of use of trans.
89967 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
89968 variable tmp.
89969
89970 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
89971 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
89972 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
89973
89974 * nis/nis_table.c (nis_list): Use variable of correct type for
89975 result of __follow_path call.
89976
89977 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89978
89979 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
89980 of math functions ceil, trunc, floor, round, and sqrt, when
89981 avaliable on the platform.
89982 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
89983 name clash.
89984 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
89985 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
89986 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
89987
89988 2011-10-30 Marek Polacek <mpolacek@redhat.com>
89989
89990 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
89991 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
89992
89993 2011-11-11 Roland McGrath <roland@hack.frob.com>
89994
89995 * include/unistd.h: Fix __readlink return type.
89996 Reported by Chris Metcalf <cmetcalf@tilera.com>.
89997
89998 2011-11-11 Ulrich Drepper <drepper@gmail.com>
89999
90000 * stdlib/ucontext.h: Undo last change for makecontext.
90001
90002 2011-11-11 Andreas Schwab <schwab@redhat.com>
90003
90004 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
90005
90006 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
90007 * setjmp/setjmp.h: Mark functions as non-leaf.
90008 * setjmp/bits/setjmp2.h: Likewise.
90009 * stdlib/ucontext.h: Likewise.
90010
90011 2011-11-10 Andreas Schwab <schwab@redhat.com>
90012
90013 * malloc/arena.c (_int_new_arena): Don't increment narenas.
90014 (reused_arena): Don't check arena limit.
90015 (arena_get2): Atomically check arena limit.
90016
90017 2011-11-08 Ulrich Drepper <drepper@gmail.com>
90018
90019 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
90020 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
90021
90022 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
90023 instructions.
90024
90025 2011-11-07 Andreas Schwab <schwab@redhat.com>
90026
90027 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
90028 handler when locking.
90029
90030 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
90031 Fix size of allocated buffer.
90032
90033 2011-11-04 Andreas Schwab <schwab@redhat.com>
90034
90035 [BZ #10103]
90036 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
90037 declarations for long double functions.
90038 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
90039
90040 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
90041
90042 2011-11-03 Andreas Schwab <schwab@redhat.com>
90043
90044 * nscd/nscd.c (main): Don't start AVC thread until credentials are
90045 installed.
90046
90047 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
90048 is disabled.
90049
90050 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
90051
90052 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
90053
90054 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
90055
90056 * include/alloca.h (stackinfo_alloca_round): Define.
90057 (extend_alloca): Use it.
90058 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
90059 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
90060 here.
90061
90062 * scripts/check-local-headers.sh: Ignore libaudit.h.
90063
90064 * nscd/Makefile (extra-objs): Make recursively expanded.
90065
90066 2011-11-01 Ulrich Drepper <drepper@gmail.com>
90067
90068 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
90069 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
90070
90071 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
90072 * posix/tst-rfc3484-2.c: Likewise.
90073 * posix/tst-rfc3484-3.c: Likewise.
90074
90075 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
90076 process_vm_writev.
90077 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
90078 process_vm_writev.
90079 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
90080 process_vm_writev from libc using GLIBC_2.15 version.
90081
90082 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
90083
90084 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
90085
90086 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
90087 stack usage.
90088
90089 2011-10-31 Ulrich Drepper <drepper@gmail.com>
90090
90091 [BZ #13367]
90092 * nss/getent.c (initgroups_keys): Show error message in case no group
90093 names are given.
90094
90095 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
90096 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
90097 __bump_nl_timestamp.
90098 * nscd/connections (nscd_init): When host database is served open
90099 netlink socket and request notification about configuration changes.
90100 (main_loop_poll): Track netlink file descriptor and bump timestamp
90101 in case data becomes available.
90102 (main_loop_epoll): Likewise.
90103 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
90104 (database_pers_head): Add extra_data fileds.
90105 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
90106 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
90107 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
90108 Adjust caller.
90109 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
90110 in6ai data, call __free_in6ai.
90111 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
90112 Add -DHAVE_NETLINK.
90113 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
90114 interface information. Reuse previous data if netlink timestamp
90115 is not changed.
90116 (__bump_nl_timestamp): New function.
90117 (__free_in6ai): New function.
90118
90119 2011-10-30 Ulrich Drepper <drepper@gmail.com>
90120
90121 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
90122 close_not_cancel_no_status here.
90123 (__check_pf): Reorganize code a bit to not call close twice if OOM.
90124
90125 2011-10-29 Ulrich Drepper <drepper@gmail.com>
90126
90127 [BZ #13276]
90128 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
90129 return value.
90130
90131 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
90132 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
90133 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
90134
90135 2011-07-03 Andreas Jaeger <aj@suse.de>
90136
90137 [BZ #10709]
90138 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
90139 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
90140 * math/libm-test.inc (sin_test): Add test case.
90141
90142 2011-10-29 Ulrich Drepper <drepper@gmail.com>
90143
90144 [BZ #13337]
90145 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
90146 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90147
90148 * elf/chroot_canon.c (chroot_canon): Cleanups.
90149
90150 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
90151
90152 [BZ #13335]
90153 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
90154 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90155
90156 * string/test-strchr.c: Make usable for strchrnul testing.
90157 * string/test-strchrnul.c: New file.
90158 * string/Makefile (strop-tests): Add strchrnul.
90159
90160 * po/it.po: Update from translation team.
90161 * po/es.po: Likewise.
90162
90163 2011-10-28 Ulrich Drepper <drepper@gmail.com>
90164
90165 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
90166 the three constants needed as parameters. Drop the others.
90167 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
90168 __m128i_strloadu_tolower.
90169 Create and initialize variable zero and use it in all the places
90170 where _mm_setzero_si128 was used.
90171
90172 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
90173 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
90174 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
90175 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
90176 anymore.
90177 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
90178 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
90179 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
90180 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
90181 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
90182 __mpranred, __mptan.
90183 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
90184 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
90185 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
90186 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
90187 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
90188 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
90189 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
90190 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
90191 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
90192
90193 2011-10-28 Andreas Schwab <schwab@redhat.com>
90194
90195 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
90196 redefine if SHARED.
90197 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
90198
90199 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
90200 wide char related routines to wcsmbs subdir.
90201
90202 2011-10-27 Andreas Schwab <schwab@redhat.com>
90203
90204 [BZ #13344]
90205 * misc/sys/cdefs.h (__THROWNL): Define.
90206 * posix/unistd.h: Use __THREADNL instead of __THREAD
90207 for memory synchronization functions.
90208
90209 2011-10-26 Roland McGrath <roland@hack.frob.com>
90210
90211 [BZ #13349]
90212 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
90213 doesn't exist.
90214 * manual/stdio.texi (Obstack Streams): Node removed.
90215
90216 2011-10-26 Andreas Schwab <schwab@redhat.com>
90217
90218 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
90219 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90220 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90221
90222 * math/math_private.h (math_force_eval): Allow non-addressable
90223 arguments.
90224 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
90225
90226 2011-10-25 Ulrich Drepper <drepper@gmail.com>
90227
90228 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
90229 file is not needed.
90230
90231 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
90232 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
90233 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
90234 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
90235 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
90236 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
90237 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
90238 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
90239 Add AVX variants.
90240 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
90241 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
90242 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
90243 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
90244 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
90245 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
90246 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
90247 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
90248 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
90249 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
90250 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
90251 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
90252 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
90253 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
90254 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
90255 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
90256 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
90257 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
90258 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
90259
90260 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
90261 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
90262
90263 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
90264 place. Use VEX encoding when compiling for AVX.
90265
90266 2011-10-25 Andreas Schwab <schwab@redhat.com>
90267
90268 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
90269 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
90270
90271 * string/test-strchr.c (do_test): Don't generate NUL bytes.
90272
90273 2011-10-25 Ulrich Drepper <drepper@gmail.com>
90274
90275 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
90276 useless if() expression.
90277 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
90278 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
90279 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
90280 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
90281 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
90282 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90283 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
90284 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
90285 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
90286 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
90287 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
90288 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
90289 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
90290 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
90291 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
90292 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90293 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
90294 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
90295 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
90296
90297 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
90298
90299 2011-10-25 Andreas Schwab <schwab@redhat.com>
90300
90301 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
90302 condition.
90303 * elf/dl-fini.c (_dl_sort_fini): Likewise.
90304
90305 2011-10-25 Ulrich Drepper <drepper@gmail.com>
90306
90307 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
90308 .text section. Avoid duplicate constants.
90309 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
90310 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90311 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
90312 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90313 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90314 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90315 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90316 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90317 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
90318 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
90319 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
90320 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
90321 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
90322 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
90323 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
90324 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
90325 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
90326 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
90327 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
90328 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90329 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
90330 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
90331 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
90332 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
90333 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
90334 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
90335 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
90336 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
90337 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
90338 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
90339 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
90340 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
90341 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
90342 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
90343 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
90344 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
90345 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
90346 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
90347 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
90348 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
90349 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
90350 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
90351 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
90352 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
90353 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
90354
90355 2011-10-24 Ulrich Drepper <drepper@gmail.com>
90356
90357 * sysdeps/x86_64/dla.h: Move to ...
90358 * sysdeps/x86_64/fpu/dla.h: ...here.
90359 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
90360 situations. Use __builtin_fma only for gcc 4.6 and up.
90361
90362 * config.make.in: Add have-mfma4 entry.
90363 * configure.in: Substitute libc_cv_cc_fma4.
90364 * math/Makefile (dbl-only-routines): Add sincostab.
90365 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
90366 Use __sincostab not sincos.
90367 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
90368 name is a macro.
90369 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90370 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90371 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90372 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
90373 using __copysign.
90374 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
90375 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
90376 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
90377 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
90378 and __inv.
90379 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
90380 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
90381 __copysign.
90382 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
90383 define aliases when function name is a macro.
90384 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
90385 sysdeps/ieee754/dbl-64/sincos.tbl.
90386 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
90387 fma4-enabled routines.
90388 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
90389 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
90390 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
90391 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
90392 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
90393 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
90394 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
90395 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
90396 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
90397 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
90398 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
90399 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
90400 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
90401 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
90402 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
90403 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
90404 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
90405 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
90406 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
90407 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
90408 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
90409 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
90410 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
90411 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
90412 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
90413 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
90414 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
90415 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
90416 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
90417 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
90418
90419 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
90420 rename.
90421 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90422 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90423 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90424 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90425 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90426 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90427 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90428 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90429
90430 2011-10-24 Andreas Schwab <schwab@redhat.com>
90431
90432 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
90433
90434 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90435
90436 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
90437
90438 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
90439 prediction.
90440 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
90441
90442 * string/strnlen.c: Don't define STRNLEN, reverse logic.
90443 Remove unused variable magic_bits.
90444 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
90445
90446 * string/strnlen.c: Define and use STRNLEN macro.
90447 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
90448 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
90449 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
90450 * wcsmbs/wcslen.c: Define and use WCSLEN.
90451 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
90452 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
90453 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
90454 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
90455 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
90456 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
90457 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
90458
90459 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90460
90461 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90462 strnlen-sse2-no-bsf.
90463 Rename strlen-no-bsf to strlen-sse2-no-bsf.
90464 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
90465 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
90466 Add strnlen support.
90467 (USE_AS_STRNLEN): New macro.
90468 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
90469 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
90470 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
90471 * sysdeps/x86_64/wcslen.S: New file.
90472
90473 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
90474
90475 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
90476 XMM-moves are used for copying on small sizes.
90477
90478 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90479
90480 * wcsmbs/Makefile (strop-tests): Add wcschr.
90481 * wcsmbs/test-wcschr.c: New file.
90482 * string/test-strchr.c: Update.
90483 Add wcschr support.
90484 (WIDE): New macro.
90485
90486 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90487
90488 * wcsmbs/Makefile (strop-tests): Add wcslen.
90489 * wcsmbs/test-wcslen.c: New file.
90490 * string/test-strlen.c: Update.
90491 Add wcslen support.
90492 (WIDE): New macro.
90493
90494 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90495
90496 * po/it.po: Update from translation team.
90497
90498 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90499
90500 * sysdeps/x86_64/wcscmp.S: Update.
90501 Fix wrong comparison semantics.
90502 wcscmp shall use signed comparison not unsigned.
90503 Don't use substraction to avoid overflow bug.
90504 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
90505 * wcsmbc/wcscmp.c: Likewise.
90506 * string/test-strcmp.c: Likewise.
90507 Add new tests to check cases with negative values.
90508
90509 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90510
90511 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
90512 * sysdeps/x86_64/dla.h: ...here. New file.
90513 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
90514 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90515 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90516 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90517 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90518 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
90519 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90520 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90521 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90522
90523 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
90524
90525 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
90526 __ynl_finite aliases.
90527
90528 2011-10-22 Ulrich Drepper <drepper@gmail.com>
90529
90530 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
90531
90532 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
90533 define DLA_FMA.
90534 [DLA_FMA] (EMULV): Use DLA_FMA.
90535 [DLA_FMA] (MUL12): Use EMULV.
90536 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
90537 that are not needed.
90538 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90539 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90540 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90541 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90542 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90543 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90544 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90545
90546 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
90547
90548 * math/s_nan.c: Undef __nan.
90549 * math/s_nanf.c: Undef __nanf.
90550 * math/s_nanl.c: Undef __nanl.
90551 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
90552 "math_private.h".
90553
90554 2011-10-22 Ulrich Drepper <drepper@gmail.com>
90555
90556 * math/s_catan.c: Add branch predictions.
90557 * math/s_catanf.c: Likewise.
90558 * math/s_catanh.c: Likewise.
90559 * math/s_catanhf.c: Likewise.
90560 * math/s_catanhl.c: Likewise.
90561 * math/s_catanl.c: Likewise.
90562 * math/s_cexp.c: Likewise.
90563 * math/s_cexpf.c: Likewise.
90564 * math/s_cexpl.c: Likewise.
90565 * math/s_clog.c: Likewise.
90566 * math/s_clog10.c: Likewise.
90567 * math/s_clog10f.c: Likewise.
90568 * math/s_clog10l.c: Likewise.
90569 * math/s_clogf.c: Likewise.
90570 * math/s_clogl.c: Likewise.
90571 * math/s_csqrt.c: Likewise.
90572 * math/s_csqrtf.c: Likewise.
90573 * math/s_csqrtl.c: Likewise.
90574 * math/s_ctanf.c: Likewise.
90575 * math/s_ctanh.c: Likewise.
90576 * math/s_ctanhf.c: Likewise.
90577 * math/s_ctanhl.c: Likewise.
90578 * math/s_ctanl.c: Likewise.
90579
90580 * math/math_private.h: Define __nan, __nanf, __nanl.
90581 * math/s_cacosh.c: Include <math_private.h>.
90582 * math/s_cacoshl.c: Likewise.
90583 * math/s_casinh.c: Likewise.
90584 * math/s_casinhf.c: Likewise.
90585 * math/s_casinhl.c: Likewise.
90586 * math/s_ccos.c: Rely entire on ccosh.
90587 * math/s_ccosf.c: Rely entire on ccoshf.
90588 * math/s_ccosl.c: Rely entirely on ccoshl.
90589 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
90590 Remove tests for FE_INVALID.
90591 * math/s_ccoshf.c: Likewise.
90592 * math/s_ccoshl.c: Likewise.
90593 * math/s_csin.c: Likewise.
90594 * math/s_csinf.c: Likewise.
90595 * math/s_csinh.c Likewise.
90596 * math/s_csinhf.c: Likewise.
90597 * math/s_csinhl.c: Likewise.
90598 * math/s_csinl.c: Likewise.
90599 * math/s_ctan.c: Likewise.
90600 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
90601 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
90602 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
90603
90604 2011-10-21 Ulrich Drepper <drepper@gmail.com>
90605
90606 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
90607 compilation problems.
90608
90609 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
90610 __builtin_expect.
90611
90612 2011-10-20 Ulrich Drepper <drepper@gmail.com>
90613
90614 * sysdeps/i386/configure.in: Test for -mfma4 option.
90615 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
90616 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
90617 COMMON_CPUID_INDEX_80000001.
90618 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
90619 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
90620 use it if FMA3 is not supported.
90621 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
90622
90623 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
90624 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
90625
90626 2011-10-20 Andreas Schwab <schwab@redhat.com>
90627
90628 [BZ #12892]
90629 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
90630 it would create a cycle with a link time dependency.
90631
90632 2011-10-19 Ulrich Drepper <drepper@gmail.com>
90633
90634 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
90635 instruction.
90636 * string/Makefile (strop-tests): Add rawmemchr.
90637 * string/test-rawmemchr.c: New file.
90638
90639 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
90640 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
90641 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
90642 when compiling str{,n}casecmp and when AVX is available. Hook up
90643 new optimized code in initializers.
90644
90645 2011-10-19 Andreas Schwab <schwab@redhat.com>
90646
90647 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
90648 __feraiseexcept instead of feraiseexcept.
90649
90650 2011-10-18 Ulrich Drepper <drepper@gmail.com>
90651
90652 * math/math_private.h: Define defaults for libc_fetestexcept and
90653 libc_feupdateenv.
90654 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
90655 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
90656 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
90657 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
90658 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
90659 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
90660 libc_fetestexcept and libc_feupdateenv.
90661
90662 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
90663 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
90664 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
90665 * sysdeps/x86_64/fpu/math_private.h: Define special version of
90666 libc_feholdexcept_setround.
90667
90668 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
90669 Add s_nearbyint-c and s_nearbyintf-c.
90670 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
90671 nearbyintf inlines.
90672 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
90673 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
90674 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
90675 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
90676
90677 * math/math_private.h: Define defaults for libc_fegetround,
90678 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
90679 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
90680 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
90681 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
90682 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
90683 standard functions.
90684 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
90685 Remove comments and hacks for old compiler versions.
90686 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
90687 libc_fegetround, libc_fesetround, libc_feholdexcept, and
90688 libc_feholdexceptl.
90689
90690 2011-10-18 Andreas Schwab <schwab@redhat.com>
90691
90692 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
90693 (__feraiseexcept_renamed): Add __NTH.
90694 (feraiseexcept): Add __NTH. Rename local variables to fix
90695 namespace violations.
90696
90697 2011-10-17 Ulrich Drepper <drepper@gmail.com>
90698
90699 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
90700
90701 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
90702
90703 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
90704 recently added interfaces.
90705 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
90706
90707 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
90708 about macro parameter expansion.
90709
90710 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
90711 __NO_MATH_INLINES is defined. Cleanups.
90712
90713 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
90714 and __floorf is target has SSE4.1.
90715 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
90716 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
90717 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
90718 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
90719
90720 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
90721 name.
90722 (floorf): Likewise.
90723
90724 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
90725
90726 2011-10-17 Andreas Schwab <schwab@redhat.com>
90727
90728 * misc/sys/cdefs.h: Fix last change.
90729
90730 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
90731 database lookup.
90732
90733 2011-10-16 Ulrich Drepper <drepper@gmail.com>
90734
90735 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
90736
90737 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
90738 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
90739 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
90740 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
90741 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
90742 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
90743 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
90744 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
90745 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
90746 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
90747 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
90748 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
90749 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
90750 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
90751 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
90752 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
90753 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
90754 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
90755 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
90756 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
90757 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
90758 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
90759
90760 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
90761 ceil, ceilf, floor, floorf.
90762
90763 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
90764 Perform IRELATIVE relocations last.
90765
90766 * elf/do-rel.h: Add another parameter nrelative, replacing the
90767 local variable with the same name. Change name of the function
90768 to end in Rel or Rela (uppercase).
90769 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
90770 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
90771 elf_dynamic_do_##reloc function.
90772
90773 2011-10-15 Ulrich Drepper <drepper@gmail.com>
90774
90775 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
90776 is sufficient, at least on modern CPUs.
90777
90778 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
90779
90780 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
90781 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
90782
90783 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
90784 __expl_finite.
90785 * math/bits/math-finite.h: Add entries for exp.
90786 * math/e_expl.c: Add __*_finite alias.
90787 * sysdeps/i386/fpu/e_exp.S: Likewise.
90788 * sysdeps/i386/fpu/e_expf.S: Likewise.
90789 * sysdeps/i386/fpu/e_expl.c: Likewise.
90790 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90791 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
90792 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
90793 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
90794 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
90795 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
90796 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
90797
90798 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
90799 is sufficient, at least on modern CPUs.
90800
90801 * ctype/ctype-info.c (__ctype_init): Define.
90802 * include/ctype.h (__ctype_init): Declare.
90803 (__ctype_b_loc): The variable is always initialized.
90804 (__ctype_toupper_loc): Likewise.
90805 (__ctype_tolower_loc): Likewise.
90806 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
90807 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
90808
90809 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
90810
90811 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
90812
90813 * configure.in: Also look in $cxxmachine/include for C++ system
90814 headers.
90815
90816 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90817
90818 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
90819 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
90820 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
90821 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
90822 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
90823 (USE_AS_WMEMCMP): New macro.
90824 Fixing indents.
90825 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
90826 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
90827 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
90828 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
90829 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90830 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
90831 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
90832 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
90833 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
90834 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
90835 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
90836 (USE_AS_WMEMCMP): New macro.
90837 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
90838 * sysdeps/string/test-memcmp.c: Update.
90839 Fix simple_wmemcmp.
90840 Add new tests.
90841 * wcsmbs/wmemcmp.c: Update.
90842 (WMEMCMP): New macro.
90843 Fix overflow bug.
90844
90845 2011-10-12 Andreas Jaeger <aj@suse.de>
90846
90847 [BZ #13268]
90848 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
90849
90850 2011-10-15 Ulrich Drepper <drepper@gmail.com>
90851
90852 * libio/iofwide.c (do_length): Avoid warning.
90853
90854 * ctype/ctype.h (__isctype_f): Add missing __THROW.
90855
90856 2011-10-14 Ulrich Drepper <drepper@gmail.com>
90857
90858 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
90859
90860 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
90861 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
90862 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
90863 * sysdeps/i386/i686/fpu/e_log.S: New file.
90864 * sysdeps/i386/i686/fpu/e_logf.S: New file.
90865 * sysdeps/i386/i686/fpu/e_logl.S: New file.
90866
90867 * ctype/ctype.h: Add support for inlined isXXX functions when
90868 compiling C++ code.
90869
90870 2011-10-14 Andreas Schwab <schwab@redhat.com>
90871
90872 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
90873
90874 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
90875
90876 2011-10-13 Roland McGrath <roland@hack.frob.com>
90877
90878 [BZ #13291]
90879 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
90880
90881 2011-10-13 Andreas Schwab <schwab@redhat.com>
90882
90883 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
90884 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
90885 feraiseexcept.
90886
90887 * sysdeps/x86_64/memrchr.S: Check for zero size.
90888
90889 * string/stratcliff.c: Add memrchr tests.
90890
90891 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90892
90893 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90894 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
90895 rawmemchr-sse2 rawmemchr-sse2-bsf.
90896 * sysdeps/i386/i686/multiarch/memchr.S: New file.
90897 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
90898 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
90899 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
90900 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
90901 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
90902 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
90903 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
90904 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
90905 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
90906 * string/memrchr.c (MEMRCHR): New macro.
90907
90908 2011-10-12 Ulrich Drepper <drepper@gmail.com>
90909
90910 Add integration with gcc's -ffinite-math-only and optimize wrapper
90911 functions in libm.
90912 * Versions.def: Define GLIBC_2.15 version for libm.
90913 * math/Makefile (headers): Add bits/math-finite.h.
90914 * math/bits/math-finite.h: New file.
90915 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
90916 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
90917 * math/e_acoshl.c: Add __*_finite alias.
90918 * math/e_acosl.c: Likewise.
90919 * math/e_asinl.c: Likewise.
90920 * math/e_atan2l.c: Likewise.
90921 * math/e_atanhl.c: Likewise.
90922 * math/e_coshl.c: Likewise.
90923 * math/e_exp10.c: Likewise.
90924 * math/e_exp10f.c: Likewise.
90925 * math/e_exp10l.c: Likewise.
90926 * math/e_exp2l.c: Likewise.
90927 * math/e_fmodl.c: Likewise.
90928 * math/e_gammal_r.c: Likewise.
90929 * math/e_hypotl.c: Likewise.
90930 * math/e_j0l.c: Likewise.
90931 * math/e_j1l.c: Likewise.
90932 * math/e_jnl.c: Likewise.
90933 * math/e_lgammal_r.c: Likewise.
90934 * math/e_log10l.c: Likewise.
90935 * math/e_log2l.c: Likewise.
90936 * math/e_logl.c: Likewise.
90937 * math/e_powl.c: Likewise.
90938 * math/e_sinhl.c: Likewise.
90939 * math/e_sqrtl.c: Likewise.
90940 * math/e_scalb.c: Completely rewritten and optimized.
90941 * math/e_scalbf.c: Likewise.
90942 * math/e_scalbl.c: Likewise.
90943 * math/w_acos.c: Likewise.
90944 * math/w_acosf.c: Likewise.
90945 * math/w_acosl.c: Likewise.
90946 * math/w_acosh.c: Likewise.
90947 * math/w_acoshf.c: Likewise.
90948 * math/w_acoshl.c: Likewise.
90949 * math/w_asin.c: Likewise.
90950 * math/w_asinf.c: Likewise.
90951 * math/w_asinl.c: Likewise.
90952 * math/w_atan2.c: Likewise.
90953 * math/w_atan2f.c: Likewise.
90954 * math/w_atan2l.c: Likewise.
90955 * math/w_atanh.c: Likewise.
90956 * math/w_atanhf.c: Likewise.
90957 * math/w_atanhl.c: Likewise.
90958 * math/w_exp10.c: Likewise.
90959 * math/w_exp10f.c: Likewise.
90960 * math/w_exp10l.c: Likewise.
90961 * math/w_fmod.c: Likewise.
90962 * math/w_fmodf.c: Likewise.
90963 * math/w_fmodl.c: Likewise.
90964 * math/w_j0.c: Likewise.
90965 * math/w_j0f.c: Likewise.
90966 * math/w_j0l.c: Likewise.
90967 * math/w_j1.c: Likewise.
90968 * math/w_j1f.c: Likewise.
90969 * math/w_j1l.c: Likewise.
90970 * math/w_jn.c: Likewise.
90971 * math/w_jnf.c: Likewise.
90972 * math/w_log.c: Likewise.
90973 * math/w_logf.c: Likewise.
90974 * math/w_logl.c: Likewise.
90975 * math/w_log10.c: Likewise.
90976 * math/w_log10f.c: Likewise.
90977 * math/w_log10l.c: Likewise.
90978 * math/w_log2.c: Likewise.
90979 * math/w_log2f.c: Likewise.
90980 * math/w_log2l.c: Likewise.
90981 * math/w_pow.c: Likewise.
90982 * math/w_powf.c: Likewise.
90983 * math/w_powl.c: Likewise.
90984 * math/w_remainder.c: Likewise.
90985 * math/w_remainderf.c: Likewise.
90986 * math/w_remainderl.c: Likewise.
90987 * math/w_scalb.c: Likewise.
90988 * math/w_scalbf.c: Likewise.
90989 * math/w_scalbl.c: Likewise.
90990 * math/w_sqrt.c: Likewise.
90991 * math/w_sqrtf.c: Likewise.
90992 * math/w_sqrtl.c: Likewise.
90993 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
90994 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
90995 used.
90996 * math/math_private.h: Declare __kernel_standard_f.
90997 * math/w_cosh.c: Remove cruft and optimize a bit.
90998 * math/w_coshf.c: Likewise.
90999 * math/w_coshl.c: Likewise.
91000 * math/w_exp2.c: Likewise.
91001 * math/w_exp2f.c: Likewise.
91002 * math/w_exp2l.c: Likewise.
91003 * math/w_hypot.c: Likewise.
91004 * math/w_hypotf.c: Likewise.
91005 * math/w_hypotl.c: Likewise.
91006 * math/w_lgamma.c: Likewise.
91007 * math/w_lgamma_r.c: Likewise.
91008 * math/w_lgammaf.c: Likewise.
91009 * math/w_lgammaf_r.c: Likewise.
91010 * math/w_lgammal.c: Likewise.
91011 * math/w_lgammal_r.c: Likewise.
91012 * math/w_sinh.c: Likewise.
91013 * math/w_sinhf.c: Likewise.
91014 * math/w_sinhl.c: Likewise.
91015 * math/w_tgamma.c: Likewise.
91016 * math/w_tgammaf.c: Likewise.
91017 * math/w_tgammal.c: Likewise.
91018 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
91019 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
91020 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
91021 Minor optimizations. Pretty printing. Remove cruft.
91022 * sysdeps/i386/fpu/e_acosf.S: Likewise.
91023 * sysdeps/i386/fpu/e_acosh.S: Likewise.
91024 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
91025 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
91026 * sysdeps/i386/fpu/e_acosl.c: Likewise.
91027 * sysdeps/i386/fpu/e_asin.S: Likewise.
91028 * sysdeps/i386/fpu/e_asinf.S: Likewise.
91029 * sysdeps/i386/fpu/e_atan2.S: Likewise.
91030 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
91031 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
91032 * sysdeps/i386/fpu/e_atanh.S: Likewise.
91033 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
91034 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
91035 * sysdeps/i386/fpu/e_exp10.S: Likewise.
91036 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
91037 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
91038 * sysdeps/i386/fpu/e_exp2.S: Likewise.
91039 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
91040 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
91041 * sysdeps/i386/fpu/e_fmod.S: Likewise.
91042 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
91043 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
91044 * sysdeps/i386/fpu/e_hypot.S: Likewise.
91045 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
91046 * sysdeps/i386/fpu/e_log.S: Likewise.
91047 * sysdeps/i386/fpu/e_log10.S: Likewise.
91048 * sysdeps/i386/fpu/e_log10f.S: Likewise.
91049 * sysdeps/i386/fpu/e_log10l.S: Likewise.
91050 * sysdeps/i386/fpu/e_log2.S: Likewise.
91051 * sysdeps/i386/fpu/e_log2f.S: Likewise.
91052 * sysdeps/i386/fpu/e_log2l.S: Likewise.
91053 * sysdeps/i386/fpu/e_logf.S: Likewise.
91054 * sysdeps/i386/fpu/e_logl.S: Likewise.
91055 * sysdeps/i386/fpu/e_pow.S: Likewise.
91056 * sysdeps/i386/fpu/e_powf.S: Likewise.
91057 * sysdeps/i386/fpu/e_powl.S: Likewise.
91058 * sysdeps/i386/fpu/e_remainder.S: Likewise.
91059 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
91060 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
91061 * sysdeps/i386/fpu/e_scalb.S: Likewise.
91062 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
91063 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
91064 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
91065 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
91066 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
91067 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
91068 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
91069 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
91070 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
91071 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
91072 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
91073 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
91074 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
91075 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
91076 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
91077 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
91078 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
91079 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
91080 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
91081 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
91082 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
91083 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
91084 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
91085 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
91086 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
91087 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
91088 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
91089 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
91090 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
91091 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
91092 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
91093 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
91094 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
91095 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
91096 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
91097 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
91098 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
91099 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
91100 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
91101 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
91102 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
91103 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
91104 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
91105 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
91106 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
91107 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
91108 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
91109 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
91110 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
91111 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
91112 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
91113 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
91114 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
91115 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
91116 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
91117 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
91118 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
91119 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
91120 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
91121 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
91122 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
91123 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
91124 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
91125 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
91126 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
91127 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
91128 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
91129 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
91130 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
91131 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
91132 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
91133 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
91134 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
91135 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
91136 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
91137 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
91138 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
91139 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
91140 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
91141 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
91142 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
91143 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
91144 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
91145 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
91146 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
91147 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
91148 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
91149 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
91150 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
91151 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
91152 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
91153 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
91154 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
91155 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
91156 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
91157 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
91158 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
91159 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
91160 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
91161 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
91162 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
91163 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
91164 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
91165 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
91166 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
91167 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
91168 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
91169 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
91170 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
91171 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
91172 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
91173 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
91174 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
91175 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
91176 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
91177 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
91178 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
91179 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
91180 (__isnanf): Likewise.
91181 (__isinf_ns): Likewise.
91182 (__isinf_nsf): Likewise.
91183 (__finite): Likewise.
91184 (__finitef): Likewise.
91185 (__ieee754_sqrt): Define as macro.
91186 (__ieee754_sqrtf): Define as macro.
91187 (__ieee754_sqrtl): Define as macro.
91188 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
91189 inlined copy.
91190 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
91191 __FINITE_MATH_ONLY__ consistent.
91192 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
91193
91194 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
91195
91196 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
91197 of rawmemchr.
91198
91199 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
91200
91201 2011-10-09 Ulrich Drepper <drepper@gmail.com>
91202
91203 * po/ja.po: Update from translation team.
91204
91205 2011-10-08 Roland McGrath <roland@hack.frob.com>
91206
91207 * locale/programs/locarchive.c (prepare_address_space): New function.
91208 (create_archive, enlarge_archive, open_archive): Use it.
91209
91210 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
91211 inside [SHARED], where it is used.
91212
91213 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
91214
91215 * nss/getent.c (netgroup_keys): Remove unused variable.
91216 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
91217
91218 2011-10-08 Ulrich Drepper <drepper@gmail.com>
91219
91220 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
91221 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
91222 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
91223 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
91224 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
91225 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
91226 * math/Makefile (libm-calls): Add s_isinf_ns.
91227 * math/divtc3.c: Use __isinf_nsl instead of isinf.
91228 * math/multc3.c: Likewise.
91229 * math/s_casin.c: Likewise.
91230 * math/s_casinf.c: Likewise.
91231 * math/s_casinl.c: Likewise.
91232 * math/s_ccos.c: Likewise.
91233 * math/s_ccosf.c: Likewise.
91234 * math/s_ccosl.c: Likewise.
91235 * math/s_ctan.c: Likewise.
91236 * math/s_ctanf.c: Likewise.
91237 * math/s_ctanh.c: Likewise.
91238 * math/s_ctanhf.c: Likewise.
91239 * math/s_ctanhl.c: Likewise.
91240 * math/s_ctanl.c: Likewise.
91241 * math/w_fmod.c: Likewise.
91242 * math/w_fmodf.c: Likewise.
91243 * math/w_fmodl.c: Likewise.
91244 * math/w_remainder.c: Likewise.
91245 * math/w_remainderf.c: Likewise.
91246 * math/w_remainderl.c: Likewise.
91247 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
91248 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
91249 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
91250 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
91251 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
91252 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
91253 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
91254 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
91255
91256 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
91257 of the number.
91258 * stdio-common/printf_fphex.c: Likewise.
91259 * stdio-common/printf_size.c: Likewise.
91260
91261 * math/e_exp10.c: Include math_private.h using <...> not "...".
91262 * math/e_exp10f.c: Likewise.
91263 * math/e_exp10l.c: Likewise.
91264 * math/e_exp2l.c: Likewise.
91265 * math/e_j0l.c: Likewise.
91266 * math/e_j1l.c: Likewise.
91267 * math/e_jnl.c: Likewise.
91268 * math/e_lgammal_r.c: Likewise.
91269 * math/e_rem_pio2l.c: Likewise.
91270 * math/e_scalb.c: Likewise.
91271 * math/e_scalbf.c: Likewise.
91272 * math/e_scalbl.c: Likewise.
91273 * math/k_cosl.c: Likewise.
91274 * math/k_sinl.c: Likewise.
91275 * math/k_tanl.c: Likewise.
91276 * math/s_cacoshf.c: Likewise.
91277 * math/s_catan.c: Likewise.
91278 * math/s_catanf.c: Likewise.
91279 * math/s_catanh.c: Likewise.
91280 * math/s_catanhf.c: Likewise.
91281 * math/s_catanhl.c: Likewise.
91282 * math/s_catanl.c: Likewise.
91283 * math/s_ccosh.c: Likewise.
91284 * math/s_ccoshf.c: Likewise.
91285 * math/s_ccoshl.c: Likewise.
91286 * math/s_cexp.c: Likewise.
91287 * math/s_cexpf.c: Likewise.
91288 * math/s_cexpl.c: Likewise.
91289 * math/s_clog.c: Likewise.
91290 * math/s_clog10.c: Likewise.
91291 * math/s_clog10f.c: Likewise.
91292 * math/s_clog10l.c: Likewise.
91293 * math/s_clogf.c: Likewise.
91294 * math/s_clogl.c: Likewise.
91295 * math/s_csin.c: Likewise.
91296 * math/s_csinf.c: Likewise.
91297 * math/s_csinh.c: Likewise.
91298 * math/s_csinhf.c: Likewise.
91299 * math/s_csinhl.c: Likewise.
91300 * math/s_csinl.c: Likewise.
91301 * math/s_csqrt.c: Likewise.
91302 * math/s_csqrtf.c: Likewise.
91303 * math/s_csqrtl.c: Likewise.
91304 * math/s_ctan.c: Likewise.
91305 * math/s_ctanf.c: Likewise.
91306 * math/s_ctanh.c: Likewise.
91307 * math/s_ctanhf.c: Likewise.
91308 * math/s_ctanhl.c: Likewise.
91309 * math/s_ctanl.c: Likewise.
91310 * math/s_ldexp.c: Likewise.
91311 * math/s_ldexpf.c: Likewise.
91312 * math/s_ldexpl.c: Likewise.
91313 * math/s_significand.c: Likewise.
91314 * math/s_significandf.c: Likewise.
91315 * math/s_significandl.c: Likewise.
91316 * math/w_acos.c: Likewise.
91317 * math/w_acosf.c: Likewise.
91318 * math/w_acosh.c: Likewise.
91319 * math/w_acoshf.c: Likewise.
91320 * math/w_acoshl.c: Likewise.
91321 * math/w_acosl.c: Likewise.
91322 * math/w_asin.c: Likewise.
91323 * math/w_asinf.c: Likewise.
91324 * math/w_asinl.c: Likewise.
91325 * math/w_atan2.c: Likewise.
91326 * math/w_atan2f.c: Likewise.
91327 * math/w_atan2l.c: Likewise.
91328 * math/w_atanh.c: Likewise.
91329 * math/w_atanhf.c: Likewise.
91330 * math/w_atanhl.c: Likewise.
91331 * math/w_cosh.c: Likewise.
91332 * math/w_coshf.c: Likewise.
91333 * math/w_coshl.c: Likewise.
91334 * math/w_dremf.c: Likewise.
91335 * math/w_exp10.c: Likewise.
91336 * math/w_exp10f.c: Likewise.
91337 * math/w_exp10l.c: Likewise.
91338 * math/w_exp2.c: Likewise.
91339 * math/w_exp2f.c: Likewise.
91340 * math/w_fmod.c: Likewise.
91341 * math/w_fmodf.c: Likewise.
91342 * math/w_fmodl.c: Likewise.
91343 * math/w_hypot.c: Likewise.
91344 * math/w_hypotf.c: Likewise.
91345 * math/w_hypotl.c: Likewise.
91346 * math/w_j0.c: Likewise.
91347 * math/w_j0f.c: Likewise.
91348 * math/w_j0l.c: Likewise.
91349 * math/w_j1.c: Likewise.
91350 * math/w_j1f.c: Likewise.
91351 * math/w_j1l.c: Likewise.
91352 * math/w_jn.c: Likewise.
91353 * math/w_jnf.c: Likewise.
91354 * math/w_jnl.c: Likewise.
91355 * math/w_lgamma.c: Likewise.
91356 * math/w_lgamma_r.c: Likewise.
91357 * math/w_lgammaf.c: Likewise.
91358 * math/w_lgammaf_r.c: Likewise.
91359 * math/w_lgammal.c: Likewise.
91360 * math/w_lgammal_r.c: Likewise.
91361 * math/w_log.c: Likewise.
91362 * math/w_log10.c: Likewise.
91363 * math/w_log10f.c: Likewise.
91364 * math/w_log10l.c: Likewise.
91365 * math/w_log2.c: Likewise.
91366 * math/w_log2f.c: Likewise.
91367 * math/w_log2l.c: Likewise.
91368 * math/w_logf.c: Likewise.
91369 * math/w_logl.c: Likewise.
91370 * math/w_pow.c: Likewise.
91371 * math/w_powf.c: Likewise.
91372 * math/w_powl.c: Likewise.
91373 * math/w_remainder.c: Likewise.
91374 * math/w_remainderf.c: Likewise.
91375 * math/w_remainderl.c: Likewise.
91376 * math/w_scalb.c: Likewise.
91377 * math/w_scalbf.c: Likewise.
91378 * math/w_scalbl.c: Likewise.
91379 * math/w_sinh.c: Likewise.
91380 * math/w_sinhf.c: Likewise.
91381 * math/w_sinhl.c: Likewise.
91382 * math/w_sqrt.c: Likewise.
91383 * math/w_sqrtf.c: Likewise.
91384 * math/w_sqrtl.c: Likewise.
91385 * math/w_tgamma.c: Likewise.
91386 * math/w_tgammaf.c: Likewise.
91387 * math/w_tgammal.c: Likewise.
91388
91389 * po/ja.po: Update from translation team.
91390
91391 2011-09-29 Andreas Jaeger <aj@suse.de>
91392
91393 [BZ #13179]
91394 * sunrpc/netname.c (netname2host): Fix logic.
91395
91396 [BZ #6779]
91397 [BZ #6783]
91398 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
91399 correctly.
91400 * math/w_remainder.c (__remainder): Likewise.
91401 * math/w_remainderf.c (__remainderf): Likewise.
91402 * math/libm-test.inc (remainder_test): Add test cases.
91403
91404 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
91405
91406 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
91407 sdiv_qrnnd.
91408
91409 2011-10-07 Ulrich Drepper <drepper@gmail.com>
91410
91411 * string/test-memcmp.c: Avoid unncessary #defines.
91412 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
91413
91414 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91415
91416 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
91417 Use new sse2 version for core i3 - i7 as it's faster
91418 than sse42 version.
91419 (bit_Prefer_PMINUB_for_stringop): New.
91420 * sysdeps/x86_64/rawmemchr.S: Update.
91421 Replace with faster SSE2 version.
91422 * sysdeps/x86_64/memrchr.S: New file.
91423 * sysdeps/x86_64/memchr.S: Update.
91424 Replace with faster SSE2 version.
91425
91426 2011-09-12 Marek Polacek <mpolacek@redhat.com>
91427
91428 * elf/dl-load.c (lose): Add cast to avoid warning.
91429
91430 2011-10-07 Ulrich Drepper <drepper@gmail.com>
91431
91432 * po/ca.po: Update from translation team.
91433
91434 * inet/getnetgrent_r.c: Hook up nscd.
91435 * nscd/Makefile (routines): Add nscd_netgroup.
91436 (nscd-modules): Add netgroupcache.
91437 (CFLAGS-netgroupcache.c): Define.
91438 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
91439 (cache_search): Add const to second parameter.
91440 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
91441 INNETGR.
91442 (dbs): Add netgrdb entry.
91443 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
91444 (verify_persistent_db): Handle netgrdb.
91445 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
91446 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
91447 GETFDNETGR.
91448 (netgroup_response_header): Define.
91449 (innetgroup_response_header): Define.
91450 (datahead): Add netgroup_response_header and innetgroup_response_header
91451 elements.
91452 * nscd/nscd.conf: Add entries for netgroup cache.
91453 * nscd/nscd.h (dbtype): Add netgrdb.
91454 (_PATH_NSCD_NETGROUP_DB): Define.
91455 (netgroup_iov_disabled): Declare.
91456 (xmalloc, xcalloc, xrealloc): Move declarations here.
91457 (cache_search): Adjust prototype.
91458 Add netgroup-related prototypes.
91459 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
91460 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
91461 (__nscd_innetgr): Declare.
91462 * nscd/selinux.c (perms): Use access_vector_t as element type and
91463 add netgroup-related initializers.
91464 * nscd/netgroupcache.c: New file.
91465 * nscd/nscd_netgroup.c: New file.
91466 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
91467 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
91468 For four parameters use innetgr.
91469 * nss/nss_files/files-init.c: Add definition and callback for netgr.
91470 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
91471 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
91472 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
91473
91474 * nscd/connections.c (register_traced_file): Don't register file
91475 for disabled databases.
91476
91477 2011-10-06 Ulrich Drepper <drepper@gmail.com>
91478
91479 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
91480
91481 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
91482 from tree and freeing node.
91483
91484 2011-09-25 Jiri Olsa <jolsa@redhat.com>
91485
91486 * nss/nsswitch.c (__nss_database_lookup): Handle
91487 nss_parse_service_list out of memory case.
91488
91489 2011-09-15 Jiri Olsa <jolsa@redhat.com>
91490
91491 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
91492 out of memory case.
91493
91494 2011-10-04 Andreas Schwab <schwab@redhat.com>
91495
91496 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
91497 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
91498 pass it down.
91499 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
91500 elf_machine_rela, elf_machine_lazy_rel.
91501 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
91502 (ELF_DYNAMIC_DO_REL): Likewise.
91503 (ELF_DYNAMIC_DO_RELA): Likewise.
91504 (ELF_DYNAMIC_RELOCATE): Likewise.
91505 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
91506 to ELF_DYNAMIC_DO_REL.
91507 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
91508 (dl_main): In trace mode always set __RTLD_NOIFUNC.
91509 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
91510 elf_machine_rela.
91511 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
91512 skip_ifunc, don't call ifunc function if non-zero.
91513 (elf_machine_rela): Likewise.
91514 (elf_machine_lazy_rel): Likewise.
91515 (elf_machine_lazy_rela): Likewise.
91516 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
91517 (elf_machine_lazy_rel): Likewise.
91518 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
91519 Likewise.
91520 (elf_machine_lazy_rel): Likewise.
91521 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91522 Likewise.
91523 (elf_machine_lazy_rel): Likewise.
91524 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
91525 (elf_machine_lazy_rel): Likewise.
91526 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
91527 (elf_machine_lazy_rel): Likewise.
91528 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
91529 (elf_machine_lazy_rel): Likewise.
91530 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
91531 (elf_machine_lazy_rel): Likewise.
91532 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
91533 (elf_machine_lazy_rel): Likewise.
91534 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
91535 (elf_machine_lazy_rel): Likewise.
91536
91537 2011-09-28 Ulrich Drepper <drepper@gmail.com>
91538
91539 * nss/nss_files/files-init.c (_nss_files_init): Use static
91540 initialization for all the *_traced_file variables.
91541
91542 2011-09-28 Andreas Schwab <schwab@redhat.com>
91543
91544 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91545
91546 2011-09-27 Roland McGrath <roland@hack.frob.com>
91547
91548 [BZ #13226]
91549 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
91550
91551 2011-09-27 Andreas Schwab <schwab@redhat.com>
91552
91553 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
91554 Reread the line before reparsing it.
91555
91556 2011-09-26 Andreas Schwab <schwab@redhat.com>
91557
91558 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
91559
91560 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
91561 Maxim Kuvyrkov <maxim@codesourcery.com>
91562 Joseph Myers <joseph@codesourcery.com>
91563
91564 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
91565 if needed for __stack_chk_guard.
91566
91567 2011-09-19 Roland McGrath <roland@hack.frob.com>
91568
91569 * sysdeps/posix/spawni.c (script_execute): Always define it.
91570 It will be optimized away if unused.
91571 (maybe_script_execute): New function.
91572 (__spawni): Call it.
91573
91574 * Makerules: Don't include tls.make.
91575 (config-tls): Always set to thread.
91576 * tls.make.c: File removed.
91577
91578 2011-09-19 Mike Frysinger <vapier@gentoo.org>
91579
91580 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
91581 * config.make.in (CPPFLAGS-config): New substituted variable.
91582
91583 2011-09-15 Ulrich Drepper <drepper@gmail.com>
91584
91585 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
91586
91587 [BZ #13192]
91588 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
91589 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
91590
91591 2011-09-15 Roland McGrath <roland@hack.frob.com>
91592
91593 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
91594 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
91595 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
91596 (CALL_FAIL): Likewise.
91597 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
91598 (CALL_FAIL): Macro removed.
91599 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
91600
91601 2011-09-15 Ulrich Drepper <drepper@gmail.com>
91602
91603 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
91604 for __FINITE_MATH_ONLY__ == 1.
91605
91606 2011-09-15 Andreas Schwab <schwab@redhat.com>
91607
91608 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
91609 __ieee754_sqrt instead of sqrt.
91610 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
91611 __ieee754_sqrtf instead of sqrtf.
91612 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
91613 __floorf instead of floorf.
91614 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
91615 __floorf, __truncf instead of floorf, truncf.
91616
91617 2011-09-14 Ulrich Drepper <drepper@gmail.com>
91618
91619 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
91620
91621 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
91622 __extern_always_inline.
91623 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
91624 32-bit.
91625
91626 2011-09-14 Andreas Schwab <schwab@redhat.com>
91627
91628 * elf/rtld.c (dl_main): Also relocate in dependency order when
91629 doing symbol dependency testing.
91630
91631 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
91632
91633 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91634 Always define `refsym'.
91635
91636 2011-09-13 Andreas Schwab <schwab@redhat.com>
91637
91638 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
91639 (__FD_ELT): Renamed from __FDELT.
91640 * misc/bits/select2.h (__FD_ELT): Likewise.
91641 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
91642 __FD_MASK instead of __FDELT, __FDMASK.
91643 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
91644 Likewise.
91645 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
91646 Likewise.
91647
91648 * elf/Makefile (gen-ldd): Fix pattern.
91649
91650 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
91651 (init_tls): Likewise.
91652
91653 2011-09-12 Ulrich Drepper <drepper@gmail.com>
91654
91655 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
91656
91657 2011-09-12 Andreas Schwab <schwab@redhat.com>
91658
91659 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
91660 `struct cmsghdr *' instead of `void *'.
91661 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
91662 Likewise.
91663
91664 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
91665
91666 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
91667 if non-absolute.
91668 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
91669 ldd_rewrite_script.
91670
91671 2011-09-11 Ulrich Drepper <drepper@gmail.com>
91672
91673 * configure.in: Remove --with-tls option.
91674 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
91675 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
91676 out in case it is missing.
91677 * sysdeps/ia64/elf/configure.in: Likewise.
91678 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
91679 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
91680 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
91681 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
91682 * sysdeps/sh/elf/configure.in: Likewise.
91683 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
91684 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
91685 * sysdeps/x86_64/elf/configure.in: Likewise.
91686 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
91687 * sysdeps/mach/hurd/tls.h: Likewise.
91688
91689 [BZ #13067]
91690 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
91691
91692 [BZ #13090]
91693 * configure.in: Fix use of AC_INIT.
91694
91695 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
91696
91697 2011-09-10 Ulrich Drepper <drepper@gmail.com>
91698
91699 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
91700 __set_errno.
91701 * malloc/hooks.c: Likewise.
91702
91703 [BZ #11929]
91704 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
91705 variables statically.
91706 (narenas): Initialize.
91707 (list_lock): Initialize.
91708 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
91709 initializtion of main_arena and list_lock. Small cleanups.
91710 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
91711 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
91712 Add initializers to main_arena and mp_.
91713 (malloc_state): Remove pagesize member. Change all users to use
91714 GLRO(dl_pagesize).
91715
91716 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
91717 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
91718 is always initialized.
91719
91720 * malloc/malloc.c: Removed unused configurations and dead code.
91721 * malloc/arena.c: Likewise.
91722 * malloc/hooks.c: Likewise.
91723 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
91724
91725 * include/tls.h: Removed. USE___THREAD must always be defined.
91726 * bits/libc-tsd.h: Don't handle !USE___THREAD.
91727 * elf/dl-libc.c: Likewise.
91728 * elf/dl-tsd.c: Likewise.
91729 * include/errno.h: Likewise.
91730 * include/netdb.h: Likewise.
91731 * include/resolv.h: Likewise.
91732 * inet/herrno-loc.c: Likewise.
91733 * inet/herrno.c: Likewise.
91734 * malloc/arena.c: Likewise.
91735 * malloc/hooks.c: Likewise.
91736 * malloc/malloc.c: Likewise.
91737 * resolv/res-state.c: Likewise.
91738 * resolv/res_libc.c: Likewise.
91739 * sysdeps/i386/dl-machine.h: Likewise.
91740 * sysdeps/ia64/dl-machine.h: Likewise.
91741 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
91742 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
91743 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
91744 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
91745 * sysdeps/sh/dl-machine.h: Likewise.
91746 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
91747 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
91748 * sysdeps/unix/i386/sysdep.S: Likewise.
91749 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
91750 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
91751 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
91752 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
91753 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
91754 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
91755 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
91756 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
91757 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
91758 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
91759 * sysdeps/unix/x86_64/sysdep.S: Likewise.
91760 * sysdeps/x86_64/dl-machine.h: Likewise.
91761 * tls.make.c: Likewise.
91762
91763 * configure.in: Remove --with-__thread option. Make tests for
91764 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
91765 tls_model attribute fail if no support is available. Remove
91766 USE_IN_LIBIO.
91767 * Makeconfig: Adjust for dropped configure option. All features are
91768 now mandatory.
91769 * Makerules: Likewise.
91770 * Versions.def: Likewise.
91771 * argp/argp-fmtstream.c: Likewise.
91772 * argp/argp-fmtstream.h: Likewise.
91773 * argp/argp-help.c: Likewise.
91774 * assert/assert.c: Likewise.
91775 * config.h.in: Likewise.
91776 * config.make.in: Likewise.
91777 * configure: Likewise.
91778 * configure.in: Likewise.
91779 * csu/Versions: Likewise.
91780 * csu/init.c: Likewise.
91781 * elf/tst-audit2.c: Likewise.
91782 * elf/tst-tls10.c: Likewise.
91783 * elf/tst-tls10.h: Likewise.
91784 * elf/tst-tls11.c: Likewise.
91785 * elf/tst-tls12.c: Likewise.
91786 * elf/tst-tls14.c: Likewise.
91787 * elf/tst-tlsmod11.c: Likewise.
91788 * elf/tst-tlsmod12.c: Likewise.
91789 * elf/tst-tlsmod13.c: Likewise.
91790 * elf/tst-tlsmod13a.c: Likewise.
91791 * elf/tst-tlsmod14a.c: Likewise.
91792 * elf/tst-tlsmod15b.c: Likewise.
91793 * elf/tst-tlsmod16a.c: Likewise.
91794 * elf/tst-tlsmod16b.c: Likewise.
91795 * elf/tst-tlsmod7.c: Likewise.
91796 * elf/tst-tlsmod8.c: Likewise.
91797 * elf/tst-tlsmod9.c: Likewise.
91798 * gmon/gmon.c: Likewise.
91799 * grp/fgetgrent_r.c: Likewise.
91800 * grp/putgrent.c: Likewise.
91801 * hurd/fopenport.c: Likewise.
91802 * include/libc-symbols.h: Likewise.
91803 * include/tls.h: Likewise.
91804 * intl/gettextP.h: Likewise.
91805 * intl/loadinfo.h: Likewise.
91806 * locale/global-locale.c: Likewise.
91807 * locale/localeinfo.h: Likewise.
91808 * mach/devstream.c: Likewise.
91809 * malloc/arena.c: Likewise.
91810 * malloc/set-freeres.c: Likewise.
91811 * misc/err.c: Likewise.
91812 * misc/getttyent.c: Likewise.
91813 * misc/mntent_r.c: Likewise.
91814 * posix/getopt.c: Likewise.
91815 * posix/wordexp.c: Likewise.
91816 * pwd/fgetpwent_r.c: Likewise.
91817 * resolv/Versions: Likewise.
91818 * resolv/res_hconf.c: Likewise.
91819 * shadow/fgetspent_r.c: Likewise.
91820 * shadow/putspent.c: Likewise.
91821 * stdio-common/printf_fphex.c: Likewise.
91822 * stdio-common/tmpfile.c: Likewise.
91823 * stdlib/abort.c: Likewise.
91824 * stdlib/fmtmsg.c: Likewise.
91825 * sunrpc/auth_unix.c: Likewise.
91826 * sunrpc/clnt_perr.c: Likewise.
91827 * sunrpc/clnt_tcp.c: Likewise.
91828 * sunrpc/clnt_udp.c: Likewise.
91829 * sunrpc/clnt_unix.c: Likewise.
91830 * sunrpc/openchild.c: Likewise.
91831 * sunrpc/svc_simple.c: Likewise.
91832 * sunrpc/svc_tcp.c: Likewise.
91833 * sunrpc/svc_udp.c: Likewise.
91834 * sunrpc/svc_unix.c: Likewise.
91835 * sunrpc/xdr.c: Likewise.
91836 * sunrpc/xdr_array.c: Likewise.
91837 * sunrpc/xdr_rec.c: Likewise.
91838 * sunrpc/xdr_ref.c: Likewise.
91839 * sunrpc/xdr_stdio.c: Likewise.
91840
91841 2011-09-09 Ulrich Drepper <drepper@gmail.com>
91842
91843 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91844
91845 2011-07-03 Andreas Jaeger <aj@suse.de>
91846
91847 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
91848 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
91849 regenerate with gen-libm-tests.pl.
91850
91851 2010-05-12 Petr Baudis <pasky@suse.cz>
91852
91853 [BZ #11589]
91854 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
91855 around j0() zero points by switching to j1().
91856 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
91857 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
91858 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
91859 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
91860
91861 2011-09-09 Ulrich Drepper <drepper@gmail.com>
91862
91863 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
91864 instead of 0.
91865 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
91866 instead of 0.
91867 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
91868 Patch in part by Pavel Roskin <proski@gnu.org>.
91869
91870 [BZ #13138]
91871 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
91872 realloc.
91873 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
91874 Free memory block if necessary.
91875
91876 [BZ #12847]
91877 * libio/genops.c (INTDEF): For string streams the _lock pointer can
91878 be NULL. Don't lock in this case.
91879
91880 2011-09-09 Roland McGrath <roland@hack.frob.com>
91881
91882 * elf/elf.h (ELFOSABI_GNU): New macro.
91883 (ELFOSABI_LINUX): Define to that.
91884
91885 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
91886
91887 * string/strncat.c (strncat): Undef the symbol in case it has been
91888 defined in bits/string.h.
91889
91890 2011-09-09 Ulrich Drepper <drepper@gmail.com>
91891
91892 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
91893
91894 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
91895 link map.
91896
91897 2011-08-17 Andreas Jaeger <aj@suse.de>
91898
91899 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
91900
91901 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
91902 Ian Lance Taylor <iant@google.com>
91903
91904 * math/libm-test.inc (lround_test): New testcase.
91905 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
91906
91907 2011-09-08 Ulrich Drepper <drepper@gmail.com>
91908
91909 * Makefile: Remove support for automatic cvs check-ins.
91910 * Makerules: Likewise.
91911 * config.make.in: Likewise.
91912 * configure.in: Likewise.
91913 * intl/Makefile: Likewise.
91914 * locale/Makefile: Likewise.
91915 * po/Makefile: Likewise.
91916 * posix/Makefile: Likewise.
91917 * sysdeps/gnu/Makefile: Likewise.
91918 * sysdeps/mach/hurd/Makefile: Likewise.
91919 * sysdeps/sparc/sparc32/Makefile: Likewise.
91920
91921 [BZ #13118]
91922 * posix/Makefile (bug-regex32-ENV): Define.
91923 Patch by John Stanley <jpsinthemix@verizon.net>.
91924
91925 * misc/Makefile (headers): Add bits/select2.h.
91926 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
91927 * misc/bits/select2.h: New file.
91928 * include/bits/select2.h: New file.
91929 * debug/Makefile (routines): Add fdelt_chk.
91930 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
91931 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
91932 FD_ISSET.
91933 * debug/fdelt_chk.c: New file.
91934
91935 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
91936 * wcsmbs/test-wmemcmp.c: Likewise.
91937 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
91938 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
91939
91940 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91941
91942 * string/Makefile (strop-tests): Add memcmp.
91943 * string/test-wmemcmp.c: New file.
91944 * string/test-memcmp.c: Add wmemcmp support.
91945
91946 2011-09-08 Roland McGrath <roland@hack.frob.com>
91947
91948 [BZ #13153]
91949 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
91950 2011-07-19 change.
91951
91952 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
91953 garbage value in a __mach_port_mod_refs call in the cases of the
91954 task-self and thread-self ports.
91955
91956 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
91957
91958 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
91959
91960 2011-09-08 Andreas Schwab <schwab@redhat.com>
91961
91962 * elf/dl-load.c (lose): Check for non-null L.
91963
91964 2011-09-07 Ulrich Drepper <drepper@gmail.com>
91965
91966 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
91967
91968 * elf/dl-libc.c (dlerror_run): Pass back error code from
91969 dl_catch_error.
91970
91971 [BZ #13123]
91972 * elf/dl-load.c (lose): Free l_origin if it is valid.
91973
91974 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
91975 names.
91976 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
91977 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
91978 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
91979 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
91980 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
91981 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
91982
91983 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
91984
91985 * sysdeps/powerpc/fpu/e_hypot.c: New file.
91986 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
91987 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
91988 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
91989 * sysdeps/powerpc/fpu/k_cosf.c: New file.
91990 * sysdeps/powerpc/fpu/k_sinf.c: New file.
91991 * sysdeps/powerpc/fpu/s_cosf.c: New file.
91992 * sysdeps/powerpc/fpu/s_sinf.c: New file.
91993 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
91994 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
91995
91996 2011-08-15 Alan Modra <amodra@gmail.com>
91997
91998 [BZ #13092]
91999 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
92000 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
92001 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
92002 ppc_mcount to static-only-routines.
92003 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
92004 __mcount_internal.
92005 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
92006 __mcount_internal with usual JUMPTARGET. Remove useless nop.
92007
92008 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
92009
92010 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
92011 for finite and infinity parameters.
92012
92013 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
92014
92015 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
92016 and add nop instructions for throughput optimization.
92017 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
92018
92019 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
92020
92021 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
92022 aligned copy for power7 with vector-scalar instructions.
92023 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
92024
92025 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
92026
92027 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
92028 AVX check.
92029
92030 2011-09-07 Andreas Schwab <schwab@redhat.com>
92031
92032 [BZ #13144]
92033 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
92034 last change.
92035
92036 2011-09-07 Ulrich Drepper <drepper@gmail.com>
92037
92038 * sysdeps/unix/sysv/linux/x86_64/init-first.c
92039 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
92040 syscall wrapper around clock_gettime in __vdso_clock_gettime.
92041 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
92042 clock_gettime.
92043
92044 2011-09-06 Ulrich Drepper <drepper@gmail.com>
92045
92046 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
92047 Forgot to demangle the pointer.
92048
92049 * sysdeps/i386/sysdep.h: Define atom_text_section.
92050 * sysdeps/x86_64/sysdep.h: Likewise.
92051 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
92052 section with atom_text_section.
92053 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92054 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92055 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
92056 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92057 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
92058
92059 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
92060 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
92061 already be defined. Change to take two parameters and don't assign
92062 result to variable. Adjust all users.
92063 Define INTERNAL_GETTIME if not already defined.
92064 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
92065 call.
92066 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
92067 HAVE_CLOCK_GETTIME_VSYSCALL.
92068 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
92069
92070 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
92071 gettimeofday vsyscall, just use time.
92072
92073 2011-09-06 Andreas Schwab <schwab@redhat.com>
92074
92075 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
92076 <errno.h>.
92077
92078 2011-09-06 Ulrich Drepper <drepper@gmail.com>
92079
92080 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
92081 syscall on x86-64.
92082 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
92083 syscall.
92084 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
92085 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
92086 syscall if possible.
92087
92088 2011-09-05 Ulrich Drepper <drepper@gmail.com>
92089
92090 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
92091 e_ident. Don't pass to find_mapsXX.
92092 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
92093
92094 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92095
92096 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92097 strchr-sse2-no-bsf strrchr-sse2-no-bsf
92098 * sysdeps/x86_64/multiarch/strchr.S: Update.
92099 Check bit_slow_BSF bit.
92100 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
92101 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
92102 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
92103
92104 2011-09-05 Ulrich Drepper <drepper@gmail.com>
92105
92106 [BZ #13134]
92107 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
92108 before glibc 2.15.
92109 (tryshell): Define.
92110 (__spawni): Change last parameter to be flag. Test
92111 SPAWN_XFLAGS_USE_PATH flag to use path or not.
92112 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
92113 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
92114 * posix/spawni.c: Likewise.
92115 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
92116 * posix/spawnp.c: Likewise. Change normal version to use
92117 SPAWN_XFLAGS_USE_PATH.
92118 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
92119 SPAWN_XFLAGS_TRY_SHELL.
92120
92121 [BZ #13150]
92122 * posix/glob.h: Remove gcc 1.x support.
92123
92124 [BZ #13068]
92125 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
92126
92127 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92128
92129 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92130 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
92131 strrchr-sse2-bsf
92132 * sysdeps/i386/i686/multiarch/strchr.S: New file.
92133 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
92134 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
92135 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
92136 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
92137 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
92138
92139 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92140
92141 * sysdeps/x86_64/wcscmp.S: New file.
92142
92143 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
92144 wcscmp-c wcscmp-sse2
92145 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
92146 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
92147 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
92148 * wcsmbs/wcscmp.c: Allow renaming.
92149
92150 2011-09-05 David S. Miller <davem@davemloft.net>
92151
92152 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
92153 stack slot, rather than the struct return pointer slot.
92154 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
92155 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
92156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
92157 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
92158
92159 2011-09-05 Ulrich Drepper <drepper@gmail.com>
92160
92161 * po/ja.po: Update from translation team.
92162
92163 [BZ #13144]
92164 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
92165 kernel in 64-bit binaries.
92166
92167 2011-09-01 David S. Miller <davem@davemloft.net>
92168
92169 * elf/elf.h (HWCAP_SPARC_*): Move to..
92170 * sysdeps/sparc/sysdep.h: this new file and add new values.
92171 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
92172 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
92173 _DL_HWCAP_COUNT to 24.
92174 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
92175 entries.
92176 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
92177 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
92178 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
92179 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
92180 instead of magic constants.
92181 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
92182
92183 2011-08-31 David S. Miller <davem@davemloft.net>
92184
92185 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
92186 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
92187 Reimplement to do errno handling inline.
92188 (SYSCALL_ERROR_HANDLER): New macro.
92189 (__SYSCALL_STRING): Do not do errno handling in asm.
92190 (__CLONE_SYSCALL_STRING): Delete.
92191 (__INTERNAL_SYSCALL_STRING): Delete.
92192 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
92193 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
92194 (PSEUDO): Reimplement to do errno handling inline.
92195 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
92196 (SYSCALL_ERROR_HANDLER): New macro.
92197 (__SYSCALL_STRING): Do not do errno handling in asm.
92198 (__CLONE_SYSCALL_STRING): Delete.
92199 (__INTERNAL_SYSCALL_STRING): Delete.
92200 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
92201 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
92202 i386.
92203 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
92204 (inline_syscall*): Add 'err' argument.
92205 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
92206 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
92207 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
92208 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
92209
92210 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
92211 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
92212
92213 2011-08-30 Andreas Schwab <schwab@redhat.com>
92214
92215 * elf/rtld.c (dl_main): Relocate objects in dependency order.
92216
92217 2011-08-29 Jiri Olsa <jolsa@redhat.com>
92218
92219 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
92220 directive.
92221
92222 2011-08-24 David S. Miller <davem@davemloft.net>
92223
92224 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
92225
92226 2011-08-24 Andreas Schwab <schwab@redhat.com>
92227
92228 * elf/Makefile: Add rules to build and run unload8 test.
92229 * elf/unload8.c: New file.
92230 * elf/unload8mod1.c: New file.
92231 * elf/unload8mod1x.c: New file.
92232 * elf/unload8mod2.c: New file.
92233 * elf/unload8mod3.c: New file.
92234
92235 * elf/dl-close.c (_dl_close_worker): Reset private search list if
92236 it wasn't used.
92237
92238 2011-08-23 David S. Miller <davem@davemloft.net>
92239
92240 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
92241 subtract stack bias.
92242 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
92243 %sp not %fp in calculations.
92244 (_JMPBUF_UNWINDS_ADJ): Likewise.
92245
92246 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
92247 (aio_suspend): Call it to force an exception region around the
92248 AIO_MISC_WAIT() invocation.
92249
92250 2011-08-23 Andreas Schwab <schwab@redhat.com>
92251
92252 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
92253 backslash.
92254
92255 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
92256
92257 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
92258 protection macro.
92259 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
92260 and <dl-machine.h>.
92261 (Elf64_FuncDesc): Remove.
92262
92263 2011-08-22 David S. Miller <davem@davemloft.net>
92264
92265 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
92266 sigaltstack check, add missing cfi directives.
92267 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
92268 missing cfi directives, and sigaltstack handling.
92269
92270 2011-08-16 Andreas Schwab <schwab@redhat.com>
92271
92272 [BZ #11724]
92273 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
92274 object is seen twice.
92275 * elf/dl-fini.c (_dl_sort_fini): Likewise.
92276
92277 * elf/Makefile (distribute): Add tst-initorder2.c.
92278 (tests): Add tst-initorder2.
92279 (modules-names): Add tst-initorder2a tst-initorder2b
92280 tst-initorder2c tst-initorder2d. Add rules to build them.
92281 ($(objpfx)tst-initorder2.out): New rule.
92282 * elf/tst-initorder2.c: New file.
92283 * elf/tst-initorder2.exp: New file.
92284
92285 2011-08-22 Andreas Schwab <schwab@redhat.com>
92286
92287 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
92288
92289 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
92290 dependencies back to end of function.
92291
92292 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
92293 $(elfobjdir)/ld.so.
92294
92295 2011-08-21 Ulrich Drepper <drepper@gmail.com>
92296
92297 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
92298 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
92299 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
92300 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
92301 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
92302 of __vdso_gettimeofday.
92303 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
92304 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
92305 attribute_hidden.
92306 (_libc_vdso_platform_setup): Remove initialization of
92307 __vdso_gettimeofday and __vdso_time.
92308
92309 2011-08-20 Ulrich Drepper <drepper@gmail.com>
92310
92311 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
92312 and fgetc_unlocked.
92313 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
92314 getc_unlocked.
92315
92316 * elf/dl-open.c (add_to_global): Report additions to the global scope
92317 for LD_DEBUG=scopes.
92318 (dl_open_worker): Also print scope of newly loaded dependencies.
92319 (_dl_show_scope): Indicate if there is no scope.
92320
92321 [BZ #13114]
92322 * stdio-common/Makefile (tests): Add bug24.
92323 * stdio-common/bug24.c: New file.
92324
92325 2011-08-19 Andreas Jaeger <aj@suse.de>
92326
92327 [BZ #13114]
92328 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
92329 non-existant file when using close-on-exec mode.
92330
92331 2011-08-20 Ulrich Drepper <drepper@gmail.com>
92332
92333 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
92334 the very first instruction.
92335
92336 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
92337 the CFI state in the end.
92338 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
92339 inclusion of dl-trampoline.h.
92340 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
92341
92342 2011-08-19 Andreas Schwab <schwab@redhat.com>
92343
92344 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
92345 expectations for long double.
92346
92347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
92348 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
92349
92350 2011-08-14 David S. Miller <davem@davemloft.net>
92351
92352 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
92353 artificual limit depends upon the system page size.
92354
92355 2011-08-17 Ulrich Drepper <drepper@gmail.com>
92356
92357 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
92358 * resolv/Makefile: Define CFLAGS-libresolv.
92359
92360 2011-08-17 Andreas Schwab <schwab@redhat.com>
92361
92362 * nss/makedb.c (compute_tables): Make variables used in nested
92363 function static.
92364
92365 2011-08-17 Ulrich Drepper <drepper@gmail.com>
92366
92367 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
92368 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
92369 if buffer was too small.
92370
92371 * elf/pldd.c (main): Attach to all threads in the process.
92372 Rewrite /proc handling to use *at functions.
92373
92374 2011-08-16 Ulrich Drepper <drepper@gmail.com>
92375
92376 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
92377 specifies first scope to show.
92378 (dl_open_worker): Update callers. Move printing scope of new
92379 object to before the relocation.
92380 * elf/rtld.c (dl_main): Update _dl_show_scope call.
92381 * sysdeps/generic/ldsodefs.h: Update declaration.
92382
92383 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
92384 string for the scope number.
92385
92386 2011-08-14 Ulrich Drepper <drepper@gmail.com>
92387
92388 * nscd/servicescache.c (cache_addserv): Make sure written is always
92389 initialized.
92390
92391 2011-08-14 Roland McGrath <roland@hack.frob.com>
92392
92393 * sysdeps/i386/i486/bits/atomic.h
92394 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
92395 statement expression, so as to suppress "set but not used" warning.
92396 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
92397
92398 * string/strncat.c (STRNCAT): Use prototype definition.
92399
92400 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
92401 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
92402 -Iprograms here.
92403 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
92404 (localedef-modules): Add localedef.
92405 (locale-modules): Add locale.
92406
92407 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
92408 * elf/rtld.c (dl_main): Invert order of assignment in last change,
92409 to avoid a warning.
92410
92411 2011-08-14 David S. Miller <davem@davemloft.net>
92412
92413 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
92414 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
92415
92416 2011-08-13 Ulrich Drepper <drepper@gmail.com>
92417
92418 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
92419 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
92420 * elf/rtld.c (dl_main): Set l_name of vDSO.
92421 Call _dl_show_scope when DL_DEBUG_SCOPES.
92422 (process_dl_debug): Recognize scopes flag and also set it for all.
92423 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
92424 Declare _dl_show_scope.
92425
92426 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
92427 (do_dlopen): Pass caller_dlopen to dl_open.
92428 (__libc_dlopen_mode): Initialize caller_dlopen.
92429
92430 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
92431 of libc. Make tolower call locale-independent. Optimize a bit by
92432 using isdigit instead of isalnum.
92433 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
92434
92435 2011-08-12 Ulrich Drepper <drepper@gmail.com>
92436
92437 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
92438 was a dependency or dynamically loaded.
92439
92440 2011-08-11 Ulrich Drepper <drepper@gmail.com>
92441
92442 * intl/l10nflist.c: Allow architecture-specific pop function.
92443 * sysdeps/x86_64/l10nflist.c: New file.
92444
92445 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
92446 classification.
92447
92448 2011-08-10 Andreas Schwab <schwab@redhat.com>
92449
92450 * include/dirent.h: Add libc_hidden_proto for scandirat and
92451 scandirat64. Don't declare __scandirat64.
92452 * dirent/scandirat.c: Add libc_hidden_def.
92453 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
92454 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
92455
92456 2011-08-10 David S. Miller <davem@davemloft.net>
92457
92458 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
92459 enum.
92460 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92461 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92462 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92463
92464 2011-08-09 Ulrich Drepper <drepper@gmail.com>
92465
92466 * Versions.def [libc]: Add GLIBC_2.15.
92467 * dirent/Makefile (routines): Add scandirat and scandirat64.
92468 * dirent/Versions [libc]: Export scandirat and scandirat64 for
92469 GLIBC_2.15.
92470 * dirent/dirent.h: Declare scandirat and scandirat64.
92471 * dirent/scandirat.c: New file.
92472 * dirent/scandirat64.c: New file.
92473 * sysdeps/wordsize-64/scandirat.c: New file.
92474 * sysdeps/wordsize-64/scandirat64.c: New file.
92475 * dirent/opendir.c: Define opendirat.
92476 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
92477 using scandirat.
92478 * dirent/scandir64.c: Adjust for scandir.c change.
92479 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
92480 __scandirat64, and __scandir_cancel_handler.
92481 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
92482 additional parameter and use openat instead of open (outside of ld.so).
92483 Add new __opendir as wrapper around __opendirat.
92484 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
92485 here without requiring old scandirat implementation.
92486
92487 2011-08-08 Ulrich Drepper <drepper@gmail.com>
92488
92489 * dirent/scandir.c (cancel_handler): Renamed to
92490 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
92491 defined. Adjust users.
92492 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
92493 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
92494
92495 2011-08-04 Ulrich Drepper <drepper@gmail.com>
92496
92497 * string/test-string.h (IMPL): Use __STRING to expand name and then
92498 stringify it.
92499
92500 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
92501 of cleanups.
92502
92503 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92504
92505 * string/Makefile: Update.
92506 (strop-tests): Append strncat.
92507 * string/test-wcscmp.c: New file.
92508 New comprehensive test for wcscmp.
92509 * string/test-strcmp.c: Update.
92510 (WIDE): New define.
92511
92512 2011-07-22 Andreas Schwab <schwab@redhat.com>
92513
92514 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
92515 line.
92516
92517 2011-07-26 Andreas Schwab <schwab@redhat.com>
92518
92519 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
92520 encoding to ACE if AI_IDN.
92521
92522 2011-08-01 Jakub Jelinek <jakub@redhat.com>
92523
92524 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
92525 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
92526
92527 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92528
92529 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
92530 Fix overflow bug in strncat.
92531 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
92532
92533 * string/test-strncat.c: Update.
92534 Add new tests for checking overflow bugs.
92535
92536 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92537
92538 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92539 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
92540 * sysdeps/i386/i686/multiarch/strcat.S: New file.
92541 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
92542 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
92543 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
92544 * sysdeps/i386/i686/multiarch/strncat.S: New file.
92545 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
92546 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
92547
92548 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
92549 (USE_AS_STRCAT): Define.
92550 Add strcat and strncat support.
92551 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92552
92553 2011-07-25 Andreas Schwab <schwab@redhat.com>
92554
92555 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
92556 __n bigger than INT_MAX+1.
92557 (__strncmp_g): Likewise.
92558
92559 2011-07-23 Ulrich Drepper <drepper@gmail.com>
92560
92561 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
92562 * libio/stido.h: Likewise.
92563
92564 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
92565 (AF_NFC): Define.
92566 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
92567 (AF_NFC): Define.
92568
92569 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
92570 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92571 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92572 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
92573 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92574
92575 [BZ #13021]
92576 * scripts/test-installation.pl: Don't expect libnss_test1 to be
92577 installed.
92578
92579 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
92580 typo.
92581 (_dl_x86_64_save_sse): Likewise.
92582
92583 2011-07-22 Ulrich Drepper <drepper@gmail.com>
92584
92585 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
92586 OSXSAVE.
92587 (_dl_x86_64_save_sse): Likewise.
92588
92589 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
92590
92591 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
92592
92593 2011-07-21 Andreas Schwab <schwab@redhat.com>
92594
92595 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
92596 change.
92597 (_dl_x86_64_save_sse): Use correct AVX check.
92598
92599 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92600
92601 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
92602 bug in strncpy/strncat.
92603 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
92604
92605 2011-07-21 Ulrich Drepper <drepper@gmail.com>
92606
92607 * string/tester.c (test_strcat): Add tests for different alignments
92608 of source and destination.
92609 (test_strncat): Likewise.
92610
92611 2011-07-20 Ulrich Drepper <drepper@gmail.com>
92612
92613 [BZ #12852]
92614 * posix/glob.c (glob): Check passed in values before using them in
92615 expressions to avoid some overflows.
92616 (glob_in_dir): Likewise.
92617
92618 [BZ #13007]
92619 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
92620 check for AVX enablement so that we don't crash with old kernels and
92621 new hardware.
92622 * elf/tst-audit4.c: Add same checks here.
92623 * elf/tst-audit6.c: Likewise.
92624
92625 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
92626
92627 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
92628
92629 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
92630
92631 2011-07-20 Ulrich Drepper <drepper@gmail.com>
92632
92633 * po/cs.po: Update from translation team.
92634 * po/bg.po: Likewise.
92635
92636 2011-07-12 Marek Polacek <mpolacek@redhat.com>
92637
92638 * misc/sys/cdefs.h: Add support for const attribute.
92639 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
92640 to gnu_dev_{major,minor,makedev} functions.
92641
92642 2011-07-20 Marek Polacek <mpolacek@redhat.com>
92643
92644 * intl/dcigettext.c (get_output_charset): Add missing bracket.
92645
92646 2011-07-20 Andreas Schwab <schwab@redhat.com>
92647
92648 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
92649 strlen results.
92650
92651 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
92652
92653 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
92654 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
92655 register in order to avoid conflicts with the soft frame pointer
92656 being held in r11 when necessary.
92657 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
92658 (INTERNAL_VSYSCALL_NCS): Likewise.
92659
92660 2011-07-14 Marek Polacek <mpolacek@redhat.com>
92661
92662 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
92663 * elf/dl-fini.c (_dl_fini): Adjust caller.
92664 * elf/dl-close.c (_dl_close_worker): Likewise.
92665 * sysdeps/generic/ldsodefs.h: Adjust declaration.
92666
92667 2011-07-15 Marek Polacek <mpolacek@redhat.com>
92668
92669 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
92670 "aux_cache->nlibs < 0".
92671
92672 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
92673 in the reload-count case.
92674
92675 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92676
92677 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92678 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
92679 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
92680 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
92681 * sysdeps/x86_64/multiarch/strcat.S: New file.
92682 * sysdeps/x86_64/multiarch/strncat.S: New file.
92683 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
92684 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
92685 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
92686 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
92687 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
92688 (USE_AS_STRCAT): Define.
92689 Add strcat and strncat support.
92690 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92691 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
92692 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
92693 * string/strncat.c: Update.
92694 (USE_AS_STRNCAT): Define.
92695 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92696 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
92697 and i7.
92698 * sysdeps/x86_64/multiarch/init-arch.h
92699 (bit_Prefer_PMINUB_for_stringop): New.
92700 (index_Prefer_PMINUB_for_stringop): Likewise.
92701 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
92702 bit_Prefer_PMINUB_for_stringop.
92703
92704 2011-07-19 Ulrich Drepper <drepper@gmail.com>
92705
92706 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
92707 buffer64.
92708 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
92709 of casting of buffer.
92710 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
92711 buffer32 and buffer64.
92712 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
92713 writes instead of casting of buffer.
92714 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
92715 buffer32.
92716 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
92717 casting of buffer.
92718
92719 2011-07-19 Andreas Schwab <schwab@redhat.com>
92720
92721 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
92722
92723 2011-07-19 Ulrich Drepper <drepper@gmail.com>
92724
92725 * nscd/nscd.c (termination_handler): Don't do anything for a database
92726 if it has not yet been initialized.
92727
92728 2011-07-18 Ulrich Drepper <drepper@gmail.com>
92729
92730 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
92731
92732 2011-07-15 Marek Polacek <mpolacek@redhat.com>
92733
92734 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
92735
92736 2011-07-18 Ulrich Drepper <drepper@gmail.com>
92737
92738 * po/nl.po: Update from translation team.
92739 * po/sv.po: Likewise.
92740
92741 2011-07-16 Roland McGrath <roland@hack.frob.com>
92742
92743 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
92744 now disallowed by GCC.
92745
92746 * configure.in (use-default-link): Default to yes if a test -shared
92747 link meets our qualifications.
92748 * configure: Regenerated.
92749
92750 * config.make.in (output-format): New variable.
92751 * configure.in: Check for ld --print-output-format support.
92752 * configure: Regenerated.
92753 * Makerules ($(common-objpfx)format.lds)
92754 [$(output-format) != unknown]: Just use $(output-format),
92755 instead of the linker-script munging.
92756
92757 2011-07-14 Roland McGrath <roland@hack.frob.com>
92758
92759 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
92760 of $(common-objpfx)shlib.lds.
92761 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
92762
92763 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
92764 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
92765
92766 * configure.in (-z relro check): Adjust test code to add a large
92767 writable data section after it.
92768 * configure: Regenerated.
92769
92770 2011-07-11 Roland McGrath <roland@hack.frob.com>
92771
92772 * configure.in (-z relro check): Fix test code to make the variable
92773 truly const.
92774 * configure: Regenerated.
92775
92776 2011-07-11 Ulrich Drepper <drepper@gmail.com>
92777
92778 * nscd/nscd.h (struct traced_file): Define.
92779 (struct database_dyn): Remove inotify_descr, reset_res, and filename
92780 elements. Add traced_files.
92781 (inotify_fd): Declare.
92782 (register_traced_file): Declare.
92783 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
92784 (inotify_fd): Export.
92785 (resolv_conf_descr): Remove.
92786 (nscd_init): Move inotify descriptor creation to main.
92787 Don't register files for notification here.
92788 (register_traced_file): New function.
92789 (invalidate_cache): Don't use reset_res to determine whether to call
92790 res_init, go through the list of registered files.
92791 (main_loop_poll): The inotify descriptors are now stored in the
92792 structures for the traced files.
92793 (main_loop_epoll): Likewise.
92794 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
92795 to __nss_disable_nscd.
92796 * nscd/cache.c (prune_cache): There is no single inotify descriptor
92797 for a database anymore. Check the records for all the registered
92798 files instead.
92799 * nss/Makefile (libnss_files-routines): Add files-init.
92800 (libnss_db-routines): Add db-init.
92801 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
92802 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
92803 * nss/nss_db/db-init.c: New file.
92804 * nss/nss_files/files-init.c: New file.
92805 * nss/nsswitch.c (nss_load_library): New function. Broken out of
92806 __nss_lookup_function.
92807 (__nss_lookup_function): Call nss_load_library.
92808 (nss_load_all_libraries): New function.
92809 (__nss_disable_nscd): Take parameter with callback function for files
92810 to register. Set is_nscd. Load all the DSOs for the NSS modules
92811 used for the cached services.
92812 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
92813 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
92814 options for features to all the files in nscd.
92815
92816 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
92817
92818 2011-07-10 Roland McGrath <roland@hack.frob.com>
92819
92820 * csu/elf-init.c (__libc_csu_init): Comment typo.
92821
92822 2011-07-09 Ulrich Drepper <drepper@gmail.com>
92823
92824 * po/pl.po: Update from translation team.
92825 * po/ja.po: Likewise.
92826 * po/ru.po: Likewise.
92827 * po/ko.po: Likewise.
92828 * po/fr.po: Likewise.
92829
92830 2011-07-09 Roland McGrath <roland@hack.frob.com>
92831
92832 * configure.in (.ctors/.dtors header and trailer check):
92833 Use an empirical test on a built program.
92834 * configure: Regenerated.
92835
92836 * configure.in (-z relro check): Use an empirical test on a built DSO.
92837 Detect, but do not require, on ia64.
92838 * configure: Regenerated.
92839
92840 * configure.in (READELF): Find it with AC_CHECK_TOOL.
92841 Update tests that use readelf to use $READELF instead.
92842 * configure: Regenerated.
92843
92844 2011-07-08 Ulrich Drepper <drepper@gmail.com>
92845
92846 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
92847 if the result is not used.
92848
92849 2011-07-05 Andreas Jaeger <aj@suse.de>
92850
92851 [BZ #9696]
92852 * stdlib/tst-strtod.c: Add testcase.
92853
92854 2011-07-07 Ulrich Drepper <drepper@gmail.com>
92855
92856 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
92857 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
92858 The latter has a higher limit. Take additional parameter to pass to
92859 the new function.
92860 (__pathconf): Pass file to __statfs_link_max.
92861 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
92862 __statfs_link_max.
92863 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
92864 __statfs_link_max.
92865
92866 [BZ #12868]
92867 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
92868 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
92869 Handle Lustre.
92870 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
92871 (__statfs_filesize_max): Likewise.
92872 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
92873
92874 2011-07-05 Andreas Jaeger <aj@suse.de>
92875
92876 * resolv/res_comp.c (dn_skipname): Remove unused variable.
92877
92878 2011-07-06 Marek Polacek <mpolacek@redhat.com>
92879
92880 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
92881 `status' variable.
92882 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
92883 Likewise.
92884
92885 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
92886
92887 * Makefile (strop-tests): Add strncat.
92888 * string/test-strncat.c: New file.
92889
92890 2011-06-30 Marek Polacek <mpolacek@redhat.com>
92891
92892 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
92893
92894 2011-06-21 Andreas Jaeger <aj@suse.de>
92895
92896 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
92897 Copy rule from iconvdata/Makefile.
92898
92899 2011-07-06 Ulrich Drepper <drepper@gmail.com>
92900
92901 [BZ #12922]
92902 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
92903 but no long options are defined, just return 'W'.
92904
92905 2011-06-22 Marek Polacek <mpolacek@redhat.com>
92906
92907 [BZ #9696]
92908 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
92909
92910 2011-07-06 Ulrich Drepper <drepper@gmail.com>
92911
92912 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
92913 netgroups to read.
92914 (innetgr): Likewise.
92915
92916 2011-07-05 Roland McGrath <roland@hack.frob.com>
92917
92918 * config.make.in (install_root): Default to $(DESTDIR).
92919
92920 2011-07-05 Ulrich Drepper <drepper@gmail.com>
92921
92922 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
92923
92924 2011-07-02 Roland McGrath <roland@hack.frob.com>
92925
92926 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
92927
92928 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
92929 containing directory rather than embedding absolute directory names.
92930
92931 * scripts/check-local-headers.sh: Rewritten using awk.
92932 Match by word, not by line. Print error messages for matches.
92933 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
92934
92935 * Makerules [shlib-lds-flags empty]:
92936 ($(common-objpfx)libc_pic.opts): New target.
92937 ($(common-objpfx)libc_pic.os.clean): New target.
92938 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
92939
92940 * config.make.in (OBJCOPY): New variable.
92941 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
92942 * configure: Regenerated.
92943
92944 * config.make.in (use-default-link): New variable.
92945 * configure.in (use_default_link): Grok --with-default-link to set it.
92946 * configure: Regenerated.
92947 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
92948 (shlib-lds, shlib-lds-flags): Define to empty.
92949
92950 * Makerules (shlib-lds): New variable.
92951 (shlib-lds-flags): New variable.
92952 (build-shlib, build-moduile, build-module-asneeded): Use it.
92953 ($(common-objpfx)libc.so): Use $(shlib-lds).
92954 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
92955 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
92956
92957 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
92958 DT_FLAGS/DT_FLAGS_1 with zero flags.
92959
92960 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
92961 linker script munging.
92962
92963 2011-07-02 Ulrich Drepper <drepper@gmail.com>
92964
92965 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
92966 as 128-bit value.
92967 * crypt/sha512.c (sha512_process_block): Perform total addition using
92968 128-bit if possible.
92969 (__sha512_finish_ctx): Likewise.
92970 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
92971 as 64-bit value.
92972 * crypt/sha256.c (SWAP64): Define.
92973 (sha256_process_block): Perform total addition using 64-bit if
92974 possible.
92975 (__sha256_finish_ctx): Likewise.
92976
92977 2011-07-01 Ulrich Drepper <drepper@gmail.com>
92978
92979 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
92980 * nscd/initgrcache.c (addinitgroupsX): Likewise.
92981 * nscd/hstcache.c (cache_addhst): Likewise.
92982 * nscd/grpcache.c (cache_addgr): Likewise.
92983 * nscd/aicache.c (addhstaiX): Likewise.
92984 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
92985
92986 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
92987
92988 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
92989 * nscd/initgrcache.c (addinitgroupsX): Likewise.
92990 * nscd/hstcache.c (cache_addhst): Likewise.
92991 * nscd/grpcache.c (cache_addgr): Likewise.
92992 * nscd/aicache.c (addhstaiX): Likewise.
92993
92994 2011-07-01 Andreas Schwab <schwab@redhat.com>
92995
92996 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
92997 domain only when needed.
92998
92999 2011-06-30 Andreas Schwab <schwab@redhat.com>
93000
93001 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
93002 is always restored.
93003
93004 2011-06-29 Ulrich Drepper <drepper@gmail.com>
93005
93006 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
93007 are re-adding the entry.
93008 * nscd/servicescache.c (cache_addserv): Likewise.
93009
93010 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
93011
93012 * sysdeps/generic/dl-irel.h: fix protection against multiple
93013 inclusions.
93014 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
93015
93016 2011-06-28 Ulrich Drepper <drepper@gmail.com>
93017
93018 [BZ #12935]
93019 * malloc/memusage.sh: Fix quoting in message.
93020 * debug/xtrace.sh: Likewise.
93021
93022 * configure.in: Remove support for --experimental-malloc option, make
93023 it the default.
93024 * config.make.in: Likewise.
93025 * malloc/Makefile: Likewise.
93026
93027 2011-06-27 Andreas Schwab <schwab@redhat.com>
93028
93029 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
93030 two-byte characters.
93031
93032 2011-06-27 Roland McGrath <roland@hack.frob.com>
93033
93034 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
93035 AC_CACHE_CHECK invocation.
93036 * configure: Regenerated.
93037
93038 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
93039
93040 2011-06-27 Ulrich Drepper <drepper@gmail.com>
93041
93042 [BZ #12350]
93043 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
93044 bit from old_res_options.
93045
93046 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
93047
93048 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
93049 value type for setfct.
93050
93051 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
93052
93053 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93054 __gettimeofday instead of gettimeofday.
93055
93056 2011-06-26 Ulrich Drepper <drepper@gmail.com>
93057
93058 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
93059
93060 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
93061
93062 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
93063
93064 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
93065 info.
93066
93067 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
93068
93069 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93070 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93071 strcpy-sse2-unaligned strncpy-sse2-unaligned
93072 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
93073 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
93074 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
93075 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
93076 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
93077 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
93078 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
93079 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
93080 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
93081 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
93082 (STRCPY): Support SSE2 and SSSE3 versions.
93083
93084 2011-06-24 Ulrich Drepper <drepper@gmail.com>
93085
93086 [BZ #12874]
93087 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
93088 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
93089 kernels which artificially limit size of requests.
93090
93091 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
93092
93093 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93094 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93095 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
93096 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
93097 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
93098 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
93099 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
93100 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
93101 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
93102 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
93103 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
93104 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
93105 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
93106 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
93107 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
93108 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93109 Enable unaligned load optimization for Intel Core i3, i5 and i7
93110 processors.
93111 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
93112 Define.
93113 (index_Fast_Unaligned_Load): Define.
93114 (HAS_FAST_UNALIGNED_LOAD): Define.
93115
93116 2011-06-23 Marek Polacek <mpolacek@redhat.com>
93117
93118 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
93119
93120 2011-06-22 Ulrich Drepper <drepper@gmail.com>
93121
93122 [BZ #12907]
93123 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
93124 until it is clear that the information is realy needed.
93125 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
93126
93127 2011-06-22 Andreas Schwab <schwab@redhat.com>
93128
93129 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
93130
93131 2011-06-22 Ulrich Drepper <drepper@gmail.com>
93132
93133 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93134 /sys/devices/system/cpu/online if it is usable.
93135
93136 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
93137 reading the information from the /proc filesystem to once a second.
93138
93139 2011-06-21 Andreas Jaeger <aj@suse.de>
93140
93141 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
93142 NULL after inclusion of kernel headers.
93143
93144 2011-06-21 Ulrich Drepper <drepper@gmail.com>
93145
93146 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
93147 calls to internal_setent.
93148
93149 [BZ #12885]
93150 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
93151 addresses using gethostbyname4_r ignore IPv4 addresses.
93152
93153 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
93154 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
93155
93156 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
93157
93158 2011-06-20 David S. Miller <davem@davemloft.net>
93159
93160 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
93161 inclusions.
93162 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
93163
93164 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
93165 (elf_irel): Use it.
93166 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
93167 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
93168 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
93169 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
93170 * sysdeps/x86_64/dl-irel.h: Likewise.
93171
93172 * elf/dl-runtime.c: Use elf_ifunc_invoke.
93173 * elf/dl-sym.c: Likewise.
93174
93175 2011-06-15 Ulrich Drepper <drepper@gmail.com>
93176
93177 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
93178 need to dereference resplen2.
93179
93180 2011-06-14 Andreas Schwab <schwab@redhat.com>
93181
93182 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
93183
93184 2011-06-15 Ulrich Drepper <drepper@gmail.com>
93185
93186 * Makeconfig: Define vardbdir and inst_vardbdir.
93187 * nss/Makefile: Add rules to install db-Makefile.
93188
93189 * nss/nss_db/db-XXX.c: Cleanup.
93190
93191 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
93192 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
93193 GLIBC_PRIVATE.
93194 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
93195 * nss/makedb.c: Implement -g option to specify that value strings
93196 are generated and should not be added to table iterated over for
93197 get*ent calls.
93198 * nss/nss_db/db-initgroups.c: New file.
93199
93200 * nss/getent.c: Add support for initgroups lookups through getgrouplist
93201 interface.
93202
93203 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
93204 (internal_getgrouplist): Adjust to name change.
93205 Update use_initgroups_entry if this is not the first call.
93206 * nss/databases.def: Add initgroups entry.
93207
93208 * nss/makedb.c (compute_tables): Check result of multiple hash table
93209 sizes to minimize maximum chain length.
93210
93211 2011-06-14 Ulrich Drepper <drepper@gmail.com>
93212
93213 * Versions.def: Add entry for libnss_db.
93214 * shlib-versions: Likewise.
93215 * nss/Makefile: Add rules to build libnss_db.
93216 * nss/Versions: Add libnss_db information. Organize libnss_files
93217 entries better.
93218 * nss/db-Makefile: Add gshadow support. Change rules for the new
93219 makedb progra. Some minor improvements to generate smaller files.
93220 * nss/nss_db/nss_db.h: Move NSS database header data structures to
93221 here from...
93222 * nss/makedb.c: ...here.
93223 Improve database format to be smaller and require less memory at
93224 runtime.
93225 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
93226 db anymore.
93227 * nss/nss_db/db-netgrp.c: Likewise.
93228 * nss/nss_db/db-open.c: Likewise.
93229 * nss/nss_files/flies-XXX.x: Adjust comments.
93230 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
93231 * nss/nss_files/files-grp.c: Likewise.
93232 * nss/nss_files/files-hosts.c: Likewise.
93233 * nss/nss_files/files-network.c: Likewise.
93234 * nss/nss_files/files-proto.c: Likewise.
93235 * nss/nss_files/files-pwd.c: Likewise.
93236 * nss/nss_files/files-rpc.c: Likewise.
93237 * nss/nss_files/files-service.c: Likewise.
93238 * nss/nss_files/files-sgrp.c: Likewise.
93239 * nss/nss_files/files-spwd.c: Likewise.
93240 * nss/nss_db/db-alias.c: Removed.
93241 * nss/nss_db/dummy-db.h: Removed.
93242
93243 2011-06-02 Ulrich Drepper <drepper@gmail.com>
93244
93245 * nss/makedb.c: Rewritten to not use database library.
93246 * nss/Makefile: Update to build new makedb program.
93247
93248 2011-06-14 Andreas Jaeger <aj@suse.de>
93249
93250 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
93251 memset declaration.
93252
93253 2011-06-10 Andreas Schwab <schwab@redhat.com>
93254
93255 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
93256 tmpbuf.
93257
93258 2011-06-10 Roland McGrath <roland@hack.frob.com>
93259
93260 * Makerules (shlib.lds): Fail if the linker script comes out empty.
93261 * elf/Makefile ($(objpfx)ld.so): Likewise.
93262
93263 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
93264 Don't list ld.so twice in dependencies.
93265
93266 * posix/bug-regex31.c: Include <stdlib.h>.
93267
93268 * nscd/hstcache.c (cache_addhst): Remove unused variable.
93269
93270 * nis/nss_compat/compat-spwd.c
93271 (getspent_next_nss_netgr): Remove unused variable.
93272 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
93273
93274 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
93275 nonmembers" output to use the right array.
93276
93277 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
93278
93279 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
93280
93281 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
93282 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
93283 * catgets/gencat.c (read_input_file): Likewise.
93284 * locale/programs/locarchive.c (enlarge_archive): Likewise.
93285
93286 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
93287 variable definition inside #if's controlling its use.
93288
93289 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
93290
93291 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
93292
93293 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
93294
93295 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
93296 unreachable code.
93297
93298 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
93299
93300 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
93301 * configure: Regenerated.
93302
93303 * Makerules: Revert last change.
93304 * elf/Makefile: Likewise.
93305
93306 2011-06-09 Roland McGrath <roland@hack.frob.com>
93307
93308 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
93309 * elf/Makefile ($(objpfx)librtld.os): Likewise.
93310 (reloc-link): Likewise.
93311
93312 2011-06-09 Ulrich Drepper <drepper@gmail.com>
93313
93314 * elf/Makefile: Add rules to build pldd.
93315 * elf/pldd.c: New file.
93316 * elf/pldd-xx.c: New file.
93317
93318 2011-06-07 Ulrich Drepper <drepper@gmail.com>
93319
93320 * version.h: Update for 2.15 development version.
93321
93322 2011-06-07 David S. Miller <davem@davemloft.net>
93323
93324 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
93325 ifuncs.
93326 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
93327 elf_machine_lazy_rel): Likewise.
93328 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
93329 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
93330 elf_machine_lazy_rel): Likewise.
93331 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
93332 dl_hwcap via passed in argument.
93333 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
93334 Likewise.
93335
93336 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
93337
93338 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
93339
93340 2011-06-06 Roland McGrath <roland@hack.frob.com>
93341
93342 [BZ #12849]
93343 * manual/fdl-1.1.texi: New file, verbatim from:
93344 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
93345 * manual/lgpl-2.1.texi: New file, verbatim from:
93346 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
93347 * manual/Makefile (licenses): New variable, list those new file names.
93348 (texis): Use it.
93349 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
93350
93351 * manual/fdl.texi: File removed.
93352 * manual/lesser.texi: File removed.
93353 * manual/libc.texinfo (Copying, Documentation License):
93354 Use new @include file names, put @appendix directive before @include.
93355
93356 2011-06-04 Jakub Jelinek <jakub@redhat.com>
93357
93358 [BZ #12841]
93359 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
93360 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
93361 (mq_open): Add __NTH.
93362
93363 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
93364
93365 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93366 Assume Intel Core i3/i5/i7 processor if AVX is available.
93367
93368 2011-05-31 Ulrich Drepper <drepper@gmail.com>
93369
93370 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
93371 typo.
93372
93373 2011-05-31 Andreas Schwab <schwab@redhat.com>
93374
93375 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
93376 memory. Use alloca_account. Fix memory leak when retrying.
93377
93378 2011-05-31 Ulrich Drepper <drepper@gmail.com>
93379
93380 * version.h (RELEASE): Bump for 2.14 release.
93381 * include/features.h (__GLIBC_MINOR__): Bump to 14.
93382
93383 * config.make.in (RANLIB): Remove entry.
93384
93385 2011-05-30 Ulrich Drepper <drepper@gmail.com>
93386
93387 * po/Makefile (po-sed-cmd): Add ksh to extensions.
93388 (libc.pot): Work around missing support for .ksh extension in xgettext.
93389
93390 [BZ #12684]
93391 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
93392 if both request failed.
93393 (send_dg): In case of server errors clear resplen or *resplen2.
93394
93395 [BZ #12454]
93396 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
93397 when there are multiple maps.
93398 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
93399 (_dl_fini): Remove test here.
93400
93401 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
93402
93403 2011-05-29 Ulrich Drepper <drepper@gmail.com>
93404
93405 [BZ #12350]
93406 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
93407 bit from old_res_options.
93408 (gaih_inet): Likewise.
93409
93410 [BZ #11099]
93411 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
93412 as signed.
93413
93414 * resolv/res_init.c (res_setoptions): Make the code more compact.
93415
93416 [BZ #11558]
93417 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
93418 set RES_USEVC.
93419
93420 [BZ #11634]
93421 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
93422
93423 * malloc/malloc.h: Mark malloc hook variables as deprecated.
93424
93425 [BZ #11781]
93426 * malloc/malloc.h: Declare malloc hook variables as volatile.
93427
93428 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
93429 in last patch.
93430
93431 [BZ #11799]
93432 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
93433 raise in the comment.
93434 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
93435 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
93436 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
93437
93438 2011-05-28 Ulrich Drepper <drepper@gmail.com>
93439
93440 [BZ #12811]
93441 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
93442 grow the buffers more if it already has to be sufficient.
93443 (build_wcs_upper_buffer): Likewise.
93444 * posix/regexec.c (check_matching): Likewise.
93445 (clean_state_log_if_needed): Likewise.
93446 (extend_buffers): Don't enlarge buffers beyond size of the input
93447 buffer.
93448 Patches mostly by Emil Wojak <emil@wojak.eu>.
93449 * posix/bug-regex32.c: New file.
93450 * posix/Makefile (tests): Add bug-regex32.
93451
93452 * locale/findlocale.c (_nl_find_locale): Return right away if
93453 _nl_explode_name failed.
93454 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
93455
93456 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
93457
93458 * debug/xtrace.sh: Unify messages.
93459 * malloc/memusage.sh: Likewise.
93460
93461 [BZ #12813]
93462 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
93463 time symbol from vDSO. Substitute with vsyscall if not available.
93464 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
93465 __vdso_time.
93466
93467 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
93468 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
93469 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
93470 Add sendmmsg and internal_sendmmsg.
93471 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
93472 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
93473 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
93474
93475 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
93476 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
93477 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
93478
93479 2011-05-27 Ulrich Drepper <drepper@gmail.com>
93480
93481 [BZ #12813]
93482 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
93483 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
93484 available.
93485 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
93486 __vdso_getcpu.
93487
93488 [BZ #12814]
93489 * iconvdata/Makefile (tests): Add bug-iconv9.
93490 * iconvdata/bug-iconv9.c: New file.
93491
93492 2011-05-27 Andreas Schwab <schwab@redhat.com>
93493
93494 [BZ #12814]
93495 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
93496
93497 2011-05-25 Jakub Jelinek <jakub@redhat.com>
93498
93499 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93500 (struct user_regs_struct): Change intcs field back to cs.
93501
93502 2011-05-25 Ulrich Drepper <drepper@gmail.com>
93503
93504 * po/ja.po: Update from translation team.
93505
93506 2011-05-23 Ulrich Drepper <drepper@gmail.com>
93507
93508 [BZ #12795]
93509 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
93510 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
93511
93512 2011-05-20 Andreas Schwab <schwab@redhat.com>
93513
93514 * stdlib/longlong.h: Update from GCC.
93515
93516 2011-05-23 Andreas Schwab <schwab@redhat.com>
93517
93518 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
93519 parameter name.
93520 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
93521 Add parameter name.
93522 (__sysconf): Pass it down.
93523
93524 2011-05-22 Ulrich Drepper <drepper@gmail.com>
93525
93526 [BZ #12671]
93527 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
93528 some situations.
93529 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
93530 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
93531 add in in __libc_use_alloca calls. Adjust callers.
93532 (glob): Use malloc in some situations.
93533
93534 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
93535 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
93536 pltexit.
93537
93538 2011-05-21 Ulrich Drepper <drepper@gmail.com>
93539
93540 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
93541 and CLOCK_BOOTTIME_ALARM.
93542
93543 [BZ #12782]
93544 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
93545 is returned.
93546
93547 * string/_strerror.c (__strerror_r): Print negative errors as signed
93548 numbers.
93549
93550 [BZ #12777]
93551 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
93552 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
93553 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
93554
93555 * configure.in: Fix typo in redirection and correct removal of test
93556 files in two cases.
93557
93558 [BZ #12788]
93559 * locale/setlocale.c (new_composite_name): Fix test to check for
93560 identical name of all categories.
93561
93562 [BZ #12792]
93563 * libio/filedoalloc.c (local_isatty): New function.
93564 (_IO_file_doallocate): Use local_isatty.
93565 * stdio-common/perror.c (perror): In case a new stream is used
93566 forward the stream error.
93567 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
93568 error flag.
93569
93570 2011-05-20 Ulrich Drepper <drepper@gmail.com>
93571
93572 [BZ #11884]
93573 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
93574 alloca.
93575 * include/alloca.h (extend_alloca_account): Define.
93576
93577 [BZ #11857]
93578 * posix/regex.h: Fix comments with documentation of user-accessible
93579 fields after compilation and describe correct free'ing of pattern
93580 after re_compile_pattern.
93581 Patch by Reuben Thomas <rrt@sc3d.org>.
93582
93583 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
93584
93585 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
93586 and -mno-altivec to prevent the compiler from using Altivec and/or
93587 VSX instructions when the corresponding registers are not available.
93588
93589 2011-05-19 Andreas Schwab <schwab@redhat.com>
93590
93591 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
93592
93593 2011-05-19 Ulrich Drepper <drepper@gmail.com>
93594
93595 * libio/freopen.c (freopen): Use __dup2, not dup2.
93596 * libio/freopen64.c (freopen64): Likewise.
93597
93598 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
93599
93600 [BZ #12775]
93601 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
93602 * math/Makefile (tests): Add test-powl.
93603 (CFLAGS-test-powl.c): Define.
93604 * math/test-powl.c: New file.
93605
93606 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
93607
93608 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
93609
93610 2011-05-17 Ulrich Drepper <drepper@gmail.com>
93611
93612 [BZ #11837]
93613 * iconvdata/gb18030.c: Update to GB18020-2005.
93614
93615 2011-05-16 Ulrich Drepper <drepper@gmail.com>
93616
93617 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
93618 RE_SYNTAX_POSIX_AWK): Update to match recent development.
93619 Patch by Aharon Robbins <arnold@skeeve.com>.
93620
93621 [BZ #11892]
93622 * stdlib/putenv.c (putenv): Don't always create copy of the variable
93623 on the stack.
93624
93625 [BZ #11895]
93626 * misc/pselect.c (__pselect): Handle timeout value errors hidden
93627 through underflows.
93628
93629 [BZ #12766]
93630 * misc/error.c (error_at_line): Ensure file_name and old_file_name
93631 point to strings before performing equality test for error_one_per_line
93632 mode.
93633
93634 [BZ #11697]
93635 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
93636
93637 [BZ #11820]
93638 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93639 (struct user_fpregs_struct): Avoid __uint*_t types.
93640
93641 [BZ #6420]
93642 * malloc/mtrace.c (tr_where): Add additional parameter to point to
93643 symbol info. Use it instead of calling _dl_addr locally.
93644 (lock_and_info): New function.
93645 (tr_freehook): Call lock_and_info and pass symbol info as additional
93646 parameter to tr_where.
93647 (tr_mallochook): Likewise.
93648 (tr_reallochook): Likewise.
93649 (tr_memalignhook): Likewise.
93650
93651 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
93652 used and couldn't be at all thread-safe.
93653
93654 2011-05-15 Ulrich Drepper <drepper@gmail.com>
93655
93656 * libio/freopen.c (freopen): Don't close old file descriptor
93657 before the new one is opened. Instead dup the new file descriptor
93658 to the old one after the new stream is created.
93659 * libio/freopen64.c (freopen64): Likewise.
93660 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
93661 * libio/fileops.c (_IO_new_file_close_it): Handle new
93662 _IO_FLAGS2_NOCLOSE flag.
93663 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
93664 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
93665 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
93666 _IO_FLAGS2_NOCLOSE flag.
93667 * include/unistd.h: Add hidden_proto for dup3.
93668 Define __have_dup3.
93669 * io/dup3.c: Define hidden symbol.
93670 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
93671
93672 [BZ #7101]
93673 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
93674 when an incomplete long option is used.
93675 * posix/tst-getopt_long1.c: New file.
93676 * posix/Makefile (tests): Add tst-getopt_long1.
93677
93678 [BZ #10138]
93679 * scripts/config.guess: Update from autoconf-2.68.
93680 * scripts/config.sub: Likewise.
93681
93682 [BZ #10157]
93683 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
93684 tests into ...
93685 (has_cpuclock): ...this. New function.
93686 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
93687 macro here based on has_cpuclock code.
93688
93689 [BZ #10149]
93690 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
93691 First byte (not low byte) is now always NUL.
93692 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
93693
93694 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
93695 Use non-cancelable interfaces.
93696
93697 [BZ #9809]
93698 * locale/iso-639.def: Add entry for Sorani.
93699
93700 [BZ #11901]
93701 * include/stdlib.h: Move include protection to the right place.
93702 Define abort_msg_s. Declare __abort_msg with it.
93703 * stdlib/abort.c (__abort_msg): Adjust type.
93704 * assert/assert.c (__assert_fail_base): New function. Majority
93705 of code from __assert_fail. Allocate memory for __abort_msg with
93706 mmap.
93707 (__assert_fail): Now call __assert_fail_base.
93708 * assert/assert-perr.c: Remove bulk of implementation. Use
93709 __assert_fail_base.
93710 * include/assert.hL Declare __assert_fail_base.
93711 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
93712 mmap.
93713 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
93714
93715 2011-05-14 Ulrich Drepper <drepper@gmail.com>
93716
93717 [BZ #11952]
93718 [BZ #12453]
93719 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
93720 until all modules are registered in the DTV.
93721 * elf/Makefile: Add rules to build and run tst-tls19.
93722 * elf/tst-tls19.c: New file.
93723 * elf/tst-tls19mod1.c: New file.
93724 * elf/tst-tls19mod2.c: New file.
93725 * elf/tst-tls19mod3.c: New file.
93726 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
93727
93728 [BZ #12083]
93729 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
93730 correctly.
93731
93732 [BZ #12601]
93733 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
93734 two-byte sequence errors.
93735 * iconvdata/Makefile (tests): Add bug-iconv8.
93736 * iconvdata/bug-iconv8.c: New file.
93737
93738 [BZ #12626]
93739 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
93740 buf2 definition.
93741
93742 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
93743
93744 [BZ #12432]
93745 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
93746 (dummy_getcfa): New function.
93747 (init): Get _Unwind_GetCFA address, use dummy if not found.
93748 (backtrace_helper): In recursion check, also check whether CFA changes.
93749 (__backtrace): Completely initialize arg.
93750
93751 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
93752 storing incomplete byte sequence in state object. Avoid testing for
93753 guaranteed too small input if we know there is enough data available.
93754
93755 2011-05-11 Andreas Schwab <schwab@redhat.com>
93756
93757 * Makeconfig (+link-pie): Indent.
93758 * Rules (binaries-pie): Define if $(have-fpie) and
93759 $(build-shared).
93760 (binaries-shared): Also filter out $(binaries-pie).
93761 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
93762 * nscd/Makefile (others-pie): Add nscd.
93763 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
93764 ($(objpfx)nscd): Remove command override.
93765 * login/Makefile (others-pie): Add pt_chown.
93766 ($(objpfx)pt_chown): Remove command override.
93767 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
93768 remove command overrides.
93769
93770 2011-05-13 Ulrich Drepper <drepper@gmail.com>
93771
93772 * libio/tst_putwc.c: Fix error messages.
93773
93774 [BZ #12724]
93775 * libio/fileops.c (_IO_new_file_close_it): Always flush when
93776 currently writing and seek to current position when not.
93777 * libio/Makefile (tests): Add bug-fclose1.
93778 * libio/bug-fclose1.c: New file.
93779
93780 2011-05-12 Ulrich Drepper <drepper@gmail.com>
93781
93782 [BZ #12511]
93783 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
93784 don't set DF_1_NODELETE here.
93785 (do_lookup_x): When entering new entry test for copy relocation
93786 and if necessary set DF_1_NODELETE flag.
93787 * elf/tst-unique4.cc: New file.
93788 * elf/tst-unique4.h: New file.
93789 * elf/tst-unique4lib.cc: New file.
93790 * elf/Makefile: Add rules to build and run tst-unique4.
93791 Patch by Piotr Bury <pbury@goahead.com>.
93792
93793 2011-05-11 Ulrich Drepper <drepper@gmail.com>
93794
93795 [BZ #12052]
93796 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
93797
93798 [BZ #12625]
93799 * misc/mntent_r.c (addmntent): Flush the stream after the output
93800
93801 [BZ #12393]
93802 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
93803 (is_trusted_path_normalize): Skip initial colon. Append slash
93804 to empty buffer. Duplicate is_trusted_path code but allow
93805 constructed patch to be prefix.
93806 (is_dst): Allow $ORIGIN followed by /.
93807 (_dl_dst_substitute): Correct clearing of check_for_trusted.
93808 Correct testing of result of is_trusted_path_normalize
93809 (decompose_rpath): Fix warning.
93810
93811 2011-05-10 Ulrich Drepper <drepper@gmail.com>
93812
93813 [BZ #11257]
93814 * grp/initgroups.c (internal_getgrouplist): When we found the service
93815 list through the initgroups entry in nsswitch.conf do not always
93816 continue on a successful lookup. Don't always use the
93817 __nss_group_database value if it is set.
93818 * nss/nsswitch.conf (initgroups): Change action for successful db
93819 lookup to continue for compatibility.
93820
93821 2011-05-09 Ulrich Drepper <drepper@gmail.com>
93822
93823 [BZ #11532]
93824 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
93825 and CP774 modules.
93826 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
93827 and CP774 modules.
93828 * iconvdata/tst-tables.sh: Likewise.
93829 * iconvdata/cp770.c: New file.
93830 * iconvdata/cp771.c: New file.
93831 * iconvdata/cp772.c: New file.
93832 * iconvdata/cp773.c: New file.
93833 * iconvdata/cp774.c: New file.
93834 * iconvdata/testdata/CP770: New file.
93835 * iconvdata/testdata/CP770..UTF8: New file.
93836 * iconvdata/testdata/CP771: New file.
93837 * iconvdata/testdata/CP771..UTF8: New file.
93838 * iconvdata/testdata/CP772: New file.
93839 * iconvdata/testdata/CP772..UTF8: New file.
93840 * iconvdata/testdata/CP773: New file.
93841 * iconvdata/testdata/CP773..UTF8: New file.
93842 * iconvdata/testdata/CP774: New file.
93843 * iconvdata/testdata/CP774..UTF8: New file.
93844
93845 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
93846 END CHARMAP line.
93847 * iconvdata/gen-8bit-gap.sh: Likewise.
93848 * iconvdata/gen-8bit.sh: Likewise.
93849
93850 * locale/iso-639.def: Add ary entry.
93851
93852 [BZ #11258]
93853 * locale/C-translit.h.in: Add U20A1 transliteration.
93854
93855 [BZ #12178]
93856 * locale/iso-639.def: Add wae entry.
93857 Patch by Kevin Bortis <bortis@translate-wae.ch>.
93858
93859 [BZ #12545]
93860 * locale/programs/localedef.c (construct_output_path): Use ssize_t
93861 for n.
93862
93863 [BZ #12711]
93864 * locale/C-translit.h.in: Add entry for U20B9.
93865 Patch by pravin.d.s@gmail.com.
93866
93867 2011-05-08 Ulrich Drepper <drepper@gmail.com>
93868
93869 [BZ #12713]
93870 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
93871 ENAMETOOLONG use generic getcwd.
93872 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
93873 in rtld. Use *stat64.
93874 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
93875 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
93876 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
93877 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
93878 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
93879 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
93880 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
93881 __fstatat64 macros.
93882 * include/dirent.h: Add libc_hidden_proto for rewinddir.
93883 * dirent/rewinddir.c: Add libc_hidden_def.
93884 * sysdeps/mach/hurd/rewinddir.c: Likewise.
93885 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
93886
93887 * include/dirent.h (__alloc_dir): Add flags parameter.
93888 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
93889 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
93890 __alloc_dir.
93891 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
93892 from fdopendir if O_CLOEXEC is already set.
93893
93894 2011-03-15 Alan Modra <amodra@gmail.com>
93895
93896 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
93897 l_tls_firstbyte_offset non-zero. Save padding offset in
93898 l_tls_firstbyte_offset for later use.
93899 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
93900 freeing static tls block.
93901
93902 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
93903
93904 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
93905 where #ifdef was intended. The intent is to prevent ARG_MAX from
93906 being defined by the kernel headers.
93907
93908 2011-05-07 Ulrich Drepper <drepper@gmail.com>
93909
93910 [BZ #12734]
93911 * resolv/resolv.h: Define RES_NOTLDQUERY.
93912 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
93913 no-tld-query and set RES_NOTLDQUERY.
93914 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
93915 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
93916 modern BIND to search name as TLD unless forbidden.
93917
93918 2011-05-07 Petr Baudis <pasky@suse.cz>
93919 Ulrich Drepper <drepper@gmail.com>
93920
93921 [BZ #12393]
93922 * elf/dl-load.c (fillin_rpath): Move trusted path check...
93923 (is_trusted_path): ...to here.
93924 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
93925 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
93926 using is_trusted_path_normalize() in setuid scripts.
93927
93928 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
93929
93930 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
93931 __BEGIN/__END_DECLS.
93932
93933 2011-05-06 Ulrich Drepper <drepper@gmail.com>
93934
93935 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
93936 NSS_STATUS_NOTFOUND if no record was found.
93937
93938 2011-05-05 Andreas Schwab <schwab@redhat.com>
93939
93940 * sunrpc/Makefile (headers): Add rpc/netdb.h.
93941 (headers-not-in-tirpc): Remove rpc/netdb.h
93942 * resolv/netdb.h: Revert last change.
93943
93944 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
93945
93946 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
93947 circular dependency between libgcc.a and libc.a.
93948
93949 2011-05-05 Andreas Schwab <schwab@redhat.com>
93950
93951 * resolv/netdb.h: Don't include <rpc/netdb.h>.
93952 * nis/Makefile: Don't install rpcsvc/*.
93953 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
93954 instead of <rpc/types.h>.
93955 (MAXHOSTNAMELEN): Define.
93956
93957 2011-05-03 Andreas Schwab <schwab@redhat.com>
93958
93959 * elf/ldconfig.c (add_dir): Don't crash on empty path.
93960
93961 2011-04-28 Maciej Babinski <mbabinski@google.com>
93962
93963 [BZ #12714]
93964 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
93965 gethostbyname4_r when IPv6 results are possible.
93966
93967 2011-05-02 Ulrich Drepper <drepper@gmail.com>
93968
93969 [BZ #12723]
93970 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
93971 _PC_PIPE_BUF handling.
93972
93973 2011-04-30 Bruno Haible <bruno@clisp.org>
93974
93975 [BZ #12717]
93976 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
93977 * resolv/netdb.h (getnameinfo): Change type of flags parameter
93978 to 'int'.
93979 * inet/getnameinfo.c (getnameinfo): Likewise.
93980
93981 2011-04-29 Ulrich Drepper <drepper@gmail.com>
93982
93983 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
93984 to groups setting in database lookup.
93985 * nss/nsswitch.conf: Add initgroups entry.
93986
93987 2011-04-22 Ulrich Drepper <drepper@gmail.com>
93988
93989 [BZ #12685]
93990 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
93991 mode string.
93992 Patch by Eric Blake <eblake@redhat.com>.
93993
93994 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
93995
93996 * sunrpc/Makefile (need-export-routines): Add svc_run.
93997 (routines): Remove svc_run.
93998 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
93999 * sunrpc/clnt_perr.c (clnt_perrno): Export.
94000 * sunrpc/svc_run.c (svc_run): Likewise.
94001 * sunrpc/svc_udp.c (svcudp_create): Likewise.
94002
94003 2011-04-21 Ulrich Drepper <drepper@gmail.com>
94004
94005 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
94006 problem in reallocation in last patch.
94007
94008 2011-04-20 Ulrich Drepper <drepper@gmail.com>
94009
94010 * sunrpc/Makefile: Move inclusion of Rules.
94011
94012 2011-04-19 Ulrich Drepper <drepper@gmail.com>
94013
94014 * nss/nss_files/files-initgroups.c: New file.
94015 * nss/Makefile (libnss_files-routines): Add files-initgroups.
94016 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
94017 _nss_files_initgroups_dyn.
94018
94019 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
94020
94021 * elf/elf.h (R_ARM_IRELATIVE): Define.
94022
94023 2011-04-19 Ulrich Drepper <drepper@gmail.com>
94024
94025 * po/ru.po: Update from translation team.
94026
94027 2011-04-17 Ulrich Drepper <drepper@gmail.com>
94028
94029 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
94030 dependencies.
94031
94032 2011-02-06 Mike Frysinger <vapier@gentoo.org>
94033
94034 [BZ #12653]
94035 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
94036 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
94037 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
94038 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
94039 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
94040
94041 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
94042
94043 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
94044 differing bytes.
94045 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
94046 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
94047 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
94048
94049 2011-04-17 Ulrich Drepper <drepper@gmail.com>
94050
94051 [BZ #12420]
94052 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
94053 storing it.
94054 * stdlib/bug-getcontext.c: New file.
94055 * stdlib/Makefile: Add rules to build and run bug-getcontext.
94056
94057 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
94058
94059 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
94060 instructions into .machine "z9-109".
94061 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
94062 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
94063
94064 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
94065
94066 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
94067 between environment variables and auxiliary vector.
94068
94069 2011-04-16 Ulrich Drepper <drepper@gmail.com>
94070
94071 * Makefile: Add rules to build linkobj/libc.so.
94072 * include/libc-symbols.h: Define libc_hidden_nolink.
94073 * include/rpc/auth.h: Mark functions which are to be hidden.
94074 * include/rpc/auth_des.h: Likewise.
94075 * include/rpc/auth_unix.h: Likewise.
94076 * include/rpc/clnt.h: Likewise.
94077 * include/rpc/des_crypt.h: Likewise.
94078 * include/rpc/key_prot.h: Likewise.
94079 * include/rpc/pmap_clnt.h: Likewise.
94080 * include/rpc/pmap_prot.h: Likewise.
94081 * include/rpc/pmap_rmt.h: Likewise.
94082 * include/rpc/rpc_msg.h: Likewise.
94083 * include/rpc/svc.h: Likewise.
94084 * include/rpc/svc_auth.h: Likewise.
94085 * include/rpc/xdr.h: Likewise.
94086 * nis/Makefile: Link all DSOs against linkobj/libc.so.
94087 * nss/Makefile: Likewise.
94088 * sunrpc/Makefile: Don't install headers. Build library with normal
94089 entry points. Don't build rpcinfo. Link RPC tests appropriately.
94090 * sunrpc/auth_des.c: Hide exported symbols by default, export some
94091 for the compat linking library. Remove use of INTDEF/INTUSE.
94092 * sunrpc/auth_none.c: Likewise.
94093 * sunrpc/auth_unix.c: Likewise.
94094 * sunrpc/authdes_prot.c: Likewise.
94095 * sunrpc/authuxprot.c: Likewise.
94096 * sunrpc/clnt_gen.c: Likewise.
94097 * sunrpc/clnt_perr.c: Likewise.
94098 * sunrpc/clnt_raw.c: Likewise.
94099 * sunrpc/clnt_simp.c: Likewise.
94100 * sunrpc/clnt_tcp.c: Likewise.
94101 * sunrpc/clnt_udp.c: Likewise.
94102 * sunrpc/clnt_unix.c: Likewise.
94103 * sunrpc/des_crypt.c: Likewise.
94104 * sunrpc/des_soft.c: Likewise.
94105 * sunrpc/get_myaddr.c: Likewise.
94106 * sunrpc/key_call.c: Likewise.
94107 * sunrpc/key_prot.c: Likewise.
94108 * sunrpc/netname.c: Likewise.
94109 * sunrpc/pm_getmaps.c: Likewise.
94110 * sunrpc/pm_getport.c: Likewise.
94111 * sunrpc/pmap_clnt.c: Likewise.
94112 * sunrpc/pmap_prot.c: Likewise.
94113 * sunrpc/pmap_prot2.c: Likewise.
94114 * sunrpc/pmap_rmt.c: Likewise.
94115 * sunrpc/publickey.c: Likewise.
94116 * sunrpc/rpc_cmsg.c: Likewise.
94117 * sunrpc/rpc_common.c: Likewise.
94118 * sunrpc/rpc_dtable.c: Likewise.
94119 * sunrpc/rpc_prot.c: Likewise.
94120 * sunrpc/rpc_thread.c: Likewise.
94121 * sunrpc/rtime.c: Likewise.
94122 * sunrpc/svc.c: Likewise.
94123 * sunrpc/svc_auth.c: Likewise.
94124 * sunrpc/svc_authux.c: Likewise.
94125 * sunrpc/svc_raw.c: Likewise.
94126 * sunrpc/svc_run.c: Likewise.
94127 * sunrpc/svc_simple.c: Likewise.
94128 * sunrpc/svc_tcp.c: Likewise.
94129 * sunrpc/svc_udp.c: Likewise.
94130 * sunrpc/svc_unix.c: Likewise.
94131 * sunrpc/svcauth_des.c: Likewise.
94132 * sunrpc/xcrypt.c: Likewise.
94133 * sunrpc/xdr.c: Likewise.
94134 * sunrpc/xdr_array.c: Likewise.
94135 * sunrpc/xdr_float.c: Likewise.
94136 * sunrpc/xdr_intXX_t.c: Likewise.
94137 * sunrpc/xdr_mem.c: Likewise.
94138 * sunrpc/xdr_rec.c: Likewise.
94139 * sunrpc/xdr_ref.c: Likewise.
94140 * sunrpc/xdr_sizeof.c: Likewise.
94141 * sunrpc/xdr_stdio.c: Likewise.
94142
94143 2011-04-10 Ulrich Drepper <drepper@gmail.com>
94144
94145 [BZ #12650]
94146 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
94147 * sysdeps/ia64/dl-tls.h: Likewise.
94148 * sysdeps/powerpc/dl-tls.h: Likewise.
94149 * sysdeps/s390/dl-tls.h: Likewise.
94150 * sysdeps/sh/dl-tls.h: Likewise.
94151 * sysdeps/sparc/dl-tls.h: Likewise.
94152 * sysdeps/x86_64/dl-tls.h: Likewise.
94153 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
94154
94155 2011-03-14 Andreas Schwab <schwab@redhat.com>
94156
94157 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
94158 rpath element also skip the following colon.
94159 (expand_dynamic_string_token): Add is_path parameter and pass
94160 down to DL_DST_REQUIRED and _dl_dst_substitute.
94161 (decompose_rpath): Call expand_dynamic_string_token with
94162 non-zero is_path. Ignore empty rpaths.
94163 (_dl_map_object_from_fd): Call expand_dynamic_string_token
94164 with zero is_path.
94165
94166 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
94167
94168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
94169 Make cancelable.
94170
94171 2011-04-09 Ulrich Drepper <drepper@gmail.com>
94172
94173 [BZ #12655]
94174 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
94175 Patch by Filipe David Manana <fdmanana@apache.org>.
94176
94177 2011-04-07 Andreas Schwab <schwab@redhat.com>
94178
94179 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
94180 Maintain aligned stack.
94181 (CHECK_RSP): Remove unused macro.
94182
94183 2011-04-03 Ulrich Drepper <drepper@gmail.com>
94184
94185 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
94186 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
94187
94188 2011-04-02 Ulrich Drepper <drepper@gmail.com>
94189
94190 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
94191
94192 * include/features.h: Mention __USE_XOPEN2K8 in comment.
94193
94194 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
94195
94196 [BZ #12518]
94197 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
94198 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
94199 * sysdeps/x86_64/memmove.c: New file.
94200 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
94201 (memcpy): Renamed to ...
94202 (__new_memcpy): This.
94203 (memcpy): Provide GLIBC_2_14 memcpy.
94204 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
94205 (memcpy): Provide GLIBC_2_2_5 memcpy.
94206
94207 2011-04-01 Ulrich Drepper <drepper@gmail.com>
94208
94209 [BZ #12631]
94210 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
94211
94212 2011-03-30 Andreas Schwab <schwab@redhat.com>
94213
94214 * misc/syncfs.c: New file.
94215 * misc/Makefile (routines): Add syncfs.
94216 * posix/unistd.h: Declare syncfs.
94217 * sysdeps/unix/syscalls.list: Add syncfs.
94218
94219 2011-04-01 Andreas Schwab <schwab@redhat.com>
94220
94221 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
94222 open_by_handle_at.
94223 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
94224 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94225 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94226 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94227 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94228 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
94229 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94230
94231 2011-04-01 Ulrich Drepper <drepper@gmail.com>
94232
94233 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
94234 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94235 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
94236 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94237 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94238 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94239 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94240
94241 * io/Makefile: Compile fallocate.c, fallocate64.c, and
94242 sync_file_range.c with -fexceptions.
94243 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
94244 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
94245 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
94246 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
94247 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
94248 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
94249 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
94250 sync_file_range as cancellation point
94251 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
94252 now a wrapper around __call_sync_file_range with cancellation handling.
94253 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
94254 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
94255 function name to __call_sync_file_range.
94256 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
94257 Add call_sync_file_range.
94258
94259 2011-04-01 Andreas Schwab <schwab@redhat.com>
94260
94261 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
94262 bits/timex.h.
94263
94264 2011-04-01 Ulrich Drepper <drepper@gmail.com>
94265
94266 * iconv/iconv.h: Fix typo in comment.
94267 * io/fcntl.h: Likewise.
94268 * libio/stdio.h: Likewise.
94269 * posix/spawn.h: Likewise.
94270 * posix/unistd.h: Likewise.
94271 * stdlib/stdlib.h: Likewise.
94272 * time/time.h: Likewise.
94273 * wcsmbs/wchar.h: Likewise.
94274
94275 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
94276 open_by_handle): Add.
94277 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
94278 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
94279 Augment a few comments.
94280 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94281 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94282 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94283 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94284 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94285 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
94286 open_by_handle.
94287
94288 * io/fcntl.h (AT_EMPTY_PATH): Define.
94289
94290 2011-03-30 Ulrich Drepper <drepper@gmail.com>
94291
94292 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
94293 * sysdeps/unix/sysv/linux/bits/time.h: New file.
94294 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
94295 to...
94296 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
94297 * Versions.def: Add GLIBC_2.14.
94298 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
94299 Export.
94300
94301 2011-03-22 Ulrich Drepper <drepper@gmail.com>
94302
94303 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
94304 round counter.
94305 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94306
94307 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
94308
94309 [BZ #12597]
94310 * string/test-strncmp.c (do_page_test): New function.
94311 (check2): Likewise.
94312 (test_main): Call check2.
94313 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
94314
94315 2011-03-20 Ulrich Drepper <drepper@gmail.com>
94316
94317 [BZ #12587]
94318 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
94319 Handle cache information in CPU leaf 4.
94320 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94321
94322 2011-03-18 Ulrich Drepper <drepper@gmail.com>
94323
94324 [BZ #12583]
94325 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
94326 character representation.
94327 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
94328
94329 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
94330
94331 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
94332 END(__isnan) to END(__isnanf) to match function entry point/label
94333 EALIGN(__isnanf,...).
94334
94335 2011-03-10 Jakub Jelinek <jakub@redhat.com>
94336
94337 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
94338
94339 2011-03-10 Ulrich Drepper <drepper@gmail.com>
94340
94341 [BZ #12510]
94342 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
94343 copy from the symbol referenced in the relocation to initialize the
94344 used variable.
94345 Patch by Piotr Bury <pbury@goahead.com>.
94346 * elf/Makefile: Add rules to build and tst-unique3.
94347 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
94348 * elf/tst-unique3.cc: New file.
94349 * elf/tst-unique3.h: New file.
94350 * elf/tst-unique3lib.cc: New file.
94351 * elf/tst-unique3lib2.cc: New file.
94352
94353 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
94354
94355 2011-03-10 Mike Frysinger <vapier@gentoo.org>
94356
94357 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
94358 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
94359 to _start.
94360
94361 2011-03-06 Ulrich Drepper <drepper@gmail.com>
94362
94363 * elf/dl-load.c (_dl_map_object): If we are looking for the first
94364 to-be-loaded object along a path to loader is ld.so.
94365
94366 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
94367 Ulrich Drepper <drepper@gmail.com>
94368
94369 * sysdeps/x86_64/memset.S: After aligning destination, code
94370 branches to different locations depending on the value of
94371 misalignment, when multiarch is enabled. Fix this.
94372
94373 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
94374
94375 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
94376 Set _x86_64_preferred_memory_instruction for AMD processsors.
94377 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94378 Set bit_Prefer_SSE_for_memop for AMD processors.
94379
94380 2011-03-04 Ulrich Drepper <drepper@gmail.com>
94381
94382 * libio/fmemopen.c (fmemopen): Optimize a bit.
94383
94384 2011-03-03 Andreas Schwab <schwab@redhat.com>
94385
94386 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
94387
94388 2011-03-03 Roland McGrath <roland@redhat.com>
94389
94390 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
94391
94392 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
94393
94394 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
94395 __bzero_ultra1 instead of __memset_ultra1.
94396
94397 2011-02-23 Andreas Schwab <schwab@redhat.com>
94398 Ulrich Drepper <drepper@gmail.com>
94399
94400 [BZ #12509]
94401 * include/link.h (struct link_map): Add l_orig_initfini.
94402 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
94403 returning unsuccessfully.
94404 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
94405 close of a file loaded at startup, restore the original l_initfini
94406 list.
94407 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
94408 list, store the pointer.
94409 * elf/Makefile ($(objpfx)noload-mem): New rule.
94410 (noload-ENV): Define.
94411 (tests): Add $(objpfx)noload-mem.
94412 * elf/noload.c: Include <memcheck.h>.
94413 (main): Call mtrace. Close all opened handles.
94414
94415 2011-02-17 Andreas Schwab <schwab@redhat.com>
94416
94417 [BZ #12454]
94418 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
94419 dependencies are missing.
94420
94421 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
94422
94423 Fix __if_freereq crash: Unlike the generic version which uses free,
94424 Hurd needs munmap.
94425 * sysdeps/mach/hurd/ifreq.h: New file.
94426
94427 2011-01-27 Petr Baudis <pasky@suse.cz>
94428 Ulrich Drepper <drepper@gmail.com>
94429
94430 [BZ 12445]#
94431 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
94432 to extend_alloca().
94433 * stdio-common/bug23.c: New file.
94434 * stdio-common/Makefile (tests): Add bug23.
94435
94436 2010-09-28 Andreas Schwab <schwab@redhat.com>
94437 Ulrich Drepper <drepper@gmail.com>
94438
94439 [BZ #12489]
94440 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
94441 before performing relro protection. At old place add assertion
94442 to make sure nothing changed.
94443
94444 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
94445 Glauber de Oliveira Costa <glommer@gmail.com>
94446
94447 * elf/elf.h: Add new ARM TLS relocs.
94448
94449 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
94450
94451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
94452 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
94453 cast from r3.
94454 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
94455 'tests' variable.
94456 * sysdeps/wordsize-64/tst-writev.c: New file.
94457
94458 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
94459
94460 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
94461 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
94462 insns in _dl_start to prevent a TOC reference before relocs are
94463 resolved.
94464
94465 2011-02-15 Ulrich Drepper <drepper@gmail.com>
94466
94467 [BZ #12469]
94468 * Makeconfig: Remove RANLIB definition.
94469 * Makerules: Don't use RANLIB.
94470 * aclocal.m4: Remove ranlib test.
94471 * configure.in: No need to check for ranlib.
94472 * elf/rtld-Rules: Don't use RANLIB.
94473
94474 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
94475
94476 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
94477 protection macro.
94478 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
94479 inclusion protection macro.
94480
94481 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
94482 SIGRTMIN and SIGRTMAX and print information in that case only when
94483 SIGRTMIN is defined.
94484
94485 2011-02-11 Jakub Jelinek <jakub@redhat.com>
94486
94487 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
94488 arginfo fn returning -1.
94489
94490 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
94491 and thousands string is zero terminated.
94492
94493 2011-02-03 Andreas Schwab <schwab@redhat.com>
94494
94495 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
94496 sysdeps/unix/sysv/linux/bits/socket.h.
94497
94498 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
94499
94500 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
94501 (__CPU_COUNT): Remove old macros.
94502 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
94503 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
94504 (__CPU_ALLOC, __CPU_FREE): Add macros.
94505 (__sched_cpualloc, __sched_cpufree): Add declarations.
94506
94507 2011-02-05 Ulrich Drepper <drepper@gmail.com>
94508
94509 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
94510 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
94511 * nscd/aicache.c (addhstaiX): Return timeout of added value.
94512 (readdhstai): Return value of addhstaiX call.
94513 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
94514 (addgrbyX): Return value returned by cache_addgr.
94515 (readdgrbyname): Return value returned by addgrbyX.
94516 (readdgrbygid): Likewise.
94517 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
94518 (addpwbyX): Return value returned by cache_addpw.
94519 (readdpwbyname): Return value returned by addhstbyX.
94520 (readdpwbyuid): Likewise.
94521 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
94522 (addservbyX): Return value returned by cache_addserv.
94523 (readdservbyname): Return value returned by addservbyX:
94524 (readdservbyport): Likewise.
94525 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
94526 (addhstbyX): Return value returned by cache_addhst.
94527 (readdhstbyname): Return value returned by addhstbyX.
94528 (readdhstbyaddr): Likewise.
94529 (readdhstbynamev6): Likewise.
94530 (readdhstbyaddrv6): Likewise.
94531 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
94532 (readdinitgroups): Return value returned by addinitgroupsX.
94533 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
94534 (prune_cache): Keep track of timeout value of re-added entries.
94535 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
94536 * nscd/nscd.h: Adjust prototypes of readd* functions.
94537
94538 2011-02-04 Roland McGrath <roland@redhat.com>
94539
94540 * nis/nis_server.c (nis_servstate): Use the right name for 0.
94541 (nis_stats): Likewise.
94542 * nis/nis_modify.c (nis_modify): Likewise.
94543 * nis/nis_remove.c (nis_remove): Likewise.
94544 * nis/nis_add.c (nis_add): Likewise.
94545
94546 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
94547
94548 * posix/fnmatch_loop.c: Add some consts.
94549
94550 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
94551
94552 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
94553
94554 [BZ #12460]
94555 * config.make.in (config-cflags-novzeroupper): Define.
94556 * configure.in: Substitute libc_cv_cc_novzeroupper.
94557 * elf/Makefile (AVX-CFLAGS): Define.
94558 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
94559 (CFLAGS-tst-auditmod4a.c): Likewise.
94560 (CFLAGS-tst-auditmod4b.c): Likewise.
94561 (CFLAGS-tst-auditmod6b.c): Likewise.
94562 (CFLAGS-tst-auditmod6c.c): Likewise.
94563 (CFLAGS-tst-auditmod7b.c): Likewise.
94564 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
94565
94566 2011-02-02 Ulrich Drepper <drepper@gmail.com>
94567
94568 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
94569 function to the callback.
94570 Patch partly by Jiri Olsa <jolsa@redhat.com>.
94571
94572 2011-02-02 Andreas Schwab <schwab@redhat.com>
94573
94574 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
94575 of errno.
94576
94577 2011-01-19 Ulrich Drepper <drepper@gmail.com>
94578
94579 [BZ #11724]
94580 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
94581 of constructors.
94582 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
94583 of destructors.
94584 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
94585
94586 [BZ #11724]
94587 * elf/Makefile: Add rules to build and run new test.
94588 * elf/tst-initorder.c: New file.
94589 * elf/tst-initorder.exp: New file.
94590 * elf/tst-initordera1.c: New file.
94591 * elf/tst-initordera2.c: New file.
94592 * elf/tst-initordera3.c: New file.
94593 * elf/tst-initordera4.c: New file.
94594 * elf/tst-initorderb1.c: New file.
94595 * elf/tst-initorderb2.c: New file.
94596 * elf/tst-order-a1.c: New file.
94597 * elf/tst-order-a2.c: New file.
94598 * elf/tst-order-a3.c: New file.
94599 * elf/tst-order-a4.c: New file.
94600 * elf/tst-order-b1.c: New file.
94601 * elf/tst-order-b2.c: New file.
94602 * elf/tst-order-main.c: New file.
94603 New test case by George Gensure <werkt0@gmail.com>.
94604
94605 2010-10-01 Andreas Schwab <schwab@redhat.com>
94606
94607 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
94608 decoding ACE if AI_CANONIDN.
94609
94610 2011-01-18 Ulrich Drepper <drepper@gmail.com>
94611
94612 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
94613
94614 2011-01-17 Ulrich Drepper <drepper@gmail.com>
94615
94616 * version.h (RELEASE): Bump for 2.13 release.
94617 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
94618
94619 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
94620
94621 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
94622 MADV_NOHUGEPAGE.
94623 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
94624 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
94625 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
94626 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
94627 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
94628 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
94629
94630 * posix/getconf.c: Update copyright year.
94631 * catgets/gencat.c: Likewise.
94632 * csu/version.c: Likewise.
94633 * debug/catchsegv.sh: Likewise.
94634 * debug/xtrace.sh: Likewise.
94635 * elf/ldconfig.c: Likewise.
94636 * elf/ldd.bash.in: Likewise.
94637 * elf/sprof.c (print_version): Likewise.
94638 * iconv/iconv_prog.c: Likewise.
94639 * iconv/iconvconfig.c: Likewise.
94640 * locale/programs/locale.c: Likewise.
94641 * locale/programs/localedef.c: Likewise.
94642 * malloc/memusage.sh: Likewise.
94643 * malloc/mtrace.pl: Likewise.
94644 * nscd/nscd.c (print_version): Likewise.
94645 * nss/getent.c: Likewise.
94646
94647 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
94648 PF_CAIF, and PF_ALG.
94649 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
94650
94651 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
94652
94653 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
94654 (modules-names): Use them.
94655 (ifunc-test-modules, ifunc-pie-tests): Define.
94656 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
94657 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
94658 (test-extras): Likewise.
94659 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
94660 $(compile-command.c).
94661 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
94662 (all-built-dso): Define.
94663 (check-textrel.out, check-execstack.out): Depend on it.
94664
94665 * configure.in: Don't override --enable-multi-arch.
94666
94667 2011-01-15 Ulrich Drepper <drepper@gmail.com>
94668
94669 [BZ #6812]
94670 * nscd/hstcache.c (tryagain): Define.
94671 (cache_addhst): Return tryagain not notfound for temporary errors.
94672 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
94673 failed.
94674
94675 2011-01-14 Ulrich Drepper <drepper@gmail.com>
94676
94677 [BZ #10563]
94678 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
94679 to make the syscall.
94680 * sysdeps/unix/sysv/linux/setgroups.c: New file.
94681
94682 [BZ #12378]
94683 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
94684 and fall back to matching as normal character if the string ends before
94685 the matching ']' is found. This is what POSIX requires.
94686 * posix/testfnm.c: Adjust test result.
94687 * posix/globtest.sh: Adjust test result. Add new test.
94688 * posix/tst-fnmatch.input: Likewise.
94689 * posix/tst-fnmatch2.c: Add new test.
94690
94691 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
94692
94693 * elf/Makefile (check-execstack): Revert last change. Depend on
94694 check-execstack.h.
94695 (check-execstack.h): New target.
94696 (generated): Add check-execstack.h.
94697 * elf/check-execstack.c: Include "check-execstack.h".
94698 (main): Revert last change.
94699 (handle_file): Return zero if GNU_STACK is absent and
94700 DEFAULT_STACK_PERMS doesn't include PF_X.
94701
94702 2011-01-13 Ulrich Drepper <drepper@gmail.com>
94703
94704 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
94705 in child fails because the descriptor is already closed.
94706 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
94707 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
94708 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
94709
94710 [BZ #12397]
94711 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
94712 syscall.
94713
94714 [BZ #10484]
94715 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
94716 temporary buffer used to handle multi lookups locally.
94717 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
94718
94719 2011-01-12 Ulrich Drepper <drepper@gmail.com>
94720
94721 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
94722 loader is ld.so.
94723
94724 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
94725
94726 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
94727 alignment for SSE2.
94728
94729 2011-01-12 Ulrich Drepper <drepper@gmail.com>
94730
94731 [BZ #12394]
94732 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
94733 characters. When rounding increased number of integer digits recompute
94734 number of groups.
94735 * stdio-common/tst-grouping.c: New file.
94736 * stdio-common/Makefile: Add rules to build and run tst-grouping.
94737
94738 2011-01-09 Ulrich Drepper <drepper@gmail.com>
94739
94740 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
94741 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
94742
94743 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
94744 void.
94745 * bits/select.h: Likewise.
94746
94747 2011-01-08 Ulrich Drepper <drepper@gmail.com>
94748
94749 * po/ja.po: Update from translation team.
94750
94751 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
94752
94753 [BZ #11155]
94754 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
94755 implementation just like for lxstat, fxstatat, et al.
94756
94757 2010-12-27 Jim Meyering <meyering@redhat.com>
94758
94759 [BZ #12348]
94760 * posix/regexec.c (build_trtable): Return failure indication upon
94761 calloc failure. Otherwise, re_search_internal could infloop on OOM.
94762
94763 2010-12-25 Ulrich Drepper <drepper@gmail.com>
94764
94765 [BZ #12201]
94766 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
94767 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
94768 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
94769 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
94770
94771 [BZ #12207]
94772 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
94773
94774 [BZ #12204]
94775 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
94776 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
94777
94778 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
94779
94780 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
94781 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
94782 script has SORT_BY_INIT_PRIORITY.
94783 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
94784 NO_CTORS_DTORS_SECTIONS is defined.
94785 * elf/soinit.c: Likewise.
94786 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
94787 NO_CTORS_DTORS_SECTIONS is defined.
94788 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
94789 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
94790 * sysdeps/sh/init-first.c: Likewise.
94791 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
94792
94793 2010-12-24 Ulrich Drepper <drepper@gmail.com>
94794
94795 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
94796 always use the slow path.
94797
94798 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
94799
94800 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
94801 similar rule which adds the sysdep directories to the header search in
94802 order to pick up the correct platform stackinfo.h.
94803 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
94804 perform test if it is, otherwise return successfully without testing.
94805 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
94806 DEFAULT_STACK_PERMS define in stackinfo.h.
94807 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
94808 defined in stackinfo.h.
94809 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
94810 DEFAULT_STACK_PERMS defined in stackinfo.h.
94811 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
94812 * sysdeps/ia64/stackinfo.h: Likewise.
94813 * sysdeps/s390/stackinfo.h: Likewise.
94814 * sysdeps/sh/stackinfo.h: Likewise.
94815 * sysdeps/sparc/stackinfo.h: Likewise.
94816 * sysdeps/x86_64/stackinfo.h: Likewise.
94817 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
94818 PF_X for powerpc64. Retain PF_X for powerpc32.
94819
94820 2010-12-19 Ulrich Drepper <drepper@gmail.com>
94821
94822 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
94823 accurately.
94824 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
94825 GETDENTS_64BIT_ALIGNED.
94826
94827 2010-12-14 Ulrich Drepper <dreper@gmail.com>
94828
94829 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
94830
94831 2010-12-10 Andreas Schwab <schwab@redhat.com>
94832
94833 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
94834 _GNU_SOURCE.
94835
94836 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
94837 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
94838 Remove __restrict.
94839 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
94840 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
94841
94842 2010-12-09 Ulrich Drepper <drepper@gmail.com>
94843
94844 [BZ #11655]
94845 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
94846 are initialized.
94847
94848 2010-12-09 Jakub Jelinek <jakub@redhat.com>
94849
94850 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
94851
94852 2010-12-03 Ulrich Drepper <drepper@gmail.com>
94853
94854 * po/it.po: Update from translation team.
94855
94856 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
94857
94858 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
94859 unused codes.
94860
94861 2010-11-30 Ulrich Drepper <drepper@gmail.com>
94862
94863 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
94864
94865 2010-11-24 Andreas Schwab <schwab@redhat.com>
94866
94867 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
94868 specially.
94869 (gaih_getanswer_slice): Likewise.
94870
94871 2010-10-20 Jakub Jelinek <jakub@redhat.com>
94872
94873 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
94874
94875 2010-05-31 Petr Baudis <pasky@suse.cz>
94876
94877 [BZ #11149]
94878 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
94879 silently even in the chroot mode.
94880
94881 2010-11-22 Ulrich Drepper <drepper@gmail.com>
94882
94883 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
94884 last patch a bit. Pretty printing
94885
94886 2010-05-31 Petr Baudis <pasky@suse.cz>
94887
94888 [BZ #10085]
94889 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
94890 initialization of skip_initgroups_dyn.
94891
94892 2010-11-19 Ulrich Drepper <drepper@gmail.com>
94893
94894 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
94895 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
94896
94897 2010-11-16 Ulrich Drepper <drepper@gmail.com>
94898
94899 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
94900
94901 2010-11-11 Andreas Schwab <schwab@redhat.com>
94902
94903 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
94904 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
94905 (tst-fnmatch-ENV): Set MALLOC_TRACE.
94906 ($(objpfx)tst-fnmatch-mem): New rule.
94907 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
94908 * posix/tst-fnmatch.c (main): Call mtrace.
94909
94910 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
94911
94912 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94913 Support Intel processor model 6 and model 0x2c.
94914
94915 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
94916
94917 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
94918 signed comparison.
94919
94920 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
94921
94922 [BZ #12205]
94923 * string/test-strncasecmp.c (check_result): New function.
94924 (do_one_test): Use it.
94925 (check1): New function.
94926 (test_main): Use it.
94927 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
94928 Support strcasecmp and strncasecmp.
94929
94930 2010-11-08 Ulrich Drepper <drepper@gmail.com>
94931
94932 [BZ #12194]
94933 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
94934 * sysdeps/x86_64/bits/byteswap.h: Likewise.
94935
94936 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
94937
94938 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
94939 IFUNC support.
94940 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
94941 memset-x86-64.
94942 * sysdeps/x86_64/multiarch/bzero.S: New file.
94943 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
94944 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
94945 * sysdeps/x86_64/multiarch/memset.S: New file.
94946 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
94947 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94948 Set bit_Prefer_SSE_for_memop for Intel processors.
94949 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
94950 Define.
94951 (index_Prefer_SSE_for_memop): Define.
94952 (HAS_PREFER_SSE_FOR_MEMOP): Define.
94953
94954 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
94955
94956 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
94957 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
94958
94959 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
94960
94961 [BZ #12191]
94962 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
94963 (__x86_64_raw_data_cache_size_half): Likewise.
94964 (__x86_64_raw_shared_cache_size): Likewise.
94965 (__x86_64_raw_shared_cache_size_half): Likewise.
94966
94967 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
94968 (__x86_64_raw_data_cache_size_half): Likewise.
94969 (__x86_64_raw_shared_cache_size): Likewise.
94970 (__x86_64_raw_shared_cache_size_half): Likewise.
94971 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
94972 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
94973 and __x86_64_raw_shared_cache_size_half. Round
94974 __x86_64_data_cache_size_half, __x86_64_data_cache_size
94975 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
94976 to multiple of 256 bytes.
94977
94978 2010-11-03 Ulrich Drepper <drepper@gmail.com>
94979
94980 [BZ #12167]
94981 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
94982 of inacessible symlinks. Verify result of symlink before returning it.
94983 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
94984 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
94985
94986 2010-10-28 Erich Ritz <erichritz@gmail.com>
94987
94988 * math/math.h (isinf): Fix typo in comment.
94989
94990 2010-11-01 Ulrich Drepper <drepper@gmail.com>
94991
94992 * po/da.po: Update from translation team.
94993
94994 2010-10-26 Ulrich Drepper <drepper@gmail.com>
94995
94996 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
94997 is added to the list.
94998
94999 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
95000 Ulrich Drepper <drepper@gmail.com>
95001
95002 * elf/dl-object.c (_dl_new_object): Don't append the new object to
95003 the global list here. Move code to...
95004 (_dl_add_to_namespace_list): ...here. New function.
95005 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
95006 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
95007 * elf/dl-load.c (lose): Don't remove the element from the list.
95008 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
95009 (_dl_map_object): Likewise.
95010
95011 2010-10-25 Ulrich Drepper <drepper@gmail.com>
95012
95013 [BZ #12159]
95014 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
95015 into all bytes of SSE register.
95016 Patch by Richard Li <richardpku@gmail.com>.
95017
95018 2010-10-24 Ulrich Drepper <drepper@gmail.com>
95019
95020 [BZ #12140]
95021 * malloc/malloc.c (_int_free): Fill correct number of bytes when
95022 perturbing.
95023
95024 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
95025
95026 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
95027 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
95028 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
95029 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
95030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
95031 submachine.
95032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
95033
95034 2010-10-22 Andreas Schwab <schwab@redhat.com>
95035
95036 * include/dlfcn.h (__RTLD_SECURE): Define.
95037 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
95038 mode & __RTLD_SECURE instead.
95039 (open_path): Rename preloaded parameter to secure.
95040 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
95041 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
95042 * elf/dl-deps.c (openaux): Likewise.
95043 * elf/rtld.c (struct map_args): Remove is_preloaded.
95044 (map_doit): Don't use it.
95045 (dl_main): Likewise.
95046 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
95047 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
95048
95049 2010-09-09 Andreas Schwab <schwab@redhat.com>
95050
95051 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
95052 (sysd-rules-targets): Remove duplicates.
95053 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
95054 rtld-%.$o dependency.
95055
95056 2010-10-18 Andreas Schwab <schwab@redhat.com>
95057
95058 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
95059 _dl_map_object do it.
95060
95061 2010-10-19 Ulrich Drepper <drepper@gmail.com>
95062
95063 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
95064 fast fma builtins, define the macros in the C99 standard.
95065 (FP_FAST_FMAF): Likewise.
95066 (FP_FAST_FMAL): Likewise.
95067 * sysdeps/x86_64/bits/mathdef.h: Likewise.
95068
95069 * bits/mathdef.h: Update copyright year.
95070 * sysdeps/powerpc/bits/mathdef.h: Likewise.
95071
95072 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
95073
95074 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
95075 builtins, define the macros in the C99 standard.
95076 (FP_FAST_FMAF): Likewise.
95077 (FP_FAST_FMAL): Likewise.
95078 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
95079 multiply/add.
95080 (FP_FAST_FMAF): Likewise.
95081
95082 2010-10-15 Jakub Jelinek <jakub@redhat.com>
95083
95084 [BZ #3268]
95085 * math/libm-test.inc (fma_test): Some new testcases.
95086 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
95087 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
95088 y and infinite z. Do multiplication by C already in long double.
95089 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
95090 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
95091 y and infinite z. Do bitwise or of inexact bit into u.d.
95092 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
95093 * sysdeps/i386/fpu/s_fmaf.S: Removed.
95094 * sysdeps/i386/fpu/s_fma.S: Removed.
95095 * sysdeps/i386/fpu/s_fmal.S: Removed.
95096
95097 2010-10-16 Jakub Jelinek <jakub@redhat.com>
95098
95099 [BZ #3268]
95100 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
95101 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
95102 computation is not scheduled after fetestexcept. Fix value
95103 of minimum denormal long double.
95104
95105 2010-10-14 Jakub Jelinek <jakub@redhat.com>
95106
95107 [BZ #3268]
95108 * math/libm-test.inc (fma_test): Add some more tests.
95109 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
95110 correctly.
95111
95112 2010-10-15 Andreas Schwab <schwab@redhat.com>
95113
95114 * scripts/data/localplt-s390-linux-gnu.data: New file.
95115 * scripts/data/localplt-s390x-linux-gnu.data: New file.
95116
95117 2010-10-13 Jakub Jelinek <jakub@redhat.com>
95118
95119 [BZ #3268]
95120 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
95121 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
95122 instead of dbl-64.
95123 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
95124 inlines.
95125 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
95126 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
95127 if one of x and y is very large and the other is subnormal.
95128 * sysdeps/s390/fpu/s_fmaf.c: New file.
95129 * sysdeps/s390/fpu/s_fma.c: New file.
95130 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
95131 * sysdeps/powerpc/fpu/s_fma.S: New file.
95132 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
95133 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
95134 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
95135
95136 2010-10-12 Jakub Jelinek <jakub@redhat.com>
95137
95138 [BZ #3268]
95139 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
95140 fma tests.
95141 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
95142 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
95143 * sysdeps/i386/i686/multiarch/s_fma.c: Include
95144 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
95145 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
95146 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
95147 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
95148
95149 2010-10-12 Ulrich Drepper <drepper@redhat.com>
95150
95151 [BZ #12078]
95152 * posix/regcomp.c (parse_branch): One more memory leak plugged.
95153 * posix/bug-regex31.input: Add test case.
95154
95155 2010-10-11 Ulrich Drepper <drepper@gmail.com>
95156
95157 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
95158 * posix/bug-regex31.input: New file.
95159
95160 [BZ #12078]
95161 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
95162 (parse_sub_exp): Fix last change, use postorder.
95163
95164 * posix/bug-regex31.c: New file.
95165 * posix/Makefile: Add rules to build and run bug-regex31.
95166
95167 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
95168
95169 [BZ #12078]
95170 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
95171
95172 [BZ #12108]
95173 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
95174 to have entries in sys_siglist.
95175
95176 [BZ #12093]
95177 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
95178 be NULL.
95179
95180 2010-10-07 Jakub Jelinek <jakub@redhat.com>
95181
95182 [BZ #3268]
95183 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
95184 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
95185 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
95186 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
95187 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
95188 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
95189 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
95190 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
95191 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
95192 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
95193 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
95194 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
95195 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
95196 * math/ftestexcept.c (fetestexcept): Likewise.
95197 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
95198 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
95199 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
95200 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
95201 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
95202 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
95203 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
95204
95205 2010-10-11 Ulrich Drepper <drepper@gmail.com>
95206
95207 [BZ #12107]
95208 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
95209 newline.
95210
95211 2010-10-06 Ulrich Drepper <drepper@gmail.com>
95212
95213 * string/bug-strstr1.c: New file.
95214 * string/Makefile: Add rules to build and run bug-strstr1.
95215
95216 2010-10-05 Eric Blake <eblake@redhat.com>
95217
95218 [BZ #12092]
95219 * string/str-two-way.h (two_way_long_needle): Always clear memory
95220 when skipping input due to the shift table.
95221
95222 2010-10-03 Ulrich Drepper <drepper@gmail.com>
95223
95224 [BZ #12005]
95225 * malloc/mcheck.c: Handle large requests.
95226
95227 [BZ #12077]
95228 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
95229 for strncmp and strncasecmp.
95230 * string/stratcliff.c: Add tests for strcmp and strncmp.
95231 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
95232
95233 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
95234
95235 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
95236 __set_fpscr.
95237
95238 2010-09-30 Andreas Jaeger <aj@suse.de>
95239
95240 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
95241 (CGROUP_SUPER_MAGIC): Define.
95242 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95243 Handle btrfs and cgroup file systems.
95244 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
95245 Likewise.
95246
95247 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
95248
95249 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
95250 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
95251
95252 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
95253
95254 [BZ #12067]
95255 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
95256 trying to locate the ELF header.
95257
95258 2010-09-27 Andreas Schwab <schwab@redhat.com>
95259
95260 [BZ #11611]
95261 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
95262 Mask out sign-bit copies when constructing f_fsid.
95263
95264 2010-09-24 Petr Baudis <pasky@suse.cz>
95265
95266 * debug/stack_chk_fail_local.c: Add missing licence exception.
95267 * debug/warning-nop.c: Likewise.
95268
95269 2010-09-15 Joseph Myers <joseph@codesourcery.com>
95270
95271 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
95272 implementing getdents64 using getdents syscall, set d_type if
95273 __ASSUME_GETDENTS32_D_TYPE.
95274
95275 2010-09-16 Andreas Schwab <schwab@redhat.com>
95276
95277 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
95278 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
95279
95280 2010-09-21 Ulrich Drepper <drepper@redhat.com>
95281
95282 [BZ #12037]
95283 * posix/unistd.h: Undo change of feature selection for ftruncate from
95284 2010-01-11.
95285
95286 2010-09-20 Ulrich Drepper <drepper@redhat.com>
95287
95288 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
95289 detection.
95290
95291 2010-09-20 Andreas Schwab <schwab@redhat.com>
95292
95293 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
95294 fanotify_mark.
95295 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
95296
95297 2010-09-14 Andreas Schwab <schwab@redhat.com>
95298
95299 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
95300 variables after CHECK_SP call.
95301 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
95302
95303 2010-09-13 Andreas Schwab <schwab@redhat.com>
95304 Ulrich Drepper <drepper@redhat.com>
95305
95306 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
95307 re-relocationg ld.so.
95308 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
95309 _dl_init_paths call.
95310 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
95311 here anymore.
95312
95313 2010-09-14 Ulrich Drepper <drepper@redhat.com>
95314
95315 * resolv/res_init.c (__res_vinit): Count the default server we added.
95316
95317 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
95318 Ulrich Drepper <drepper@redhat.com>
95319
95320 [BZ #11968]
95321 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
95322 (____longjmp_chk): Use %ebx for saving value across system call.
95323 Add unwind info.
95324
95325 2010-09-06 Andreas Schwab <schwab@redhat.com>
95326
95327 * manual/Makefile: Don't mix pattern rules with normal rules.
95328
95329 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
95330
95331 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
95332 operation.
95333 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
95334 * libio/iofopncook.c (_IO_cookie_init): Likewise.
95335 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
95336 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
95337 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
95338 Likewise.
95339
95340 2010-09-04 Ulrich Drepper <drepper@redhat.com>
95341
95342 [BZ #11979]
95343 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
95344 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
95345
95346 2010-09-02 Ulrich Drepper <drepper@redhat.com>
95347
95348 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
95349 * sysdeps/x86_64/addmul_1.S: Likewise.
95350 * sysdeps/x86_64/lshift.S: Likewise.
95351 * sysdeps/x86_64/mul_1.S: Likewise.
95352 * sysdeps/x86_64/rshift.S: Likewise.
95353 * sysdeps/x86_64/sub_n.S: Likewise.
95354 * sysdeps/x86_64/submul_1.S: Likewise.
95355
95356 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
95357
95358 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
95359 Define __sched_param instead of SCHED_* and sched_param when
95360 <bits/sched.h> is included with __need_schedparam defined.
95361 * bits/sched.h [__need_schedparam]
95362 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
95363 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
95364 (__defined_schedparam): Define to 1.
95365 (__sched_param): New structure, identical to sched_param.
95366 (__need_schedparam): Undefine.
95367
95368 2010-08-31 Mike Frysinger <vapier@gentoo.org>
95369
95370 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
95371 (epoll_create1): Declare.
95372
95373 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
95374
95375 2010-08-31 Andreas Schwab <schwab@redhat.com>
95376
95377 [BZ #7066]
95378 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
95379 shifting retval into place.
95380
95381 2010-09-01 Ulrich Drepper <drepper@redhat.com>
95382
95383 * nis/rpcsvc/nis.h: Update copyright notice.
95384 * nis/rpcsvc/nis.x: Likewise.
95385 * nis/rpcsvc/nis_callback.h: Likewise.
95386 * nis/rpcsvc/nis_callback.x: Likewise.
95387 * nis/rpcsvc/nis_object.x: Likewise.
95388 * nis/rpcsvc/nis_tags.h: Likewise.
95389 * nis/rpcsvc/yp.h: Likewise.
95390 * nis/rpcsvc/yp.x: Likewise.
95391 * nis/rpcsvc/ypupd.h: Likewise.
95392 * nis/yp_xdr.c: Likewise.
95393 * nis/ypupdate_xdr.c: Likewise.
95394
95395 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
95396 mainly the body of pmap_getport. Add parameters to specify timeouts.
95397 (pmap_getport): Use __libc_rpc_getport.
95398 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
95399 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
95400 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
95401
95402 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
95403
95404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
95405 fanotify_mark.
95406
95407 2010-08-27 Roland McGrath <roland@redhat.com>
95408
95409 * sysdeps/i386/i686/multiarch/Makefile
95410 (CFLAGS-varshift.c): New variable.
95411
95412 2010-08-27 Ulrich Drepper <drepper@redhat.com>
95413
95414 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
95415 * sysdeps/i386/i686/multiarch/varshift.c: New file.
95416
95417 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
95418
95419 * sysdeps/x86_64/strlen.S: Minimal code improvement.
95420
95421 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
95422
95423 * sysdeps/x86_64/strlen.S: Unroll the loop.
95424 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95425 strlen-sse2 strlen-sse2-bsf.
95426 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
95427 __strlen_no_bsf if bit_Slow_BSF is set.
95428 (__strlen_sse42): Removed.
95429 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
95430 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
95431
95432 2010-08-25 Roland McGrath <roland@redhat.com>
95433
95434 * sysdeps/x86_64/multiarch/varshift.S: File removed.
95435 * sysdeps/x86_64/multiarch/varshift.c: New file.
95436 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
95437 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
95438 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
95439 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
95440
95441 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
95442
95443 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
95444 strlen-sse2 strlen-sse2-bsf.
95445 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
95446 __strlen_sse2_bsf if bit_Slow_BSF is unset.
95447 (__strlen_sse2): Removed.
95448 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
95449 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
95450 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
95451 bit_Slow_BSF for Atom.
95452 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
95453 (index_Slow_BSF): Define.
95454 (HAS_SLOW_BSF): Define.
95455
95456 2010-08-25 Ulrich Drepper <drepper@redhat.com>
95457
95458 [BZ #10851]
95459 * resolv/res_init.c (__res_vinit): When no server address at all
95460 is given default to loopback.
95461
95462 2010-08-24 Roland McGrath <roland@redhat.com>
95463
95464 * configure.in: Remove config-name.h generation.
95465 * configure: Regenerated.
95466 * config-name.in: File removed.
95467 * scripts/config-uname.sh: New file.
95468 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
95469 ($(objdir)config-name.h): New target.
95470
95471 * sunrpc/rpc_parse.h: Avoid nested comment.
95472
95473 2010-08-24 Richard Henderson <rth@redhat.com>
95474 Ulrich Drepper <drepper@redhat.com>
95475 H.J. Lu <hongjiu.lu@intel.com>
95476
95477 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
95478 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
95479 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
95480 Replace _mm_srli_si128 with __m128i_shift_right. Replace
95481 _mm_alignr_epi8 with _mm_loadu_si128.
95482 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
95483 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
95484 (__m128i_shift_right): Removed.
95485 * sysdeps/i386/i686/multiarch/varshift.h: New file.
95486 * sysdeps/i386/i686/multiarch/varshift.S: New file.
95487 * sysdeps/x86_64/multiarch/varshift.h: New file.
95488 * sysdeps/x86_64/multiarch/varshift.S: New file.
95489
95490 2010-08-21 Mike Frysinger <vapier@gentoo.org>
95491
95492 * configure.in: Move assembler checks to before sysdep dir checking.
95493
95494 2010-08-20 Petr Baudis <pasky@suse.cz>
95495
95496 * LICENSES: Sync the sunrpc license.
95497
95498 2010-08-19 Ulrich Drepper <drepper@redhat.com>
95499
95500 * sunrpc/auth_des.c: Update copyright notice once again.
95501 * sunrpc/auth_none.c: Likewise.
95502 * sunrpc/auth_unix.c: Likewise.
95503 * sunrpc/authdes_prot.c: Likewise.
95504 * sunrpc/authuxprot.c: Likewise.
95505 * sunrpc/bindrsvprt.c: Likewise.
95506 * sunrpc/clnt_gen.c: Likewise.
95507 * sunrpc/clnt_perr.c: Likewise.
95508 * sunrpc/clnt_raw.c: Likewise.
95509 * sunrpc/clnt_simp.c: Likewise.
95510 * sunrpc/clnt_tcp.c: Likewise.
95511 * sunrpc/clnt_udp.c: Likewise.
95512 * sunrpc/clnt_unix.c: Likewise.
95513 * sunrpc/des_crypt.c: Likewise.
95514 * sunrpc/des_soft.c: Likewise.
95515 * sunrpc/get_myaddr.c: Likewise.
95516 * sunrpc/getrpcport.c: Likewise.
95517 * sunrpc/key_call.c: Likewise.
95518 * sunrpc/key_prot.c: Likewise.
95519 * sunrpc/openchild.c: Likewise.
95520 * sunrpc/pm_getmaps.c: Likewise.
95521 * sunrpc/pm_getport.c: Likewise.
95522 * sunrpc/pmap_clnt.c: Likewise.
95523 * sunrpc/pmap_prot.c: Likewise.
95524 * sunrpc/pmap_prot2.c: Likewise.
95525 * sunrpc/pmap_rmt.c: Likewise.
95526 * sunrpc/rpc/auth.h: Likewise.
95527 * sunrpc/rpc/auth_unix.h: Likewise.
95528 * sunrpc/rpc/clnt.h: Likewise.
95529 * sunrpc/rpc/des_crypt.h: Likewise.
95530 * sunrpc/rpc/key_prot.h: Likewise.
95531 * sunrpc/rpc/netdb.h: Likewise.
95532 * sunrpc/rpc/pmap_clnt.h: Likewise.
95533 * sunrpc/rpc/pmap_prot.h: Likewise.
95534 * sunrpc/rpc/pmap_rmt.h: Likewise.
95535 * sunrpc/rpc/rpc.h: Likewise.
95536 * sunrpc/rpc/rpc_des.h: Likewise.
95537 * sunrpc/rpc/rpc_msg.h: Likewise.
95538 * sunrpc/rpc/svc.h: Likewise.
95539 * sunrpc/rpc/svc_auth.h: Likewise.
95540 * sunrpc/rpc/types.h: Likewise.
95541 * sunrpc/rpc/xdr.h: Likewise.
95542 * sunrpc/rpc_clntout.c: Likewise.
95543 * sunrpc/rpc_cmsg.c: Likewise.
95544 * sunrpc/rpc_common.c: Likewise.
95545 * sunrpc/rpc_cout.c: Likewise.
95546 * sunrpc/rpc_dtable.c: Likewise.
95547 * sunrpc/rpc_hout.c: Likewise.
95548 * sunrpc/rpc_main.c: Likewise.
95549 * sunrpc/rpc_parse.c: Likewise.
95550 * sunrpc/rpc_parse.h: Likewise.
95551 * sunrpc/rpc_prot.c: Likewise.
95552 * sunrpc/rpc_sample.c: Likewise.
95553 * sunrpc/rpc_scan.c: Likewise.
95554 * sunrpc/rpc_scan.h: Likewise.
95555 * sunrpc/rpc_svcout.c: Likewise.
95556 * sunrpc/rpc_tblout.c: Likewise.
95557 * sunrpc/rpc_util.c: Likewise.
95558 * sunrpc/rpc_util.h: Likewise.
95559 * sunrpc/rpcinfo.c: Likewise.
95560 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
95561 * sunrpc/rpcsvc/key_prot.x: Likewise.
95562 * sunrpc/rpcsvc/klm_prot.x: Likewise.
95563 * sunrpc/rpcsvc/mount.x: Likewise.
95564 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
95565 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
95566 * sunrpc/rpcsvc/rex.x: Likewise.
95567 * sunrpc/rpcsvc/rstat.x: Likewise.
95568 * sunrpc/rpcsvc/rusers.x: Likewise.
95569 * sunrpc/rpcsvc/sm_inter.x: Likewise.
95570 * sunrpc/rpcsvc/spray.x: Likewise.
95571 * sunrpc/rpcsvc/yppasswd.x: Likewise.
95572 * sunrpc/rtime.c: Likewise.
95573 * sunrpc/svc.c: Likewise.
95574 * sunrpc/svc_auth.c: Likewise.
95575 * sunrpc/svc_authux.c: Likewise.
95576 * sunrpc/svc_raw.c: Likewise.
95577 * sunrpc/svc_run.c: Likewise.
95578 * sunrpc/svc_simple.c: Likewise.
95579 * sunrpc/svc_tcp.c: Likewise.
95580 * sunrpc/svc_udp.c: Likewise.
95581 * sunrpc/svc_unix.c: Likewise.
95582 * sunrpc/svcauth_des.c: Likewise.
95583 * sunrpc/xcrypt.c: Likewise.
95584 * sunrpc/xdr.c: Likewise.
95585 * sunrpc/xdr_array.c: Likewise.
95586 * sunrpc/xdr_float.c: Likewise.
95587 * sunrpc/xdr_mem.c: Likewise.
95588 * sunrpc/xdr_rec.c: Likewise.
95589 * sunrpc/xdr_ref.c: Likewise.
95590 * sunrpc/xdr_sizeof.c: Likewise.
95591 * sunrpc/xdr_stdio.c: Likewise.
95592
95593 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
95594 handling.
95595
95596 2010-08-19 Andreas Schwab <schwab@redhat.com>
95597
95598 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
95599
95600 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
95601
95602 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
95603 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
95604 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
95605 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
95606 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
95607 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
95608 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
95609 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
95610 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
95611 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
95612 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
95613 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
95614 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
95615 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
95616
95617 2010-07-26 Anton Blanchard <anton@samba.org>
95618
95619 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
95620 * malloc/arena.c (heap_trim): Likewise.
95621
95622 2010-08-16 Ulrich Drepper <drepper@redhat.com>
95623
95624 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
95625 here. Not...
95626 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
95627 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
95628
95629 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
95630
95631 * sysdeps/i386/elf/Makefile: New file.
95632
95633 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
95634
95635 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
95636 from fanotify_init.
95637 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
95638 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
95639
95640 2010-08-15 Ulrich Drepper <drepper@redhat.com>
95641
95642 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
95643 of strncasecmp_l.
95644 * sysdeps/multiarch/strcmp.S: Likewise.
95645
95646 2010-08-14 Ulrich Drepper <drepper@redhat.com>
95647
95648 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
95649 strncase_l-nonascii.
95650 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
95651 Add strncase_l-ssse3.
95652 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
95653 * sysdeps/x86_64/strcmp.S: Likewise.
95654 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
95655 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
95656 * sysdeps/x86_64/strncase.S: New file.
95657 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
95658 * sysdeps/x86_64/strncase_l.S: New file.
95659 * string/Makefile (strop-tests): Add strncasecmp.
95660 * string/test-strncasecmp.c: New file.
95661
95662 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
95663 warning.
95664
95665 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
95666 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
95667
95668 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
95669
95670 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
95671
95672 2010-08-12 Ulrich Drepper <drepper@redhat.com>
95673
95674 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
95675 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
95676 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
95677
95678 2010-05-01 Alan Modra <amodra@gmail.com>
95679
95680 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
95681 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
95682 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
95683 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
95684 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
95685 tidying. Don't tail-call __sigjmp_save for static lib.
95686 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
95687 save location.
95688 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
95689 (CALL_MCOUNT): Add eh info, and nop after bl.
95690 (TAIL_CALL_SYSCALL_ERROR): New macro.
95691 (PSEUDO_RET): Use it.
95692 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
95693 Correct save location of integer regs and cr.
95694 (_dl_profile_resolve): Correct cr save location. Delete nops
95695 after bl when SHARED. Reduce cfi size a little by better
95696 placement of cfi directives.
95697 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
95698 make a stack frame. Instead use parm save area as a temp.
95699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
95700 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
95701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
95702 Don't make a stack frame for parent, use parm save area.
95703 Increase child stack frame to 112 bytes. Don't save unused reg,
95704 and adjust reg usage. Set up cfi on error recovery and
95705 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
95706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
95707 (__makecontext): Add dummy nop after jump to exit.
95708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
95709 Use correct parm save area and cr save, reduce stack frame.
95710 Correct cfi for possible PSEUDO_RET frame setup.
95711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
95712 Branch to local label emitted by PSEUDO_RET rather than
95713 __syscall_error.
95714
95715 2010-08-12 Andreas Schwab <schwab@redhat.com>
95716
95717 [BZ #11904]
95718 * locale/programs/locale.c (print_assignment): New function.
95719 (show_locale_vars): Use it.
95720
95721 2010-08-11 Ulrich Drepper <drepper@redhat.com>
95722
95723 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
95724 field.
95725 (struct statfs64): Likewise.
95726 (_STATFS_F_FLAGS): Define.
95727 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
95728 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95729 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
95730 (ST_VALID): Define locally.
95731 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
95732 __statvfs_getflags, use the provided value.
95733 * sysdeps/unix/sysv/linux/kernel-features.h: Define
95734 __ASSUME_STATFS_F_FLAGS.
95735
95736 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
95737
95738 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
95739 Add sys/fanotify.h.
95740 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
95741 fanotify_mask for GLIBC_2.13.
95742 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
95743 fanotify_init and fanotify_mark.
95744 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
95745 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
95746
95747 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
95748 Add prlimit.
95749 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
95750 prlimit64 for GLIBC_2.13.
95751 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
95752 prlimit64.
95753 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
95754 syscall.
95755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
95756 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
95757 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
95758 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
95759 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
95760 add prlimit alias.
95761 * sysdeps/unix/sysv/linux/prlimit.c: New file.
95762
95763 [BZ #11903]
95764 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
95765 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
95766
95767 * nss/Makefile: Add rules to build and run tst-nss-test1.
95768 * shlib-versions: Add entry for libnss_test1.
95769 * nss/nss_test1.c: New file.
95770 * nss/tst-nss-test1.c: New file.
95771
95772 * nss/nsswitch.c (__nss_database_custom): Define new variable.
95773 (__nss_configure_lookup): Set appropriate entry in
95774 __nss_configure_lookup to true.
95775 * nss/nsswitch.h: Define enum with indeces of databases in
95776 databases and __nss_database_custom arrays. Declare
95777 __nss_database_custom.
95778 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
95779 to avoid using nscd when custom rules are installed.
95780 * nss/getXXbyYY_r.c: Likewise.
95781 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
95782
95783 * nss/nss_files/files-parse.c: Whitespace fixes.
95784
95785 2010-08-09 Ulrich Drepper <drepper@redhat.com>
95786
95787 [BZ #11883]
95788 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
95789 * posix/fnmatch_loop.c: Likewise.
95790
95791 2010-07-17 Andi Kleen <ak@linux.intel.com>
95792
95793 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
95794 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
95795 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
95796 * Versions.def [GLIBC_2.13]: Add.
95797
95798 2010-08-06 Ulrich Drepper <drepper@redhat.com>
95799
95800 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
95801 Also fail if tpwd after pwuid call is NULL.
95802
95803 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
95804
95805 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
95806 when converting to ms.
95807
95808 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
95809
95810 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
95811 EOPNOTSUPP errors with ENOTTY.
95812 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
95813 EOPNOTSUPP errors with ENOTTY.
95814
95815 2010-07-31 Ulrich Drepper <drepper@redhat.com>
95816
95817 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
95818 Add strcasecmp_l-ssse3.
95819 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
95820 strcasecmp.
95821 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
95822 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
95823 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
95824
95825 2010-07-30 Ulrich Drepper <drepper@redhat.com>
95826
95827 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
95828
95829 * string/Makefile (strop-tests): Add strcasecmp.
95830 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
95831 strcasecmp_l-nonascii.
95832 (gen-as-const-headers): Add locale-defines.sym.
95833 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
95834 * sysdeps/x86_64/strcasecmp.S: New file.
95835 * sysdeps/x86_64/strcasecmp_l.S: New file.
95836 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
95837 * sysdeps/x86_64/locale-defines.sym: New file.
95838 * string/test-strcasecmp.c: New file.
95839
95840 * string/test-strcasestr.c: Test both ends of the range of characters.
95841 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
95842
95843 2010-07-29 Roland McGrath <roland@redhat.com>
95844
95845 [BZ #11856]
95846 * manual/locale.texi (Yes-or-No Questions): Fix example code.
95847
95848 2010-07-27 Ulrich Drepper <drepper@redhat.com>
95849
95850 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
95851 for ld.so.
95852
95853 2010-07-27 Andreas Schwab <schwab@redhat.com>
95854
95855 * manual/memory.texi (Malloc Tunable Parameters): Document
95856 M_PERTURB.
95857
95858 2010-07-26 Roland McGrath <roland@redhat.com>
95859
95860 [BZ #11840]
95861 * configure.in (-fgnu89-inline check): Set and substitute
95862 gnu89_inline, not libc_cv_gnu89_inline.
95863 * configure: Regenerated.
95864 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
95865
95866 2010-07-26 Ulrich Drepper <drepper@redhat.com>
95867
95868 * string/test-strnlen.c: New file.
95869 * string/Makefile (strop-tests): Add strnlen.
95870 * string/tester.c (test_strnlen): Add a few more test cases.
95871 * string/tst-strlen.c: Better error reporting.
95872
95873 * sysdeps/x86_64/strnlen.S: New file.
95874
95875 2010-07-24 Ulrich Drepper <drepper@redhat.com>
95876
95877 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
95878 lower-latency instructions.
95879
95880 2010-07-23 Ulrich Drepper <drepper@redhat.com>
95881
95882 * string/test-strcasestr.c: New file.
95883 * string/test-strstr.c: New file.
95884 * string/Makefile (strop-tests): Add strstr and strcasestr.
95885 * string/str-two-way.h: Don't undefine MAX.
95886 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
95887
95888 2010-07-21 Andreas Schwab <schwab@redhat.com>
95889
95890 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
95891 strcasestr-nonascii.
95892 (CFLAGS-strcasestr-nonascii.c): Define.
95893 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
95894 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
95895 Remove unused attribute.
95896
95897 2010-07-20 Roland McGrath <roland@redhat.com>
95898
95899 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
95900 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
95901 ld.so.cache was broken. With it, there is no way to disable dsocaps
95902 like LD_HWCAP_MASK can disable hwcaps.
95903
95904 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
95905
95906 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
95907
95908 2010-07-16 Ulrich Drepper <drepper@redhat.com>
95909
95910 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
95911 call in strcasestr.
95912 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
95913 __strcasestr_sse42_nonascii.
95914 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
95915 strcasestr-nonascii.c.
95916 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
95917
95918 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
95919
95920 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
95921 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
95922 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
95923 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
95924
95925 2010-07-09 Ulrich Drepper <drepper@redhat.com>
95926
95927 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
95928 fcntl.
95929
95930 2010-07-06 Andreas Schwab <schwab@redhat.com>
95931
95932 [BZ #11577]
95933 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
95934 dl_signal_cerror.
95935
95936 2010-07-06 Ulrich Drepper <drepper@redhat.com>
95937
95938 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
95939 _PC_PIPE_BUF using F_GETPIPE_SZ.
95940
95941 2010-07-05 Roland McGrath <roland@redhat.com>
95942
95943 * manual/arith.texi (Rounding Functions): Fix rint description
95944 implicit in round description.
95945
95946 2010-07-02 Ulrich Drepper <drepper@redhat.com>
95947
95948 * elf/Makefile: Fix linking for a few tests to make recent linker
95949 happy.
95950
95951 2010-06-30 Andreas Schwab <schwab@redhat.com>
95952
95953 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
95954 $(common-objpfx)libc_nonshared.a.
95955
95956 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
95957
95958 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
95959 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
95960 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
95961 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
95962 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
95963 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
95964 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
95965 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
95966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
95967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
95968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
95969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
95970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
95971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
95972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
95973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
95974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
95975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
95976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
95977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
95978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
95979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
95980 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
95981 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
95982 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
95983 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
95984 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
95985 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
95986 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
95987 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
95988 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
95989 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
95990 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
95991 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
95992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
95993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
95994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
95995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
95996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
95997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
95998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
95999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
96000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
96001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
96002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
96003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
96004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
96005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
96006
96007 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
96008
96009 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
96010 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
96011 * string/memmove.c (memmove): Renamed to ...
96012 (MEMMOVE): ...this. Default to memmove.
96013 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
96014 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
96015 (END_CHK): Define.
96016 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
96017 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
96018 mempcpy-ssse3-back memmove-ssse3-back.
96019 * sysdeps/x86_64/multiarch/bcopy.S: New file .
96020 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
96021 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
96022 * sysdeps/x86_64/multiarch/memcpy.S: New file.
96023 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
96024 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
96025 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
96026 * sysdeps/x86_64/multiarch/memmove.c: New file.
96027 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
96028 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
96029 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
96030 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
96031 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
96032 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
96033 Define.
96034 (index_Fast_Copy_Backward): Define.
96035 (HAS_ARCH_FEATURE): Define.
96036 (HAS_FAST_REP_STRING): Define.
96037 (HAS_FAST_COPY_BACKWARD): Define.
96038
96039 2010-06-21 Andreas Schwab <schwab@redhat.com>
96040
96041 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96042 Restore proper fallback handling.
96043
96044 2010-06-19 Ulrich Drepper <drepper@redhat.com>
96045
96046 [BZ #11701]
96047 * posix/group_member.c (__group_member): Correct checking loop.
96048
96049 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
96050 OOM in getpwuid_r correctly. Return error number when the caller
96051 should return, otherwise -1.
96052 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
96053 call returning > 0 value.
96054 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
96055
96056 2010-06-07 Andreas Schwab <schwab@redhat.com>
96057
96058 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
96059 libc_nonshared.a from targets in modules-names.
96060
96061 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
96062
96063 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
96064 requires it.
96065
96066 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
96067
96068 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
96069 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
96070 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
96071 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
96072
96073 2010-06-02 Andreas Schwab <schwab@redhat.com>
96074
96075 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
96076
96077 2010-06-14 Ulrich Drepper <drepper@redhat.com>
96078
96079 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
96080 and F_GETPIPE_SZ.
96081 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
96082 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
96083 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
96084 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
96085 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
96086 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
96087
96088 2010-06-14 Roland McGrath <roland@redhat.com>
96089
96090 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
96091
96092 2010-06-07 Jakub Jelinek <jakub@redhat.com>
96093
96094 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
96095 __REDIRECT followed by __THROW.
96096 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
96097 * posix/getopt.h (getopt): Likewise.
96098
96099 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
96100
96101 * hurd/lookup-at.c (__file_name_lookup_at): Accept
96102 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
96103 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
96104 in AT_FLAGS.
96105 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
96106 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
96107
96108 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
96109
96110 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
96111
96112 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
96113
96114 [BZ #11640]
96115 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
96116 Properly check family and model.
96117
96118 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
96119
96120 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
96121
96122 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
96123
96124 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
96125
96126 2010-05-21 Ulrich Drepper <drepper@redhat.com>
96127
96128 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
96129 symbol reference.
96130
96131 2010-05-19 Andreas Schwab <schwab@redhat.com>
96132
96133 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
96134 symbol reference.
96135
96136 2010-05-21 Andreas Schwab <schwab@redhat.com>
96137
96138 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
96139 and internal_recvmmsg.
96140 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
96141 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
96142 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
96143 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
96144
96145 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
96146 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
96147 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
96148
96149 2010-05-20 Andreas Schwab <schwab@redhat.com>
96150
96151 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
96152
96153 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
96154
96155 POWER7 optimizations.
96156 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
96157 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
96158
96159 2010-05-19 Ulrich Drepper <drepper@redhat.com>
96160
96161 * version.h: Update for 2.13 development version.
96162
96163 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
96164
96165 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
96166 exceptions. Return 0.
96167
96168 2010-05-07 Roland McGrath <roland@redhat.com>
96169
96170 * elf/ldconfig.c (main): Add a const.
96171
96172 2010-05-06 Ulrich Drepper <drepper@redhat.com>
96173
96174 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
96175 (args_options): Add no-idn option.
96176 (ahosts_keys_int): Add idn_flags to ai_flags.
96177 (parse_option): Handle 'i' option to clear idn_flags.
96178
96179 * malloc/malloc.c (_int_free): Possible race in the most recently
96180 added check. Only act on the data if no current modification
96181 happened.
96182
96183 See ChangeLog.17 for earlier changes.