]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
nptl: Fix typo on __have_pthread_attr_t (BZ#21715)
[thirdparty/glibc.git] / ChangeLog
1 2017-07-06 Matthew Krupcale <mkrupcale@matthewkrupcale.com>
2
3 [BZ #21715]
4 * sysdeps/nptl/bits/pthreadtypes.h (__have_pthread_attr_t): Fix typo
5 on definition.
6
7 2017-07-06 Florian Weimer <fweimer@redhat.com>
8 H.J. Lu <hongjiu.lu@intel.com>
9
10 [BZ #21609]
11 * sysdeps/x86_64/Makefile (sysdep-dl-routines): Add tls_get_addr.
12 (gen-as-const-headers): Add rtld-offsets.sym.
13 * sysdeps/x86_64/dl-tls.c: New file.
14 * sysdeps/x86_64/rtld-offsets.sym: Likwise.
15 * sysdeps/x86_64/tls_get_addr.S: Likewise.
16 * sysdeps/x86_64/dl-tls.h: Add multiple inclusion guards.
17 * sysdeps/x86_64/tlsdesc.sym (TI_MODULE_OFFSET): New.
18 (TI_OFFSET_OFFSET): Likwise.
19
20 2017-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21
22 [BZ# 21697]
23 * sysdeps/posix/spawni.c (__spawni_child): Fix return value.
24
25 2017-07-05 Florian Weimer <fweimer@redhat.com>
26
27 * resolv/Makefile (tests-internal): Add tst-resolv-threads.
28 (tst-resolv-threads): Link with -ldl, -lresolv, -lpthread.
29 * resolv/tst-resolv-threads.c: New file.
30
31 2017-07-05 Florian Weimer <fweimer@redhat.com>
32
33 support: Add resolver testing mode which does not patch _res.
34 * support/resolv_test.h (struct resolv_redirect_config): Add
35 disable_redirect, server_address_overrides.
36 * support/resolv_test.c (make_server_sockets_for_address): New
37 function.
38 (resolv_test_start): Call it.
39
40 2017-07-05 Florian Weimer <fweimer@redhat.com>
41
42 * support/namespace.h (struct support_chroot_configuration)
43 (struct support_chroot): Define.
44 (support_chroot_create, support_chroot_free): New functions.
45 * support/support_chroot.c: New file.
46 * support/Makefile (libsupport-routines): Add support_chroot.
47 * resolv/tst-resolv-res_init-skeleton.c (path_chroot)
48 (path_resolv_conf): Remove definitions.
49 (chroot_env): New variable.
50 (prepare): Call support_chroot_create.
51 (check_chroot_working, setup_nss_dns_and_chroot, run_res_init)
52 (special_test_callback, do_test): Likewise.
53
54 2017-07-05 Florian Weimer <fweimer@redhat.com>
55
56 Add subtest to check isolation of multiple loopback addresses.
57 * support/tst-support-namespace.c (test_localhost_bind): New function.
58 (do_test): Call it.
59
60 2017-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
61
62 * libio/libio.h (_IO_FLAGS2_NEED_LOCK, _IO_need_lock): Define.
63 * libio/libioP.h (_IO_enable_locks): Declare.
64 * libio/Versions (_IO_enable_locks): New symbol.
65 * libio/genops.c (_IO_enable_locks): Define.
66 (_IO_old_init): Initialize flags2.
67 * libio/feof.c.c (_IO_feof): Avoid locking when not needed.
68 * libio/ferror.c (_IO_ferror): Likewise.
69 * libio/fputc.c (fputc): Likewise.
70 * libio/putc.c (_IO_putc): Likewise.
71 * libio/getc.c (_IO_getc): Likewise.
72 * libio/getchar.c (getchar): Likewise.
73 * libio/ioungetc.c (_IO_ungetc): Likewise.
74 * nptl/pthread_create.c (__pthread_create_2_1): Enable stdio locks.
75 * libio/iofopncook.c (_IO_fopencookie): Enable locking for the file.
76 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
77
78 2017-07-04 Florian Weimer <fweimer@redhat.com>
79
80 [BZ #21542]
81 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Default to
82 two if no accurate information is available.
83 * posix/tst-sysconf-empty-chroot.c: New file.
84 * posix/Makefile (tests): Add it.
85
86 2017-07-04 Florian Weimer <fweimer@redhat.com>
87
88 * resolv/resolv_conf.c (resolv_conf_matches): Tighten check for name
89 server and sort list counts. Fix improper check for empty search
90 path (completely missing domain name) leading to assertion failure
91 in update_from_conf.
92 * resolv/tst-resolv-res_init-skeleton.c (struct test_case): Add
93 hostname member.
94 (run_res_init): Set host name if requested.
95 (test_cases): Update.
96
97 2017-07-04 Joseph Myers <joseph@codesourcery.com>
98
99 * scripts/build-many-glibcs.py (Context.checkout): Default
100 binutils version to 2.29 branch, GMP version to 6.1.2 and Linux
101 kernel version to 4.12.
102
103 2017-07-04 Florian Weimer <fweimer@redhat.com>
104
105 * resolv/resolv_conf.c (struct resolv_conf_global): Clarify free
106 list management and the role of free_list_start.
107 (decrement_at_index): Put zero at the end of the free list.
108 (__resolv_conf_attach): Fix bogus assert.
109 * resolv/Makefile (tests): Add tst-resolv-res_init-multi.
110 (tst-resolv-res_init-multi): Link with -lresolv, -lpthread.
111
112 2017-07-03 Florian Weimer <fweimer@redhat.com>
113
114 resolv: Introduce free list for resolv_conf index slosts.
115 * resolv/resolv_conf.c (struct resolv_conf_array): Change element
116 type to uintptr_t.
117 (struct resolv_conf_global): Add free_list_start member.
118 (resolv_conf_get_1): Check for free list entry.
119 (decrement_at_index): Put freed slot on the free list.
120 (__resolv_conf_attach): Obtain new slot from the free list.
121 * resolv/tst-resolv-res_ninit.c: New file.
122 * resolv/Makefile (tests-internal): Add tst-resolv-res_ninit.
123 (tests-special): Add mtrace-tst-resolv-res_ninit.out.
124 (generated): Add mtrace-tst-resolv-res_ninit.out,
125 tst-resolv-res_ninit.mtrace.
126 (mtrace-tst-resolv-res_ninit.out): Add target.
127
128 2017-06-30 Florian Weimer <fweimer@redhat.com>
129
130 [BZ #984]
131 Reload /etc/resolv.conf if has been changed on disk.
132 * resolv/resolv_conf.h (resolv_conf): Remove initstamp member.
133 (__resolv_conf_load, __resolv_conf_get_current): Declare.
134 * resolv/resolv_conf.c (struct resolv_conf_global): Add
135 conf_current, conf_mtime, conf_ctime, conf_size, conf_ino members.
136 (__resolv_conf_get_current): New function.
137 (__resolv_conf_allocate): Do not initialize initstamp.
138 (freeres): Deallocate global->conf_current.
139 * resolv/resolv.h (RES_NORELOAD): Define.
140 * resolv/res_debug.c (p_option): Add RES_NORELOAD.
141 * resolv/resolv-internal.h (__res_initstamp): Remove declaration.
142 * resolv/resolv_context.c (replicated_configuration_matches): New.
143 (maybe_init): Call it. Use __resolv_conf_get_current to obtain
144 the current configration.
145 * resolv/res_init.c (__res_initstamp): Remove variable definition.
146 (has_preinit_values): New function.
147 (__resolv_conf_load): Renamed from __res_vinit. Drop res_state
148 parameter and do not call __resolv_conf_attach.
149 (__res_vinit): Reimplement based __resolv_conf_load.
150 (res_options): Handle no-reload.
151 * resolv/res_libc.c (atomicinclock, atomicincunlock, atomicinc)
152 (lock): Remove.
153 (res_int): Do not update __res_initstamp.
154 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Handle
155 RES_NORELOAD.
156 (test_cases): Test no-reload.
157 (special_test_call_res_init): Remove.
158 (special_test_callback): Rely on automated reloading. Add tests
159 for no-reload.
160
161 2017-06-30 Florian Weimer <fweimer@redhat.com>
162
163 Mirror the entire resolver configuration in struct resolv_conf.
164 * resolv/resolv_context.h (__resolv_context_nameserver_count)
165 (__resolv_context_nameserver): New functions.
166 (__resolv_context_sort_count, __resolv_context_sort_entry):
167 Likewise.
168 * resolv/nss_dns/dns-host.c (getanswer_r): Add struct
169 resolv_context parameter.
170 (gethostbyname3_context, _nss_dns_gethostbyaddr2_r): Adjust.
171 (addrsort): Switch to struct resolv_context.
172 * resolv/resolv_conf.h (struct resolv_sortlist_entry): Define.
173 (struct resolv_conf): Add nameserver_list, nameserver_list_size,
174 sort_list, sort_list_size, options, retrans, retry, ndots members.
175 * resolv/resolv_conf.c (same_address_v4, same_address_v6)
176 (same_address): New functions.
177 (resolv_conf_matches): Compare the new array members.
178 (__resolv_conf_allocate): Allocate and copy the new array members.
179 (update_from_conf): Copy the entire configuration.
180 * resolv/res_init.c (struct nameserver_list, struct sort_list):
181 Define using dynarray.
182 (struct resolv_conf_parser): Add nameserver_list, sort_list,
183 template members.
184 (resolv_conf_parser_init): Add preinit argument. Initialize the
185 new members.
186 (resolv_conf_parser_free): Deallocate the new arrays.
187 (allocate_address_v4): New function.
188 (res_setoptions): Switch to struct resolv_conf_parser * parameter.
189 (res_vinit_1): Drop res_state parameter. Write all parsed date to
190 the parser object instead. Use allocate_address_v4 to allocate
191 IPv4 addresses.
192 (__res_vinit): Adjust.
193 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print the
194 extended name server list.
195 (test_cases): Adjust.
196
197 2017-06-30 Florian Weimer <fweimer@redhat.com>
198
199 [BZ #19569]
200 [BZ #21475]
201 Support an arbitrary number of search domains.
202 * resolv/resolv_context.h (__resolv_context_search_list): New.
203 * resolv/resolv_conf.h (struct resolv_conf): Add search_list,
204 search_list_size members.
205 * resolv/resolv_conf.c (resolv_conf_matches): Compare search list.
206 (__resolv_conf_allocate): Allocate and and copy search list.
207 (update_from_conf): Copy the search list.
208 * resolv/res_init.c (struct search_list): Define using dynarray.
209 (struct resolv_conf_parser): Define.
210 (resolv_conf_parser_init, resolv_conf_parser_free)
211 (domain_from_hostname): New functions.
212 (res_vinit_1): Add struct resolv_conf_parser * parameter. Use
213 struct search_list to collect search list entries. Call
214 domain_from_hostname to obtain the fallback domain name.
215 (__res_vinit): Create and destroy parser object. Pass search list
216 to __resolv_conf_allocate.
217 * resolv/res_query.c (__res_context_search): Use
218 __resolv_context_search_list to obtain search list entries.
219 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print data
220 from extended resolver context.
221 (test_cases): Update.
222
223 2017-06-30 Florian Weimer <fweimer@redhat.com>
224
225 Add extended resolver state/configuration (struct resolv_conf).
226 * resolv/resolv_conf.h, resolv/resolv_conf.c: New files.
227 * resolv/res-close.c (__res_iclose): Call __resolv_conf_detach.
228 * resolv/res_init.c (res_vinit_1): Do not initialize initstamp.
229 (__res_vinit): Call __resolv_conf_allocate and
230 __resolv_conf_attach.
231 * resolv/resolv_context.h (struct resolv_context): Add conf member
232 of type struct resolv_conf.
233 * resolv/resolv_context.c (maybe_init): Get initstamp from struct
234 resolv_conf. Update conf member after initialization.
235 * resolv/Makefile (routines): Add resolv_conf.
236 * resolv/bits/types/res_state.h [_LIBC] (struct __res_state):
237 Rename _u._ext.initstamp to _u._ext.__glibc_extension_index.
238 [!_LIBC] (struct __res_state): Rename _u._ext._initstamp to
239 _u._ext.__glibc_reserved.
240
241 2017-06-30 Florian Weimer <fweimer@redhat.com>
242
243 [BZ #21668]
244 Introduce temporary resolver contexts (struct resolv_conf).
245 * resolv/resolv-internal.h (__res_context_mkquery)
246 (__res_context_searchl __res_context_query, __res_context_send)
247 (__res_context_hostalias): Declare.
248 (__res_nopt): Switch to struct resolv_context.
249 * resolv/res_use_inet6.h: New file.
250 * resolv/resolv_context.h: Likewise.
251 * resolv/resolv_context.c: Likewise.
252 * resolv/compat-gethnamaddr.c (res_gethostbyname2_context):
253 Renamed from res_gethostbyname2. Use struct resolv_context.
254 (res_gethostbyname2): New function. Implement using
255 res_gethostbyname2_context.
256 (res_gethostbyaddr_context): Renamed from res_gethostbyaddr. Use
257 struct resolv_context.
258 (res_gethostbyaddr): New function. Implement using
259 res_gethostbyaddr_context.
260 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Use struct
261 resolv_context.
262 * resolv/nss_dns/dns-host.c (gethostbyname3_context): Renamed from
263 _nss_dns_gethostbyname3_r. Use struct resolv_context.
264 (_nss_dns_gethostbyname3_r): Implement using gethostbyname3_context.
265 (_nss_dns_gethostbyname_r, _nss_dns_gethostbyname4_r): Likewise.
266 (_nss_dns_gethostbyaddr2_r): Use struct resolv_context.
267 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r)
268 (_nss_dns_getnetbyaddr_r): Likewise.
269 * resolv/res-close.c (res_thread_freeres): Call
270 __resolv_context_freeres.
271 * resolv/res_libc.c (__res_maybe_init): Remove function. Moved to
272 maybe_init in resolv/resolv_context.c.
273 * resolv/res_mkquery.c (__res_context_mkquery): Rename from
274 res_nmkquery. Use struct resolv_context.
275 (context_mkquery_common): New function.
276 (res_nmkquery, res_mkquery): Use it.
277 (res_nopt): Switch to struct resolv_context.
278 * resolv/res_query.c (__res_context_querydomain): Renamed from
279 __libc_res_nquerydomain. Use struct resolv_context.
280 (__res_context_query): Renamed from __libc_res_nquery. Use struct
281 resolv_context.
282 (context_query_common): New function.
283 (res_nquery, res_query): Use it.
284 (__res_context_search): Renamed from __libc_res_nsearch. Use
285 struct resolv_context.
286 (context_search_common): New function.
287 (res_nsearch, res_search): Use it.
288 (__res_context_querydomain): Rename from __libc_res_nquerydomain.
289 Use struct resolv_context.
290 (context_querydomain_common): New function.
291 (res_nquerydomain, res_querydomain): Use it.
292 (__res_context_hostalias): Rename from res_hostalias. Use struct
293 resolv_context.
294 (context_hostalias_common): New function.
295 (res_hostalias, hostalias): Use it.
296 * resolv/res_send.c (__res_context_send): Renamed from
297 __libc_res_nsend. Use struct resolv_context.
298 (context_send_common): New function.
299 (res_nsend, res_send): Use it.
300 * resolv/Makefile (routines): Add resolv_context.
301 * resolv/Versions (libc): Export __resolv_context_get,
302 __resolv_context_get_preinit, __resolv_context_get_override,
303 __resolv_context_put. Remove __res_maybe_init.
304 (libresolv): Export __res_context_query, __res_context_search,
305 __res_context_hostalias. Remove __libc_res_nquery,
306 __libc_res_nsearch.
307 * include/resolv.h (__res_maybe_init, __libc_res_nquery)
308 (__libc_res_nsearch, __libc_res_nsend): Remove declaration.
309 (__hostalias, __res_nmkquery, __res_nquery, __res_nquerydomain)
310 (__res_hostalias, __res_nsearch, __res_nsend): Remove hidden
311 prototypes.
312 * nss/nsswitch.h (__nss_hostname_digits_dots_context): Declare.
313 * nss/digits_dots.c (__nss_hostname_digits_dots_context): Renamed
314 from __nss_hostname_digits_dots. Use struct resolv_context.
315 (__nss_hostname_digits_dots): New function.
316 * nss/getXXbyYY.c [HANDLE_DIGITS_DOTS] (FUNCTION_NAME): Acquire
317 struct resolv_context object. Call new function
318 __nss_hostname_digits_dots_context.
319 * nss/getXXbyYY_r.c (REENTRANT_NAME): Use struct resolv_context.
320 * nss/getnssent_r.c (__nss_setent): Likewise.
321 * nscd/aicache.c (addhstaiX): Use struct resolv_context,
322 __resolv_context_disable_inet6 and __resolv_context_enable_inet6
323 instead of direct _res manipulation.
324 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Likewise.
325
326 2017-07-03 Florian Weimer <fweimer@redhat.com>
327
328 * resolv/tst-resolv-res_init-skeleton.c
329 (special_tests_count, special_test_call_res_init)
330 (special_test_callback, special_test_thread_func)
331 (run_special_test_on_thread, special_test): Define.
332 (do_test): call special_test.
333 (test_init_names): Fix typo.
334
335 2017-07-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
336
337 * sysdeps/powerpc/powerpc64/power8/strlen.S: Remove unreachable code.
338 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
339
340 2017-07-01 Florian Weimer <fweimer@redhat.com>
341 H.J. Lu <hongjiu.lu@intel.com>
342
343 [BZ #21696]
344 * posix/sched_cpucount.c: Don't include <limits.h>.
345 (__sched_cpucount): Use __builtin_popcount.
346
347 2017-07-01 Ramana Radhakrishnan <ramana.gcc@googlemail.com>
348
349 * sysdeps/unix/sysv/aarch64/cpu-features.c (init_cpu_features):
350 Fix typo.
351
352 2017-06-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
353
354 * include/math.h (__signbitf128): Define as hidden.
355 * sysdeps/ieee754/float128/s_signbitf128.c (__signbitf128):
356 Reimplement without builtins.
357 * sysdeps/ia64/bits/floatn.h [!__GNUC_PREREQ (6, 0)]
358 (__builtin_signbitf128): Define to __signbitf128.
359 * sysdeps/powerpc/bits/floatn.h: Likewise.
360 * sysdeps/x86/bits/floatn.h: Likewise.
361
362 2017-06-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
363
364 * sysdeps/unix/sysv/linux/arm/fcntl.c: Remove file.
365 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
366 * sysdeps/unix/sysv/linux/hppa/fcntl.c: Likewise.
367 * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
368 * sysdeps/unix/sysv/linux/m68k/fcntl.c: Likewise.
369 * sysdeps/unix/sysv/linux/microblaze/fcntl.c: Likewise.
370 * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: Likewise.
371 * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise.
372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: Likewise.
373 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: Likewise.
374 * sysdeps/unix/sysv/linux/sh/fcntl.c: Likewise.
375 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: Likewise.
376 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Rename to
377 fcntl_common and add check for F_GETOWN.
378 (__libc_fcntl): Use SYSCALL_CANCEL macro.
379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Refactor to
380 use default implementation.
381
382 2017-06-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
383
384 * elf/dl-tunables.h (tunable_is_name): Move from...
385 * elf/dl-tunables.c (is_name): ... here.
386 (parse_tunables, __tunables_init): Adjust.
387 * manual/tunables.texi: Document glibc.tune.cpu.
388 * sysdeps/aarch64/dl-tunables.list: New file.
389 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (struct
390 cpu_list): New type.
391 (cpu_list): New list of CPU names and their MIDR.
392 (get_midr_from_mcpu): New function.
393 (init_cpu_features): Override MIDR if necessary.
394
395 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
396 (__libc_ifunc_impl_list): Unconditionally select thunderx
397 routine for testing.
398
399 2017-06-30 H.J. Lu <hongjiu.lu@intel.com>
400
401 [BZ #21120]
402 * malloc/malloc-internal.h (MALLOC_ALIGNMENT): Moved to ...
403 * sysdeps/generic/malloc-alignment.h: Here. New file.
404 * sysdeps/i386/malloc-alignment.h: Likewise.
405 * sysdeps/generic/malloc-machine.h: Include <malloc-alignment.h>.
406
407 2017-06-30 Florian Weimer <fweimer@redhat.com>
408
409 * resolv/tst-resolv-res_init-skeleton.c (test_init_names): New
410 variable.
411 (test_file_contents): Use it.
412
413 2017-06-30 Florian Weimer <fweimer@redhat.com>
414
415 * resolv/res_init.c (res_setoptions): Remove source argument.
416 (res_vinit_1): Adjust.
417
418 2017-06-30 Florian Weimer <fweimer@redhat.com>
419
420 * resolv/res_query.c (DEBUG): Remove preprocessor conditional.
421
422 2017-06-30 Florian Weimer <fweimer@redhat.com>
423
424 * resolv/res_data.c: Reformat to GNU style.
425 (res_close): Update comments.
426
427 2017-06-30 Florian Weimer <fweimer@redhat.com>
428
429 * resolv/res_data.c (res_query, res_search, res_querydomain)
430 (hostalias): Move to ...
431 * resolv/res_Send.c (res_query, res_search, res_querydomain)
432 (hostalias): here.
433
434 2017-06-30 Florian Weimer <fweimer@redhat.com>
435
436 * resolv/res_data.c (res_isourserver, res_send): Move to ...
437 * resolv/res_send.c (res_isourserver, res_send): here.
438
439 2017-06-30 Florian Weimer <fweimer@redhat.com>
440
441 * resolv/res_debug.c (_res_opcodes): Rename ...
442 (res_opcodes): ... as compatibility symbol.
443 (fp_nquery): Use res_opcodes.
444 * include/resolv.h (_res_opcodes): Remove declaration.
445
446 2017-06-30 Florian Weimer <fweimer@redhat.com>
447
448 * include/resolv.h (res_pquery): Remove declaration.
449 * resolv/res_data.c (fp_nquery, fp_query, p_query): Remove
450 functions.
451 (_res_opcodes): Remove variable.
452 * resolv/res_debug.c (do_section): Receive pfcode instead of
453 statp.
454 (res_pquery): Rename ...
455 (fp_nquery): to this function. Skip unnecessary _res
456 initialization.
457 (fp_query, p_query, _res_opcodes): Copied from resolv/res_data.c.
458
459 2017-06-30 Florian Weimer <fweimer@redhat.com>
460
461 * resolv/res_debug.h: Remove file.
462 * resolv/README: Adjust.
463
464 2017-06-30 Florian Weimer <fweimer@redhat.com>
465
466 * resolv/res_end.c (DEBUG): Remove macro and preprocessor
467 conditionals.
468 (Aerror, Perror): Remove function definitions.
469
470 2017-06-30 Florian Weimer <fweimer@redhat.com>
471
472 * resolv/res_data.c (res_mkquery): Move ...
473 * resolv/res_mkquery.c (res_mkquery): to here.
474
475 2017-06-30 Florian Weimer <fweimer@redhat.com>
476
477 * resolv/res_mkquery.c: Reformat to GNU style.
478 (T_OPT): Remove definition. It is present in the header file.
479
480 2017-06-30 Florian Weimer <fweimer@redhat.com>
481
482 * resolv/res_mkquery.c (DEBUG): Remove macro and preprocessor
483 conditionals.
484
485 2017-06-30 Florian Weimer <fweimer@redhat.com>
486
487 * support/support_capture_subprocess_check.c
488 (support_capture_subprocess_check): Report actual exit status.
489
490 2017-06-30 Florian Weimer <fweimer@redhat.com>
491
492 [BZ #19570]
493 * resolv/res_send.c (nameserver_offset): New function.
494 (__libc_res_nsend): Use it to implement RES_ROTATE.
495 (get_nsaddr): Add assert with name server
496 range check.
497 * resolv/Makefile (xtests): Add tst-resolv-rotate.
498 (tst-resolv-rotate): Link against libpthread.
499 * resolv/tst-resolv-rotate.c: New file.
500
501 2017-06-29 Joseph Myers <joseph@codesourcery.com>
502
503 [BZ #21457]
504 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (__ctx): New macro.
505 [__WORDSIZE == 64] (MC_TSTATE): Define only for [__USE_MISC].
506 [__WORDSIZE == 64] (MC_PC): Likewise.
507 [__WORDSIZE == 64] (MC_NPC): Likewise.
508 [__WORDSIZE == 64] (MC_Y): Likewise.
509 [__WORDSIZE == 64] (MC_G1): Likewise.
510 [__WORDSIZE == 64] (MC_G2): Likewise.
511 [__WORDSIZE == 64] (MC_G3): Likewise.
512 [__WORDSIZE == 64] (MC_G4): Likewise.
513 [__WORDSIZE == 64] (MC_G5): Likewise.
514 [__WORDSIZE == 64] (MC_G6): Likewise.
515 [__WORDSIZE == 64] (MC_G7): Likewise.
516 [__WORDSIZE == 64] (MC_O0): Likewise.
517 [__WORDSIZE == 64] (MC_O1): Likewise.
518 [__WORDSIZE == 64] (MC_O2): Likewise.
519 [__WORDSIZE == 64] (MC_O3): Likewise.
520 [__WORDSIZE == 64] (MC_O4): Likewise.
521 [__WORDSIZE == 64] (MC_O5): Likewise.
522 [__WORDSIZE == 64] (MC_O6): Likewise.
523 [__WORDSIZE == 64] (MC_O7): Likewise.
524 [__WORDSIZE == 64] (MC_NGREG): Rename to __MC_NGREG and define to
525 __MC_NGREG if [__USE_MISC].
526 [__WORDSIZE == 64] (MC_MAXFPQ): Define only for [__USE_MISC].
527 [__WORDSIZE == 64] (mc_gregset_t): Define using __MC_NGREG.
528 [__WORDSIZE == 64] (struct mc_fq): Rename to struct __mc_fq.
529 Define fields using __ctx.
530 [__WORDSIZE == 64] (mc_fpu_t): Remove struct tag. Define fields
531 using __ctx.
532 [__WORDSIZE == 64] (mcontext_t): Define fields using __ctx.
533 (REG_PSR): Define only for [__USE_MISC].
534 (REG_PC): Likewise.
535 (REG_nPC): Likewise.
536 (REG_Y): Likewise.
537 (REG_G1): Likewise.
538 (REG_G2): Likewise.
539 (REG_G3): Likewise.
540 (REG_G4): Likewise.
541 (REG_G5): Likewise.
542 (REG_G6): Likewise.
543 (REG_G7): Likewise.
544 (REG_O0): Likewise.
545 (REG_O1): Likewise.
546 (REG_O2): Likewise.
547 (REG_O3): Likewise.
548 (REG_O4): Likewise.
549 (REG_O5): Likewise.
550 (REG_O6): Likewise.
551 (REG_O7): Likewise.
552 [__WORDSIZE == 64] (REG_ASI): Define only for [__USE_MISC].
553 [__WORDSIZE == 64] (REG_FPRS): Likewise.
554 (NGREG): Rename to __NGREG and define to __NGREG if [__USE_MISC].
555 (gregset_t): Define using __NGREG.
556 (SPARC_MAXREGWINDOW): Rename to __SPARC_MAXREGWINDOW and define to
557 __SPARC_MAXREGWINDOW if [__USE_MISC].
558 (struct rwindow): Rename to struct __rwindow. Define fields using
559 __ctx.
560 (rw_fp): Define only for [__USE_MISC].
561 (rw_rtn): Likewise.
562 (gwindows_t): Remove struct tag. Define fields using __ctx and
563 __SPARC_MAXREGWINDOW.
564 (MAXFPQ): Define only for [__USE_MISC].
565 (struct fpq): Rename to struct __fpq. Define fields using __ctx.
566 (struct fq): Rename to struct __fq. Define fields using __ctx.
567 (FPU_REGS_TYPE): Define only for [__USE_MISC].
568 (FPU_DREGS_TYPE): Likewise.
569 (V7_FPU_FSR_TYPE): Likewise.
570 (V9_FPU_FSR_TYPE): Likewise.
571 (V9_FPU_FPRS_TYPE): Likewise.
572 [__WORDSIZE == 64] (fpregset_t): Remove struct tag. Define fields
573 using __ctx.
574 [__WORDSIZE != 64] (fpregset_t): Likewise.
575 [__WORDSIZE != 64] (xrs_t): Define fields using __ctx.
576 [__WORDSIZE != 64] (XRS_ID): Define only for [__USE_MISC].
577 [__WORDSIZE != 64] (mcontext_t): Define fields using __ctx.
578 Rename field filler to __glibc_reserved1.
579 * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym
580 (MC_FILLER): Remove.
581
582 2017-06-29 Florian Weimer <fweimer@redhat.com>
583
584 * stdio-common/tst-vfprintf-user-type.c (my_printf_function):
585 Adjust format string.
586 * stdio-common/Makefile (tst-vfprintf-mbs-prec.out): Add locale
587 dependency.
588
589 2017-06-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
590
591 * sysdeps/posix/spawni.c (__spawni_child): New function.
592 (__spawni): Rename to __spawnix.
593
594 2017-06-29 Florian Weimer <fweimer@redhat.com>
595
596 * stdio-common/vfprintf.c (group_number): Add front_ptr argument.
597 Use it to make the temporary copy at the start of the work buffer.
598 (process_arg): Adjust call to group_number.
599
600 2017-06-29 Florian Weimer <fweimer@redhat.com>
601
602 * stdio-common/vfprintf.c (printf_positional): Use struct
603 scratch_buffer to allocate backing storage for the args_value,
604 args_size, args_type arrays.
605
606 2017-06-29 Florian Weimer <fweimer@redhat.com>
607
608 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Use struct
609 scratch_buffer.
610
611 2017-06-29 Florian Weimer <fweimer@redhat.com>
612
613 * stdio-common/vfprintf.c (WORK_BUFFER_SIZE): Reduce size for
614 wchar_t builds.
615
616 2017-06-29 Florian Weimer <fweimer@redhat.com>
617
618 * stdio-common/tst-vfprintf-mbs-prec.c: New file.
619 * stdio-common/Makefile (tests): Add tst-vfprintf-mbs-prec.
620
621 2017-06-29 Florian Weimer <fweimer@redhat.com>
622
623 * stdio-common/tst-vfprintf-user-type.c: New file.
624 * stdio-common/Makefile (tests): Add tst-vfprintf-user-type.
625
626 2017-06-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
627
628 * posix/tst-spawn2.c (do_test): Use libsupport.
629 * posix/tst-spawn3.c (do_test): Likewise.
630
631 2017-06-28 Joseph Myers <joseph@codesourcery.com>
632
633 * math/gen-tgmath-tests.py (Tests.__init__): Define
634 __STDC_WANT_IEC_60559_TYPES_EXT__ at start of generated file.
635
636 * math/tgmath.h: Include <bits/libc-header-start.h> and
637 <bits/floatn.h>.
638 (__TGMATH_F128): New macro.
639 (__TGMATH_CF128): Likewise.
640 (__TGMATH_UNARY_REAL_ONLY): Use __TGMATH_F128.
641 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
642 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
643 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): New macro.
644 (__TGMATH_BINARY_REAL_ONLY): Use __TGMATH_F128.
645 (__TGMATH_BINARY_REAL_STD_ONLY): New macro.
646 (__TGMATH_BINARY_REAL_RET_ONLY): Use __TGMATH_F128.
647 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
648 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
649 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
650 (__TGMATH_UNARY_REAL_IMAG): Use __TGMATH_CF128.
651 (__TGMATH_UNARY_IMAG): Use __TGMATH_F128.
652 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __TGMATH_CF128.
653 (__TGMATH_BINARY_REAL_IMAG): Likewise.
654 (nexttoward): Use __TGMATH_BINARY_FIRST_REAL_STD_ONLY.
655 [__USE_MISC] (scalb): Use __TGMATH_BINARY_REAL_STD_ONLY.
656 * math/gen-tgmath-tests.py (Type.init_types): Enable _FloatN and
657 _FloatNx types if the corresponding HUGE_VAL macros are defined.
658
659 * math/tgmath.h [__USE_GNU] (log10): Use clog10 not __clog10.
660 * math/gen-tgmath-tests.py (Tests.add_all_tests): Test log10 for
661 complex arguments.
662
663 [BZ #21687]
664 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): New macro.
665 (totalorder): Use it.
666 (totalordermag): Likewise.
667 * math/gen-tgmath-tests.py (Tests.add_all_tests): Enable tests of
668 totalorder and totalordermag.
669 * math/test-tgmath.c (F(compile_test)): Do not call totalorder or
670 totalordermag in arguments of calls to those functions.
671 (NCALLS): Change to 134.
672
673 * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): Do not take or
674 cast to return type argument.
675 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
676 (lrint): Update call to __TGMATH_UNARY_REAL_RET_ONLY.
677 (llrint): Likewise.
678 (lround): Likewise.
679 (llround): Likewise.
680 (ilogb): Likewise.
681 (llogb): Likewise.
682 (fromfp): Update call to __TGMATH_TERNARY_FIRST_REAL_RET_ONLY.
683 (ufromfp): Likewise.
684 (fromfpx): Likewise.
685 (ufromfpx): Likewise.
686
687 [BZ #21607]
688 * math/basic-test.c [!NO_LONG_DOUBLE]: Change conditionals to
689 [LDBL_MANT_DIG > DBL_MANT_DIG].
690 * math/bug-nextafter.c [!NO_LONG_DOUBLE]: Remove conditionals.
691 * math/bug-nexttoward.c [!NO_LONG_DOUBLE]: Likewise.
692 * math/test-math-isinff.cc [!NO_LONG_DOUBLE]: Likewise.
693 * math/test-math-iszero.cc [!NO_LONG_DOUBLE]: Likewise.
694 * math/test-nan-overflow.c [!NO_LONG_DOUBLE]: Likewise.
695 * math/test-nan-payload.c [!NO_LONG_DOUBLE]: Likewise.
696 * math/test-nearbyint-except-2.c [!NO_LONG_DOUBLE]: Likewise.
697 * math/test-nearbyint-except.c [!NO_LONG_DOUBLE]: Likewise.
698 * math/test-powl.c [!NO_LONG_DOUBLE]: Likewise.
699 * math/test-signgam-finite-c99.c [!NO_LONG_DOUBLE]: Likewise.
700 * math/test-signgam-finite.c [!NO_LONG_DOUBLE]: Likewise.
701 * math/test-signgam-main.c [!NO_LONG_DOUBLE]: Likewise.
702 * math/test-snan.c [!NO_LONG_DOUBLE]: Likewise.
703 * math/test-tgmath-ret.c [!NO_LONG_DOUBLE]: Likewise.
704 * math/test-tgmath.c: Include <float.h>.
705 [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
706 DBL_MANT_DIG].
707 * math/test-tgmath2.c: Include <float.h>.
708 [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
709 DBL_MANT_DIG].
710
711 * math/gen-tgmath-tests.py: New file.
712 * math/Makefile [PYTHON] (tests): Add test-tgmath3.
713 [PYTHON] (generated): Add test-tgmath3.c.
714 [PYTHON] (CFLAGS-test-tgmath3.c): New variable.
715 [PYTHON] ($(objpfx)test-tgmath3.c): New rule.
716
717 * configure.ac (AS): Require binutils 2.25 or later.
718 (LD): Likewise.
719 * configure: Regenerated.
720 * sysdeps/s390/configure.ac (AS): Remove version check.
721 * sysdeps/s390/configure: Regenerated.
722 * sysdeps/x86_64/configure.ac (AS): Remove version check.
723 * sysdeps/x86_64/configure: Regenerated.
724 * manual/install.texi (Tools for Compilation): Document
725 requirement for binutils 2.25 or later.
726 * INSTALL: Regenerated.
727
728 2017-06-28 H.J. Lu <hongjiu.lu@intel.com>
729
730 [BZ #14995]
731 * configure.ac: Allow gold 1.14 or above to configire glibc
732 * configure: Regenerated.
733
734 2017-06-28 Joseph Myers <joseph@codesourcery.com>
735
736 [BZ #21457]
737 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset_t): Remove
738 struct tag.
739 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (fpregset_t):
740 Likewise.
741 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (mcontext_t):
742 Likewise.
743 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (pt_regs):
744 Declare struct type with __ctx.
745 [__WORDSIZE != 32] (mcontext_t): Use __ctx with pt_regs struct
746 tag.
747 (ucontext_t) [__WORDSIZE == 32]: Use __ctx with pt_regs struct tag
748 and regs field name.
749
750 2017-06-27 Joseph Myers <joseph@codesourcery.com>
751
752 * elf/loadtest.c (OUT): Define using do { } while (0).
753
754 * time/strftime_l.c (DO_NUMBER): Define using do { } while (0).
755 (DO_NUMBER_SPACEPAD): Likewise.
756
757 2017-06-27 Prakhar Bahuguna <prakhar.bahuguna@arm.com>
758
759 * sysdeps/arm/armv7/multiarch/Makefile: Add memchr_neon to
760 sysdep_routines.
761 * sysdeps/arm/armv7/multiarch/ifunc-impl-list.c: Add define for
762 __memchr_neon.
763 Add ifunc definitions for __memchr_neon and __memchr_noneon.
764 * sysdeps/arm/armv7/multiarch/memchr.S: New file.
765 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Likewise.
766 * sysdeps/arm/armv7/multiarch/memchr_neon.S: Likewise.
767
768 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
769
770 * sysdeps/s390/utf8-utf16-z9.c (__to_utf8_loop_vx_cu):
771 Use vector and cu21 instruction.
772 * sysdeps/s390/multiarch/utf8-utf16-z9.c:
773 Add __to_utf8_loop_vx_cu in ifunc resolver.
774
775 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
776
777 * sysdeps/s390/utf16-utf32-z9.c (__from_utf16_loop_vx_cu):
778 Use vector and cu24 instruction.
779
780 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
781
782 * sysdeps/s390/utf16-utf32-z9.c (__to_utf16_loop_vx_cu):
783 Use vector and cu42 instruction.
784 * sysdeps/s390/multiarch/utf16-utf32-z9.c:
785 Add __to_utf16_loop_vx_cu in ifunc resolver.
786
787 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
788
789 * sysdeps/s390/utf8-utf32-z9.c (__to_utf8_loop_vx_cu):
790 Use vector and cu41 instruction.
791 * sysdeps/s390/multiarch/utf8-utf32-z9.c: Add __to_utf8_loop_vx_cu
792 in ifunc resolver.
793
794 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
795
796 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
797 Add vxd, vxe, gs flag.
798 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXD, HWCAP_S390_VXE,
799 HWCAP_S390_GS capability.
800 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
801 (HWCAP_S390_VXD, HWCAP_S390_VXE, HWCAP_S390_GS): Define.
802
803 2017-06-27 H.J. Lu <hongjiu.lu@intel.com>
804
805 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (MEMCMP): Check
806 the first 32 bytes before checking size when size >= 32 bytes.
807 Replace vpmovmskb/subl/jnz with vptest/jnc.
808
809 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
810
811 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE): Use r12 for GOT address.
812 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE): Likewise.
813
814 2017-06-27 Florian Weimer <fweimer@redhat.com>
815
816 Work around test timeouts with ICMP rate limiting on localhost.
817 * resolv/tst-resolv-res_init-skeleton.c (start_dummy_server): New
818 function.
819 (do_test): Call it.
820
821 2017-06-27 Florian Weimer <fweimer@redhat.com>
822
823 Call _res_hconf_init from __res_vinit.
824 * inet/gethstbyad_r.c (NEED__RES_HCONF): Remove.
825 * inet/gethstbynm2_r.c (NEED__RES_HCONF): Likewise.
826 (NEED__RES): Define.
827 * inet/gethstbynm_r.c (NEED__RES_HCONF): Remove.
828 (NEED__RES): Define.
829 * nscd/aicache.c (addhstaiX): Remove call to _res_hconf_init.
830 * nscd/gethstbyad_r.c (NEED__RES_HCONF): Remove.
831 * nscd/gethstbynm3_r.c (NEED__RES_HCONF): Likewise.
832 (NEED__RES): Define.
833 * nss/getXXbyYY_r.c (REENTRANT_NAME): Remove call to
834 _res_hconf_init.
835 * resolv/res_hconf.h (_res_hconf_init): Declare as hidden.
836 * resolv/res_init.c (__res_vinit): Call _res_hconf_init.
837 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove call to
838 _res_hconf_init.
839
840 2017-06-26 Joseph Myers <joseph@codesourcery.com>
841
842 * sysdeps/ia64/Implies: Add ieee754/float128.
843 * sysdeps/ia64/bits/floatn.h: New file.
844 * sysdeps/ia64/float128-abi.h: Likewise.
845 * manual/math.texi (Mathematics): Document support for _Float128
846 on ia64.
847 * sysdeps/ia64/Makefile [$(subdir) = math] (CPPFLAGS): Append to
848 Makefile variable.
849 * sysdeps/ia64/fpu/e_sqrtf128.c: New file.
850 * sysdeps/ia64/fpu/k_rem_pio2.c: Remove file.
851 * sysdeps/ia64/fpu/sfp-machine.h: New file. Based on libgcc.
852 * sysdeps/ia64/math-tests.h: New file.
853 * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): Also define
854 based on TEST_COND_binary128 for [__ia64__].
855 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Update.
856 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise,
857
858 [BZ #21457]
859 * sysdeps/arm/sys/ucontext.h (struct ucontext): Rename to struct
860 ucontext_t.
861 * sysdeps/generic/sys/ucontext.h (struct ucontext): Likewise.
862 * sysdeps/i386/sys/ucontext.h (struct ucontext): Likewise.
863 * sysdeps/m68k/sys/ucontext.h (struct ucontext): Likewise.
864 * sysdeps/mips/sys/ucontext.h (struct ucontext): Likewise.
865 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (struct
866 ucontext): Likewise.
867 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (struct ucontext):
868 Likewise.
869 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (struct ucontext):
870 Likewise.
871 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (struct ucontext):
872 Likewise.
873 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (struct ucontext):
874 Likewise.
875 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (struct ucontext):
876 Likewise.
877 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (struct ucontext):
878 Likewise.
879 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (struct ucontext):
880 Likewise.
881 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (struct
882 ucontext): Likewise.
883 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (struct ucontext):
884 Likewise.
885 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (struct ucontext):
886 Likewise.
887 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct ucontext):
888 Likewise.
889 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (struct ucontext):
890 Likewise.
891 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (struct ucontext):
892 Likewise.
893 * sysdeps/powerpc/powerpc32/backtrace.c (struct
894 rt_signal_frame_32): Likewise.
895 * sysdeps/powerpc/powerpc64/backtrace.c (struct signal_frame_64):
896 Likewise.
897 * sysdeps/unix/sysv/linux/aarch64/kernel_rt_sigframe.h (struct
898 kernel_rt_sigframe): Likewise.
899 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT):
900 Likewise.
901 * sysdeps/unix/sysv/linux/arm/register-dump.h (register_dump):
902 Likewise.
903 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h (SIGCONTEXT):
904 Likewise.
905 * sysdeps/unix/sysv/linux/hppa/profil-counter.h
906 (__profil_counter): Likewise.
907 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
908 (SIGCONTEXT): Likewise.
909 * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
910 kernel_rt_sigframe): Likewise.
911 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h (struct
912 kernel_rt_sigframe): Likewise.
913 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h (SIGCONTEXT):
914 Likewise.
915 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext):
916 Likewise.
917 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
918 (__start_context): Likewise.
919 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h (SIGCONTEXT):
920 Likewise.
921 * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
922 Likewise.
923 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
924 Likewise.
925
926 * sysdeps/i386/Implies: Add ieee754/float128.
927 * sysdeps/x86_64/Implies: Likewise.
928 * sysdeps/x86/bits/floatn.h: New file.
929 * sysdeps/x86/float128-abi.h: Likewise.
930 * manual/math.texi (Mathematics): Document support for _Float128
931 on x86_64 and x86.
932 * sysdeps/i386/fpu/fenv_private.h: Include <bits/floatn.h>.
933 (math_opt_barrier): Do not put _Float128 values in floating-point
934 registers.
935 (math_force_eval): Likewise.
936 [__x86_64__] (SET_RESTORE_ROUNDF128): New macro.
937 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (CPPFLAGS): Append
938 to Makefile variable.
939 * sysdeps/x86/fpu/e_sqrtf128.c: New file.
940 * sysdeps/x86/fpu/sfp-machine.h: Likewise. Based on libgcc.
941 * sysdeps/x86/math-tests.h: New file.
942 * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): New macro.
943 * math/libm-test-getpayload.inc (getpayload_test_data): Use
944 XFAIL_FLOAT128_PAYLOAD.
945 * math/libm-test-setpayload.inc (setpayload_test_data): Likewise.
946 * math/libm-test-totalorder.inc (totalorder_test_data): Likewise.
947 * math/libm-test-totalordermag.inc (totalordermag_test_data):
948 Likewise.
949 * sysdeps/unix/sysv/linux/i386/libc.abilist: Update.
950 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
951 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
952 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
953 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
954 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
955 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
956 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
958
959 2017-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
960
961 [BZ #21512]
962 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Call exit
963 syscall instead of jump to _exit.
964 (CLONE_VM_BIT): Remove unused define.
965 (CLONE_VM): Likewise.
966 (CLONE_THREAD_BIT): Likewise.
967 (CLONE_THREAD): Likewise.
968 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
969 (CLONE_VM): Remove unused define.
970 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
971 (CLONE_VM): Remove unused define.
972 (CLONE_THREAD): Likewise.
973 * sysdeps/unix/sysv/linux/i386/clone.S (CLONE_VM): Likewise.
974 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Call exit
975 syscall instead of jump to _exit.
976 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
977 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
978 (CLONE_VM): Remove unused define.
979 (CLONE_THREAD): Likewise.
980 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
981 (CLONE_VM): Remove unused define.
982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
983 Likewise.
984 (CLONE_VM): Remove unused define.
985 (CLONE_THREAD): Likewise.
986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
987 Likewise.
988 (CLONE_VM): Remove unused define.
989 (CLONE_THREAD): Likewise.
990 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
991 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
992 (CLONE_VM): Remove unused define.
993 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
994 (CLONE_VM): Remove unused define.
995 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
996 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
997 (CLONE_VM): Remove unused define.
998 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-clone3.
999 * sysdeps/unix/sysv/linux/tst-clone3.c: New file.
1000
1001 2017-06-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1002 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1003
1004 * manual/math.texi (Mathematics): Mention the enabling of float128
1005 for powerpc64le.
1006 * sysdeps/powerpc/bits/floatn.h: New file.
1007 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1008 * sysdeps/powerpc/fpu/math_private.h:
1009 (__ieee754_sqrtf128): New inline override.
1010 * sysdeps/powerpc/powerpc64le/Implies-before: New file.
1011 * sysdeps/powerpc/powerpc64le/Makefile: New file.
1012 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: New file.
1013 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: New file.
1014 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: New file.
1015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1016 Updated.
1017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1018 Likewise.
1019 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h:
1020 New file.
1021
1022 2017-06-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1023
1024 * sysdeps/powerpc/powerpc64le/configure.ac: Check for POWER8.
1025 * sysdeps/powerpc/powerpc64le/configure: Update.
1026
1027 2017-06-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1028 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1029
1030 * INSTALL: Regenerate.
1031 * manual/install.texi (Recommended Tools for Compilation): Mention
1032 the powerpc64le-specific requirement in the manual.
1033 * sysdeps/powerpc/powerpc64le/configure.ac: New file with checks
1034 for the compiler features required for building float128.
1035 * sysdeps/powerpc/powerpc64le/configure: New, auto-generated file.
1036
1037 2017-06-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1038
1039 * malloc/tst-alloc_buffer.c (test_misaligned): Cast to char
1040 before comparing with another char.
1041
1042 2017-06-25 Rical Jasan <ricaljasan@pacific.net>
1043
1044 * manual/math.texi: Fix a grammatical error.
1045
1046 2017-06-24 Florian Weimer <fweimer@redhat.com>
1047
1048 [BZ #21295]
1049 * resolv/tst-resolv-basic.c (do_test): Add new test cases.
1050
1051 2017-06-24 Dmitry Bilunov <kmeaw@kmeaw.com>
1052
1053 [BZ #21295]
1054 * sysdeps/posix/getaddrinfo.c (convert_hostent_to_gaih_addrtuple):
1055 Append addresses at the end of the list.
1056
1057 2017-06-23 H.J. Lu <hongjiu.lu@intel.com>
1058
1059 [BZ #21666]
1060 * misc/regexp.c (loc1): Add __attribute__ ((nocommon));
1061 (loc2): Likewise.
1062 (locs): Likewise.
1063
1064 2017-06-23 Florian Weimer <fweimer@redhat.com>
1065
1066 [BZ #16637]
1067 inet_pton: Reject invalid IPv6 addresses with many leading zeros.
1068 * resolv/inet_pton.c (inet_pton6): Count number of hexadecimal
1069 digits between colons.
1070 * resolv/tst-inet_pton.c (test_cases): Adjust test expectations.
1071
1072 2017-05-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1073 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
1074
1075 * include/sched.h (__sched_get_priority_max): Add libc hidden proto.
1076 (__sched_get_prioriry_min): Likewise.
1077 * include/sys/mman.h (__mmap): Likewise.
1078 (__mmap64): Likewise.
1079 (__munmap): Likewise.
1080 (__mprotect): Likewise.
1081 * include/termios.h (__tcsetattr): Likewise.
1082 * include/time.h (__nanosleep): Use hidden_proto instead of
1083 libc_hidden_proto.
1084 * posix/nanosleep.c (__nanosleep): Likewise.
1085 * misc/Versions (libc): Export __mmap, __munmap, __mprotect,
1086 __sched_get_priority_min, and __sched_get_priority_max under
1087 GLIBC_PRIVATE.
1088 * nptl/allocatestack.c (__free_stacks): Use internal definition for
1089 libc symbols.
1090 (change_stack_perm): Likewise.
1091 (change_stack_perm): Likewise.
1092 (allocate_stack): Likewise.
1093 * sysdeps/posix/gethostname.c: Likewise.
1094 * nptl/tpp.c (__init_sched_fifo_prio): Likewise.
1095 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
1096 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
1097 * nptl/pthreadP.h (__pthread_mutex_timedlock): Add definition.
1098 (__pthread_key_delete): Likewise.
1099 (__pthread_detach): Likewise.
1100 (__pthread_cancel): Likewise.
1101 (__pthread_mutex_trylock): Likewise.
1102 (__pthread_mutexattr_init): Likewise.
1103 (__pthread_mutexattr_settype): Likewise.
1104 * nptl/pthread_cancel.c (pthread_cancel): Change to internal name and
1105 create alias for exported one.
1106 * nptl/pthread_join.c (pthread_join): Likewise.
1107 * nptl/pthread_detach.c (pthread_detach): Likewise.
1108 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
1109 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1110 * nptl/pthread_create.c: Change static requirements for pthread
1111 symbols.
1112 * nptl/pthread_equal.c (__pthread_equal): Change strong alias to weak
1113 for internal definition.
1114 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1115 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
1116 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
1117 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): Likewise.
1118 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1119 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1120 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1121 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock): Likewise.
1122 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likwise.
1123 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
1124 Likewise.
1125 * nptl/pthread_self.c (__pthread_self): Likewise.
1126 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
1127 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
1128 * misc/mmap.c (__mmap): Add internal symbol definition.
1129 * misc/mmap.c (__mmap64): Likewise.
1130 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
1131 * sysdeps/unix/sysv/linux/mmap64.c (__mmap): Likewise.
1132 (__mmap64): Likewise.
1133 * sysdeps/unix/sysv/linux/i386/Versions (libc) [GLIBC_PRIVATE):
1134 Add __uname.
1135
1136 2017-06-23 Joseph Myers <joseph@codesourcery.com>
1137
1138 * sysdeps/i386/fpu/libm-test-ulps: Update.
1139 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1140
1141 * libm-test-support.c (check_float_internal): Clear exceptions at
1142 end of function.
1143 (check_int): Likewise.
1144 (check_long): Likewise.
1145 (check_bool): Likewise.
1146 (check_longlong): Likewise.
1147 (check_intmax_t): Likewise.
1148 (check_uintmax_t): Likewise.
1149
1150 * sysdeps/x86/fpu/bits/fenv.h [_LIBC] (__feraiseexcept_renamed):
1151 Do not declare.
1152 * sysdeps/x86/fpu/include/bits/fenv.h [_LIBC &&
1153 __USE_EXTERN_INLINES] (__feraiseexcept_renamed): Declare here,
1154 redirected to __GI_feraiseexcept if [SHARED && IS_IN (libm)].
1155
1156 2017-06-23 H.J. Lu <hongjiu.lu@intel.com>
1157
1158 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1159 Replace movzbl and orl with movb.
1160
1161 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1162
1163 * manual/arith.texi (Infinity and NaN): Document SNANFN and SNANFNx.
1164 (Error Reporting by Mathematical Functions): Document HUGE_VAL_FN
1165 and HUGE_VAL_FNx.
1166 (Absolute Value): Document fabsfN, fabsfNx, cabsfN, cabsfNx.
1167 Rephrase the paragraph that mentions that fabs, fabsf, and fabsl
1168 are in math.h, to avoid having to list the _FloatN and _FloatNx
1169 variants as well. Likewise for the cabs functions.
1170 (Normalization Functions): Document frexpfN, frexpfNx, ldexpfN,
1171 ldexpfNx, scalbnfN, scalbnfNx, scalblnfN, scalblnfNx.
1172 Mention that _FloatN and _FloatNx variants of scalbn and scalbln
1173 come from TS 18661-3, since this section explicitly states that
1174 these functions come from BSD.
1175 (Rounding Functions): Document ceilfN, ceilfNx, floorfN, floorfNx,
1176 truncfN, truncfNx, rintfN, rintfNx, nearbyintfN, nearbyintfNx,
1177 roundfN, roundfNx, roundevenfN, roundevenfNx, lrintfN, lrintfNx,
1178 llrintfN, llrintfNx, lroundfN, lroundfNx, llroundfN, llroundfNx,
1179 fromfpfN, fromfpfNx, ufromfpfN, ufromfpfNx, fromfpxfN, fromfpxfNx,
1180 ufromfpxfN, ufromfpxfNx, modffN, modffNx.
1181 (Remainder Functions): Document fmodfN, fmodfNx, remainderfN,
1182 remainderfNx.
1183 (Setting and modifying single bits of FP values): Document
1184 copysignfN, copysignfNx, nextafterfN, nextafterfNx, nextupfN,
1185 nextupfNx, nextdownfN, nextdownfNx, nanfN, nanfNx, canonicalizefN,
1186 canonicalizefNx, getpayloadfN, getpayloadfNx, setpayloadfN,
1187 setpayloadfNx, setpayloadsigfN, setpayloadsigfNx.
1188 (Floating-Point Comparison Functions): Document totalorderfN,
1189 totalorderfNx, totalordermagfN, totalordermagfNx.
1190 (Miscellaneous FP arithmetic functions): Document fminfN, fminfNx,
1191 fmaxfN, fmaxfNx, fminmagfN, fminmagfNx, fmaxmagfN, fmaxmagfNx,
1192 fdimfN, fdimfNx, fmafN, fmafNx.
1193 (Complex Numbers): Document the complex types: _FloatN complex and
1194 _FloatNx complex.
1195 (rojections, Conjugates, and Decomposing of Complex Numbers):
1196 Document crealfN, crealfNx, cimagfN, cimagfNx, conjfN, conjfNx,
1197 cargfN, cargfNx, cprojfN, cprojfNx.
1198 * manual/math.texi (Mathematics): Mention that the _FloatN and
1199 _FloatNx variants of the math functions come from TS 18661-3,
1200 unless otherwise stated.
1201 (Predefined Mathematical Constants): Document the _FloatN and
1202 _FloatNx variants of the macros prefixed with M_.
1203 (Trigonometric Functions): Document sinfN, sinfNx, cosfN, cosfNx,
1204 tanfN, tanfNx, sincosfN, sincosfNx, csinfN, csinfNx, ccosfN,
1205 ccosfNx, ctanfN, ctanfNx.
1206 (Inverse Trigonometric Functions): Document asinfN, asinfNx,
1207 acosfN, acosfNx, atanfN, atanfNx, atan2fN, atan2fNx.
1208 (Exponentiation and Logarithms): Document expfN, expfNx, exp2fN,
1209 exp2fNx, exp10fN, exp10fNx, logfN, logfNx, log10fN, log10fNx,
1210 log2fN, log2fNx, logbfN, logbfNx, ilogbfN, ilogbfNx, llogbfN,
1211 llogbfNx, powfN, powfNx, sqrtfN, sqrtfNx, cbrtfN, cbrtfNx, hypotfN,
1212 hypotfNx, expm1fN, expm1fNx, log1pfN, log1pfNx, cexpfN, cexpfNx,
1213 clogfN, clogfNx, clog10fN, clog10fNx, csqrtfN, csqrtfNx, cpowfN,
1214 cpowfNx.
1215 (Hyperbolic Functions): sinhfN, sinhfNx, coshfN, coshfNx, tanhfN,
1216 tanhfNx, csinhfN, csinhfNx, ccoshfN, ccoshfNx, ctanhfN, ctanhfNx,
1217 asinhfN, asinhfNx, acoshfN, acoshfNx, atanhfN, atanhfNx, casinhfN,
1218 casinhfNx, cacoshfN, cacoshfNx, catanhfN, catanhfNx.
1219 (Special Functions): Document erffN, erffNx, erfcfN, erfcfNx,
1220 lgammafN, lgammafNx, lgammarfN_r, lgammafNx_r, tgammafN, tgammafNx,
1221 j0fN, j0fNx, j1fN, j1fNx, jnfN, jnfNx, y0fN, y0fNx, y1fN, y1fNx,
1222 ynfN, ynfNx.
1223
1224 2017-06-23 Florian Weimer <fweimer@redhat.com>
1225
1226 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): Fix typo in comment.
1227
1228 2017-06-23 Florian Weimer <fweimer@redhat.com>
1229
1230 * resolv/res_libc.c: Reformat to GNU style.
1231
1232 2017-06-23 Florian Weimer <fweimer@redhat.com>
1233
1234 * resolv/resolv-internal.h (__res_initstamp): Declare.
1235 * resolv/res_init.c (__res_initstamp): Remove hidden attribute.
1236 It is implied by the declaration.
1237 * resolv/res_libc.c (__res_initstamp): Remove declaration.
1238
1239 2017-06-23 Florian Weimer <fweimer@redhat.com>
1240
1241 [BZ #21662]
1242 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1243 Use only 24 bits of the register before the subtraction.
1244 * string/test-memcmp.c (check1): Check with different lengths.
1245
1246 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1247
1248 * sysdeps/ieee754/float128/Makefile (CFLAGS-strfromf128.c): Add
1249 $(libio-mtsafe) to get the value of IO_MTSAFE_IO.
1250
1251 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1252
1253 * manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps):
1254 Enable generation of float128 entries on the error table.
1255
1256 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1257
1258 * include/float.h: Include libc-header-start.h to get the
1259 definition of __GLIBC_USE.
1260
1261 2017-06-23 Paul A. Clarke <pc@us.ibm.com>
1262
1263 * sysdeps/ieee754/flt-32/e_powf.c: Optimized implementation utilizing
1264 rearranged code and doubles float types.
1265
1266 2017-06-23 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
1267
1268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Change
1269 s_sinf.c from sysdeps/ieee754/flt-32/ to sysdeps/powerpc/fpu/.
1270
1271 2017-06-23 Paul A. Clarke <pc@us.ibm.com>
1272
1273 * sysdeps/unix/sysv/linux/powerpc/sysconf.c: Remove references
1274 to errno, and simplify remaining related code.
1275
1276 2017-06-23 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1277
1278 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_DARN and
1279 PPC_FEATURE2_SCV.
1280 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add scv
1281 and darn.
1282
1283 2017-06-23 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1284
1285 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S(STRRCHR): Define
1286 the implementation-specific function name and remove unneeded macros
1287 definition.
1288 * sysdeps/powerpc/powerpc64/power8/strrchr.S(STRRCHR): Set a default
1289 function name if not defined and pass as parameter to macros
1290 accordingly.
1291
1292 2017-06-23 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1293
1294 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1295 (libm-sysdep_routines): Add s_llroundf-ppc64.
1296 * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S
1297 (__llroundf): Define as strong alias of __llround.
1298 (llroundf): Define as weak alias of __llround.
1299 (__lroundf): Define as strong alias of __llround.
1300 (lroundf): Define as weak alias of __llround.
1301 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1302 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file.
1304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise.
1305 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1306 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1307 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1308
1309 2017-06-22 Joseph Myers <joseph@codesourcery.com>
1310
1311 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h
1312 [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro.
1313
1314 * sysdeps/generic/math-tests.h: Include <bits/floatn.h>.
1315 (MATH_TESTS_TG): New macro.
1316 (SNAN_TESTS_float128): Likewise.
1317 (ROUNDING_TESTS_float128): Likewise.
1318 (EXCEPTION_TESTS_float128): Likewise.
1319 (SNAN_TESTS): Define using MATH_TESTS_TG.
1320 (ROUNDING_TESTS): Likewise.
1321 (EXCEPTION_TESTS): Likewise.
1322
1323 * sysdeps/ieee754/float128/float128_private.h
1324 [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and
1325 pass it to SET_RESTORE_ROUNDF128.
1326
1327 * sysdeps/ieee754/float128/float128_private.h: Include
1328 <ieee754.h>.
1329
1330 * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply
1331 typeof to argument passed to __builtin_types_compatible_p.
1332 (min_of_type): Pass type argument, not x, to __EXPR_FLT128.
1333
1334 * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include
1335 <errno.h>.
1336 * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1337 * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1338 * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1339 * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1340 * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1341 * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1342 * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1343 * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1344 * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1345 * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1346 * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1347 * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1348 * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1349 * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1350 * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1351 * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1352 * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1353 * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1354 * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1355 * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1356 * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1357 * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1358
1359 * sysdeps/ieee754/float128/strtof128_l.c: Include
1360 <bits/types/locale_t.h> instead of <xlocale.h>.
1361 * sysdeps/ieee754/float128/wcstof128.c: Likewise.
1362 * sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
1363
1364 2017-06-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
1365
1366 * benchtests/scripts/benchout_strings.schema.json: New file.
1367 * benchtests/scripts/compare_strings.py: New file.
1368
1369 * benchtests/bench-memcpy-large.c: Include json-lib.h.
1370 (do_one_test): Print json.
1371 (do_test): Likewise.
1372 (test_main): Likewise.
1373 * benchtests/bench-memcpy-random.c: Include json-lib.h.
1374 (do_one_test): Print json.
1375 (do_test): Likewise.
1376 (test_main): Likewise.
1377 * benchtests/bench-memcpy.c: Include json-lib.h.
1378 (do_one_test): Print json.
1379 (do_test): Likewise.
1380 (test_main): Likewise.
1381
1382 * benchtests/json-lib.h: Include inttypes.h.
1383 (json_attr_int, json_attr_int, json_element_string,
1384 json_element_int, json_element_uint): New functions.
1385 * benchtests/json-lib.c: (json_attr_int, json_attr_int,
1386 json_element_string, json_element_int, json_element_uint): New
1387 functions.
1388
1389 2017-06-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1390
1391 * manual/arith.texi (Remainder Functions): Describe remainder as
1392 primary and drem as an alternative name. Change the comment on
1393 remainder to ISO, since it is defined in ISO C99.
1394
1395 2017-06-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1396
1397 * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition
1398 macro expansion.
1399 (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128.
1400
1401 2017-06-22 Mike FABIAN <mfabian@redhat.com>
1402
1403 [BZ #21533]
1404 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1405 201706L for Unicode 10.0.
1406
1407 2017-06-21 Benjamin Cama <b.cama@kerlink.fr>
1408
1409 [BZ #21657]
1410 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes
1411 on node-local addresses.
1412 * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test.
1413
1414 2017-06-21 Florian Weimer <fweimer@redhat.com>
1415
1416 * intl/loadmsgcat.c: Remove alloca support.
1417 (_nl_load_domain): Use calloc instead of alloca.
1418
1419 2017-04-21 Florian Weimer <fweimer@redhat.com>
1420
1421 * malloc/Makefile (tests-internal): Add tst-alloc_buffer.
1422 (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate,
1423 alloc_buffer_copy_bytes, alloc_buffer_copy_string,
1424 alloc_buffer_create_failure.
1425 * malloc/Versions (__libc_alloc_buffer_alloc_array)
1426 (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes)
1427 (__libc_alloc_buffer_copy_string)
1428 (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE.
1429 * malloc/alloc_buffer_alloc_array.c: New file.
1430 * malloc/alloc_buffer_allocate.c: Likewise.
1431 * malloc/alloc_buffer_copy_bytes.c: Likewise.
1432 * malloc/alloc_buffer_copy_string.c: Likewise.
1433 * malloc/alloc_buffer_create_failure.c: Likewise.
1434 * malloc/tst-alloc_buffer.c: Likewise.
1435
1436 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1437
1438 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1439 strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2,
1440 strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx,
1441 strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx.
1442 * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file.
1443 * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise.
1444 * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise.
1445 * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise.
1446 * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise.
1447 * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise.
1448 * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise.
1449 * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise.
1450 * sysdeps/x86_64/multiarch/strcmp.c: Likewise.
1451 * sysdeps/x86_64/multiarch/strncase.c: Likewise.
1452 * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise.
1453 * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise.
1454 * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise.
1455 * sysdeps/x86_64/multiarch/strncase_l.c: Likewise.
1456 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise.
1457 * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise.
1458 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
1459 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed.
1460 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1461 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1462 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1463 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include <sysdep.h>.
1464 (STRCMP_SSE42): New. Defined to __strcmp_sse42 if not defined.
1465 [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include
1466 "locale-defines.h".
1467 (UPDATE_STRNCMP_COUNTER): New.
1468 (SECTION): Likewise.
1469 (GLABEL): Likewise.
1470 (LABEL): Likewise.
1471 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable
1472 for libc.a.
1473
1474 2017-06-21 Joseph Myers <joseph@codesourcery.com>
1475
1476 [BZ #21622]
1477 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
1478 Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
1479 __USE_MISC].
1480 (SA_NODEFER): Likewise.
1481 (SA_RESETHAND): Likewise.
1482
1483 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1484
1485 * elf/dl-tunables.list (glibc.tune.ifunc): Removed.
1486 * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New.
1487 Remove security_level on all fields.
1488 * manual/tunables.texi: Replace ifunc with hwcaps.
1489 * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)):
1490 Renamed to ..
1491 (TUNABLE_CALLBACK (set_hwcaps)): This.
1492 (init_cpu_features): Updated.
1493 * sysdeps/x86/cpu-features.h (cpu_features): Change type of
1494 data_cache_size, data_cache_size and non_temporal_threshold to
1495 unsigned long int.
1496 * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed.
1497 (TUNABLE_CALLBACK (set_ifunc)): Renamed to ...
1498 (TUNABLE_CALLBACK (set_hwcaps)): This. Update comments. Don't
1499 use DEFAULT_STRLEN.
1500
1501 2017-06-21 Florian Weimer <fweimer@redhat.com>
1502
1503 * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
1504 asprintf to construct an absolute pathname.
1505
1506 2017-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1507
1508 * misc/tst-preadvwritev2-common.c: New file.
1509 * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
1510 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
1511
1512 2017-06-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1513
1514 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
1515 annotation.
1516 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1517
1518 2017-06-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1519
1520 * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
1521 hidden __GI__dl_argv symbol.
1522
1523 2017-06-21 Florian Weimer <fweimer@redhat.com>
1524
1525 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
1526 to parse addresses with IPv6 scope IDs.
1527
1528 2017-06-21 Florian Weimer <fweimer@redhat.com>
1529
1530 Add the __inet_pton_length helper function.
1531 * resolv/resolv-internal.h (__inet_pton_length): Declare.
1532 * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
1533 Add length argument.
1534 (__inet_pton): New function.
1535 (inet_pton4): Add length argument.
1536 (hex_digit_value): New function.
1537 (inet_pton6): Add length argument. Call hex_digit_value. Use
1538 memmove and memset to fill :: gap.
1539 * resolv/Makefile (tests, tsts-static, tests-internal): Add
1540 tst-inet_pton.
1541 * resolv/tst-inet_pton.c: New file.
1542 * support/Makefile (libsupport-routines): Add xmprotect.
1543 * support/xunistd.h (xmprotect): Declare.
1544 * support/xmprotect.c: New file.
1545
1546 2017-06-21 Florian Weimer <fweimer@redhat.com>
1547
1548 Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
1549 * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
1550 (call_gai, check_ai): New functions.
1551 (expect_failure, expect_success): Use them. Add logging.
1552
1553 2017-06-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1554
1555 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1556 (sysdep_routines): Add memchr_power8.
1557 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1558 (memchr): Add __memchr_power8 to list of memchr functions.
1559 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
1560 * sysdeps/powerpc/powerpc64/multiarch/memchr.c
1561 (memchr): Add __memchr_power8 to ifunc list.
1562 * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
1563
1564 2017-06-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1565
1566 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
1567 (__llrintf): Define as strong alias of __llrint.
1568 (llrintf): Define as weak alias of __llrint.
1569 (__lrintf): Define as strong alias of __llrint.
1570 (lrintf): Define as weak alias of __llrint.
1571 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1572 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1573 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Remove file content.
1574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
1575
1576 2017-06-20 Zack Weinberg <zackw@panix.com>
1577
1578 * bits/signum-generic.h: Renamed from bits/signum.h.
1579 Add proper multiple include guard and misuse check.
1580 Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
1581 Move definition of SIGIO to "archaic names for compatibility" section.
1582 * bits/signum.h: New file which just includes bits/signum-generic.h.
1583 * sysdeps/unix/bsd/bits/signum.h
1584 * sysdeps/unix/sysv/linux/bits/signum.h
1585 * sysdeps/unix/sysv/linux/alpha/bits/signum.h
1586 * sysdeps/unix/sysv/linux/hppa/bits/signum.h
1587 * sysdeps/unix/sysv/linux/mips/bits/signum.h
1588 * sysdeps/unix/sysv/linux/sparc/bits/signum.h
1589 Just include <bits/signum-generic.h> and then add or adjust
1590 signal constants. Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
1591
1592 * signal/Makefile: Install bits/signum-generic.h.
1593 * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
1594
1595 * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
1596 universal. Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
1597
1598 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
1599 * sysdeps/unix/sysv/linux/Makefile: Run it.
1600
1601 2017-06-20 Zack Weinberg <zackw@panix.com>
1602
1603 * locale/xlocale.h: Rename to...
1604 * locale/bits/types/__locale_t.h: ...here. Adjust commentary.
1605 Only define struct __locale_struct and __locale_t, not locale_t.
1606 * locale/bits/types/locale_t.h: New file; define locale_t here.
1607 * locale/Makefile (headers): Update to match.
1608
1609 * include/xlocale.h: Delete wrapper.
1610 * include/bits/types/__locale_t.h: New wrapper.
1611 * include/bits/types/locale_t.h: New wrapper.
1612
1613 * ctype/ctype.h, include/printf.h, include/time.h
1614 * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
1615 * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
1616 * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
1617 Correct outdated comments regarding the standardization status of
1618 the functions that take locale_t arguments.
1619
1620 * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
1621 * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1622 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1623 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1624 * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1625 * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
1626 Don't include xlocale.h. If necessary, include locale.h instead.
1627
1628 * stdlib/strtold_l.c: Unconditionally include wchar.h.
1629
1630 * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
1631 * include/monetary.h, include/stdlib.h, include/time.h
1632 * include/wchar.h, locale/duplocale.c, locale/freelocale.c
1633 * locale/global-locale.c, locale/langinfo.h, locale/locale.h
1634 * locale/localeinfo.h, locale/newlocale.c
1635 * locale/nl_langinfo_l.c, locale/uselocale.c
1636 * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
1637 * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
1638 * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
1639 * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
1640 * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1641 * string/strcasecmp.c, string/strcoll_l.c, string/string.h
1642 * string/strings.h, string/strncase.c, string/strxfrm_l.c
1643 * sysdeps/ieee754/float128/strtof128_l.c
1644 * sysdeps/ieee754/float128/wcstof128.c
1645 * sysdeps/ieee754/float128/wcstof128_l.c
1646 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1647 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1648 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1649 * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
1650 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
1651 * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
1652 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
1653 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1654 * sysdeps/x86_64/strcasecmp_l-nonascii.c
1655 * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
1656 * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
1657 * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
1658 * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1659 * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
1660 * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
1661 * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
1662 * wctype/towctrans_l.c, wctype/wcfuncs_l.c
1663 * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
1664 Change all uses of __locale_t to locale_t.
1665
1666 2017-06-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1667
1668 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
1669 for !__OFF_T_MATCHES_OFF64_T.
1670 * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
1671 implementation based on open64.
1672 * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
1673 * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
1674
1675 2017-06-20 H.J. Lu <hongjiu.lu@intel.com>
1676
1677 * elf/dl-tunables.list: Move x86 specific tunables to ...
1678 * sysdeps/x86/dl-tunables.list: Here. New file.
1679
1680 2017-06-20 Joseph Myers <joseph@codesourcery.com>
1681
1682 [BZ #21635]
1683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1684 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1685 * conform/data/signal.h-data (uc_mcontext): XFAIL for
1686 powerpc32-linux.
1687 * conform/data/ucontext.h-data (uc_mcontext): Likewise.
1688
1689 [BZ #21634]
1690 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
1691 (conformtest-xfail-conds): New variable.
1692 * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
1693 * conform/data/ucontext.h-data (uc_sigmask): Likewise.
1694
1695 2017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
1696
1697 * benchtests/powf-inputs: Add reduced trace from wrf.
1698
1699 2017-06-20 H.J. Lu <hongjiu.lu@intel.com>
1700 Erich Elsen <eriche@google.com>
1701
1702 * elf/dl-tunables.list (tune): Add ifunc,
1703 x86_non_temporal_threshold,
1704 x86_data_cache_size and x86_shared_cache_size.
1705 * manual/tunables.texi: Document glibc.tune.ifunc,
1706 glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
1707 and glibc.tune.x86_non_temporal_threshold.
1708 * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
1709 * sysdeps/x86/cpu-tunables.c: Likewise.
1710 * sysdeps/x86/cacheinfo.c
1711 (init_cacheinfo): Check and get data cache size, shared cache
1712 size and non temporal threshold from cpu_features.
1713 * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
1714 New.
1715 [HAVE_TUNABLES] Include <unistd.h>.
1716 [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
1717 [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
1718 [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
1719 IFUNC selection, data cache size, shared cache size and non
1720 temporal threshold.
1721 * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
1722 shared_cache_size and non_temporal_threshold.
1723
1724 2017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
1725
1726 * benchtests/README: Describe workload feature.
1727 * benchtests/bench-skeleton.c (main): Add support for
1728 benchmarking traces from workloads.
1729
1730 2017-06-20 Zack Weinberg <zackw@panix.com>
1731
1732 * string/string.h (__mempcpy_inline): Delete.
1733 * sysdeps/x86_64/multiarch/mempcpy.c
1734 * sysdeps/x86_64/multiarch/stpcpy.c:
1735 Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
1736 before including string.h.
1737
1738 2017-06-20 Paul A. Clarke <pc@us.ibm.com>
1739
1740 * benchtests/Makefile (bench-math): Add powf.
1741 * benchtests/powf-inputs: New file.
1742
1743 2017-06-20 Zack Weinberg <zackw@panix.com>
1744
1745 * bits/string.h, string/bits/string.h
1746 * sysdeps/aarch64/bits/string.h
1747 * sysdeps/m68k/m680x0/m68020/bits/string.h
1748 * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
1749 * sysdeps/x86/bits/string.h: Delete file.
1750
1751 * string/string.h: Don't include bits/string.h.
1752 * string/bits/string3.h: Rename to bits/string_fortified.h.
1753 No need to undef various symbols that the removed headers
1754 might have defined as macros.
1755 * string/Makefile (headers): Remove bits/string.h, change
1756 bits/string3.h to bits/string_fortified.h.
1757 * string/string-inlines.c: Update commentary. Remove definitions
1758 of various macros that nothing looks at anymore. Don't directly
1759 include bits/string.h. Set _STRING_INLINE_unaligned here, based on
1760 compiler-predefined macros.
1761 * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
1762 _is_ defined, provide internal hidden alias __strncat.
1763 * include/string.h: Declare internal hidden alias __strncat.
1764 Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
1765 not defined.
1766 * include/bits/string3.h: Rename to bits/string_fortified.h,
1767 update to match above.
1768
1769 * sysdeps/i386/string-inlines.c: Define compat symbols for
1770 everything formerly defined by sysdeps/x86/bits/string.h.
1771 Make existing definitions into compat symbols as well.
1772 Remove some no-longer-necessary messing around with macros.
1773
1774 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1775 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1776 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1777 * sysdeps/s390/multiarch/mempcpy.c
1778 No need to define _HAVE_STRING_ARCH_mempcpy.
1779 Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
1780
1781 * sysdeps/i386/i686/multiarch/strncat-c.c
1782 * sysdeps/s390/multiarch/strncat-c.c
1783 * sysdeps/x86_64/multiarch/strncat-c.c
1784 Define STRNCAT_PRIMARY. Don't change definition of libc_hidden_def.
1785
1786 2017-06-20 Rical Jasan <ricaljasan@pacific.net>
1787
1788 * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
1789 (LDBL_DIG): Likewise.
1790 (LDBL_MIN_EXP): Likewise.
1791 (LDBL_MIN_10_EXP): Likewise.
1792 (LDBL_MAX_EXP): Likewise.
1793 (LDBL_MAX_10_EXP): Likewise.
1794 (LDBL_MAX): Likewise.
1795 (LDBL_MIN): Likewise.
1796 (LDBL_EPSILON): Likewise.
1797 (FLT_ROUNDS): Change standard from ISO to C90.
1798 (FLT_RADIX): Likewise.
1799 (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
1800 (FLT_DIG, DBL_DIG): Likewise.
1801 (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
1802 (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
1803 (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
1804 (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
1805 (FLT_MAX, DBL_MAX): Likewise.
1806 (FLT_MIN, DBL_MIN): Likewise.
1807 (FLT_EPSILON, DBL_EPSILON): Likewise.
1808
1809 2017-06-19 Joseph Myers <joseph@codesourcery.com>
1810
1811 * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
1812 [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
1813 [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
1814 * sysdeps/mips/math-tests.h
1815 [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
1816 conditional code.
1817
1818 2017-06-19 Florian Weimer <fweimer@redhat.com>
1819
1820 * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
1821 It cannot change while __libc_setlocale_lock is acquired.
1822
1823 2017-06-19 Florian Weimer <fweimer@redhat.com>
1824
1825 * elf/rtld.c (audit_list_string): New variable.
1826 (audit_list): Update comment.
1827 (struct audit_list_iter): Define.
1828 (audit_list_iter_init, audit_list_iter_next): New function.
1829 (dl_main): Use struct audit_list_iter to process audit modules.
1830 (process_dl_audit): Call dso_name_valid_for_suid.
1831 (process_envvars): Set audit_list_string instead of calling
1832 process_dl_audit.
1833
1834 2017-06-19 Florian Weimer <fweimer@redhat.com>
1835
1836 * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
1837 (dso_name_valid_for_suid): New function.
1838 (handle_ld_preload): Likewise.
1839 (dl_main): Call it. Remove alloca.
1840
1841 2017-06-19 Joseph Myers <joseph@codesourcery.com>
1842
1843 [BZ #21625]
1844 * posix/sys/wait.h (strust rusage forward declaration): Change
1845 [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
1846 !__USE_XOPEN2K].
1847 (wait3): Likewise.
1848
1849 * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
1850 * configure: Regenerated.
1851 * manual/install.texi (Tools for Compilation): Document
1852 requirement for GCC 4.9 or later.
1853 * INSTALL: Regenerated.
1854
1855 2017-06-19 Florian Weimer <fweimer@redhat.com>
1856
1857 [BZ #21624]
1858 CVE-2017-1000366
1859 * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
1860 __libc_enable_secure.
1861
1862 2017-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1863
1864 [BZ #21539]
1865 * NEWS: Mention s390 ptrace request changes.
1866 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
1867 (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
1868 PTRACE_SETFPREGS): Remove enum constant.
1869 (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
1870 Remove defines.
1871 (PTRACE_SINGLEBLOCK): New enum constant.
1872 (PT_STEPBLOCK): New define.
1873 (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
1874 PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
1875 PTRACE_TE_ABORT_RAND): New enum constant and define.
1876 * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
1877 * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
1878 New file.
1879 * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
1880
1881 2017-06-16 Florian Weimer <fweimer@redhat.com>
1882
1883 * resolv/res_init.c (res_vinit_1): Use getline to read from the
1884 configuration file.
1885 (__res_vinit): Adjust.
1886
1887 2017-06-19 Florian Weimer <fweimer@redhat.com>
1888
1889 * resolv/res_init.c (res_vinit_1): New function.
1890 (__res_vinit): Call it. Handle file open and memory allocation
1891 failures.
1892 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
1893 erno from __res_maybe_init failure.
1894 (_nss_dns_gethostbyname4_r): Likewise.
1895 (_nss_dns_gethostbyaddr2_r): Likewise.
1896 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
1897 (_nss_dns_getnetbyaddr_r): Likewise.
1898
1899 2017-06-19 Florian Weimer <fweimer@redhat.com>
1900
1901 * resolv/res_init.c: Reformat to GNU style.
1902
1903 2017-06-19 Florian Weimer <fweimer@redhat.com>
1904
1905 * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
1906 (is_sort_mask): New function.
1907 (__res_vinit): Use it.
1908
1909 2017-06-19 Florian Weimer <fweimer@redhat.com>
1910
1911 * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
1912 conditionals.
1913
1914 2017-06-19 Florian Weimer <fweimer@redhat.com>
1915
1916 * resolv/res-close.c: New file.
1917 * resolv/res_init.c (__res_iclose, res_nclose)
1918 (res_thread_freeres): Remove definitions.
1919 * resolv/Makefile (routines): Add res-close.
1920
1921 2017-06-19 Florian Weimer <fweimer@redhat.com>
1922
1923 * resolv/res_randomid.c: New file.
1924 * resolv/res_init.c (res_randomid): Remove definition.
1925 * resolv/Makefile (routines): Add res_randomid.
1926
1927 2017-06-19 Florian Weimer <fweimer@redhat.com>
1928
1929 * include/resolv.h (__res_vinit): Declare as hidden.
1930 * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
1931 * resolv/res_libc.c (res_init): Likewise.
1932
1933 2017-06-19 Joseph Myers <joseph@codesourcery.com>
1934
1935 [BZ #21457]
1936 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
1937 _libc_xmmreg): Use __ctx in defining field.
1938
1939 [BZ #21597]
1940 * signal/signal.h (siginterrupt): Make declaration conditional on
1941 [__USE_XOPEN_EXTENDED || __USE_MISC].
1942
1943 [BZ #21584]
1944 * signal/signal.h: Make includes of <bits/sigstack.h> and
1945 <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
1946 __USE_MISC].
1947 (sigaltstack): Make declaration conditional on
1948 [__USE_XOPEN_EXTENDED || __USE_MISC].
1949
1950 [BZ #21575]
1951 * resource/bits/types/struct_rusage.h: New file.
1952 * include/bits/types/struct_rusage.h: Likewise.
1953 * bits/resource.h (struct rusage): Include
1954 <bits/types/struct_rusage.h> instead of defining here.
1955 * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
1956 Likewise.
1957 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
1958 Likewise.
1959 * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
1960 Likewise.
1961 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
1962 Likewise.
1963 * resource/Makefile (headers): Add bits/types/struct_rusage.h.
1964 * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
1965 Include <bits/types/struct_rusage.h>
1966
1967 2017-06-19 Florian Weimer <fweimer@redhat.com>
1968
1969 * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
1970
1971 2017-06-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
1972
1973 * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
1974
1975 2017-06-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1976
1977 * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
1978
1979 2017-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1980
1981 [BZ #21537]
1982 * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
1983 Check SHARED instead of PIC.
1984 (SYSCALL_PIC_SETUP): Add missing semicolons.
1985 * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
1986 Check SHARED instead of PIC.
1987 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
1988 (__makecontext_ret): Adjust code to jump to exit.
1989
1990 2017-06-19 Christian Borntraeger <borntraeger@de.ibm.com>
1991
1992 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
1993 Simplify code by always using SVC 0 instead of EX.
1994 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1995
1996 2017-06-16 H.J. Lu <hongjiu.lu@intel.com>
1997
1998 * elf/Versions (ld): Remove _dl_out_of_memory.
1999
2000 2017-06-16 Joseph Myers <joseph@codesourcery.com>
2001
2002 * timezone/private.h: Update from tzcode 2017b.
2003 * timezone/tzfile.h: Likewise.
2004 * timezone/tzselect.ksh: Likewise.
2005 * timezone/zdump.c: Likewise.
2006 * timezone/zic.c: Likewise.
2007 * timezone/Makefile (tz-cflags): Add -D_ISOMAC
2008 -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
2009 * time/tzset.c (SECSPERDAY): New macro.
2010
2011 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
2012
2013 * manual/string.texi (strdup): Complete header and standards
2014 annotation.
2015 (strncpy): Likewise.
2016
2017 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
2018
2019 * manual/arith.texi (FP_NAN): Add or complete header and standard
2020 annotations.
2021 (FP_INFINITE): Likewise.
2022 (FP_ZERO): Likewise.
2023 (FP_SUBNORMAL): Likewise.
2024 (FP_NORMAL): Likewise.
2025 (SNAN): Likewise.
2026 (SNANL): Likewise.
2027 (totalorderf): Likewise.
2028 (totalorderl): Likewise.
2029 (totalordermagf): Likewise.
2030 (totalordermagl): Likewise.
2031 (_Complex_I): Likewise.
2032 (I): Likewise.
2033
2034 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
2035
2036 * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
2037 standard annotation.
2038 (ARGP_HELP_SHORT_USAGE): Likewise.
2039 (ARGP_HELP_SEE): Likewise.
2040 (ARGP_HELP_LONG): Likewise.
2041 (ARGP_HELP_PRE_DOC): Likewise.
2042 (ARGP_HELP_POST_DOC): Likewise.
2043 (ARGP_HELP_DOC): Likewise.
2044 (ARGP_HELP_BUG_ADDR): Likewise.
2045 (ARGP_HELP_LONG_ONLY): Likewise.
2046 (ARGP_HELP_EXIT_ERR): Likewise.
2047 (ARGP_HELP_EXIT_OK): Likewise.
2048 (ARGP_HELP_STD_ERR): Likewise.
2049 (ARGP_HELP_STD_USAGE): Likewise.
2050 (ARGP_HELP_STD_HELP): Likewise.
2051
2052 2017-06-15 Rical Jasan <ricaljasan@pacific.net>
2053
2054 * manual/Makefile: Generate summary.texi with summary.pl. Force
2055 use of the C locale. Update Perl dependency comment.
2056 * manual/header.texi: Update reference to summary.awk.
2057 * manual/macros.texi: Refer authors to `summary.pl --help'.
2058 * manual/summary.awk: Remove file.
2059 * manual/summary.pl: New file. Generate summary.texi, and check
2060 for @standards-related syntax errors.
2061 * manual/argp.texi: Convert header and standards @comments to
2062 @standards.
2063 * manual/arith.texi: Likewise.
2064 * manual/charset.texi: Likewise.
2065 * manual/conf.texi: Likewise.
2066 * manual/creature.texi: Likewise.
2067 * manual/crypt.texi: Likewise.
2068 * manual/ctype.texi: Likewise.
2069 * manual/debug.texi: Likewise.
2070 * manual/errno.texi: Likewise.
2071 * manual/filesys.texi: Likewise.
2072 * manual/getopt.texi: Likewise.
2073 * manual/job.texi: Likewise.
2074 * manual/lang.texi: Likewise.
2075 * manual/llio.texi: Likewise.
2076 * manual/locale.texi: Likewise.
2077 * manual/math.texi: Likewise.
2078 * manual/memory.texi: Likewise.
2079 * manual/message.texi: Likewise.
2080 * manual/pattern.texi: Likewise.
2081 * manual/pipe.texi: Likewise.
2082 * manual/process.texi: Likewise.
2083 * manual/resource.texi: Likewise.
2084 * manual/search.texi: Likewise.
2085 * manual/setjmp.texi: Likewise.
2086 * manual/signal.texi: Likewise.
2087 * manual/socket.texi: Likewise.
2088 * manual/startup.texi: Likewise.
2089 * manual/stdio.texi: Likewise.
2090 * manual/string.texi: Likewise.
2091 * manual/sysinfo.texi: Likewise.
2092 * manual/syslog.texi: Likewise.
2093 * manual/terminal.texi: Likewise.
2094 * manual/threads.texi: Likewise.
2095 * manual/time.texi: Likewise.
2096 * manual/users.texi: Likewise.
2097
2098 2017-06-15 Rical Jasan <ricaljasan@pacific.net>
2099
2100 * manual/macros.texi (@standards): New macro. Provide placeholder
2101 for header and standards annotations.
2102 (@standardsx): New macro. Likewise, for lists of @*x elements.
2103
2104 2017-06-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2105
2106 * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
2107 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
2108 rule.
2109 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
2110 sync_file_range.
2111
2112 * support/support_test_main.c (support_test_main): Use optstring
2113 member for option string in getopt_long.
2114 * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
2115 (CMDLINE_OPTSTRING): New define.
2116 * support/test-driver.h (test_config): Add optstring member.
2117
2118 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2119
2120 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2121 strcspn-sse2, strpbrk-sse2 and strspn-sse2.
2122 * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
2123 Check USE_AS_STRPBRK instead of STRPBRK_P.
2124 * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
2125 * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
2126 * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
2127 * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
2128 * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
2129 * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
2130 * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
2131 * sysdeps/x86_64/multiarch/strspn.c: Likewise.
2132 * sysdeps/x86_64/multiarch/strcspn.S: Removed.
2133 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2134 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2135 * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
2136 and "#endif".
2137
2138 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2139
2140 * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
2141 * sysdeps/x86_64/multiarch/wcscpy.c: New file.
2142
2143 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2144
2145 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2146 strcat-sse2.
2147 * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
2148 * sysdeps/x86_64/multiarch/strcat.c: Likewise.
2149 * sysdeps/x86_64/multiarch/strncat.c: Likewise.
2150 * sysdeps/x86_64/multiarch/strcat.S: Removed.
2151 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2152
2153 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2154 Erich Elsen <eriche@google.com>
2155
2156 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2157 memcmp-sse2.
2158 * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
2159 * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
2160 * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
2161 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2162 * sysdeps/x86_64/multiarch/memcmp.S: Removed.
2163 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2164
2165 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2166 Erich Elsen <eriche@google.com>
2167
2168 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2169 memset-sse2-unaligned-erms, and memset_chk-nonshared.
2170 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2171 (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
2172 Update comments.
2173 * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
2174 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
2175 * sysdeps/x86_64/multiarch/memset.c: Likewise.
2176 * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
2177 * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
2178 * sysdeps/x86_64/multiarch/memset.S: Removed.
2179 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2180 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2181 (__memset_chk_erms): New function.
2182
2183 2017-06-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
2184
2185 * configure.ac(--enable-tunables): Enable by default.
2186 * configure: Regenerate.
2187 * NEWS: Mention change.
2188 * manual/install.texi (enable-tunables): Adjust documentation.
2189 * INSTALL: Regenerate.
2190
2191 2017-06-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2192
2193 [BZ #18988]
2194 * benchtests/thread_create-inputs: New file.
2195 * benchtests/thread_create-source.c: Likewise.
2196 * support/xpthread_attr_setguardsize.c: Likewise.
2197 * support/Makefile (libsupport-routines): Add
2198 xpthread_attr_setguardsize object.
2199 * support/xthread.h: Add xpthread_attr_setguardsize prototype.
2200 * benchtests/Makefile (bench-pthread): Add thread_create.
2201 * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
2202 then mprotect the required area.
2203 (guard_position): New function.
2204 (setup_stack_prot): Likewise.
2205
2206 2017-06-14 H.J. Lu <hongjiu.lu@intel.com>
2207 Erich Elsen <eriche@google.com>
2208 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2209
2210 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2211 memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
2212 mempcpy_chk-nonshared and memmove_chk-nonshared.
2213 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2214 (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
2215 __memcpy_chk_erms and __mempcpy_chk_erms. Update comments.
2216 * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
2217 * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
2218 * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
2219 * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
2220 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
2221 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2222 * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
2223 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2224 * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
2225 * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
2226 * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
2227 * sysdeps/x86_64/multiarch/memcpy.S: Removed.
2228 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2229 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2230 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2231 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2232 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2233 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2234 (__mempcpy_chk_erms): New function.
2235 (__memmove_chk_erms): Likewise.
2236 (__memcpy_chk_erms): New alias.
2237
2238 2017-06-14 Florian Weimer <fweimer@redhat.com>
2239
2240 * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
2241 * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
2242
2243 2017-06-14 Zack Weinberg <zackw@panix.com>
2244
2245 * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
2246 Reorganize file. Declare errno here. When __ASSEMBLER__ is
2247 defined, don't declare anything other than the E-constants.
2248
2249 * include/errno.h: Change conditional for exposing internal
2250 declarations to (not _ISOMAC and not __ASSEMBLER__).
2251 * bits/errno.h: Remove logic for __need_Emath. Document
2252 requirements for a port-specific bits/errno.h.
2253
2254 * sysdeps/unix/sysv/linux/bits/errno.h
2255 * sysdeps/unix/sysv/linux/alpha/bits/errno.h
2256 * sysdeps/unix/sysv/linux/hppa/bits/errno.h
2257 * sysdeps/unix/sysv/linux/mips/bits/errno.h
2258 * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
2259 Add multiple-include guard and check against improper inclusion.
2260 Remove __need_Emath logic. Don't declare errno here. Ensure all
2261 constants are defined as simple integer literals. Consistent
2262 formatting.
2263 * sysdeps/mach/hurd/errnos.awk: Likewise. Only define error_t and
2264 enum __error_t_codes if __ASSEMBLER__ is not defined.
2265 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2266
2267 * argp/argp.h, string/argz.h: Don't define __need_error_t before
2268 including errno.h.
2269 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
2270 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
2271 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
2272 * sysdeps/x86_64/fpu/s_cosf.S
2273 * sysdeps/x86_64/fpu/s_sincosf.S
2274 * sysdeps/x86_64/fpu/s_sinf.S:
2275 Just include errno.h; don't define __need_Emath or include
2276 bits/errno.h directly.
2277
2278 2017-06-14 Zack Weinberg <zackw@panix.com>
2279
2280 * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
2281 * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
2282 * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
2283
2284 * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
2285 for IOV_MAX.
2286 * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
2287 Don't install bits/uio.h.
2288 * misc/sys/uio.h: Don't include bits/uio.h. Do include
2289 bits/types/struct_iovec.h and bits/uio_lim.h. Set UIO_MAXIOV
2290 based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
2291
2292 * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
2293 and __need_IOV_MAX. Don't define IOV_MAX at all.
2294 * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
2295
2296 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
2297 Include bits/types/struct_iovec.h, not bits/uio.h.
2298 Use __ssize_t, not ssize_t, in function prototypes.
2299 Don't use hard TAB for double space after period in comments.
2300
2301 2017-06-14 Alan Modra <amodra@gmail.com>
2302
2303 * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
2304 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
2305 refsym and sym parameters. Adjust callers.
2306 * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2307 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
2308 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
2309 * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
2310 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
2311 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2312 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
2313 * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
2314 * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
2315 * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
2316 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
2317 Likewise.
2318 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2319 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2320 * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
2321 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2322 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2323 * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
2324 * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2325 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
2326 (_dl_reloc_overflow): Increase buffser size. Formatting.
2327 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2328 Delete reloc param, add refsym and sym. Check optimized plt
2329 call stubs for localentry:0 functions. Adjust callers.
2330 (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
2331 and sym parameters. Adjust callers.
2332 (_dl_reloc_overflow): Move attribute.
2333 (_dl_error_localentry): Declare.
2334 * elf/dl-runtime.c (_dl_fixup): Save original sym. Pass
2335 refsym and sym to elf_machine_fixup_plt.
2336 * elf/testobj6.c (preload): Call printf.
2337
2338 2017-06-14 Alan Modra <amodra@gmail.com>
2339
2340 * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2341 (NOPS, ENTRY_3): New macros.
2342 (ENTRY): Rewrite.
2343 (ENTRY_TOCLESS): Define.
2344 (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
2345 EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
2346 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
2347 * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
2348 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2349 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2350 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2351 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2352 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
2353 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2354 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2355 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2356 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2357 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2358 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2359 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2360 * sysdeps/powerpc/powerpc64/memset.S: Likewise.
2361 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2362 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2363 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2364 * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
2365 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2366 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
2367 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2368 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
2369 * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
2370 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2371 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2372 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2373 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
2374 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2375 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2376 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2377 * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
2378 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2379 * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
2380 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2381 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2382 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2383 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2384 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2385 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2386 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2387 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2388 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2389 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2390 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2391 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2392 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2393 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2394 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2395 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2396 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2397 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2398 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2399 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2400 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2401 * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
2402 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2403 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2404 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2405 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2406 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
2407 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2408 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2409 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
2410 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
2411 Likewise.
2412 * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
2413 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
2414 * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
2415 * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
2416 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2417 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
2418 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
2419 * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
2420 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2421 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2422 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2423 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2424 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2425 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
2426 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2427 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2428 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2429 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
2430 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2431 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2432 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2433 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
2434 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
2435 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
2436 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2437 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
2438 * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
2439 * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
2440 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2441 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2442 * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier. Don't
2443 add nop when SHARED.
2444 * sysdeps/powerpc/powerpc64/start.S: Fix comment.
2445 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
2446 define.
2447 (ENTRY_TOCLESS): Define.
2448 * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
2449 * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
2450 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2451
2452 2017-06-14 Alan Modra <amodra@gmail.com>
2453
2454 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
2455 MEMSET_is_local.
2456 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
2457 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
2458 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
2459 Define MEMSET.
2460 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
2461 STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
2462 * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise. Don't add
2463 nop after local calls.
2464 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
2465 Don't add nop after local call.
2466 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise. Add missing
2467 CALL_MCOUNT.
2468
2469 2017-06-14 Alan Modra <amodra@gmail.com>
2470
2471 * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2472 (FUNC_LABEL): Rename from DOT_LABEL.
2473 (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
2474 Use .p2align rather than .align.
2475 (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
2476 (ABORT_TRANSACTION): Likewise.
2477 (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
2478 particularly at end. Add semicolon at invocation as necessary.
2479 (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
2480 (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
2481 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
2482 END): Adjust to suit.
2483
2484 2017-06-14 Alan Modra <amodra@gmail.com>
2485
2486 * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
2487 FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
2488 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2489 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2490 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
2491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
2492 uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
2493
2494 2017-06-14 Alan Modra <amodra@gmail.com>
2495
2496 * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
2497 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
2498
2499 2017-06-13 Gordana Cmiljanovic <gordana.cmiljanovic@imgtec.com>
2500
2501 [BZ #21548]
2502 * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
2503 8 and use it when copying general purpose registers.
2504 * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
2505 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
2506 mips o32.
2507 * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
2508 new test for mips o32.
2509 * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
2510 8 and use it when copying general purpose registers.
2511 * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
2512
2513 2017-06-13 Florian Weimer <fweimer@redhat.com>
2514
2515 * configure.ac (find_cxx_header): Suppress compiler error message.
2516
2517 2017-06-13 Florian Weimer <fweimer@redhat.com>
2518
2519 * malloc/dynarray-skeleton.c: List begin/end as defined functions.
2520 (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
2521 * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
2522 begin/end.
2523 * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
2524 dynarray_int_end.
2525 (test_str): Test dynarray_str_begin, dynarray_str_end.
2526
2527 2017-06-13 H.J. Lu <hongjiu.lu@intel.com>
2528
2529 [BZ #21573]
2530 * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
2531 $(common-objpfx)bits/std_abs.h.
2532 [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
2533 New target.
2534 * config.make.in (c++-bits-std_abs-h): New.
2535 * configure.ac (find_cxx_header): Use "\,$1," with sed.
2536 (CXX_BITS_STD_ABS_H): New.
2537 (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
2538 * configure: Regenerated.
2539
2540 2017-06-13 Zack Weinberg <zackw@panix.com>
2541
2542 * posix/bits/cpu-set.h: Correct indentation of preprocessor
2543 directives.
2544
2545 2017-06-12 Zack Weinberg <zackw@panix.com>
2546
2547 * bits/sched.h: Remove __need_schedparam logic and replace with a
2548 normal multiple-include guard. Change field name in struct
2549 sched_param from __sched_priority to sched_priority. Delete
2550 everything under #ifndef __cpu_set_t_defined.
2551 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. Also sync with
2552 kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
2553
2554 * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
2555 For compatibility, #define sched_priority to itself, and #define
2556 __sched_priority as sched_priority.
2557 * posix/bits/cpu-set.h: New file containing, verbatim, the code
2558 that was under #ifndef __cpu_set_t_defined in
2559 sysdeps/unix/sysv/linux/bits/sched.h.
2560 * include/bits/cpu-set.h: New wrapper.
2561 * posix/Makefile: Install bits/cpu-set.h.
2562
2563 2017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2564 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2565 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2566
2567 * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
2568 (%all_floats_pfx): Add macro prefix for float128 (FLT128).
2569 * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
2570 * math/libm-test-isfinite.inc (finite_test): Likewise.
2571 * math/libm-test-lgamma.inc (gamma_test): Likewise.
2572 * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
2573 (nexttoward_test_data}: Likewise.
2574 * math/libm-test-remainder.inc (drem_test): Likewise.
2575 * math/libm-test-scalb.inc (scalb_test): Likewise.
2576 (scalb_test_data): Likewise.
2577 * math/libm-test-significand.inc (significand_test): Likewise.
2578 (significand_test_data): Likewise.
2579 * math/libm-test-support.c (check_complex): Replace __complex__
2580 FLOAT with CFLOAT to get the support for old compiler.
2581 * math/libm-test-support.h (check_complex): Likewise.
2582 * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
2583 * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
2584 * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
2585 * math/test-float128.h: New file.
2586 * math/test-math-floatn.h: New file.
2587
2588 2017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2589
2590 * include/float.h: Allow the definition of macros prefixed with
2591 FLT128 even if _ISOMAC is defined, but provided that
2592 __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
2593
2594 2017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2595
2596 * manual/math.texi (Mathematics): Add description for _FloatN and
2597 _FloatNx types and mentions that they are not support in glibc for
2598 any architecture, so far.
2599 * manual/arith.texi (wcstof, wcstold): Replace the mention to
2600 stdlib.h with wchar.h.
2601 (Parsing of Floats): Add descriptions for strtofN and wcstofN.
2602 (Printing of Floats): Add description for strfromfN.
2603
2604 2017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2605 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2606 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2607
2608 * include/gmp.h (__mpn_construct_float128): New declaration.
2609 * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
2610 (__strtof128_l): New declaration.
2611 (__strtof128_nan): Likewise.
2612 (__wcstof128_nan): Likewise.
2613 (__strtof128_internal): Likewise.
2614 (____strtof128_l_internal): Likewise.
2615 * include/wchar.h: Include bits/floatn.h for _Float128 tests.
2616 (__wcstof128_l): New declaration.
2617 (__wcstof128_internal): Likewise.
2618
2619 * stdlib/Makefile (bug-strtod2): Link libm too.
2620
2621 * stdlib/stdlib.h (strtof128): New declaration.
2622 (strtof128_l): Likewise.
2623
2624 * stdlib/tst-strtod-nan-locale-main.c: Updated to use
2625 tst-strtod.h macros to ensure float128 gets tested too.
2626
2627 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
2628
2629 * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
2630 tests.
2631 (IF_FLOAT128): New macro.
2632 (GEN_TEST_STRTOD): Update to optionally include _Float128 in
2633 the tests.
2634 (STRTOD_TEST_FOREACH): Likewise.
2635
2636 * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
2637 wcstof128 functions into libc.
2638
2639 * sysdeps/ieee754/float128/Versions: Add exports for the above
2640 new functions.
2641
2642 * sysdeps/ieee754/float128/mpn2float128.c: New file.
2643 * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
2644 * sysdeps/ieee754/float128/strtof128.c: New file.
2645 * sysdeps/ieee754/float128/strtof128_l.c: New file.
2646 * sysdeps/ieee754/float128/strtof128_nan.c: New file.
2647 * sysdeps/ieee754/float128/wcstof128.c: New file.
2648 * sysdeps/ieee754/float128/wcstof128_l.c: New file.
2649 * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
2650 * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
2651 (CFLAGS-wcstof128_l): Likewise.
2652
2653 * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
2654 (wcstof128): New declaration.
2655 (wcstof128_l): Likewise.
2656
2657 2017-06-12 Joseph Myers <joseph@codesourcery.com>
2658
2659 [BZ #21552]
2660 * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
2661 not [__USE_XOPEN].
2662 * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
2663
2664 [BZ #21550]
2665 * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
2666
2667 2017-06-12 H.J. Lu <hongjiu.lu@intel.com>
2668
2669 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2670 strcpy-sse2 and stpcpy-sse2.
2671 * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
2672 * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
2673 * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
2674 * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
2675 * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
2676 * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
2677 * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
2678 * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
2679 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2680 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2681 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2682 * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
2683 (libc_hidden_def): Always defined as empty.
2684 * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
2685 Always Defined as empty.
2686
2687 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2688
2689 * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
2690
2691 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2692
2693 [BZ #15105]
2694 [BZ #19463]
2695 * include/string.h: Add internal redirect for __stpcpy.
2696 * string/Makefile: Remove bits/string2.h.
2697 * string/string.h: Update comment.
2698 * string/string-inlines.c: Remove bits/string2.h include and comment.
2699 * string/bits/string2.h: Remove file.
2700
2701 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2702
2703 * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
2704 * sunrpc/clnt_gen.c (clnt_create): Likewise.
2705 * sunrpc/des_impl.c (_des_crypt): Likewise.
2706 * sunrpc/key_call.c (key_gendes): Likewise.
2707 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2708 * sunrpc/svc_simple.c (universal): Likewise.
2709 * sunrpc/svc_tcp.c (svctcp_create): Likewise.
2710 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
2711 * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
2712
2713 2017-06-10 Zack Weinberg <zackw@panix.com>
2714
2715 * stdlib/errno.h: Correct an outdated comment.
2716
2717 2017-06-09 Paul A. Clarke <pc@us.ibm.com>
2718
2719 * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
2720 Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
2721 CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
2722 * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
2723 New file. Invoke newly supported sysconf values for powerpc,
2724 and report results. If none are supported, report so.
2725 * sysdeps/unix/sysv/linux/powerpc/Makefile (tests): Add new test,
2726 tst-sysconf.
2727
2728 2017-06-09 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2729
2730 * include/sys/auxv.h (__getauxval): Add a prototype and its
2731 libc_hidden_proto.
2732 * misc/getauxval.c (__getauxval): Use libc_hidden_def.
2733
2734 2017-06-09 Joseph Myers <joseph@codesourcery.com>
2735
2736 [BZ #21561]
2737 * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
2738 [__USE_XOPEN_EXTENDED].
2739 (id_t): Likewise.
2740 (include of <bits/types/siginfo_t.h): Likewise.
2741 (waitid): Likewise.
2742 * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
2743 on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
2744 (WEXITED): Likewise.
2745 (WCONTINUED): Likewise.
2746 (WNOWAIT): Likewise.
2747 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
2748 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2749 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2750
2751 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
2752 libc.so PLT entry optional.
2753 (__gtsf2): Likewise.
2754 (__unorddf2): Likewise.
2755 (__unordsf2): Likewise.
2756 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
2757 New optional libc.so PLT entry.
2758
2759 [BZ #21554]
2760 * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
2761 not [__USE_XOPEN].
2762
2763 [BZ #21560]
2764 * posix/sys/wait.h: Condition include of <signal.h> on
2765 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]. Include <bits/types.h>
2766 unconditionally.
2767 [!__pid_t_defined] (pid_t): Define typedef.
2768
2769 2017-06-09 Zack Weinberg <zackw@panix.com>
2770
2771 * include/errno.h (__errno_location): Use __attribute_const__
2772 instead of bare __attribute__.
2773
2774 2017-06-09 Zack Weinberg <zackw@panix.com>
2775
2776 * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
2777 (common-generated): Add libc-modules.h and libc-modules.stmp in a
2778 more appropriate location. Also add dl-tunable-list.h and
2779 dl-tunable-list.stmp.
2780
2781 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2782
2783 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
2784
2785 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2786
2787 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2788 strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
2789 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2790 (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
2791 __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
2792 * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
2793 * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
2794 * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
2795 * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
2796 * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
2797 * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
2798
2799 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2800
2801 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2802 memrchr-sse2 and memrchr-avx2.
2803 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2804 (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
2805 __memrchr_sse2.
2806 * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
2807 * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
2808 * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
2809
2810 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2811
2812 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2813 strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
2814 wcschr-sse2 and wcschr-avx2.
2815 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2816 (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
2817 __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
2818 __wcschr_sse2.
2819 * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
2820 * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
2821 * sysdeps/x86_64/multiarch/strchr.c: Likewise.
2822 * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
2823 * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
2824 * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
2825 * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
2826 * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
2827 * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
2828 * sysdeps/x86_64/multiarch/strchr.S: Removed.
2829
2830 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2831
2832 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2833 strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
2834 wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
2835 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2836 (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
2837 __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
2838 __wcslen_sse2 and __wcsnlen_avx2.
2839 * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
2840 * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
2841 * sysdeps/x86_64/multiarch/strlen.c: Likewise.
2842 * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
2843 * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
2844 * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
2845 * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
2846 * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
2847 * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
2848 * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
2849 * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
2850 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
2851 vzeroupper is preferred and AVX unaligned load is fast.
2852
2853 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2854
2855 * sysdeps/x86_64/memchr.S (MEMCHR): New. Depending on if
2856 USE_AS_WMEMCHR is defined.
2857 (PCMPEQ): Likewise.
2858 (memchr): Renamed to ...
2859 (MEMCHR): This. Support wmemchr if USE_AS_WMEMCHR is defined.
2860 Replace pcmpeqb with PCMPEQ.
2861 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2862 memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
2863 wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
2864 * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
2865 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
2866 * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
2867 * sysdeps/x86_64/multiarch/memchr.c: Likewise.
2868 * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
2869 * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
2870 * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
2871 * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
2872 * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
2873 * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
2874 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2875 (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
2876 __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
2877 __wmemchr_sse2.
2878
2879 2017-06-09 Florian Weimer <fweimer@redhat.com>
2880
2881 * malloc/Makefile (test-srcs): Remove tst-dynarray,
2882 tst-dynarray-fail.
2883
2884 2017-06-09 Florian Weimer <fweimer@redhat.com>
2885
2886 Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
2887 * support/support_test_verify_impl.c
2888 (support_test_verify_exit_impl): Split from
2889 support_test_verify_impl.
2890 * support/check.h (TEST_VERIFY): Drop status argument from
2891 support_test_verify_impl call.
2892 (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
2893 (support_test_verify_impl): Remove status argument.
2894 (support_test_verify_exit_impl): Declare.
2895
2896 2017-06-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
2897
2898 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
2899 mention of magic numbers in comments.
2900 (_dl_procinfo): Fix undefined behavior
2901
2902 2017-06-08 Joseph Myers <joseph@codesourcery.com>
2903
2904 * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
2905 [XPG4].
2906 (WEXITED): Likewise.
2907 (WSTOPPED): Likewise.
2908 (WCONTINUED): Likewise.
2909 (WNOHANG): Likewise.
2910 (WNOWAIT): Likewise.
2911 (idtype_t): Likewise.
2912 (P_ALL): Likewise.
2913 (P_PID): Likewise.
2914 (P_PGID): Likewise.
2915 (id_t): Likewise.
2916 (siginfo_t): Likewise.
2917 (wait3): Likewise.
2918 (waitid): Likewise.
2919 (signal.h): Do not allow header for [XPG4].
2920 (sys/resource.h): Likewise.
2921 (si_*): Do not allow for [XPG4].
2922 (W*): Likewise.
2923 (P_*): Likewise.
2924 (BUS_): Likewise.
2925 (CLD_): Likewise.
2926 (FPE_): Likewise.
2927 (ILL_): Likewise.
2928 (POLL_): Likewise.
2929 (SEGV_): Likewise.
2930 (SI_): Likewise.
2931 (TRAP_): Likewise.
2932 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
2933 variable.
2934
2935 2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
2936
2937 [BZ #21528]
2938 * elf/dl-minimal.c (__strtoul_internal): Removed.
2939 (strtoul): Likewise.
2940 * elf/dl-misc.c (_dl_strtoul): New function.
2941 * elf/dl-tunables.c (tunables_strtoul): Removed.
2942 (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
2943 * elf/rtld.c (process_envvars): Likewise.
2944 * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
2945 Likewise.
2946 * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
2947
2948 2017-06-08 Zack Weinberg <zackw@panix.com>
2949
2950 * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
2951 * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
2952 * wcsmbs/bits/types/wint_t.h: New single-type definition files.
2953 * wctype/bits/wctype-wchar.h: New file holding declarations shared
2954 between wctype.h and wchar.h.
2955
2956 * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
2957 Install them.
2958
2959 * include/bits/types/FILE.h, include/bits/types/__FILE.h
2960 * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
2961 * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
2962 New wrappers.
2963 * include/stdio.h, include/wchar.h, include/wctype.h:
2964 No need to handle __need macros.
2965
2966 * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
2967 * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
2968 * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
2969 * wcsmbs/wchar.h, wctype/wctype.h
2970 * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
2971 Use the new files instead of __need macros.
2972
2973 2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
2974
2975 * string/test-memrchr.c (test_main): Add tests for len == 0
2976 and tests for positions close to the beginning, which are
2977 equivalent to positions close to the end for memchr.
2978
2979 2017-06-07 H.J. Lu <hongjiu.lu@intel.com>
2980
2981 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
2982 comments.
2983 * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
2984 instead of wmemset.h.
2985 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
2986 * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
2987 * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
2988
2989 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2990
2991 * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
2992 spec->info.is_binary128 to zero.
2993 * stdio-common/printf.h (printf_info): Add new member is_binary128
2994 to indicate that the number being converted to string is compatible
2995 with the IEC 60559 binary128 format.
2996 * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
2997 _Float128 numbers.
2998 * stdio-common/printf_fphex.c: Include ieee754_float128.h and
2999 ldbl-128/printf_fphex_macros.h
3000 (__printf_fphex): Add code to deal with _Float128 numbers.
3001 * stdio-common/printf_size.c (__printf_size): Likewise.
3002 * stdio-common/vfprintf.c (process_arg): Initialize member
3003 info.is_binary128 to zero.
3004 * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
3005 * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
3006 (strfromf128): New declaration.
3007 * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
3008 to one.
3009 * sysdeps/ieee754/float128/Makefile: Add strfromf128.
3010 * sysdeps/ieee754/float128/Versions: Likewise.
3011 * sysdeps/ieee754/float128/strfromf128.c: New file.
3012
3013 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3014
3015 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
3016 ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
3017 (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
3018 * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
3019 (PRINT_FPHEX): New function-like macro that can be used for long
3020 double, as well as for _Float128
3021
3022 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3023
3024 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
3025 (__printf_fp_l): Use the new macro to avoid duplicating code.
3026 * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
3027 (__printf_fphex): Use the new macro to avoid duplicating code.
3028 * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
3029 (__printf_size): Use the new macro to avoid duplicating code.
3030
3031 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3032
3033 * include/gmp.h: Include bits/floatn.h
3034 (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
3035 * stdlib/gmp-impl.h: Also check if alloca is not defined before
3036 including stack-alloc.h. It could have been defined by other header
3037 which not necessarily defines HAVE_ALLOCA.
3038 * sysdeps/ieee754/float128/Makefile: New file.
3039 * sysdeps/ieee754/float128/float1282mpn.c: New file.
3040 * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
3041 redefining __mpn_extract_long_double to __mpn_extract_float128, then
3042 redefine __mpn_extract_long_double to __mpn_extract_float128.
3043 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
3044 _Float128 to allow float128_private.h overrides.
3045
3046 2017-06-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3047
3048 * stdlib/fpioconst.h: Include bits/floatn.h.
3049 (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
3050 power of ten table should be.
3051 (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
3052 * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
3053 to include larger tables when _Float128 support is enabled.
3054 (_fpioconst_pow10): Likewise.
3055
3056 2017-06-07 Joseph Myers <joseph@codesourcery.com>
3057
3058 * include/bits/types/clock_t.h: Use #include <path> instead of
3059 #include "../../path".
3060 * include/bits/types/clockid_t.h: Likewise.
3061 * include/bits/types/struct_iovec.h: Likewise.
3062 * include/bits/types/struct_itimerspec.h: Likewise.
3063 * include/bits/types/struct_osockaddr.h: Likewise.
3064 * include/bits/types/struct_sigstack.h: Likewise.
3065 * include/bits/types/struct_timespec.h: Likewise.
3066 * include/bits/types/struct_timeval.h: Likewise.
3067 * include/bits/types/struct_tm.h: Likewise.
3068 * include/bits/types/time_t.h: Likewise.
3069 * include/bits/types/timer_t.h: Likewise.
3070
3071 [BZ #14096]
3072 * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
3073 America/New_York.
3074
3075 2017-06-07 H.J. Lu <hongjiu.lu@intel.com>
3076
3077 * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
3078 into ...
3079 * sysdeps/x86_64/multiarch/wcsnlen.c: Here. Don't include
3080 ifunc-sse4_1.h.
3081
3082 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
3083
3084 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
3085 Remove check for NULL 'buf'.
3086 * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
3087
3088 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
3089
3090 * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
3091 include test-skeleton.c.
3092 Include support/check.h and support/test-driver.c.
3093
3094 2017-06-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
3095
3096 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
3097 (_dl_aarch64_cap_flags): New array.
3098 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
3099 (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
3100 functions.
3101
3102 * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
3103 * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
3104 Likewise.
3105 * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
3106 up hwcap and hwcap_mask.
3107
3108 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
3109 (init_cpu_features): Use glibc.tune.hwcap_mask.
3110 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
3111
3112 * elf/dl-hwcaps.h: New file.
3113 * elf/dl-hwcaps.c: Include it.
3114 (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
3115 glibc.tune.hwcap_mask.
3116 * elf/dl-cache.c: Include dl-hwcaps.h.
3117 (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
3118 glibc.tune.hwcap_mask.
3119 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3120 * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
3121 _dl_hwcap_mask.
3122 * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
3123 _dl_hwcap_mask.
3124 (process_envvars)[HAVE_TUNABLES]: Likewise.
3125 * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
3126 Likewise.
3127 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
3128 initialize dl_hwcap_mask when tunables are enabled.
3129
3130 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
3131 guard.
3132 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3133
3134 * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
3135 * scripts/gen-tunables.awk: Include dl-procinfo.h.
3136 * manual/tunables.texi: Document glibc.tune.hwcap_mask.
3137
3138 * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
3139 * elf/dl-tunables.c: Likewise.
3140 (do_tunable_update_val): New function.
3141 (__tunable_set_val): New function.
3142 (__tunable_get_val): Call CB only if the tunable was externally
3143 initialized.
3144 (tunables_strtoul): Replace strval with initialized.
3145 * elf/dl-tunables.h (strval): Replace with a bool initialized.
3146 (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
3147 prevent collision.
3148 (__tunable_set_val): New function.
3149 (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
3150 (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
3151 (TUNABLE_SET_VAL): Remove.
3152 (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
3153 * README.tunables: Document the new macros.
3154 * malloc/arena.c (ptmalloc_init): Adjust.
3155
3156 2017-06-06 H.J. Lu <hongjiu.lu@intel.com>
3157
3158 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3159 wcsnlen-sse4_1 and wcsnlen-c.
3160 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3161 (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
3162 __wcsnlen_sse2.
3163 * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
3164 * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
3165 * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
3166 * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
3167 * sysdeps/x86_64/wcsnlen.S: Removed.
3168
3169 2017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
3170
3171 * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
3172 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
3173 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
3174 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
3175
3176 2017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
3177
3178 * NEWS: Mention new spinlock implementation.
3179 * include/atomic.h:
3180 (__atomic_val_bysize): Cast type to omit volatile qualifier.
3181 (atomic_exchange_acq): Likewise.
3182 (atomic_load_relaxed): Likewise.
3183 (ATOMIC_EXCHANGE_USES_CAS): Check definition.
3184 * nptl/pthread_spin_init.c (pthread_spin_init):
3185 Use atomic_store_relaxed.
3186 * nptl/pthread_spin_lock.c (pthread_spin_lock):
3187 Use C11-like atomic macros.
3188 * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3189 Likewise.
3190 * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
3191 Use atomic_store_release.
3192 * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
3193 * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
3194 * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
3195 * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
3196 * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
3197 * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
3198 * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
3199 * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
3200 * sysdeps/alpha/atomic-machine.h: Likewise.
3201 * sysdeps/arm/atomic-machine.h: Likewise.
3202 * sysdeps/i386/atomic-machine.h: Likewise.
3203 * sysdeps/ia64/atomic-machine.h: Likewise.
3204 * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
3205 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
3206 * sysdeps/microblaze/atomic-machine.h: Likewise.
3207 * sysdeps/mips/atomic-machine.h: Likewise.
3208 * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
3209 * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
3210 * sysdeps/s390/atomic-machine.h: Likewise.
3211 * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
3212 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
3213 * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
3214 * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
3215 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
3216 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
3217 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
3218 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
3219 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
3220 * sysdeps/x86_64/atomic-machine.h: Likewise.
3221
3222 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3223
3224 * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
3225 and use it instead of dl_x86_cpu_features.
3226 (handle_intel): Replace maxidx with cpu_features. Pass
3227 cpu_features to intel_check_word.
3228 (__cache_sysconf): Pass cpu_features to handle_intel.
3229 (init_cacheinfo): Likewise. Use cpu_features instead of
3230 dl_x86_cpu_features.
3231
3232 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3233
3234 * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
3235 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3236 memcmp-avx2 and wmemcmp-avx2.
3237 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3238 (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
3239 * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
3240 * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
3241 * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
3242 2 machines if AVX unaligned load is fast and vzeroupper is
3243 preferred.
3244 * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
3245 2 machines if AVX unaligned load is fast and vzeroupper is
3246 preferred.
3247
3248 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3249
3250 * include/wchar.h (__wmemset_chk): New.
3251 * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
3252 to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
3253 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3254 (WMEMSET_CHK_SYMBOL): Likewise.
3255 (WMEMSET_SYMBOL): Likewise.
3256 (__wmemset): Add hidden definition.
3257 (wmemset): Add weak hidden definition.
3258 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3259 wmemset_chk-nonshared.
3260 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3261 (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
3262 __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
3263 __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
3264 and __wmemset_chk_avx512_unaligned.
3265 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
3266 (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3267 (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3268 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3269 (WMEMSET_SYMBOL): Likewise.
3270 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
3271 (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3272 (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3273 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3274 (WMEMSET_SYMBOL): Likewise.
3275 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
3276 (WMEMSET_CHK_SYMBOL): New.
3277 (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
3278 (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
3279 * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
3280 (libc_hidden_builtin_def): Also define __GI_wmemset and
3281 __GI___wmemset.
3282 (weak_alias): New.
3283 * sysdeps/x86_64/multiarch/wmemset.c: New file.
3284 * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
3285 * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
3286 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3287 * sysdeps/x86_64/wmemset.c: Likewise.
3288 * sysdeps/x86_64/wmemset_chk.c: Likewise.
3289
3290 2017-06-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3291 H.J. Lu <hongjiu.lu@intel.com>
3292
3293 * sysdeps/x86/init-arch.h (PASTER1): New.
3294 (EVALUATOR1): Likewise.
3295 (PASTER2): Likewise.
3296 (EVALUATOR2): Likewise.
3297 (REDIRECT_NAME): Likewise.
3298 (OPTIMIZE): Likewise.
3299 (IFUNC_SELECTOR): Likewise.
3300
3301 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3302
3303 * sysdeps/x86_64/strlen.S (PMINU): New.
3304 (PCMPEQ): Likewise.
3305 (SHIFT_RETURN): Likewise.
3306 (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
3307 (strlen): Add SHIFT_RETURN before ret. Replace pcmpeqb and
3308 pminub with PCMPEQ and PMINU.
3309 * sysdeps/x86_64/wcsnlen.S: New file.
3310
3311 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3312
3313 * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
3314 the lower 32 bits. Remove redundant instructions.
3315
3316 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3317
3318 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
3319 0 as the high part of offset.
3320 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
3321
3322 2017-06-05 Joseph Myers <joseph@codesourcery.com>
3323
3324 [BZ #21538]
3325 * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
3326 [__USE_UNIX98].
3327 * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
3328 * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
3329 Likewise.
3330 * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
3331 * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
3332 * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
3333 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
3334 Likewise.
3335
3336 [BZ #21517]
3337 * bits/types/stack_t.h (stack_t): Remove struct tag.
3338 * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
3339 Likewise.
3340 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
3341 Likewise.
3342 * debug/segfault.c (install_handler): Use stack_t instead of
3343 struct sigaltstack.
3344 * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
3345 * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
3346 * include/signal.h (__sigaltstack): Likwise.
3347 * signal/sigaltstack.c (__sigaltstack): Likewise.
3348 * signal/signal.h (sigaltstack): Likewise.
3349 * sysdeps/mach/hurd/i386/signal-defines.sym
3350 (SIGALTSTACK__SS_SP__OFFSET): Likewise.
3351 (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
3352 (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
3353 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3354 * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
3355 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
3356 elf_prstatus): Likewise.
3357 * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
3358 Likewise.
3359 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
3360 Likewise.
3361 * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
3362 Likewise.
3363 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
3364 elf_prstatus): Likewise.
3365 * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
3366 Likewise.
3367 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
3368 Likewise.
3369
3370 2017-06-04 Zack Weinberg <zackw@panix.com>
3371
3372 * sysdeps/gnu/errlist.c: Regenerate.
3373
3374 2017-06-04 H.J. Lu <hongjiu.lu@intel.com>
3375
3376 * benchtests/bench-memchr.c (do_test): Print out both length
3377 and position.
3378 (test_main): Also test the position close to the beginning for
3379 memrchr.
3380
3381 2017-06-04 Zack Weinberg <zackw@panix.com>
3382
3383 * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
3384 * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
3385 * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
3386 * nis/nis_destroygroup.c, nis/nis_domain_of.c
3387 * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
3388 * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
3389 * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
3390 * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
3391 * nis/nis_print_group_entry.c, nis/nis_remove.c
3392 * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
3393 * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
3394 * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
3395 * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
3396 * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
3397 * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
3398 * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
3399 * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
3400 * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
3401 * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
3402 * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
3403 * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
3404 * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
3405 * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
3406 * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
3407 * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
3408 * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
3409 * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
3410 * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
3411 * sunrpc/xdr_stdio.c: Include shlib-compat.h.
3412
3413 * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
3414 abi-versions.h as well as shlib-compat.h.
3415 * sunrpc/get_myaddr.c: Remove obsolete comment.
3416 * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
3417 * sunrpc/rpc_thread.c: Include libc-lock.h only once.
3418 * resolv/res_libc.c: Include shlib-compat.h only once.
3419
3420 2017-06-03 Florian Weimer <fweimer@redhat.com>
3421
3422 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
3423 of strdup.
3424
3425 2017-06-02 H.J. Lu <hongjiu.lu@intel.com>
3426
3427 * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
3428 Set to the 3/4 of the total shared cache size.
3429
3430 2017-06-02 Rical Jasan <ricaljasan@pacific.net>
3431
3432 * manual/errno.texi: Remove redundant error strings.
3433 * manual/macros.texi (@errno): Render the error string in every
3434 description.
3435
3436 2017-06-02 Joseph Myers <joseph@codesourcery.com>
3437
3438 [BZ #21543]
3439 * signal/signal.h: Only include <bits/types/sigevent_t.h> and
3440 <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
3441 [__USE_XOPEN_EXTENDED].
3442
3443 2017-06-02 Florian Weimer <fweimer@redhat.com>
3444
3445 * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
3446 strdupa.
3447 (getcanonname): Use __strdup instead of strdup.
3448
3449 2017-06-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3450
3451 * misc/Makefile (CFLAGS-preadv2.c): New rule.
3452 (CFLAGS-preadv64v2.c): Likewise.
3453 (CFLAGS-pwritev2.c): Likewise.
3454 (CFLAGS-pwritev64v2.c): Likewise.
3455
3456 2017-06-02 Florian Weimer <fweimer@redhat.com>
3457
3458 Test res_init with several configuration files.
3459 * resolv/Makefile [build-shared] (tests-internal): Add
3460 tst-resolv-res_init, tst-resolv-res_init-thread.
3461 (tst-resolv-res_init): Link against libdl, libresolv.
3462 (tst-resolv-res_init-thread): Link against libdl, libresolv,
3463 libpthread.
3464 * resolv/tst-resolv-res_init.c: New file.
3465 * resolv/tst-resolv-res_init-skeleton.c: Likewise.
3466 * resolv/tst-resolv-res_init-thread.c: Likewise.
3467 * support/Makefile (libsupport-routines): Add support-xstat,
3468 support_can_chroot, support_capture_subprocess_check,
3469 support_isolate_in_subprocess, support_shared_allocate,
3470 support_write_file_string, xchroot, xmkdir, xopen.
3471 * support/capture_subprocess.h (enum support_capture_allow): Define.
3472 (support_capture_subprocess_check): Declare.
3473 * support/namespace.h (support_can_chroot)
3474 (support_isolate_in_subprocess): Declare.
3475 * support/support-xstat.c: New file.
3476 * support/support.h (support_shared_allocate, support_shared_free)
3477 (support_write_file_string): Declare.
3478 * support/support_can_chroot.c: New file.
3479 * support/support_capture_subprocess_check.c: Likewise.
3480 * support/support_isolate_in_subprocess.c: Likewise.
3481 * support/support_shared_allocate.c: Likewise.
3482 * support/support_write_file_string.c: Likewise.
3483 * support/xchroot.c: Likwise.
3484 * support/xmkdir.c: Likwise.
3485 * support/xopen.c: Likwise.
3486 * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
3487
3488 2017-06-02 Florian Weimer <fweimer@redhat.com>
3489
3490 * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
3491 (gaih_inet): Remove malloc_canonbuf variable. Call getcanonname.
3492
3493 2017-06-02 Florian Weimer <fweimer@redhat.com>
3494
3495 * malloc/Makefile (routines): Add dynarray_at_failure,
3496 dynarray_emplace_enlarge, dynarray_finalize.
3497 (tests-internal): Add tst-dynarray, tst-dynarray-fail,
3498 tst-dynarray-at-fail.
3499 (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
3500 (tests-special): Add tst-dynarray-mem.out,
3501 tst-dynarray-mem-fail.out.
3502 (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
3503 (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
3504 mtrace.
3505 * malloc/Versions (__libc_dynarray_at_failure)
3506 (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
3507 (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
3508 GLIBC_PRIVATE.
3509 * malloc/dynarray.h: New file.
3510 * malloc/dynarray-skeleton.c: Likewise.
3511 * malloc/dynarray_at_failure.c: Likewise.
3512 * malloc/dynarray_emplace_enlarge.c: Likewise.
3513 * malloc/dynarray_finalize.c: Likewise.
3514 * malloc/dynarray_resize.c: Likewise.
3515 * malloc/dynarray_resize_clear.c: Likewise.
3516 * malloc/tst-dynarray.c: Likewise.
3517 * malloc/tst-dynarray-fail.c: Likewise.
3518 * malloc/tst-dynarray-at-fail.c: Likewise.
3519 * malloc/tst-dynarray-shared.h: Likewise.
3520 * support/Makefile (libsupport-routines): Add
3521 support_capture_subprocess, xdup2, xpipe.
3522 (tests): Add tst-support_capture_subprocess.
3523 * support/capture_subprocess.h: New file.
3524 * support/support_capture_subprocess.c: Likewise.
3525 * support/tst-support_capture_subprocess.c: Likewise.
3526 * support/xdup2.c: Likewise.
3527 * support/xpipe.c: Likewise.
3528 * support/xunistd.h (xdup2, xpipe): Declare.
3529
3530 2017-06-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3531
3532 * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
3533 macros MAX and MIN.
3534
3535 2017-06-01 Joseph Myers <joseph@codesourcery.com>
3536
3537 * conform/data/signal.h-data (sa_sigaction): Do not expect for
3538 [XPG4].
3539 (SA_SIGINFO): Likewise.
3540 (SA_ONSTACK): Likewise.
3541 (SA_RESETHAND): Likewise.
3542 (SA_RESTART): Likewise.
3543 (SA_NOCLDWAIT): Likewise.
3544 (SA_NODEFER): Likewise.
3545 (SS_ONSTACK): Likewise.
3546 (SS_DISABLE): Likewise.
3547 (MINSIGSTKSZ): Likewise.
3548 (SIGSTKSZ): Likewise.
3549 (ucontext_t): Likewise.
3550 (stack_t): Likewise.
3551 (struct sigstack): Likewise.
3552 (SI_USER): Do not expect for [XPG4 || XPG42].
3553 (SI_QUEUE): Likewise.
3554 (SI_TIMER): Likewise.
3555 (SI_ASYNCIO): Likewise.
3556 (SI_MESGQ): Likewise.
3557 (bsd_signal): Do not expect for [XPG4].
3558 (killpg): Likewise.
3559 (sigaltstack): Likewise.
3560 (sighold): Likewise.
3561 (sigignore): Likewise.
3562 (siginterrupt): Likewise.
3563 (sigpause): Likewise.
3564 (sigrelse): Likewise.
3565 (sigset): Likewise.
3566 (sigwait): Do not expect for [XPG4 || XPG42].
3567
3568 2017-06-01 Zack Weinberg <zackw@panix.com>
3569
3570 [BZ #21514]
3571 * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
3572 pointing to the generated file in <builddir>/misc/bits/syscall.h.
3573
3574 2017-06-01 Joseph Myers <joseph@codesourcery.com>
3575
3576 [BZ #21457]
3577 * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
3578 NGREG to __NGREG if [__USE_MISC].
3579 (gregset_t): Define using __NGREG.
3580 (__ctx): New macro.
3581 (mcontext_t): Use __ctx in defining fields.
3582 * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
3583 define NGREG to __NGREG if [__USE_MISC].
3584 (gregset_t): Define using __NGREG.
3585 (__ctx): New macro.
3586 (__ctxt): Likewise.
3587 (fpregset_t): Use __ctx and __ctxt in defining fields.
3588 (mcontext_t): Likewise.
3589 * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
3590 define NGREG to __NGREG if [__USE_MISC].
3591 (gregset_t): Define using __NGREG.
3592 (__ctx): New macro.
3593 (mcontext_t): Use __ctx in defining fields.
3594 * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
3595 define NGREG to __NGREG if [__USE_MISC].
3596 (gregset_t): Define using __NGREG.
3597 (__ctx): New macro.
3598 (fpregset_t): Use __ctx in defining fields.
3599 (mcontext_t): Likewise.
3600 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
3601 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3602 (gregset_t): Define using __NGREG.
3603 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3604 [__USE_MISC].
3605 (fpregset_t): Define using __NFPREG.
3606 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
3607 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3608 (gregset_t): Define using __NGREG.
3609 (__ctx): New macro.
3610 (fpregset_t): Use __ctx in defining fields.
3611 (mcontext_t): Likewise.
3612 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
3613 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3614 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3615 [__USE_MISC].
3616 (gregset_t): Define using __NGREG.
3617 (__ctx): New macro.
3618 (fpregset_t): Use __ctx in defining fields.
3619 (mcontext_t): Likewise.
3620 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
3621 (mcontext_t): Use __ctx in defining fields.
3622 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
3623 macro.
3624 [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
3625 __NGREG if [__USE_MISC].
3626 [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
3627 [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
3628 (mcontext_t): Likewise.
3629 [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
3630 __NGREG if [__USE_MISC].
3631 [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
3632 to __NFPREG if [__USE_MISC].
3633 [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
3634 to __NVRREG if [__USE_MISC].
3635 [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
3636 [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
3637 [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
3638 [__WORDSIZE != 32] (vrregset_t): Likewise.
3639 [__WORDSIZE != 32] (mcontext_t): Likewise.
3640 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
3641 (__psw_t): Use __ctx in defining fields.
3642 (NGREG): Rename to __NGREG and define NGREG to __NGREG if
3643 [__USE_MISC].
3644 (gregset_t): Define using __NGREG.
3645 (fpreg_t): Use __ctx in defining fields.
3646 (fpregset_t): Likewise.
3647 (mcontext_t): Likewise.
3648 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
3649 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3650 (gregset_t): Define using __NGREG.
3651 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3652 [__USE_MISC].
3653 (fpregset_t): Define using __NFPREG.
3654 (__ctx): New macro.
3655 (mcontext_t): Use __ctx in defining fields.
3656 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
3657 [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
3658 __NGREG if [__USE_MISC].
3659 [__x86_64__] (gregset_t): Define using __NGREG.
3660 [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
3661 [__x86_64__] (struct _libc_fpstate): Likewise.
3662 [__x86_64__] (mcontext_t): Likewise.
3663 [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
3664 __NGREG if [__USE_MISC].
3665 [!__x86_64__] (gregset_t): Define using __NGREG.
3666 [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
3667 [!__x86_64__] (struct _libc_fpstate): Likewise.
3668 [!__x86_64__] (mcontext_t): Likewise.
3669
3670 2017-06-01 Zack Weinberg <zackw@panix.com>
3671
3672 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
3673 alpha/pt-vfork.S. Provide own compat shim for vfork and __vfork.
3674 * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
3675 * sysdeps/unix/sysv/linux/microblaze/localplt.data:
3676 libpthread.so no longer references __errno_location.
3677
3678 2017-05-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3679
3680 * NEWS: Add note about pwritev2 and preadv2 inclusion.
3681 * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
3682 pwritev64v2.
3683 (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
3684 * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
3685 pwritev64v2.
3686 * misc/preadv2.c: New file.
3687 * misc/preadv64v2.c: Likewise.
3688 * misc/pwritev2.c: Likewise.
3689 * misc/pwritev64v2.c: Likewise.
3690 * misc/tst-preadvwritev2.c: Likewise.
3691 * misc/tst-preadvwritev64v2.c: Likewise.
3692 * manual/llio.texi: Add preadv2 and pwritev2 documentation.
3693 * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
3694 prototype.
3695 [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
3696 [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
3697 [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
3698 * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
3699 (PWRITEV): Likewise.
3700 (do_test_with_offset): Use PREADV and PWRITEV macros and check for
3701 ENOSYS.
3702 * nptl/tst-cancel4.c (tf_pwritev2): New test.
3703 (tf_preadv2): Likewise.
3704 (tf_fsync): Add tf_pwritev2 and tf_preadv2.
3705 * sysdeps/posix/preadv2.c: Likewise.
3706 * sysdeps/posix/preadv64v2.c: Likewise.
3707 * sysdeps/posix/pwritev2.c: Likewise.
3708 * sysdeps/posix/pwritev64v2.c: Likewise.
3709 * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
3710 support in kernel.
3711 * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
3712 * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
3713 * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
3714 * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
3715 * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
3716 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
3717 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
3718 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
3719 * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
3720 support flags on Linux.
3721 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
3722 preadv2, preadv64v2, pwritev2, pwritev64v2.
3723 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
3724 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
3725 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
3726 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
3727 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
3728 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
3729 Likewise.
3730 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
3731 Likewise.
3732 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
3733 Likewise.
3734 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
3735 Likewise.
3736 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
3737 Likewise.
3738 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
3739 Likewise.
3740 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
3741 Likewise.
3742 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
3743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3744 (GLIBC_2.26): Likewise.
3745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3746 (GLIBC_2.26): Likewise.
3747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
3748 Likewise.
3749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3750 (GLIBC_2.26): Likewise.
3751 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
3752 Likewise.
3753 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
3754 Likewise.
3755 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
3756 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
3757 Likewise.
3758 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
3759 Likewise.
3760 * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
3761 Likewise.
3762 * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
3763 Likewise.
3764 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
3765 Likewise.
3766 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
3767 Likewise.
3768 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
3769 Likewise.
3770
3771 2017-05-31 Andreas Schwab <schwab@suse.de>
3772
3773 * nptl/tst-fork3.c: Include <support/test-driver.c>.
3774 (main): Rename to do_test and make static.
3775
3776 2017-05-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3777
3778 * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
3779 ARCH_INIT_CPU_FEATURES.
3780 (LIBC_START_MAIN): Call it.
3781 * sysdeps/unix/sysv/linux/aarch64/libc-start.c
3782 (__libc_start_main): Remove.
3783 (ARCH_INIT_CPU_FEATURES): New macro.
3784 * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
3785 (ARCH_INIT_CPU_FEATURES): New macro.
3786
3787 2017-05-30 Dennis Wölfing <denniswoelfing@gmx.de>
3788 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3789
3790 * include/stdlib.h (__libc_reallocarray): New declaration.
3791 * malloc/Makefile (routines): Add reallocarray.
3792 (tests): Add tst-reallocarray.c.
3793 * malloc/Versions: Add reallocarray and __libc_reallocarray.
3794 * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
3795 function.
3796 * malloc/malloc.h (reallocarray): New declaration.
3797 * stdlib/stdlib.h (reallocarray): Likewise.
3798 * malloc/reallocarray.c: New file.
3799 * malloc/tst-reallocarray.c: New test file.
3800 * manual/memory.texi: Document reallocarray.
3801 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
3802 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3803 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3804 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3805 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3806 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3807 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3808 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3809 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3810 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3811 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3812 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3813 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3814 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3816 Likewise.
3817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3818 Likewise.
3819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3821 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3822 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3823 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3824 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3825 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3828 * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
3829 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3830 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3831
3832 2017-05-30 H.J. Lu <hongjiu.lu@intel.com>
3833
3834 * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
3835 the lower 32 bits.
3836
3837 2017-05-29 Andreas Schwab <schwab@linux-m68k.org>
3838
3839 * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
3840 $(build-pie-default) = yes]: Define.
3841
3842 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
3843
3844 * string/test-memchr.c (test_main): Add tests for n == 0.
3845
3846 2017-05-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3847
3848 * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
3849 nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
3850 (tests-internal): ... here.
3851
3852 2017-05-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
3853 H.J. Lu <hongjiu.lu@intel.com>
3854
3855 * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
3856 * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
3857 (__tunable_set_val): Likewise.
3858
3859 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
3860
3861 * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
3862 dl-tunables.list in subdirectories.
3863
3864 2017-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3865 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3866 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3867
3868 * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3869 (SNANF128): New macro.
3870 * math/e_sqrtf128.c: New file.
3871 * math/s_fmaxmag_template.c: Include math_private.h in order to
3872 make inline expansion of fabs128().
3873 * math/s_fminmag_template.c: Likewise.
3874
3875 * sysdeps/ieee754/float128/e_acosf128.c: New file.
3876 * sysdeps/ieee754/float128/e_acoshf128.c: New file.
3877 * sysdeps/ieee754/float128/e_asinf128.c: New file.
3878 * sysdeps/ieee754/float128/e_atan2f128.c: New file.
3879 * sysdeps/ieee754/float128/e_atanhf128.c: New file.
3880 * sysdeps/ieee754/float128/e_coshf128.c: New file.
3881 * sysdeps/ieee754/float128/e_exp10f128.c: New file.
3882 * sysdeps/ieee754/float128/e_expf128.c: New file.
3883 * sysdeps/ieee754/float128/e_fmodf128.c: New file.
3884 * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
3885 * sysdeps/ieee754/float128/e_hypotf128.c: New file.
3886 * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
3887 * sysdeps/ieee754/float128/e_j0f128.c: New file.
3888 * sysdeps/ieee754/float128/e_j1f128.c: New file.
3889 * sysdeps/ieee754/float128/e_jnf128.c: New file.
3890 * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
3891 * sysdeps/ieee754/float128/e_log10f128.c: New file.
3892 * sysdeps/ieee754/float128/e_log2f128.c: New file.
3893 * sysdeps/ieee754/float128/e_logf128.c: New file.
3894 * sysdeps/ieee754/float128/e_powf128.c: New file.
3895 * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
3896 * sysdeps/ieee754/float128/e_remainderf128.c: New file.
3897 * sysdeps/ieee754/float128/e_scalbf128.c: New file.
3898 * sysdeps/ieee754/float128/e_sinhf128.c: New file.
3899 * sysdeps/ieee754/float128/float128_private.h: New file.
3900 * sysdeps/ieee754/float128/gamma_productf128.c: New file.
3901 * sysdeps/ieee754/float128/ieee754_float128.h: New file.
3902 * sysdeps/ieee754/float128/k_cosf128.c: New file.
3903 * sysdeps/ieee754/float128/k_sincosf128.c: New file.
3904 * sysdeps/ieee754/float128/k_sinf128.c: New file.
3905 * sysdeps/ieee754/float128/k_tanf128.c: New file.
3906 * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
3907 * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
3908 * sysdeps/ieee754/float128/s_asinhf128.c: New file.
3909 * sysdeps/ieee754/float128/s_atanf128.c: New file.
3910 * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
3911 * sysdeps/ieee754/float128/s_ceilf128.c: New file.
3912 * sysdeps/ieee754/float128/s_copysignf128.c: New file.
3913 * sysdeps/ieee754/float128/s_cosf128.c: New file.
3914 * sysdeps/ieee754/float128/s_erff128.c: New file.
3915 * sysdeps/ieee754/float128/s_expm1f128.c: New file.
3916 * sysdeps/ieee754/float128/s_fabsf128.c: New file.
3917 * sysdeps/ieee754/float128/s_finitef128.c: New file.
3918 * sysdeps/ieee754/float128/s_floorf128.c: New file.
3919 * sysdeps/ieee754/float128/s_fmaf128.c: New file.
3920 * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
3921 * sysdeps/ieee754/float128/s_frexpf128.c: New file.
3922 * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
3923 * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
3924 * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
3925 * sysdeps/ieee754/float128/s_isinff128.c: New file.
3926 * sysdeps/ieee754/float128/s_isnanf128.c: New file.
3927 * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
3928 * sysdeps/ieee754/float128/s_llrintf128.c: New file.
3929 * sysdeps/ieee754/float128/s_llroundf128.c: New file.
3930 * sysdeps/ieee754/float128/s_log1pf128.c: New file.
3931 * sysdeps/ieee754/float128/s_logbf128.c: New file.
3932 * sysdeps/ieee754/float128/s_lrintf128.c: New file.
3933 * sysdeps/ieee754/float128/s_lroundf128.c: New file.
3934 * sysdeps/ieee754/float128/s_modff128.c: New file.
3935 * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
3936 * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
3937 * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
3938 * sysdeps/ieee754/float128/s_nextupf128.c: New file.
3939 * sysdeps/ieee754/float128/s_remquof128.c: New file.
3940 * sysdeps/ieee754/float128/s_rintf128.c: New file.
3941 * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
3942 * sysdeps/ieee754/float128/s_roundf128.c: New file.
3943 * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
3944 * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
3945 * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
3946 * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
3947 * sysdeps/ieee754/float128/s_signbitf128.c: New file.
3948 * sysdeps/ieee754/float128/s_significandf128.c: New file.
3949 * sysdeps/ieee754/float128/s_sincosf128.c: New file.
3950 * sysdeps/ieee754/float128/s_sinf128.c: New file.
3951 * sysdeps/ieee754/float128/s_tanf128.c: New file.
3952 * sysdeps/ieee754/float128/s_tanhf128.c: New file.
3953 * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
3954 * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
3955 * sysdeps/ieee754/float128/s_truncf128.c: New file.
3956 * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
3957 * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
3958 * sysdeps/ieee754/float128/t_sincosf128.c: New file.
3959 * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
3960
3961 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
3962 (__iscanonicalf128): Define as a macro.
3963
3964 2017-05-24 Steve Ellcey <sellcey@caviumnetworks.com>
3965
3966 * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
3967 (memmove): Use MEMMOVE for name.
3968 (memcpy): Use MEMCPY for name. Change internal labels
3969 to external labels.
3970 * sysdeps/aarch64/multiarch/Makefile: New file.
3971 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
3972 * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
3973 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
3974 * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
3975 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
3976 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
3977
3978 2017-05-24 Siddhesh Poyarekar <siddhesh@sourceware.org>
3979
3980 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3981 (_dl_arm_cap_flags): Fix array subscript.
3982 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3983 Fix count.
3984
3985 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
3986
3987 * sysdeps/x86/cacheinfo.c: Skip if not in libc.
3988
3989 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
3990
3991 * sysdeps/x86/cacheinfo.c (is_intel): Removed.
3992 (is_amd): Likewise.
3993 (max_cpuid): Likewise.
3994 (__cache_sysconf): Use __get_cpu_features to get cpu_features.
3995 (init_cacheinfo): Likewise.
3996
3997 2017-05-23 Joseph Myers <joseph@codesourcery.com>
3998
3999 [BZ #21511]
4000 * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
4001 [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
4002 (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
4003 !__USE_XOPEN2K) || __USE_MISC].
4004 * conform/data/signal.h-data (struct sigstack): Expect type only
4005 if [!XOPEN2K8 && !POSIX2008].
4006 (sigstack): Expect function only if [XPG42 || UNIX98].
4007
4008 [BZ #21457]
4009 * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
4010 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4011 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4012 <bits/types/__sigset_t.h>.
4013 (ucontext_t): Use sigset_t instead of __sigset_t.
4014 * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
4015 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4016 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4017 <bits/types/__sigset_t.h>.
4018 (ucontext_t): Use sigset_t instead of __sigset_t.
4019 * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
4020 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4021 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4022 <bits/types/__sigset_t.h>.
4023 (ucontext_t): Use sigset_t instead of __sigset_t.
4024 * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
4025 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4026 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4027 <bits/types/__sigset_t.h>.
4028 (ucontext_t): Use sigset_t instead of __sigset_t.
4029 * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
4030 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4031 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4032 <bits/types/__sigset_t.h>.
4033 (ucontext_t): Use sigset_t instead of __sigset_t.
4034 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
4035 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4036 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4037 <bits/types/__sigset_t.h>.
4038 (ucontext_t): Use sigset_t instead of __sigset_t.
4039 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
4040 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4041 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4042 <bits/types/__sigset_t.h>.
4043 (ucontext_t): Use sigset_t instead of __sigset_t.
4044 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
4045 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4046 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4047 <bits/types/__sigset_t.h>.
4048 (ucontext_t): Use sigset_t instead of __sigset_t.
4049 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
4050 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4051 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4052 <bits/types/__sigset_t.h>.
4053 (ucontext_t): Use sigset_t instead of __sigset_t.
4054 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4055 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4056 <bits/ss_flags.h>. Include <bits/types/sigset_t.h>.
4057 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
4058 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4059 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4060 <bits/types/__sigset_t.h>.
4061 (ucontext_t): Use sigset_t instead of __sigset_t.
4062 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
4063 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4064 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4065 <bits/types/__sigset_t.h>.
4066 (ucontext_t): Use sigset_t instead of __sigset_t.
4067 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
4068 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4069 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4070 <bits/types/__sigset_t.h>.
4071 (ucontext_t): Use sigset_t instead of __sigset_t.
4072 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
4073 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4074 <bits/ss_flags.h>.
4075 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
4076 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4077 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4078 <bits/types/__sigset_t.h>.
4079 (ucontext_t): Use sigset_t instead of __sigset_t.
4080 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
4081 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4082 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4083 <bits/types/__sigset_t.h>.
4084 (ucontext_t): Use sigset_t instead of __sigset_t.
4085 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
4086 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4087 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4088 <bits/types/__sigset_t.h>.
4089 (ucontext_t): Use sigset_t instead of __sigset_t.
4090 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
4091 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4092 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4093 <bits/types/__sigset_t.h>.
4094 (ucontext_t): Use sigset_t instead of __sigset_t.
4095 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
4096 <bits/types.h>.
4097 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
4098 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4099 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4100 <bits/types/__sigset_t.h>.
4101 (ucontext_t): Use sigset_t instead of __sigset_t.
4102
4103 2017-05-22 Zack Weinberg <zackw@panix.com>
4104
4105 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4106 (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
4107 bits/siginfo-arch.h, only if not already defined.
4108 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4109 (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
4110 (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
4111 Likewise.
4112
4113 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4114 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4115 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4116 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4117 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4118 Unconditionally define __SI_* macros.
4119
4120 2017-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4121
4122 [BZ #21393]
4123 * libio/freopen.c (freopen): Avoid dup already opened file descriptor
4124 and add a check for dup3 failure.
4125 * libio/freopen64.c (freopen64): Likewise.
4126 * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
4127 libsupport.
4128 (do_test_bz21398): New test.
4129 * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
4130
4131 2017-05-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
4132
4133 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
4134 Remove invalid comment.
4135
4136 2017-05-21 Zack Weinberg <zackw@panix.com>
4137
4138 * signal/Makefile (headers): Add bits/types/sigval_t.h.
4139
4140 2017-05-20 Zack Weinberg <zackw@panix.com>
4141
4142 * bits/sigevent-consts.h
4143 * bits/siginfo-consts.h
4144 * bits/types/__sigset_t.h
4145 * bits/types/sigevent_t.h
4146 * bits/types/siginfo_t.h
4147 * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
4148 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4149 * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
4150 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
4151 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
4152 New system-dependent bits headers.
4153
4154 * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
4155 * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
4156 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4157 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
4158 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4159 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4160 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4161 * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
4162 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4163 New Linux-only system-dependent bits headers.
4164
4165 * signal/bits/types/sig_atomic_t.h
4166 * signal/bits/types/sigset_t.h
4167 * signal/bits/types/sigval_t.h:
4168 New non-system-dependent bits headers.
4169
4170 * sysdeps/generic/sigsetops.h
4171 * sysdeps/unix/sysv/linux/sigsetops.h:
4172 New internal headers.
4173
4174 * include/bits/types/sig_atomic_t.h
4175 * include/bits/types/sigset_t.h
4176 * include/bits/types/sigval_t.h:
4177 New wrappers.
4178
4179 * signal/sigsetops.h
4180 * bits/siginfo.h
4181 * bits/sigset.h
4182 * sysdeps/unix/sysv/linux/bits/siginfo.h
4183 * sysdeps/unix/sysv/linux/bits/sigset.h
4184 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
4185 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
4186 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
4187 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
4188 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
4189 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
4190 Deleted.
4191
4192 * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
4193 Update lists of installed headers.
4194
4195 * posix/bits/types.h: Define __sig_atomic_t here.
4196 * signal/signal.h: Use the new bits headers; no need to handle
4197 __need_sig_atomic_t nor __need_sigset_t. Don't use __sigmask
4198 to define sigmask.
4199 * include/signal.h: No need to handle __need_sig_atomic_t
4200 nor __need_sigset_t. Don't define __sigemptyset.
4201
4202 * io/sys/poll.h, setjmp/setjmp.h
4203 * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
4204 * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
4205 * sysdeps/mach/hurd/i386/bits/sigcontext.h
4206 * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
4207 * sysdeps/pthread/bits/sigthread.h
4208 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
4209 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
4210 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
4211 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
4212 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4213 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
4214 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
4215 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
4216 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
4217 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
4218 Use bits/types/__sigset_t.h.
4219
4220 * misc/sys/select.h, posix/spawn.h
4221 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4222 * sysdeps/unix/sysv/linux/sys/epoll.h
4223 * sysdeps/unix/sysv/linux/sys/signalfd.h:
4224 Use bits/types/sigset_t.h.
4225
4226 * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
4227 * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
4228 * socket/sys/socket.h: Don't include bits/sigset.h.
4229
4230 * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
4231 * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
4232 * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
4233 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
4234 * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
4235 * sysdeps/unix/sysv/linux/nptl-signals.h:
4236 Include sigsetops.h.
4237
4238 * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
4239 * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
4240 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
4241 __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
4242 now return no value.
4243
4244 * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
4245 Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
4246 "sigsetops.h".
4247
4248 * signal/sigsetops.c: Explicitly define __sigismember,
4249 __sigaddset, and __sigdelset as compatibility symbols.
4250
4251 * signal/Versions: Correct commentary on __sigpause,
4252 __sigaddset, __sigdelset, __sigismember.
4253
4254 * inet/rcmd.c: Include sigsetops.h. Convert old code using
4255 __sigblock/__sigsetmask to use __sigprocmask and friends.
4256
4257 * resolv/resolv.h: Remove __need_res_state logic.
4258 Move definition of res_state and related constants to ...
4259 * resolv/bits/types/res_state.h: ...this new file.
4260 * resolv/Makefile: Install bits/types/res_state.h.
4261 * include/bits/types/res_state.h: New wrapper.
4262 * include/list.h: Remove __need_list_t logic.
4263 Move definition of list_t to ...
4264 * include/list_t.h: ...this new file.
4265
4266 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4267 instead of list.h and resolv.h.
4268
4269 * resolv/resolv.h: Remove __need_res_state logic.
4270 Move definition of res_state and related constants to ...
4271 * resolv/bits/types/res_state.h: ...this new file.
4272 * resolv/Makefile: Install bits/types/res_state.h.
4273 * include/bits/types/res_state.h: New wrapper.
4274 * include/list.h: Remove __need_list_t logic.
4275 Move definition of list_t to ...
4276 * include/list_t.h: ...this new file.
4277
4278 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4279 instead of list.h and resolv.h.
4280
4281 2017-05-20 H.J. Lu <hongjiu.lu@intel.com>
4282
4283 * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
4284
4285 2017-05-20 Zack Weinberg <zackw@panix.com>
4286
4287 * sysdeps/arm/sysdep.h
4288 (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
4289
4290 * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
4291 * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
4292 * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
4293 * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
4294 * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
4295 * sysdeps/arm/armv6t2/strlen.S
4296 * sysdeps/arm/armv7/multiarch/memcpy_impl.S
4297 * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
4298 * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
4299 * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
4300 * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
4301 Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
4302
4303 2017-05-20 Zack Weinberg <zackw@panix.com>
4304
4305 Remove the NaCl port.
4306 * sysdeps/arm/nacl: Remove directory and contents.
4307 * sysdeps/nacl: Remove directory and contents.
4308 * abi-tags: Remove .*-.*-nacl.* entry.
4309
4310 2017-05-19 Rical Jasan <ricaljasan@pacific.net>
4311
4312 * manual/errno.texi: Convert @comment-based errno documentation to
4313 @errno.
4314 * manual/macros.texi (@errno): New macro. Consolidate errors,
4315 their values, and messages, adding the error string to the Concept
4316 Index. Provide a warning in the comment about external (to the
4317 manual) dependencies.
4318 * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
4319 * sysdeps/mach/hurd/errnos.awk: Likewise.
4320
4321 2017-05-19 Joseph Myers <joseph@codesourcery.com>
4322
4323 * bits/ss_flags.h: New file.
4324 * bits/types/stack_t.h: Likewise.
4325 * include/bits/types/struct_sigstack.h: Likewise.
4326 * signal/bits/types/struct_sigstack.h: Likewise.
4327 * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
4328 * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
4329 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
4330 * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
4331 bits/types/stack_t.h and bits/ss_flags.h.
4332 * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
4333 Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4334 <bits/ss_flags.h>.
4335 * bits/sigstack.h (struct sigstack): Remove.
4336 (stack_t): Likewise.
4337 (SS_ONSTACK): Likewise.
4338 (SS_DISABLE): Likewise.
4339 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
4340 (struct sigstack): Likewise.
4341 (stack_t): Likewise.
4342 (SS_ONSTACK): Likewise.
4343 (SS_DISABLE): Likewise.
4344 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
4345 Likewise.
4346 (stack_t): Likewise.
4347 (SS_ONSTACK): Likewise.
4348 (SS_DISABLE): Likewise.
4349 * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
4350 Likewise.
4351 (stack_t): Likewise.
4352 (SS_ONSTACK): Likewise.
4353 (SS_DISABLE): Likewise.
4354 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
4355 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
4356 Likewise.
4357 (stack_t): Likewise.
4358 (SS_ONSTACK): Likewise.
4359 (SS_DISABLE): Likewise.
4360 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
4361 (struct sigstack): Likewise.
4362 (stack_t): Likewise.
4363 (SS_ONSTACK): Likewise.
4364 (SS_DISABLE): Likewise.
4365 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
4366 Likewise.
4367 (stack_t): Likewise.
4368 (SS_ONSTACK): Likewise.
4369 (SS_DISABLE): Likewise.
4370 * sysdeps/arm/sys/ucontext.h: Include
4371 <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4372 <bits/ss_flags.h>.
4373 * sysdeps/generic/sys/ucontext.h: Likewise.
4374 * sysdeps/i386/sys/ucontext.h: Likewise.
4375 * sysdeps/m68k/sys/ucontext.h: Likewise.
4376 * sysdeps/mips/sys/ucontext.h: Likewise.
4377 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
4378 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
4379 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
4380 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
4381 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
4382 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
4383 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
4384 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
4385 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
4386 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4387 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
4388 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
4389 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
4390 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
4391 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
4392
4393 2017-05-19 H.J. Lu <hongjiu.lu@intel.com>
4394
4395 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
4396 "edx + ecx - 16" to avoid possible addition overflow.
4397 * sysdeps/x86_64/memchr.S (memchr): Likewise.
4398
4399 2017-05-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4400
4401 * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
4402 (CFLAGS-splice.c): Likewise.
4403 (CFLAGS-open_by_handle_at.c): Likewise.
4404 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
4405 (CFLAGS-splice.c): Likewise.
4406 (CFLAGS-open_by_handle_at.c): Likewise.
4407
4408 2017-05-19 Joseph Myers <joseph@codesourcery.com>
4409
4410 * scripts/versions.awk: Generate ldbl-compat-choose.h.
4411 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
4412 <ldbl-compat-choose.h>.
4413 (maybe_long_double_symbol): New macro.
4414 [!declare_mgen_alias] (declare_mgen_alias): Use
4415 maybe_long_double_symbol.
4416 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
4417 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
4418 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
4419 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
4420 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4421 * Makerules [$(build-shared) = yes && !avoid-generated]
4422 (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
4423 [$(build-shared) = yes && !avoid-generated]
4424 ($(common-objpfx)ldbl-compat-choose.h): New target.
4425
4426 * scripts/versions.awk: Generate first-versions.h.
4427 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
4428 <first-versions.h>.
4429 (LDOUBLE_cabsl_libm_version): Remove macro.
4430 (LDOUBLE_cargl_libm_version): Likewise.
4431 (LDOUBLE_cimagl_libm_version): Likewise.
4432 (LDOUBLE_conjl_libm_version): Likewise.
4433 (LDOUBLE_creall_libm_version): Likewise.
4434 (LDOUBLE_cacosl_libm_version): Likewise.
4435 (LDOUBLE_cacoshl_libm_version): Likewise.
4436 (LDOUBLE_ccosl_libm_version): Likewise.
4437 (LDOUBLE_ccoshl_libm_version): Likewise.
4438 (LDOUBLE_casinl_libm_version): Likewise.
4439 (LDOUBLE_csinl_libm_version): Likewise.
4440 (LDOUBLE_casinhl_libm_version): Likewise.
4441 (LDOUBLE_csinhl_libm_version): Likewise.
4442 (LDOUBLE_catanl_libm_version): Likewise.
4443 (LDOUBLE_catanhl_libm_version): Likewise.
4444 (LDOUBLE_ctanl_libm_version): Likewise.
4445 (LDOUBLE_ctanhl_libm_version): Likewise.
4446 (LDOUBLE_cexpl_libm_version): Likewise.
4447 (LDOUBLE_clogl_libm_version): Likewise.
4448 (LDOUBLE_cprojl_libm_version): Likewise.
4449 (LDOUBLE_csqrtl_libm_version): Likewise.
4450 (LDOUBLE_cpowl_libm_version): Likewise.
4451 (LDOUBLE_clog10l_libm_version): Likewise.
4452 (LDOUBLE___clog10l_libm_version): Likewise.
4453 (LDOUBLE_fdiml_libm_version): Likewise.
4454 (LDOUBLE_fmaxl_libm_version): Likewise.
4455 (LDOUBLE_fminl_libm_version): Likewise.
4456 (LDOUBLE_ilogbl_libm_version): Likewise.
4457 (LDOUBLE_nanl_libm_version): Likewise.
4458 [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
4459 FIRST_VERSION_libm_* macros.
4460 [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
4461 * Makerules [$(build-shared) = yes && !avoid-generated]
4462 (before-compile): Add $(common-objpfx)first-versions.h.
4463 [$(build-shared) = yes && !avoid-generated]
4464 ($(common-objpfx)first-versions.h): New target.
4465 ($(common-objpfx)sysd-versions): Depend on and change to rule for
4466 building $(common-objpfx)versions.stmp.
4467
4468 2017-05-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4469
4470 * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
4471 * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
4472 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
4473 auto-generation list.
4474
4475 * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
4476 * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
4477 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
4478 from auto-generation list.
4479
4480 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4481 open_by_handle_at.
4482 (CFLAGS-open_by_handle_at.c): New flag.
4483 * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
4484 * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
4485 file.
4486 * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
4487
4488 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
4489 (CFLAGS-splice.c): New flag.
4490 * sysdeps/unix/sysv/linux/splice.c: New file.
4491 * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
4492 auto-generation syscall list.
4493 * misc/Makefile (CFLAGS-splice.c): New rule.
4494
4495 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
4496 * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
4497 auto-generation syscall list.
4498 * sysdeps/unix/sysv/linux/vmsplice.c: New file.
4499 * misc/Makefile (CFLAGS-vmsplice.c): New rule.
4500
4501 * misc/Makefile (CFLAGS-fsync.c): New flag.
4502 * nptl/Makefile (CFLAGS-fsync.c): Likewise.
4503 * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
4504 syscall list.
4505 * sysdeps/unix/sysv/linux/fsync.c: New file.
4506 * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
4507 (__errno_location): Remove.
4508
4509 * misc/Makefile (CFLAGS-fdatasync.c): New rule.
4510 * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
4511 * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
4512 list.
4513 * sysdeps/unix/sysv/linux/fdatasync.c: New file.
4514
4515 * misc/Makefile (CFLAGS-msync.c): New rule.
4516 * nptl/Makefile (CFLAGS-msync.c): Likewise.
4517 * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
4518 * sysdeps/unix/sysv/linux/msync.c: New file.
4519
4520 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
4521 * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
4522 * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
4523 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4524 (CFLAGS-sigsuspend.c): Remove rule.
4525
4526 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
4527 (CFLAGS-tee.c): New rule.
4528 * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
4529 auto-generated list.
4530 * sysdeps/unix/sysv/linux/tee.c: New file.
4531
4532 * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
4533 * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
4534 * sysdeps/unix/sysv/linux/nanosleep.c: New file.
4535 * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
4536 auto-generated list.
4537
4538 * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
4539 auto-generated list.
4540 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
4541 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4542 * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
4543 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4544 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4545
4546 * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
4547 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
4548 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
4549 (__NR_pause): Undefine.
4550 * sysdeps/unix/sysv/linux/pause.c: New file.
4551 * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
4552 auto-generation list.
4553 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
4554 Remove rule.
4555 * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
4556
4557 2017-05-18 H.J. Lu <hongjiu.lu@intel.com>
4558
4559 * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
4560 comments.
4561
4562 2017-05-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
4563
4564 * elf/Makefile (tst-env-setuid-ENV): Reduce value of
4565 LD_HWCAP_MASK.
4566
4567 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
4568
4569 * manual/conf.texi: Convert @tables of annotated @items to
4570 @vtables.
4571 * manual/lang.texi: Likewise.
4572 * manual/pattern.texi: Likewise.
4573 * manual/resource.texi: Likewise.
4574 * manual/socket.texi: Likewise.
4575
4576 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
4577
4578 * manual/crypt.texi: Move a comment out of an @*x list.
4579 * manual/filesys.texi: Refactor some comments, one of which looks
4580 like a standard. Fix incorrectly separated standards.
4581 * manual/locale.texi: Invert an annotation.
4582 * manual/resource.texi: Fix incorrectly separated standards.
4583 * manual/time.texi: Refactor a @vtable that obscures an
4584 annotation.
4585 * manual/users.texi: Refactor multiple headers to occupy a single
4586 @comment.
4587
4588 2017-05-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4589
4590 * sysdeps/powerpc/powerpc64/multiarch/Makefile
4591 (sysdep_routines): Add memcmp-power8.
4592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4593 (memcmp): Add __memcmp_power8 to list of memcmp functions.
4594 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
4595 (memcmp): Add __memcmp_power8 to ifunc list.
4596 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
4597 * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
4598
4599 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4600 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4601
4602 * math/math.h (__MATH_TG): Extend the conditions to add
4603 _Float128 support.
4604 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
4605
4606 2017-05-17 Paul A. Clarke <pc@us.ibm.com>
4607
4608 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4609 [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
4610 s_cosf-ppc64.
4611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
4612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
4613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
4614 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
4615
4616 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4617
4618 * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
4619 (gen-libm-calls): Add e_exp2F to use the template.
4620 * math/e_exp2l.c: Rename to math/e_exp2_template.c.
4621 * math/e_exp2_template.c: New file, renamed from
4622 math/e_exp2l.c, and made into a template.
4623 * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
4624
4625 2017-05-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
4626
4627 * elf/dl-tunable-types.h (tunable_type_code_t): New type
4628 TUNABLE_TYPE_UINT_64.
4629 * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
4630 Simplify computation of overflow.
4631 (tunable_set_val_if_valid_range_signed,
4632 tunable_set_val_if_valid_range_unsigned): Remove and replace
4633 with this...
4634 (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
4635 (tunable_initialize): Adjust. Add uint64_t support.
4636 (__tunable_set_val): Add uint64_t support.
4637 * README.tunables: Document it.
4638
4639 * scripts/gen-tunables.awk: Recognize 'default' keyword in
4640 dl-tunables.list.
4641 * README.tunables: Document it.
4642
4643 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4644
4645 * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
4646 * sysdeps/posix/preadv64.c: Likewise.
4647 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4648 * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
4649 * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
4650 * sysdeps/posix/pwritev64.c: Likewise.
4651 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4652 * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
4653 * sysdeps/posix/preadv_common.c: New file.
4654 * sysdeps/posix/pwritev_common.c: Likewise.
4655
4656 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4657
4658 * sysdeps/generic/math-type-macros-float128.h
4659 (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
4660 wrapper templates.
4661
4662 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4663 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4664
4665 * include/complex.h (__kernel_casinhf128): New declaration.
4666 * include/float.h: New file.
4667 * include/math.h (__finitef128): Add a hidden def.
4668 (__isinff128): Likewise.
4669 (__isnanf128): Likewise.
4670 (__fpclassify): Likewise.
4671 (__issignalling): Likewise.
4672 (__expf128): Likewise.
4673 (__expm1f128): Likewise.
4674
4675 * sysdeps/generic/fix-fp-int-convert-overflow.h:
4676 (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
4677 (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
4678
4679 * sysdeps/generic/math-type-macros-float128.h: New file.
4680
4681 * sysdeps/generic/math_private.h: Include bits/floatn.h and
4682 math_private_calls.h for _Float128.
4683 (__isinff128): New inline implementation used when GCC < 7.0,
4684 since in this case __builtin_isinf_sign is broken.
4685 (fabsf128): New inline implementation that calls the builtin.
4686 (__EXPR_FLT128): New macro.
4687 (min_of_type): Optionally include _Float128 types too.
4688
4689 * sysdeps/generic/math_private_calls.h (__kernel_sincos):
4690 Declare for _Float128.
4691 (__kernel_rem_pio2): Likewise.
4692
4693 * sysdeps/ieee754/ldbl-opt/s_sin.c:
4694 (__DECL_SIMD_sincos_disablef128): New macro.
4695
4696 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4697
4698 * math/math.h: Include bits/math-finite.h for float128.
4699 (__MATH_DECLARING_FLOATN): Define to control declaration of
4700 float128 functions.
4701 * math/bits/math-finite.h (pow10): Do not declare for float128.
4702 (gamma): Likewise.
4703 (scalb): Likewise.
4704
4705 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4706 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4707
4708 * bits/floatn.h: New file.
4709 * bits/huge_val_flt128.h: Likewise.
4710
4711 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
4712 (__DECL_SIMD_sinf128): Likewise.
4713 (__DECL_SIMD_sincosf128): Likewise.
4714 (__DECL_SIMD_logf128): Likewise.
4715 (__DECL_SIMD_expf128): Likewise.
4716 (__DECL_SIMD_powf128): Likewise.
4717
4718 * math/Makefile (headers): Install bits/floatn.h and
4719 bits/huge_val_flt128.h.
4720
4721 * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
4722 defined.
4723
4724 * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
4725 (isnan, gamma, nexttoward, scalb): Only define if not
4726 __MATH_DECLARING_FLOATN.
4727 (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
4728 (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
4729 (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
4730 _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
4731
4732 * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
4733 Include bits/cmathcalls.h to get the declarations of _Float128
4734 versions of complex functions.
4735 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
4736 Define macro.
4737
4738 * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
4739 Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
4740 get the declarations of _Float128 versions of math functions.
4741 (__MATH_DECLARING_FLOATN): New macro to control declaration of
4742 _FloatN types.
4743 [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
4744 is type-generic, so use it without __MATH_TG.
4745 [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
4746 _Float128 type on GCC < 7.0. Explicitly call __isinff128 for
4747 _Float128 type and GCC < 7.0, otherwise use the builtin.
4748 [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
4749 (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
4750 (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
4751 New _GNU_SOURCE enabled macros.
4752
4753 2017-05-12 Joseph Myers <joseph@codesourcery.com>
4754
4755 * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
4756 (signbitf): Likewise.
4757 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
4758 Likewise.
4759 (signbitl): Likewise.
4760 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
4761 Likewise.
4762 * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
4763 (signbitl): Likewise.
4764 * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
4765
4766 2017-05-12 Florian Weimer <fweimer@redhat.com>
4767
4768 [BZ #21386]
4769 * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
4770 parent PID. The assertion in the child is incorrect with PID
4771 namespaces.
4772
4773 2017-05-12 Joseph Myers <joseph@codesourcery.com>
4774
4775 * sysdeps/unix/sysv/linux/kernel-features.h
4776 (__ASSUME_STATFS_F_FLAGS): Remove macro.
4777 * sysdeps/unix/sysv/linux/internal_statvfs.c
4778 [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
4779
4780 2017-05-11 Zack Weinberg <zackw@panix.com>
4781
4782 * Makerules: New subdir configuration variables 'tests-internal'
4783 and 'test-internal-extras'. Test files in these categories will
4784 still be compiled with MODULE_NAME=nonlib. Test files in the
4785 existing categories (tests, xtests, test-srcs, test-extras) are
4786 now compiled with MODULE_NAME=testsuite.
4787 New subdir configuration variable 'modules-names-tests'. Files
4788 which are in both 'modules-names' and 'modules-names-tests' will
4789 be compiled with MODULE_NAME=testsuite instead of
4790 MODULE_NAME=extramodules.
4791 (gen-as-const-headers): Move to tests-internal.
4792 (do-tests-clean, common-mostlyclean): Support tests-internal.
4793 * Makeconfig (built-modules): Add testsuite.
4794 * Makefile: Change libof-check-installed-headers-c and
4795 libof-check-installed-headers-cxx to 'testsuite'.
4796 * Rules: Likewise. Support tests-internal.
4797 * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
4798 Remove extra-modules.mk.
4799
4800 * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
4801 * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
4802 PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
4803 very top of the file and rationalize their order.
4804 If MODULE_NAME is not defined at all, define IS_IN to always be
4805 false, and don't define _ISOMAC.
4806 If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
4807 true, define _ISOMAC and suppress everything else in this file,
4808 starting with the inclusion of config.h.
4809 Do check for inappropriate definitions of __OPTIMIZE__ and
4810 __FAST_MATH__ here, but only if _ISOMAC is not defined.
4811 Correct some out-of-date commentary.
4812
4813 * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
4814 and _Mlong_double_ before including math.h.
4815 * include/string.h: If _ISOMAC is defined, don't expose
4816 _STRING_ARCH_unaligned. Move a comment to a more appropriate
4817 location.
4818
4819 * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
4820 * include/time.h, include/unistd.h, include/wchar.h: No need to
4821 check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
4822
4823 * misc/sys/cdefs.h (__NTHNL): New macro.
4824 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
4825 (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
4826
4827 * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
4828 defined, for HAVE_TUNABLES.
4829 * inet/tst-checks-posix.c: No need to define _ISOMAC.
4830 * intl/tst-gettext2.c: Provide own definition of N_.
4831 * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
4832 * math/test-signgam-main.c: No need to define _ISOMAC.
4833 * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
4834 * stdlib/tst-strtod1i.c: ...this new file.
4835 * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
4836 Split tests of __strtod_internal to...
4837 * stdlib/tst-strtod5i.c: ...this new file.
4838 * string/test-string.h: Include stdint.h. Duplicate definition of
4839 inhibit_loop_to_libcall here (from libc-symbols.h).
4840 * string/test-strstr.c: Provide dummy definition of
4841 libc_hidden_builtin_def when including strstr.c.
4842 * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
4843 mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
4844 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
4845 Don't include init-arch.h.
4846 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
4847 Don't include init-arch.h.
4848
4849 * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
4850 tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
4851 unload, unload2, circleload1, neededtest, neededtest2,
4852 neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
4853 tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
4854 tst-stackguard1, tst-_dl_addr_inside_object, and all of the
4855 ifunc tests to tests-internal.
4856 Don't add $(modules-names) to test-extras.
4857 * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
4858 Add tst-deadline to tests-static-internal.
4859 * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
4860 tests-internal.
4861 * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
4862 * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
4863 tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
4864 tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
4865 tst-sem12-static, and tst-stackguard1-static to tests-internal.
4866 Link tests-internal with libpthread also.
4867 Don't add $(modules-names) to test-extras.
4868 * nss/Makefile: Move tst-field to tests-internal.
4869 * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
4870 tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
4871 * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
4872 tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
4873 tests-internal.
4874 * sunrpc/Makefile: Move tst-svc_register to tests-internal.
4875 * sysdeps/powerpc/Makefile: Move test-get_hwcap and
4876 test-get_hwcap-static to tests-internal.
4877 * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
4878 tests-internal.
4879 * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
4880 modules-names-tests.
4881
4882 2017-05-11 Zack Weinberg <zackw@panix.com>
4883
4884 * libio/libio.h: Condition dummy definition of _IO_lock_t on
4885 _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
4886 non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
4887 _IO_funlockfile, and _IO_ftrylockfile. Only define
4888 _IO_cleanup_region_start and _IO_cleanup_region_end if not
4889 already defined.
4890 * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
4891 _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
4892 appropriately.
4893 * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
4894 Define _IO_lock_t_defined after defining _IO_lock_t.
4895
4896 2016-05-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4897
4898 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
4899 void* for argument type and use VDSO_SYMBOL macro.
4900 (is_sigtramp_address_rt): Likewise.
4901 (__backtrace): Setup expected frame pointer address for signal
4902 handling.
4903 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
4904 void* for argumetn type and use VSDO_SYMBOL macro.
4905 (__backtrace): Setup expected frame pointer address for signal
4906 handling.
4907
4908 * sysdeps/unix/sysv/linux/writev.c: New file.
4909
4910 * sysdeps/unix/sysv/linux/readv.c: New file.
4911
4912 * include/unistd.h (write): Add hidden proto.
4913 * io/Makefile (CFLAGS-write.c): New define.
4914 * nptl/Makefile (CFLAGS-write.c): Likewise.
4915 * sysdeps/unix/sysv/linux/write.c: New file.
4916
4917 [BZ #21428]
4918 * include/unistd.h (read): Add hidden proto.
4919 * io/Makefile (CFLAGS-read.c): New define.
4920 * nptl/Makefile (CFLAGS-read.c): Likewise.
4921 * sysdeps/unix/sysv/linux/read.c: New file.
4922
4923 * io/Makefile (CFLAGS-creat.c): New rule.
4924 (CFLAGS-creat64.c): Likewise.
4925 * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
4926 * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
4927 * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
4928 * sysdeps/unix/sysv/linux/creat.c: New file.
4929 * sysdeps/unix/sysv/linux/creat64.c: Likewise.
4930 * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
4931 auto-generated list.
4932 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4933
4934 * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
4935 * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
4936 * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
4937 * sysdeps/unix/sysv/linux/open.c: New file.
4938 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
4939 iff __WORDSIZE != 64 and use __NR_openat when available.
4940 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
4941 from auto-generated list.
4942
4943 * nptl/Makefile (CFLAGS-close.c): New flag.
4944 * sysdeps/unix/sysv/linux/close.c: New file.
4945
4946 2017-05-11 DJ Delorie <dj@redhat.com>
4947
4948 * MAINTAINERS: New. Points to wiki.
4949
4950 2017-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
4951
4952 * scripts/gen-tunables.awk: Add attribute_relro to
4953 tunable_list.
4954
4955 2017-05-11 Joseph Myers <joseph@codesourcery.com>
4956
4957 [BZ #21457]
4958 * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
4959 (R1): Likewise.
4960 (R2): Likewise.
4961 (R3): Likewise.
4962 (R4): Likewise.
4963 (R5): Likewise.
4964 (R6): Likewise.
4965 (R7): Likewise.
4966 (R8): Likewise.
4967 (R9): Likewise.
4968 (R10): Likewise.
4969 (R11): Likewise.
4970 (R12): Likewise.
4971 (R13): Likewise.
4972 (R14): Likewise.
4973 (R15): Likewise.
4974 * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
4975 (REG_FS): Likewise.
4976 (REG_ES): Likewise.
4977 (REG_DS): Likewise.
4978 (REG_EDI): Likewise.
4979 (REG_ESI): Likewise.
4980 (REG_EBP): Likewise.
4981 (REG_ESP): Likewise.
4982 (REG_EBX): Likewise.
4983 (REG_EDX): Likewise.
4984 (REG_ECX): Likewise.
4985 (REG_EAX): Likewise.
4986 (REG_TRAPNO): Likewise.
4987 (REG_ERR): Likewise.
4988 (REG_EIP): Likewise.
4989 (REG_CS): Likewise.
4990 (REG_EFL): Likewise.
4991 (REG_UESP): Likewise.
4992 (REG_SS): Likewise.
4993 * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
4994 (R_D1): Likewise.
4995 (R_D2): Likewise.
4996 (R_D3): Likewise.
4997 (R_D4): Likewise.
4998 (R_D5): Likewise.
4999 (R_D6): Likewise.
5000 (R_D7): Likewise.
5001 (R_A0): Likewise.
5002 (R_A1): Likewise.
5003 (R_A2): Likewise.
5004 (R_A3): Likewise.
5005 (R_A4): Likewise.
5006 (R_A5): Likewise.
5007 (R_A6): Likewise.
5008 (R_A7): Likewise.
5009 (R_SP): Likewise.
5010 (R_PC): Likewise.
5011 (R_PS): Likewise.
5012 (fpregset_t): Likewise.
5013 (MCONTEXT_VERSION): Likewise.
5014 * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
5015 (CTX_AT): Likewise.
5016 (CTX_V0): Likewise.
5017 (CTX_V1): Likewise.
5018 (CTX_A0): Likewise.
5019 (CTX_A1): Likewise.
5020 (CTX_A2): Likewise.
5021 (CTX_A3): Likewise.
5022 (CTX_T0): Likewise.
5023 (CTX_T1): Likewise.
5024 (CTX_T2): Likewise.
5025 (CTX_T3): Likewise.
5026 (CTX_T4): Likewise.
5027 (CTX_T5): Likewise.
5028 (CTX_T6): Likewise.
5029 (CTX_T7): Likewise.
5030 (CTX_S0): Likewise.
5031 (CTX_S1): Likewise.
5032 (CTX_S2): Likewise.
5033 (CTX_S3): Likewise.
5034 (CTX_S4): Likewise.
5035 (CTX_S5): Likewise.
5036 (CTX_S6): Likewise.
5037 (CTX_S7): Likewise.
5038 (CTX_T8): Likewise.
5039 (CTX_T9): Likewise.
5040 (CTX_K0): Likewise.
5041 (CTX_K1): Likewise.
5042 (CTX_GP): Likewise.
5043 (CTX_SP): Likewise.
5044 (CTX_S8): Likewise.
5045 (CTX_RA): Likewise.
5046 (CTX_MDLO): Likewise.
5047 (CTX_MDHI): Likewise.
5048 (CTX_CAUSE): Likewise.
5049 (CTX_EPC): Likewise.
5050 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
5051 inclusion of <sys/procfs.h> on [__USE_MISC].
5052 (greg_t): Condition on [__USE_MISC].
5053 (gregset_t): Likewise.
5054 (fpregset_t): Likewise.
5055 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
5056 (NGREG): Likewise.
5057 (gregset_t): Likewise.
5058 (REG_R0): Likewise.
5059 (REG_R1): Likewise.
5060 (REG_R2): Likewise.
5061 (REG_R3): Likewise.
5062 (REG_R4): Likewise.
5063 (REG_R5): Likewise.
5064 (REG_R6): Likewise.
5065 (REG_R7): Likewise.
5066 (REG_R8): Likewise.
5067 (REG_R9): Likewise.
5068 (REG_R10): Likewise.
5069 (REG_R11): Likewise.
5070 (REG_R12): Likewise.
5071 (REG_R13): Likewise.
5072 (REG_R14): Likewise.
5073 (REG_R15): Likewise.
5074 (struct _libc_fpstate): Likewise.
5075 (fpregset_t): Likewise.
5076 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
5077 (NFPREG): Likewise.
5078 (gregset_t): Likewise.
5079 (fpregset_t): Likewise.
5080 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
5081 (R_D1): Likewise.
5082 (R_D2): Likewise.
5083 (R_D3): Likewise.
5084 (R_D4): Likewise.
5085 (R_D5): Likewise.
5086 (R_D6): Likewise.
5087 (R_D7): Likewise.
5088 (R_A0): Likewise.
5089 (R_A1): Likewise.
5090 (R_A2): Likewise.
5091 (R_A3): Likewise.
5092 (R_A4): Likewise.
5093 (R_A5): Likewise.
5094 (R_A6): Likewise.
5095 (R_A7): Likewise.
5096 (R_SP): Likewise.
5097 (R_PC): Likewise.
5098 (R_PS): Likewise.
5099 (fpregset_t): Likewise.
5100 (MCONTEXT_VERSION): Likewise.
5101 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
5102 Likewise.
5103 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
5104 (REG_R1): Likewise.
5105 (REG_R2): Likewise.
5106 (REG_R3): Likewise.
5107 (REG_R4): Likewise.
5108 (REG_R5): Likewise.
5109 (REG_R6): Likewise.
5110 (REG_R7): Likewise.
5111 (REG_R8): Likewise.
5112 (REG_R9): Likewise.
5113 (REG_R10): Likewise.
5114 (REG_R11): Likewise.
5115 (REG_R12): Likewise.
5116 (REG_R13): Likewise.
5117 (REG_R14): Likewise.
5118 (REG_R15): Likewise.
5119 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
5120 of <arch/abi.h> on [__USE_MISC].
5121 (greg_t): Condition on [__USE_MISC].
5122 (NGREG): Likewise.
5123 (gregset_t): Likewise.
5124
5125 2017-05-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5126
5127 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
5128 (__pthread_rwlock_arch_t): Remove __data definition.
5129 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
5130 (__pthread_rwlock_arch_t): Likewise.
5131
5132 2017-05-11 Florian Weimer <fweimer@redhat.com>
5133
5134 * resolv/inet_pton.c: Reformat in GNU style. Remove
5135 internal_function on static functions.
5136
5137 2017-05-11 Florian Weimer <fweimer@redhat.com>
5138
5139 * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
5140 from format_ai_flags.
5141 (format_ai_flags): New function. Incorporate flag formatting code
5142 from format_ai_one.
5143 (format_ai_canonname): New function.
5144 (format_ai_one): Remove flags parameter.
5145 (format_ai_family): Likewise.
5146 (support_format_addrinfo): Call format_ai_flags,
5147 format_ai_canonname.
5148 * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
5149 check_ai.
5150 (check_ai): Call check_ai_hints.
5151 (do_test): Add AI_CANONNAME tests.
5152
5153 2017-05-11 Florian Weimer <fweimer@redhat.com>
5154
5155 * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
5156 (gaih_inet): Likewise.
5157
5158 2017-05-10 Andreas Schwab <schwab@suse.de>
5159
5160 * nptl/tst-fork1.c: Include <support/test-driver.c>.
5161 (main): Rename to do_test and make static.
5162
5163 2017-05-10 Joseph Myers <joseph@codesourcery.com>
5164
5165 * string/rawmemchr.c: Include <libc-diag.h>.
5166 (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
5167 with size (size_t)-1.
5168
5169 2017-05-09 Joseph Myers <joseph@codesourcery.com>
5170
5171 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
5172 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5173 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5174
5175 * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
5176 [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
5177 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
5178 [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
5179 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
5180 [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
5181 * sysdeps/unix/sysv/linux/kernel-features.h
5182 (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
5183 socket syscalls.
5184 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5185 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5186 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5187 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5188 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5189 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5190 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5191 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5192 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5193 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5194 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5195 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5196 (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5197 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5198 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5199
5200 2017-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5201
5202 * posix/Makefile (headers): Add pthreadtypes-arch.h and
5203 thread-shared-types.h.
5204 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
5205 specific thread definition.
5206 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
5207 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
5208 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
5209 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
5210 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
5211 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
5212 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
5213 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
5214 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
5215 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
5216 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
5217 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
5218 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
5219 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
5220 * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
5221 thread definition between POSIX and C11.
5222 * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
5223 * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
5224 * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
5225 * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
5226 * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
5227 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
5228 * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
5229 * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
5230 * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
5231 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
5232 * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
5233 * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
5234 * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
5235 * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
5236 * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
5237 * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
5238 definitions shared across all architectures.
5239
5240 2017-05-09 Joseph Myers <joseph@codesourcery.com>
5241
5242 * sysdeps/unix/sysv/linux/kernel-features.h
5243 (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
5244 (__ASSUME_SENDMMSG): Likewise.
5245 (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
5246 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
5247 sendmmsg syscall if that can be assumed to be present, socketcall
5248 otherwise, with no fallback for runtime failure.
5249
5250 * sysdeps/unix/sysv/linux/kernel-features.h
5251 (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
5252 (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
5253 (__ASSUME_RECVMMSG): Likewise.
5254 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
5255 recvmmsg syscall if it can be assumed to be present, socketcall
5256 otherwise, with no fallback for runtime failure.
5257
5258 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5259 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5260
5261 * bits/libc-header-start.h:
5262 (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
5263 * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
5264 * manual/creature.texi: Likewise.
5265
5266 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5267 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5268
5269 * math/Makefile:
5270 (type-float128-suffix): New variable
5271 (type-float128-routines): Likewise
5272 (type-float128-yes): Likewise
5273 (types): Append float128 if supported
5274 (types-basic): New variable to control the use of templates for
5275 float, double, and long double, but not for float128 or newer types.
5276 (type-basic-foreach): Likewise.
5277
5278 * sysdeps/ieee754/float128/Makeconfig: New file.
5279 * sysdeps/ieee754/float128/Versions: New file.
5280
5281 2017-05-09 Joseph Myers <joseph@codesourcery.com>
5282
5283 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
5284 Remove macro.
5285 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
5286 prlimit64 is always available and does not give an ENOSYS error.
5287 * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
5288 unconditional.
5289 [!__NR_prlimit64]: Remove conditional code.
5290 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
5291 prlimit64 is always available and does not give an ENOSYS error.
5292 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
5293
5294 2017-05-09 Zack Weinberg <zackw@panix.com>
5295
5296 * sunrpc/tst-xdrmem2.c: Include stdint.h.
5297
5298 2017-05-09 Florian Weimer <fweimer@redhat.com>
5299
5300 [BZ #21474]
5301 * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
5302 (__res_maybe_init): Likewise.
5303
5304 2017-05-09 Zack Weinberg <zackw@panix.com>
5305
5306 * extra-modules.mk: Delete file.
5307 * cppflags-iterator.mk: Rename to ...
5308 * libof-iterator.mk: ...this. Adjust comments.
5309
5310 * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
5311 * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
5312 * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
5313 Use libof-iterator.mk instead of cppflags-iterator.mk or
5314 extra-modules.mk.
5315
5316 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
5317 extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
5318
5319 2017-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
5320
5321 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5322
5323 2017-05-08 Carlos O'Donell <carlos@redhat.com>
5324
5325 * stdio-common/vfprintf.c (EXTSIZ): Define.
5326 (vfprintf): Use EXTSIZ.
5327 (printf_positional): Likewise.
5328
5329 2017-05-08 Joseph Myers <joseph@codesourcery.com>
5330
5331 * sysdeps/unix/sysv/linux/kernel-features.h
5332 (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
5333 * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
5334 <kernel-features.h>.
5335 (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
5336
5337 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5338 (__ASSUME_GETCPU_SYSCALL): Remove macro.
5339
5340 2017-05-08 Florian Weimer <fweimer@redhat.com>
5341
5342 Prevent multiple deletion of temporary files.
5343 * support/temp_file.c (struct temp_name_list): Add owner member.
5344 (add_temp_file): Record owner.
5345 (support_delete_temp_files): Delete file only if owner matches.
5346 * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
5347 (do_prepare): Use create_temp_file instead of add_temp_file.
5348 Initialize temp_fd1, temp_fd2.
5349 (do_test): Use global temp_fd1, temp_fd2 variables. Let the test
5350 framework remove the temporary files.
5351 * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
5352 (do_prepare): Use create_temp_file instead of add_temp_file.
5353 Initialize temp_fd1, temp_fd2, temp_fd3.
5354 (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables. Let
5355 the test framework remove the temporary files.
5356 * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
5357 deletion.
5358 * posix/tst-pathconf.c (do_test): Do not call rmdir on the
5359 temporary directory. It is removed by the test framework.
5360 * dirent/tst-scandir.c (do_test): Likewise.
5361
5362 2017-05-08 Florian Weimer <fweimer@redhat.com>
5363
5364 Delete temporary files in LIFO order.
5365 * support/temp_file.c (struct temp_name_list): Replace q member
5366 with next.
5367 (add_temp_file): Add new file to front of linked list.
5368 (support_delete_temp_files): Use next member.
5369 (support_print_temp_files): Likewise.
5370
5371 2017-05-08 Florian Weimer <fweimer@redhat.com>
5372
5373 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5374 sys/ultrasound.h.
5375 * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
5376
5377 2017-05-08 Joseph Myers <joseph@codesourcery.com>
5378
5379 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5380 Remove.
5381 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5382 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5383 (arch_minimum_kernel): Remove.
5384 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5385 * README: Update statement about Linux kernel requirements.
5386
5387 2017-05-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5388
5389 * manual/llio.texi: Add preadv and pwritev documentation.
5390
5391 2017-05-04 Joseph Myers <joseph@codesourcery.com>
5392
5393 [BZ #21455]
5394 * bits/stdint-intn.h: New file.
5395 * bits/stdint-uintn.h: Likewise.
5396 * stdlib/Makefile (headers): Add bits/stdint-intn.h and
5397 bits/stdint-uintn.h.
5398 * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
5399 <stdint.h>.
5400 * posix/sys/types.h: Include <bits/stdint-intn.h>.
5401 (__int8_t_defined): Do not define here.
5402 (int8_t): Likewise.
5403 (int16_t): Likewise.
5404 (int32_t): Likewise.
5405 (int64_t): Likewise.
5406 [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
5407 * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
5408 <stdint.h>.
5409 * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
5410 * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
5411 <bits/stdint-uintn.h>.
5412 (int8_t): Do not define here.
5413 (int16_t): Likewise.
5414 (int32_t): Likewise.
5415 (int64_t): Likewise.
5416 (uint8_t): Likewise.
5417 (uint16_t): Likewise.
5418 (uint32_t): Likewise.
5419 (uint64_t): Likewise.
5420 * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
5421 variable.
5422 (test-xfail-XPG42/netdb.h/conform): Likewise.
5423 (test-xfail-XPG42/netinet/in.h/conform): Likewise.
5424 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5425 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5426 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5427
5428 2017-05-04 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5429
5430 * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
5431 * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
5432 the above.
5433 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5434 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5435
5436 2017-05-04 Joseph Myers <joseph@codesourcery.com>
5437
5438 [BZ #21445]
5439 * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
5440
5441 [BZ #21457]
5442 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5443 [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
5444 __glibc_reserved1.
5445 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5446 (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
5447 (struct _fpxreg): Likewise.
5448 [!__x86_64__] (struct _fpstate): Rename field reserved to
5449 __glibc_reserved1. Rename field padding to __glibc_reserved2.
5450 [__x86_64__] (struct _fpstate): Rename field padding to
5451 __glibc_reserved1.
5452 (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
5453 Rename field reserved2 to __glibc_reserved2.
5454 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
5455 [__x86_64__] (struct _libc_fpxreg): Rename field padding to
5456 __glibc_reserved1.
5457 [__x86_64__] (struct _libc_fpstate): Rename field padding to
5458 __glibc_reserved1.
5459
5460 2017-05-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5461
5462 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
5463 variable name.
5464
5465 2017-05-03 H.J. Lu <hongjiu.lu@intel.com>
5466
5467 [BZ #21391]
5468 * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
5469 Only call init_cpu_features.
5470 [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
5471 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5472 * sysdeps/i386/dl-procinfo.h: Removed.
5473 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
5474 <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>. Include
5475 <sysdeps/x86/dl-procinfo.h>.
5476 (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
5477 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
5478 Include <sysdeps/x86/dl-procinfo.h> instead of
5479 <sysdeps/generic/dl-procinfo.h>.
5480 * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
5481 (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
5482 * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
5483 (bit_cpu_MOVBE): Likewise.
5484 (bit_cpu_BMI1): Likewise.
5485 (bit_cpu_BMI2): Likewise.
5486 (index_cpu_BMI1): Likewise.
5487 (index_cpu_BMI2): Likewise.
5488 (index_cpu_LZCNT): Likewise.
5489 (index_cpu_MOVBE): Likewise.
5490 (index_cpu_POPCNT): Likewise.
5491 (reg_BMI1): Likewise.
5492 (reg_BMI2): Likewise.
5493 (reg_LZCNT): Likewise.
5494 (reg_MOVBE): Likewise.
5495 (reg_POPCNT): Likewise.
5496 * sysdeps/x86/dl-hwcap.h: New file.
5497 * sysdeps/x86/dl-procinfo.h: Likewise.
5498 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
5499 (_dl_x86_platforms): Likewise.
5500
5501 2017-05-03 DJ Delorie <dj@redhat.com>
5502
5503 [BZ #21411]
5504 * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
5505
5506 2017-05-03 Phil Blundell <pb@pbcl.net>
5507
5508 * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
5509 comments.
5510
5511 2017-05-03 Carlos O'Donell <carlos@redhat.com>
5512
5513 [BZ #20116]
5514 * nptl/pthread_create.c: Expand comments to describe
5515 semaphore-like and mutex-like uses of PD->lock.
5516
5517 2017-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5518
5519 * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
5520 * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
5521 * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
5522 auto-generation list.
5523 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5524 epoll_wait.
5525 * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
5526 Remove epoll_wait.
5527
5528 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
5529 osf_select.
5530 * sysdeps/unix/sysv/linux/alpha/select.c: New file.
5531 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
5532 osf_select from auto-generation list.
5533 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5534 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5535 * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
5536 * sysdeps/unix/sysv/linux/select.c: New file.
5537
5538 * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
5539 * sysdeps/unix/sysv/linux/poll.c: New file.
5540 * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
5541 auto-generation list.
5542
5543 2017-05-03 Joseph Myers <joseph@codesourcery.com>
5544
5545 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
5546 New macro.
5547
5548 2017-05-02 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
5549
5550 [BZ #21179]
5551 * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
5552 R_SPARC_REGISTER relocations.
5553
5554 2017-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5555
5556 * include/unistd.h (__pread): Add libc_hidden_proto.
5557 (__pread64): Likewise.
5558 (__pwrite): Likewise.
5559 * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
5560 (__pread64): Remove.
5561 * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
5562 * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
5563 * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
5564
5565 2017-05-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5566
5567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5568
5569 2017-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5570
5571 * nptl/tst-cancel4-common.c: Use libsupport.
5572 * nptl/tst-cancel4-common.h: Likewise.
5573 * nptl/tst-cancel4.c (tf_read): Likewise.
5574 (tf_readv): Likewise.
5575 (tf_write): Likewise.
5576 (tf_writev): Likewise.
5577 (tf_sleep): Likewise.
5578 (tf_usleep): Likewise.
5579 (tf_nanosleep): Likewise.
5580 (tf_select): Likewise.
5581 (tf_pselect): Likewise.
5582 (tf_poll): Likewise.
5583 (tf_ppoll): Likewise.
5584 (tf_wait): Likewise.
5585 (tf_waitpid): Likewise.
5586 (tf_waitid): Likewise.
5587 (tf_sigpause): Likewise.
5588 (tf_sigsuspend): Likewise.
5589 (tf_sigwait): Likewise.
5590 (tf_sigwaitinfo): Likewise.
5591 (tf_sigtimedwait): Likewise.
5592 (tf_pause): Likewise.
5593 (tf_accept): Likewise.
5594 (tf_send): Likewise.
5595 (tf_recv): Likewise.
5596 (tf_recvfrom): Likewise.
5597 (tf_recvmsg): Likewise.
5598 (tf_open): Likewise.
5599 (tf_close): Likewise.
5600 (tf_pread): Likewise.
5601 (tf_pwrite): Likewise.
5602 (tf_preadv): Likewise.
5603 (tf_pwritev): Likewise.
5604 (tf_fsync): Likewise.
5605 (tf_fdatasync): Likewise.
5606 (tf_msync): Likewise.
5607 (tf_sendto): Likewise.
5608 (tf_sendmsg): Likewise.
5609 (tf_creat): Likewise.
5610 (tf_connect): Likewise.
5611 (tf_tcdrain): Likewise.
5612 (tf_msgrcv): Likewise.
5613 (tf_msgsnd): Likewise.
5614 * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
5615 * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
5616
5617 * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
5618 expected arguments.
5619 (do_test): Adapt to use libsupport.
5620
5621 2017-05-01 Joseph Myers <joseph@codesourcery.com>
5622
5623 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
5624
5625 * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
5626 (PF_MAX): Set to 44.
5627 (AF_SMC): New macro.
5628
5629 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5630 kernel version to 4.11.
5631
5632 2017-04-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5633
5634 [BZ #21280]
5635 * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
5636 signal of subnormals and adjust the exponent of power of 2 down
5637 when low part has opposite sign.
5638
5639 2017-04-28 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5640
5641 * sysdeps/powerpc/powerpc64le/Implies: New file.
5642 * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
5643 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
5644 * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
5645 * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
5646 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
5647 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
5648 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
5649 * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
5650 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
5651 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
5652 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
5653 * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
5654 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
5655 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
5656 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
5657 * sysdeps/powerpc/preconfigure: New file.
5658 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
5659 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
5660
5661 2017-04-28 Joseph Myers <joseph@codesourcery.com>
5662
5663 * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
5664 inclusion.
5665 * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
5666 Remove.
5667
5668 2017-04-27 Joseph Myers <joseph@codesourcery.com>
5669
5670 * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
5671 (XPG3): Rename standard to XPG4.
5672 * conform/Makefile: Likewise.
5673 * conform/list-header-symbols.pl: Likewise.
5674 * conform/data/aio.h-data: Likewise.
5675 * conform/data/arpa/inet.h-data: Likewise.
5676 * conform/data/complex.h-data: Likewise.
5677 * conform/data/ctype.h-data: Likewise.
5678 * conform/data/dlfcn.h-data: Likewise.
5679 * conform/data/fcntl.h-data: Likewise.
5680 * conform/data/fenv.h-data: Likewise.
5681 * conform/data/float.h-data: Likewise.
5682 * conform/data/fmtmsg.h-data: Likewise.
5683 * conform/data/ftw.h-data: Likewise.
5684 * conform/data/grp.h-data: Likewise.
5685 * conform/data/inttypes.h-data: Likewise.
5686 * conform/data/iso646.h-data: Likewise.
5687 * conform/data/langinfo.h-data: Likewise.
5688 * conform/data/libgen.h-data: Likewise.
5689 * conform/data/limits.h-data: Likewise.
5690 * conform/data/locale.h-data: Likewise.
5691 * conform/data/math.h-data: Likewise.
5692 * conform/data/mqueue.h-data: Likewise.
5693 * conform/data/ndbm.h-data: Likewise.
5694 * conform/data/net/if.h-data: Likewise.
5695 * conform/data/netdb.h-data: Likewise.
5696 * conform/data/netinet/in.h-data: Likewise.
5697 * conform/data/poll.h-data: Likewise.
5698 * conform/data/pthread.h-data: Likewise.
5699 * conform/data/pwd.h-data: Likewise.
5700 * conform/data/sched.h-data: Likewise.
5701 * conform/data/search.h-data: Likewise.
5702 * conform/data/semaphore.h-data: Likewise.
5703 * conform/data/signal.h-data: Likewise.
5704 * conform/data/spawn.h-data: Likewise.
5705 * conform/data/stdbool.h-data: Likewise.
5706 * conform/data/stdint.h-data: Likewise.
5707 * conform/data/stdio.h-data: Likewise.
5708 * conform/data/stdlib.h-data: Likewise.
5709 * conform/data/string.h-data: Likewise.
5710 * conform/data/strings.h-data: Likewise.
5711 * conform/data/stropts.h-data: Likewise.
5712 * conform/data/sys/mman.h-data: Likewise.
5713 * conform/data/sys/resource.h-data: Likewise.
5714 * conform/data/sys/select.h-data: Likewise.
5715 * conform/data/sys/socket.h-data: Likewise.
5716 * conform/data/sys/stat.h-data: Likewise.
5717 * conform/data/sys/statvfs.h-data: Likewise.
5718 * conform/data/sys/time.h-data: Likewise.
5719 * conform/data/sys/timeb.h-data: Likewise.
5720 * conform/data/sys/types.h-data: Likewise.
5721 * conform/data/sys/uio.h-data: Likewise.
5722 * conform/data/sys/un.h-data: Likewise.
5723 * conform/data/sys/wait.h-data: Likewise.
5724 * conform/data/syslog.h-data: Likewise.
5725 * conform/data/termios.h-data: Likewise.
5726 * conform/data/tgmath.h-data: Likewise.
5727 * conform/data/time.h-data: Likewise.
5728 * conform/data/ucontext.h-data: Likewise.
5729 * conform/data/unistd.h-data: Likewise.
5730 * conform/data/utmpx.h-data: Likewise.
5731 * conform/data/varargs.h-data: Likewise.
5732 * conform/data/wchar.h-data: Likewise.
5733 * conform/data/wctype.h-data: Likewise.
5734
5735 2017-04-26 Joseph Myers <joseph@codesourcery.com>
5736
5737 * scripts/build-many-glibcs.py (Context.checkout): Default gcc
5738 version to 7 branch.
5739
5740 2017-04-25 Uros Bizjak <ubizjak@gmail.com>
5741
5742 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
5743 earlyclobber to output operand of sqrt insn.
5744 (__ieee754_sqrtf): Ditto.
5745
5746 2017-04-25 Joseph Myers <joseph@codesourcery.com>
5747
5748 [BZ #21426]
5749 * misc/bits/types/struct_iovec.h: New file.
5750 * misc/Makefile (headers): Add bits/types/struct_iovec.h.
5751 * include/bits/types/struct_iovec.h: New file.
5752 * bits/uio.h (struct iovec): Replace by inclusion of
5753 <bits/types/struct_iovec.h>.
5754 * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
5755 * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
5756 of <sys/uio.h>.
5757 * nptl/tst-cancel4.c: Include <sys/uio.h>
5758 * posix/test-errno.c: Likewise.
5759 * support/resolv_test.c: Likewise.
5760 * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
5761 Remove.
5762 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5763 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5764 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5765
5766 * conform/data/sys/socket.h-data (*_t): Allow.
5767
5768 2017-04-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5769
5770 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
5771 assignment.
5772
5773 2017-04-24 Daurnimator <quae@daurnimator.com>
5774 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5775
5776 [BZ #21340]
5777 * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
5778 * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
5779 * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
5780 valid flags.
5781 * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
5782 * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
5783 POSIX_SPAWN_SETSID.
5784 * sysdeps/posix/spawni.c (__spawni): Likewise.
5785 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5786 * NEWS: Add note about POSIX_SPAWN_SETSID support.
5787
5788 2017-04-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5789
5790 * sysdeps/generic/math_private.h: Move the declaration of many
5791 functions to sysdeps/generic/math_private_calls.h.
5792 * sysdeps/generic/math_private_calls.h: New file with the
5793 declarations of the functions removed from math_private.h
5794 macroized by floating-point type.
5795
5796 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5797
5798 * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
5799 * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
5800 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
5801 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
5802 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
5803 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
5804
5805 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5806
5807 * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
5808 * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
5809 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
5810 (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
5811 FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
5812 New Define.
5813
5814 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5815
5816 * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
5817 * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
5818 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
5819 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
5820 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
5821 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
5822
5823 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5824
5825 * sysdeps/s390/multiarch/ifunc-resolve.h
5826 (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
5827 * sysdeps/s390/multiarch/8bit-generic.c
5828 (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
5829 define ifunc resolvers.
5830
5831 2017-04-21 Florian Weimer <fweimer@redhat.com>
5832
5833 [BZ #20424]
5834 * manual/memory.texi (Replacing malloc): New section.
5835 (Allocating Storage For Program Data): Reference it.
5836 (The GNU Allocator): Likewise.
5837
5838 2017-04-20 Joseph Myers <joseph@codesourcery.com>
5839
5840 * stdlib/Versions (__strtod_internal): List explicitly, not as
5841 wildcard.
5842 (__strtof_internal): Likewise.
5843 (__strtold_internal): Likewise.
5844 (__strtol_internal): Likewise.
5845 (__strtoll_internal): Likewise.
5846 (__strtoul_internal): Likewise.
5847 (__strtoull_internal): Likewise.
5848 (__strtoq_internal): Likewise.
5849 (__strtouq_internal): Likewise.
5850 * wcsmbs/Versions (__wcstod_internal): Likewise.
5851 (__wcstof_internal): Likewise.
5852 (__wcstold_internal): Likewise.
5853 (__wcstol_internal): Likewise.
5854 (__wcstoll_internal): Likewise.
5855 (__wcstoul_internal): Likewise.
5856 (__wcstoull_internal): Likewise.
5857
5858 2017-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5859
5860 * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
5861 struct timespec definition.
5862
5863 2017-04-19 Florian Weimer <fweimer@redhat.com>
5864
5865 * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
5866
5867 2017-04-19 Florian Weimer <fweimer@redhat.com>
5868
5869 * inet/rcmd.c (rresvport_af): Fix typo in comment.
5870 * inet/rexec.c (rexec_af): Likewise.
5871
5872 2017-04-19 Zack Weinberg <zackw@panix.com>
5873
5874 * posix/tst-mmap-offset.c: Include stdint.h.
5875 * resolv/tst-ns_name_compress.c: Include string.h.
5876 * resolv/tst-resolv-edns.c: Include resolv.h.
5877
5878 2017-04-19 Florian Weimer <fweimer@redhat.com>
5879
5880 * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
5881 with __glibc_likely.
5882 * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
5883 Replace __builtin_expect with __glibc_unlikely.
5884 * resolv/res_init.c (__res_vinit): Likewise.
5885 * resolv/res_query.c (__libc_res_nquery): Likewise.
5886 * resolv/res_send.c (__libc_res_nsend): Likewise.
5887
5888 2017-04-19 Florian Weimer <fweimer@redhat.com>
5889
5890 [BZ #15722]
5891 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
5892 with SOCK_CLOEXEC.
5893 * resolv/res_send.c (send_vc, reopen): Likewise.
5894 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
5895 * sysdeps/unix/sysv/linux/check_native.c (__check_native):
5896 Likewise.
5897 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
5898 * inet/rexec.c (rexec_af): Add comment.
5899 * inet/rcmd.c (rresvport_af): Likewise.
5900
5901 2017-04-19 Florian Weimer <fweimer@redhat.com>
5902
5903 * nscd/connections.c (have_accept4): Removed definition.
5904 (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
5905 accept4 works.
5906 * manual/install.texi (Linux): Require at least kernel 3.2.18 for
5907 ia64 because that was the first version with accept4 support.
5908 * support/Makefile (libsupport-routines): Add xaccept4.
5909 * support/xsocket.h (xaccept4): Declare.
5910 * support/xaccept4.c: New file.
5911 * socket/tst-accept4.c: New file.
5912 * socket/Makefile (tests): Add tst-accept4.
5913 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
5914 definition.
5915 * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
5916 comment.
5917 * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
5918 implementation is available.
5919 (accept4): Use the system call if available, otherwise use the
5920 socket call.
5921 * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
5922 Set to 3.2.18.
5923 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5924 (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
5925 accept4 is unconditionally available in later 3.2 stable kernels.
5926 (__ASSUME_ACCEPT4_SYSCALL): Define.
5927 * sysdeps/unix/sysv/linux/kernel-features.h
5928 (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
5929 definitions.
5930 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5931 (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
5932
5933 2017-04-18 Joseph Myers <joseph@codesourcery.com>
5934
5935 * conform/Makefile (tests-special): Do not make addition of
5936 $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
5937 (generated): Do not make addition of $(conformtest-header-base)
5938 conditional on [$(cross-compiling) = no].
5939
5940 [BZ #21267]
5941 * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
5942 if defined by <asm/socket.h> and not previously defined.
5943 (IOCSIZE_SHIFT): Likewise.
5944 (IOC_IN): Likewise.
5945 (IOC_INOUT): Likewise.
5946 (IOC_OUT): Likewise.
5947
5948 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
5949
5950 [BZ #21396]
5951 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5952 Prefer_No_AVX512 if AVX512ER isn't available.
5953 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
5954 (index_arch_Prefer_No_AVX512): Likewise.
5955 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
5956 AVX512 version if Prefer_No_AVX512 is set.
5957 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
5958 Likewise.
5959 * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
5960 * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
5961 Likewise.
5962 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
5963 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
5964 Likewise.
5965 * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
5966 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
5967 Likewise.
5968
5969 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
5970
5971 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5972 Prefer_No_VZEROUPPER if AVX512ER is available.
5973 * sysdeps/x86/cpu-features.h
5974 (bit_cpu_AVX512PF): New.
5975 (bit_cpu_AVX512ER): Likewise.
5976 (bit_cpu_AVX512CD): Likewise.
5977 (bit_cpu_AVX512BW): Likewise.
5978 (bit_cpu_AVX512VL): Likewise.
5979 (index_cpu_AVX512PF): Likewise.
5980 (index_cpu_AVX512ER): Likewise.
5981 (index_cpu_AVX512CD): Likewise.
5982 (index_cpu_AVX512BW): Likewise.
5983 (index_cpu_AVX512VL): Likewise.
5984 (reg_AVX512PF): Likewise.
5985 (reg_AVX512ER): Likewise.
5986 (reg_AVX512CD): Likewise.
5987 (reg_AVX512BW): Likewise.
5988 (reg_AVX512VL): Likewise.
5989
5990 2017-04-18 Florian Weimer <fweimer@redhat.com>
5991
5992 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
5993 O_CLOEXEC is defined.
5994 * include/fcntl.h (__have_o_cloexec): Remove declaration.
5995 * io/Makefile (aux): Remove.
5996 * io/have_o_cloexec.c: Remove file.
5997 * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
5998 defined and works.
5999 * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
6000 defined.
6001 * login/utmp_file.c (O_flags): Remove definition.
6002 (setutent_file): Use O_CLOEXEC instead of O_flags. Assume that
6003 O_CLOEXEC works.
6004 (pututline_file): Likewise.
6005 * malloc/mtrace.c: Assume that O_CLOEXEC works.
6006 * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
6007 definition.
6008 (internal_setgrent): Assume that O_CLOEXEC works.
6009 * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
6010 Remove definition.
6011 (internal_setgrent): Assume that O_CLOEXEC works.
6012 * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
6013 definition.
6014 (internal_setpwent): Assume that O_CLOEXEC works.
6015 * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
6016 definition.
6017 (internal_setspent): Assume that O_CLOEXEC works.
6018 * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
6019 (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS. Assume that
6020 O_CLOEXEC is defined and works.
6021 * nss/Makefile (libnss_files-routines): Remove
6022 files-have_o_cloexec.
6023 * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
6024 defined.
6025 * nss/nss_files/files-XXX.c (internal_setent): Assume that
6026 O_CLOEXEC is defined and works.
6027 * nss/nss_files/files-alias.c (internal_setent): Likewise.
6028 * nss/nss_files/files-have_o_cloexec.c: Remove.
6029 * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
6030 defined.
6031 * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
6032 and works.
6033 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
6034 definition.
6035 * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
6036 * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
6037 * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
6038 (__opendirat, __opendir): Adjust opendir_oflags call.
6039 (check_have_o_cloexec): Remove.
6040 (__alloc_dir): Assume that O_CLOEXEC is defined and works.
6041 * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
6042 defined.
6043 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
6044 Remove definition.
6045
6046 2017-04-18 Florian Weimer <fweimer@redhat.com>
6047
6048 * include/unistd.h (__have_dup3): Remove declaration.
6049 * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
6050 dup3 is available.
6051 * libio/freopen64.c (freopen64): Likewise.
6052 * socket/Makefile (aux): Remove have_sock_cloexec.
6053 * socket/have_sock_cloexec.c: Remove file.
6054 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
6055 definition.
6056 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
6057 Likewise.
6058 * sysdeps/nacl/kernel-features.h: Update comment.
6059
6060 2017-04-18 Florian Weimer <fweimer@redhat.com>
6061
6062 * include/unistd.h (__have_pipe2): Remove declaration.
6063 * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
6064 * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
6065 available.
6066 * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
6067 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
6068 Remove definition.
6069
6070 2017-04-18 Florian Weimer <fweimer@redhat.com>
6071
6072 * malloc/malloc.c (cfree): Turn into compat symbol.
6073 (__cfree): Remove alias.
6074 * stdlib/stdlib.h (cfree): Remove declaration.
6075 * malloc/malloc.h (cfree): Likewise.
6076 * manual/memory.texi (Freeing after Malloc): Remove cfree.
6077 * malloc/Versions (GLIBC_2.26): Add.
6078
6079 2017-04-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6080
6081 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6082 (sysdep_routines): Add strrchr-power8.
6083 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6084 (strrchr): Add __strrchr_power8 to list of strrchr functions.
6085 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
6086 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
6087 (strrchr): Add __strrchr_power8 to ifunc list.
6088 * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
6089
6090 2017-04-17 Rabin Vincent <rabinv@axis.com>
6091
6092 [BZ #21357]
6093 * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
6094 Call free() outside of mutex.
6095
6096 2017-04-13 Florian Weimer <fweimer@redhat.com>
6097
6098 * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
6099 is defined.
6100 * elf/rtld.c (process_envvars): Likewise.
6101 * sysdeps/posix/shm_open.c (shm_open): Likewise.
6102 * elf/dl-profile.c (EXTRA_FLAGS): Remove definition. Use
6103 O_NOFOLLOW directly.
6104 * gmon/gmon.c (O_NOFOLLOW): Remove definition.
6105
6106 2017-04-13 Florian Weimer <fweimer@redhat.com>
6107
6108 [BZ #21369]
6109 Remove EDNS fallback.
6110 * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
6111 handling.
6112 * resolv/res_send.c (send_dg): Likewise.
6113 * resolv/tst-resolv-edns.c (response): Handle "formerr." and
6114 "tcp." prefixes.
6115 (do_test): Send a "formerr."-prefixed query in an attempt to
6116 trigger EDNS fallback.
6117
6118 2017-04-13 Florian Weimer <fweimer@redhat.com>
6119
6120 [BZ #21361]
6121 Limit EDNS buffer size to 1200 bytes.
6122 * include/resolv.h (__res_nopt): Remove declaration.
6123 * resolv/Makefile (tests): tst-resolv-edns.
6124 (tst-resolv-edns): Link with -lresolv, -lpthread.
6125 * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
6126 interval [512, 1200].
6127 * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
6128 we can resize the buffer.
6129 * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
6130 (__res_nopt): Declare.
6131 * resolv/tst-resolv-edns.c: New file.
6132 * resolv/resolv_test.h (struct resolv_edns_info): Define.
6133 (struct resolv_response_context): Add edns member.
6134 * resolv/resolv_test.c (struct query_info): Add edns member.
6135 (parse_query): Extract EDNS information from the query.
6136 (server_thread_udp_process_one): Propagate EDNS data.
6137 (server_thread_tcp_client): Likewise.
6138
6139 2017-04-13 Florian Weimer <fweimer@redhat.com>
6140
6141 [BZ #21359]
6142 * resolv/ns_name.c (ns_name_pack): Do not require an additional
6143 byte in the destination buffer. Avoid out-of-bounds pointer
6144 arithmetic.
6145 * resolv/Makefile (tests): Add tst-ns_name_compress.
6146 (tst-ns_name_compress): Link with -lresolv.
6147 * resolv/tst-ns_name_compress.c: New file.
6148 * resolv/tst-resolv-basic.c (LONG_NAME): Define.
6149 (response): Recognize LONG_NAME.
6150 (do_test): Add LONG_NAME tests.
6151 * resolv/tst-ns_name.c (run_test_case): Fix expected data check
6152 for ns_name_unpack. Add tests for ns_name_pton and
6153 ns_name_compress.
6154
6155 2017-04-13 Florian Weimer <fweimer@redhat.com>
6156
6157 * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
6158 (res_nisourserver): Remove definition.
6159 (p_section, res_npquery, res_nisourserver): Remove declaration.
6160 (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
6161 * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
6162 ... here.
6163 * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
6164 <resolv.h>.
6165 * resolv/res_query.c: Likewise.
6166 * resolv/res_debug.c (p_section): Define as static.
6167
6168 2017-04-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6169
6170 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
6171 strncat-power8.
6172 * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
6173 __strncat_power8 to ifunc list.
6174 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6175 (strncat): Add __strncat_power8 to list of strncat functions.
6176 * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
6177
6178 2017-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6179
6180 [BZ #21270]
6181 * posix/tst-mmap-offset.c (do_prepare): New function.
6182 (do_test): Rename to do_test_bz18877 and use FAIL_RET.
6183 (do_test_bz21270): New function.
6184 * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
6185 * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
6186 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
6187 * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
6188 * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
6189 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
6190 * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
6191 * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
6192 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
6193 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
6194 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
6195 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6196 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6197 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6198 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
6199 * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
6200 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6201 * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
6202 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
6203 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
6204 * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
6205 * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
6206 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
6207 from auto-generation list.
6208 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
6209 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6210 * sysdeps/unix/sysv/linux/mmap.c: New file.
6211 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
6212 offsets and support for mmap2 syscall.
6213
6214 * posix/globtest.sh: Add cleanup routine on trap 0.
6215
6216 2017-04-11 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6217
6218 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
6219 implementation-specific function name and remove unneeded
6220 macros definition.
6221 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
6222 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
6223 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
6224 name if not defined and pass as parameter to macros accordingly.
6225 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6226 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
6227
6228 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
6229 implementation-specific function name and remove unneeded
6230 macros definition.
6231 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
6232 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
6233 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
6234 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
6235 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6236 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
6237 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
6238 name if not defined and pass as parameter to macros accordingly.
6239 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6240 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6241 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6242 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6243 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6244 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
6245
6246 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
6247 implementation-specific function name and remove unneeded macros
6248 definition.
6249 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
6250 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
6251 * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
6252 function name if not defined and pass as parameter to macros
6253 accordingly.
6254 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6255 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
6256
6257 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
6258 implementation-specific function name and remove unneeded macros
6259 definition.
6260 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6261 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6262 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
6263 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
6264 * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
6265 not defined and pass as parameter to macros accordingly.
6266 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6267 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6268 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6269 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
6270
6271 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
6272 strcasestr implementation name and remove unneeded macros definition.
6273 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
6274 strstr implementation name and remove unneeded macros definition.
6275 * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
6276 name if not defined and pass as parameter to macros accordingly.
6277 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
6278
6279 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
6280 implementation-specific function name and remove unneeded macros
6281 definition.
6282 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
6283 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
6284 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
6285 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
6286 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
6287 * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
6288 function name if not defined and pass as parameter to macros
6289 accordingly.
6290 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
6291 * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
6292 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
6293 * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
6294
6295 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
6296 the strlen implementation name and remove unneeded macros definition.
6297 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
6298 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6299 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
6300 the strnlen implementation name and remove unneeded macros definition.
6301 * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
6302 name if not defined and pass as parameter to macros accordingly.
6303 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
6304 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
6305 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6306
6307 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
6308 the implementation-specific function name and remove unneeded
6309 macros definition.
6310 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
6311 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
6312 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
6313 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6314 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
6315 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
6316 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
6317 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
6318 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6319 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
6320 name if not defined and pass as parameter to macros accordingly.
6321 * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
6322 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6323 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
6324 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
6325 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
6326 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
6327 * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
6328 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6329
6330 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
6331 implementation-specific function name and remove unneeded macros
6332 definition.
6333 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
6334 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
6335 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
6336 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
6337 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
6338 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
6339 function name if not defined.
6340 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
6341 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
6342
6343 2017-04-11 Paul Clarke <pc@us.ibm.com>
6344
6345 * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
6346 AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
6347 AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New. Add auxvec
6348 identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
6349
6350 2017-04-11 Florian Weimer <fweimer@redhat.com>
6351 Zack Weinberg <zackw@panix.com>
6352
6353 * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
6354 readdir64 as thread-safe. Update warning about readdir_r.
6355
6356 2017-04-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6357
6358 * sysdeps/unix/sysv/linux/x86/Implies: New file.
6359 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
6360 * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
6361 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
6362 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
6363 * sysdeps/x86/bits/pthreadtypes.h: Move to ...
6364 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6365
6366 2017-04-10 H.J. Lu <hongjiu.lu@intel.com>
6367
6368 * sysdeps/i386/dl-procinfo.c: Include
6369 <sysdeps/x86/dl-procinfo.c>.
6370 * sysdeps/x86_64/dl-procinfo.c: Likewise.
6371 * sysdeps/x86/dl-procinfo.c: New file.
6372
6373 2017-04-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6374
6375 * sysdeps/generic/math_private.h: Remove declarations of
6376 many functions that are already declared in math.h.
6377 * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
6378 declaration for __frexpl.
6379 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
6380 the declarations for __scalbnl and fabsl.
6381
6382 2017-04-09 Dmitry V. Levin <ldv@altlinux.org>
6383
6384 [BZ #20831]
6385 * elf/dl-map-segments.h (_dl_map_segments): Check for failure
6386 of __mprotect to change protection on the excess portion
6387 to disallow all access.
6388
6389 2017-04-07 H.J. Lu <hongjiu.lu@intel.com>
6390
6391 * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
6392 HAS_CPU_FEATURE to check for SSE.
6393 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6394 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
6395 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
6396 * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
6397 * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
6398 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
6399 * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
6400 * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
6401 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6402 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
6403 * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6404 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
6405 * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
6406 * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
6407 (index_cpu_SSE): Likewise.
6408 (reg_SSE): Likewise.
6409
6410 2017-04-07 Paul Eggert <eggert@cs.ucla.edu>
6411
6412 * posix/getopt1.c: Include <config.h>, not "config.h".
6413
6414 2017-04-07 Zack Weinberg <zackw@panix.com>
6415
6416 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
6417 * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
6418 Mention in top-of-file boilerplate that these files are shared
6419 with gnulib.
6420 * posix/getopt.h, posix/bits/getopt_posix.h:
6421 Mention in top-of-file boilerplate that these files are NOT shared
6422 with gnulib, unlike the rest of the getopt implementation.
6423
6424 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
6425 New files, intended to be shared with gnulib.
6426 * posix/bits/getopt_posix.h:
6427 New file, not intended to be shared with gnulib.
6428 * posix/getopt.h: Now just includes features.h,
6429 bits/getopt_core.h, and bits/getopt_ext.h. Will
6430 no longer be shared with gnulib.
6431 * include/bits/getopt_core.h, include/bits/getopt_ext.h
6432 * include/bits/getopt_posix.h: New wrappers.
6433 * posix/Makefile: Install new headers.
6434 * posix/unistd.h, libio/stdio.h:
6435 Include bits/getopt_posix.h instead of getopt.h.
6436
6437 * include/libc-symbols.h: For gnulib compatibility, define
6438 _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
6439 _GL_ATTRIBUTE_CONST.
6440 * posix/getopt.c (_getopt_initialize): Mark argc and argv
6441 parameters with _GL_UNUSED.
6442
6443 * posix/getopt.c: When used standalone, define __libc_use_alloca
6444 as always false and alloca to abort if called.
6445 (process_long_option): Rewrite handling of ambiguous long options
6446 to use a single boolean vector, not a linked list; use
6447 __libc_use_alloca to decide whether to allocate this using alloca.
6448 * posix/tst-getopt_long1.c: Adjust text of expected error message.
6449
6450 * posix/getopt.c (process_long_option): New function split out
6451 from _getopt_internal_r.
6452 (_getopt_internal_r): Replace both copies of the long-option
6453 processing code with calls to process_long_option.
6454 * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
6455 (do_test): Differentiate argv[0] in the two subtests.
6456
6457 * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
6458 * posix/getopt.c (_getopt_internal_r): Move some initialization code...
6459 (_getopt_initialize): ...here. Don't set d->__posixly_correct.
6460
6461 * posix/getopt.h: Add backup definition of __nonnull for
6462 consistency with gnulib. Define __getopt_argv_const to const
6463 if not already defined.
6464 (getopt): Update doc comment from gnulib. Prototype
6465 unconditionally. Add __nonnull annotation.
6466 (__posix_getopt): Add __nonnull annotation.
6467 (getopt_long, getopt_long_only): Use __getopt_argv_const in
6468 prototypes for consistency with gnulib. Add __nonnull
6469 annotations.
6470 * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
6471 (getopt_internal): Change 'argv' argument to type 'char **'.
6472 Remove now-unnecessary casts.
6473 (getopt, __posix_getopt): Eliminate repetition with a macro.
6474 Cast 'argv' to 'char **' when calling _getopt_internal.
6475 * posix/getopt1.c (getopt_long, getopt_long_only):
6476 Use __getopt_argv_const for consistency with gnulib.
6477 Cast 'argv' to 'char **' when calling _getopt_internal.
6478 (_getopt_long_r, _getopt_long_only_r):
6479 Change 'argv' argument to type 'char **'.
6480 (main): Constify 'long_options'.
6481 * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
6482 (_getopt_long_r, _getopt_long_only_r):
6483 Change 'argv' argument to type 'char **'.
6484
6485 * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
6486 (locked_vfxprintf): New helper function. Handle arbitrary
6487 multibyte strings, not just ASCII.
6488 * include/stdio.h: Declare __fxprintf_nocancel.
6489 * posix/getopt.c: When _LIBC is defined, define fprintf to
6490 __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
6491 to _IO_funlockfile. When neither _LIBC nor
6492 _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
6493 funlockfile as no-ops.
6494 (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
6495 the standalone error-printing code can now be used for libc as
6496 well. Add an flockfile/funlockfile pair around one case where
6497 the error message is printed in several chunks. Don't use fputc.
6498 * posix/tst-getopt-cancel.c: New test.
6499 * posix/Makefile: Run it.
6500
6501 * posix/getopt.c (_getopt_internal_r): Don't increment
6502 d->optind a second time when reporting ambiguous -W options.
6503
6504 * posix/getopt_int.h: Include getopt.h.
6505 Use impl-namespace names for all arguments to _getopt_internal and
6506 _getopt_internal_r.
6507 Declare __ordering enum outside the struct.
6508 Harmonize comments with gnulib.
6509 * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
6510 ELIDE_CODE logic entirely. Move inclusion of stdlib.h to
6511 #ifdef TEST block and make unconditional. Do not define NULL.
6512 * posix/getopt.c: Partial merge from gnulib, covering the
6513 initial includes and global declarations, commentary, and
6514 a couple of semantically-neutral code changes.
6515
6516 * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
6517 Use '...' instead of `...' for quotation marks inside
6518 comments and strings.
6519
6520 * config.h.in (USE_NONOPTION_FLAGS): Remove.
6521 * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
6522 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
6523 * posix/getopt_int.h: Likewise.
6524 * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
6525 __libc_argc and __libc_argv externs, which were only used by
6526 #ifdef USE_NONOPTION_FLAGS blocks.
6527 * posix/getopt_init.c: Remove file.
6528 * posix/Makefile (routines): Remove getopt_init.
6529 * include/getopt.h: Don't declare __getopt_initialize_environment.
6530 * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
6531 a comment.
6532
6533 2017-04-07 Florian Weimer <fweimer@redhat.com>
6534
6535 * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
6536
6537 2017-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6538
6539 * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
6540 * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
6541 to __wrap_.udiv.
6542 * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
6543 * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
6544
6545 * sysdeps/i386/symbol-hacks.h: New file.
6546 * sysdeps/m68k/symbol-hacks.h: New file.
6547 * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
6548 * sysdeps/s390/s390-32/symbol-hacks.h: New file.
6549 * sysdeps/unix/sysv/linux/i386/Makefile
6550 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
6551 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6552 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6553 * sysdeps/unix/sysv/linux/m68k/Makefile
6554 [$(subdir) = csu] (sysdep_routines): Likewise.
6555 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6556 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6558 [$(subdir) = csu] (sysdep_routines): Likewise.
6559 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6560 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6561 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
6562 [$(subdir) = csu] (sysdep_routines): Likewise.
6563 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6564 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6565 * sysdeps/wordsize-32/Makefile: Remove file.
6566 * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
6567 * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
6568
6569 2017-04-05 H.J. Lu <hongjiu.lu@intel.com>
6570
6571 * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
6572 (TEST_FUNCTION_ARGV): New.
6573
6574 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6575
6576 * elf/next.c: Import support/test-driver.c instead of
6577 test-skeleton.c and delete TEST_FUNCTION macro definition.
6578 * elf/nodelete.c: Likewise.
6579 * elf/order2.c: Likewise.
6580 * elf/tst-_dl_addr_inside_object.c: Likewise.
6581 * elf/tst-addr1.c: Likewise.
6582 * elf/tst-align.c: Likewise.
6583 * elf/tst-align2.c: Likewise.
6584 * elf/tst-audit11.c: Likewise.
6585 * elf/tst-audit12.c: Likewise.
6586 * elf/tst-audit2.c: Likewise.
6587 * elf/tst-audit9.c: Likewise.
6588 * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
6589 * elf/tst-deep1.c: Likewise.
6590 * elf/tst-dl-iter-static.c: Likewise.
6591 * elf/tst-dlmodcount.c: Likewise.
6592 * elf/tst-dlmopen1.c: Likewise.
6593 * elf/tst-dlmopen2.c: Likewise.
6594 * elf/tst-dlmopen3.c: Likewise.
6595 * elf/tst-dlopen-aout.c: Likewise.
6596 * elf/tst-dlopenrpath.c: Likewise.
6597 * elf/tst-dlsym-error.c: Likewise.
6598 * elf/tst-execstack-needed.c: Likewise.
6599 * elf/tst-execstack-prog.c: Likewise.
6600 * elf/tst-execstack.c: Likewise.
6601 * elf/tst-global1.c: Likewise.
6602 * elf/tst-gnu2-tls1.c: Likewise.
6603 * elf/tst-latepthread.c: Likewise.
6604 * elf/tst-leaks1.c: Likewise.
6605 * elf/tst-linkall-static.c: Likewise.
6606 (do_test): New function.
6607 * elf/tst-nodelete-opened.c: Likewise.
6608 * elf/tst-nodelete.cc: Likewise.
6609 * elf/tst-nodelete2.c: Likewise.
6610 * elf/tst-noload.c: Likewise.
6611 * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
6612 * elf/tst-order-main.c: Likewise.
6613 * elf/tst-pathopt.c: Likewise.
6614 * elf/tst-pie2.c: Likewise.
6615 * elf/tst-piemod1.c: Likewise.
6616 * elf/tst-prelink.c: Likewise.
6617 * elf/tst-protected1a.c: Likewise.
6618 * elf/tst-protected1b.c: Likewise.
6619 * elf/tst-ptrguard1.c: Likewise, import getopt.h,
6620 and define _GNU_SOURCE macro.
6621 (cmdline_process_function): New function.
6622 * elf/tst-relsort1.c: Likewise.
6623 * elf/tst-stackguard1.c: Likewise, import getopt.h,
6624 and define _GNU_SOURCE macro.
6625 (cmdline_process_function): New function.
6626 * elf/tst-thrlock.c: Likewise.
6627 * elf/tst-tls-dlinfo.c: Likewise.
6628 * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
6629 * elf/tst-tls1.c: Likewise.
6630 * elf/tst-tls10.c: Likewise.
6631 * elf/tst-tls11.c: Likewise.
6632 * elf/tst-tls12.c: Likewise.
6633 * elf/tst-tls13.c: Likewise.
6634 * elf/tst-tls14.c: Likewise.
6635 * elf/tst-tls15.c: Likewise.
6636 * elf/tst-tls16.c: Likewise.
6637 * elf/tst-tls17.c: Likewise.
6638 * elf/tst-tls18.c: Likewise.
6639 * elf/tst-tls19.c: Likewise.
6640 * elf/tst-tls2.c: Likewise.
6641 * elf/tst-tls3.c: Likewise.
6642 * elf/tst-tls4.c: Likewise.
6643 * elf/tst-tls5.c: Likewise.
6644 * elf/tst-tls6.c: Likewise.
6645 * elf/tst-tls7.c: Likewise.
6646 * elf/tst-tls8.c: Likewise.
6647 * elf/tst-tls9.c: Likewise.
6648 * elf/tst-tlsalign-extern.c: Likewise.
6649 * elf/tst-tlsalign.c: Likewise.
6650 * elf/tst-unique1.c: Likewise.
6651 * elf/tst-unique2.c: Likewise.
6652 * elf/vismain.c: Likewise.
6653
6654 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6655
6656 * string/test-strnlen.c (do_page_tests): New function
6657 to check length of strings ending at the page boundary.
6658 (test_main): Added call to the do_page_tests function.
6659
6660 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6661 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6662
6663 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6664 (sysdep_routines): Add strnlen-power8.
6665 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6666 (strnlen): Add __strnlen_power8 to list of strnlen functions.
6667 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
6668 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
6669 (__strnlen): Add __strnlen_power8 to ifunc list.
6670 * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
6671
6672 2017-04-04 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6673
6674 * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
6675 the TEST_FUNCTION macro definition.
6676 * wcsmbs/tst-mbrtowc2.c: Likewise.
6677 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6678 * wcsmbs/tst-wchar-h.c: Likewise.
6679 * wcsmbs/tst-wcpncpy.c: Likewise.
6680 * wcsmbs/tst-wcrtomb.c: Likewise.
6681 * wcsmbs/tst-wcsnlen.c: Likewise.
6682 * wcsmbs/tst-wcstof.c: Likewise.
6683
6684 2017-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6685
6686 * nptl/pthread_create.c (START_THREAD_DEFN): Remove
6687 CALL_THREAD_FCT macro usage.
6688 * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
6689 * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
6690 * sysdeps/x86_64/32/nptl/tls.h: Remove file.
6691
6692 * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
6693 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6694 (__ASSUME_REQUEUE_PI): Likewise.
6695 * sysdeps/unix/sysv/linux/kernel-features.h
6696 (__ASSUME_REQUEUE_PI): Likewise.
6697 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6698 (__ASSUME_REQUEUE_PI): Likewise.
6699 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6700 (__ASSUME_REQUEUE_PI): Likewise.
6701 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6702 (__ASSUME_REQUEUE_PI): Likewise.
6703
6704 2017-04-04 Florian Weimer <fweimer@redhat.com>
6705
6706 * resolv/tst-resolv-canonname.c: New file.
6707 * resolv/Makefile (tests): Add tst-resolv-canonname.
6708 (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
6709
6710 2017-04-04 Florian Weimer <fweimer@redhat.com>
6711
6712 * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
6713 Declare.
6714 * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
6715 (NS_MAXCDNAME): Remove definition.
6716 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
6717 * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
6718 (NS_MAXCDNAME): Remove definition.
6719 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
6720
6721 2017-04-04 Florian Weimer <fweimer@redhat.com>
6722
6723 * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
6724 call whose result is not used.
6725
6726 2017-04-04 Florian Weimer <fweimer@redhat.com>
6727
6728 * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
6729 * resolv/Makefile (tests): Add tst-ns_name.
6730 (tst-ns_name): Link with -lresolv.
6731 (tst-ns_name.out): Depend on the input data file.
6732
6733 2017-04-04 Stefan Liebler <stli@linux.vnet.ibm.com>
6734
6735 * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
6736 Clobber also r14.
6737
6738 2017-04-03 Mike Frysinger <vapier@gentoo.org>
6739
6740 [BZ #21253]
6741 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
6742 slack space by 32KiB.
6743
6744 2017-04-01 Wladimir van der Laan <laanwj@gmail.com>
6745
6746 [BZ #21338]
6747 * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
6748 instead of incorrect do_set_arena_test
6749
6750 2017-03-31 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6751
6752 * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
6753 * math/bits/math-finite.h: Likewise.
6754
6755 2017-03-31 Slava Barinov <v.barinov@samsung.com>
6756
6757 [BZ #21289]
6758 * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
6759
6760 2017-03-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6761
6762 * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
6763 non expected inotify_add_watch and quotactl return.
6764
6765 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6766
6767 * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
6768 to int32_t.
6769 * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
6770 as returning int32_t.
6771
6772 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6773
6774 * math/math.h: Include bits/math-finite.h once per
6775 floating-point type.
6776 * math/bits/math-finite.h: Macroize all declarations by
6777 floating-point type.
6778
6779 2017-03-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6780
6781 [BZ #21182]
6782 * string/test-memchr.c (do_test): Add BZ#21182 checks for address
6783 near end of a page.
6784 * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
6785 overflow calculation.
6786
6787 2017-03-28 Steve Ellcey <sellcey@caviumnetworks.com>
6788
6789 * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
6790 (IMPL) Call with 1 instead of 0 as argument.
6791
6792 2017-03-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6793
6794 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
6795 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
6796 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
6797 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
6798 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
6799 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
6800 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
6801 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
6802 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
6803 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
6804 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
6805 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
6806 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6807 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
6808 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
6809 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
6810 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
6811 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
6812 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
6813 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
6814 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
6815 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
6816 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
6817 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
6818 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
6819 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
6820 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
6821 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
6822 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
6823 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
6824 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
6825 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
6826 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
6827 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
6828 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
6829 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
6830 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
6831 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
6832 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
6833 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
6834 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
6835 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
6836 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
6837 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
6838 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
6839 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
6840 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
6841 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
6842 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
6843 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
6844 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
6845 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
6846 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
6847 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
6848 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
6849 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
6850 INLINE_SYSCALL_ERROR_RETURN_VALUE.
6851 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
6852 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
6853 defined.
6854 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
6855 __NR_setgroups32 if defined.
6856 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
6857 if defined.
6858 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
6859 __NR_setresgid32 is defined.
6860 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
6861 __NR_setresuid32 if defined.
6862 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
6863 __NR_setreuid32 if defined.
6864 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
6865 defined.
6866 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
6867 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
6868 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
6869 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
6870 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
6871 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
6872 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
6873 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
6874 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
6875 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
6876 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
6877 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
6878 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6879 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
6880 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
6881 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
6882 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
6883 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
6884 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
6885 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
6886 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
6887 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
6888 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
6889 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
6890 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
6891 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
6892 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
6893 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
6894 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
6895 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
6896 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
6897 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
6898 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
6899 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
6900 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
6901 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
6902 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
6903 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
6904 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
6905 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
6906 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
6907 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
6908 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
6909 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
6910 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
6911 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
6912 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
6913 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
6914 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
6915 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
6916 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
6917 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
6918 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
6919 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
6920 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
6921 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
6922 INLINE_SYSCALL_ERROR_RETURN_VALUE.
6923 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
6924 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
6925 defined.
6926 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
6927 __NR_setgroups32 if defined.
6928 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
6929 if defined.
6930 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
6931 __NR_setresgid32 is defined.
6932 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
6933 __NR_setresuid32 if defined.
6934 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
6935 __NR_setreuid32 if defined.
6936 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
6937 defined.
6938
6939 2017-03-27 Joseph Myers <joseph@codesourcery.com>
6940
6941 [BZ #21277]
6942 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
6943 unconditionally.
6944 (IMAXBEL): Likewise.
6945 (IUTF8): Likewise.
6946
6947 2017-03-27 Szabolcs Nagy <szabolcs.nagy@arm.com>
6948
6949 * sysdeps/aarch64/libm-test-ulps: Update.
6950
6951 2017-03-24 Sunyeop Lee <sunyeop97@gmail.com>
6952
6953 * README.tunables: Updated descriptions.
6954 * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
6955 * scripts/gen-tunables.awk: Updated the code related to the
6956 commit.
6957
6958 2017-03-23 Wilco Dijkstra <wdijkstr@arm.com>
6959
6960 * benchtests/Makefile (string-benchset): Add memcpy-random.
6961 * benchtests/bench-memcpy-random.c: New file.
6962
6963 2017-03-23 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6964
6965 * stdio-common/printf.h (register_printf_modifier): Change the
6966 order of __wur and __THROW.
6967 (register_printf_type): Likewise.
6968
6969 2017-03-23 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6970
6971 * string/test-string.h (TEST_FUNCTION): Use test_main instead of
6972 test_main ().
6973 (CMDLINE_PROCESS): Use function instead of defined macro.
6974 * debug/test-strcpy_chk.c: Import support/test-driver.c and also
6975 <suppport/support.h> to use set_fortify_handler().
6976 * string/bug-envz1.c: Import support/test-driver.c instead of
6977 test-skeleton.c.
6978 * string/bug-strcoll2.c: Likewise.
6979 * string/bug-strtok1.c: Likewise.
6980 * string/stratcliff.c: Likewise.
6981 * string/test-ffs.c: Likewise.
6982 * string/test-memccpy.c: Likewise.
6983 * string/test-memchr.c: Likewise.
6984 * string/test-memcmp.c: Likewise.
6985 * string/test-memcpy.c: Likewise.
6986 * string/test-memmem.c: Likewise.
6987 * string/test-memmove.c: Likewise.
6988 * string/test-memrchr.c: Likewise.
6989 * string/test-memset.c: Likewise.
6990 * string/test-rawmemchr.c: Likewise.
6991 * string/test-strcasecmp.c: Likewise.
6992 * string/test-strcasestr.c: Likewise.
6993 * string/test-strcat.c: Likewise.
6994 * string/test-strchr.c: Likewise.
6995 * string/test-strcmp.c: Likewise.
6996 * string/test-strcpy.c: Likewise.
6997 * string/test-string.h: Likewise.
6998 * string/test-strlen.c: Likewise.
6999 * string/test-strncasecmp.c: Likewise.
7000 * string/test-strncat.c: Likewise.
7001 * string/test-strncmp.c: Likewise.
7002 * string/test-strncpy.c: Likewise.
7003 * string/test-strnlen.c: Likewise.
7004 * string/test-strpbrk.c: Likewise.
7005 * string/test-strrchr.c: Likewise.
7006 * string/test-strspn.c: Likewise.
7007 * string/test-strstr.c: Likewise.
7008 * string/tst-bswap.c: Likewise.
7009 * string/tst-cmp.c: Likewise.
7010 * string/tst-endian.c: Likewise.
7011 * string/tst-inlcall.c: Likewise.
7012 * string/tst-strcoll-overflow.c: Likewise.
7013 * string/tst-strfry.c: Likewise.
7014 * string/tst-strlen.c: Likewise.
7015 * string/tst-strtok.c: Likewise.
7016 * string/tst-strtok_r.c: Likewise.
7017 * string/tst-strxfrm.c: Likewise.
7018 * string/tst-strxfrm2.c: Likewise.
7019 * string/tst-svc.c: Likewise.
7020 * string/tst-svc2.c: Likewise.
7021
7022 2017-03-22 Zack Weinberg <zackw@panix.com>
7023
7024 * stdio-common/bug25.c: Include stdlib.h.
7025 * support/tst-support_format_dns_packet.c: Include stdio.h,
7026 stdlib.h, and string.h.
7027 * support/tst-support_record_failure.c: Include string.h.
7028 * support/tst-support_record_failure-2.sh: Adjust line number
7029 expectations and correct a typo in an error message.
7030
7031 2017-03-21 H.J. Lu <hongjiu.lu@intel.com>
7032
7033 [BZ #21258]
7034 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
7035 Define only if _dl_runtime_resolve is defined to
7036 _dl_runtime_resolve_sse_vex.
7037 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
7038 Fallthrough to _dl_runtime_resolve_sse_vex.
7039
7040 2017-03-21 Joseph Myers <joseph@codesourcery.com>
7041
7042 * INSTALL: Regenerated.
7043
7044 2017-03-21 Thorsten Kukuk <kukuk@suse.com>
7045
7046 * config.h.in: Add LINK_OBSOLETE_NSL.
7047 * config.make.in: Add build-obsolete-nsl.
7048 * configure.ac: Add obsolete-nsl option.
7049 * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
7050 * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
7051 * include/rpcsvc/nislib.h: Likewise.
7052 * include/rpcsvc/ypclnt.h: Likewise.
7053 * manual/install.texi: Document --enable-obsolete-nsl.
7054 * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
7055 * nis/nis_add.c: Replace libnsl_hidden_def with
7056 libnsl_hidden_nolink_def.
7057 * nis/nis_addmember.c: Likewise.
7058 * nis/nis_call.c: Likewise.
7059 * nis/nis_clone_obj.c: Likewise.
7060 * nis/nis_defaults.c: Likeise.
7061 * nis/nis_domain_of_r.c: Likewise.
7062 * nis/nis_error.c: Likewise.
7063 * nis/nis_file.c: Likewise.
7064 * nis/nis_free.c: Likewise.
7065 * nis_local_names.c: Likewise.
7066 * nis/nis_lookup.c: Likewise.
7067 * nis/nis_modify.c: Likewise.
7068 * nis/nis_print.c: Likewise.
7069 * nis/nis_remove.c: Likewise.
7070 * nis/nis_table.c: Likewise.
7071 * nis/nis_util.c: Likewise.
7072 * nis/nis_xdr.c: Likewise.
7073 * nis/yp_xdr.c: Likewise.
7074 * nis/ypclnt.c: Likewise.
7075 * nis/ypupdate_xdr.c: Likewise.
7076 * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
7077 * nis/nis_clone_dir.c: Likewise.
7078 * nis/nis_clone_res.c: Likewise.
7079 * nis/nis_creategroup.c: Likewise.
7080 * nis/nis_destroygroup.c: Likewise.
7081 * nis/nis_domain_of.c: Likewise.
7082 * nis/nis_getservlist.c: Likewise.
7083 * nis/nis_ismember.c: Likewise.
7084 * nis/nis_mkdir.c: Likewise.
7085 * nis/nis_ping.c: Likewise.
7086 * nis/nis_print_group_entry.c: Likewise.
7087 * nis/nis_removemember.c: Likewise.
7088 * nis/nis_rmdir.c: Likewise.
7089 * nis/nis_server.c: Likewise.
7090 * nis/nis_subr.c: Likewise.
7091 * nis/nis_verifygroup.c: Likewise.
7092
7093 2017-03-21 Stefan Liebler <stli@linux.vnet.ibm.com>
7094
7095 * malloc/tst-interpose-aux.c (check_for_allocations):
7096 Move compiler barrier before free.
7097
7098 2017-03-20 Joseph Myers <joseph@codesourcery.com>
7099
7100 [BZ #21279]
7101 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7102 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7103 * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
7104 x86_64-x32-linux.
7105 (mq_attr.mq_maxmsg): Likewise.
7106 (mq_attr.mq_msgsize): Likewise.
7107 (mq_attr.mq_curmsgs): Likewise.
7108
7109 [BZ #21278]
7110 * sysdeps/unix/sysv/linux/mips/mips32/Makefile
7111 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7112 * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
7113 mips-o32-linux.
7114
7115 [BZ #21268]
7116 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
7117 if [__USE_MISC]
7118 (NL3): Likewise.
7119
7120 2017-03-20 Mike Frysinger <vapier@gentoo.org>
7121
7122 [BZ #21275]
7123 * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
7124 __stack to __stackbase.
7125 (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
7126 checks so we can include defined(__ia64__) first.
7127
7128 2017-03-19 Christian Brauner <christian.brauner@ubuntu.com>
7129
7130 * sysdeps/unix/sysv/linux/ttyname.h: New file.
7131 * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
7132 (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
7133 Call is_pty when the link does not exist or does not match, fail
7134 with ENODEV when it returns true.
7135 * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
7136 (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
7137 Call is_pty when the link does not exist or does not match, fail
7138 with ENODEV when it returns true.
7139
7140 2017-03-18 Joseph Myers <joseph@codesourcery.com>
7141
7142 [BZ #16437]
7143 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7144 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7145 * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
7146 x86_64-x32-linux.
7147 * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
7148 * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
7149 * conform/data/time.h-data (timespec.tv_nsec): Likewise.
7150
7151 [BZ #21261]
7152 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
7153 [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
7154 names for all fields.
7155 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
7156 for jmp_buf field renaming.
7157 (_JMPBUF_UNWINDS_ADJ): Likewise.
7158
7159 * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
7160 with allow-header.
7161
7162 2017-03-17 Chris Evans <scarybeasts@gmail.com>
7163
7164 * malloc/malloc.c (unlink): Add consistency check between size and
7165 next->prev->size, to further harden against 1-byte overflows.
7166
7167 2017-03-17 H.J. Lu <hongjiu.lu@intel.com>
7168
7169 * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
7170 CPU_FEATURES_CPU_P.
7171
7172 2017-03-17 Joseph Myers <joseph@codesourcery.com>
7173
7174 [BZ #21259]
7175 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
7176 unconditionally, not just for [__USE_MISC].
7177
7178 [BZ #17786]
7179 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
7180 * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
7181 mips-o32-linux.
7182
7183 [BZ #21260]
7184 * sysdeps/unix/sysv/linux/alpha/Makefile
7185 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7186 * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
7187
7188 * conform/conformtest.pl ($cross): New variable.
7189 (--cross): New command-line option.
7190 (runtest): Skip test execution when cross-compiling.
7191 * conform/Makefile (conformtest-cross): New variable.
7192 ($(conformtest-header-tests)): Pass $(conformtest-cross) to
7193 conformtest.pl.
7194
7195 * conform/conformtest.pl ($xfail_str): New variable.
7196 (--xfail=): New command-line option.
7197 (top level): Handle expectations starting xfail[cond]-.
7198 * conform/Makefile (conformtest-xfail): New variable.
7199 ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
7200 conformtest.pl.
7201
7202 2017-03-16 Joseph Myers <joseph@codesourcery.com>
7203
7204 * conform/conformtest.pl: Use compilation instead of execution
7205 tests for testing values of constants and usability in #if.
7206
7207 2017-03-16 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7208
7209 * math/auto-libm-test-in: Mark some catan and catanh as
7210 xfail-rounding:ibm128-libgcc.
7211 * math/auto-libm-test-out-catan: Regenerate.
7212 * math/auto-libm-test-out-catanh: Likewise.
7213
7214 2017-03-16 Joseph Myers <joseph@codesourcery.com>
7215
7216 * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
7217 (__END_NAMESPACE_STD): Likewise.
7218 (__USING_NAMESPACE_STD): Likewise.
7219 (__BEGIN_NAMESPACE_C99): Likewise.
7220 (__END_NAMESPACE_C99): Likewise.
7221 (__USING_NAMESPACE_C99): Likewise.
7222 * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
7223 undefine macro.
7224 (_Mdouble_END_NAMESPACE): Likewise.
7225 * ctype/ctype.h: Do not handle C++ namespaces.
7226 * libio/bits/stdio-ldbl.h: Likewise.
7227 * libio/stdio.h: Likewise.
7228 * locale/locale.h: Likewise.
7229 * math/bits/mathcalls.h: Likewise.
7230 * setjmp/setjmp.h: Likewise.
7231 * signal/signal.h: Likewise.
7232 * stdlib/bits/stdlib-float.h: Likewise.
7233 * stdlib/bits/stdlib-ldbl.h: Likewise.
7234 * stdlib/stdlib.h: Likewise.
7235 * string/string.h: Likewise.
7236 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
7237 * time/bits/types/clock_t.h: Likewise.
7238 * time/bits/types/struct_tm.h: Likewise.
7239 * time/bits/types/time_t.h: Likewise.
7240 * time/time.h: Likewise.
7241 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7242 * wcsmbs/uchar.h: Likewise.
7243 * wcsmbs/wchar.h: Likewise.
7244 [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
7245 * wctype/wctype.h: Do not handle C++ namespaces.
7246 * scripts/begin-end-check.pl: Remove.
7247 * Makefile (installed-headers): Likewise.
7248 (tests-special): Do not add $(objpfx)begin-end-check.out.
7249 ($(objpfx)begin-end-check.out): Remove.
7250
7251 2017-03-15 Steve Ellcey <sellcey@caviumnetworks.com>
7252 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7253
7254 * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
7255 (DL_PLATFORM_INIT): New define.
7256 (dl_platform_init): New function.
7257 * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
7258 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
7259 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
7260 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
7261 * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
7262
7263 2017-03-15 Mike Frysinger <vapier@gentoo.org>
7264
7265 * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
7266 instead of PIC.
7267
7268 2017-03-15 Joseph Myers <joseph@codesourcery.com>
7269
7270 [BZ #21094]
7271 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7272 24+24+24-bit pi for wider range of values around pi/2.
7273 * math/auto-libm-test-in: Add more tests of cos and tan.
7274 * math/auto-libm-test-out-cos: Regenerated.
7275 * math/auto-libm-test-out-tan: Likewise.
7276
7277 2017-03-15 John David Anglin <danglin@gcc.gnu.org>
7278
7279 * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
7280 (RTLD_START): Don't record stack end address in _dl_start_user.
7281
7282 2017-03-15 Alexey Neyman <stilor@att.net>
7283
7284 [BZ #21088]
7285 * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
7286 around definitions match those around use.
7287
7288 2017-03-15 Alexey Neyman <stilor@att.net>
7289
7290 * configure.ac: Avoid empty subexpression in grep.
7291 * configure: Regenerate.
7292
7293 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7294
7295 * posix/test-errno.c (do_test): Initialize setsockopt optlen.
7296 * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
7297 * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
7298 (test_wrp_rv): Fix format.
7299 (test_wrp_rv2): New macro.
7300 (do_test): Handle mlock return on 64 bits kernels with 32 bits
7301 binaries.
7302
7303 2017-03-15 Joseph Myers <joseph@codesourcery.com>
7304
7305 * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
7306 Use a union when storing pointers.
7307 (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
7308 cast result when passing to INIT_VEC_PTRS_LOOP.
7309 (VECTOR_WRAPPER_fFF_3): Likewise.
7310 (VECTOR_WRAPPER_fFF_4): Likewise.
7311
7312 2017-03-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7313
7314 * include/bits/mathcalls-helper-functions.h: New file.
7315 * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
7316 * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
7317 (__isinf, __isnan, __issignaling, __signbit): Move declarations to
7318 math/bits/mathcalls-helper-functions.h.
7319 * math/bits/mathcalls-helper-functions.h: New file.
7320 * math/math.h: Include bits/mathcalls-helper-functions.h for
7321 float, double, and long double.
7322
7323 2017-03-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7324
7325 * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
7326 instead of feraiseexcept.
7327
7328 2017-03-15 Florian Weimer <fweimer@redhat.com>
7329
7330 [BZ #21243]
7331 * support/temp_file.c (support_delete_temp_files): Add comment
7332 about ignored errors.
7333
7334 2017-03-15 Florian Weimer <fweimer@redhat.com>
7335
7336 [BZ #21244]
7337 * support/xclose.c: New file.
7338 * support/Makefile (libsupport-routines): Add xclose.
7339 * support/xunistd.h (xclose): Declare.
7340 * support/resolv_test.c (server_thread_tcp_client)
7341 (server_thread_tcp, make_server_sockets, resolv_test_start)
7342 (resolv_test_end): Call xclose instead of close.
7343 * support/support_enter_network_namespace.c
7344 (support_enter_network_namespace): Likewise.
7345 * support/support_run_diff.c (write_to_temp_file): Likewise.
7346
7347 2017-03-15 Florian Weimer <fweimer@redhat.com>
7348
7349 * support/support_format_dns_packet.c (support_format_dns_packet):
7350 Handle CNAME records in the response. Extract RDATA names from
7351 rdata, not the whole packet. Check AAAA record length.
7352 * support/tst-support_format_dns_packet.c: New file.
7353 * support/Makefile (tests): Add tst-support_format_dns_packet.
7354 (tst-support_format_dns_packet): Link against libresolv.
7355
7356 2017-03-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7357
7358 [BZ #21232]
7359 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
7360 posix_fadvise64 weak_alias for static build.
7361
7362 2017-03-14 Andreas Schwab <schwab@suse.de>
7363
7364 * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
7365 * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
7366 (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
7367 * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
7368 * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
7369 (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
7370 * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
7371 * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
7372
7373 2017-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
7374
7375 * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
7376 posix error code.
7377 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7378
7379 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7380
7381 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
7382 no_isolate usage for SH.
7383
7384 2017-03-13 Wilco Dijkstra <wdijkstr@arm.com>
7385
7386 [BZ #15105]
7387 [BZ #19463]
7388 * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
7389 * inet/rcmd.c (rcmd_af): Likewise.
7390 * inet/rexec.c (rexec_af): Likewise.
7391 * intl/dcigettext.c (_LIBC): Likewise.
7392 * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
7393 * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
7394 * locale/setlocale.c (setlocale): Likewise.
7395 * posix/spawn_faction_addopen.c
7396 (posix_spawn_file_actions_addopen): Likewise.
7397 * stdlib/putenv.c (putenv): Use __strndup.
7398 * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
7399 * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
7400 * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
7401 (__Need_M_And_C) Remove define/undef.
7402 * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
7403 (__malloc_and_calloc_defined): Remove define.
7404 * string/bits/string2.h (__strdup): Remove define.
7405 (strdup): Likewise.
7406 (__strndup): Likewise.
7407 (strndup): Likewise.
7408
7409 2017-03-13 Joseph Myers <joseph@codesourcery.com>
7410
7411 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
7412 macro.
7413 (IPV6_ADDR_PREFERENCES): Likewise.
7414 (IPV6_MINHOPCOUNT): Likewise.
7415 (IPV6_ORIGDSTADDR): Likewise.
7416 (IPV6_RECVORIGDSTADDR): Likewise.
7417 (IPV6_TRANSPARENT): Likewise.
7418 (IPV6_UNICAST_IF): Likewise.
7419 (IPV6_RECVFRAGSIZE): Likewise.
7420
7421 2017-03-13 Thorsten Kukuk <kukuk@suse.com>
7422
7423 * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
7424
7425 2017-03-12 Alexey Neyman <stilor@att.net>
7426
7427 * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
7428 in R_SH_DIR32 case is always false when inlined from
7429 dl-conflict.c. Ifdef out to prevent GCC from insertin an
7430
7431 2016-03-12 Marko Myllynen <myllynen@redhat.com>
7432
7433 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7434 (__ASSUME_RECV_SYSCALL): Replace duplicate by
7435 __ASSUME_SEND_SYSCALL.
7436
7437 2017-03-11 Thorsten Kukuk <kukuk@suse.com>
7438
7439 * sunrpc/Makefile: don't build and install rpcsvc header
7440 files, rpcgen and librpcsvc.a by default.
7441
7442 2017-03-10 Stefan Liebler <stli@linux.vnet.ibm.com>
7443
7444 * math/auto-libm-test-out-catan: Regenerated.
7445 * math/auto-libm-test-out-catanh: Likewise.
7446 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7447
7448 2017-03-09 Joseph Myers <joseph@codesourcery.com>
7449
7450 * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
7451 for long double with corrected test expectations.
7452
7453 2016-03-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7454
7455 * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
7456 Define.
7457 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
7458 (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
7459 * sysdeps/unix/sysv/linux/nios2/sysdep.h
7460 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7461 * sysdeps/unix/sysv/linux/tile/sysdep.h
7462 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7463 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7464 (__ASSUME_RECV_SYSCALL): Define.
7465 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7466 (__ASSUME_RECV_SYSCALL): Likewise.
7467 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7468 (__ASSUME_RECV_SYSCALL): Likewise.
7469 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7470 (__ASSUME_RECV_SYSCALL): Likewise.
7471 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7472 (__ASSUME_RECV_SYSCALL): Likewise.
7473 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7474 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
7475 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7476 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7477 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7478 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7479 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
7480 auto-generation list.
7481 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7482 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7483 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
7484 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7485 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7486 * sysdeps/unix/sysv/linux/send.c: Simplify includes.
7487 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
7488 __ASSUME_SENDTO_SYSCALL.
7489 * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
7490 * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
7491 * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
7492
7493 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
7494 auto-generation list.
7495 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7496 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7497 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7498 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7499 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7500 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7501 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7502 * sysdeps/unix/sysv/linux/kernel-features.h
7503 (__ASSUME_SENDTO_SYSCALL): Define by default.
7504 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7505 (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
7506 __NR_sendto.
7507 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7508 (__ASSUME_SENDTO_SYSCALL): Likewise.
7509 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7510 (__ASSUME_SENDTO_SYSCALL): Likewise.
7511 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7512 (__ASSUME_SENDTO_SYSCALL): Remove definition.
7513 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7514 (__ASSUME_SENDTO_SYSCALL): Likewise.
7515 * sysdeps/unix/sysv/linux/sh/kernel-features.h:
7516 (__ASSUME_SENDTO_SYSCALL): Likewise.
7517 * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
7518
7519 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
7520 auto-generation list.
7521 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7522 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7523 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7524 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7525 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7526 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7527 (__ASSUME_RECV_SYSCALL): New define.
7528 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7529 (__ASSUME_RECV_SYSCALL): Likewise.
7530 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7531 (__ASSUME_RECV_SYSCALL): Likewise.
7532 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7533 (__ASSUME_RECV_SYSCALL): Likewise.
7534 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7535 (__ASSUME_RECV_SYSCALL): Likewise.
7536 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7537 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7538 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7539 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7540 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7541 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7542 * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
7543 * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
7544 * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
7545 * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
7546 (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
7547 __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
7548
7549 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
7550 auto-generation list.
7551 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7552 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7553 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7554 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7555 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7556 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7557 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7558 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7559 (__ASSUME_RECVFROM_SYSCALL): Define by default.
7560 * sysdeps/unix/sysv/linux/kernel-features.h
7561 (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
7562 __NR_recvfrom.
7563 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7564 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7565 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7566 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7567 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7568 (__ASSUME_RECVFROM_SYSCALL): Remove definition.
7569 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7570 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7571 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7572 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7573 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7574 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7575 * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
7576
7577 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
7578 auto-generation list.
7579 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7580 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7581 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7582 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7583 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7584 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7585 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7586 * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
7587 * sysdeps/unix/sysv/linux/kernel-features.h
7588 (__ASSUME_CONNECT_SYSCALL): Define.
7589 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7590 (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
7591 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7592 (__ASSUME_CONNECT_SYSCALL): Likewise.
7593 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7594 (__ASSUME_CONNECT_SYSCALL): Likewise.
7595 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7596 (__ASSUME_CONNECT_SYSCALL): Likewise.
7597
7598 * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
7599 __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
7600 * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
7601 auto-generation list.
7602 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7603 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7604 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7605 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7606 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7607 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7608 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7609 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7610 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7611 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7612 * sysdeps/unix/sysv/linux/kernel-features.h
7613 (__ASSUME_ACCEPT_SYSCALL): New define.
7614 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7615 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7616 (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
7617 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7618 (__ASSUME_ACCEPT_SYSCALL): Define.
7619 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7620 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7621 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7622 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7623 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7624 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7625 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7626 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7627 (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
7628
7629 2017-03-08 Yury Norov <ynorov@caviumnetworks.com>
7630 Zack Weinberg <zackw@panix.com>
7631
7632 * posix/test-errno.c: New file.
7633 * posix/Makefile (tests): Add test-errno.
7634 * sysdeps/unix/sysv/linux/test-errno.c: New file.
7635 * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
7636
7637 2017-03-08 Stefan Liebler <stli@linux.vnet.ibm.com>
7638
7639 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7640
7641 2017-03-07 Florian Weimer <fweimer@redhat.com>
7642
7643 * time/tzset.c (compute_offset): Open-code min macro.
7644 (min, max, sign): Remove.
7645
7646 2017-03-07 Florian Weimer <fweimer@redhat.com>
7647
7648 [BZ #15576]
7649 Remove TZNAME_MAX limit from sysconf.
7650 * include/time.h (__tzname_cur_max, __tzname_max): Remove
7651 declaration.
7652 * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
7653 compute_tzname_max.
7654 (compute_tzname_max): Remove.
7655 * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
7656 (update_vars): Do not update __tzname_cur_max.
7657 (tzset_internal): Remove argument.
7658 (__tzset): Adjust call to tzset_internal.
7659 (__tz_convert): Likewise.
7660
7661 * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
7662 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7663 * manual/conf.texi (Sysconf Definition): Update comment.
7664
7665 2017-03-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7666
7667 [BZ #21209]
7668 * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
7669 AT_SECURE processes.
7670 * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
7671 * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
7672 (test_child): Likewise.
7673 * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
7674
7675 2017-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7676
7677 * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
7678
7679 2017-03-06 Stefan Liebler <stli@linux.vnet.ibm.com>
7680
7681 * sysdeps/s390/atomic-machine.h
7682 (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
7683 (__arch_compare_and_exchange_val_8_acq,
7684 __arch_compare_and_exchange_val_16_acq,
7685 __arch_compare_and_exchange_val_32_acq,
7686 __arch_compare_and_exchange_val_64_acq):
7687 Delete macro.
7688 (atomic_compare_and_exchange_val_acq,
7689 atomic_compare_and_exchange_val_rel,
7690 atomic_compare_and_exchange_bool_acq,
7691 catomic_compare_and_exchange_bool_acq,
7692 atomic_exchange_acq, atomic_exchange_rel,
7693 atomic_exchange_and_add_acq,
7694 atomic_exchange_and_add_rel,
7695 catomic_exchange_and_add, atomic_or_val,
7696 atomic_or, catomic_or, atomic_bit_test_set,
7697 atomic_and_val, atomic_and, catomic_and):
7698 Define macros with help of C11 atomic builtins.
7699
7700 2017-03-03 Justus Winter <justus@gnupg.org>
7701
7702 * sysdeps/mach/hurd/ftruncate64.c: New file.
7703 * sysdeps/mach/hurd/truncate64.c: Likewise.
7704
7705 2017-03-03 Florian Weimer <fweimer@redhat.com>
7706
7707 * time/tzfile.c (NOID): Do not define.
7708 * time/tzset.c (NOID): Likewise.
7709
7710 2017-03-03 Florian Weimer <fweimer@redhat.com>
7711
7712 * time/tzset.c (compute_offset): Remove __attribute_noinline__.
7713
7714 2017-03-02 Florian Weimer <fweimer@redhat.com>
7715
7716 * elf/get-dynamic-info.h: Remove header file inclusion guard.
7717
7718 2017-03-02 Florian Weimer <fweimer@redhat.com>
7719
7720 [BZ #21015]
7721 * manual/install.texi (Configuring and compiling): Document
7722 --enable-bind-now.
7723 * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
7724 (build-shlib-helper): Use $(LDFLAGS-lib.so).
7725 (format.lds): Likewise.
7726 [bind-now] (LDFLAGS-c.so): Remove.
7727 * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
7728 be R_X86_64_GLOB_DAT.
7729 * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
7730 relocation can be R_386_GLOB_DAT.
7731 * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
7732 relocaiton can be R_ALPHA_GLOB_DAT.
7733 * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
7734
7735 2017-03-01 Zack Weinberg <zackw@panix.com>
7736
7737 * include/libc-pointer-arith.h: New file. Define
7738 cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
7739 PTR_ALIGN_DOWN here.
7740 * include/libc-internal.h: Definitions of above macros
7741 moved from here. Don't include libc-diag.h anymore either.
7742 * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
7743 Don't include libc-internal.h.
7744
7745 * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
7746 * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
7747 * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
7748 * string/strcoll_l.c, sysdeps/nacl/brk.c
7749 * sysdeps/unix/clock_settime.c
7750 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
7751 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
7752 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7753 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
7754 Don't include libc-internal.h.
7755
7756 * elf/get-dynamic-info.h, iconv/loop.c
7757 * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
7758 * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
7759 * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
7760 * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
7761 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
7762 * sysdeps/ieee754/dbl-64/k_rem_pio2.c
7763 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
7764 * sysdeps/ieee754/flt-32/k_rem_pio2f.c
7765 * sysdeps/ieee754/ldbl-128/k_tanl.c
7766 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
7767 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
7768 * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
7769 Include libc-diag.h instead of libc-internal.h.
7770
7771 * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
7772 * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
7773 * malloc/malloc.c, sysdeps/i386/nptl/tls.h
7774 * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
7775 * sysdeps/unix/sysv/linux/spawni.c
7776 * sysdeps/x86_64/nptl/tls.h:
7777 Include libc-pointer-arith.h instead of libc-internal.h.
7778
7779 * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
7780 * sysdeps/x86_64/atomic-machine.h:
7781 Add multiple include guard.
7782
7783 * nss/tst-cancel-getpwuid_r.c: Include nss.h.
7784 * string/strcasestr.c: No need to include config.h.
7785 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
7786 sys/auxv.h. Don't include sysdep.h.
7787 * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
7788
7789 * dlfcn/tst-dladdr.c: Don't include ldsodefs.h. Don't use
7790 DL_LOOKUP_ADDRESS.
7791 * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
7792 LDBL_MANT_DIG is greater than DBL_MANT_DIG.
7793 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
7794 sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
7795 of ARTIFICIAL_LIMIT.
7796 * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
7797 declaration of __clone2.
7798
7799 2017-02-28 Florian Weimer <fweimer@redhat.com>
7800
7801 * scripts/backport-support.sh (latest_commit): New file.
7802
7803 2017-02-28 Florian Weimer <fweimer@redhat.com>
7804
7805 [BZ #20257]
7806 * inet/Makefile (routines): Add deadline.
7807 (tests-static): Add tst-deadline.
7808 * inet/net-internal.h (struct deadline_current_time)
7809 (__deadline_current_time, struct deadline, __deadline_is_infinite)
7810 (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
7811 (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
7812 * inet/deadline.c: New file.
7813 * inet/tst-deadline.c: Likewise.
7814 * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
7815 tst-udp-timeout, tst-udp-garbage.
7816 (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
7817 explicitly.
7818 (tst-udp-garbage): Likewise. Also link against thread library.
7819 * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
7820 struct layout is part of the ABI.
7821 (clntudp_call): Rework timeout handling.
7822 * sunrpc/tst-udp-garbage.c: New file.
7823 * sunrpc/tst-udp-nonblocking.c: Likewise.
7824 * sunrpc/tst-udp-timeout.c: Likewise.
7825
7826 2017-02-28 Florian Weimer <fweimer@redhat.com>
7827
7828 [BZ #5010]
7829 * sunrpc/svc.c (svc_is_mapped): Remove.
7830 (svc_unregister): Obtain mapped status while the service is still
7831 registered.
7832 * sunrpc/Makefile [have-thread-library] (tests): Add
7833 tst-svc_register.
7834 (tst-svc_register): Link against libc.so explicitly and the thread
7835 library.
7836 * sunrpc/tst-svc_register.c: New file.
7837
7838 2017-02-28 Andreas Schwab <schwab@linux-m68k.org>
7839
7840 * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
7841 * sysdeps/pthread/bits/sigthread.h: Likewise.
7842
7843 2017-02-27 Florian Weimer <fweimer@redhat.com>
7844
7845 [BZ #21115]
7846 * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
7847 * sunrpc/Makefile (tests): Add tst-udp-error.
7848 (tst-udp-error): Link against libc.so explicitly.
7849 * sunrpc/tst-udp-error: New file.
7850
7851 2017-02-25 Zack Weinberg <zackw@panix.com>
7852
7853 * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
7854 __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
7855
7856 * sysdeps/generic/math_ldbl.h
7857 * sysdeps/ia64/fpu/math_ldbl.h
7858 * sysdeps/ieee754/ldbl-128/math_ldbl.h
7859 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
7860 * sysdeps/ieee754/ldbl-96/math_ldbl.h
7861 * sysdeps/powerpc/fpu/math_ldbl.h
7862 * sysdeps/x86_64/fpu/math_ldbl.h:
7863 Allow direct inclusion. Use uintNN_t instead of u_intNN_t.
7864 Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
7865 LITTLE_ENDIAN. Include endian.h and/or stdint.h if necessary.
7866 Add copyright notices.
7867
7868 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
7869 Don't use EXTRACT_WORDS64.
7870
7871 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
7872 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
7873 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
7874 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
7875 Include math_ldbl.h, not math_private.h.
7876
7877 2017-02-25 Zack Weinberg <zackw@panix.com>
7878
7879 * include/libc-diag.h: New file. Define ignore_value,
7880 DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
7881 DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
7882
7883 * include/libc-internal.h: Definitions of above macros moved from
7884 here. Include libc-diag.h. Add copyright notice.
7885
7886 * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
7887 * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
7888 * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
7889 * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
7890 * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
7891 * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
7892 * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
7893 * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
7894 Include libc-diag.h instead of libc-internal.h.
7895
7896 * stdlib/tst-environ.c: Include libc-diag.h. Suppress -Wnonnull for
7897 call to unsetenv (NULL).
7898 * nptl/tst-mutex1.c: Include libc-diag.h. Suppress -Wnonnull for
7899 call to pthread_mutexattr_destroy (NULL).
7900
7901 2017-02-25 Zack Weinberg <zackw@panix.com>
7902
7903 * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
7904 * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
7905 __GLIBC_USE (DEPRECATED_GETS). Update comments to indicate
7906 gets was removed from C++ in C++14.
7907 * include/stdio.h: Remove redundant declaration of gets.
7908 * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
7909 be declared, since we are testing it.
7910 * stdio-common/Makefile (tst-gets.c): Compile with
7911 -Wno-deprecated-declarations.
7912 * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
7913 (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
7914 (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
7915 Compile with -Wno-deprecated-declarations.
7916
7917 2017-02-24 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7918
7919 * math/libm-test-support.c (check_ulp): Use LIT() around literal
7920 numbers.
7921
7922 2017-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7923
7924 * resolv/tst-resolv-qtypes.c (domain):
7925 Change type to const pointer to const char.
7926
7927 2017-02-24 Joseph Myers <joseph@codesourcery.com>
7928
7929 * math/Makefile (libm-tests-generated): Remove variable.
7930 (libm-tests-base-normal): New variable.
7931 (libm-tests-base-finite): Likewise.
7932 (libm-tests-base-inline): Likewise.
7933 (libm-tests-base): Likewise.
7934 (libm-tests-normal): Likewise.
7935 (libm-tests-finite): Likewise.
7936 (libm-tests-inline): Likewise.
7937 (libm-tests-vector): Likewise.
7938 (libm-tests): Define in terms of these new variables.
7939 (libm-tests-for-type): New variable.
7940 (libm-tests.o): Move definition.
7941 (tests): Move addition of $(libm-tests).
7942 (generated): Update for new and removed libm test files.
7943 ($(objpfx)libm-test.c): Remove target.
7944 ($(objpfx)libm-have-vector-test.h): Likewise.
7945 (CFLAGS-test-double-vlen2.c): Remove variable.
7946 (CFLAGS-test-double-vlen4.c): Likewise.
7947 (CFLAGS-test-double-vlen8.c): Likewise.
7948 (CFLAGS-test-float-vlen4.c): Likewise.
7949 (CFLAGS-test-float-vlen8.c): Likewise.
7950 (CFLAGS-test-float-vlen16.c): Likewise.
7951 (CFLAGS-test-float.c): Likewise.
7952 (CFLAGS-test-float-finite.c): Likewise.
7953 (CFLAGS-libm-test-support-float.c): Likewise.
7954 (CFLAGS-test-double.c): Likewise.
7955 (CFLAGS-test-double-finite.c): Likewise.
7956 (CFLAGS-libm-test-support-double.c): Likewise.
7957 (CFLAGS-test-ldouble.c): Likewise.
7958 (CFLAGS-test-ldouble-finite.c): Likewise.
7959 (CFLAGS-libm-test-support-ldouble.c): Likewise.
7960 (libm-test-inline-cflags): New variable.
7961 (CFLAGS-test-ifloat.c): Remove variable.
7962 (CFLAGS-test-idouble.c): Likewise.
7963 (CFLAGS-test-ildouble.c): Likewise.
7964 ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
7965 dependencies.
7966 ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
7967 ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
7968 ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
7969 ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
7970 ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
7971 Likewise.
7972 (dependencies on libm-test-support-*.o): Remove.
7973 ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
7974 rules using iterators.
7975 ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
7976 Likewise.
7977 ($(objpfx)libm-test-support-$(o).o): Likewise.
7978 ($(addprefix $(objpfx),$(filter-out $(tests-static)
7979 $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
7980 instead.
7981 ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
7982 define rule instead.
7983 * math/README.libm-test: Update.
7984 * math/libm-test-acos.inc: Include libm-test-driver.c.
7985 (do_test): New function.
7986 * math/libm-test-acosh.inc: Include libm-test-driver.c.
7987 (do_test): New function.
7988 * math/libm-test-asin.inc: Include libm-test-driver.c.
7989 (do_test): New function.
7990 * math/libm-test-asinh.inc: Include libm-test-driver.c.
7991 (do_test): New function.
7992 * math/libm-test-atan.inc: Include libm-test-driver.c.
7993 (do_test): New function.
7994 * math/libm-test-atan2.inc: Include libm-test-driver.c.
7995 (do_test): New function.
7996 * math/libm-test-atanh.inc: Include libm-test-driver.c.
7997 (do_test): New function.
7998 * math/libm-test-cabs.inc: Include libm-test-driver.c.
7999 (do_test): New function.
8000 * math/libm-test-cacos.inc: Include libm-test-driver.c.
8001 (do_test): New function.
8002 * math/libm-test-cacosh.inc: Include libm-test-driver.c.
8003 (do_test): New function.
8004 * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
8005 (do_test): New function.
8006 * math/libm-test-carg.inc: Include libm-test-driver.c.
8007 (do_test): New function.
8008 * math/libm-test-casin.inc: Include libm-test-driver.c.
8009 (do_test): New function.
8010 * math/libm-test-casinh.inc: Include libm-test-driver.c.
8011 (do_test): New function.
8012 * math/libm-test-catan.inc: Include libm-test-driver.c.
8013 (do_test): New function.
8014 * math/libm-test-catanh.inc: Include libm-test-driver.c.
8015 (do_test): New function.
8016 * math/libm-test-cbrt.inc: Include libm-test-driver.c.
8017 (do_test): New function.
8018 * math/libm-test-ccos.inc: Include libm-test-driver.c.
8019 (do_test): New function.
8020 * math/libm-test-ccosh.inc: Include libm-test-driver.c.
8021 (do_test): New function.
8022 * math/libm-test-ceil.inc: Include libm-test-driver.c.
8023 (do_test): New function.
8024 * math/libm-test-cexp.inc: Include libm-test-driver.c.
8025 (do_test): New function.
8026 * math/libm-test-cimag.inc: Include libm-test-driver.c.
8027 (do_test): New function.
8028 * math/libm-test-clog.inc: Include libm-test-driver.c.
8029 (do_test): New function.
8030 * math/libm-test-clog10.inc: Include libm-test-driver.c.
8031 (do_test): New function.
8032 * math/libm-test-conj.inc: Include libm-test-driver.c.
8033 (do_test): New function.
8034 * math/libm-test-copysign.inc: Include libm-test-driver.c.
8035 (do_test): New function.
8036 * math/libm-test-cos.inc: Include libm-test-driver.c.
8037 (do_test): New function.
8038 * math/libm-test-cosh.inc: Include libm-test-driver.c.
8039 (do_test): New function.
8040 * math/libm-test-cpow.inc: Include libm-test-driver.c.
8041 (do_test): New function.
8042 * math/libm-test-cproj.inc: Include libm-test-driver.c.
8043 (do_test): New function.
8044 * math/libm-test-creal.inc: Include libm-test-driver.c.
8045 (do_test): New function.
8046 * math/libm-test-csin.inc: Include libm-test-driver.c.
8047 (do_test): New function.
8048 * math/libm-test-csinh.inc: Include libm-test-driver.c.
8049 (do_test): New function.
8050 * math/libm-test-csqrt.inc: Include libm-test-driver.c.
8051 (do_test): New function.
8052 * math/libm-test-ctan.inc: Include libm-test-driver.c.
8053 (do_test): New function.
8054 * math/libm-test-ctanh.inc: Include libm-test-driver.c.
8055 (do_test): New function.
8056 * math/libm-test-erf.inc: Include libm-test-driver.c.
8057 (do_test): New function.
8058 * math/libm-test-erfc.inc: Include libm-test-driver.c.
8059 (do_test): New function.
8060 * math/libm-test-exp.inc: Include libm-test-driver.c.
8061 (do_test): New function.
8062 * math/libm-test-exp10.inc: Include libm-test-driver.c.
8063 (do_test): New function.
8064 * math/libm-test-exp2.inc: Include libm-test-driver.c.
8065 (do_test): New function.
8066 * math/libm-test-expm1.inc: Include libm-test-driver.c.
8067 (do_test): New function.
8068 * math/libm-test-fabs.inc: Include libm-test-driver.c.
8069 (do_test): New function.
8070 * math/libm-test-fdim.inc: Include libm-test-driver.c.
8071 (do_test): New function.
8072 * math/libm-test-floor.inc: Include libm-test-driver.c.
8073 (do_test): New function.
8074 * math/libm-test-fma.inc: Include libm-test-driver.c.
8075 (do_test): New function.
8076 * math/libm-test-fmax.inc: Include libm-test-driver.c.
8077 (do_test): New function.
8078 * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
8079 (do_test): New function.
8080 * math/libm-test-fmin.inc: Include libm-test-driver.c.
8081 (do_test): New function.
8082 * math/libm-test-fminmag.inc: Include libm-test-driver.c.
8083 (do_test): New function.
8084 * math/libm-test-fmod.inc: Include libm-test-driver.c.
8085 (do_test): New function.
8086 * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
8087 (do_test): New function.
8088 * math/libm-test-frexp.inc: Include libm-test-driver.c.
8089 (do_test): New function.
8090 * math/libm-test-fromfp.inc: Include libm-test-driver.c.
8091 (do_test): New function.
8092 * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
8093 (do_test): New function.
8094 * math/libm-test-getpayload.inc: Include libm-test-driver.c.
8095 (do_test): New function.
8096 * math/libm-test-hypot.inc: Include libm-test-driver.c.
8097 (do_test): New function.
8098 * math/libm-test-ilogb.inc: Include libm-test-driver.c.
8099 (do_test): New function.
8100 * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
8101 (do_test): New function.
8102 * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
8103 (do_test): New function.
8104 * math/libm-test-isfinite.inc: Include libm-test-driver.c.
8105 (do_test): New function.
8106 * math/libm-test-isgreater.inc: Include libm-test-driver.c.
8107 (do_test): New function.
8108 * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
8109 (do_test): New function.
8110 * math/libm-test-isinf.inc: Include libm-test-driver.c.
8111 (do_test): New function.
8112 * math/libm-test-isless.inc: Include libm-test-driver.c.
8113 (do_test): New function.
8114 * math/libm-test-islessequal.inc: Include libm-test-driver.c.
8115 (do_test): New function.
8116 * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
8117 (do_test): New function.
8118 * math/libm-test-isnan.inc: Include libm-test-driver.c.
8119 (do_test): New function.
8120 * math/libm-test-isnormal.inc: Include libm-test-driver.c.
8121 (do_test): New function.
8122 * math/libm-test-issignaling.inc: Include libm-test-driver.c.
8123 (do_test): New function.
8124 * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
8125 (do_test): New function.
8126 * math/libm-test-isunordered.inc: Include libm-test-driver.c.
8127 (do_test): New function.
8128 * math/libm-test-iszero.inc: Include libm-test-driver.c.
8129 (do_test): New function.
8130 * math/libm-test-j0.inc: Include libm-test-driver.c.
8131 (do_test): New function.
8132 * math/libm-test-j1.inc: Include libm-test-driver.c.
8133 (do_test): New function.
8134 * math/libm-test-jn.inc: Include libm-test-driver.c.
8135 (do_test): New function.
8136 * math/libm-test-lgamma.inc: Include libm-test-driver.c.
8137 (do_test): New function.
8138 * math/libm-test-llogb.inc: Include libm-test-driver.c.
8139 (do_test): New function.
8140 * math/libm-test-llrint.inc: Include libm-test-driver.c.
8141 (do_test): New function.
8142 * math/libm-test-llround.inc: Include libm-test-driver.c.
8143 (do_test): New function.
8144 * math/libm-test-log.inc: Include libm-test-driver.c.
8145 (do_test): New function.
8146 * math/libm-test-log10.inc: Include libm-test-driver.c.
8147 (do_test): New function.
8148 * math/libm-test-log1p.inc: Include libm-test-driver.c.
8149 (do_test): New function.
8150 * math/libm-test-log2.inc: Include libm-test-driver.c.
8151 (do_test): New function.
8152 * math/libm-test-logb.inc: Include libm-test-driver.c.
8153 (do_test): New function.
8154 * math/libm-test-lrint.inc: Include libm-test-driver.c.
8155 (do_test): New function.
8156 * math/libm-test-lround.inc: Include libm-test-driver.c.
8157 (do_test): New function.
8158 * math/libm-test-modf.inc: Include libm-test-driver.c.
8159 (do_test): New function.
8160 * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
8161 (do_test): New function.
8162 * math/libm-test-nextafter.inc: Include libm-test-driver.c.
8163 (do_test): New function.
8164 * math/libm-test-nextdown.inc: Include libm-test-driver.c.
8165 (do_test): New function.
8166 * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
8167 (do_test): New function.
8168 * math/libm-test-nextup.inc: Include libm-test-driver.c.
8169 (do_test): New function.
8170 * math/libm-test-pow.inc: Include libm-test-driver.c.
8171 (do_test): New function.
8172 * math/libm-test-remainder.inc: Include libm-test-driver.c.
8173 (do_test): New function.
8174 * math/libm-test-remquo.inc: Include libm-test-driver.c.
8175 (do_test): New function.
8176 * math/libm-test-rint.inc: Include libm-test-driver.c.
8177 (do_test): New function.
8178 * math/libm-test-round.inc: Include libm-test-driver.c.
8179 (do_test): New function.
8180 * math/libm-test-roundeven.inc: Include libm-test-driver.c.
8181 (do_test): New function.
8182 * math/libm-test-scalb.inc: Include libm-test-driver.c.
8183 (do_test): New function.
8184 * math/libm-test-scalbln.inc: Include libm-test-driver.c.
8185 (do_test): New function.
8186 * math/libm-test-scalbn.inc: Include libm-test-driver.c.
8187 (do_test): New function.
8188 * math/libm-test-setpayload.inc: Include libm-test-driver.c.
8189 (do_test): New function.
8190 * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
8191 (do_test): New function.
8192 * math/libm-test-signbit.inc: Include libm-test-driver.c.
8193 (do_test): New function.
8194 * math/libm-test-significand.inc: Include libm-test-driver.c.
8195 (do_test): New function.
8196 * math/libm-test-sin.inc: Include libm-test-driver.c.
8197 (do_test): New function.
8198 * math/libm-test-sincos.inc: Include libm-test-driver.c.
8199 (do_test): New function.
8200 * math/libm-test-sinh.inc: Include libm-test-driver.c.
8201 (do_test): New function.
8202 * math/libm-test-sqrt.inc: Include libm-test-driver.c.
8203 (do_test): New function.
8204 * math/libm-test-tan.inc: Include libm-test-driver.c.
8205 (do_test): New function.
8206 * math/libm-test-tanh.inc: Include libm-test-driver.c.
8207 (do_test): New function.
8208 * math/libm-test-tgamma.inc: Include libm-test-driver.c.
8209 (do_test): New function.
8210 * math/libm-test-totalorder.inc: Include libm-test-driver.c.
8211 (do_test): New function.
8212 * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
8213 (do_test): New function.
8214 * math/libm-test-trunc.inc: Include libm-test-driver.c.
8215 (do_test): New function.
8216 * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
8217 (do_test): New function.
8218 * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
8219 (do_test): New function.
8220 * math/libm-test-y0.inc: Include libm-test-driver.c.
8221 (do_test): New function.
8222 * math/libm-test-y1.inc: Include libm-test-driver.c.
8223 (do_test): New function.
8224 * math/libm-test-yn.inc: Include libm-test-driver.c.
8225 (do_test): New function.
8226 * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
8227 (HAVE_VECTOR): Remove macro.
8228 (START): Do not call HAVE_VECTOR.
8229 * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
8230 * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
8231 * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
8232 * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
8233 * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
8234 * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
8235 * math/test-math-vector.h (FUNC_TEST): New macro.
8236 (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
8237 * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
8238 (double-vlen4-funcs): Likewise.
8239 (double-vlen4-avx2-funcs): Likewise.
8240 (double-vlen8-funcs): Likewise.
8241 (float-vlen4-funcs): Likewise.
8242 (float-vlen8-funcs): Likewise.
8243 (float-vlen8-avx2-funcs): Likewise.
8244 (float-vlen16-funcs): Likewise.
8245 (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
8246 (CFLAGS-test-float-vlen8-avx2.c): Likewise.
8247 * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
8248 macro.
8249 (TEST_VECTOR_sin): Likewise.
8250 (TEST_VECTOR_sincos): Likewise.
8251 (TEST_VECTOR_log): Likewise.
8252 (TEST_VECTOR_exp): Likewise.
8253 (TEST_VECTOR_pow): Likewise.
8254 * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
8255 Likewise.
8256 (TEST_VECTOR_sin): Likewise.
8257 (TEST_VECTOR_sincos): Likewise.
8258 (TEST_VECTOR_log): Likewise.
8259 (TEST_VECTOR_exp): Likewise.
8260 (TEST_VECTOR_pow): Likewise.
8261 * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
8262 Likewise.
8263 (TEST_VECTOR_sinf): Likewise.
8264 (TEST_VECTOR_sincosf): Likewise.
8265 (TEST_VECTOR_logf): Likewise.
8266 (TEST_VECTOR_expf): Likewise.
8267 (TEST_VECTOR_powf): Likewise.
8268 * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
8269 Likewise.
8270 (TEST_VECTOR_sinf): Likewise.
8271 (TEST_VECTOR_sincosf): Likewise.
8272 (TEST_VECTOR_logf): Likewise.
8273 (TEST_VECTOR_expf): Likewise.
8274 (TEST_VECTOR_powf): Likewise.
8275 * math/gen-libm-have-vector-test.sh: Remove file.
8276 * math/libm-test.inc: Likewise.
8277 * math/libm-test-support-double.c: Likewise.
8278 * math/libm-test-support-float.c: Likewise.
8279 * math/libm-test-support-ldouble.c: Likewise.
8280 * math/test-double-finite.c: Likewise.: Likewise.
8281 * math/test-double.c: Likewise.
8282 * math/test-float-finite.c: Likewise.
8283 * math/test-float.c: Likewise.
8284 * math/test-idouble.c: Likewise.
8285 * math/test-ifloat.c: Likewise.
8286 * math/test-ildouble.c: Likewise.
8287 * math/test-ldouble-finite.c: Likewise.
8288 * math/test-ldouble.c: Likewise.
8289 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8290 * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
8291 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8292 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8293 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8294 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8295 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8296 * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
8297 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8298 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8299
8300 2017-02-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8301 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8302
8303 * math/Makefile: Add wrappers to gen-libm-calls.
8304 * math/w_acos_template.c: New file.
8305 * math/w_acosh_template.c: Likewise.
8306 * math/w_asin_template.c: Likewise.
8307 * math/w_atan2_template.c: Likewise.
8308 * math/w_atanh_template.c: Likewise.
8309 * math/w_cosh_template.c: Likewise.
8310 * math/w_exp10_template.c: Likewise.
8311 * math/w_exp2_template.c: Likewise.
8312 * math/w_exp_template.c: Likewise.
8313 * math/w_fmod_template.c: Likewise.
8314 * math/w_hypot_template.c: Likewise.
8315 * math/w_j0_template.c: Likewise.
8316 * math/w_j1_template.c: Likewise.
8317 * math/w_jn_template.c: Likewise.
8318 * math/w_lgamma_r_template.c: Likewise.
8319 * math/w_lgamma_template.c: Likewise.
8320 * math/w_log10_template.c: Likewise.
8321 * math/w_log2_template.c: Likewise.
8322 * math/w_log_template.c: Likewise.
8323 * math/w_pow_template.c: Likewise.
8324 * math/w_remainder_template.c: Likewise.
8325 * math/w_sinh_template.c: Likewise.
8326 * math/w_sqrt_template.c: Likewise.
8327 * math/w_tgamma_template.c: Likewise.: Likewise.
8328 * sysdeps/generic/math-type-macros-double.h
8329 (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
8330 the new wrappers.
8331 * sysdeps/generic/math-type-macros-float.h: Likewise.
8332 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
8333
8334 2017-02-22 Joseph Myers <joseph@codesourcery.com>
8335
8336 * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
8337 New enum constant and macro.
8338
8339 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8340 kernel version to 4.10.
8341
8342 2017-02-21 Joseph Myers <joseph@codesourcery.com>
8343
8344 * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
8345
8346 2017-02-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8347
8348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8349
8350 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
8351
8352 * sysdeps/powerpc/tst-set_ppr.c: New file.
8353 Implement test cases for __ppc_set_ppr_* functions.
8354 * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
8355 in the list of tests.
8356
8357 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
8358
8359 * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
8360 instead of test-skeleton.c.
8361 (do_test): Replaced pthread_create and pthread_join with
8362 xpthread_create and xpthread_join. Use TEST_VERIFY_EXIT macro.
8363 Removed unneeded status variable.
8364 * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
8365 instead of test-skeleton.c.
8366 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
8367
8368 2017-02-20 Mike FABIAN <mfabian@redhat.com>
8369
8370 [BZ #20313]
8371 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8372 201605L, for Unicode 9.
8373
8374 2017-02-20 Joseph Myers <joseph@codesourcery.com>
8375
8376 * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
8377 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8378 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8379 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8380 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8381 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8382
8383 2017-02-19 Zack Weinberg <zackw@panix.com>
8384
8385 * rt/tst-mqueue4.c: Include stdint.h.
8386
8387 2017-02-17 Joseph Myers <joseph@codesourcery.com>
8388
8389 * sysdeps/arm/libm-test-ulps: Update.
8390 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8391 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8392 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8393
8394 2017-01-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8395
8396 [BZ #21029]
8397 * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
8398 * sysdeps/unix/sysv/linux/i386/Makefile
8399 [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
8400 (uses-6-syscall-arguments): Remove.
8401 [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
8402 [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
8403 [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
8404 [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
8405 [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
8406 [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
8407 [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
8408 [$(subdir) = misc] (cflags-pselect.o): Likewise.
8409 [$(subdir) = misc] (cflags-pselect.os): Likewise.
8410 [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
8411 [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
8412 [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
8413 [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
8414 [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
8415 [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
8416 [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
8417 [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
8418 [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
8419 [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
8420 [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
8421 [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
8422 [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
8423 [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
8424 [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
8425 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
8426 Likewise.
8427 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
8428 Likewise.
8429 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
8430 Likewise.
8431 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
8432 Likewise.
8433 [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
8434 [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
8435 [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
8436 [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
8437 * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
8438 ebp on inline assembly.
8439 * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
8440 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8441 Set if CAN_USE_REGISTER_ASM_EBP is set.
8442
8443 2017-02-17 H.J. Lu <hongjiu.lu@intel.com>
8444
8445 * sysdeps/x86/cpu-features.c (init_cpu_features): Use
8446 index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
8447
8448 2017-02-17 Joseph Myers <joseph@codesourcery.com>
8449
8450 * math/auto-libm-test-in: Add tests of catan and catanh.
8451 * math/auto-libm-test-out-catan: New generated file.
8452 * math/auto-libm-test-out-catanh: Likewise.
8453 * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
8454 Move tests with finite inputs, except divide-by-zero cases, to
8455 auto-libm-test-in.
8456 * math/libm-test-catanh.inc (catanh_test_data): Likewise.
8457 * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
8458 (libm-test-funcs-noauto): Remove catan and catanh.
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 * math/auto-libm-test-in: Add tests of casin and casinh.
8464 * math/auto-libm-test-out-casin: New generated file.
8465 * math/auto-libm-test-out-casinh: Likewise.
8466 * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
8467 Move tests with finite inputs to auto-libm-test-in.
8468 * math/libm-test-casinh.inc (casinh_test_data): Likewise.
8469 * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
8470 (libm-test-funcs-noauto): Remove casin and casinh.
8471 * sysdeps/i386/fpu/libm-test-ulps: Update.
8472 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8474
8475 * math/auto-libm-test-in: Add tests of cacos and cacosh.
8476 * math/auto-libm-test-out-cacos: New generated file.
8477 * math/auto-libm-test-out-cacosh: Likewise.
8478 * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
8479 Move tests with finite inputs to auto-libm-test-in.
8480 * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
8481 * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
8482 (libm-test-funcs-noauto): Remove cacos and cacosh.
8483 * sysdeps/i386/fpu/libm-test-ulps: Update.
8484 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8486
8487 Revert:
8488 2017-02-16 Zack Weinberg <zackw@panix.com>
8489
8490 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8491 Don't include init-arch.h.
8492 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8493 Don't include init-arch.h.
8494
8495 2017-02-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8496
8497 [BZ #21171]
8498 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
8499 +Inf and raise divide-by-zero when x is negative.
8500 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
8501 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
8502 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Return
8503 -Inf and raise divide-by-zero when x = +-0.
8504 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8505 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
8506 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
8507 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
8508 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8509 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8510 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8511
8512 2017-02-16 Zack Weinberg <zackw@panix.com>
8513
8514 * scripts/build-many-glibcs.py (bot_build_mail): If the
8515 bot_config does not contain all of the necessary email-
8516 related settings, just print a warning and continue.
8517
8518 2017-02-16 Zack Weinberg <zackw@panix.com>
8519
8520 * crypt/md5.h: Test _LIBC with #if defined, not #if.
8521 * dirent/opendir-tst1.c: Include sys/stat.h.
8522 * dirent/tst-fdopendir.c: Include sys/stat.h.
8523 * dirent/tst-fdopendir2.c: Include stdlib.h.
8524 * dirent/tst-scandir.c: Include stdbool.h.
8525 * elf/tst-auditmod1.c: Include link.h and stddef.h.
8526 * elf/tst-tls15.c: Include stdlib.h.
8527 * elf/tst-tls16.c: Include stdlib.h.
8528 * elf/tst-tls17.c: Include stdlib.h.
8529 * elf/tst-tls18.c: Include stdlib.h.
8530 * iconv/tst-iconv6.c: Include endian.h.
8531 * iconvdata/bug-iconv11.c: Include limits.h.
8532 * io/test-utime.c: Include stdint.h.
8533 * io/tst-faccessat.c: Include sys/stat.h.
8534 * io/tst-fchmodat.c: Include sys/stat.h.
8535 * io/tst-fchownat.c: Include sys/stat.h.
8536 * io/tst-fstatat.c: Include sys/stat.h.
8537 * io/tst-futimesat.c: Include sys/stat.h.
8538 * io/tst-linkat.c: Include sys/stat.h.
8539 * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
8540 * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
8541 * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
8542 * io/tst-openat.c: Include stdbool.h.
8543 * io/tst-readlinkat.c: Include sys/stat.h.
8544 * io/tst-renameat.c: Include sys/stat.h.
8545 * io/tst-symlinkat.c: Include sys/stat.h.
8546 * io/tst-unlinkat.c: Include stdbool.h.
8547 * libio/bug-memstream1.c: Include stdlib.h.
8548 * libio/bug-wmemstream1.c: Include stdlib.h.
8549 * libio/tst-fwrite-error.c: Include stdlib.h.
8550 * libio/tst-memstream1.c: Include stdlib.h.
8551 * libio/tst-memstream2.c: Include stdlib.h.
8552 * libio/tst-memstream3.c: Include stdlib.h.
8553 * malloc/tst-interpose-aux.c: Include stdint.h.
8554 * misc/tst-preadvwritev-common.c: Include sys/stat.h.
8555 * nptl/tst-basic7.c: Include limits.h.
8556 * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
8557 * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
8558 * nptl/tst-cancel4_1.c: Include stddef.h.
8559 * nptl/tst-cancel4_2.c: Include stddef.h.
8560 * nptl/tst-cond16.c: Include limits.h.
8561 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8562 * nptl/tst-cond18.c: Include limits.h.
8563 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8564 * nptl/tst-cond4.c: Include stdint.h.
8565 * nptl/tst-cond6.c: Include stdint.h.
8566 * nptl/tst-stack2.c: Include limits.h.
8567 * nptl/tst-stackguard1.c: Include stddef.h.
8568 * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
8569 * nptl/tst-tls4moda.c: Include stddef.h.
8570 Don't include stdio.h, unistd.h, or tls.h.
8571 * nptl/tst-tls4modb.c: Include stddef.h.
8572 Don't include stdio.h, unistd.h, or tls.h.
8573 * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
8574 * posix/tst-getaddrinfo2.c: Include stdio.h.
8575 * posix/tst-getaddrinfo5.c: Include stdio.h.
8576 * posix/tst-pathconf.c: Include sys/stat.h.
8577 * posix/tst-posix_fadvise-common.c: Include stdint.h.
8578 * posix/tst-preadwrite-common.c: Include sys/stat.h.
8579 * posix/tst-regex.c: Include stdint.h.
8580 Don't include spawn.h or spawn_int.h.
8581 * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
8582 * posix/tst-vfork3.c: Include sys/stat.h.
8583 * resolv/tst-bug18665-tcp.c: Include stdlib.h.
8584 * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
8585 * resolv/tst-resolv-search.c: Include stdlib.h.
8586 * stdio-common/tst-fmemopen2.c: Include stdint.h.
8587 * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
8588 * stdlib/test-canon.c: Include sys/stat.h.
8589 * stdlib/tst-tls-atexit.c: Include stdbool.h.
8590 * string/test-memchr.c: Include stdint.h.
8591 * string/tst-cmp.c: Include stdint.h.
8592 * sysdeps/pthread/tst-timer.c: Include stdint.h.
8593 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
8594 * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
8595 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8596 Don't include init-arch.h.
8597 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8598 Don't include init-arch.h.
8599 * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
8600 * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
8601 * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
8602 * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
8603 * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
8604 * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
8605 * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
8606 * time/clocktest.c: Include stdint.h.
8607 * time/tst-posixtz.c: Include stdint.h.
8608 * timezone/tst-timezone.c: Include stdint.h.
8609
8610 2017-02-16 Zack Weinberg <zackw@panix.com>
8611
8612 * string/string.h [__USE_MISC]: Include strings.h.
8613 (__bzero, bcmp, bcopy, bzero, index, rindex)
8614 (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
8615 (ffs, ffsl, ffsll): Don't declare.
8616 * string/strings.h: Do not suppress the file if string.h has
8617 already been included.
8618 (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
8619 annotations.
8620 (index, rindex): Define inline forwarders even if
8621 __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
8622 (ffs): Use __attribute_const__.
8623 (ffsl, ffsll): Declare here.
8624 (strcasecmp_l, strncasecmp_l): Correct comments; these functions
8625 have now been standardized.
8626 * include/string.h (__bzero): Declare here.
8627
8628 * bits/types.h: Move to posix/bits.
8629 * include/bits/types.h: New wrapper.
8630
8631 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
8632
8633 * string/bits/string2.h (strcmp): Remove define.
8634 (__strcmp_cg): Likewise.
8635 (strncmp): Likewise.
8636
8637 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
8638
8639 * include/string.h: Add __cplusplus check.
8640
8641 2017-02-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8642
8643 [BZ #21134]
8644 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
8645 "divide by zero" exception when the input is zero.
8646 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
8647 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
8648 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
8649 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
8650 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8651
8652 2017-02-15 Joseph Myers <joseph@codesourcery.com>
8653
8654 * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
8655 and include ...
8656 * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here. New file.
8657 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
8658 to, and include ...
8659 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here. New
8660 file.
8661 * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
8662 and include ...
8663 * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here. New file.
8664 * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
8665 and include ...
8666 * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here. New file.
8667 * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
8668 and include ...
8669 * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here. New file.
8670 * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
8671 and include ...
8672 * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here. New file.
8673 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
8674 to, and include ...
8675 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here. New file.
8676 * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
8677 and include ...
8678 * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here. New file.
8679
8680 2017-02-14 Joseph Myers <joseph@codesourcery.com>
8681
8682 * math/libm-test-support.h: Do not include <math-tests-arch.h>
8683 here.
8684 * math/libm-test-support.c (libm_test_init): Do not call
8685 INIT_ARCH_EXT here.
8686 * math/libm-test-driver.c: Include <math-tests-arch.h>.
8687 (main): Call INIT_ARCH_EXT.
8688
8689 2017-02-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8690
8691 [BZ #21130]
8692 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
8693 with the "invalid" exception raised when x is -Inf.
8694 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8695
8696 2017-02-10 Wilco Dijkstra <wdijkstr@arm.com>
8697
8698 * string/bits/string2.h (strchr): Remove define.
8699
8700 2017-02-09 H.J. Lu <hongjiu.lu@intel.com>
8701
8702 * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
8703 tst-avx512.
8704 (test-extras): Add tst-avx-aux and tst-avx512-aux.
8705 (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
8706 (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
8707 ($(objpfx)tst-sse): New rule.
8708 ($(objpfx)tst-avx): Likewise.
8709 ($(objpfx)tst-avx512): Likewise.
8710 (CFLAGS-tst-avx-aux.c): New.
8711 (CFLAGS-tst-avxmod.c): Likewise.
8712 (CFLAGS-tst-avx512-aux.c): Likewise.
8713 (CFLAGS-tst-avx512mod.c): Likewise.
8714 * sysdeps/x86_64/tst-avx-aux.c: New file.
8715 * sysdeps/x86_64/tst-avx.c: Likewise.
8716 * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
8717 * sysdeps/x86_64/tst-avx512.c: Likewise.
8718 * sysdeps/x86_64/tst-avx512mod.c: Likewise.
8719 * sysdeps/x86_64/tst-avxmod.c: Likewise.
8720 * sysdeps/x86_64/tst-sse.c: Likewise.
8721 * sysdeps/x86_64/tst-ssemod.c: Likewise.
8722
8723 2017-02-09 Joseph Myers <joseph@codesourcery.com>
8724
8725 * math/auto-libm-test-in: Add more tests of csin and csinh.
8726 * math/auto-libm-test-out-csin: Regenerated.
8727 * math/auto-libm-test-out-csinh: Likewise.
8728 * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
8729 auto-libm-test-in.
8730 * math/libm-test-csinh.inc (csinh_test_data): Likewise.
8731
8732 2017-02-09 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8733
8734 * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
8735 libm-compat-calls-auto.
8736 (libm-compat-calls): Likewise.
8737 (libm-compat-calls-auto): Rename to libm-compat-calls and add
8738 w_lgamma_compatF and k_standardF (merged from the items above).
8739 (libm-routines): Use libm-compat-calls, instead of
8740 libm-compat-calls-auto, with type-foreach.
8741
8742 2017-02-09 Joseph Myers <joseph@codesourcery.com>
8743
8744 * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
8745 macro.
8746 * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
8747 (CFLAGS-test-ifloat.c): ... this. Remove
8748 -U__LIBC_INTERNAL_MATH_INLINES.
8749 * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
8750 (CFLAGS-test-idouble.c): ... this. Remove
8751 -U__LIBC_INTERNAL_MATH_INLINES.
8752 * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
8753 (CFLAGS-test-ildouble.c): ... this. Remove
8754 -U__LIBC_INTERNAL_MATH_INLINES.
8755
8756 2017-02-08 Joseph Myers <joseph@codesourcery.com>
8757
8758 * math/libm-test-support.c: New file. Content from
8759 math/libm-test-driver.c.
8760 * math/libm-test-support.h: Likewise.
8761 * math/libm-test-support-double.c: New file.
8762 * math/libm-test-support-float.c: Likewise.
8763 * math/libm-test-support-ldouble.c: Likewise.
8764 * math/libm-test-driver.c: Remove main comment and header
8765 includes. Include libm-test-support.h.
8766 [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
8767 (flag_test_errno): Remove static.
8768 (flag_test_exceptions): Likewise.
8769 (flag_test_finite): Likewise.
8770 (flag_test_inline): Likewise.
8771 (flag_test_mathvec): Likewise.
8772 (test_msg): Likewise.
8773 (NO_EXCEPTION): Remove.
8774 (INVALID_EXCEPTION): Likewise.
8775 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
8776 (OVERFLOW_EXCEPTION): Likewise.
8777 (UNDERFLOW_EXCEPTION): Likewise.
8778 (INEXACT_EXCEPTION): Likewise.
8779 (INVALID_EXCEPTION_OK): Likewise.
8780 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8781 (OVERFLOW_EXCEPTION_OK): Likewise.
8782 (UNDERFLOW_EXCEPTION_OK): Likewise.
8783 (NO_INEXACT_EXCEPTION): Likewise.
8784 (EXCEPTIONS_OK): Likewise.
8785 (IGNORE_ZERO_INF_SIGN): Likewise.
8786 (TEST_NAN_SIGN): Likewise.
8787 (TEST_NAN_PAYLOAD): Likewise.
8788 (NO_TEST_INLINE): Likewise.
8789 (XFAIL_TEST): Likewise.
8790 (ERRNO_UNCHANGED): Likewise.
8791 (ERRNO_EDOM): Likewise.
8792 (ERRNO_ERANGE): Likewise.
8793 (IGNORE_RESULT): Likewise.
8794 (NON_FINITE): Likewise.
8795 (TEST_SNAN): Likewise.
8796 (NO_TEST_MATHVEC): Likewise.
8797 (__CONCATX): Likewise.
8798 (TYPE_MIN): Likewise.
8799 (TYPE_TRUE_MIN): Likewise.
8800 (TYPE_MAX): Likewise.
8801 (MIN_EXP): Likewise.
8802 (MAX_EXP): Likewise.
8803 (MANT_DIG): Likewise.
8804 (FSTR_MAX): Likewise.
8805 (ulp_idx): Likewise.
8806 (qtype_str): Remove static.
8807 (TEST_COND_binary32): Remove.
8808 (TEST_COND_binary64): Likewise.
8809 (TEST_COND_binary128): Likewise.
8810 (TEST_COND_ibm128): Likewise.
8811 (TEST_COND_intel96): Likewise.
8812 (TEST_COND_m68k96): Likewise.
8813 (TEST_COND_ibm128_libgcc): Likewise.
8814 (XFAIL_IBM128_LIBGCC): Likewise.
8815 (PAYLOAD_DIG): Likewise.
8816 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8817 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8818 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8819 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8820 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8821 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
8822 (TEST_COND_long32): Likewise.
8823 (TEST_COND_long64): Likewise.
8824 (TEST_COND_before_rounding): Likewise.
8825 (TEST_COND_after_rounding): Likewise.
8826 (ulps_file_name): Likewise.
8827 (ulps_file): Likewise.
8828 (output_ulps): Likewise.
8829 (output_dir): Likewise.
8830 (noErrors): Likewise.
8831 (noTests): Likewise.
8832 (noExcTests): Likewise.
8833 (noErrnoTests): Likewise.
8834 (verbose): Likewise.
8835 (output_max_error): Likewise.
8836 (output_points): Likewise.
8837 (ignore_max_ulp): Likewise.
8838 (max_error): Likewise.
8839 (real_max_error): Likewise.
8840 (imag_max_error): Likewise.
8841 (prev_max_error): Likewise.
8842 (prev_real_max_error): Likewise.
8843 (prev_imag_max_error): Likewise.
8844 (max_valid_error): Likewise.
8845 (TYPE_DECIMAL_DIG): Likewise.
8846 (TYPE_HEX_DIG): Likewise.
8847 (fmt_ftostr): Likewise.
8848 (compare_ulp_data): Likewise.
8849 (find_ulps): Likewise.
8850 (init_max_error): Likewise.
8851 (set_max_error): Likewise.
8852 (print_float): Likewise.
8853 (print_screen): Likewise.
8854 (print_screen_max_error): Likewise.
8855 (update_stats): Likewise.
8856 (print_function_ulps): Likewise.
8857 (print_complex_function_ulps): Likewise.
8858 (fpstack_test): Likewise.
8859 (print_max_error): Likewise.
8860 (print_complex_max_error): Likewise.
8861 (test_single_exception): Likewise.
8862 (test_exceptions): Likewise.
8863 (test_single_errno): Likewise.
8864 (test_errno): Likewise.
8865 (ULPDIFF): Likewise.
8866 (ulp): Likewise.
8867 (check_float_internal): Likewise.
8868 (check_float): Likewise.
8869 (check_complex): Likewise.
8870 (check_int): Likewise.
8871 (check_long): Likewise.
8872 (check_bool): Likewise.
8873 (check_longlong): Likewise.
8874 (check_intmax_t): Likewise.
8875 (check_uintmax_t): Likewise.
8876 (enable_test): Likewise.
8877 (matherr): Likewise.
8878 (initialize): Likewise.
8879 (options): Likewise.
8880 (doc): Remove static.
8881 (argp): Likewise.
8882 (parse_opt): Remove.
8883 (check_ulp): Likewise.
8884 (libm_test_init): Likewise.
8885 (libm_test_finish): Likewise.
8886 * math/Makefile (libm-test-support): New variable.
8887 (test-extras): Add libm-test-support files.
8888 (extra-test-objs): Likewise.
8889 (CFLAGS-libm-test-support-float.c): New variable.
8890 (CFLAGS-libm-test-support-double.c): Likewise.
8891 (CFLAGS-libm-test-support-ldouble.c): Likewise.
8892 ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
8893 libm-test-support objects.
8894
8895 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8896
8897 * math/Makefile (libm-calls): Move w_exp...
8898 (libm-compat-calls-auto): Here.
8899
8900 * math/w_expl.c: Add suffix "_compat" to filename.
8901 * sysdeps/ia64/fpu/w_expl.c: Likewise.
8902 * sysdeps/ia64/fpu/w_expf.c: Likewise.
8903 * sysdeps/ia64/fpu/w_exp.c: Likewise.
8904 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8905 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8906 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8907 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
8908 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8909
8910 * math/w_expl_compat.c: New file, copied from above.
8911 * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
8912 * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
8913 * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
8914 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
8915 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
8916 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
8917 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
8918 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
8919
8920 * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
8921 to filename.
8922 * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
8923
8924 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
8925 copied from above and adjusted for the new filenames.
8926 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
8927
8928 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8929
8930 * math/Makefile (libm-calls): Move w_lgammaF...
8931 (libm-compat-calls-auto): Here.
8932
8933 * math/w_lgamma.c: Add suffix "_compat2" to filename.
8934 * math/w_lgammaf.c: Likewise.
8935 * math/w_lgammal.c: Likewise.
8936
8937 * math/w_lgamma_compat2.c: New file, copied from above.
8938 * math/w_lgammaf_compat2.c: Likewise.
8939 * math/w_lgammal_compat2.c: Likewise.
8940
8941 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8942
8943 * math/Makefile (libm-calls): Move w_lgammaF_r...
8944 (libm-compat-calls-auto): Here.
8945
8946 * math/w_lgamma_r.c: Add suffix "_compat" to filename.
8947 * math/w_lgammaf_r.c: Likewise.
8948 * math/w_lgammal_r.c: Likewise.
8949 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
8950 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
8951 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
8952
8953 * math/w_lgamma_r_compat.c: New file, copied from above.
8954 * math/w_lgammaf_r_compat.c: Likewise.
8955 * math/w_lgammal_r_compat.c: Likewise.
8956 * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
8957 * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
8958 * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
8959
8960 * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
8961 to filename.
8962 * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
8963
8964 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
8965 copied from above and adjusted for the new filenames.
8966 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
8967
8968 2017-02-08 Yury Norov <ynorov@caviumnetworks.com>
8969
8970 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
8971 calculation in SYSCALL_ERROR_HANDLER().
8972
8973 2017-02-08 Rical Jasan <ricaljasan@pacific.net>
8974
8975 * manual/contrib.texi: Fix typo.
8976
8977 2017-02-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
8978
8979 [BZ #21109]
8980 * elf/dl-tunable-types.h (tunable_callback_t): Accept
8981 tunable_val_t as argument.
8982 * elf/dl-tunables.c (__tunable_set_val): Add comment.
8983 * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
8984 argument.
8985 (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
8986
8987 2017-02-08 Kir Kolyshkin <kir@openvz.org>
8988
8989 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
8990 Add PTRACE_EVENT_STOP.
8991 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8992 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8993 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8994 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8995 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
8996 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
8997
8998 2017-02-07 Joseph Myers <joseph@codesourcery.com>
8999
9000 * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
9001 * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
9002 * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
9003 * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
9004 * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
9005 * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
9006 * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
9007 * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
9008 * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
9009 * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
9010
9011 [BZ #21112]
9012 * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
9013 12 bits zero.
9014 (cp_l): Update for new value of cp_h.
9015 * math/auto-libm-test-in: Add another test of pow.
9016 * math/auto-libm-test-out-pow: Regenerated.
9017
9018 2017-02-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9019
9020 * manual/contrib.texi: Fix typo.
9021
9022 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9023
9024 [BZ #15998]
9025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9026 (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
9027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9028
9029 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9030
9031 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
9032 STRCHR as __strchr_power8.
9033 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
9034 strlen as __strlen_power8.
9035
9036 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9037
9038 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
9039 unaligned load for shorter strings.
9040 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
9041
9042 2017-02-06 Joseph Myers <joseph@codesourcery.com>
9043
9044 * math/libm-test-driver.c (flag_test_errno): New variable.
9045 (flag_test_exceptions): Likewise.
9046 (flag_test_finite): Likewise.
9047 (flag_test_inline): Likewise.
9048 (flag_test_mathvec): Likewise.
9049 (test_msg): Likewise.
9050 (ulp_idx): Likewise.
9051 (qtype_str): Likewise.
9052 (ULP_IDX): Remove macro.
9053 (QTYPE_STR): Likewise.
9054 (find_ulps): Use ulp_idx not ULP_IDX.
9055 (print_function_ulps): Use qtype_str, printed with %s, not
9056 QTYPE_STR, printed with concatentation to format string.
9057 (print_complex_function_ulps): Likewise.
9058 (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
9059 (test_errno): Use flag_test_errno not TEST_ERRNO.
9060 (enable_test): Use flag_test_inline, flag_test_finite and
9061 flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
9062 TEST_MATHVEC.
9063 (libm_test_init): New function. Factored out of main.
9064 (libm_test_finish): Likewise.
9065 (main): Call libm_test_init and libm_test_finish and move most
9066 code to those functions.
9067
9068 * math/libm-test-driver.c (STRX): New macro.
9069 (STR): Likewise.
9070 (STR_FLOAT): Likewise.
9071 (STR_VEC_LEN): Likewise.
9072 (TEST_MSG): Likewise. Define here instead of expecting to be
9073 defined by including file.
9074 * math/test-double-finite.c (TEST_MSG): Remove macro.
9075 * math/test-double-vlen2.h (TEST_MSG): Likewise.
9076 * math/test-double-vlen4.h (TEST_MSG): Likewise.
9077 * math/test-double-vlen8.h (TEST_MSG): Likewise.
9078 * math/test-double.c (TEST_MSG): Likewise.
9079 * math/test-float-finite.c (TEST_MSG): Likewise.
9080 * math/test-float-vlen16.h (TEST_MSG): Likewise.
9081 * math/test-float-vlen4.h (TEST_MSG): Likewise.
9082 * math/test-float-vlen8.h (TEST_MSG): Likewise.
9083 * math/test-float.c (TEST_MSG): Likewise.
9084 * math/test-idouble.c (TEST_MSG): Likewise.
9085 * math/test-ifloat.c (TEST_MSG): Likewise.
9086 * math/test-ildouble.c (TEST_MSG): Likewise.
9087 * math/test-ldouble-finite.c (TEST_MSG): Likewise.
9088 * math/test-ldouble.c (TEST_MSG): Likewise.
9089
9090 * math/libm-test.inc: Move all tests of individual functions to
9091 libm-test-*.inc and #include libm-test-*.c files.
9092 (acos_test_data): Remove.
9093 (acos_test): Likewise.
9094 (acosh_test_data): Likewise.
9095 (acosh_test): Likewise.
9096 (asin_test_data): Likewise.
9097 (asin_test): Likewise.
9098 (asinh_test_data): Likewise.
9099 (asinh_test): Likewise.
9100 (atan_test_data): Likewise.
9101 (atan_test): Likewise.
9102 (atanh_test_data): Likewise.
9103 (atanh_test): Likewise.
9104 (atan2_test_data): Likewise.
9105 (atan2_test): Likewise.
9106 (cabs_test_data): Likewise.
9107 (cabs_test): Likewise.
9108 (cacos_test_data): Likewise.
9109 (cacos_test): Likewise.
9110 (cacosh_test_data): Likewise.
9111 (cacosh_test): Likewise.
9112 (canonicalize_test_data): Likewise.
9113 (canonicalize_test): Likewise.
9114 (carg_test_data): Likewise.
9115 (carg_test): Likewise.
9116 (casin_test_data): Likewise.
9117 (casin_test): Likewise.
9118 (casinh_test_data): Likewise.
9119 (casinh_test): Likewise.
9120 (catan_test_data): Likewise.
9121 (catan_test): Likewise.
9122 (catanh_test_data): Likewise.
9123 (catanh_test): Likewise.
9124 (cbrt_test_data): Likewise.
9125 (cbrt_test): Likewise.
9126 (ccos_test_data): Likewise.
9127 (ccos_test): Likewise.
9128 (ccosh_test_data): Likewise.
9129 (ccosh_test): Likewise.
9130 (ceil_test_data): Likewise.
9131 (ceil_test): Likewise.
9132 (cexp_test_data): Likewise.
9133 (cexp_test): Likewise.
9134 (cimag_test_data): Likewise.
9135 (cimag_test): Likewise.
9136 (clog_test_data): Likewise.
9137 (clog_test): Likewise.
9138 (clog10_test_data): Likewise.
9139 (clog10_test): Likewise.
9140 (conj_test_data): Likewise.
9141 (conj_test): Likewise.
9142 (copysign_test_data): Likewise.
9143 (copysign_test): Likewise.
9144 (cos_test_data): Likewise.
9145 (cos_test): Likewise.
9146 (cosh_test_data): Likewise.
9147 (cosh_test): Likewise.
9148 (cpow_test_data): Likewise.
9149 (cpow_test): Likewise.
9150 (cproj_test_data): Likewise.
9151 (cproj_test): Likewise.
9152 (creal_test_data): Likewise.
9153 (creal_test): Likewise.
9154 (csin_test_data): Likewise.
9155 (csin_test): Likewise.
9156 (csinh_test_data): Likewise.
9157 (csinh_test): Likewise.
9158 (csqrt_test_data): Likewise.
9159 (csqrt_test): Likewise.
9160 (ctan_test_data): Likewise.
9161 (ctan_test): Likewise.
9162 (ctanh_test_data): Likewise.
9163 (ctanh_test): Likewise.
9164 (erf_test_data): Likewise.
9165 (erf_test): Likewise.
9166 (erfc_test_data): Likewise.
9167 (erfc_test): Likewise.
9168 (exp_test_data): Likewise.
9169 (exp_test): Likewise.
9170 (exp10_test_data): Likewise.
9171 (exp10_test): Likewise.
9172 (pow10_test): Likewise.
9173 (exp2_test_data): Likewise.
9174 (exp2_test): Likewise.
9175 (expm1_test_data): Likewise.
9176 (expm1_test): Likewise.
9177 (fabs_test_data): Likewise.
9178 (fabs_test): Likewise.
9179 (fdim_test_data): Likewise.
9180 (fdim_test): Likewise.
9181 (floor_test_data): Likewise.
9182 (floor_test): Likewise.
9183 (fma_test_data): Likewise.
9184 (fma_test): Likewise.
9185 (fmax_test_data): Likewise.
9186 (fmax_test): Likewise.
9187 (fmaxmag_test_data): Likewise.
9188 (fmaxmag_test): Likewise.
9189 (fmin_test_data): Likewise.
9190 (fmin_test): Likewise.
9191 (fminmag_test_data): Likewise.
9192 (fminmag_test): Likewise.
9193 (fmod_test_data): Likewise.
9194 (fmod_test): Likewise.
9195 (fpclassify_test_data): Likewise.
9196 (fpclassify_test): Likewise.
9197 (frexp_test_data): Likewise.
9198 (frexp_test): Likewise.
9199 (fromfp_test_data): Likewise.
9200 (fromfp_test): Likewise.
9201 (fromfpx_test_data): Likewise.
9202 (fromfpx_test): Likewise.
9203 (getpayload_test_data): Likewise.
9204 (getpayload_test): Likewise.
9205 (hypot_test_data): Likewise.
9206 (hypot_test): Likewise.
9207 (ilogb_test_data): Likewise.
9208 (ilogb_test): Likewise.
9209 (iscanonical_test_data): Likewise.
9210 (iscanonical_test): Likewise.
9211 (iseqsig_test_data): Likewise.
9212 (iseqsig_test): Likewise.
9213 (isfinite_test_data): Likewise.
9214 (isfinite_test): Likewise.
9215 (finite_test): Likewise.
9216 (isgreater_test_data): Likewise.
9217 (isgreater_test): Likewise.
9218 (isgreaterequal_test_data): Likewise.
9219 (isgreaterequal_test): Likewise.
9220 (isinf_test_data): Likewise.
9221 (isinf_test): Likewise.
9222 (isless_test_data): Likewise.
9223 (isless_test): Likewise.
9224 (islessequal_test_data): Likewise.
9225 (islessequal_test): Likewise.
9226 (islessgreater_test_data): Likewise.
9227 (islessgreater_test): Likewise.
9228 (isnan_test_data): Likewise.
9229 (isnan_test): Likewise.
9230 (isnormal_test_data): Likewise.
9231 (isnormal_test): Likewise.
9232 (issignaling_test_data): Likewise.
9233 (issignaling_test): Likewise.
9234 (issubnormal_test_data): Likewise.
9235 (issubnormal_test): Likewise.
9236 (isunordered_test_data): Likewise.
9237 (isunordered_test): Likewise.
9238 (iszero_test_data): Likewise.
9239 (iszero_test): Likewise.
9240 (j0_test_data): Likewise.
9241 (j0_test): Likewise.
9242 (j1_test_data): Likewise.
9243 (j1_test): Likewise.
9244 (jn_test_data): Likewise.
9245 (jn_test): Likewise.
9246 (lgamma_test_data): Likewise.
9247 (lgamma_test): Likewise.
9248 (gamma_test): Likewise.
9249 (llogb_test_data): Likewise.
9250 (llogb_test): Likewise.
9251 (lrint_test_data): Likewise.
9252 (lrint_test): Likewise.
9253 (llrint_test_data): Likewise.
9254 (llrint_test): Likewise.
9255 (log_test_data): Likewise.
9256 (log_test): Likewise.
9257 (log10_test_data): Likewise.
9258 (log10_test): Likewise.
9259 (log1p_test_data): Likewise.
9260 (log1p_test): Likewise.
9261 (log2_test_data): Likewise.
9262 (log2_test): Likewise.
9263 (logb_test_data): Likewise.
9264 (logb_test): Likewise.
9265 (lround_test_data): Likewise.
9266 (lround_test): Likewise.
9267 (llround_test_data): Likewise.
9268 (llround_test): Likewise.
9269 (modf_test_data): Likewise.
9270 (modf_test): Likewise.
9271 (nearbyint_test_data): Likewise.
9272 (nearbyint_test): Likewise.
9273 (nextafter_test_data): Likewise.
9274 (nextafter_test): Likewise.
9275 (nextup_test_data): Likewise.
9276 (nextup_test): Likewise.
9277 (nextdown_test_data): Likewise.
9278 (nextdown_test): Likewise.
9279 (nexttoward_test_data): Likewise.
9280 (nexttoward_test): Likewise.
9281 (pow_test_data): Likewise.
9282 (pow_test): Likewise.
9283 (remainder_test_data): Likewise.
9284 (remainder_test): Likewise.
9285 (drem_test): Likewise.
9286 (remquo_test_data): Likewise.
9287 (remquo_test): Likewise.
9288 (rint_test_data): Likewise.
9289 (rint_test): Likewise.
9290 (round_test_data): Likewise.
9291 (round_test): Likewise.
9292 (roundeven_test_data): Likewise.
9293 (roundeven_test): Likewise.
9294 (scalb_test_data): Likewise.
9295 (scalb_test): Likewise.
9296 (scalbn_test_data): Likewise.
9297 (scalbn_test): Likewise.
9298 (ldexp_test): Likewise.
9299 (scalbln_test_data): Likewise.
9300 (scalbln_test): Likewise.
9301 (setpayload_test_data): Likewise.
9302 (setpayload_test): Likewise.
9303 (setpayloadsig_test_data): Likewise.
9304 (setpayloadsig_test): Likewise.
9305 (signbit_test_data): Likewise.
9306 (signbit_test): Likewise.
9307 (sin_test_data): Likewise.
9308 (sin_test): Likewise.
9309 (sincos_test_data): Likewise.
9310 (sincos_test): Likewise.
9311 (sinh_test_data): Likewise.
9312 (sinh_test): Likewise.
9313 (sqrt_test_data): Likewise.
9314 (sqrt_test): Likewise.
9315 (tan_test_data): Likewise.
9316 (tan_test): Likewise.
9317 (tanh_test_data): Likewise.
9318 (tanh_test): Likewise.
9319 (tgamma_test_data): Likewise.
9320 (tgamma_test): Likewise.
9321 (totalorder_test_data): Likewise.
9322 (totalorder_test): Likewise.
9323 (totalordermag_test_data): Likewise.
9324 (totalordermag_test): Likewise.
9325 (trunc_test_data): Likewise.
9326 (trunc_test): Likewise.
9327 (ufromfp_test_data): Likewise.
9328 (ufromfp_test): Likewise.
9329 (ufromfpx_test_data): Likewise.
9330 (ufromfpx_test): Likewise.
9331 (y0_test_data): Likewise.
9332 (y0_test): Likewise.
9333 (y1_test_data): Likewise.
9334 (y1_test): Likewise.
9335 (yn_test_data): Likewise.
9336 (yn_test): Likewise.
9337 (significand_test_data): Likewise.
9338 (significand_test): Likewise.
9339 * math/Makefile (auto-libm-test-out-files): Remove variable.
9340 (libm-test-funcs-noauto): New variable.
9341 (libm-test-funcs-all): Likewise.
9342 (libm-test-c-auto): Likewise.
9343 (libm-test-c-noauto): Likewise.
9344 (libm-tests-generated): Add $(libm-test-c-auto) and
9345 $(libm-test-c-noauto).
9346 (generated): Do not add auto-libm-test-out.
9347 (libm-test-c-auto-obj): New variable.
9348 (libm-test-c-noauto-obj): Likewise.
9349 ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
9350 ($(libm-test-c-noauto-obj)): New static pattern rule.
9351 ($(libm-test-c-auto-obj)): Likewise.
9352 (libm-test-incs): New variable.
9353 ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
9354 and pass it to gen-libm-have-vector-test.sh.
9355 * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
9356 be passed on command line.
9357 * math/libm-test-acos.inc: New file. Content from
9358 math/libm-test.inc.
9359 * math/libm-test-acosh.inc: Likewise.
9360 * math/libm-test-asin.inc: Likewise.
9361 * math/libm-test-asinh.inc: Likewise.
9362 * math/libm-test-atan.inc: Likewise.
9363 * math/libm-test-atan2.inc: Likewise.
9364 * math/libm-test-atanh.inc: Likewise.
9365 * math/libm-test-cabs.inc: Likewise.
9366 * math/libm-test-cacos.inc: Likewise.
9367 * math/libm-test-cacosh.inc: Likewise.
9368 * math/libm-test-canonicalize.inc: Likewise.
9369 * math/libm-test-carg.inc: Likewise.
9370 * math/libm-test-casin.inc: Likewise.
9371 * math/libm-test-casinh.inc: Likewise.
9372 * math/libm-test-catan.inc: Likewise.
9373 * math/libm-test-catanh.inc: Likewise.
9374 * math/libm-test-cbrt.inc: Likewise.
9375 * math/libm-test-ccos.inc: Likewise.
9376 * math/libm-test-ccosh.inc: Likewise.
9377 * math/libm-test-ceil.inc: Likewise.
9378 * math/libm-test-cexp.inc: Likewise.
9379 * math/libm-test-cimag.inc: Likewise.
9380 * math/libm-test-clog.inc: Likewise.
9381 * math/libm-test-clog10.inc: Likewise.
9382 * math/libm-test-conj.inc: Likewise.
9383 * math/libm-test-copysign.inc: Likewise.
9384 * math/libm-test-cos.inc: Likewise.
9385 * math/libm-test-cosh.inc: Likewise.
9386 * math/libm-test-cpow.inc: Likewise.
9387 * math/libm-test-cproj.inc: Likewise.
9388 * math/libm-test-creal.inc: Likewise.
9389 * math/libm-test-csin.inc: Likewise.
9390 * math/libm-test-csinh.inc: Likewise.
9391 * math/libm-test-csqrt.inc: Likewise.
9392 * math/libm-test-ctan.inc: Likewise.
9393 * math/libm-test-ctanh.inc: Likewise.
9394 * math/libm-test-erf.inc: Likewise.
9395 * math/libm-test-erfc.inc: Likewise.
9396 * math/libm-test-exp.inc: Likewise.
9397 * math/libm-test-exp10.inc: Likewise.
9398 * math/libm-test-exp2.inc: Likewise.
9399 * math/libm-test-expm1.inc: Likewise.
9400 * math/libm-test-fabs.inc: Likewise.
9401 * math/libm-test-fdim.inc: Likewise.
9402 * math/libm-test-floor.inc: Likewise.
9403 * math/libm-test-fma.inc: Likewise.
9404 * math/libm-test-fmax.inc: Likewise.
9405 * math/libm-test-fmaxmag.inc: Likewise.
9406 * math/libm-test-fmin.inc: Likewise.
9407 * math/libm-test-fminmag.inc: Likewise.
9408 * math/libm-test-fmod.inc: Likewise.
9409 * math/libm-test-fpclassify.inc: Likewise.
9410 * math/libm-test-frexp.inc: Likewise.
9411 * math/libm-test-fromfp.inc: Likewise.
9412 * math/libm-test-fromfpx.inc: Likewise.
9413 * math/libm-test-getpayload.inc: Likewise.
9414 * math/libm-test-hypot.inc: Likewise.
9415 * math/libm-test-ilogb.inc: Likewise.
9416 * math/libm-test-iscanonical.inc: Likewise.
9417 * math/libm-test-iseqsig.inc: Likewise.
9418 * math/libm-test-isfinite.inc: Likewise.
9419 * math/libm-test-isgreater.inc: Likewise.
9420 * math/libm-test-isgreaterequal.inc: Likewise.
9421 * math/libm-test-isinf.inc: Likewise.
9422 * math/libm-test-isless.inc: Likewise.
9423 * math/libm-test-islessequal.inc: Likewise.
9424 * math/libm-test-islessgreater.inc: Likewise.
9425 * math/libm-test-isnan.inc: Likewise.
9426 * math/libm-test-isnormal.inc: Likewise.
9427 * math/libm-test-issignaling.inc: Likewise.
9428 * math/libm-test-issubnormal.inc: Likewise.
9429 * math/libm-test-isunordered.inc: Likewise.
9430 * math/libm-test-iszero.inc: Likewise.
9431 * math/libm-test-j0.inc: Likewise.
9432 * math/libm-test-j1.inc: Likewise.
9433 * math/libm-test-jn.inc: Likewise.
9434 * math/libm-test-lgamma.inc: Likewise.
9435 * math/libm-test-llogb.inc: Likewise.
9436 * math/libm-test-llrint.inc: Likewise.
9437 * math/libm-test-llround.inc: Likewise.
9438 * math/libm-test-log.inc: Likewise.
9439 * math/libm-test-log10.inc: Likewise.
9440 * math/libm-test-log1p.inc: Likewise.
9441 * math/libm-test-log2.inc: Likewise.
9442 * math/libm-test-logb.inc: Likewise.
9443 * math/libm-test-lrint.inc: Likewise.
9444 * math/libm-test-lround.inc: Likewise.
9445 * math/libm-test-modf.inc: Likewise.
9446 * math/libm-test-nearbyint.inc: Likewise.
9447 * math/libm-test-nextafter.inc: Likewise.
9448 * math/libm-test-nextdown.inc: Likewise.
9449 * math/libm-test-nexttoward.inc: Likewise.
9450 * math/libm-test-nextup.inc: Likewise.
9451 * math/libm-test-pow.inc: Likewise.
9452 * math/libm-test-remainder.inc: Likewise.
9453 * math/libm-test-remquo.inc: Likewise.
9454 * math/libm-test-rint.inc: Likewise.
9455 * math/libm-test-round.inc: Likewise.
9456 * math/libm-test-roundeven.inc: Likewise.
9457 * math/libm-test-scalb.inc: Likewise.
9458 * math/libm-test-scalbln.inc: Likewise.
9459 * math/libm-test-scalbn.inc: Likewise.
9460 * math/libm-test-setpayload.inc: Likewise.
9461 * math/libm-test-setpayloadsig.inc: Likewise.
9462 * math/libm-test-signbit.inc: Likewise.
9463 * math/libm-test-significand.inc: Likewise.
9464 * math/libm-test-sin.inc: Likewise.
9465 * math/libm-test-sincos.inc: Likewise.
9466 * math/libm-test-sinh.inc: Likewise.
9467 * math/libm-test-sqrt.inc: Likewise.
9468 * math/libm-test-tan.inc: Likewise.
9469 * math/libm-test-tanh.inc: Likewise.
9470 * math/libm-test-tgamma.inc: Likewise.
9471 * math/libm-test-totalorder.inc: Likewise.
9472 * math/libm-test-totalordermag.inc: Likewise.
9473 * math/libm-test-trunc.inc: Likewise.
9474 * math/libm-test-ufromfp.inc: Likewise.
9475 * math/libm-test-ufromfpx.inc: Likewise.
9476 * math/libm-test-y0.inc: Likewise.
9477 * math/libm-test-y1.inc: Likewise.
9478 * math/libm-test-yn.inc: Likewise.
9479 * math/README.libm-test: Update.
9480
9481 * math/gen-auto-libm-tests.c: Update comment about use of program.
9482 (generate_output): Add argument FUNCTION.
9483 (main): Require extra argument. Pass function name to
9484 generate_output.
9485 * math/Makefile (generated): Add auto-libm-test-out.
9486 (libm-test-funcs-auto): New variable.
9487 (auto-libm-test-out-files): New variable.
9488 ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
9489 Concatenate those files to form $(objpfx)auto-libm-test-out and
9490 use it as input to gen-libm-test.pl.
9491 * math/README.libm-test: Update.
9492 * math/auto-libm-test-out: Remove.
9493 * math/auto-libm-test-out-acos: New generated file.
9494 * math/auto-libm-test-out-acosh: Likewise.
9495 * math/auto-libm-test-out-asin: Likewise.
9496 * math/auto-libm-test-out-asinh: Likewise.
9497 * math/auto-libm-test-out-atan: Likewise.
9498 * math/auto-libm-test-out-atan2: Likewise.
9499 * math/auto-libm-test-out-atanh: Likewise.
9500 * math/auto-libm-test-out-cabs: Likewise.
9501 * math/auto-libm-test-out-carg: Likewise.
9502 * math/auto-libm-test-out-cbrt: Likewise.
9503 * math/auto-libm-test-out-ccos: Likewise.
9504 * math/auto-libm-test-out-ccosh: Likewise.
9505 * math/auto-libm-test-out-cexp: Likewise.
9506 * math/auto-libm-test-out-clog: Likewise.
9507 * math/auto-libm-test-out-clog10: Likewise.
9508 * math/auto-libm-test-out-cos: Likewise.
9509 * math/auto-libm-test-out-cosh: Likewise.
9510 * math/auto-libm-test-out-cpow: Likewise.
9511 * math/auto-libm-test-out-csin: Likewise.
9512 * math/auto-libm-test-out-csinh: Likewise.
9513 * math/auto-libm-test-out-csqrt: Likewise.
9514 * math/auto-libm-test-out-ctan: Likewise.
9515 * math/auto-libm-test-out-ctanh: Likewise.
9516 * math/auto-libm-test-out-erf: Likewise.
9517 * math/auto-libm-test-out-erfc: Likewise.
9518 * math/auto-libm-test-out-exp: Likewise.
9519 * math/auto-libm-test-out-exp10: Likewise.
9520 * math/auto-libm-test-out-exp2: Likewise.
9521 * math/auto-libm-test-out-expm1: Likewise.
9522 * math/auto-libm-test-out-fma: Likewise.
9523 * math/auto-libm-test-out-hypot: Likewise.
9524 * math/auto-libm-test-out-j0: Likewise.
9525 * math/auto-libm-test-out-j1: Likewise.
9526 * math/auto-libm-test-out-jn: Likewise.
9527 * math/auto-libm-test-out-lgamma: Likewise.
9528 * math/auto-libm-test-out-log: Likewise.
9529 * math/auto-libm-test-out-log10: Likewise.
9530 * math/auto-libm-test-out-log1p: Likewise.
9531 * math/auto-libm-test-out-log2: Likewise.
9532 * math/auto-libm-test-out-pow: Likewise.
9533 * math/auto-libm-test-out-sin: Likewise.
9534 * math/auto-libm-test-out-sincos: Likewise.
9535 * math/auto-libm-test-out-sinh: Likewise.
9536 * math/auto-libm-test-out-sqrt: Likewise.
9537 * math/auto-libm-test-out-tan: Likewise.
9538 * math/auto-libm-test-out-tanh: Likewise.
9539 * math/auto-libm-test-out-tgamma: Likewise.
9540 * math/auto-libm-test-out-y0: Likewise.
9541 * math/auto-libm-test-out-y1: Likewise.
9542 * math/auto-libm-test-out-yn: Likewise.
9543
9544 * math/Makefile (generated): Do not include libm-test.stmp.
9545 ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
9546 on $(objpfx)libm-test.stmp.
9547 ($(objpfx)libm-test.stmp): Remove rule.
9548 ($(objpfx)libm-test-ulps.h): New rule.
9549 ($(objpfx)libm-test.c): Likewise.
9550 ($(objpfx)libm-have-vector-test.h): Likewise.
9551 ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
9552 individual generated files, not libm-test.stmp.
9553
9554 * math/gen-libm-test.pl ($output_dir): Remove variable.
9555 ($srcdir): Likewise.
9556 ($opt_a): New variable.
9557 ($opt_c): Likewise.
9558 ($opt_C): Likewise.
9559 ($opt_H): Likewise.
9560 (-n): Make option take argument and use it as NewUlps output.
9561 (-a): New option. Use its argument for auto-libm-test-out input.
9562 (-c): New option. Use its argument for libm-test.inc input.
9563 (-C): New option. Use its argument for libm-test.c output.
9564 (-H): New option. Use its argument for libm-test-ulps.h output.
9565 (top level): Only process inputs needed to generate outputs
9566 specified by command-line options. Only generate outputs
9567 specified by command-line options.
9568 * math/README.libm-test: Update example gen-libm-test.pl command.
9569 * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
9570 commands.
9571 (regen-ulps): Likewise.
9572
9573 2017-02-06 Wilco Dijkstra <wdijkstr@arm.com>
9574
9575 * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
9576 * include/string.h (index): Remove define.
9577 (rindex): Likewise.
9578 * misc/getttyent.c (__getttyent): Rename index to strchr.
9579 * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
9580 * sunrpc/rpc_main.c (mkfile_output): Likewise.
9581
9582 2017-02-06 Joseph Myers <joseph@codesourcery.com>
9583
9584 * math/libm-test-driver.c: New file. Based on math/libm-test.inc.
9585 * math/libm-test.inc: Move all contents, other than tests of
9586 individual functions, to libm-test-driver.c.
9587 [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
9588 [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
9589 [!FE_UPWARD] (FE_UPWARD): Likewise.
9590 [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
9591 (NO_EXCEPTION): Likewise.
9592 (INVALID_EXCEPTION): Likewise.
9593 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
9594 (OVERFLOW_EXCEPTION): Likewise.
9595 (UNDERFLOW_EXCEPTION): Likewise.
9596 (INEXACT_EXCEPTION): Likewise.
9597 (INVALID_EXCEPTION_OK): Likewise.
9598 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9599 (OVERFLOW_EXCEPTION_OK): Likewise.
9600 (UNDERFLOW_EXCEPTION_OK): Likewise.
9601 (NO_INEXACT_EXCEPTION): Likewise.
9602 (EXCEPTIONS_OK): Likewise.
9603 (IGNORE_ZERO_INF_SIGN): Likewise.
9604 (TEST_NAN_SIGN): Likewise.
9605 (TEST_NAN_PAYLOAD): Likewise.
9606 (NO_TEST_INLINE): Likewise.
9607 (XFAIL_TEST): Likewise.
9608 (ERRNO_UNCHANGED): Likewise.
9609 (ERRNO_EDOM): Likewise.
9610 (ERRNO_ERANGE): Likewise.
9611 (IGNORE_RESULT): Likewise.
9612 (NON_FINITE): Likewise.
9613 (TEST_SNAN): Likewise.
9614 (NO_TEST_MATHVEC): Likewise.
9615 (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
9616 (__CONCATX): Likewise.
9617 (TYPE_MIN): Likewise.
9618 (TYPE_TRUE_MIN): Likewise.
9619 (TYPE_MAX): Likewise.
9620 (MIN_EXP): Likewise.
9621 (MAX_EXP): Likewise.
9622 (MANT_DIG): Likewise.
9623 (FSTR_MAX): Likewise.
9624 (ULP_IDX): Likewise.
9625 (QTYPE_STR): Likewise.
9626 (TEST_COND_binary32): Likewise.
9627 (TEST_COND_binary64): Likewise.
9628 (TEST_COND_binary128): Likewise.
9629 (TEST_COND_ibm128): Likewise.
9630 (TEST_COND_intel96): Likewise.
9631 (TEST_COND_m68k96): Likewise.
9632 (TEST_COND_ibm128_libgcc): Likewise.
9633 (XFAIL_IBM128_LIBGCC): Likewise.
9634 (PAYLOAD_DIG): Likewise.
9635 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9636 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9637 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9638 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
9639 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9640 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
9641 (TEST_COND_long32): Likewise.
9642 (TEST_COND_long64): Likewise.
9643 (TEST_COND_before_rounding): Likewise.
9644 (TEST_COND_after_rounding): Likewise.
9645 (lit_pi_3_m_4_d): Likewise.
9646 (lit_pi_3_m_4_ln10_m_d): Likewise.
9647 (lit_pi_2_ln10_m_d): Likewise.
9648 (lit_pi_4_ln10_m_d): Likewise.
9649 (lit_pi_ln10_d): Likewise.
9650 (lit_pi_2_d): Likewise.
9651 (lit_pi_4_d): Likewise.
9652 (lit_pi): Likewise.
9653 (lit_e): Likewise.
9654 (ulps_file_name): Likewise.
9655 (ulps_file): Likewise.
9656 (output_ulps): Likewise.
9657 (output_dir): Likewise.
9658 (noErrors): Likewise.
9659 (noTests): Likewise.
9660 (noExcTests): Likewise.
9661 (noErrnoTests): Likewise.
9662 (verbose): Likewise.
9663 (output_max_error): Likewise.
9664 (output_points): Likewise.
9665 (ignore_max_ulp): Likewise.
9666 (plus_zero): Likewise.
9667 (minus_zero): Likewise.
9668 (plus_infty): Likewise.
9669 (minus_infty): Likewise.
9670 (qnan_value_pl): Likewise.
9671 (qnan_value): Likewise.
9672 (snan_value_pl): Likewise.
9673 (snan_value): Likewise.
9674 (max_value): Likewise.
9675 (min_value): Likewise.
9676 (min_subnorm_value): Likewise.
9677 (snan_value_ld): Likewise.
9678 (max_error): Likewise.
9679 (real_max_error): Likewise.
9680 (imag_max_error): Likewise.
9681 (prev_max_error): Likewise.
9682 (prev_real_max_error): Likewise.
9683 (prev_imag_max_error): Likewise.
9684 (max_valid_error): Likewise.
9685 (TYPE_DECIMAL_DIG): Likewise.
9686 (TYPE_HEX_DIG): Likewise.
9687 (fmt_ftostr): Likewise.
9688 (compare_ulp_data): Likewise.
9689 (find_ulps): Likewise.
9690 (init_max_error): Likewise.
9691 (set_max_error): Likewise.
9692 (print_float): Likewise.
9693 (print_screen): Likewise.
9694 (print_screen_max_error): Likewise.
9695 (update_stats): Likewise.
9696 (print_function_ulps): Likewise.
9697 (print_complex_function_ulps): Likewise.
9698 (fpstack_test): Likewise.
9699 (print_max_error): Likewise.
9700 (print_complex_max_error): Likewise.
9701 (test_single_exception): Likewise.
9702 (test_exceptions): Likewise.
9703 (test_single_errno): Likewise.
9704 (test_errno): Likewise.
9705 (ULPDIFF): Likewise.
9706 (ulp): Likewise.
9707 (check_float_internal): Likewise.
9708 (check_float): Likewise.
9709 (check_complex): Likewise.
9710 (check_int): Likewise.
9711 (check_long): Likewise.
9712 (check_bool): Likewise.
9713 (check_longlong): Likewise.
9714 (check_intmax_t): Likewise.
9715 (check_uintmax_t): Likewise.
9716 (enable_test): Likewise.
9717 (struct test_f_f_data): Likewise.
9718 (struct test_ff_f_data): Likewise.
9719 (struct test_fj_f_data): Likewise.
9720 (struct test_fi_f_data): Likewise.
9721 (struct test_fl_f_data): Likewise.
9722 (struct test_if_f_data): Likewise.
9723 (struct test_fff_f_data): Likewise.
9724 (struct test_fiu_M_data): Likewise.
9725 (struct test_fiu_U_data): Likewise.
9726 (struct test_c_f_data): Likewise.
9727 (struct test_f_f1_data): Likewise.
9728 (struct test_fF_f1_data): Likewise.
9729 (struct test_ffI_f1_data): Likewise.
9730 (struct test_c_c_data): Likewise.
9731 (struct test_cc_c_data): Likewise.
9732 (struct test_f_i_data): Likewise.
9733 (struct test_ff_i_data): Likewise.
9734 (struct test_f_l_data): Likewise.
9735 (struct test_f_L_data): Likewise.
9736 (struct test_fFF_11_data): Likewise.
9737 (struct test_Ff_b1_data): Likewise.
9738 (IF_ROUND_INIT_): Likewise.
9739 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9740 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9741 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9742 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9743 (ROUND_RESTORE_): Likewise.
9744 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9745 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9746 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9747 (ROUND_RESTORE_FE_UPWARD): Likewise.
9748 (RM_): Likewise.
9749 (RM_FE_DOWNWARD): Likewise.
9750 (RM_FE_TONEAREST): Likewise.
9751 (RM_FE_TOWARDZERO): Likewise.
9752 (RM_FE_UPWARD): Likewise.
9753 (COMMON_TEST_SETUP): Likewise.
9754 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9755 (COMMON_TEST_CLEANUP): Likewise.
9756 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9757 (RUN_TEST_f_f): Likewise.
9758 (RUN_TEST_LOOP_f_f): Likewise.
9759 (RUN_TEST_fp_f): Likewise.
9760 (RUN_TEST_LOOP_fp_f): Likewise.
9761 (RUN_TEST_2_f): Likewise.
9762 (RUN_TEST_LOOP_2_f): Likewise.
9763 (RUN_TEST_ff_f): Likewise.
9764 (RUN_TEST_LOOP_ff_f): Likewise.
9765 (RUN_TEST_LOOP_fj_f): Likewise.
9766 (RUN_TEST_fi_f): Likewise.
9767 (RUN_TEST_LOOP_fi_f): Likewise.
9768 (RUN_TEST_fl_f): Likewise.
9769 (RUN_TEST_LOOP_fl_f): Likewise.
9770 (RUN_TEST_if_f): Likewise.
9771 (RUN_TEST_LOOP_if_f): Likewise.
9772 (RUN_TEST_fff_f): Likewise.
9773 (RUN_TEST_LOOP_fff_f): Likewise.
9774 (RUN_TEST_fiu_M): Likewise.
9775 (RUN_TEST_LOOP_fiu_M): Likewise.
9776 (RUN_TEST_fiu_U): Likewise.
9777 (RUN_TEST_LOOP_fiu_U): Likewise.
9778 (RUN_TEST_c_f): Likewise.
9779 (RUN_TEST_LOOP_c_f): Likewise.
9780 (RUN_TEST_f_f1): Likewise.
9781 (RUN_TEST_LOOP_f_f1): Likewise.
9782 (RUN_TEST_fF_f1): Likewise.
9783 (RUN_TEST_LOOP_fF_f1): Likewise.
9784 (RUN_TEST_fI_f1): Likewise.
9785 (RUN_TEST_LOOP_fI_f1): Likewise.
9786 (RUN_TEST_ffI_f1_mod8): Likewise.
9787 (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
9788 (RUN_TEST_Ff_b1): Likewise.
9789 (RUN_TEST_LOOP_Ff_b1): Likewise.
9790 (RUN_TEST_Ffp_b1): Likewise.
9791 (RUN_TEST_LOOP_Ffp_b1): Likewise.
9792 (RUN_TEST_c_c): Likewise.
9793 (RUN_TEST_LOOP_c_c): Likewise.
9794 (RUN_TEST_cc_c): Likewise.
9795 (RUN_TEST_LOOP_cc_c): Likewise.
9796 (RUN_TEST_f_i): Likewise.
9797 (RUN_TEST_LOOP_f_i): Likewise.
9798 (RUN_TEST_f_i_tg): Likewise.
9799 (RUN_TEST_LOOP_f_i_tg): Likewise.
9800 (RUN_TEST_ff_b): Likewise.
9801 (RUN_TEST_LOOP_ff_b): Likewise.
9802 (RUN_TEST_ff_i_tg): Likewise.
9803 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9804 (RUN_TEST_f_b): Likewise.
9805 (RUN_TEST_LOOP_f_b): Likewise.
9806 (RUN_TEST_f_b_tg): Likewise.
9807 (RUN_TEST_LOOP_f_b_tg): Likewise.
9808 (RUN_TEST_f_l): Likewise.
9809 (RUN_TEST_LOOP_f_l): Likewise.
9810 (RUN_TEST_f_L): Likewise.
9811 (RUN_TEST_LOOP_f_L): Likewise.
9812 (RUN_TEST_fFF_11): Likewise.
9813 (RUN_TEST_LOOP_fFF_11): Likewise.
9814 (VEC_SUFF): Likewise.
9815 (STR_CONCAT): Likewise.
9816 (STR_CON3): Likewise.
9817 (HAVE_VECTOR): Likewise.
9818 (START): Likewise.
9819 (END): Likewise.
9820 (END_COMPLEX): Likewise.
9821 (ALL_RM_TEST): Likewise.
9822 (matherr): Likewise.
9823 (initialize): Likewise.
9824 (options): Likewise.
9825 (doc): Likewise.
9826 (parse_opt): Likewise.
9827 (argp): Likewise.
9828 (check_ulp): Likewise.
9829 (main): Likewise.
9830 (do_test): New function. Call tests of individual functions
9831 previously called from main.
9832
9833 * math/libm-test.inc: Remove comment listing functions tested and
9834 not tested.
9835
9836 2016-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9837
9838 * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
9839 (allocate_stack): Remove COLORING_INCREMENT usage.
9840 * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
9841 * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
9842
9843 2017-02-06 Joseph Myers <joseph@codesourcery.com>
9844
9845 * manual/libm-err-tab.pl (@all_functions): Change to
9846 %all_functions. Initialize as empty.
9847 (parse_ulps): Add to %all_functions based on functions found in
9848 ulps files. Ignore results for non-default rounding modes and
9849 vector functions.
9850 (print_platforms): Use %all_platforms.
9851 * manual/math.texi (Errors in Math Functions): Document omissions
9852 from the table.
9853
9854 * math/Makefile (before-compile): Remove.
9855
9856 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
9857
9858 [BZ #21075]
9859 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
9860 unused assignment.
9861 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
9862
9863 2017-02-06 Stefan Liebler <stli@linux.vnet.ibm.com>
9864
9865 * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
9866 Add __glibc_unlikely hint.
9867
9868 2017-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9869
9870 [BZ #16640]
9871 * sysdeps/i386/i686/strtok.S: Remove file.
9872 * sysdeps/i386/i686/strtok_r.S: Likewise.
9873 * sysdeps/i386/strtok.S: Likewise.
9874 * sysdeps/i386/strtok_r.S: Likewise.
9875 * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
9876 * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
9877 * sysdeps/x86_64/strtok.S: Likewise.
9878 * sysdeps/x86_64/strtok_r.S: Likewise.
9879
9880 * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
9881 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
9882 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9883 (__ASSUME_FADVISE64_AS_64_64): Define.
9884 * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
9885 !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
9886 [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
9887 __ALIGNMENT_ARG usage.
9888 [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
9889 __NR_fadvise64_64 if it is not defined.
9890
9891 2017-02-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
9892
9893 * version.h (RELEASE): Set to "development"
9894 (VERSION): Set to 2.25.90.
9895 * NEWS: Add 2.26 section.
9896
9897 * version.h (RELEASE): Set to "stable"
9898 (VERSION): Set to 2.25.
9899 * include/features.h (__GLIBC_MINOR__): Set to 25.
9900
9901 * manual/contrib.texi: Add more contributors from this release
9902 and past releases.
9903
9904 * NEWS (2.25): Add list of bugs fixed.
9905
9906 * NEWS: Add missing news items.
9907
9908 2017-02-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
9909
9910 * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
9911 parent if child exited in that manner. Print WEXITSTATUS
9912 instead of the raw status.
9913 (do_test_prep): Rename to do_test.
9914 (do_test): Return the result of run_executable_sgid.
9915 (TEST_FUNCTION_ARGV): Adjust.
9916
9917 2017-02-03 Alexandre Oliva <aoliva@redhat.com>
9918 Florian Weimer <fweimer@redhat.com>
9919 Carlos O'Donell <carlos@redhat.com>
9920
9921 [BZ #20915]
9922 * elf/dl-reloc.c (_dl_nothread_init_static_tls):
9923 Do not initialize DTV.
9924 * nptl/allocatestack.c (init_one_static_tls): Likewise.
9925
9926 2017-02-03 David S. Miller <davem@davemloft.net>
9927
9928 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
9929 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
9931 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9932 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
9933 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9934 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
9935 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9936 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
9937 (libm-sysdep_routines): Update.
9938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
9939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
9940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
9941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
9942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
9943 * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
9944 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
9945 * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
9946 * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
9947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
9948 Likewise.
9949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
9951 Likewise.
9952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
9954 Likewise.
9955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
9957 Likewise.
9958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9960 (libm-sysdep_routines): Update.
9961
9962 2017-02-02 H.J. Lu <hongjiu.lu@intel.com>
9963
9964 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
9965 _dl_fatal_printf with _dl_error_printf for IFUNC relocation
9966 against unrelocated shared library.
9967 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9968
9969 2017-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
9970
9971 * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
9972 * elf/tst-env-setuid-tunables.c
9973 (test_child_tunables)[!HAVE_TUNABLES]: Verify that
9974 GLIBC_TUNABLES is removed in a setgid process.
9975
9976 [BZ #21073]
9977 * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
9978 * elf/dl-tunables.c (tunables_strdup): Remove.
9979 (get_next_env): Also return the previous envp.
9980 (parse_tunables): Erase tunables of category
9981 TUNABLES_SECLEVEL_SXID_ERASE.
9982 (maybe_enable_malloc_check): Make MALLOC_CHECK_
9983 TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
9984 (__tunables_init)[TUNABLES_FRONTEND ==
9985 TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
9986 after parsing.
9987 [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
9988 tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
9989 * elf/dl-tunables.h (struct _tunable): Change member is_secure
9990 to security_level.
9991 * elf/dl-tunables.list: Add security_level annotations for all
9992 tunables.
9993 * scripts/gen-tunables.awk: Recognize and generate enum values
9994 for security_level.
9995 * elf/tst-env-setuid.c: New test case.
9996 * elf/tst-env-setuid-tunables: new test case.
9997 * elf/Makefile (tests-static): Add them.
9998
9999 2017-02-01 Richard Henderson <rth@twiddle.net>
10000
10001 * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
10002 adjusting the byte count.
10003
10004 2017-02-01 Andreas Schwab <schwab@linux-m68k.org>
10005
10006 * conform/Makefile (linknamespace-libs): Define.
10007
10008 * sysdeps/m68k/m680x0/m68020/atomic-machine.h
10009 (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
10010 (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
10011 operands.
10012
10013 2017-01-31 Chung-Lin Tang <cltang@codesourcery.com>
10014
10015 * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
10016
10017 2017-01-30 H.J. Lu <hongjiu.lu@intel.com>
10018
10019 [BZ #21081]
10020 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10021 (L(stosb)): Add VZEROUPPER before ret.
10022
10023 2016-01-28 Carlos O'Donell <carlos@redhat.com>
10024 Alexey Makhalov <amakhalov@vmware.com>
10025 Florian Weimer <fweimer@redhat.com>
10026
10027 [BZ #20116]
10028 * nptl/pthread_create.c: Document concurrency notes.
10029 Enhance thread creation notes.
10030 (create_thread): Use bool *stopped_start.
10031 (START_THREAD_DEFN): Comment ownership of PD.
10032 (__pthread_create_2_1): Add local bool stopped_start and use
10033 that instead of pd->stopped_start where appropriate.
10034 * nptl/createthread.c (create_thread): Use bool *stopped_start.
10035 * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
10036 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
10037 * nptl/tst-create-detached.c: New file.
10038 * nptl/Makefile (tests): Add tst-create-detached.
10039 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10040 Reference the enhanced thread creation notes.
10041 * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
10042 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10043 * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
10044 (__pthread_current_priority): Likewise.
10045 * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
10046 xpthread_attr_init, xpthread_attr_setdetachstate, and
10047 xpthread_attr_setstacksize.
10048 * support/xpthread_attr_destroy.c: New file.
10049 * support/xpthread_attr_init.c: New file.
10050 * support/xpthread_attr_setdetachstate.c: New file.
10051 * support/xpthread_attr_setstacksize.c: New file.
10052 * support/xthread.h: Define prototypes for xpthread_attr_destroy
10053 xpthread_attr_init, xpthread_attr_setdetachstate, and
10054 xpthread_attr_setstacksize.
10055
10056 2017-01-27 Florian Weimer <fweimer@redhat.com>
10057
10058 * nptl/Makefile (tests): Add tst-robust-fork.
10059 * nptl/tst-robust-fork.c: New file.
10060 * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
10061 xpthread_mutex_consistent, xpthread_mutex_destroy,
10062 xpthread_mutex_init, xpthread_mutexattr_destroy,
10063 xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
10064 xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
10065 xpthread_mutexattr_settype.
10066 * support/xmmap.c: New file.
10067 * support/xmunmap.c: Likewise.
10068 * support/xpthread_mutex_consistent.c: Likewise.
10069 * support/xpthread_mutex_destroy.c: Likewise.
10070 * support/xpthread_mutex_init.c: Likewise.
10071 * support/xpthread_mutexattr_destroy.c: Likewise.
10072 * support/xpthread_mutexattr_init.c: Likewise.
10073 * support/xpthread_mutexattr_setprotocol.c: Likewise.
10074 * support/xpthread_mutexattr_setpshared.c: Likewise.
10075 * support/xpthread_mutexattr_setrobust.c: Likewise.
10076 * support/xpthread_mutexattr_settype.c: Likewise.
10077 * support/xthread.h (xpthread_mutexattr_destroy)
10078 (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
10079 (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
10080 (xpthread_mutexattr_settype, xpthread_mutex_init)
10081 (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
10082 * support/xunistd.h (xmmap, xmunmap): Likewise.
10083
10084 2017-01-25 Florian Weimer <fweimer@redhat.com>
10085
10086 * string/Makefile (xtests): Add comment.
10087 (LOCALES): Add en_GB.UTF-8.
10088 (tst-strcoll-overflow.out): Depend on generated locales.
10089 * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
10090 (SIZE, TIMEOUT): Update comments.
10091 (do_test): Define as static. Fail test if setlocale fails.
10092 Return EXIT_UNSUPPORTED if insufficient memory. Enhance output
10093 messages.
10094 (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
10095 TIMEOUT at 300 seconds should be enough to run this test
10096 successfully.
10097
10098 2017-01-24 Jakub Jelinek <jakub@redhat.com>
10099
10100 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
10101 /* FALLTHRU */ comments.
10102
10103 2017-01-24 James Clarke <jrtc27@jrtc27.com>
10104
10105 [BZ #21053]
10106 * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
10107 constants instead of the old R* ones.
10108 * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
10109 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
10110 (NGREG): ... to this, to fit in with other architectures.
10111 (gpregset_t): Use new NGREG macro.
10112 [__USE_GNU]: Remove condition; all architectures other than tile
10113 are unconditional.
10114 (R*): Rename to REG_R*.
10115
10116 2017-01-20 DJ Delorie <dj@redhat.com>
10117
10118 * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
10119 (tunable_set_val_if_valid_range_signed) ... this, and ...
10120 (tunable_set_val_if_valid_range_unsigned) ... this.
10121 (tunable_initialize): Call the correct one of the above based on type.
10122
10123 2017-01-20 Joseph Myers <joseph@codesourcery.com>
10124
10125 * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
10126 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10127 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10128 * sysdeps/microblaze/libm-test-ulps: Likewise.
10129 * sysdeps/sh/libm-test-ulps: Likewise.
10130
10131 * math/README.libm-test: Update list of characters for input and
10132 output types.
10133
10134 2017-01-20 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10135
10136 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10137 (__lll_unlock_elision): Fix adapt_count decrement.
10138
10139 2017-01-14 Martin Galvan <martingalvan@sourceware.org>
10140
10141 * README.pretty-printers (Known issues): Warn about printers not
10142 always covering everything.
10143 * nptl/nptl-printers.py (MutexPrinter): Change output.
10144 * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
10145
10146 2017-01-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10147
10148 * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
10149 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10150 * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
10151 (__lll_lock_elision): Do not test futex before starting a
10152 transaction. Use __glibc_likely instead of __builtin_expect.
10153 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
10154 (__lll_trylock_elision): Do not test futex before starting a
10155 transaction. Use __glibc_likely instead of __builtin_expect.
10156
10157 2017-01-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
10158
10159 * po/Makefile (update-translations): New target.
10160
10161 2017-01-19 Joseph Myers <joseph@codesourcery.com>
10162
10163 [BZ #21061]
10164 * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
10165
10166 2017-01-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
10167
10168 * elf/dl-tunables (get_next_env): Always advance envp.
10169 * stdlib/tst-empty-env.c: New test case.
10170 * stdlib/Makefile (tests): Use it.
10171
10172 2017-01-19 Joseph Myers <joseph@codesourcery.com>
10173
10174 [BZ #21047]
10175 * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
10176 name for instruction.
10177 [!__SOFTFP__] (_FPU_SETCW): Likewise.
10178
10179 2017-01-18 Joseph Myers <joseph@codesourcery.com>
10180
10181 * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
10182 for make install.
10183
10184 2017-01-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
10185
10186 * po/bg.po: Merge from Translation Project.
10187 * po/fr.po: Likewise.
10188 * po/ko.po: Likewise.
10189 * po/nl.po: Likewise.
10190 * po/sv.po: Likewise.
10191
10192 2017-01-18 Joseph Myers <joseph@codesourcery.com>
10193
10194 * manual/install.texi (Tools for Compilation): Update GCC version
10195 known to work to build glibc.
10196 * INSTALL: Regenerated.
10197
10198 2017-01-17 Stefan Liebler <stli@linux.vnet.ibm.com>
10199
10200 [BZ #21006]
10201 * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
10202
10203 2017-01-16 Joseph Myers <joseph@codesourcery.com>
10204
10205 [BZ #21045]
10206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10207 (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
10208 to __sigprocmask.
10209
10210 2017-01-16 Chris Metcalf <cmetcalf@mellanox.com>
10211
10212 * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
10213 wrap-around.
10214 * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
10215
10216 * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
10217
10218 2016-01-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
10219
10220 * NEWS: Fix typo.
10221
10222 2016-01-13 Torvald Riegel <triegel@redhat.com>
10223
10224 * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
10225 barriers and comments.
10226 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
10227 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10228 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10229
10230 2016-01-13 Torvald Riegel <triegel@redhat.com>
10231
10232 [BZ #19402]
10233 * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
10234 mutexes.
10235
10236 2016-01-13 Torvald Riegel <triegel@redhat.com>
10237
10238 [BZ #20985]
10239 * nptl/Makefile: Adapt.
10240 * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10241 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10242 * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10243 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10244 (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
10245 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
10246 lll_robust* functions and adapt.
10247 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10248 * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
10249 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10250 __lll_robust_timedlock, __lll_robust_unlock): Remove.
10251 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
10252 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10253 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
10254 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10255 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
10256 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10257 __lll_robust_timedlock, __lll_robust_unlock): Remove.
10258 * nptl/lowlevelrobustlock.c: Remove file.
10259 * nptl/lowlevelrobustlock.sym: Likewise.
10260 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
10261 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
10262
10263 2017-01-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10264
10265 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10266
10267 2017-01-12 Siddhesh Poyarekar <siddhesh@sourceware.org>
10268
10269 * po/cs.po: Merge translations from the Translation Project.
10270 * po/de.po: Likewise.
10271 * po/pl.po: Likewise.
10272 * po/ru.po: Likewise.
10273 * po/tr.po: Likewise.
10274 * po/uk.po: Likewise.
10275 * po/vi.po: Likewise.
10276 * po/zh_CN.po: Likewise.
10277
10278 2017-01-12 Joseph Myers <joseph@codesourcery.com>
10279
10280 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
10281
10282 * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
10283 object.
10284
10285 2017-01-11 Joseph Myers <joseph@codesourcery.com>
10286
10287 [BZ #16458]
10288 * bits/uintn-identity.h: New file.
10289 * inet/netinet/in.h: Include <bits/uintn-identity.h>.
10290 [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
10291 [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
10292 [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
10293 [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
10294 * string/endian.h: Include <bits/uintn-identity.h>.
10295 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
10296 __uint16_identity.
10297 [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
10298 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
10299 __uint32_identity.
10300 [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
10301 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
10302 __uint64_identity.
10303 [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
10304 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
10305 __uint16_identity.
10306 [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
10307 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
10308 __uint32_identity.
10309 [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
10310 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
10311 __uint64_identity.
10312 [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
10313 * string/Makefile (headers): Add bits/uintn-identity.h.
10314 (tests): Add test-endian-types.
10315 * string/test-endian-types.c: New file.
10316 * inet/Makefile (tests): Add test-hnto-types.
10317 * inet/test-hnto-types.c: New file.
10318
10319 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10320
10321 * po/be.po: Update from Translation Project.
10322 * po/bg.po: Likewise.
10323 * po/ca.po: Likewise.
10324 * po/cs.po: Likewise.
10325 * po/da.po: Likewise.
10326 * po/de.po: Likewise.
10327 * po/el.po: Likewise.
10328 * po/eo.po: Likewise.
10329 * po/es.po: Likewise.
10330 * po/fi.po: Likewise.
10331 * po/fr.po: Likewise.
10332 * po/gl.po: Likewise.
10333 * po/hr.po: Likewise.
10334 * po/hu.po: Likewise.
10335 * po/ia.po: Likewise.
10336 * po/id.po: Likewise.
10337 * po/it.po: Likewise.
10338 * po/ja.po: Likewise.
10339 * po/ko.po: Likewise.
10340 * po/lt.po: Likewise.
10341 * po/nb.po: Likewise.
10342 * po/nl.po: Likewise.
10343 * po/pl.po: Likewise.
10344 * po/pt_BR.po: Likewise.
10345 * po/ru.po: Likewise.
10346 * po/rw.po: Likewise.
10347 * po/sk.po: Likewise.
10348 * po/sl.po: Likewise.
10349 * po/sv.po: Likewise.
10350 * po/tr.po: Likewise.
10351 * po/uk.po: Likewise.
10352 * po/vi.po: Likewise.
10353 * po/zh_CN.po: Likewise.
10354 * po/zh_TW.po: Likewise.
10355
10356 2017-01-11 Joseph Myers <joseph@codesourcery.com>
10357
10358 * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
10359 -Wformat-truncation instead of -Wformat-length.
10360 * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
10361 * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
10362 GCC 7.
10363 * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
10364 (do_test): Ignore -Wformat-truncation for GCC 7.
10365
10366 * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
10367 buffer used to print long int value.
10368
10369 * elf/sotruss-lib.c (init): Increase space allocated for pid by
10370 one byte. Print it with %ld, cast to long int.
10371
10372 2017-01-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
10373
10374 * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
10375 (re.fullmatch, subprocess.run): Likewise.
10376
10377 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10378
10379 * po/libc.pot: Regenerate.
10380
10381 2016-01-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
10382
10383 * elf/dl-tunables.c (tunables_unsetenv): Remove function.
10384 (min_strlen): Likewise.
10385 (disable_tunable): Likewise.
10386 (maybe_disable_malloc_check): Rename to
10387 maybe_enable_malloc_check.
10388 (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
10389 if /etc/suid-debug file exists.
10390 (__tunables_init): Update caller.
10391 * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
10392 secure.
10393
10394 2016-01-10 Torvald Riegel <triegel@redhat.com>
10395
10396 * nptl/DESIGN-rwlock.txt: Remove.
10397 * nptl/lowlevelrwlock.sym: Remove.
10398 * nptl/Makefile: Add new tests.
10399 * nptl/pthread_rwlock_common.c: New file. Contains the new rwlock.
10400 * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
10401 (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
10402 PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
10403 PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
10404 PTHREAD_RWLOCK_FUTEX_USED): New.
10405 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
10406 implementation.
10407 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
10408 (__pthread_rwlock_rdlock): Adapt.
10409 * nptl/pthread_rwlock_timedrdlock.c
10410 (pthread_rwlock_timedrdlock): Adapt.
10411 * nptl/pthread_rwlock_timedwrlock.c
10412 (pthread_rwlock_timedwrlock): Adapt.
10413 * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
10414 * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
10415 * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
10416 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
10417 (__pthread_rwlock_wrlock): Adapt.
10418 * nptl/tst-rwlock10.c: Adapt.
10419 * nptl/tst-rwlock11.c: Adapt.
10420 * nptl/tst-rwlock17.c: New file.
10421 * nptl/tst-rwlock18.c: New file.
10422 * nptl/tst-rwlock19.c: New file.
10423 * nptl/tst-rwlock2b.c: New file.
10424 * nptl/tst-rwlock8.c: Adapt.
10425 * nptl/tst-rwlock9.c: Adapt.
10426 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10427 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10428 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10429 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10430 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10431 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10432 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10433 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10434 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10435 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10436 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10437 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10438 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
10439 (pthread_rwlock_t): Adapt.
10440 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10441 (pthread_rwlock_t): Adapt.
10442 * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10443 * nptl/nptl-printers.py (): Adapt.
10444 * nptl/nptl_lock_constants.pysym: Adapt.
10445 * nptl/test-rwlock-printers.py: Adapt.
10446 * nptl/test-rwlockattr-printers.c: Adapt.
10447 * nptl/test-rwlockattr-printers.py: Adapt.
10448
10449 2017-01-10 Joseph Myers <joseph@codesourcery.com>
10450
10451 * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
10452 (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
10453 (fma_test_data): Likewise.
10454 (hypot_test_data): Likewise.
10455 (log1p_test_data): Likewise.
10456 (modf_test_data): Likewise.
10457 (pow_test_data): Likewise.
10458 (remainder_test_data): Likewise.
10459 (remquo_test_data): Likewise.
10460 (scalb_test_data): Likewise.
10461 (scalbn_test_data): Likewise.
10462 (scalbln_test_data): Likewise.
10463 * math/gen-libm-test.pl (parse_args): Transform
10464 XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
10465 on the rounding mode.
10466
10467 2017-01-09 Joseph Myers <joseph@codesourcery.com>
10468
10469 * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
10470 xfail-rounding:ibm128-libgcc automatically to tests overflowing
10471 and those that can underflow to zero.
10472 * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
10473 add others.
10474 * math/auto-libm-test-out: Regenerated.
10475
10476 * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
10477 supported.
10478 (feholdexcept_tests): Skip tests requiring exceptions or rounding
10479 modes support if not supported.
10480
10481 * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
10482 Add libc.so PLT entry.
10483 (__tls_get_addr): Make ld.so PLT entry optional.
10484
10485 2017-01-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10486
10487 * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
10488 * string/bits/string3.h: ... here.
10489
10490 2017-01-05 Joseph Myers <joseph@codesourcery.com>
10491
10492 [BZ #21028]
10493 * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
10494 * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
10495 if EXCEPTION_TESTS returns false.
10496
10497 2017-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10498
10499 [BZ #20558]
10500 * string/bits/string3.h [__USE_MISC] (bcopy): Move to
10501 strings_fortified.h.
10502 [__USE_MISC] (bzero): Likewise.
10503 [__USE_MISC] (explicit_bzero): Likewise.
10504 * string/strings.h: Include strings_fortified.h.
10505 * string/Makefile (headers): Add strings_fortified.h.
10506 * string/bits/strings_fortified.h: New file.
10507 * include/bits/strings_fortified.h: Likewise.
10508
10509 2017-01-05 Joseph Myers <joseph@codesourcery.com>
10510
10511 * elf/tst-tls13.c (TIMEOUT): Remove.
10512 * iconvdata/tst-loading.c (TIMEOUT): Likewise.
10513 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
10514 * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
10515 * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
10516 * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
10517
10518 [BZ #21026]
10519 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
10520 (readahead): New syscall entry.
10521
10522 2017-01-04 Joseph Myers <joseph@codesourcery.com>
10523
10524 * string/tester.c (test_strncat): Disable -Wstringop-overflow=
10525 around tests of strncat with large sizes.
10526
10527 * malloc/tst-malloc.c: Include <libc-internal.h>.
10528 (do_test): Disable -Walloc-size-larger-than= around tests of
10529 malloc with negative sizes.
10530 * malloc/tst-mcheck.c: Include <libc-internal.h>.
10531 (do_test): Disable -Walloc-size-larger-than= around tests of
10532 malloc and realloc with negative sizes.
10533 * malloc/tst-realloc.c: Include <libc-internal.h>.
10534 (do_test): Disable -Walloc-size-larger-than= around tests of
10535 realloc with negative sizes.
10536
10537 * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
10538 (init_max_error) [TEST_COND_ibm128]: Increase maximum error
10539 allowed to 16 ulps.
10540 * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
10541 ibm128-libgcc. XFAIL more tests for ibm128-libgcc.
10542 * math/auto-libm-test-out: Regenerated.
10543
10544 2017-01-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10545
10546 * math/Makefile (libm-calls): Move wrappers...
10547 (libm-compat-call-auto): Here.
10548 (libm-routines): Add items in libm-compat-calls-auto.
10549 * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
10550 the filenames of the wrappers that have been renamed.
10551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
10552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10553
10554 * math/w_acos.c: Add _compat suffix to filename.
10555 * math/w_acosf.c: Likewise.
10556 * math/w_acosh.c: Likewise.
10557 * math/w_acoshf.c: Likewise.
10558 * math/w_acoshl.c: Likewise.
10559 * math/w_acosl.c: Likewise.
10560 * math/w_asin.c: Likewise.
10561 * math/w_asinf.c: Likewise.
10562 * math/w_asinl.c: Likewise.
10563 * math/w_atan2.c: Likewise.
10564 * math/w_atan2f.c: Likewise.
10565 * math/w_atan2l.c: Likewise.
10566 * math/w_atanh.c: Likewise.
10567 * math/w_atanhf.c: Likewise.
10568 * math/w_atanhl.c: Likewise.
10569 * math/w_cosh.c: Likewise.
10570 * math/w_coshf.c: Likewise.
10571 * math/w_coshl.c: Likewise.
10572 * math/w_exp10.c: Likewise.
10573 * math/w_exp10f.c: Likewise.
10574 * math/w_exp10l.c: Likewise.
10575 * math/w_exp2.c: Likewise.
10576 * math/w_exp2f.c: Likewise.
10577 * math/w_exp2l.c: Likewise.
10578 * math/w_fmod.c: Likewise.
10579 * math/w_fmodf.c: Likewise.
10580 * math/w_fmodl.c: Likewise.
10581 * math/w_hypot.c: Likewise.
10582 * math/w_hypotf.c: Likewise.
10583 * math/w_hypotl.c: Likewise.
10584 * math/w_j0.c: Likewise.
10585 * math/w_j0f.c: Likewise.
10586 * math/w_j0l.c: Likewise.
10587 * math/w_j1.c: Likewise.
10588 * math/w_j1f.c: Likewise.
10589 * math/w_j1l.c: Likewise.
10590 * math/w_jn.c: Likewise.
10591 * math/w_jnf.c: Likewise.
10592 * math/w_jnl.c: Likewise.
10593 * math/w_log10.c: Likewise.
10594 * math/w_log10f.c: Likewise.
10595 * math/w_log10l.c: Likewise.
10596 * math/w_log2.c: Likewise.
10597 * math/w_log2f.c: Likewise.
10598 * math/w_log2l.c: Likewise.
10599 * math/w_log.c: Likewise.
10600 * math/w_logf.c: Likewise.
10601 * math/w_logl.c: Likewise.
10602 * math/w_pow.c: Likewise.
10603 * math/w_powf.c: Likewise.
10604 * math/w_powl.c: Likewise.
10605 * math/w_remainder.c: Likewise.
10606 * math/w_remainderf.c: Likewise.
10607 * math/w_remainderl.c: Likewise.
10608 * math/w_scalb.c: Likewise.
10609 * math/w_scalbf.c: Likewise.
10610 * math/w_scalbl.c: Likewise.
10611 * math/w_sinh.c: Likewise.
10612 * math/w_sinhf.c: Likewise.
10613 * math/w_sinhl.c: Likewise.
10614 * math/w_sqrt.c: Likewise.
10615 * math/w_sqrtf.c: Likewise.
10616 * math/w_sqrtl.c: Likewise.
10617 * math/w_tgamma.c: Likewise.
10618 * math/w_tgammaf.c: Likewise.
10619 * math/w_tgammal.c: Likewise.
10620
10621 * math/w_acos_compat.c: New file copied from above and
10622 adjusted for new #includes path
10623 * math/w_acosf_compat.c: Likewise.
10624 * math/w_acosh_compat.c: Likewise.
10625 * math/w_acoshf_compat.c: Likewise.
10626 * math/w_acoshl_compat.c: Likewise.
10627 * math/w_acosl_compat.c: Likewise.
10628 * math/w_asin_compat.c: Likewise.
10629 * math/w_asinf_compat.c: Likewise.
10630 * math/w_asinl_compat.c: Likewise.
10631 * math/w_atan2_compat.c: Likewise.
10632 * math/w_atan2f_compat.c: Likewise.
10633 * math/w_atan2l_compat.c: Likewise.
10634 * math/w_atanh_compat.c: Likewise.
10635 * math/w_atanhf_compat.c: Likewise.
10636 * math/w_atanhl_compat.c: Likewise.
10637 * math/w_cosh_compat.c: Likewise.
10638 * math/w_coshf_compat.c: Likewise.
10639 * math/w_coshl_compat.c: Likewise.
10640 * math/w_exp10_compat.c: Likewise.
10641 * math/w_exp10f_compat.c: Likewise.
10642 * math/w_exp10l_compat.c: Likewise.
10643 * math/w_exp2_compat.c: Likewise.
10644 * math/w_exp2f_compat.c: Likewise.
10645 * math/w_exp2l_compat.c: Likewise.
10646 * math/w_fmod_compat.c: Likewise.
10647 * math/w_fmodf_compat.c: Likewise.
10648 * math/w_fmodl_compat.c: Likewise.
10649 * math/w_hypot_compat.c: Likewise.
10650 * math/w_hypotf_compat.c: Likewise.
10651 * math/w_hypotl_compat.c: Likewise.
10652 * math/w_j0_compat.c: Likewise.
10653 * math/w_j0f_compat.c: Likewise.
10654 * math/w_j0l_compat.c: Likewise.
10655 * math/w_j1_compat.c: Likewise.
10656 * math/w_j1f_compat.c: Likewise.
10657 * math/w_j1l_compat.c: Likewise.
10658 * math/w_jn_compat.c: Likewise.
10659 * math/w_jnf_compat.c: Likewise.
10660 * math/w_jnl_compat.c: Likewise.
10661 * math/w_log10_compat.c: Likewise.
10662 * math/w_log10f_compat.c: Likewise.
10663 * math/w_log10l_compat.c: Likewise.
10664 * math/w_log2_compat.c: Likewise.
10665 * math/w_log2f_compat.c: Likewise.
10666 * math/w_log2l_compat.c: Likewise.
10667 * math/w_log_compat.c: Likewise.
10668 * math/w_logf_compat.c: Likewise.
10669 * math/w_logl_compat.c: Likewise.
10670 * math/w_pow_compat.c: Likewise.
10671 * math/w_powf_compat.c: Likewise.
10672 * math/w_powl_compat.c: Likewise.
10673 * math/w_remainder_compat.c: Likewise.
10674 * math/w_remainderf_compat.c: Likewise.
10675 * math/w_remainderl_compat.c: Likewise.
10676 * math/w_scalb_compat.c: Likewise.
10677 * math/w_scalbf_compat.c: Likewise.
10678 * math/w_scalbl_compat.c: Likewise.
10679 * math/w_sinh_compat.c: Likewise.
10680 * math/w_sinhf_compat.c: Likewise.
10681 * math/w_sinhl_compat.c: Likewise.
10682 * math/w_sqrt_compat.c: Likewise.
10683 * math/w_sqrtf_compat.c: Likewise.
10684 * math/w_sqrtl_compat.c: Likewise.
10685 * math/w_tgamma_compat.c: Likewise.
10686 * math/w_tgammaf_compat.c: Likewise.
10687 * math/w_tgammal_compat.c: Likewise.
10688
10689 * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
10690 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
10691 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
10692 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
10693 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
10694 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
10695 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
10696 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
10697 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
10698 * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
10699 * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
10700 * sysdeps/ia64/fpu/w_scalb.c: Likewise.
10701 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
10702 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
10703 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
10704 * sysdeps/ia64/fpu/w_powl.c: Likewise.
10705 * sysdeps/ia64/fpu/w_powf.c: Likewise.
10706 * sysdeps/ia64/fpu/w_pow.c: Likewise.
10707 * sysdeps/ia64/fpu/w_logl.c: Likewise.
10708 * sysdeps/ia64/fpu/w_logf.c: Likewise.
10709 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
10710 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
10711 * sysdeps/ia64/fpu/w_log2.c: Likewise.
10712 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
10713 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
10714 * sysdeps/ia64/fpu/w_log10.c: Likewise.
10715 * sysdeps/ia64/fpu/w_log.c: Likewise.
10716 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
10717 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
10718 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
10719 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
10720 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
10721 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
10722 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
10723 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
10724 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
10725 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
10726 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
10727 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
10728 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
10729 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
10730 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
10731 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
10732 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
10733 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
10734 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
10735 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
10736 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
10737 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
10738 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
10739 * sysdeps/ia64/fpu/w_asin.c: Likewise.
10740 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
10741 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
10742 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
10743 * sysdeps/ia64/fpu/w_acos.c: Likewise.
10744 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
10745 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
10746 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
10747 * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
10748 * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
10749 * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
10750 * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
10751 * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
10752 * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
10753 * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
10754 * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
10755 * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
10756 * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
10757 * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
10758 * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
10759 * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
10760 * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
10761 * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
10762 * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
10763 * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
10764 * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
10765 * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
10766 * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
10767 * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
10768 * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
10769 * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
10770 * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
10771 * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
10772 * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
10773 * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
10774 * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
10775 * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
10776 * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
10777 * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
10778 * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
10779 * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
10780 * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
10781 * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
10782 * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
10783 * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
10784 * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
10785 * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
10786 * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
10787 * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
10788 * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
10789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
10790 Likewise.
10791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
10792 Likewise.
10793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
10794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
10795 Likewise.
10796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
10797 Likewise.
10798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
10799 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10800 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10801 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10802 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10803 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10804 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
10806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
10808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10809 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10810 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10811 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10812 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10813
10814 * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
10815 and adjusted for new #includes path
10816 * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
10817 * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
10818 * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
10819 * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
10820 * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
10821 * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
10822 * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
10823 * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
10824 * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
10825 * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
10826 * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
10827 * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
10828 * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
10829 * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
10830 * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
10831 * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
10832 * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
10833 * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
10834 * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
10835 * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
10836 * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
10837 * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
10838 * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
10839 * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
10840 * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
10841 * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
10842 * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
10843 * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
10844 * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
10845 * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
10846 * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
10847 * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
10848 * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
10849 * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
10850 * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
10851 * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
10852 * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
10853 * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
10854 * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
10855 * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
10856 * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
10857 * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
10858 * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
10859 * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
10860 * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
10861 * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
10862 * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
10863 * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
10864 * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
10865 * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
10866 * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
10867 * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
10868 * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
10869 * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
10870 * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
10871 * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
10872 * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
10873 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
10874 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
10875 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
10876 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
10877 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
10878 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
10879 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
10880 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
10881 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
10882 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
10883 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
10884 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
10885 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
10886 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
10887 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
10888 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
10889 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
10890 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
10891 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
10892 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
10893 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
10894 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
10895 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
10896 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
10897 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
10898 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
10899 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
10900 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
10901 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
10902 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
10903 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
10904 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
10905 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
10906 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
10907 * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
10908 * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
10909 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
10910 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
10911 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
10912 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
10913 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
10914 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
10915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
10916 Likewise.
10917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
10918 Likewise.
10919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
10920 Likewise.
10921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
10922 Likewise.
10923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
10924 Likewise.
10925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
10926 Likewise.
10927 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
10928 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
10929 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
10930 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
10931 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
10932 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
10933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
10934 Likewise.
10935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
10936 Likewise.
10937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
10938 Likewise.
10939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
10940 Likewise.
10941 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
10942 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
10943 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
10944 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
10945
10946 2017-01-04 Joseph Myers <joseph@codesourcery.com>
10947
10948 * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
10949 __jmp_buf_internal_tag.
10950
10951 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
10952 preserve NaN payload if [__mips_nan2008].
10953 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
10954
10955 [BZ #21022]
10956 * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
10957
10958 2017-01-03 Joseph Myers <joseph@codesourcery.com>
10959
10960 * sysdeps/i386/fpu/libm-test-ulps: Update.
10961
10962 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10963
10964 * sysdeps/ia64/strcat.c: Remove file.
10965 * sysdeps/powerpc/strcat.c: Likewise.
10966 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
10967 C implementation.
10968 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
10969 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
10970
10971 2017-01-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10972 Steven Munroe <sjmunroe@us.ibm.com>
10973 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10974
10975 [BZ #20822]
10976 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10977 (__lll_lock_elision): Access adapt_count via C11 atomics.
10978 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10979 (__lll_trylock_elision): Likewise.
10980 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10981 (__lll_unlock_elision): Update adapt_count variable inside the
10982 critical section using C11 atomics.
10983
10984 2017-01-03 Joseph Myers <joseph@codesourcery.com>
10985
10986 * math/test-fenvinline.c (do_test): Disable tests of raised
10987 exceptions if !EXCEPTION_TESTS (FLOAT).
10988
10989 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10990
10991 [BZ #19390]
10992 * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
10993 maximum string size.
10994 * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
10995 in pointer addition.
10996 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
10997 Likewise.
10998
10999 2017-01-03 Joseph Myers <joseph@codesourcery.com>
11000
11001 * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
11002 passed to tst-ldconfig-X.sh.
11003
11004 2017-01-03 Martin Galvan <martingalvan@sourceware.org>
11005
11006 * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
11007
11008 2017-01-02 Joseph Myers <joseph@codesourcery.com>
11009
11010 [BZ #21019]
11011 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
11012 New syscall entry.
11013 * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
11014 * io/test-lfs.c (do_test): Test offset returned from lseek64 and
11015 lseek.
11016
11017 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
11018 power4 glibc for powerpc-linux-gnu.
11019
11020 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11021
11022 * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
11023 semctl.
11024
11025 2017-01-02 Joseph Myers <joseph@codesourcery.com>
11026
11027 * math/test-nearbyint-except.c: Include <stdbool.h>.
11028 (any_supported): New variable.
11029 (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise
11030 set any_supported.
11031 (do_test): Return 77 if no floating-point type supported
11032 exceptions.
11033
11034 * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
11035 condition on [__mips_hard_float].
11036
11037 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11038
11039 [BZ #21014]
11040 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
11041 in pointer addition.
11042 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
11043
11044 2017-01-02 Torvald Riegel <triegel@redhat.com>
11045
11046 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
11047 new condvar.
11048
11049 2017-01-02 Joseph Myers <joseph@codesourcery.com>
11050
11051 * scripts/build-many-glibcs.py (Context.checkout): Default
11052 binutils version to 2.28 branch.
11053
11054 2017-01-01 Florian Weimer <fweimer@redhat.com>
11055
11056 * support/support_format_netent.c (support_format_netent): Work
11057 around alpha struct netent definition difference.
11058
11059 2017-01-01 Florian Weimer <fweimer@redhat.com>
11060
11061 * support/xwrite.c (xwrite): Use %td for pointer difference.
11062
11063 2017-01-01 Florian Weimer <fweimer@redhat.com>
11064
11065 * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
11066 have-tunables only.
11067 (tests-static): Add tst-malloc-usable-static-tunables for
11068 have-tunables only.
11069
11070 2017-01-01 Joseph Myers <joseph@codesourcery.com>
11071
11072 * scripts/config.guess: Update to version 2017-01-01.
11073 * scripts/config.sub: Update to version 2017-01-01.
11074
11075 * NEWS: Update copyright dates.
11076 * catgets/gencat.c (print_version): Likewise.
11077 * csu/version.c (banner): Likewise.
11078 * debug/catchsegv.sh: Likewise.
11079 * debug/pcprofiledump.c (print_version): Likewise.
11080 * debug/xtrace.sh (do_version): Likewise.
11081 * elf/ldconfig.c (print_version): Likewise.
11082 * elf/ldd.bash.in: Likewise.
11083 * elf/pldd.c (print_version): Likewise.
11084 * elf/sotruss.sh: Likewise.
11085 * elf/sprof.c (print_version): Likewise.
11086 * iconv/iconv_prog.c (print_version): Likewise.
11087 * iconv/iconvconfig.c (print_version): Likewise.
11088 * locale/programs/locale.c (print_version): Likewise.
11089 * locale/programs/localedef.c (print_version): Likewise.
11090 * login/programs/pt_chown.c (print_version): Likewise.
11091 * malloc/memusage.sh (do_version): Likewise.
11092 * malloc/memusagestat.c (print_version): Likewise.
11093 * malloc/mtrace.pl: Likewise.
11094 * manual/libc.texinfo: Likewise.
11095 * nptl/version.c (banner): Likewise.
11096 * nscd/nscd.c (print_version): Likewise.
11097 * nss/getent.c (print_version): Likewise.
11098 * nss/makedb.c (print_version): Likewise.
11099 * posix/getconf.c (main): Likewise.
11100 * scripts/test-installation.pl: Likewise.
11101 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11102
11103 * All files with FSF copyright notices: Update copyright dates
11104 using scripts/update-copyrights.
11105 * intl/plural.c: Regenerated.
11106 * locale/programs/charmap-kw.h: Likewise.
11107 * locale/programs/locfile-kw.h: Likewise.
11108
11109 2016-12-31 Florian Weimer <fweimer@redhat.com>
11110
11111 [BZ #20593]
11112 Update DNS RR type definitions.
11113 * scripts/gen-rrtypes.py: New file.
11114 * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
11115 BIND-internal RR type not used on the Internet. Add ns_t_ds,
11116 ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
11117 ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
11118 ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
11119 ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
11120 ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
11121 ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
11122 ns_t_ta, ns_t_dlv.
11123 * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
11124 (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
11125 (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
11126 (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
11127 (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
11128 (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
11129 Define.
11130 * resolv/res_debug.c (__p_type_syms): Update comment. Remove
11131 entry for ns_t_zxfr.
11132
11133 2016-12-31 Florian Weimer <fweimer@redhat.com>
11134
11135 [BZ #18784]
11136 CVE-2015-5180
11137 * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
11138 T_UNSPEC. Adjust value.
11139 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
11140 * resolv/res_query.c (__libc_res_nquery): Likewise.
11141 * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
11142 QTYPEs.
11143 * resolv/tst-resolv-qtypes.c: New file.
11144 * resolv/Makefile (xtests): Add tst-resolv-qtypes.
11145 (tst-resolv-qtypes): Link against libresolv and libpthread.
11146
11147 2016-12-31 Florian Weimer <fweimer@redhat.com>
11148
11149 * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
11150
11151 2016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
11152
11153 * manual/tunables.texi: New chapter.
11154 * manual/Makefile (chapters): Add it.
11155 * manual/probes.texi (@node): Point to the Tunables chapter.
11156
11157 * Makeconfig (have-tunables): Check for non-negative instead
11158 of positive.
11159 * configure.ac: Add 'valstring' as a valid value for
11160 --enable-tunables.
11161 * configure: Regenerate.
11162 * elf/Makefile (have-tunables): Check for non-negative instead
11163 of positive.
11164 (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
11165 dl-tunables.c.
11166 * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
11167 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11168 (tunables_strdup): Likewise.
11169 (disable_tunables): Likewise.
11170 (parse_tunables): Likewise.
11171 (__tunables_init): Process GLIBC_TUNABLES envvar only when.
11172 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11173 * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
11174 (TUNABLES_FRONTEND_yes): New macro, define as
11175 TUNABLES_FRONTEND_valstring by default.
11176 * manual/install.texi: Document new acceptable values for
11177 --enable-tunables.
11178 * INSTALL: Regenerate.
11179
11180 * config.make.in (have-loop-to-function): Define.
11181 * elf/Makefile (CFLAGS-dl-tunables.c): Add
11182 -fno-tree-loop-distribute-patterns.
11183 * elf/dl-tunables.c: Include libc-internals.h.
11184 (GLIBC_TUNABLES): New macro.
11185 (tunables_strdup): New function.
11186 (parse_tunables): New function.
11187 (min_strlen): New function.
11188 (__tunables_init): Use the new functions and macro.
11189 (disable_tunable): Disable tunable from GLIBC_TUNABLES.
11190 * malloc/tst-malloc-usable-tunables.c: New test case.
11191 * malloc/tst-malloc-usable-static-tunables.c: New test case.
11192 * malloc/Makefile (tests, tests-static): Add tests.
11193
11194 * manual/install.texi: Add --enable-tunables option.
11195 * INSTALL: Regenerate.
11196 * README.tunables: New file.
11197 * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
11198 (before-compile): Generate dl-tunable-list.h early.
11199 * config.h.in: Add HAVE_TUNABLES.
11200 * config.make.in: Add have-tunables.
11201 * configure.ac: Add --enable-tunables option.
11202 * configure: Regenerate.
11203 * csu/init-first.c (__libc_init_first): Move
11204 __libc_init_secure earlier...
11205 * csu/init-first.c (LIBC_START_MAIN):... to here.
11206 Include dl-tunables.h, libc-internal.h.
11207 (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
11208 binaries.
11209 * elf/Makefile (dl-routines): Add dl-tunables.
11210 * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
11211 namespace.
11212 * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
11213 only when !HAVE_TUNABLES.
11214 * elf/rtld.c (process_envvars): Likewise.
11215 * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
11216 (_dl_sysdep_start): Call __tunables_init.
11217 * elf/dl-tunable-types.h: New file.
11218 * elf/dl-tunables.c: New file.
11219 * elf/dl-tunables.h: New file.
11220 * elf/dl-tunables.list: New file.
11221 * malloc/tst-malloc-usable-static.c: New test case.
11222 * malloc/Makefile (tests-static): Add it.
11223 * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
11224 Define TUNABLE_NAMESPACE.
11225 (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
11226 (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
11227 callback functions.
11228 (ptmalloc_init): Set tunable values.
11229 * scripts/gen-tunables.awk: New file.
11230 * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
11231 (_dl_sysdep_start): Call __tunables_init.
11232
11233 2016-12-31 Florian Weimer <fweimer@redhat.com>
11234
11235 * resolv/resolv.h (RES_BLAST): Deprecate.
11236 * resolv/res_debug.c (p_option): Remove RES_BLAST.
11237 * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
11238 to RES_BLAST.
11239
11240 2016-12-27 Florian Weimer <fweimer@redhat.com>
11241
11242 [BZ #19582]
11243 Deprecate RES_USE_INET6.
11244 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
11245 (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
11246 (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
11247 RES_USE_INET6.
11248 * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
11249 (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
11250 (_nss_nisplus_gethostbyaddr_r): Likewise.
11251 * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
11252 of res_use_inet6.
11253 * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
11254 instead of RES_USE_INET6.
11255 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
11256 * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
11257 (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
11258 Likewise.
11259 * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
11260 (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
11261 Likewise.
11262 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
11263 (_nss_dns_gethostbyname_r): Likewise.
11264 (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
11265 alternate RES_USE_INET6 handling.
11266 * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
11267 instead of RES_USE_INET6.
11268 * resolv/res_init.c (res_setoptions): Likewise.
11269 * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
11270 * resolv/resolv-internal.h: New file.
11271 * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
11272 make the deprecation warning non-fatal.
11273 * resolv/README (Using the resolver in multi-threaded code): Drop
11274 reference to RES_USE_INET6.
11275 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
11276 DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
11277
11278 2016-12-31 Florian Weimer <fweimer@redhat.com>
11279
11280 * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
11281 tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
11282 tst-resolv-search.
11283 (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
11284 (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
11285 with libresolv and libpthread.
11286 * resolv/tst-bug18665.c: New file.
11287 * resolv/tst-bug18665-tcp: Likewise.
11288 * resolv/tst-res_use_inet6: Likewise.
11289 * resolv/tst-resolv-basic: Likewise.
11290 * resolv/tst-resolv-network: Likewise.
11291 * resolv/tst-resolv-search: Likewise.
11292 * support/Makefile (libsupport-routines): Add check_addrinfo,
11293 check_dns_packet, check_hostent, check_netent, resolv_test,
11294 support_format_address_family, support_format_addrinfo,
11295 support_format_dns_packet, support_format_herrno,
11296 support_format_hostent, support_format_netent, support_run_diff,
11297 xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
11298 xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
11299 xstrdup, xwrite.
11300 * support/check_addrinfo.c: New file.
11301 * support/check_dns_packet.c: Likewise.
11302 * support/check_hostent.c: Likewise.
11303 * support/check_netent.c: Likewise.
11304 * support/check_nss.h: Likewise.
11305 * support/format_nss.h: Likewise.
11306 * support/resolv_test.c: Likewise.
11307 * support/resolv_test.h: Likewise.
11308 * support/run_diff.h: Likewise.
11309 * support/support_format_address_family.c: Likewise.
11310 * support/support_format_addrinfo.c: Likewise.
11311 * support/support_format_dns_packet.c: Likewise.
11312 * support/support_format_herrno.c: Likewise.
11313 * support/support_format_hostent.c: Likewise.
11314 * support/support_format_netent.c: Likewise.
11315 * support/support_run_diff.c: Likewise.
11316 * support/xaccept.c: Likewise.
11317 * support/xbind.c: Likewise.
11318 * support/xconnect.c: Likewise.
11319 * support/xfclose.c: Likewise.
11320 * support/xfopen.c: Likewise.
11321 * support/xgetsockname.c: Likewise.
11322 * support/xlisten.c: Likewise.
11323 * support/xmemstream.c: Likewise.
11324 * support/xmemstream.h: Likewise.
11325 * support/xpoll.c: Likewise.
11326 * support/xpthread_once.c: Likewise.
11327 * support/xrecvfrom.c: Likewise.
11328 * support/xsendto.c: Likewise.
11329 * support/xsetsockopt.c: Likewise.
11330 * support/xstdio.h: Likewise.
11331 * support/xstrdup.c: Likewise.
11332 * support/support.h (xstrdup): Declare.
11333 * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
11334 (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
11335 * support/xthread.h (xpthread_once): Likwise.
11336 * support/xunistd.h (xwrite): Declare.
11337
11338 2016-12-31 Florian Weimer <fweimer@redhat.com>
11339
11340 * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
11341 (test_verbose): Declare.
11342 * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
11343 * support/support_test_main.c (default_options): Likewise.
11344 (usage, support_test_main): Handle 'v'.
11345 (test_verbose): Define.
11346 * support/tst-support_record_failure.c (do_test): Use
11347 test_verbose.
11348 * support/tst-support_record_failure-2.sh (different_status): Add
11349 --verbose test.
11350
11351 2016-12-31 Florian Weimer <fweimer@redhat.com>
11352
11353 * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
11354 test failures are recorded.
11355 * support/check.c (support_print_failure_impl): Call
11356 support_record_failure.
11357 (support_exit_failure_impl): Call support_record_failure if status
11358 indicates failure.
11359 * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
11360 * support/xasprintf.c (xasprintf): Likewise.
11361 * support/xfork.c (xfork): Likewise.
11362 * support/xpthread_check_return.c (xpthread_check_return):
11363 Likewise.
11364 * support/xsocket.c (xsocket): Likeweise.
11365 * support/xwaitpid.c (xwaitpid): Likewise.
11366 * support/support_record_failure.c (struct test_failures): Adjust
11367 to coding style.
11368 * support/support_test_verify_impl.c (support_test_verify_impl):
11369 Adjust error messages.
11370 * support/tst-support_record_failure-2.sh (different_status):
11371 Adjust error messages.
11372
11373 2016-12-31 Florian Weimer <fweimer@redhat.com>
11374
11375 * support/namespace.h: New file.
11376 * support/support_become_root.c: Likewise.
11377 * support/support_enter_network_namespace.c: Likewise.
11378 * support/tst-support-namespace.c: Likewise.
11379 * support/xsocket.c: Likewise.
11380 * support/xsocket.h: Likewise.
11381 * support/Makefile (libsupport-routines): Add support_become_root,
11382 support_enter_network_namespace, xsocket.
11383 (tests): Add tst-support-namespace.
11384
11385 2016-12-31 Florian Weimer <fweimer@redhat.com>
11386
11387 [BZ #17252]
11388 * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
11389 __USE_GNU.
11390
11391 2016-12-31 Torvald Riegel <triegel@redhat.com>
11392
11393 [BZ #13165]
11394 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
11395 use new algorithm.
11396 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11397 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11398 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11399 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11400 (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
11401 (__condvar_confirm_wakeup, __condvar_cancel_waiting,
11402 __condvar_cleanup_waiting, __condvar_dec_grefs,
11403 __pthread_cond_wait_common): New.
11404 (__condvar_cleanup): Remove.
11405 * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
11406 * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
11407 Likewise.
11408 * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
11409 Likewise.
11410 * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
11411 * nptl/tst-cond1.c: Add comment.
11412 * nptl/tst-cond20.c (do_test): Adapt.
11413 * nptl/tst-cond22.c (do_test): Likewise.
11414 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
11415 structure.
11416 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11417 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11418 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11419 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
11420 Likewise.
11421 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11422 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11423 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11424 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11425 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11426 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
11427 Likewise.
11428 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
11429 Likewise.
11430 * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11431 * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
11432 (COND_CLOCK_BITS): Adapt.
11433 * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
11434 * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
11435 __PTHREAD_COND_SHARED_MASK): New.
11436 * nptl/nptl-printers.py (CLOCK_IDS): Remove.
11437 (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
11438 * nptl/nptl_lock_constants.pysym: Adapt.
11439 * nptl/test-cond-printers.py: Adapt.
11440 * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
11441 cond_compat_check_and_clear): Adapt.
11442 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
11443 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11444 (__pthread_cond_timedwait): ... and move here.
11445 * nptl/DESIGN-condvar.txt: Remove file.
11446 * nptl/lowlevelcond.sym: Likewise.
11447 * nptl/pthread_cond_timedwait.c: Likewise.
11448 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
11449 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
11450 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
11451 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
11452 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
11453 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
11454 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
11455 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
11456 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
11457 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
11458 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
11459 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
11460 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
11461 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
11462 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
11463 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
11464
11465 2016-12-31 Joseph Myers <joseph@codesourcery.com>
11466
11467 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11468 (fromfp): New declaration.
11469 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11470 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11471 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11472 * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
11473 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
11474 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11475 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11476 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11477 * math/math.h: Include <bits/types.h>.
11478 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
11479 constant and macro.
11480 (FP_INT_DOWNWARD): Likewise.
11481 (FP_INT_TOWARDZERO): Likewise.
11482 (FP_INT_TONEARESTFROMZERO): Likewise.
11483 (FP_INT_TONEAREST): Likewise.
11484 * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
11485 (fromfpf): Likewise.
11486 (fromfpl): Likewise.
11487 (ufromfp): Likewise.
11488 (ufromfpf): Likewise.
11489 (ufromfpl): Likewise.
11490 (fromfpx): Likewise.
11491 (fromfpxf): Likewise.
11492 (fromfpxl): Likewise.
11493 (ufromfpx): Likewise.
11494 (ufromfpxf): Likewise.
11495 (ufromfpxl): Likewise.
11496 * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
11497 s_fromfpxF and s_ufromfpxF.
11498 * math/gen-fromfp-tests.py: New file.
11499 * math/gen-fromfp-tests-inputs: Likewise.
11500 * math/libm-test.inc: Include <stdint.h>
11501 (check_intmax_t): New function.
11502 (check_uintmax_t): Likewise.
11503 (struct test_fiu_M_data): New type.
11504 (struct test_fiu_U_data): Likewise.
11505 (RUN_TEST_fiu_M): New macro.
11506 (RUN_TEST_LOOP_fiu_M): Likewise.
11507 (RUN_TEST_fiu_U): Likewise.
11508 (RUN_TEST_LOOP_fiu_U): Likewise.
11509 (fromfp_test_data): New array.
11510 (fromfp_test): New function.
11511 (fromfpx_test_data): New array.
11512 (fromfpx_test): New function.
11513 (ufromfp_test_data): New array.
11514 (ufromfp_test): New function.
11515 (ufromfpx_test_data): New array.
11516 (ufromfpx_test): New function.
11517 (main): Call fromfp_test, fromfpx_test, ufromfp_test and
11518 ufromfpx_test.
11519 * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
11520 characters.
11521 * math/test-tgmath-ret.c: Include <stdint.h>.
11522 (rm): New variable.
11523 (width): Likewise.
11524 (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
11525 called function.
11526 (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
11527 CHECK_RET_CONST_TYPE.
11528 (CHECK_RET_CONST_DOUBLE): Likewise.
11529 (CHECK_RET_CONST_LDOUBLE): Likewise.
11530 (CHECK_RET_CONST): Take extra arguments and pass them to calls
11531 macros.
11532 (fromfp): New CHECK_RET_CONST call.
11533 (ufromfp): Likewise.
11534 (fromfpx): Likewise.
11535 (ufromfpx): Likewise.
11536 (do_test): Call check_return_fromfp, check_return_ufromfp,
11537 check_return_fromfpx and check_return_ufromfpx.
11538 * math/test-tgmath.c: Include <stdint.h>
11539 (NCALLS): Increase to 138.
11540 (F(compile_test)): Initialize i. Call fromfp functions.
11541 (F(fromfp)): New function.
11542 (F(fromfpx)): Likewise.
11543 (F(ufromfp)): Likewise.
11544 (F(ufromfpx)): Likewise.
11545 * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
11546 FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
11547 FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
11548 ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
11549 ufromfpxl.
11550 * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
11551 ufromfp and ufromfpx.
11552 * math/fromfp.h: New file.
11553 * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
11554 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
11555 * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
11556 * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
11557 * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
11558 * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
11559 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
11560 * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
11561 * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
11562 * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
11563 * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
11564 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
11565 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
11566 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
11567 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
11568 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
11569 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
11570 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
11571 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
11572 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
11573 * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
11574 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
11575 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
11576 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
11577 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
11578 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
11579 ufromfp, fromfpx and ufromfpx.
11580 (CFLAGS-nldbl-fromfp.c): New variable.
11581 (CFLAGS-nldbl-fromfpx.c): Likewise.
11582 (CFLAGS-nldbl-ufromfp.c): Likewise.
11583 (CFLAGS-nldbl-ufromfpx.c): Likewise.
11584 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
11585 * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
11586 * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
11587 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
11588 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
11589 * sysdeps/nacl/libm.abilist: Update.
11590 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11591 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11592 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11593 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11594 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11595 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11596 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11597 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11598 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11599 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11600 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11601 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11603 Likewise.
11604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11605 Likewise.
11606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11607 Likewise.
11608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11609 Likewise.
11610 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11611 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11612 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11613 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11614 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11616 Likewise.
11617 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11618 Likewise.
11619 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11620 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11621 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11622
11623 2016-12-30 Florian Weimer <fweimer@redhat.com>
11624
11625 * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
11626 compat-gethnamaddr.
11627 (CPPFLAGS): Remove.
11628 * resolv/gethnamaddr.c: Rename ...
11629 * resolv/compat-gethnamaddr.c: ... to this file.
11630 (_endhtent): Make static.
11631 (res_gethostbyname): Renamed from gethostbyname. Turn into compat
11632 symbol.
11633 (res_gethostbyname2): Renamed from gethostbyname2. Turn into
11634 compat symbol.
11635 (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
11636 symbol.
11637 (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
11638 Turn into compat symbol.
11639 * include/resolv.h (_endhtent): Remove declaration.
11640
11641 2016-12-30 Joseph Myers <joseph@codesourcery.com>
11642
11643 * bits/types.h (__intmax_t): New typedef.
11644 (__uintmax_t): Likewise.
11645 * sysdeps/generic/stdint.h: Include <bits/types.h>.
11646 (intmax_t): Define using __intmax_t.
11647 (uintmax_t): Define using __uintmax_t.
11648
11649 * support/Makefile (tests-special): Make definition conditional on
11650 [$(run-built-tests) = yes].
11651 ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
11652 on [$(run-built-tests) = yes].
11653
11654 2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
11655
11656 * Rules (tests): Add tests-printers-programs to tests to be
11657 built.
11658
11659 2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11660
11661 * sysvipc/Makefile (tests): Add test-sysvshm.
11662 * sysvipc/test-sysvshm.c: New file.
11663
11664 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
11665 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
11666 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
11667 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
11668 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
11669 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
11670 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
11671 Likewise.
11672 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
11673 Likewise.
11674 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
11675 * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
11676 is defined.
11677
11678 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
11679 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
11680 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
11681 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
11682 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
11683 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
11684 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
11685 Likewise.
11686 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
11687 Likewise.
11688 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
11689 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
11690 defined.
11691
11692 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11693 oldshmctl.
11694 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
11695 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
11696 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
11697 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
11698 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
11699 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
11700 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
11701 Likewise.
11702 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
11703 Likewise.
11704 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
11705 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
11706 * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
11707 * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
11708 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
11709 implementation.
11710 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
11711 if it is defined.
11712
11713 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
11714 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
11715 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
11716 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
11717 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
11718 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
11719 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
11720 Likewise.
11721 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
11722 Likewise.
11723 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
11724 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
11725 Define to __NR_osf_shmat.
11726 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
11727 defined.
11728
11729 * sysvipc/Makefile (tests): Add test-sysvsem.
11730 * sysvipc/test-sysvsem.c: New file.
11731
11732 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
11733 * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
11734 * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
11735 Likewise.
11736 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
11737 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
11738 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
11739 Likewise.
11740 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
11741 Likewise.
11742 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
11743 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
11744 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
11745 add a comment about s390 syscall difference from default one.
11746 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
11747 syscall if it is defined.
11748
11749 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
11750 * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
11751 * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
11752 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
11753 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
11754 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
11755 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
11756 Likewise.
11757 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
11758 Likewise.
11759 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
11760 * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
11761 defined.
11762
11763 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
11764 * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
11765 * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
11766 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
11767 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
11768 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
11769 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
11770 Likewise.
11771 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
11772 Likewise.
11773 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
11774 * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
11775 if it is defined.
11776
11777 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11778 oldsemctl.
11779 * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
11780 * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
11781 * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
11782 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
11783 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
11784 implementation.
11785 * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
11786 syscall if it is defined.
11787 * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
11788 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
11789 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
11790 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
11791 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
11792 Likewise.
11793 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
11794
11795 * sysvipc/Makefile (tests): Add test-sysvmsg.
11796 * sysvipc/test-sysvmsg.c: New file.
11797 * support/check.h (FAIL_UNSUPPORTED): New define.
11798
11799 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
11800 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
11801 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
11802 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
11803 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
11804 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
11805 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
11806 Likewise.
11807 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
11808 Likewise.
11809 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
11810 * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
11811 define.
11812
11813 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
11814 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
11815 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
11816 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
11817 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
11818 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
11819 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
11820 Likewise.
11821 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
11822 Likewise.
11823 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
11824 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
11825 if defined.
11826
11827 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
11828 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
11829 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
11830 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
11831 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
11832 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
11833 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
11834 Likewise.
11835 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
11836 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
11837 Likewise.
11838 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
11839 if defined.
11840 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
11841
11842 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11843 oldmsgctl.
11844 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
11845 * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
11846 * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
11847 * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
11848 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
11849 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
11850 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
11851 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
11852 Likewise.
11853 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
11854 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
11855 implementation.
11856 * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
11857 if defined.
11858
11859 * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
11860 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
11861 definition and define its own.
11862 * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
11863 * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
11864 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
11865 * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
11866 * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
11867 definitions to common header.
11868 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
11869 operation from ipc_ops.h.
11870
11871 * sysdeps/unix/sysv/linux/kernel-features.h
11872 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
11873 * sysdeps/unix/sysv/linux/i386/kernel-features.h
11874 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
11875 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11876 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11877 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11878 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11879 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11880 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11881 * sysdeps/unix/sysv/linux/s390/kernel-features.h
11882 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11883 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11884 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11885 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11886 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11887
11888 2016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11889
11890 * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
11891 overflow in pointer addition.
11892
11893 2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11894
11895 * sysdeps/powerpc/powerpc64/multiarch/Makefile
11896 (sysdep_routines): Add strchr-power8 and strchrnul_power8.
11897 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11898 (strchr): Add __strchr_power8 to list of strchr functions.
11899 (strchrnul): Add __strchrnul_power8 to list of strchr functions.
11900 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
11901 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
11902 * sysdeps/powerpc/powerpc64/multiarch/strchr.c
11903 (strchr): Add __strchr_power8 to ifunc list.
11904 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
11905 (__strchrnul): Add __strchrnul_power8 to ifunc list.
11906 * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
11907 * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
11908
11909 2016-12-28 Florian Weimer <fweimer@redhat.com>
11910
11911 * support/Makefile (libsupport-routines): Add
11912 support_test_verify_impl, support_record_failure, xfork, xwaitpid.
11913 (tests): Add tst-support_record_failure.
11914 (tests-special): tst-support_record_failure-2.
11915 (tst-support_record_failure-2.out): Depend on
11916 tst-support_record_failure-2.sh and tst-support_record_failure.
11917 * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
11918 (support_test_verify_impl, support_record_failure)
11919 (support_report_failure, support_report_failure_reset): Declare.
11920 * support/support_test_main.c (adjust_exit_status): New function.
11921 (support_test_main): Call it to incorporate record test failures.
11922 * support/support_test_verify_impl.c: New file.
11923 * support/support_record_failure.c: Likewise.
11924 * support/tst-support_record_failure.c: Likewise.
11925 * support/tst-support_record_failure-2.sh: Likewise.
11926 * support/xunistd.h: Likewise.
11927 * support/xfork.c: Likewise.
11928 * support/xwaitpid.c: Likewise.
11929
11930 2016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
11931
11932 * scripts/check-c++-types.sh: Add comments.
11933
11934 2016-12-27 Dmitry V. Levin <ldv@altlinux.org>
11935
11936 [BZ #19514]
11937 * resolv/res_send.c: Fix typo in comment.
11938 * sysdeps/i386/i386-mcount.S: Likewise.
11939 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11940 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11941 * sysdeps/sparc/sparc-mcount.S: Likewise.
11942
11943 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11944
11945 * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
11946 * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
11947 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
11948 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
11949 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
11950 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
11951 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
11952 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
11953
11954 2016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11955
11956 * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
11957
11958 2016-12-27 Florian Weimer <fweimer@redhat.com>
11959
11960 [BZ #17252]
11961 * posix/unistd.h (getentropy): Declare.
11962
11963 2016-12-27 Florian Weimer <fweimer@redhat.com>
11964
11965 * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
11966 Remove.
11967 * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
11968 (cmd): Remove spoof, nospoof, spoofalert.
11969 (parse_line): Ignore spoof-related lines.
11970 (do_init): Do not process RESOLV_SPOOF_CHECK.
11971
11972 2016-12-27 Florian Weimer <fweimer@redhat.com>
11973
11974 [BZ #20964]
11975 sunrpc: Always obtain AF_INET addresses from NSS.
11976 * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
11977 * sunrpc/rpc_gethostbyname.c: New file.
11978 * sunrpc/Makefile (routines): Add it.
11979 * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
11980 * sunrpc/clnt_simp.c (callrpc): Likewise.
11981 * sunrpc/getrpcport.c (getrpcport): Likewise.
11982
11983 2016-12-27 Florian Weimer <fweimer@redhat.com>
11984
11985 * sunrpc/rpcinfo.c: Remove.
11986 * sunrpc/Makefile: Remove comments referring to rpcinfo.
11987
11988 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11989
11990 [BZ #19387]
11991 * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
11992 addition.
11993 * string/test-memchr.c (do_test): Remove alignment limitation.
11994 (test_main): Add test that trigger BZ #19387.
11995
11996 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
11997
11998 [BZ #7065]
11999 Enable stack protectore if requested by ./configure.
12000 * Makeconfig (+stack-protector): New variable.
12001 (+cflags): Use it.
12002
12003 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12004
12005 [BZ #7065]
12006 * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
12007 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
12008 (__rt_sigreturn_stub): Use inhibit_stack_protector.
12009 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12010 (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
12011
12012 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12013
12014 [BZ #7065]
12015 * login/Makefile (pt_chown-cflags): Remove.
12016 * nscd/Makefile (CFLAGS-nscd): Likewise.
12017 * resolv/Makefile (CFLAGS-libresolv): Likewise.
12018
12019 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12020
12021 [BZ #7065]
12022 * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
12023 non-libc-linking testcase.
12024
12025 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12026 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12027 Florian Weimer <fweimer@redhat.com>
12028
12029 [BZ #7065]
12030 PLT avoidance for __stack_chk_fail*.
12031 * debug/Makefile (CFLAGS-stack_chk_fail.c)
12032 (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
12033 * debug/stack_chk_fail.c (__stack_chk_fail): Add
12034 __stack_chk_fail_local alias.
12035 * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
12036 (__stack_chk_fail): Turn into hidden reference to
12037 __stack_chk_fail_local.
12038
12039 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12040
12041 [BZ #7065]
12042 * configure.ac: Add check for unsupported stack-protection level.
12043 (libc_cv_predef_stack_protector): Remove.
12044 (no_ssp): New variable.
12045 (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
12046 (stack_protector): Set to -fno-stack-protector similarly.
12047 (libc_cv_ld_gnu_indirect_function): Use no_ssp.
12048 (libc_cv_asm_set_directive): Likewise.
12049 (libc_cv_protected_data): Likewise.
12050 (libc_cv_z_combreloc): Likewise.
12051 (libc_cv_hashstyle): Likewise.
12052 (libc_cv_has_glob_dat): Likewise.
12053 (libc_cv_output_format): Likewise.
12054 (libc_cv_output_format): Likewise.
12055 (libc_cv_ehdr_start): Likewise.
12056 * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
12057 (LIBC_LINKER_FEATURE): Likewise.
12058 (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
12059
12060 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12061
12062 [BZ #7065]
12063 * elf/Makefile (dummy-stack-chk-fail): New.
12064 (librtld.map): Use it.
12065
12066 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12067
12068 [BZ #7065]
12069 Compile the dynamic linker without stack protection.
12070 * elf/Makefile (elide-stack-protector): New.
12071 (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
12072 (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
12073 * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
12074 * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
12075
12076 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12077
12078 [BZ #7065]
12079 * config.make.in (have-ssp, no-stack-protector): New.
12080 * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
12081 * misc/Makefile (CFLAGS-sbrk.o): Likewise.
12082 (CFLAGS-sbrk.op): Likewise.
12083 (CFLAGS-brk.o): Likewise.
12084 (CFLAGS-brk.op): Likewise.
12085 * string/Makefile (CFLAGS-memcpy.c): Likewise.
12086 (CFLAGS-wordcopy.c): Likewise.
12087
12088 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12089
12090 [BZ #7065]
12091 * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
12092 * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
12093 * include/libc-symbols.h (inhibit_stack_protector): New macro.
12094 (__ifunc_resolver): Use it.
12095 * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
12096 inhibit_stack_protector.
12097 * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
12098 * elf/ifuncmain7.c (foo_ifunc): Likewise.
12099 * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
12100 (foo_protected_ifunc): Likewise.
12101 * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
12102 (foo_protected_ifunc): Likewise.
12103 * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12104 * sysdeps/nacl/nacl_interface_query.c
12105 (nacl_interface_query_ifunc): Likewise.
12106 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12107 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
12108 Likewise.
12109 * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
12110 * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
12111 the generated vDSO syscall resolver.
12112
12113 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12114 Florian Weimer <fweimer@redhat.com>
12115
12116 [BZ #7065]
12117 Initialize the stack guard earlier when linking statically.
12118 * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
12119 (__pthread_initialize_minimal): Declare.
12120 * csu/libc-start.c (__pthread_initialize_minimal): Remove
12121 declaration.
12122 (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
12123 stack canary and apply_irel initialization up. Call
12124 __pthread_initialize_minimal only if linked in.
12125 * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
12126 constant values.
12127 (__pthread_initialize_minimal): Remove.
12128 * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
12129 (__pthread_initialize_minimal_internal): Do not call
12130 __libc_setup_tls.
12131
12132 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12133
12134 [BZ #7065]
12135 * configure.ac (libc_cv_ssp): Move up.
12136 (libc_cv_ssp_strong): Likewise.
12137 (libc_cv_ssp_all): New.
12138 (stack_protector): Augment, adding -fstack-protector-all.
12139 (no_stack_protector): New.
12140 (STACK_PROTECTOR_LEVEL): New.
12141 (AC_ARG_ENABLE(stack-protector)): New configure flag.
12142 * manual/install.texi (--enable-stack-protector): Document it.
12143 * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
12144
12145 2016-12-24 Carlos O'Donell <carlos@redhat.com>
12146
12147 * README.pretty-printers: Must specify CPPFLAGS-* also.
12148 * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
12149 (CPPFLAGS-test-mutex-printers.c): Define.
12150 (CPPFLAGS-test-condattr-printers.c): Define.
12151 (CPPFLAGS-test-cond-printers.c): Define.
12152 (CPPFLAGS-test-rwlockattr-printers.c): Define.
12153 (CPPFLAGS-test-rwlock-printers.c): Define.
12154
12155 * nss/Makefile [ifeq (yes,$(have-thread-library))]
12156 (tests): Add tst-cancel-getpwuid_r.
12157 * nss/tst-cancel-getpwuid_r.c: New file.
12158
12159 [BZ #11941]
12160 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
12161 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
12162 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
12163 tst-nodelete-dlclose.
12164 (modules-names): Add tst-nodelete-dlclose-dso and
12165 tst-nodelete-dlclose-plugin.
12166 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
12167 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
12168 ($(objpfx)tst-nodelete-dlclose): Define.
12169 ($(objpfx)tst-nodelete-dlclose.out): Define.
12170
12171 2016-12-23 Florian Weimer <fweimer@redhat.com>
12172
12173 * scripts/test_printers_common.py: Log GDB output in case of
12174 Python detection failure.
12175
12176 2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
12177
12178 * configure.ac: Check for python3 or python.
12179 * configure: Regenerated.
12180 * config.make.in (PYTHON): New variable.
12181 * benchtests/Makefile: Don't define PYTHON.
12182 (bench): Define target only if PYTHON was defined.
12183 * Rules: Don't define PYTHON.
12184 Define pretty printer targets only if PYTHON was defined.
12185 (tests-printers): Add to tests-unsupported if PYTHON is not
12186 found.
12187 (python-flags, python-invoke): Remove.
12188 (tests-printers-out): Use PYTHON instead of python-invoke.
12189
12190 2016-12-21 Joseph Myers <joseph@codesourcery.com>
12191
12192 [BZ #20978]
12193 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12194 Compare name == NULL, not name != NULL.
12195
12196 * manual/texinfo.tex: Update to version 2016-09-18.18 with
12197 trailing whitespace removed.
12198 * scripts/config.guess: Update to version 2016-10-02.
12199 * scripts/config.sub: Update to version 2016-11-19.
12200 * scripts/install-sh: Update to version 2016-01-11.22.
12201 * scripts/mkinstalldirs: Update to version 2016-01-11.22.
12202 * scripts/move-if-change: Update to version 2016-01-11 22:04.
12203
12204 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
12205
12206 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
12207 (do_one_test) Restore original string so iteration works.
12208 * string/string-inlines.c (do_test): Create better input strings.
12209 (test_main) Reduce number of testruns.
12210 * string/string-inlines.c (__old_strsep_1c): New function.
12211 (__old_strsep_2c): Likewise.
12212 (__old_strsep_3c): Likewise.
12213 * string/strsep.c (__strsep): Remove case of small delim string.
12214 Call strcspn directly rather than strpbrk.
12215 * string/bits/string2.h (__strsep): Remove define.
12216 (__strsep_1c): Remove.
12217 (__strsep_2c): Remove.
12218 (__strsep_3c): Remove.
12219 (strsep): Remove.
12220 * sysdeps/unix/sysv/linux/internal_statvfs.c
12221 (__statvfs_getflags): Rename to __strsep.
12222
12223 2016-12-21 Florian Weimer <fweimer@redhat.com>
12224
12225 * csu/libc-tls.c (_dl_tls_setup): Remove.
12226 * elf/dl-tls.c (_dl_tls_setup): Likewise.
12227 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
12228 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
12229
12230 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
12231
12232 [BZ #7065]
12233 * sysdeps/x86_64/Makefile [$(subdir) = elf]
12234 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
12235
12236 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
12237 Florian Weimer <fweimer@redhat.com>
12238
12239 [BZ #7065]
12240 * csu/Makefile (tests): Empty assignment and document it.
12241 (tests-static): Remove.
12242 * csu/tst-empty.c: Move to...
12243 * misc/tst-empty.c: ... here. Switch to new test driver.
12244 * csu/tst-atomic.c: Move to...
12245 * misc/tst-atomic.c: ... here. Switch to new test driver.
12246 * csu/tst-atomic-long.c: Move to...
12247 * misc/tst-atomic-long.c: ... here.
12248 * misc/Makefile (tests): Add tst-empty, tst-atomic,
12249 tst-atomic-long.
12250 (tests-static): Add tst-empty.
12251
12252 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
12253
12254 * manual/nss.texi: Change incorrect @vtable to @table.
12255 * manual/arith.texi: Convert @tables of variables to @vtables
12256 and remove unnecessary indexing.
12257 * manual/filesys.texi: Likewise.
12258 * manual/llio.texi: Likewise.
12259 * manual/memory.texi: Likewise.
12260 * manual/process.texi: Likewise.
12261 * manual/resource.texi: Likewise.
12262 * manual/search.texi: Likewise.
12263 * manual/signal.texi: Likewise.
12264 * manual/socket.texi: Likewise.
12265 * manual/stdio.texi: Likewise.
12266 * manual/sysinfo.texi: Likewise.
12267 * manual/syslog.texi: Likewise.
12268 * manual/terminal.texi: Likewise.
12269 * manual/time.texi: Likewise.
12270 * manual/users.texi: Likewise.
12271
12272 2016-12-21 Joseph Myers <joseph@codesourcery.com>
12273
12274 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12275 (roundeven): New declaration.
12276 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
12277 macro.
12278 * math/Versions (roundeven): New libm symbol at version
12279 GLIBC_2.25.
12280 (roundevenf): Likewise.
12281 (roundevenl): Likewise.
12282 * math/Makefile (libm-calls): Add s_roundevenF.
12283 * math/libm-test.inc (roundeven_test_data): New array.
12284 (roundeven_test): New function.
12285 (main): Call roundeven_test.
12286 * math/test-tgmath.c (NCALLS): Increase to 134.
12287 (F(compile_test)): Call roundeven.
12288 (F(roundeven)): New function.
12289 * manual/arith.texi (Rounding Functions): Document roundeven,
12290 roundevenf and roundevenl.
12291 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
12292 * include/math.h (roundeven): Use libm_hidden_proto.
12293 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
12294 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
12295 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
12296 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
12297 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
12298 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
12299 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12300 roundeven.
12301 (CFLAGS-nldbl-roundeven.c): New variable.
12302 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
12303 * sysdeps/nacl/libm.abilist: Update.
12304 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12305 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12306 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12307 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12308 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12309 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12310 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12311 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12312 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12313 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12314 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12315 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12317 Likewise.
12318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12319 Likewise.
12320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12321 Likewise.
12322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12323 Likewise.
12324 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12325 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12326 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12327 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12328 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12330 Likewise.
12331 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12332 Likewise.
12333 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12334 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12335 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12336
12337 2016-12-20 Joseph Myers <joseph@codesourcery.com>
12338
12339 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
12340 preprocessor indentation inside #if.
12341
12342 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12343
12344 * math/libm-test.inc (fmt_ftostr): New function.
12345 (print_float, check_float_internal): Replace some uses of
12346 FTOSTR with uses of fmt_ftostr.
12347 (print_max_error, print_complex_max_error, print_function_ulps)
12348 (print_complex_function_ulps): Remove uses of the macros
12349 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
12350 * math/test-double.h (FTOSTR): Define to strfromd.
12351 (PRINTF_EXPR): Delete.
12352 (PRINTF_XEXPR): Likewise.
12353 (PRINTF_NEXPR): Likewise.
12354 * math/test-float.h (FTOSTR): Define to strfromf.
12355 (PRINTF_EXPR): Delete.
12356 (PRINTF_XEXPR): Likewise.
12357 (PRINTF_NEXPR): Likewise.
12358 * math/test-ldouble.h (FTOSTR): Define to strfroml.
12359 (PRINTF_EXPR): Delete.
12360 (PRINTF_XEXPR): Likewise.
12361 (PRINTF_NEXPR): Likewise.
12362
12363 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12364
12365 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12366 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
12367 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12368 (__lll_lock_elision): Decrement adapt_count while unlocking
12369 instead of before locking.
12370 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12371 (__lll_trylock_elision): Likewise.
12372 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
12373 (__lll_unlock_elision): Likewise.
12374
12375 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12376
12377 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
12378 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
12379 Use __libc_tbegin_retry macro.
12380
12381 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12382
12383 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
12384 Add -msoft-float.
12385 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
12386 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12387 Use __libc_t* transaction macros instead of __builtin_t*.
12388 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12389 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12390
12391 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12392
12393 * sysdeps/unix/sysv/linux/s390/elision-lock.c
12394 (__lll_lock_elision): Use atomics to load / store adapt_count.
12395 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12396 (__lll_trylock_elision): Likewise.
12397
12398 2016-12-20 Florian Weimer <fweimer@redhat.com>
12399
12400 Do not require memset elimination in explicit_bzero test.
12401 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
12402 (enum test_expectation): Add NO_EXPECTATIONS.
12403 (subtests): NO_EXPECTATIONS for ordinary clear.
12404 (check_test_buffer): Handle NO_EXPECTATIONS.
12405 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
12406
12407 2016-12-20 Joseph Myers <joseph@codesourcery.com>
12408
12409 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12410 (fmaxmag): New declaration.
12411 (fminmag): Likewise.
12412 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
12413 macro.
12414 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
12415 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
12416 (fmaxmagf): Likewise.
12417 (fmaxmagl): Likewise.
12418 (fminmag): Likewise.
12419 (fminmagf): Likewise.
12420 (fminmagl): Likewise.
12421 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
12422 * math/s_fmaxmag_template.c: New file.
12423 * math/s_fminmag_template.c: Likewise.
12424 * math/libm-test.inc (fmaxmag_test_data): New array.
12425 (fmaxmag_test): New function.
12426 (fminmag_test_data): New array.
12427 (fminmag_test): New function.
12428 (main): Call fmaxmag_test and fminmag_test.
12429 * math/test-tgmath.c (NCALLS): Increase to 132.
12430 (F(compile_test)): Call fmaxmag and fminmag.
12431 (F(fminmag)): New function.
12432 (F(fmaxmag)): Likewise.
12433 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
12434 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
12435 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
12436 fminmag.
12437 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
12438 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
12439 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
12440 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
12441 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
12442 and fminmag.
12443 (CFLAGS-nldbl-fmaxmag.c): New variable.
12444 (CFLAGS-nldbl-fminmag.c): Likewise.
12445 * sysdeps/nacl/libm.abilist: Update.
12446 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12447 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12448 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12449 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12450 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12451 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12452 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12453 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12454 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12455 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12456 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12457 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12459 Likewise.
12460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12461 Likewise.
12462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12463 Likewise.
12464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12465 Likewise.
12466 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12467 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12468 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12469 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12470 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12471 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12472 Likewise.
12473 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12474 Likewise.
12475 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12476 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12477 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12478
12479 2016-12-19 Torvald Riegel <triegel@redhat.com>
12480
12481 [BZ #20973]
12482 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
12483 wake-up in robust mutexes.
12484 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12485
12486 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12487
12488 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
12489 (CFLAGS-bench-fmaxf.c): New rule.
12490 (CFLAGS-bench-fminf.c): Likewise.
12491 * benchtests/fmaxf-inputs: New file.
12492 * benchtests/fminf-inputs: Likewise.
12493
12494 * benchtests/Makefile (bench-math): Add fmin and fmax.
12495 (CFLAGS-bench-fmax.c): New rule.
12496 (CFLAGS-bench-fmin.c): Likewise.
12497 * benchtests/fmax-inputs: New file.
12498 * benchtests/fmin-inputs: Likewise.
12499
12500 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
12501 parenthesis.
12502 (CMDLINE_PROCESS): Define using function instead of macro.
12503 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
12504 of test-skeleton.
12505 * benchtests/bench-memchr.c: Likewise.
12506 * benchtests/bench-memcmp.c: Likewise.
12507 * benchtests/bench-memcpy-large.c: Likewise.
12508 * benchtests/bench-memcpy.c: Likewise.
12509 * benchtests/bench-memmem.c: Likewise.
12510 * benchtests/bench-memmove-large.c: Likewise.
12511 * benchtests/bench-memmove.c: Likewise.
12512 * benchtests/bench-memset-large.c: Likewise.
12513 * benchtests/bench-memset.c: Likewise.
12514 * benchtests/bench-rawmemchr.c: Likewise.
12515 * benchtests/bench-strcasecmp.c: Likewise.
12516 * benchtests/bench-strcasestr.c: Likewise.
12517 * benchtests/bench-strcat.c: Likewise.
12518 * benchtests/bench-strchr.c: Likewise.
12519 * benchtests/bench-strcmp.c: Likewise.
12520 * benchtests/bench-strcpy.c: Likewise.
12521 * benchtests/bench-strcpy_chk.c: Likewise.
12522 * benchtests/bench-strlen.c: Likewise.
12523 * benchtests/bench-strncasecmp.c: Likewise.
12524 * benchtests/bench-strncmp.c: Likewise.
12525 * benchtests/bench-strncpy.c: Likewise.
12526 * benchtests/bench-strnlen.c: Likewise.
12527 * benchtests/bench-strpbrk.c: Likewise.
12528 * benchtests/bench-strrchr.c: Likewise.
12529 * benchtests/bench-strsep.c: Likewise.
12530 * benchtests/bench-strspn.c: Likewise.
12531 * benchtests/bench-strstr.c: Likewise.
12532 * benchtests/bench-strtok.c: Likewise.
12533
12534 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
12535
12536 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
12537 stepping identification.
12538 (init_cpu_features): Add handle of Haswell.
12539
12540 2016-11-25 Jim Meyering <meyering@fb.com>
12541
12542 [BZ #20386]
12543 Let gcc detect assert(a = 1) errors.
12544 * assert/assert.h (assert): Rewrite, retaining the old definintion
12545 when required, but otherwise putting the expression as-is in an "if"
12546 expression (hence, with no added parentheses) within a statement
12547 expression.
12548
12549 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
12550
12551 * benchtests/Makefile (binaries-benchset): Depend on libsupport
12552 DSO.
12553
12554 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
12555
12556 * Rules (python-flags, python-invoke): New.
12557 ($(test-printers-out)): Use $(python-flags).
12558
12559 2016-12-16 Joseph Myers <joseph@codesourcery.com>
12560
12561 * manual/arith.texi (Math Error Reporting): Document that sNaN
12562 arguments are not considered domain errors.
12563
12564 2016-12-16 Zack Weinberg <zackw@panix.com>
12565 Florian Weimer <fweimer@redhat.com>
12566 Nick Mathewson <nickm@torproject.org>
12567
12568 * string/explicit_bzero.c: New routine.
12569 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
12570 * string/Makefile (routines, strop-tests, tests): Add them.
12571 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
12572 * string/string.h [__USE_MISC]: Declare explicit_bzero.
12573
12574 * debug/explicit_bzero_chk.c: New routine.
12575 * debug/Makefile (routines): Add it.
12576 * debug/tst-chk1.c: Test fortification of explicit_bzero.
12577 * string/bits/string3.h: Fortify explicit_bzero.
12578
12579 * manual/string.texi: Document explicit_bzero.
12580 * NEWS: Mention addition of explicit_bzero.
12581
12582 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
12583 data before returning, using explicit_bzero.
12584 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
12585 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12586 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12587
12588 * include/string.h: Redirect internal uses of explicit_bzero
12589 to __explicit_bzero_chk[_internal].
12590 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
12591 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
12592 * sysdeps/arm/nacl/libc.abilist
12593 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
12594 * sysdeps/unix/sysv/linux/alpha/libc.abilist
12595 * sysdeps/unix/sysv/linux/arm/libc.abilist
12596 * sysdeps/unix/sysv/linux/hppa/libc.abilist
12597 * sysdeps/unix/sysv/linux/i386/libc.abilist
12598 * sysdeps/unix/sysv/linux/ia64/libc.abilist
12599 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12600 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
12601 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
12602 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12603 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12604 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12605 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12606 * sysdeps/unix/sysv/linux/nios2/libc.abilist
12607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12611 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
12612 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12613 * sysdeps/unix/sysv/linux/sh/libc.abilist
12614 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12615 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12617 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12618 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
12619 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
12620 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
12621 Add entries for explicit_bzero and __explicit_bzero_chk.
12622
12623 2016-12-16 Joseph Myers <joseph@codesourcery.com>
12624
12625 * math/fenv.h
12626 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
12627 (FE_SNANS_ALWAYS_SIGNAL): New macro.
12628 * math/test-fe-snans-always-signal.c: New file.
12629 * math/Makefile (tests): Add test-fe-snans-always-signal.
12630 (CFLAGS-test-fe-snans-always-signal.c): New variable.
12631 * manual/arith.texi (Infinity and NaN): Document
12632 FE_SNANS_ALWAYS_SIGNAL.
12633
12634 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12635
12636 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
12637 bracket.
12638
12639 2016-12-16 Joseph Myers <joseph@codesourcery.com>
12640
12641 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
12642 before calling execv.
12643
12644 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12645
12646 [BZ #20971]
12647 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
12648 overflow in pointer addition.
12649 * string/test-memchr.c (do_test): Add an argument to pass as
12650 the size on memchr.
12651 (test_main): Add check for SIZE_MAX.
12652
12653 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12654
12655 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
12656 (libm-calls): Add w_scalblnF.
12657 * math/w_scalbln.c: Remove.
12658 * math/w_scalblnf.c: Likewise.
12659 * math/w_scalblnl.c: Likewise.
12660 * math/w_scalbln_template.c: New file with type-generic
12661 implementation based on math/w_scalbln.c.
12662 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
12663 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
12664
12665 2016-12-15 Joseph Myers <joseph@codesourcery.com>
12666
12667 [BZ #20947]
12668 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
12669 either is a signaling NaN.
12670 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
12671 follow fmaxl more closely.
12672 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
12673 when either is a signaling NaN.
12674 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
12675 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
12676 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
12677 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
12678 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
12679 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
12680 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
12681 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
12682 (fmin_test_data): Likewise.
12683
12684 2016-12-15 Andreas Schwab <schwab@suse.de>
12685
12686 * support/support_test_main.c (support_test_main): Don't shadow
12687 file-local variable test_pid.
12688
12689 2016-12-15 Joseph Myers <joseph@codesourcery.com>
12690
12691 [BZ #20947]
12692 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
12693 either is a signaling NaN.
12694 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
12695
12696 2016-12-14 Joseph Myers <joseph@codesourcery.com>
12697
12698 [BZ #20947]
12699 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
12700 when either is a signaling NaN.
12701 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
12702
12703 * bits/long-double.h: New file.
12704 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
12705 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
12706 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
12707 * sysdeps/mips/bits/long-double.h: Likewise.
12708 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
12709 * math/Makefile (headers): Add bits/long-double.h.
12710 * misc/sys/cdefs.h: Include <bits/long-double.h>.
12711 * stdlib/strtold.c: Include <bits/long-double.h> instead of
12712 <bits/wordsize.h>.
12713 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
12714 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
12715 * math/math.h: Do not include <bits/mathdef.h>.
12716 * sysdeps/aarch64/bits/mathdef.h: Remove file.
12717 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
12718 inclusion.
12719 * sysdeps/ia64/bits/mathdef.h: Remove file.
12720 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
12721 * sysdeps/mips/bits/mathdef.h: Likewise.
12722 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12723 * sysdeps/s390/bits/mathdef.h: Likewise.
12724 * sysdeps/sparc/bits/mathdef.h: Likewise.
12725 * sysdeps/x86/bits/mathdef.h: Likewise.
12726 * sysdeps/s390/s390-32/bits/wordsize.h
12727 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
12728 conditional code.
12729 * sysdeps/s390/s390-64/bits/wordsize.h
12730 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12731 Likewise.
12732 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
12733 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12734 Likewise.
12735 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
12736 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12737 Likewise.
12738 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
12739 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12740 Likewise.
12741
12742 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
12743 <linux/falloc.h>.
12744 (FALLOC_FL_KEEP_SIZE): Remove.
12745 (FALLOC_FL_PUNCH_HOLE): Likewise.
12746 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
12747 (FALLOC_FL_ZERO_RANGE): Likewise.
12748
12749 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12750
12751 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
12752
12753 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12754
12755 * sysdeps/unix/sysv/linux/renameat.c: New file.
12756 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
12757
12758 * sysdeps/unix/sysv/linux/rename.c: New file.
12759 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
12760
12761 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
12762
12763 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
12764 * string/strtok.c (strtok): Change to tailcall __strtok_r.
12765 * string/strtok_r.c (__strtok_r): Optimize for performance.
12766 * string/string-inlines.c (__old_strtok_r_1c): New function.
12767 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
12768
12769 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12770
12771 * math/Makefile (gen-libm-calls): Add w_log1pF.
12772 (libm-calls): Remove w_log1pF.
12773 * math/w_log1p.c: Remove.
12774 * math/w_log1pf.c: Likewise.
12775 * math/w_log1pl.c: Likewise.
12776 * math/w_log1p_template.c: New file with type-generic
12777 implementation based on math/w_log1p.c.
12778 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
12779 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
12780
12781 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
12782
12783 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
12784
12785 2016-12-14 Joseph Myers <joseph@codesourcery.com>
12786
12787 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12788 kernel version to 4.9.
12789
12790 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
12791
12792 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
12793 ($(inst_libdir)/libm.a): Fix rule to create the target only.
12794
12795 2016-12-13 Andreas Schwab <schwab@suse.de>
12796
12797 * sysdeps/powerpc/dl-procinfo.c: Don't define
12798 _dl_powerpc_platforms.
12799 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
12800 constants instead of referencing _dl_powerpc_platforms.
12801 (_dl_platform_string): Remove.
12802
12803 2016-12-13 Florian Weimer <fweimer@redhat.com>
12804
12805 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
12806
12807 2016-12-13 Florian Weimer <fweimer@redhat.com>
12808
12809 * Rules (binaries-shared-tests, binaries-pie-tests)
12810 (binaries-static-tests): Link with $(link-extra-libs-tests).
12811 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
12812 Remove $(link-extra-libs-tests).
12813
12814 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12815
12816 * sysdeps/powerpc/powerpc64/multiarch/Makefile
12817 (sysdep_routines): Add strncmp_power9.
12818 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12819 (strncmp): Add __strncmp_power9 to list of strncmp functions.
12820 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
12821 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
12822 (strncmp): Add __strncmp_power9 to ifunc list.
12823 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
12824
12825 2016-12-12 Florian Weimer <fweimer@redhat.com>
12826
12827 [BZ #17252]
12828 Add getentropy, getrandom.
12829 * stdlib/sys/random.h: New file.
12830 (headers): Add it.
12831 * stdlib/Makefile (routines): Add getentropy, getrandom.
12832 (tests): Add tst-getrandom.
12833 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
12834 * stdlib/getentropy.c: New file.
12835 * stdlib/getrandom.c: Likewise.
12836 * stdlib/tst-getrandom.c: Likewise.
12837 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
12838 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
12839 * manual/crypt.texi (Unpredictable Bytes): New section.
12840 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
12841 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
12842 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12843 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12844 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12845 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12846 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12847 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12848 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12849 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12850 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12851 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12852 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12853 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12854 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12855 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12857 Likewise.
12858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12859 Likewise.
12860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12862 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12863 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12864 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12865 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12866 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12869 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12870 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12871 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12872
12873 2016-12-10 Florian Weimer <fweimer@redhat.com>
12874
12875 [BZ #20956]
12876 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
12877 as additional compiler barriers.
12878 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
12879 (fn2, do_test): Declare with external linkage.
12880 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
12881 (do_test): Declare with external linkage.
12882 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
12883 (do_test): Declare with external linkage.
12884 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
12885 (do_test): Declare with external linkage.
12886
12887 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
12888
12889 * support/support_test_main.c (support_test_main): Use correct
12890 timeout.
12891
12892 2016-12-09 Carlos O'Donell <carlos@redhat.com>
12893 Florian Weimer <fweimer@redhat.com>
12894
12895 [BZ #16421]
12896 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
12897 and __u6_addr32 members.
12898 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
12899 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
12900 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
12901 Use __u6_addr32.
12902 * inet/tst-checks.c: Use <support/test-driver.c>
12903 * inet/tst-checks-posix.c: New file.
12904 * inet/Makefile (tests): Add it.
12905 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
12906
12907 2016-12-09 Florian Weimer <fweimer@redhat.com>
12908
12909 New subdirectory support for build and test infrastructure.
12910 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
12911 setting install-lib.
12912 * Makeconfig (link-extra-libs-tests): Define.
12913 (+link-pie-tests, +link-static-tests, +link-tests): Use
12914 link-extra-libs-tests.
12915 (rpath-dirs, all-subdirs): Add support.
12916 (built-modules): Add libsupport.
12917 (libsupport): Define.
12918 * support: New directory.
12919 * support/Makefile: New file.
12920 * support/check.c: Likewise.
12921 * support/check.h: Likewise.
12922 * support/delayed_exit.c: Likewise.
12923 * support/ignore_stderr.c: Likewise.
12924 * support/oom_error.c: Likewise.
12925 * support/set_fortify_handler.c: Likewise.
12926 * support/support.h: Likewise.
12927 * support/temp_file-internal.h: Likewise.
12928 * support/temp_file.c: Likewise.
12929 * support/test-driver.c: Likewise.
12930 * support/test-driver.h: Likewise.
12931 * support/test_main.c: Likewise.
12932 * support/write_message.c: Likewise.
12933 * support/xasprintf.c: Likewise.
12934 * support/xcalloc.c: Likewise.
12935 * support/xmalloc.c: Likewise.
12936 * support/xpthread_barrier_destroy.c: Likewise.
12937 * support/xpthread_barrier_init.c: Likewise.
12938 * support/xpthread_barrier_wait.c: Likewise.
12939 * support/xpthread_cancel.c: Likewise.
12940 * support/xpthread_check_return.c: Likewise.
12941 * support/xpthread_cond_wait.c: Likewise.
12942 * support/xpthread_create.c: Likewise.
12943 * support/xpthread_detach.c: Likewise.
12944 * support/xpthread_join.c: Likewise.
12945 * support/xpthread_mutex_lock.c: Likewise.
12946 * support/xpthread_mutex_unlock.c: Likewise.
12947 * support/xpthread_sigmask.c: Likewise.
12948 * support/xpthread_spin_lock.c: Likewise.
12949 * support/xpthread_spin_unlock.c: Likewise.
12950 * support/xrealloc.c: Likewise.
12951 * support/xsignal.h: Likewise.
12952 * support/xthread.h: Likewise.
12953 * support_tempfile.h: Likewise.
12954 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
12955 (TEST_DATA_LIMIT): Remove unused macro.
12956 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
12957 <support/check.h>.
12958 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
12959 (ignore_stderr, set_fortify_handler): Remove. Now in
12960 <support/support.h>.
12961 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
12962 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
12963 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
12964 (xpthread_join): Remove. Now in <support/xthread.h>.
12965 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
12966 Introduce legacy wrappers.
12967 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
12968 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
12969 (write_message): Remove.
12970 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
12971 test-skeleton.c.
12972 * io/test-open-tmpfile: Likewise.
12973 * io/tst-posix_fallocate-common.c: Likewise.
12974 * libio/tst-fseek.c: Likewise.
12975 * malloc/tst-malloc-backtrace.c: Likewise.
12976 * malloc/tst-malloc-fork-deadlock.c: Likewise.
12977 * malloc/tst-malloc-thread-exit.c: Likewise.
12978 * nptl/tst-cancel7.c: Likewise.
12979 * nptl/tst-cleanup0.c: Likewise.
12980 * posix/tst-posix_fadvise-common.c: Likewise.
12981 * rt/tst-shm.c: Likewise.
12982 * time/bug-getdate1.c: Likewise.
12983 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
12984 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
12985 * elf/Makefile (tst-piemod1.so): Link against libsupport.
12986
12987 2016-12-08 Joseph Myers <joseph@codesourcery.com>
12988
12989 * Rules [$(run-built-tests) != no] (tests-expected): Add
12990 $(tests-printers).
12991 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
12992
12993 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
12994
12995 [BZ #20539]
12996 * math/Makefile (install-lib-ldscripts): Add libm.a.
12997 (install_subdir): Remove.
12998 (install-others): Add.
12999 ($(inst_libdir)/libm.a): Add rule for installation as
13000 linker script.
13001 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
13002
13003 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
13004
13005 * INSTALL: Regenerated.
13006 * Makeconfig: Add comments and whitespace to make the control flow
13007 clearer.
13008 (+link-printers-tests, +link-pie-printers-tests,
13009 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
13010 built-rtld-LDFLAGS, link-libc-rpath,
13011 link-libc-tests-after-rpath-link,
13012 link-libc-printers-tests): New.
13013 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
13014 link-libc-tests): Use the new variables as required.
13015 * Makerules ($(py-const)): New rule.
13016 generated: Add $(py-const).
13017 * README.pretty-printers: New file.
13018 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
13019 (others): Depend on $(py-const).
13020 (tests): Depend on $(tests-printers-programs) or
13021 $(tests-printers-out),
13022 as required. Pass $(tests-printers) to merge-test-results.sh.
13023 * manual/install.texi: Add requirements for testing the pretty
13024 printers.
13025 * nptl/Makefile (gen-py-const-headers, pretty-printers,
13026 tests-printers, CFLAGS-test-mutexattr-printers.c
13027 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
13028 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
13029 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
13030 * nptl/nptl-printers.py: New file.
13031 * nptl/nptl_lock_constants.pysym: Likewise.
13032 * nptl/test-cond-printers.c: Likewise.
13033 * nptl/test-cond-printers.py: Likewise.
13034 * nptl/test-condattr-printers.c: Likewise.
13035 * nptl/test-condattr-printers.py: Likewise.
13036 * nptl/test-mutex-printers.c: Likewise.
13037 * nptl/test-mutex-printers.py: Likewise.
13038 * nptl/test-mutexattr-printers.c: Likewise.
13039 * nptl/test-mutexattr-printers.py: Likewise.
13040 * nptl/test-rwlock-printers.c: Likewise.
13041 * nptl/test-rwlock-printers.py: Likewise.
13042 * nptl/test-rwlockattr-printers.c: Likewise.
13043 * nptl/test-rwlockattr-printers.py: Likewise.
13044 * scripts/gen-py-const.awk: Likewise.
13045 * scripts/test_printers_common.py: Likewise.
13046 * scripts/test_printers_exceptions.py: Likewise.
13047
13048 2016-12-07 Joseph Myers <joseph@codesourcery.com>
13049
13050 * scripts/build-many-glibcs.py (Context.__init__): Take strip
13051 argument.
13052 (Glibc.build_glibc): Strip installed shared libraries if
13053 requested.
13054 (get_parser): Add --strip option.
13055 (main): Update Context call.
13056
13057 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13058 Dominik Vogt <vogt@linux.vnet.ibm.com>
13059
13060 [BZ #20847]
13061 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
13062 array bounds for else branch.
13063 (__execvpe): Style fixes.
13064 * posix/tst-vfork3.c (run_script): New function.
13065 (create_script): Likewise.
13066 (do_test): Use run_script internal function.
13067 (do_prepare): Use create_script internal function.
13068
13069 2016-12-07 Andreas Schwab <schwab@suse.de>
13070
13071 * sysdeps/unix/sysv/linux/x86/elision-conf.h
13072 (__elision_available): Don't declare.
13073 * sysdeps/unix/sysv/linux/x86/elision-conf.c
13074 (__elision_available): Don't define.
13075 (elision_init): Don't set __elision_available.
13076
13077 2016-12-07 Joseph Myers <joseph@codesourcery.com>
13078
13079 [BZ #20940]
13080 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
13081 return Inf for arguments Inf and sNaN.
13082 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13083 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13084 Likewise.
13085 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13086 Likewise.
13087 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13088 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
13089 for arguments Inf and sNaN. When returning a NaN, compute it by
13090 arithmetic on the arguments.
13091 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
13092 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
13093 arguments.
13094
13095 2016-12-06 Joseph Myers <joseph@codesourcery.com>
13096
13097 [BZ #20916]
13098 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
13099 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
13100 to compute result.
13101 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13102 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
13103
13104 2016-12-05 Torvald Riegel <triegel@redhat.com>
13105
13106 * include/atomic.h (__atomic_check_size_ls): New.
13107 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
13108 atomic_store_release): Use it.
13109 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
13110 (elision_adapt, ELIDE_LOCK): Use atomics.
13111 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
13112 atomics and improve code comments.
13113 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
13114 (__lll_trylock_elision): Likewise.
13115
13116 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13117
13118 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
13119 programs.
13120
13121 2016-12-02 Joseph Myers <joseph@codesourcery.com>
13122
13123 [BZ #20916]
13124 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
13125 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
13126 arguments to compute result.
13127 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
13128 1 for arguments (sNaN, 0) or (1, sNaN).
13129 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13130 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13131
13132 [BZ #20919]
13133 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
13134 NaN first argument when raised to power 0.
13135 * math/w_pow.c (__pow): Do not check for NaN or zero results from
13136 raising to power zero.
13137 * math/w_powf.c (__powf): Likewise.
13138 * math/w_powl.c (__powl): Likewise.
13139 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
13140 pow (0, 0) or pow (NaN, 0).
13141
13142 2016-12-02 Carlos O'Donell <carlos@redhat.com>
13143
13144 [BZ #20918]
13145 * configure.ac: Test for static NSS cryptographic libraries and set
13146 libc_cv_static_nss_crypt.
13147 * configure: Regenerate.
13148 * config.make.in (static-nss-crypt): Define.
13149 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
13150 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
13151 (CFLAGS-tst-linkall-static.c): Define.
13152 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
13153 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
13154 ($(objpfx)tst-linkall-static): Define.
13155 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
13156 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
13157
13158 2016-12-02 Florian Weimer <fweimer@redhat.com>
13159
13160 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
13161 (one-hundred, tst-tls-many-dynamic-modules): Define.
13162 (modules-names): Add $(tst-tls-many-dynamic-modules).
13163 (tst-tls-manydynamic%mod.os): Build with special preprocessor
13164 macros.
13165 (tst-tls-manydynamic): Link against libdl, libpthread.
13166 (tst-tls-manydynamic.out): The test needs the test modules at run
13167 time.
13168 * elf/tst-tls-manydynamic.c: New file.
13169 * elf/tst-tls-manydynamic.h: Likewise.
13170 * elf/tst-tls-manydynamicmod.c: Likewise.
13171
13172 2016-12-02 Florian Weimer <fweimer@redhat.com>
13173
13174 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
13175 (TLS_DTV_UNALLOCATED): Add.
13176 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
13177 offsets.
13178
13179 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
13180
13181 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13182
13183 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
13184
13185 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
13186 Add -fno-optimize-sibling-calls.
13187
13188 2016-12-02 Joseph Myers <joseph@codesourcery.com>
13189
13190 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
13191 New declaration.
13192 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
13193 macro.
13194 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
13195 New macro.
13196 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
13197 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
13198 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
13199 (llogbf): Likewise.
13200 (llogbl): Likewise.
13201 * math/Makefile (gen-libm-calls): Add w_llogbF.
13202 (tests): Add test-fp-llogb-constants.
13203 * math/w_llogb_template.c: New file. Based on
13204 math/w_ilogb_template.c.
13205 * math/libm-test.inc (llogb_test_data): New array.
13206 (llogb_test): New function.
13207 (main): Call llogb_test.
13208 * math/test-fp-llogb-constants.c: New file. Based on
13209 math/test-fp-ilogb-constants.c.
13210 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
13211 (do_test): Call check_return_llogb.
13212 * math/test-tgmath.c (NCALLS): Increase to 126.
13213 (F(compile_test)): Call llogb.
13214 (F(llogb)): New function.
13215 * manual/math.texi (Exponents and Logarithms): Document llogb,
13216 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
13217 * manual/libm-err-tab.pl (@all_functions): Add llogb.
13218 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
13219 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
13220 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
13221 (CFLAGS-nldbl-llogb.c): New variable.
13222 * sysdeps/nacl/libm.abilist: Update.
13223 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13224 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13225 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13226 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13227 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13228 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13229 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13230 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13231 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13232 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13233 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13234 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13236 Likewise.
13237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13238 Likewise.
13239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13240 Likewise.
13241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13242 Likewise.
13243 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13244 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13245 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13246 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13247 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13248 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13249 Likewise.
13250 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13251 Likewise.
13252 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13253 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13254 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13255
13256 2016-12-01 Joseph Myers <joseph@codesourcery.com>
13257
13258 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
13259 _Float128 instead of long double.
13260 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
13261
13262 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
13263 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
13264 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
13265 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
13266 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
13267 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
13268 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
13269 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
13270 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
13271 Likewise.
13272
13273 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13274
13275 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
13276 Remove redirection to __strrchr_ppc.
13277
13278 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13279
13280 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13281 (sysdep_routines): Add strcmp_power9.
13282 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13283 (strcmp): Add __strcmp_power9 to list of strcmp functions.
13284 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
13285 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13286 (strcmp): Add __strcmp_power9 to ifunc list.
13287 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
13288
13289 2016-12-01 Joseph Myers <joseph@codesourcery.com>
13290
13291 * bits/fp-logb.h: New file.
13292 * sysdeps/ia64/bits/fp-logb.h: Likewise.
13293 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
13294 * sysdeps/x86/bits/fp-logb.h: Likewise.
13295 * math/Makefile (headers): Add bits/fp-logb.h.
13296 * math/math.h: Include <bits/fp-logb.h>.
13297 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
13298 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
13299 * bits/mathdef.h (FP_ILOGB0): Remove.
13300 (FP_ILOGBNAN): Likewise.
13301 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
13302 (FP_ILOGBNAN): Likewise.
13303 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
13304 (FP_ILOGBNAN): Likewise.
13305 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
13306 (FP_ILOGBNAN): Likewise.
13307 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
13308 (FP_ILOGBNAN): Likewise.
13309 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
13310 (FP_ILOGBNAN): Likewise.
13311 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
13312 (FP_ILOGBNAN): Likewise.
13313 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
13314 (FP_ILOGBNAN): Likewise.
13315 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
13316 (FP_ILOGBNAN): Likewise.
13317 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
13318 (FP_ILOGBNAN): Likewise.
13319
13320 * scripts/build-many-glibcs.py: Add bot to usage message. Import
13321 time module.
13322 (Context.__init__): Initialize self.logsdir_old.
13323 (Context.run_builds): Handle bot action.
13324 (Context.bot_cycle): Copy logs directory before running builds.
13325 (Context.bot_run_self): Take argument for whether to check
13326 subprocess result. Flush stdout before running subprocess.
13327 (Context.bot): New function.
13328 (get_parser): Allow bot action.
13329
13330 2016-11-30 Joseph Myers <joseph@codesourcery.com>
13331
13332 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
13333 Import email.mime.text, email.utils and smtplib modules.
13334 (Context.__init__): Initialize self.bot_config_json.
13335 (Context.run_builds): Handle bot-cycle action.
13336 (Context.load_bot_config_json): New function.
13337 (Context.part_build_old): Likewise.
13338 (Context.bot_cycle): Likewise.
13339 (Context.bot_build_mail): Likewise.
13340 (Context.bot_run_self): Likewise.
13341 (get_parser): Allow bot-cycle action.
13342
13343 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13344
13345 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
13346 Remove redirection to __stpcpy_ppc.
13347
13348 2016-11-30 Florian Weimer <fweimer@redhat.com>
13349
13350 Remove __libc_memalign from ld.so because it is unused.
13351 * elf/dl-minimal.c: Update comment on the malloc implementation.
13352 (malloc): Renamed from __libc_memalign, replacing the original
13353 malloc implementation. Replace the align parameter with
13354 MALLOC_ALIGNMENT.
13355 * elf/Versions (ld): Update comment and remove __libc_memalign.
13356 * sysdeps/nacl/ld.abilist: Likewise.
13357 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13358 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13359 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13360 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13361 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13362 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13363 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13364 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13365 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13366 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13367 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13368 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13369 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13373 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13374 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13375 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13376 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13377 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13378 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
13379 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
13380 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
13381 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13382 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13383 * sysdeps/generic/localplt.data (ld.so): Likewise.
13384 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13385 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13386 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13387 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13388 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13389 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13390 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13391 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
13392 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13394 (ld.so): Likewise.
13395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13396 (ld.so): Likewise.
13397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13398 Likewise.
13399 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13400 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13401 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
13402 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
13403 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13404
13405 2016-11-30 Florian Weimer <fweimer@redhat.com>
13406
13407 [BZ #16628]
13408 Implement _dl_catch_error, _dl_signal_error in libc.so.
13409 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
13410 (catch_hook): Define as thread-local or regular variable,
13411 depending on DL_ERROR_BOOTSTRAP.
13412 (CATCH_HOOK): Remove.
13413 (dl_signal_error, _dl_catch_error): Use
13414 catch_hook. Add hidden definition for libc.
13415 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
13416 for DL_ERROR_BOOTSTRAP only.
13417 * elf/dl-error.c: New file.
13418 * elf/dl-error-minimal.c: Likewise.
13419 * elf/tst-latepthread.c: Likewise.
13420 * elf/tst-latepthreadmod.c: Likewise.
13421 * elf/Makefile (routines): Add dl-error.
13422 (dl-routines): Remove dl-error.
13423 (rtld-routines): Add dl-error-minimal.
13424 [build-shared] (tests): Add tst-latepthread.
13425 (module-names): Add tst-latepthreadmod.
13426 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
13427 symbol.
13428 (tst-latepthreadmod.so): Link against libpthread.
13429 (tst-latepthread): Link against libdbl.
13430 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
13431 _dl_catch_error.
13432 [ld] (GLIBC_PRIVATE): Likewise.
13433 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
13434 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
13435 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
13436 directly.
13437 * elf/dl-tsd.c: Remove file.
13438 * elf/rtld.c (_rtld_global_ro): Remove initializers for
13439 _dl_catch_error, _dl_signal_error.
13440 (_dl_initial_error_catch_tsd): Remove definition.
13441 (do_preload): Remove initialization of dl_error_catch_tsd.
13442 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
13443 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
13444 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13445 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13446 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
13447 set dl_error_catch_tsd.
13448 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
13449 _dl_error_catch_tsd member.
13450 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
13451 members.
13452 (_dl_initial_error_catch_tsd): Remove declaration.
13453 (_dl_dprintf): Provide definition for use outside of ld.so.
13454 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
13455 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
13456 prototype for libc.
13457 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
13458 _dl_catch_error.
13459 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13460 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13461 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13462 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13463 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13464 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13465 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13466 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
13467 Likewise.
13468 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13470 (ld.so): Likewise.
13471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13472 (ld.so): Likewise.
13473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13474 Likewise.
13475 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13476 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13477 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
13478 Likewise.
13479 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
13480 Likewise.
13481 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13482
13483 2016-11-30 Florian Weimer <fweimer@redhat.com>
13484
13485 [BZ #4099]
13486 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
13487 _IO_BUFSIZ (8192).
13488
13489 2016-11-30 Carlos O'Donell <carlos@redhat.com>
13490
13491 * PROJECTS: Remove file.
13492
13493 2016-11-29 Florian Weimer <fweimer@redhat.com>
13494
13495 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
13496
13497 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
13498 Steve Ellcey <sellcey@caviumnetworks.com>
13499
13500 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
13501 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
13502 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
13503 fxstatat.
13504 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
13505 lxstat.
13506 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
13507 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
13508 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
13509 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
13510 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
13511 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
13512 __xstat.
13513
13514 2016-11-29 Florian Weimer <fweimer@redhat.com>
13515
13516 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
13517 Define.
13518 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
13519 definition.
13520
13521 2016-11-29 Florian Weimer <fweimer@redhat.com>
13522
13523 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
13524 version and turn into strong alias. Remove compat symbol.
13525
13526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13527 (__longjmp): Remove.
13528
13529 2016-11-29 Joseph Myers <joseph@codesourcery.com>
13530
13531 * bits/fp-fast.h: New file.
13532 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
13533 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
13534 * math/Makefile (headers): Add bits/fp-fast.h.
13535 * math/math.h: Include <bits/fp-fast.h>.
13536 * bits/mathdef.h (FP_FAST_FMA): Remove.
13537 (FP_FAST_FMAF): Likewise.
13538 (FP_FAST_FMAL): Likewise.
13539 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
13540 (FP_FAST_FMAF): Likewise.
13541 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
13542 (FP_FAST_FMAF): Likewise.
13543 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
13544 (FP_FAST_FMAF): Likewise.
13545 (FP_FAST_FMAL): Likewise.
13546 * sysdeps/arm/bits/mathdef.h: Remove file.
13547 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
13548 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13549 * sysdeps/tile/bits/mathdef.h: Likewise.
13550
13551 2016-11-28 Joseph Myers <joseph@codesourcery.com>
13552
13553 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
13554 * math/w_ilogb.c: Remove.
13555 * math/w_ilogbf.c: Likewise.
13556 * math/w_ilogbl.c: Likewise.
13557 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
13558 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
13559 * math/Makefile (gen-libm-calls): Add w_ilogbF.
13560 (libm-calls): Remove w_ilogbF.
13561 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
13562 (LDOUBLE_ilogbl_libm_version): New macro.
13563
13564 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
13565
13566 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
13567 [!__STRICT_ANSI__ && !__cplusplus].
13568
13569 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
13570
13571 [BZ #20750]
13572 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
13573 of PIC.
13574
13575 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
13576 Yury Norov <ynorov@caviumnetworks.com>
13577 Steve Ellcey <sellcey@caviumnetworks.com>
13578
13579 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
13580 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
13581 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
13582 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
13583 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
13584 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
13585 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
13586 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
13587 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
13588 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
13589 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
13590 to get correct reg name for ILP32.
13591 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
13592 (RELA_SIZE): New Macro.
13593 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
13594 to support ILP32.
13595 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
13596 cast for ILP32 mode.
13597 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
13598 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
13599 * sysdeps/aarch64/memset.S (__memset): Ditto.
13600 * sysdeps/aarch64/strchr.S (strchr): Ditto.
13601 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
13602 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
13603 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
13604 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
13605 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
13606 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
13607 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
13608 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
13609 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
13610 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
13611 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
13612 change PTR_MANGLE call to use register numbers instead of names.
13613 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
13614 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
13615 ILP32 mode, change PTR_MANGLE calls to use register numbers.
13616 * sysdeps/aarch64/start.S (_start): Ditto.
13617 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
13618 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
13619 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
13620 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
13621 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
13622 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
13623 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
13624 Make defined values dependent on __ILP32__.
13625 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
13626 (sem_t): Change __align type.
13627 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
13628 PTR_SIZE): New Macros.
13629 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
13630 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
13631 Set when in ILP32 mode.
13632 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
13633 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
13634 Set elf flags for ILP32.
13635 (add_system_dir): Set ILP32 library directories.
13636 * sysdeps/unix/sysv/linux/aarch64/init-first.c
13637 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
13638 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
13639 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
13640 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
13641 New Macros.
13642 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
13643
13644 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
13645
13646 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
13647 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
13648 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
13649
13650 2016-11-28 Joseph Myers <joseph@codesourcery.com>
13651
13652 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
13653 <asm/cachectl.h>.
13654
13655 2016-11-27 Zack Weinberg <zackw@panix.com>
13656
13657 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
13658 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
13659
13660 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13661
13662 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
13663 error_t to fix usage in C++ programs.
13664
13665 2016-11-26 Joseph Myers <joseph@codesourcery.com>
13666
13667 * scripts/build-many-glibcs.py: Import datetime module.
13668 (Context.__init__): Load JSON build state. Initialize list of
13669 status logs.
13670 (Context.run_builds): Update saved build state.
13671 (Context.add_makefile_cmdlist): Update list of status logs.
13672 (Context.load_build_state_json): New function.
13673 (Context.store_build_state_json): Likewise.
13674 (Context.clear_last_build_state): Likewise.
13675 (Context.update_build_state): Likewise.
13676 (CommandList.status_logs): Likewise.
13677
13678 2016-11-25 Joseph Myers <joseph@codesourcery.com>
13679
13680 * scripts/build-many-glibcs.py (Context.__init__): Save text of
13681 script being executed.
13682 (Context.get_script_text): New function.
13683 (Context.exec_self): Likewise.
13684 (Context.checkout): Re-exec script if changed by checkout process.
13685
13686 2016-11-24 Joseph Myers <joseph@codesourcery.com>
13687
13688 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13689 (setpayloadsig): New declaration.
13690 * math/Versions (setpayloadsig): New libm symbol at version
13691 GLIBC_2.25.
13692 (setpayloadsigf): Likewise.
13693 (setpayloadsigl): Likewise.
13694 * math/Makefile (libm-calls): Add s_setpayloadsigF.
13695 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
13696 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
13697 (setpayloadsig_test_data): New array.
13698 (setpayloadsig_test): New function.
13699 (main): Call setpayloadsig_test.
13700 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
13701 setpayloadsigf and setpayloadsigl.
13702 * manual/libm-err-tab.pl: Update comment on interfaces without
13703 ulps tabulated.
13704 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
13705 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
13706 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
13707 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
13708 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
13709 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
13710 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13711 setpayloadsig.
13712 (CFLAGS-nldbl-setpayloadsig.c): New variable.
13713 * sysdeps/nacl/libm.abilist: Update.
13714 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13715 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13716 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13717 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13718 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13719 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13720 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13721 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13722 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13723 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13724 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13725 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13727 Likewise.
13728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13729 Likewise.
13730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13731 Likewise.
13732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13733 Likewise.
13734 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13735 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13736 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13737 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13738 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13740 Likewise.
13741 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13742 Likewise.
13743 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13744 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13745 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13746
13747 * scripts/build-many-glibcs.py: Import json module.
13748 (Context.__init__): Take replace_sources argument. Load
13749 versions.json.
13750 (Context.load_versions_json): New function.
13751 (Context.store_json): Likewise.
13752 (Context.store_versions_json): Likewise.
13753 (Context.set_component_version): Likewise.
13754 (Context.checkout): Update versions.json. Check for and handle
13755 changes of version. Prefer previously explicitly specified
13756 version to default version.
13757 (Context.checkout_vcs): Return a revision identifier.
13758 (Context.git_checkout): Likewise.
13759 (Context.gcc_checkout): Likewise.
13760 (get_parser): Add --replace-sources option.
13761 (main): Pass replace_sources argument to Context call.
13762
13763 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13764
13765 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
13766 * nptl/allocatestack.c (allocate_stack): Likewise.
13767 (__reclaim_stacks): Likewise.
13768 (setxid_signal_thread): Obtain pid through syscall.
13769 * nptl/nptl-init.c (sigcancel_handler): Likewise.
13770 (sighandle_setxid): Likewise.
13771 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
13772 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
13773 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
13774 Likewise.
13775 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
13776 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
13777 comment.
13778 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
13779 * nptl/descr.h (struct pthread): Change comment about pid value.
13780 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
13781 pid assert.
13782 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
13783 Do not set pid value.
13784 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
13785 pid cache check.
13786 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
13787 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
13788 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
13789 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
13790 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
13791 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
13792 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
13793 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
13794 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
13795 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
13796 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
13797 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
13798 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
13799 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
13800 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
13801 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
13802 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13803 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
13804 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
13805 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
13806 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
13807 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13808 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
13809 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
13810 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
13811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13813 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13814 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13815 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13816 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
13817 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
13818 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
13819 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13820 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
13821 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
13822 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
13823 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13824 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
13825 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
13826 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
13827 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
13828 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
13829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
13830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
13831 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13832 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13833 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13834 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13835 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13836 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
13837 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13838 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
13839 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
13840 struct access.
13841 (clone_test): Remove function.
13842 (do_test): Rewrite to take in consideration pid is not cached anymore.
13843
13844 2016-11-24 Joseph Myers <joseph@codesourcery.com>
13845
13846 * bits/flt-eval-method.h: New file.
13847 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
13848 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
13849 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
13850 * math/Makefile (headers): Add bits/flt-eval-method.h.
13851 * math/math.h: Include <bits/flt-eval-method.h>.
13852 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
13853 [__USE_ISOC99] (double_t): Likewise.
13854 * bits/mathdef.h (float_t): Remove.
13855 (double_t): Likewise.
13856 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
13857 (double_t): Likewise.
13858 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
13859 (double_t): Likewise.
13860 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
13861 (double_t): Likewise.
13862 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
13863 (double_t): Likewise.
13864 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
13865 (double_t): Likewise.
13866 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
13867 (double_t): Likewise.
13868 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
13869 (double_t): Likewise.
13870 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
13871 (double_t): Likewise.
13872 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
13873 (double_t): Likewise.
13874 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
13875 (double_t): Likewise.
13876 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
13877 (double_t): Likewise.
13878 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
13879 (double_t): Likewise.
13880 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
13881 (double_t): Likewise.
13882
13883 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
13884
13885 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
13886 instead of PIC.
13887
13888 2016-11-23 Joseph Myers <joseph@codesourcery.com>
13889
13890 [BZ #20859]
13891 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
13892 (-0x7fffffff) instead of 0x80000001.
13893 * math/test-fp-ilogb-constants.c: New file.
13894 * math/Makefile (tests): Add test-fp-ilogb-constants.
13895
13896 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
13897
13898 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
13899 (_init): Use it in place of hardcoded R_MIPS_JALR.
13900 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
13901 (_init): Use it in place of hardcoded R_MIPS_JALR.
13902 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
13903 (_init): Use it in place of hardcoded R_MIPS_JALR.
13904
13905 2016-11-23 Joseph Myers <joseph@codesourcery.com>
13906
13907 [BZ #20787]
13908 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
13909 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
13910 (double_t): Do not define to double if [__x86_64__] when
13911 __FLT_EVAL_METHOD__ is nonzero.
13912 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
13913 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
13914 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13915 test-flt-eval-method-387 and test-flt-eval-method-sse.
13916 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
13917 variable.
13918 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
13919
13920 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
13921
13922 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
13923 use of -fno-isolate-erroneous-paths options for tilepro.
13924
13925 2016-11-23 Florian Weimer <fweimer@redhat.com>
13926
13927 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
13928 structure initialization is no longer needed.
13929
13930 2016-11-23 Joseph Myers <joseph@codesourcery.com>
13931
13932 [BZ #20855]
13933 * bits/mathdef.h (float_t): Define to float.
13934 * math/test-flt-eval-method.c: New file.
13935 * math/Makefile (tests): Add test-flt-eval-method.
13936 (CFLAGS-test-flt-eval-method.c): New variable.
13937
13938 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
13939
13940 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
13941 and __fstatfs. Make them aliases of __fstatfs64 if
13942 STATFS_IS_STATFS64 is set to non-zero.
13943 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
13944 and __statfs64.
13945 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
13946 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
13947 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
13948 for __statfs and statfs.
13949 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
13950 to 0.
13951 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
13952 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
13953 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
13954 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
13955 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
13956 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
13957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
13958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
13959 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
13960 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
13961 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
13962 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
13963
13964 2016-11-22 Andreas Schwab <schwab@suse.de>
13965
13966 * misc/mkstemp.c: Include <fcntl.h>.
13967 * misc/mkstemps.c: Likewise.
13968 * misc/mkostemp.c: Likewise.
13969 * misc/mkostemps.c: Likewise.
13970
13971 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
13972
13973 [BZ #20847]
13974 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
13975 array bounds.
13976 (__execvpe): Likewise.
13977
13978 2016-11-22 Joseph Myers <joseph@codesourcery.com>
13979
13980 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
13981 -fno-isolate-erroneous-paths options for tilepro.
13982
13983 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
13984
13985 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
13986 to 0 when in 32 bit mode.
13987 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
13988 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
13989 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
13990 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
13991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
13992 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
13993 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
13994 XSTAT_IS_XSTAT64 test.
13995 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
13996 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
13997 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
13998 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
13999 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
14000 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
14001 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
14002 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
14003 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
14004 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
14005 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
14006
14007 2016-11-19 Joseph Myers <joseph@codesourcery.com>
14008
14009 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14010 (setpayload): New declaration.
14011 * math/Versions (setpayload): New libm symbol at version
14012 GLIBC_2.25.
14013 (setpayloadf): Likewise.
14014 (setpayloadl): Likewise.
14015 * math/Makefile (libm-calls): Add s_setpayloadF.
14016 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
14017 test_Ff_b1_data.
14018 (RUN_TEST_Ff_b1): New macro.
14019 (RUN_TEST_LOOP_Ff_b1): Likewise.
14020 (canonicalize_test_data): Update type.
14021 (setpayload_test_data): New array.
14022 (setpayload_test): New function.
14023 (main): Call setpayload_test.
14024 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
14025 setpayloadf and setpayloadl.
14026 * manual/libm-err-tab.pl: Update comment on interfaces without
14027 ulps tabulated.
14028 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
14029 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
14030 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
14031 Likewise.
14032 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
14033 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
14034 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
14035 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
14036 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
14037 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
14038 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
14039 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
14040 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
14041 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14042 setpayload.
14043 (CFLAGS-nldbl-setpayload.c): New variable.
14044 * sysdeps/nacl/libm.abilist: Update.
14045 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14046 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14047 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14048 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14049 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14050 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14051 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14052 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14053 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14054 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14055 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14056 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14058 Likewise.
14059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14060 Likewise.
14061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14062 Likewise.
14063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14064 Likewise.
14065 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14066 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14067 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14068 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14069 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14071 Likewise.
14072 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14073 Likewise.
14074 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14075 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14076 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14077
14078 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14079
14080 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
14081 * include/unistd.h: Extend comment about __access_noerrno return
14082 semantics.
14083 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
14084 (access_common): Correct typo for EACCES.
14085
14086 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
14087
14088 * sysdeps/tile/math-tests.h: New file.
14089
14090 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
14091 (__old_set_dataplane): Rename from set_dataplane and make a
14092 compatibility symbol.
14093 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
14094 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
14095 sys/dataplane.h.
14096
14097 2016-11-18 Joseph Myers <joseph@codesourcery.com>
14098
14099 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
14100 script quote words in command output to log suitably for input to
14101 the shell.
14102
14103 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
14104 Maciej W. Rozycki <macro@imgtec.com>
14105
14106 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
14107 `.Lno_weak_fn' label.
14108 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
14109 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
14110
14111 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14112 Yury Norov <ynorov@caviumnetworks.com>
14113
14114 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
14115 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
14116 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14117 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
14118 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14119 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
14120 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14121 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14122 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14123 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
14124 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14125 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
14126 (sysdep_routines): Remove oldgetrlimit64.
14127 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
14128 (sysdep_routines): Likewise.
14129 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
14130 (sysdep_routines): Likewise.
14131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14132 [$(subdir) = resource] (sysdep_routines): Likewise.
14133 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
14134 [$(subdir) = resource] (sysdep_routines): Likewise.
14135 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
14136 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
14137 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
14138 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
14139 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
14140 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14141 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
14142 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
14143 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
14144 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
14145 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
14146 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
14147 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
14148 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
14149 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
14150 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
14151 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
14152 setrlimit and getrlimit.
14153 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
14154 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14155 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
14156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
14158 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14159 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
14160 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14161 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14162 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
14163 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
14164 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
14165 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
14166 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
14167 (__old_getrlimit64): Add compatibility symbol.
14168 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
14169
14170 2016-11-17 Joseph Myers <joseph@codesourcery.com>
14171
14172 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
14173 newly built gmp, mpfr and mpc.
14174
14175 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
14176
14177 2016-11-16 Joseph Myers <joseph@codesourcery.com>
14178
14179 * conform/Makefile (linknamespace-libs): Rename to
14180 linknamespace-libs-thr.
14181 (linknamespace-libs-posix): New variable.
14182 (linknamespace-libs-xsi): Likewise.
14183 (linknamespace-libs-XPG3): Include libcrypt.a.
14184 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
14185 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
14186 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
14187 (linknamespace-libs-XOPEN2K): Likewise.
14188 (linknamespace-libs-XOPEN2K8): Likewise.
14189 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
14190
14191 [BZ #20829]
14192 * stdio-common/Versions (__snprintf): Add to version
14193 GLIBC_PRIVATE.
14194 * include/stdio.h (__snprintf): Use libc_hidden_proto.
14195 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
14196 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
14197 of snprintf.
14198 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14199
14200 2016-11-16 Zack Weinberg <zackw@panix.com>
14201
14202 * string/string.h: Remove obsolete comment stating that
14203 strcoll_l and strxfrm_l have not yet been standardized.
14204
14205 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14206
14207 * hurd/hurd.h (__hurd_fail_noerrno): New function.
14208 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
14209 __access_noerrno.
14210 * io/access.c (__access_noerrno): New function.
14211 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
14212 (hurd_fail_seterrno): Likewise.
14213 (access_common): Likewise.
14214 (__access_noerrno): Likewise.
14215 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
14216 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
14217 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
14218 macro.
14219
14220 2016-11-16 Joseph Myers <joseph@codesourcery.com>
14221
14222 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
14223 Only declare fpregs if [__SH_FPU_ANY__].
14224
14225 2016-11-15 Joseph Myers <joseph@codesourcery.com>
14226
14227 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
14228 Make code unconditional.
14229 [!(__SH4__ || __SH4A__)]: Remove conditional code.
14230
14231 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
14232
14233 * manual/sysinfo.texi (S_APPEND): Delete.
14234 (S_IMMUTABLE): Likewise.
14235
14236 2016-11-15 Denis Kaganovich <mahatma@eu.by>
14237 Magnus Granberg <zorry@gentoo.org>
14238 Mike Frysinger <vapier@gentoo.org>
14239
14240 [BZ #20662]
14241 * configure.ac (libc_cv_predef_stack_protector): Also check for
14242 __stack_chk_fail_local symbols.
14243 * configure: Regenerated.
14244
14245 2016-11-15 Florian Weimer <fweimer@redhat.com>
14246
14247 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14248 (libc_hidden_def): Remove redefinition.
14249 (__sigsetjmp): Add hidden definition.
14250 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14251 (libc_hidden_def): Remove redefinition.
14252 (__sigsetjmp): Add hidden definition.
14253
14254 2016-11-14 Joseph Myers <joseph@codesourcery.com>
14255
14256 * scripts/build-many-glibcs.py (os.path): Do not import.
14257 (Context): Inherit explicitly from object. Remove blank line
14258 between class and docstring.
14259 (Config): Likewise.
14260 (Glibc): Likewise.
14261 (Command): Likewise.
14262 (CommandList): Likewise.
14263 (Context.write_files): Store chmod mode in a variable.
14264
14265 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
14266 LIBC_SLIBDIR_RTLDDIR for tilegx32.
14267 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
14268
14269 2016-11-14 Zack Weinberg <zackw@panix.com>
14270
14271 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
14272 creating or re-creating it.
14273
14274 * string/bits/string2.h: Fix typo in comment.
14275
14276 2016-11-14 Zack Weinberg <zackw@panix.com>
14277
14278 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
14279 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
14280 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
14281 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
14282 of redirected function names.
14283
14284 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
14285 as well. Document that MESSAGE must be a single string literal.
14286
14287 2016-11-11 Joseph Myers <joseph@codesourcery.com>
14288
14289 * scripts/build-many-glibcs.py: New file.
14290
14291 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
14292 (do_test): Disable -Wmaybe-uninitialized around uses of
14293 except_mask.
14294
14295 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
14296
14297 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
14298
14299 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
14300 (atomic_store_release): Provide tilepro-specific implementations.
14301
14302 2016-11-10 Joseph Myers <joseph@codesourcery.com>
14303
14304 * math/math.h (__MATH_TG): New macro.
14305 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
14306 [__USE_ISOC99] (signbit): Likewise.
14307 [__USE_ISOC99] (isfinite): Likewise.
14308 [__USE_ISOC99] (isnan): Likewise.
14309 [__USE_ISOC99] (isinf): Likewise.
14310 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
14311 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
14312 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
14313 __MATH_TG and __MATH_EVAL_FMT2.
14314 * sysdeps/generic/math_private.h (fabs_tg): Define using
14315 __MATH_TG.
14316 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
14317 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
14318 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
14319 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
14320 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
14321 macro.
14322 (__iscanonical): Likewise.
14323 (iscanonical): Define using __MATH_TG.
14324
14325 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14326
14327 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
14328 guards.
14329
14330 * sysdeps/unix/sysv/linux/access.c: New file.
14331 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
14332
14333 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
14334
14335 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
14336 and __WORDSIZE32_PTRDIFF_LONG.
14337
14338 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
14339
14340 * sysdeps/aarch64/libm-test-ulps: Regenerated.
14341
14342 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14343
14344 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
14345 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
14346 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
14347 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
14348 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
14349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
14350 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
14351 * sysdeps/unix/sysv/linux/truncate.c: New file.
14352 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
14353 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14354 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
14355 Remove.
14356 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
14357 Likewise.
14358
14359 * posix/tst-truncate-common.c: New file.
14360 * posix/tst-truncate.c: Use tst-truncate-common.c.
14361 * posix/tst-truncate64.c: Likewise and add LFS tests.
14362 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
14363 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
14364 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
14365 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
14366 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
14367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
14368 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
14369 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
14370 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
14371 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14372 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
14373 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
14374 Remove.
14375 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
14376 Likewise.
14377
14378 2016-11-08 Joseph Myers <joseph@codesourcery.com>
14379
14380 [BZ #20790]
14381 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
14382 to MAXLINESIZE.
14383 * sunrpc/bug20790.x: New file.
14384 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
14385 variable.
14386 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
14387 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
14388
14389 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
14390
14391 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
14392
14393 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
14394 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
14395 calloc, realloc, free, memalign and __libc_memalign rather than
14396 making them optional.
14397
14398 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
14399 for libc.so.
14400
14401 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14402
14403 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
14404 ptw-lseek64.
14405 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
14406 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
14407 Likewise.
14408 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
14409 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
14410 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
14411 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
14412 * sysdeps/unix/sysv/linux/lseek.c: New file.
14413 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
14414 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
14415 __libc_lseek64 from auto-generation.
14416 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14417 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
14418
14419 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14420
14421 * nptl/tst-basic1.c (tf, do_test): Use write_message.
14422 * nptl/tst-cleanup1.c (do_test): Likewise.
14423 * nptl/tst-cleanup3.c (do_test): Likewise.
14424 * nptl/tst-key1.c (do_test): Likewise.
14425 * nptl/tst-key2.c (tf, do_test): Likewise.
14426 * nptl/tst-key3.c (tf, do_test): Likewise.
14427 * nptl/tst-stdio1.c (do_test): Likewise.
14428 * nptl/tst-stdio2.c (do_test): Likewise.
14429
14430 * nptl/tst-kill3.c (handler): Use write_message in place of write.
14431 * nptl/tst-kill6.c (handler): Likewise.
14432 * nptl/tst-tls2.c (CB): Likewise.
14433 * nptl/tst-tls3.c (CB): Likewise.
14434
14435 2016-11-07 Joseph Myers <joseph@codesourcery.com>
14436
14437 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
14438
14439 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
14440 Steve Ellcey <sellcey@caviumnetworks.com>
14441
14442 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
14443 __ASSUME_ST_INO_64_BIT as 0
14444 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
14445 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
14446 over the code where __ASSUME_ST_INO_64_BIT is used.
14447 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
14448 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
14449 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14450
14451 2016-11-07 Florian Weimer <fweimer@redhat.com>
14452
14453 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14454 Document ABI exposure of the __kind offset.
14455 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14456 Mention reason for the __kind offset exposure in the ABI.
14457 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14458 Likewise.
14459 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14460 Likewise.
14461 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14462 Likewise.
14463 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
14464 (struct __pthread_mutex_s): Likewise.
14465 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14466 Likewise.
14467 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14468 Likewise.
14469 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14470 Likewise.
14471 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14472 Likewise.
14473 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14474 Likewise.
14475 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14476 Likewise.
14477 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
14478 (struct __pthread_mutex_s): Likewise.
14479 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14480 (struct __pthread_mutex_s): Likewise.
14481 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
14482 Likewise.
14483
14484 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
14485
14486 * test-skeleton.c: Document do_test usage.
14487
14488 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
14489
14490 * iconv/gconv.h (__gconv_info): Define __data element using a
14491 zero-length array.
14492
14493 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
14494
14495 * math/test-tgmath2.c: Split up test function.
14496
14497 2016-11-04 Joseph Myers <joseph@codesourcery.com>
14498
14499 * Rules (tests-expected): New variable, depending on
14500 $(run-built-tests).
14501 (tests): Pass $(tests-expected) to merge-test-results.sh, not
14502 $(tests).
14503
14504 * Rules [$(run-built-tests) = no] (tests): Do not depend on
14505 $(tests-unsupported).
14506
14507 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14508
14509 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
14510 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
14511
14512 2016-11-04 Joseph Myers <joseph@codesourcery.com>
14513
14514 [BZ #20768]
14515 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
14516 __fegetenv instead of fegetenv.
14517
14518 [BZ #14139]
14519 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
14520 (find_files): Obtain platform name from libm-test-ulps-name and
14521 store in %pplatforms.
14522 (canonicalize_platform): Remove.
14523 (print_platforms): Use $pplatforms directly.
14524 (by_platforms): Do not allow for platforms missing from
14525 %pplatforms.
14526 * sysdeps/aarch64/libm-test-ulps-name: New file.
14527 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
14528 * sysdeps/arm/libm-test-ulps-name: Likewise.
14529 * sysdeps/generic/libm-test-ulps-name: Likewise.
14530 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
14531 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
14532 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
14533 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
14534 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
14535 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
14536 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
14537 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
14538 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
14539 * sysdeps/nios2/libm-test-ulps-name: Likewise.
14540 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
14541 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
14542 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
14543 * sysdeps/sh/libm-test-ulps-name: Likewise.
14544 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
14545 * sysdeps/tile/libm-test-ulps-name: Likewise.
14546 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
14547
14548 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
14549
14550 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
14551 (test-xfail-check-execstack): New variable.
14552
14553 * sysdeps/mips/localplt.data: New file.
14554
14555 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
14556 Steve Ellcey <sellcey@caviumnetworks.com>
14557
14558 * bits/wordsize.h: Add documentation.
14559 * sysdeps/aarch64/bits/wordsize.h : New file
14560 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
14561 definitions.
14562 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
14563 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
14564 with #if instead of #ifdef.
14565 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
14566 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
14567 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
14568 Add or change defines.
14569 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
14570 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14571 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
14572 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
14573 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14574 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14575 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
14576 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
14577 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
14578 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14579 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
14580 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
14581 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
14582 * sysdeps/x86/bits/wordsize.h: Likewise.
14583
14584 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
14585 Kevin Petit <kevin.petit@arm.com>
14586
14587 * sysdeps/aarch64/memchr.S (__memchr): New file.
14588
14589 2016-11-04 Joseph Myers <joseph@codesourcery.com>
14590
14591 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
14592
14593 2016-11-03 Joseph Myers <joseph@codesourcery.com>
14594
14595 [BZ #19398]
14596 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
14597 $(linknamespace-symlists-tests).
14598
14599 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
14600
14601 * time/tst-strptime2.c: Ignore -Wformat-length warning.
14602
14603 2016-11-02 Florian Weimer <fweimer@redhat.com>
14604 Carlos O'Donell <carlos@redhat.com>
14605
14606 [Bug #20729]
14607 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
14608 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
14609 for -Os related change.
14610
14611 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
14612
14613 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
14614
14615 2016-11-01 Joseph Myers <joseph@codesourcery.com>
14616
14617 [BZ #19673]
14618 * manual/math.texi (Exponents and Logarithms): Correct description
14619 of clog10.
14620
14621 2016-10-31 Carlos O'Donell <carlos@redhat.com>
14622
14623 [Bz #20729]
14624 * locale/weight.h: Include libc-internal.h.
14625 * locale/weightwc.h: Likewise.
14626 * nptl/nptl_dbP.h: Likewise.
14627
14628 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
14629
14630 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
14631 when it is MACH_PORT_NULL.
14632
14633 2016-10-31 Andreas Schwab <schwab@suse.de>
14634
14635 [BZ #20707]
14636 * posix/glob.c (glob): Initialize pglob before checking for
14637 GLOB_BRACE. Don't call glob recursively if pattern contains no
14638 valid brace expression despite GLOB_BRACE.
14639 * posix/globtest.sh: Test it.
14640
14641 2016-10-28 Carlos O'Donell <carlos@redhat.com>
14642
14643 [BZ #20729]
14644 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
14645 Define.
14646 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
14647 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
14648 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
14649 for seq2.back_us and seq1.back_us only for -Os compiles.
14650 * locale/weightwc.h (findix): Likewise.
14651 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
14652 DB_GET_FIELD_ADDRESS only for -Os compiles.
14653 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
14654 for slen only for -Os compiles.
14655 * string/strcoll_l.c (get_next_seq): Ignore
14656 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
14657 for -Os compiles.
14658
14659 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
14660 * include/crypt.h: New file.
14661
14662 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14663
14664 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
14665 from test-skeleton.c.
14666 (statclass): Replace calls to write with calls to write_message.
14667
14668 2016-10-28 Joseph Myers <joseph@codesourcery.com>
14669
14670 * math/math.h
14671 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
14672 New macro.
14673 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
14674 Likewise.
14675 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
14676 Likewise.
14677 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
14678 SNANL.
14679 * math/test-double.h (snan_value_MACRO): New macro.
14680 * math/test-float.h (snan_value_MACRO): Likewise.
14681 * math/test-ldouble.h (snan_value_MACRO): Likewise.
14682 * math/libm-test.inc (issignaling_test_data): Add tests of
14683 snan_value_MACRO.
14684
14685 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14686
14687 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
14688 behavior when eliding a lock not held by the current thread.
14689 * sysdeps/powerpc/nptl/elide.h: Likewise.
14690
14691 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14692
14693 [BZ #20728]
14694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
14695 branch to _exit() by a function call.
14696
14697 2016-10-28 Florian Weimer <fweimer@redhat.com>
14698
14699 * malloc/malloc.c: Update chunk layout comments.
14700 (chunk_main_arena): Update comment.
14701
14702 2016-10-28 Florian Weimer <fweimer@redhat.com>
14703
14704 * crypt/sha256.c, crypt/sha256-block.c,
14705 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
14706 sha256_process_block to __sha256_process_block.
14707 * crypt/sha512.c, crypt/sha512-block.c,
14708 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
14709 sha512_process_block to __sha512_process_block.
14710
14711 2016-10-28 Carlos O'Donell <carlos@redhat.com>
14712
14713 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
14714
14715 * math/test-nan-overflow.c: Include stdlib.h for malloc.
14716
14717 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
14718
14719 [BZ #20019]
14720 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
14721 definition in unrelocated shared library.
14722 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14723
14724 2016-10-28 Florian Weimer <fweimer@redhat.com>
14725
14726 [BZ #20729]
14727 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
14728 * sysdeps/unix/sysv/linux/i386/Makefile
14729 (uses-6-syscall-arguments): Define.
14730 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
14731 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
14732 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
14733 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
14734 Likewise.
14735 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
14736 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
14737 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
14738 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
14739 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
14740 (CFLAGS-fallocate64.os): Likewise.
14741 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
14742 (CFLAGS-pthread_rwlock_timedrdlock.os)
14743 (CFLAGS-pthread_rwlock_timedwrlock.o)
14744 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
14745 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
14746 (CFLAGS-sem_timedwait.os): Likewise.
14747
14748 2016-10-28 Florian Weimer <fweimer@redhat.com>
14749
14750 * elf/tst-linkall-static.c: New file.
14751 * elf/Makefile (tests-static): Add tst-linkall-static.
14752 (tst-linkall-static): Link against static libraries.
14753
14754 2016-10-27 Florian Weimer <fweimer@redhat.com>
14755
14756 * malloc/malloc.c (sysmalloc): Initialize previous size field of
14757 mmaped chunks.
14758
14759 2016-10-28 Florian Weimer <fweimer@redhat.com>
14760
14761 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
14762 members to mchunk_prev_size, mchunk_size.
14763 (chunk_main_arena): Reverse sense and rename from
14764 chunk_non_main_arena.
14765 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
14766 mchunk_size instead of size.
14767 (set_non_main_arena): Define.
14768 (chunksize): Use chunksize_nomask instead of direct member access.
14769 (chunksize_nomask): Define.
14770 (next_chunk): Use chunksize instead of direct member access.
14771 (prev_size, set_prev_size): Define.
14772 (prev_chunk): Use prev_size instead of direct member access.
14773 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
14774 (inuse_bit_at_offset, set_inuse_bit_at_offset)
14775 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
14776 (mchunk_prev_size, mchunk_size): Poison tokens.
14777 (unlink): Use chunksize_nomask, prev_size accessors.
14778 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
14779 (do_check_free_chunk): Use prev_size accessor.
14780 (sysmalloc): Use set_prev_size, set_head accessors.
14781 (munmap_chunk, mremap_chunk): Use prev_size accessor.
14782 (__libc_free): Use chunksize_nomask accessor.
14783 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
14784 chunk_main_arena accessors.
14785 (_int_free): Use chunksize_nomask, prev_size accessors.
14786 (malloc_consolidate): Use chunksize, prev_size accessors.
14787 (_int_realloc): Use chunksize_nomask accessor.
14788 (_int_memalign): Use set_prev_size accessor.
14789 (__malloc_info): Use chunksize_nomask accessor.
14790 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
14791 accessors.
14792 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
14793 (heap_trim): Use chunksize_nomask, prev_size accessors.
14794
14795 2016-10-28 Joseph Myers <joseph@codesourcery.com>
14796
14797 [BZ #19380]
14798 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
14799 for inexact results.
14800 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
14801 of inexact result where mpfr_subnormalize is the only inexact
14802 step.
14803 * stdlib/tst-strtod-round-data.h: Regenerated.
14804 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
14805 Define to 0.
14806 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
14807
14808 2016-10-27 David S. Miller <davem@davemloft.net>
14809
14810 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
14811
14812 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
14813
14814 * malloc/malloc.c (do_set_mallopt_check): New function.
14815 (do_set_mmap_threshold): Likewise.
14816 (do_set_mmaps_max): Likewise.
14817 (do_set_top_pad): Likewise.
14818 (do_set_perturb_byte): Likewise.
14819 (do_set_trim_threshold): Likewise.
14820 (do_set_arena_max): Likewise.
14821 (do_set_arena_test): Likewise.
14822 (__libc_mallopt): Use them.
14823
14824 2016-10-26 Joseph Myers <joseph@codesourcery.com>
14825
14826 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14827 (canonicalize): New declaration.
14828 * math/Versions (canonicalize): New libm symbol at version
14829 GLIBC_2.25.
14830 (canonicalizef): Likewise.
14831 (canonicalizel): Likewise.
14832 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
14833 * math/s_canonicalize_template.c: New file.
14834 * math/libm-test.inc: Update comment on functions tested and
14835 testing of NaN payloads.
14836 (TEST_NAN_PAYLOAD): New macro.
14837 (NO_TEST_INLINE): Update value.
14838 (XFAIL_TEST): Likewise.
14839 (ERRNO_UNCHANGED): Likewise.
14840 (ERRNO_EDOM): Likewise.
14841 (ERRNO_ERANGE): Likewise.
14842 (IGNORE_RESULT): Likewise.
14843 (NON_FINITE): Likewise.
14844 (TEST_SNAN): Likewise.
14845 (NO_TEST_MATHVEC): Likewise.
14846 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
14847 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
14848 (struct test_Ffp_b1_data): New type.
14849 (RUN_TEST_Ffp_b1): New macro.
14850 (RUN_TEST_LOOP_Ffp_b1): Likewise.
14851 (canonicalize_test_data): New array.
14852 (canonicalize_test): New function.
14853 (main): Call canonicalize_test.
14854 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
14855 canonicalizef and canonicalizel.
14856 * manual/libm-err-tab.pl: Update comment on interfaces without
14857 ulps tabulated.
14858 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
14859 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
14860 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14861 canonicalize.
14862 (CFLAGS-nldbl-canonicalize.c): New variable.
14863 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
14864 to ...
14865 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
14866 ... here.
14867 (do_test): Also test canonicalizel.
14868 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
14869 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
14870 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
14871 file.
14872 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
14873 Use libm_hidden_def.
14874 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
14875 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
14876 (do_test): Also test canonicalizel.
14877 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
14878 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
14879 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
14880 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
14881 libm_hidden_def.
14882 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
14883 macro.
14884 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
14885 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
14886 * sysdeps/nacl/libm.abilist: Update.
14887 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14888 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14889 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14890 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14891 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14892 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14893 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14894 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14895 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14896 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14897 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14898 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14900 Likewise.
14901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14902 Likewise.
14903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14904 Likewise.
14905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14906 Likewise.
14907 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14908 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14909 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14910 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14911 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14913 Likewise.
14914 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14915 Likewise.
14916 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14917 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14918 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14919
14920 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
14921 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14922 getpayload.
14923 (CFLAGS-nldbl-getpayload.c): New variable.
14924
14925 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14926
14927 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
14928 integer from the format string.
14929
14930 2016-10-26 Florian Weimer <fweimer@redhat.com>
14931
14932 [BZ #19473]
14933 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
14934 declarations.
14935 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
14936 weak aliases.
14937 * malloc/hooks.c (__malloc_get_state): Remove definition.
14938 (malloc_get_state): New stub implementation as
14939 compatibility symbol.
14940 (malloc_set_state): Rename from __malloc_set_state. Turn into
14941 compat symbol.
14942 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
14943 malloc_set_state.
14944 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
14945
14946 2016-10-26 Florian Weimer <fweimer@redhat.com>
14947
14948 * iconvdata/iso646.c (enum variant): Drop illegal_var.
14949 (names): Turn into concatenation of strings.
14950 (gconv_init): Adapt iteration over names.
14951
14952 2016-10-26 Florian Weimer <fweimer@redhat.com>
14953
14954 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
14955 make const.
14956 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
14957 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
14958 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
14959 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
14960 character in sbconv.
14961 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
14962 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
14963 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
14964
14965 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
14966
14967 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
14968
14969 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
14970 (M_TRIM_THRESHOLD): Likewise.
14971
14972 * manual/memory.texi (M_ARENA_TEST): Add documentation.
14973 (M_ARENA_MAX): Likewise.
14974 * malloc/malloc.c: Remove obsolete comment.
14975
14976 * manual/memory.texi: Add environment variable alternatives to
14977 setting mallopt parameters.
14978
14979 2016-10-26 Carlos O'Donell <carlos@redhat.com>
14980
14981 * include/atomic.h
14982 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
14983 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
14984
14985 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14986
14987 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
14988 * stdlib/tst-strfrom.h: New file.
14989 * stdlib/tst-strfrom.c: New file.
14990 * stdlib/tst-strfrom-locale.c: New file.
14991
14992 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
14993 * stdlib/bug-strtod2.c: Likewise.
14994 * stdlib/tst-strtod-round-skeleton.c: Likewise.
14995 * stdlib/tst-strtod6.c: Likewise.
14996 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
14997
14998 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14999
15000 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
15001 * manual/arith.texi: Document strfromd, strfromf, strfroml.
15002 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
15003 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
15004 * stdlib/stdlib.h (strfromd): New declaration.
15005 (strfromf): Likewise.
15006 (strfroml): Likewise.
15007 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
15008 strfrom.
15009 * stdlib/strfromd.c: New file.
15010 * stdlib/strfromf.c: Likewise.
15011 * stdlib/strfroml.c: Likewise.
15012 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
15013 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
15014 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
15015 * sysdeps/arm/nacl/libc.abilist: Update.
15016 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15017 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15018 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15019 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15020 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15021 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15022 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15023 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15024 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15025 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15026 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15027 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15028 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15029 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
15031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
15032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15034 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15035 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15036 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15037 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15038 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15039 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15040 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15041 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15042 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15043 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15044
15045 2016-10-25 Joseph Myers <joseph@codesourcery.com>
15046
15047 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
15048 instead of cmpli.
15049 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
15050 instead of cmpli.
15051
15052 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
15053
15054 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
15055 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
15056 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
15057 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15058 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15059 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15060
15061 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15062
15063 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
15064 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15065 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
15066 SYSCALL_LL64_PRW.
15067 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15068 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
15069 __ASSUME_PRW_DUMMY_ARG.
15070 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
15071 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15072 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15073 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15074 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
15075 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
15076
15077 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
15078
15079 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
15080
15081 2016-10-22 Florian Weimer <fweimer@redhat.com>
15082
15083 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
15084 "C++", to override a potential extern "C" directive around the
15085 header file inclusion.
15086
15087 2016-10-21 Joseph Myers <joseph@codesourcery.com>
15088
15089 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
15090
15091 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15092
15093 * sysdeps/powerpc/fpu/fenv_private.h:
15094 (_FPU_MASK_ALL): Rename to...
15095 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
15096 XE FPSCR bits.
15097
15098 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
15099
15100 (_FPU_MASK_ROUNDING): Rename to...
15101 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
15102 NI bits.
15103
15104 (_FPU_MASK_EXCEPT_ROUND): Rename to...
15105 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
15106 bits and rounding bits.
15107
15108 (__libc_feholdbits_ppc): New inline function to mask, set,
15109 and pontentially clear FSPCR bits, and change MSR[FE] bits.
15110 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
15111 (libc_feholdexcept_setround_ppc): Likewise.
15112
15113 (__libc_femergeenv_ppc): New function to dynamically mask both
15114 old and new FP environments and merge.
15115 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
15116 (libc_feresetround_ppc): Likewise.
15117 (libc_feupdateenv_test_ppc): Likewise.
15118 (libc_feupdateenv_ppc): Likewise.
15119
15120 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
15121 of ISA RN bits, and update macro names.
15122 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
15123 effectively the same as the previously mentioned function.
15124
15125 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
15126 usage with fe_resetround_ppc.
15127
15128 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
15129 to be used.
15130 (libc_feholdexcept_setround_ctxf): Likewise.
15131 (libc_feholdexcept_setround_ctxl): Likewise.
15132
15133 2016-10-21 Florian Weimer <fweimer@redhat.com>
15134
15135 [BZ #20715]
15136 * math/math.h [__cplusplus] (iszero): Define as function template.
15137 * math/Makefile [CXX] (tests): Add test-math-iszero.
15138 (CFLAGS-test-math-iszero.cc): Set.
15139 * math/test-math-iszero.cc: New file.
15140
15141 2016-10-20 Joseph Myers <joseph@codesourcery.com>
15142
15143 [BZ #20660]
15144 * sysdeps/arm/e_sqrt.c: New file.
15145 * sysdeps/arm/e_sqrtf.c: Likewise.
15146
15147 2016-10-19 Joseph Myers <joseph@codesourcery.com>
15148
15149 [BZ #20718]
15150 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
15151 not use floating-point comparisons to test sign.
15152 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
15153 Likewise.
15154
15155 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15156 (getpayload): New declaration.
15157 * math/Versions (getpayload): New libm symbol at version
15158 GLIBC_2.25.
15159 (getpayloadf): Likewise.
15160 (getpayloadl): Likewise.
15161 * math/Makefile (libm-calls): Add s_getpayloadF.
15162 * math/libm-test.inc: Include <nan-high-order-bit.h>.
15163 (struct test_f_f_data): Add comment.
15164 (RUN_TEST_fp_f): New macro.
15165 (RUN_TEST_LOOP_fp_f): Likewise.
15166 (getpayload_test_data): New array.
15167 (getpayload_test): New function.
15168 (main): Call getpayload_test.
15169 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
15170 descriptor.
15171 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
15172 getpayloadf and getpayloadl.
15173 * manual/libm-err-tab.pl: Update comment on interfaces without
15174 ulps tabulated.
15175 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
15176 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
15177 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
15178 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
15179 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
15180 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
15181 * sysdeps/nacl/libm.abilist: Update.
15182 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15183 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15184 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15185 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15186 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15187 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15188 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15189 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15190 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15191 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15192 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15193 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15195 Likewise.
15196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15197 Likewise.
15198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15199 Likewise.
15200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15201 Likewise.
15202 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15203 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15204 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15205 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15206 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15207 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15208 Likewise.
15209 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15210 Likewise.
15211 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15212 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15213 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15214
15215 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15216
15217 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
15218 tst-fallocate{64}.
15219 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
15220 on syscall return.
15221
15222 2016-10-17 Carlos O'Donell <carlos@redhat.com>
15223
15224 [BZ #20689]
15225 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
15226 usable.
15227
15228 2016-10-17 Joseph Myers <joseph@codesourcery.com>
15229
15230 * sysdeps/generic/nan-high-order-bit.h: New file.
15231 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
15232 * sysdeps/mips/nan-high-order-bit.h: Likewise.
15233 * sysdeps/hppa/math_private.h: Remove file.
15234 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
15235 not define here.
15236 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
15237 <nan-high-order-bit.h>.
15238 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15239 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
15240 <nan-high-order-bit.h>.
15241 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15242 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
15243 <nan-high-order-bit.h>.
15244 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15245 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
15246 <nan-high-order-bit.h>.
15247 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15248 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
15249 <nan-high-order-bit.h>.
15250 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15251 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
15252 <nan-high-order-bit.h>.
15253 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15254 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
15255 <nan-high-order-bit.h>.
15256 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15257 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
15258 <nan-high-order-bit.h>.
15259 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15260 * sysdeps/ieee754/flt-32/s_totalordermagf.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-128/s_issignalingl.c: Include
15264 <nan-high-order-bit.h>.
15265 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15266 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
15267 <nan-high-order-bit.h>.
15268 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15269 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
15270 <nan-high-order-bit.h>.
15271 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15272 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
15273 <nan-high-order-bit.h>.
15274 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15275 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
15276 <nan-high-order-bit.h>.
15277 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15278 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
15279 <nan-high-order-bit.h>.
15280 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15281 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
15282 <nan-high-order-bit.h>.
15283 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15284 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
15285 <nan-high-order-bit.h>.
15286 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15287 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
15288 <nan-high-order-bit.h>.
15289 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15290
15291 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
15292
15293 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
15294
15295 2016-09-22 John David Anglin <dave.anglin@bell.net>
15296
15297 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
15298 abort-instr.h.
15299 (EFAULT): Remove conditional define.
15300 (ENOSYS): Likewise.
15301 (atomic_compare_and_exchange_val_acq): Use instruction nullification
15302 instead of conditional branch instructions.
15303
15304 2016-10-15 Joseph Myers <joseph@codesourcery.com>
15305
15306 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15307 (totalordermag): New declaration.
15308 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
15309 New macro.
15310 * math/Versions (totalordermag): New libm symbol at version
15311 GLIBC_2.25.
15312 (totalordermagf): Likewise.
15313 (totalordermagl): Likewise.
15314 * math/Makefile (libm-calls): Add s_totalordermagF.
15315 * math/libm-test.inc (totalordermag_test_data): New array.
15316 (totalordermag_test): New function.
15317 (main): Call totalordermag_test.
15318 * math/test-tgmath.c (NCALLS): Increase to 125.
15319 (F(compile_test)): Call totalordermag.
15320 (F(totalordermag)): New function.
15321 * manual/arith.texi (FP Comparison Functions): Document
15322 totalordermag, totalordermagf and totalordermagl.
15323 * manual/libm-err-tab.pl: Update comment on interfaces without
15324 ulps tabulated.
15325 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
15326 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
15327 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
15328 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
15329 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
15330 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
15331 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
15332 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15333 totalordermag.
15334 (CFLAGS-nldbl-totalordermag.c): New variable.
15335 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
15336 (do_test): Also test totalordermagl.
15337 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
15338 Likewise.
15339 * sysdeps/nacl/libm.abilist: Update.
15340 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15341 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15342 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15343 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15344 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15345 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15346 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15347 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15348 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15349 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15350 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15351 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15353 Likewise.
15354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15355 Likewise.
15356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15357 Likewise.
15358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15359 Likewise.
15360 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15361 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15362 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15363 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15364 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15365 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15366 Likewise.
15367 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15368 Likewise.
15369 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15370 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15371 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15372
15373 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
15374
15375 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
15376 boolean.
15377
15378 2016-10-13 Joseph Myers <joseph@codesourcery.com>
15379
15380 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
15381 raising FE_INVALID with feraisexcept in case where part of
15382 argument is infinite, subtract that part of argument from itself.
15383 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
15384 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
15385 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15386
15387 2016-10-12 Joseph Myers <joseph@codesourcery.com>
15388
15389 * math/libm-test.inc (totalorder_test_data): Add more tests.
15390
15391 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
15392
15393 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
15394 Undefine weak_alias and add a comment why mips64 require
15395 versioning.
15396
15397 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
15398
15399 [BZ #20647]
15400 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
15401 maximum CPUID level is less than 2.
15402
15403 2016-10-12 Joseph Myers <joseph@codesourcery.com>
15404
15405 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15406 (totalorder): New declaration.
15407 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
15408 New macro.
15409 * math/Versions (totalorder): New libm symbol at version
15410 GLIBC_2.25.
15411 (totalorderf): Likewise.
15412 (totalorderl): Likewise.
15413 * math/Makefile (libm-calls): Add s_totalorderF.
15414 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
15415 string.
15416 * math/libm-test.inc (PAYLOAD_DIG): New macro.
15417 (qnan_value_pl): Likewise.
15418 (snan_value_pl): Likewise.
15419 (qnan_value): Define using qnan_value_pl.
15420 (snan_value): Define using snan_value_pl.
15421 (struct test_ff_i_data): Add comment about which tests use this
15422 structure.
15423 (RUN_TEST_ff_b): New macro.
15424 (RUN_TEST_LOOP_ff_b): Likewise.
15425 (totalorder_test_data): New array.
15426 (totalorder_test): New function.
15427 (main): Call totalorder_test.
15428 * math/test-tgmath.c (NCALLS): Increase to 122.
15429 (F(compile_test)): Call totalorder.
15430 (F(totalorder)): New function.
15431 * manual/arith.texi (FP Comparison Functions): Document
15432 totalorder, totalorderf and totalorderl.
15433 * manual/libm-err-tab.pl: Update comment on interfaces without
15434 ulps tabulated.
15435 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
15436 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
15437 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
15438 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
15439 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
15440 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
15441 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
15442 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15443 totalorder.
15444 (CFLAGS-nldbl-totalorder.c): New variable.
15445 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
15446 file.
15447 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15448 Add test-totalorderl-ldbl-128ibm.
15449 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
15450 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
15451 test-totalorderl-ldbl-96.
15452 * sysdeps/nacl/libm.abilist: Update.
15453 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15454 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15455 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15456 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15457 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15458 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15459 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15460 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15461 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15462 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15463 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15464 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15466 Likewise.
15467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15468 Likewise.
15469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15470 Likewise.
15471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15472 Likewise.
15473 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15474 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15475 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15476 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15477 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15478 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15479 Likewise.
15480 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15481 Likewise.
15482 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15483 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15484 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15485
15486 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15487
15488 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
15489 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
15490 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
15491 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
15492 remove ENOSYS implementation.
15493 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
15494 Consolidate all Linux implementations.
15495
15496 2016-10-11 Florian Weimer <fweimer@redhat.com>
15497
15498 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
15499 * resolv/herror.c (herror): Cast away const-ness.
15500 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
15501 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
15502
15503 2016-10-11 Joseph Myers <joseph@codesourcery.com>
15504
15505 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
15506 instead of M_NAN + M_NAN.
15507 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15508
15509 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15510
15511 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
15512 unused variable 'p'.
15513
15514 2016-10-09 Alan Modra <amodra@gmail.com>
15515 Andreas Schwab <schwab@linux-m68k.org>
15516
15517 [BZ #20554]
15518 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
15519 [PIC && !SHARED]: Set up PIC register for PLT call.
15520
15521 2016-10-07 Joseph Myers <joseph@codesourcery.com>
15522
15523 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
15524 conditional on value of [__FLT_EVAL_METHOD__].
15525 * math/test-iseqsig-excess-precision.c: New file.
15526 * math/Makefile (tests): Add test-iseqsig-excess-precision.
15527
15528 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15529
15530 * math/s_iseqsig_template.c: Include math-private.h.
15531
15532 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
15533 * posix/tst-posix_fadvise.c: New file.
15534 * posix/tst-posix_fadvise64.c: Likewise.
15535 * posix/tst-posix_fadvise-common.c: Likewise.
15536 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15537 (__ASSUME_FADVISE64_64_6ARG): Define.
15538 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15539 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
15540 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15541 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
15542 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
15543 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
15544 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
15545 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
15546 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
15547 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
15548 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
15549 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
15550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
15551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
15552 Likewise.
15553 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
15554 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
15555 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
15556 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15557 Alias to __posix_fadvise64_l32.
15558 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
15559 Add compat definition to posix_fadvise64.
15560 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15561 Add versioned definition to posix_fadvise64.
15562 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
15563 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
15564 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
15565 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
15566 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
15567
15568 * io/Makefile (tests): Add tst-posix_fallocate and
15569 tst-posix_fallocate64.
15570 * io/tst-posix_fallocate-common.c: New file.
15571 * io/tst-posix_fallocate.c: Likewise.
15572 * io/tst-posix_fallocate64.c: Likewise.
15573 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
15574 file.
15575 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
15576 Likewise.
15577 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
15578 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
15579 Likewise.
15580 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
15581 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
15582 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
15583 SYSCALL_LL to pass both offset and len arguments.
15584 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
15585 Likewise.
15586 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
15587 __libc_pwrite64 alias used by posix_fallocate64.
15588
15589 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15590 tst-fallocate64.
15591 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15592 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15593 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15594 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15595 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15596 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15597 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15598 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15599 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15600 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15601 macro on offset argument.
15602 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15603 SYSCALL_LL64 on offset argument.
15604
15605 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15606 tst-fallocate64.
15607 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15608 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15609 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15610 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15611 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15612 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15613 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15614 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15615 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15616 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15617 macro on offset argument.
15618 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15619 SYSCALL_LL64 on offset argument.
15620 * test-skeleton.c (FAIL_RET): Add macro.
15621 (FAIL_EXIT): Likewise.
15622 (FAIL_EXIT1): Likewise.
15623 (_FAIL): Likewise.
15624
15625 2016-10-07 Florian Weimer <fweimer@redhat.com>
15626
15627 [BZ #20629]
15628 resolv: Remove RES_USEBSTRING and its implementation.
15629 * resolv/resolv.h (RES_USEBSTRING): Remove.
15630 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
15631 (digitvalue, encode_bitstring, decode_bitstring): Remove.
15632 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
15633 (labellen): Remove extended label types support.
15634 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
15635 * resolv/res_init.c (res_setoptions): Likewise.
15636 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15637
15638 2016-10-07 Florian Weimer <fweimer@redhat.com>
15639
15640 resolv: Remove RES_NOIP6DOTINT and its implementation.
15641 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
15642 (RES_NOIP6DOTINT): Remove.
15643 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
15644 handling.
15645 * resolv/res_debug.c (p_option): Likewise.
15646 * resolv/res_init.c (res_setoptions): Likewise.
15647 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15648
15649 2016-10-07 Florian Weimer <fweimer@redhat.com>
15650
15651 resolv: Deprecate unimplemented flags.
15652 * misc/sys/cdefs.h (__glibc_macro_warning1)
15653 (__glibc_macro_warning): Define.
15654 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
15655 (RES_KEEPTSIG): Mark as deprecated.
15656 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
15657 RES_NOCHECKNAME, RES_KEEPTSIG.
15658 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
15659
15660 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15661
15662 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
15663 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
15664 Use strong_alias to create symbols for glibc verison 2.19.
15665
15666 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15667
15668 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
15669
15670 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15671
15672 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
15673
15674 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15675
15676 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
15677
15678 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15679
15680 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15681 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
15682 in header for using it as type for ifunc function because __GI_* symbols
15683 for ppc32 do not target the ifunc symbols.
15684 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15685
15686 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15687
15688 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
15689 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
15690 libc_ifunc_hidden_def.
15691 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
15692 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
15693 Redirect ifunced function in header for using it as type of ifunc'ed
15694 function. Redefine libc_hidden_def to use fallback non ifunc'ed
15695 function for __GI_* symbol.
15696 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
15697 * include/libc-symbols.h
15698 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
15699
15700 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15701
15702 [BZ #20478]
15703 * sysdeps/s390/multiarch/ifunc-resolve.h
15704 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
15705 to create ifunc symbols.
15706 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
15707 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
15708 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
15709 for using it as type for ifunc function.
15710 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
15711 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15712 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
15713 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
15714 * sysdeps/s390/multiarch/strcat.c: Likewise.
15715 * sysdeps/s390/multiarch/strchr.c: Likewise.
15716 * sysdeps/s390/multiarch/strcmp.c: Likewise.
15717 * sysdeps/s390/multiarch/strcpy.c: Likewise.
15718 * sysdeps/s390/multiarch/strcspn.c: Likewise.
15719 * sysdeps/s390/multiarch/strlen.c: Likewise.
15720 * sysdeps/s390/multiarch/strncmp.c: Likewise.
15721 * sysdeps/s390/multiarch/strncpy.c: Likewise.
15722 * sysdeps/s390/multiarch/strnlen.c: Likewise.
15723 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15724 * sysdeps/s390/multiarch/strrchr.c: Likewise.
15725 * sysdeps/s390/multiarch/strspn.c: Likewise.
15726 * sysdeps/s390/multiarch/wcschr.c: Likewise.
15727 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
15728 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15729 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
15730 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15731 * sysdeps/s390/multiarch/wmemset.c: Likewise.
15732 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
15733 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
15734 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
15735 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
15736 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
15737 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
15738
15739 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15740
15741 * include/libc-symbols.h (__ifunc_resolver):
15742 New macro is used by __ifunc* macros.
15743 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
15744 depending on HAVE_GCC_IFUNC.
15745 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
15746 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
15747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
15748 Redirect ifunced function in header for using as type for ifunc function.
15749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
15750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
15751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
15752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
15753 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
15754 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
15755 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
15756 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
15757 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
15758 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
15759 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
15760 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
15761 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
15762 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
15763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
15764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
15765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
15766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
15767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
15768 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
15769 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
15770 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
15771 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
15772 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
15773 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
15774 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
15775 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
15776 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
15777 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
15778 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
15779 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
15780 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
15781 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
15782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
15783 Add libc_hidden_def() and use libc_ifunc_hidden() macro
15784 instead of libc_ifunc() macro.
15785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
15786 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
15787
15788 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15789
15790 * config.h.in (HAVE_GCC_IFUNC): New undef.
15791 * configure.ac: Add check if gcc supports attribute ifunc feature.
15792 * configure: Regenerated.
15793 * manual/install.texi: Add recommendation for gcc with
15794 indirect-function support.
15795 * INSTALL: Regenerated.
15796
15797 2016-10-06 Joseph Myers <joseph@codesourcery.com>
15798
15799 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
15800 macro.
15801 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15802 (__iseqsig): New declaration.
15803 * math/s_iseqsig_template.c: New file.
15804 * math/Versions (__iseqsigf): New libm symbol at version
15805 GLIBC_2.25.
15806 (__iseqsig): Likewise.
15807 (__iseqsigl): Likewise.
15808 * math/libm-test.inc (iseqsig_test_data): New array.
15809 (iseqsig_test): New function.
15810 (main): Call iseqsig_test.
15811 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
15812 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
15813 * manual/libm-err-tab.pl: Update comment on interfaces without
15814 ulps tabulated.
15815 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
15816 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
15817 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
15818 * sysdeps/nacl/libm.abilist: Update.
15819 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15820 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15821 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15822 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15823 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15824 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15825 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15826 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15827 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15828 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15829 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15830 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15832 Likewise.
15833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15834 Likewise.
15835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15836 Likewise.
15837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15838 Likewise.
15839 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15840 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15841 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15842 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15843 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15845 Likewise.
15846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15847 Likewise.
15848 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15849 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15850 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15851
15852 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
15853
15854 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
15855 do_sincos_2, sloww, sloww1): Update comments.
15856
15857 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
15858 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
15859
15860 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
15861 K boolean and rename it.
15862 (__sin): Adjust.
15863 (__cos): Adjust.
15864
15865 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
15866 Siddhesh Poyarekar <siddhesh@sourceware.org>
15867
15868 * manual/nss.texi: Fix typos in the manual.
15869
15870 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
15871
15872 * manual/contrib.texi: Fix typos in the manual.
15873
15874 * manual/maint.texi: Fix typos in the manual.
15875
15876 * manual/install.texi: Fix typos in the manual.
15877 * INSTALL: Regenerated.
15878
15879 * manual/lang.texi: Fix typos in the manual.
15880
15881 * manual/probes.texi: Fix typos in the manual.
15882
15883 * manual/threads.texi: Fix typos in the manual.
15884
15885 * manual/debug.texi: Fix typos in the manual.
15886
15887 * manual/crypt.texi: Fix typos in the manual.
15888
15889 * manual/conf.texi: Fix typos in the manual.
15890
15891 * manual/sysinfo.texi: Fix typos in the manual.
15892
15893 * manual/users.texi: Fix typos in the manual.
15894
15895 * manual/job.texi: Fix typos in the manual.
15896
15897 * manual/process.texi: Fix typos in the manual.
15898
15899 * manual/argp.texi: Fix typos in the manual.
15900 * manual/getopt.texi: Likewise.
15901 * manual/startup.texi: Likewise.
15902
15903 * manual/signal.texi: Fix typos in the manual.
15904
15905 * manual/setjmp.texi: Fix typos in the manual.
15906
15907 * manual/resource.texi: Fix typos in the manual.
15908
15909 * manual/time.texi: Fix typos in the manual.
15910
15911 * manual/arith.texi: Fix typos in the manual.
15912
15913 * manual/math.texi: Fix typos in the manual.
15914
15915 * manual/syslog.texi: Fix typos in the manual.
15916
15917 * manual/terminal.texi: Fix typos in the manual.
15918
15919 * manual/socket.texi: Fix typos in the manual.
15920
15921 * manual/filesys.texi: Fix typos in the manual.
15922
15923 * manual/llio.texi: Fix typos in the manual.
15924
15925 * manual/stdio.text: Fix typos in the manual.
15926
15927 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
15928
15929 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
15930 instead of K1.
15931
15932 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
15933 SHIFT_QUADRANT and make it bool.
15934 (do_sincos_2): Likewise.
15935 (sloww): Likewise.
15936 (sloww1): Likewise.
15937 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
15938 (__cos): Likewise.
15939
15940 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15941
15942 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
15943
15944 2016-10-04 Joseph Myers <joseph@codesourcery.com>
15945
15946 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
15947 Define to __WORDSIZE, not conditional on [LONG_MAX ==
15948 0x7fffffffL].
15949 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
15950
15951 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15952
15953 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
15954 inline by __inline__.
15955 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
15956 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
15957 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
15958 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
15959 sigset_t from signal.h.
15960 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
15961 which is already required.
15962
15963 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
15964
15965 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15966
15967 2016-10-03 Joseph Myers <joseph@codesourcery.com>
15968
15969 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
15970 (struct tcp_repair_window): New type.
15971
15972 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15973
15974 * libio/tst-memstream3.c: Include string.h.
15975
15976 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15977
15978 [BZ #18241]
15979 [BZ #20181]
15980 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
15981 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
15982 write position is at the end the buffer.
15983 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
15984 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
15985 (_IO_str_seekoff): Set correct offset from negative displacement and
15986 set EINVAL for invalid ones.
15987 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
15988 buffer length.
15989 (_IO_wstr_switch_to_get_mode): New function.
15990 (_IO_wstr_seekoff): Set correct offset from negative displacement and
15991 set EINVAL for invalid ones.
15992 * libio/tst-memstream3.c: New file.
15993 * libio/tst-wmemstream3.c: Likewise.
15994 * manual/examples/memstrm.c: Remove warning when priting size_t.
15995
15996 2016-09-30 Joseph Myers <joseph@codesourcery.com>
15997
15998 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
15999 macro to use __builtin_fma.
16000 * sysdeps/x86_64/fpu/dla.h: Remove file.
16001
16002 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
16003 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
16004 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
16005
16006 2016-09-30 Carlos O'Donell <carlos@redhat.com>
16007
16008 [BZ #20292]
16009 * elf/Makefile (routines): Add dl-addr-obj.
16010 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
16011 tst-_dl_addr_inside_object.
16012 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
16013 [ifeq (yesyes,$(have-fpie)$(build-shared))]
16014 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
16015 [ifeq (yesyes,$(have-fpie)$(build-shared))]
16016 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
16017 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
16018 * elf/dl-open.c: Likewise.
16019 * elf/dl-addr-obj.c: New file.
16020 * elf/tst-_dl_addr_inside_object.c: New file.
16021
16022 2016-09-30 Joseph Myers <joseph@codesourcery.com>
16023
16024 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
16025 <bits/iscanonical.h>.
16026 * bits/iscanonical.h: New file.
16027 * math/s_iscanonicall.c: Likewise.
16028 * math/Versions (__iscanonicall): New libm symbol at version
16029 GLIBC_2.25.
16030 * math/libm-test.inc (iscanonical_test_data): New array.
16031 (iscanonical_test): New function.
16032 (main): Call iscanonical_test.
16033 * math/Makefile (headers): Add bits/iscanonical.h.
16034 (type-ldouble-routines): Add s_iscanonicall.
16035 * manual/arith.texi (Floating Point Classes): Document
16036 iscanonical.
16037 * manual/libm-err-tab.pl: Update comment on interfaces without
16038 ulps tabulated.
16039 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
16040 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
16041 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
16042 Likewise.
16043 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
16044 test-iscanonical-ldbl-128ibm.
16045 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
16046 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
16047 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
16048 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
16049 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
16050 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16051 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16053 Likewise.
16054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16055 Likewise.
16056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16057 Likewise.
16058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16059 Likewise.
16060 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16061 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16062
16063 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16064
16065 * string/bits/string3.h: Remove C++ style comments.
16066
16067 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
16068
16069 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
16070 instead of ternary condition.
16071 (do_sincos_2): Likewise.
16072 (__sin): Likewise.
16073 (__cos): Likewise.
16074 (slow): Likewise.
16075 (sloww): Likewise.
16076 (sloww1): Likewise.
16077 (bsloww): Likewise.
16078 (bsloww1): Likewise.
16079
16080 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
16081 instead of ternary condition.
16082 (do_sin_slow): Likewise.
16083 (do_sincos_1): Likewise.
16084 (do_sincos_2): Likewise.
16085 (__cos): Likewise.
16086 (sloww): Likewise.
16087 (sloww1): Likewise.
16088 (sloww2): Likewise.
16089 (bsloww): Likewise.
16090 (bsloww1): Likewise.
16091 (bsloww2): Likewise.
16092
16093 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
16094 check from here...
16095 (slow2): ... and here...
16096 (__sin): ... to here.
16097
16098 2016-09-28 Joseph Myers <joseph@codesourcery.com>
16099
16100 * math/math.h
16101 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
16102 Cast argument to its own type.
16103 * math/test-iszero-excess-precision.c: New file.
16104 * math/Makefile (tests): Add test-iszero-excess-precision.
16105 (CFLAGS-test-iszero-excess-precision.c): New variable.
16106
16107 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
16108
16109 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
16110 field, add err field.
16111 (__spawni_child): Report error through err member instead of pipe.
16112 (__spawnix): Likewise.
16113
16114 2016-09-28 Zack Weinberg <zackw@panix.com>
16115
16116 * scripts/check-installed-headers.sh: Generalize treatment of
16117 sys/elf.h to all target architectures.
16118
16119 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
16120 deleted typedef ucontext_t.
16121
16122 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16123
16124 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
16125 (__INTERNAL_SYSCALL1): Likewise.
16126 (__INTERNAL_SYSCALL2): Likewise.
16127 (__INTERNAL_SYSCALL3): Likewise.
16128 (__INTERNAL_SYSCALL4): Likewise.
16129 (__INTERNAL_SYSCALL5): Likewise.
16130 (__INTERNAL_SYSCALL6): Likewise.
16131 (__INTERNAL_SYSCALL7): Likewise.
16132 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
16133 (__INTERNAL_SYSCALL_NARGS): Likewise.
16134 (__INTERNAL_SYSCALL_DISP): Likewise.
16135 (INTERNAL_SYSCALL_CALL): Likewise.
16136 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
16137 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
16138 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
16139 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
16140 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
16141 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
16142 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
16143 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
16144 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
16145 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
16146 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
16147 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
16148 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
16149
16150 2016-09-23 Joseph Myers <joseph@codesourcery.com>
16151
16152 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
16153 macro.
16154 * math/libm-test.inc (iszero_test_data): New array.
16155 (iszero_test): New function.
16156 (main): Call iszero_test.
16157 * manual/arith.texi (Floating Point Classes): Document iszero.
16158 * manual/libm-err-tab.pl: Update comment on interfaces without
16159 ulps tabulated.
16160
16161 2016-09-23 Zack Weinberg <zackw@panix.com>
16162
16163 * scripts/check-installed-headers.sh: New script.
16164 * Rules: In each directory that defines header files to be installed,
16165 run check-installed-headers.sh on them as a special test.
16166 * Makefile: Likewise for the headers installed at top level.
16167
16168 * include/aliases.h, include/alloca.h, include/argz.h
16169 * include/arpa/nameser.h, include/arpa/nameser_compat.h
16170 * include/elf.h, include/envz.h, include/err.h
16171 * include/execinfo.h, include/fpu_control.h, include/getopt.h
16172 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
16173 * include/link.h, include/malloc.h, include/mcheck.h
16174 * include/mntent.h, include/netinet/ether.h
16175 * include/nss.h, include/obstack.h, include/printf.h
16176 * include/pty.h, include/resolv.h, include/rpc/auth.h
16177 * include/rpc/auth_des.h, include/rpc/auth_unix.h
16178 * include/rpc/clnt.h, include/rpc/des_crypt.h
16179 * include/rpc/key_prot.h, include/rpc/netdb.h
16180 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
16181 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
16182 * include/rpc/rpc_msg.h, include/rpc/svc.h
16183 * include/rpc/svc_auth.h, include/rpc/xdr.h
16184 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
16185 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
16186 * include/rpcsvc/ypupd.h, include/shadow.h
16187 * include/stdio_ext.h, include/sys/epoll.h
16188 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
16189 * include/sys/prctl.h, include/sys/profil.h
16190 * include/sys/statfs.h, include/sys/sysctl.h
16191 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
16192 * sysdeps/arm/nacl/include/bits/setjmp.h
16193 * sysdeps/mips/include/sys/asm.h
16194 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
16195 * sysdeps/unix/sysv/linux/include/sys/timex.h
16196 * sysdeps/x86/fpu/include/bits/fenv.h:
16197 Add #ifndef _ISOMAC guard around internal declarations.
16198 Add multiple-inclusion guard if not already present.
16199
16200 2016-09-23 Zack Weinberg <zackw@panix.com>
16201
16202 * sysdeps/generic/sys/ucontext.h
16203 * sysdeps/arm/sys/ucontext.h
16204 * sysdeps/i386/sys/ucontext.h
16205 * sysdeps/m68k/sys/ucontext.h
16206 * sysdeps/mips/sys/ucontext.h
16207 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
16208 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
16209 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
16210 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
16211 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
16212 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
16213 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
16214 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
16215 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
16216 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
16217 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
16218 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
16219 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
16220 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
16221 Include both bits/sigcontext.h and bits/sigstack.h.
16222 Fix grammar error in comment, if present.
16223
16224 * bits/sigstack.h
16225 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
16226 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
16227 * sysdeps/unix/sysv/linux/bits/sigstack.h
16228 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
16229 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
16230 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
16231 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
16232 * bits/sigcontext.h
16233 * sysdeps/mach/hurd/i386/bits/sigcontext.h
16234 * sysdeps/unix/sysv/linux/bits/sigcontext.h
16235 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
16236 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
16237 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
16238 as well as signal.h, if this was not already allowed. Request
16239 definition of size_t if necessary. Minimize semantically-null
16240 differences across files.
16241
16242 2016-09-23 Zack Weinberg <zackw@panix.com>
16243
16244 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
16245 Remove all logic conditional on __need macros. Move all the
16246 conditionally defined types to their own headers...
16247 * time/bits/types/clock_t.h: Define clock_t here.
16248 * time/bits/types/clockid_t.h: Define clockid_t here.
16249 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
16250 * time/bits/types/struct_timespec.h: Define struct timespec here.
16251 * time/bits/types/struct_timeval.h: Define struct timeval here.
16252 * time/bits/types/struct_tm.h: Define struct tm here.
16253 * time/bits/types/time_t.h: Define time_t here.
16254 * time/bits/types/timer_t.h: Define timer_t here.
16255 * time/Makefile: Install the new headers.
16256
16257 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
16258 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
16259 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
16260 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
16261 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
16262 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
16263 * sysdeps/unix/sysv/linux/bits/resource.h
16264 * sysdeps/unix/sysv/linux/bits/timex.h
16265 * sysdeps/unix/sysv/linux/mips/bits/resource.h
16266 * sysdeps/unix/sysv/linux/net/ppp_defs.h
16267 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
16268 * sysdeps/unix/sysv/linux/sys/acct.h
16269 * sysdeps/unix/sysv/linux/sys/timerfd.h
16270 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
16271 * time/sys/time.h, time/sys/timeb.h
16272 Use the new bits/types headers.
16273
16274 * include/time.h: Remove __need logic.
16275 * include/bits/time.h
16276 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
16277 * include/bits/types/time_t.h, include/bits/types/timer_t.h
16278 * include/bits/types/struct_itimerspec.h
16279 * include/bits/types/struct_timespec.h
16280 * include/bits/types/struct_timeval.h
16281 * include/bits/types/struct_tm.h:
16282 New wrapper headers.
16283
16284 2016-09-23 Zack Weinberg <zackw@panix.com>
16285
16286 * sysdeps/mach/hurd/net/if_ppp.h
16287 * sysdeps/unix/sysv/linux/net/if_ppp.h:
16288 Only define struct ifpppstatsreq and struct ifpppcstatsreq
16289 if __USE_MISC is defined, to ensure struct ifreq is declared.
16290
16291 * inet/netinet/ether.h: Condition all function prototypes
16292 on __USE_MISC, to ensure struct ether_addr is declared.
16293
16294 * socket/bits/types/struct_osockaddr.h: New header.
16295 * include/bits/types/struct_osockaddr.h: New wrapper.
16296 * socket/Makefile: Install the new header.
16297 * socket/sys/socket.h, inet/protocols/talkd.h:
16298 Refer to bits/types/struct_osockaddr.h for the definition of
16299 struct osockaddr.
16300
16301 2016-09-23 Zack Weinberg <zackw@panix.com>
16302
16303 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
16304 * inet/protocols/routed.h, inet/protocols/talkd.h
16305 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
16306 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
16307 * sysdeps/generic/netinet/if_ether.h
16308 * sysdeps/generic/netinet/in_systm.h
16309 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
16310 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16311 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
16312 * sysdeps/mach/hurd/net/if_arp.h
16313 * sysdeps/mach/hurd/net/if_ppp.h
16314 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
16315 * sysdeps/unix/sysv/linux/bits/in.h
16316 * sysdeps/unix/sysv/linux/net/ethernet.h
16317 * sysdeps/unix/sysv/linux/net/if_arp.h
16318 * sysdeps/unix/sysv/linux/net/if_ppp.h
16319 * sysdeps/unix/sysv/linux/net/if_shaper.h
16320 * sysdeps/unix/sysv/linux/net/route.h
16321 * sysdeps/unix/sysv/linux/netinet/if_ether.h
16322 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16323 * sysdeps/unix/sysv/linux/netinet/if_tr.h
16324 * sysdeps/unix/sysv/linux/netipx/ipx.h
16325 * sysdeps/unix/sysv/linux/sys/acct.h
16326 * include/arpa/nameser.h, include/resolv.h:
16327 Change all uses of u_char to unsigned char,
16328 u_short and ushort to unsigned short, u_int and uint to unsigned int,
16329 u_long and ulong to unsigned long, u_int8_t to uint8_t,
16330 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
16331 and u_int64_t and u_quad_t to uint64_t.
16332
16333 * mach/sys/reboot.h: Remove two casts of integer literals
16334 to the types they already have.
16335
16336 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
16337 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
16338 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
16339 from referring to 'unsigned char' to 'uint8_t' for consistency with
16340 the macro definition below.
16341
16342 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
16343 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
16344 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
16345 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
16346 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
16347 * sysdeps/unix/sysv/linux/sys/acct.h
16348 * include/arpa/nameser.h, include/resolv.h:
16349 Fix indentation disrupted by mechanical edits.
16350
16351 * inet/protocols/talkd.h, resolv/arpa/nameser.h
16352 * sysdeps/generic/netinet/in_systm.h
16353 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16354 * sysdeps/gnu/netinet/udp.h
16355 * sysdeps/unix/sysv/linux/net/ethernet.h
16356 * sysdeps/unix/sysv/linux/net/if_arp.h
16357 * sysdeps/unix/sysv/linux/net/if_ppp.h
16358 * sysdeps/unix/sysv/linux/net/if_shaper.h
16359 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16360 * sysdeps/unix/sysv/linux/netinet/if_tr.h
16361 * sysdeps/unix/sysv/linux/netipx/ipx.h
16362 * sysdeps/unix/sysv/linux/sys/acct.h
16363 Include stdint.h for uintNN_t definitions.
16364 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
16365
16366 2016-09-23 Zack Weinberg <zackw@panix.com>
16367
16368 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
16369 * sysdeps/unix/sysv/linux/netrose/rose.h:
16370 Include sys/socket.h and netax25/ax25.h.
16371
16372 * inet/netinet/icmp6.h, inet/netinet/ip6.h
16373 * resolv/arpa/nameser_compat.h:
16374 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
16375
16376 * sysdeps/unix/sysv/linux/sys/quota.h:
16377 Use __caddr_t instead of caddr_t.
16378 * sysdeps/unix/sysv/linux/sys/timerfd.h:
16379 Use __clockid_t instead of clockid_t.
16380
16381 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
16382
16383 * argp/argp.h: Check whether _LIBC is defined before expanding it.
16384 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
16385 expanding it.
16386
16387 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
16388 Define __glibc_c99_flexarr_available to 1 when the compiler
16389 supports C99-compatible flexible array members, 0 otherwise.
16390 * sysdeps/unix/sysv/linux/bits/socket.h
16391 * sysdeps/mach/hurd/bits/socket.h
16392 * bits/socket.h: Use __glibc_c99_flexarr_available in
16393 definitions of struct cmsghdr and CMSG_DATA.
16394
16395 2016-09-23 Florian Weimer <fweimer@redhat.com>
16396
16397 * manual/nss.texi (NSS Modules Interface): Adjust function return
16398 type to enum nss_status. Document errnop argument. Clarify
16399 h_errnop semantics. Fix cross-reference formatting.
16400 (NSS Module Function Internals): Mention that *errnop needs to be
16401 set on failure, but not to zero.
16402
16403 2016-09-23 Florian Weimer <fweimer@redhat.com>
16404
16405 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
16406 (get_random_name): New functions.
16407 (check_wrapper_flags_mode): Use linkat to give the new file a name
16408 determined by get_random_name.
16409 (do_test): Add calls to test open64 and openat64.
16410
16411 2016-09-23 Florian Weimer <fweimer@redhat.com>
16412
16413 * test-skeleton.c: Remove #include <stdarg.h>.
16414
16415 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
16416
16417 [BZ #19826]
16418 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
16419 initialization of static TLS entries.
16420 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
16421 * nptl/allocatestack.c (init_one_static_tls): Likewise.
16422
16423 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16424
16425 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
16426 _hurd_malloc_fork_prepare.
16427 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
16428 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
16429 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
16430 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
16431 (_hurd_fork_child_hook): Drop malloc_fork_child.
16432 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
16433 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
16434 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
16435 after locking locks (notably hurd_dtable_lock). Call
16436 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
16437 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
16438 __malloc_fork_unlock_child.
16439 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
16440
16441 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
16442
16443 * soft-fp/extendhftf2.c: New.
16444 * soft-fp/fixhfti.c: Likewise.
16445 * soft-fp/fixunshfti.c: Likewise.
16446 * soft-fp/floattihf.c: Likewise.
16447 * soft-fp/floatuntihf.c: Likewise.
16448 * soft-fp/half.h: Likewise.
16449 * soft-fp/trunctfhf2.c: Likewise.
16450
16451 2016-09-21 Joseph Myers <joseph@codesourcery.com>
16452
16453 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
16454 macro.
16455 * math/libm-test.inc (issubnormal_test_data): New array.
16456 (issubnormal_test): New function.
16457 * manual/arith.texi (Floating Point Classes): Document
16458 issubnormal.
16459 * manual/libm-err-tab.pl: Update comment on interfaces without
16460 ulps tabulated.
16461
16462 * sysdeps/generic/stdint.h: Define
16463 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16464 <bits/libc-header-start.h> instead of including <features.h>.
16465 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
16466 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
16467 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
16468 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
16469 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
16470 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
16471 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
16472 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
16473 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
16474 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
16475 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
16476 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
16477 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
16478 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
16479 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
16480 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
16481 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
16482 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
16483 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
16484 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
16485 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
16486 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
16487 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
16488 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
16489 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
16490 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
16491 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
16492 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
16493 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
16494 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
16495 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
16496 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
16497 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
16498 * manual/arith.texi (Integers): Document these macros for types
16499 specified by width properties.
16500 * manual/lang.texi (Width of Type): Document these macros for
16501 other standard typedefs.
16502 * stdlib/tst-width-stdint.c: New file.
16503 * stdlib/Makefile (tests): Add tst-width-stdint.
16504
16505 2016-09-21 Florian Weimer <fweimer@redhat.com>
16506
16507 [BZ #20016]
16508 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
16509 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
16510 Move ...
16511 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
16512 ... here, as compatibility symbols in a new file.
16513 * resolv/Makefile (libresolv-routines): Add compat-hooks.
16514 * resolv/res_init.c (__res_vinit): Adjust member names.
16515 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
16516 * resolv/resolv.h (res_sendhookact, res_send_qhook)
16517 (res_send_rhook): Remove.
16518 (struct __res_state): Rename qhook, rhook members.
16519
16520 2016-09-21 Florian Weimer <fweimer@redhat.com>
16521
16522 malloc: Use __libc_lock wrappers.
16523 * malloc/arena.c (list_lock, free_list_lock): Define using
16524 __libc_lock_define_initialized.
16525 (arena_lock): Adjust formatting.
16526 * malloc/malloc.c (struct malloc_state): Define mutex using
16527 __libc_lock_define.
16528 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
16529 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
16530 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
16531 (mutex_unlock, mutex_trylock): Remove.
16532 (__pthread_initialize): Remove unused macro.
16533 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
16534 (mutex_unlock, mutex_trylock): Remove.
16535
16536 2016-09-21 Florian Weimer <fweimer@redhat.com>
16537
16538 [BZ #20592]
16539 Remove RR type classification macros.
16540 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
16541 (ns_t_udp_p, ns_t_xfr_p): Remove.
16542
16543 2016-09-21 Florian Weimer <fweimer@redhat.com>
16544
16545 Remove misleading version information.
16546 * resolv/arpa/nameser.h (__NAMESER): Remove.
16547 * resolv/arpa/nameser_compat.h (__BIND): Remove.
16548
16549 2016-09-21 Florian Weimer <fweimer@redhat.com>
16550
16551 Remove the always-defined BIND_4_COMPAT macro.
16552 * resolv/arpa/nameser.h: Unconditionally include
16553 <arpa/nameser_compat.h>.
16554 (BIND_4_COMPAT): Remove.
16555 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
16556
16557 2016-09-21 Florian Weimer <fweimer@redhat.com>
16558
16559 [BZ #20591]
16560 Remove obsolete DNSSEC support.
16561 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
16562 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
16563 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
16564 (ns_verify_tcp, ns_verify_tcp_init): Remove.
16565 (ns_cert_types): Add comment.
16566 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
16567 separately.
16568 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
16569 (dst_s_dns_key_id): Remove.
16570 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
16571 variables.
16572
16573 2016-09-21 Florian Weimer <fweimer@redhat.com>
16574
16575 [BZ #20524]
16576 * manual/string.texi (String/Array Comparison): Clarify the
16577 strverscmp behavior.
16578
16579 2016-09-21 Florian Weimer <fweimer@redhat.com>
16580
16581 * test-skeleton.c (xasprintf): Add function.
16582 * io/tst-open-tmpfile.c: New test.
16583 * io/Makefile (tests): Add it.
16584
16585 2016-09-21 Florian Weimer <fweimer@redhat.com>
16586
16587 Avoid running $(CXX) during build to obtain header file paths.
16588 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
16589 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
16590 * Makerules (cstdlib, cmath): Remove variables. Use
16591 $(c++-cstdlib-header), $(c++-cmath-header) instead.
16592 * configure: Regenerate.
16593
16594 2016-09-21 Florian Weimer <fweimer@redhat.com>
16595
16596 * Makeconfig (all-object-suffixes): Include .op only if
16597 $(build-profile).
16598
16599 2016-09-21 Florian Weimer <fweimer@redhat.com>
16600
16601 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
16602 conditionals. Do not define PATH_MAX.
16603
16604 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16605
16606 * posix/Makefile (tests): Add tst-spawn3.
16607 * posix/tst-spawn3.c: New file.
16608 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
16609 if it is already opened for open action.
16610
16611 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
16612 all signals when executing the clone vfork child.
16613 (SIGALL_SET): Remove macro.
16614
16615 * nptl/Makefile (tests): Add tst-exec5.
16616 * nptl/tst-exec5.c: New file.
16617 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
16618 asynchronous cancellation.
16619
16620 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16621
16622 * hurd/exc2signal.c: #include <hurd/signal.h>
16623 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
16624 'sigcode', 'error' parameters with 'detail' parameter. Fix code
16625 accordingly.
16626 * mach/mach_error.c (mach_error): Fix old-style function definition.
16627 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
16628
16629 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16630
16631 * math/Makefile (libm-calls): Remove s_nanF.
16632 (gen-libm-calls): Add s_nanF.
16633
16634 * math/s_nan.c: Refactor into ...
16635 * math/s_nan_template.c: New file.
16636
16637 * math/s_nanf.c: Removed.
16638 * math/s_nanl.c: Removed.
16639 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
16640 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
16641
16642 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16643 (LDOUBLE_nanl_libm_version): New macro.
16644
16645 * sysdeps/generic/math-type-macros-double.h:
16646 (M_STRTO_NAN): New macro.
16647 * sysdeps/generic/math-type-macros-float.h: Likewise.
16648 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
16649
16650 * sysdeps/generic/math-type-macros.h: Document
16651 M_STRTO_NAN.
16652
16653 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16654
16655 * math/s_nanf.c: Remove __nanf undef.
16656 * math/s_nan.c: Remove __nan undef.
16657 * math/s_nanl.c: Remove __nanl undef.
16658
16659 * sysdeps/generic/math_private.h (__nan): Remove macro
16660 override.
16661 (__nanf): Likewise.
16662 (__nanl): Likewise.
16663
16664 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16665
16666 * math/Makefile (gen-all-calls): New variable.
16667 (generated): Replace gen-libm-calls with gen-all-calls.
16668 (gen-libm-templates.stmp): Likewise. Also, ensure
16669 the output directory exists or is created and add
16670 dependency on the Makefile.
16671 (calls): Move s_ldexpF into gen-calls.
16672 (gen-calls): New variable.
16673
16674 * math/s_ldexpf.c: Removed.
16675 * math/s_ldexpl.c: Removed.
16676 * math/s_ldexp.c: Refactored into ...
16677 * math/s_ldexp_template.c: New file.
16678
16679 * sysdeps/generic/math-type-macros-double.h: Remove
16680 redundant fall-through definition of declare_mgen_alias.
16681 (declare_mgen_alias_2): New macro.
16682
16683 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
16684 New macro for function aliased to two exported symbols.
16685
16686 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
16687 new template file.
16688 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
16689
16690 2016-09-20 Florian Weimer <fweimer@redhat.com>
16691
16692 * Makeconfig (all-object-suffixes): Remove .og.
16693 * Makerules (elide-routines.og): Remove.
16694 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
16695 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
16696 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
16697
16698 2016-09-20 Florian Weimer <fweimer@redhat.com>
16699
16700 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
16701 .os objects.
16702
16703 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16704
16705 [BZ #20615]
16706 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
16707 fpu directory by non-fpu.
16708 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
16709 on non-fpu directory from a fpu directory.
16710
16711 2016-09-19 Joseph Myers <joseph@codesourcery.com>
16712
16713 * include/limits.h: Define
16714 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16715 <bits/libc-header-start.h> instead of including <features.h>.
16716 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
16717 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
16718 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
16719 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
16720 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
16721 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
16722 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
16723 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
16724 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
16725 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
16726 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
16727 * manual/lang.texi (Width of Type): Document these macros.
16728 * stdlib/tst-width.c: New file.
16729 * stdlib/Makefile (tests): Add tst-width.
16730
16731 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16732
16733 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
16734 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
16735
16736 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16737
16738 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
16739 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
16740 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
16741
16742 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16743
16744 [BZ #18243]
16745 * rt/Makefile (test): Add tst-shm-cancel.
16746 * rt/tst-shm-cancel.c: New file.
16747 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
16748
16749 [BZ #18243]
16750 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
16751 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
16752 definition.
16753 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
16754 uncontended case.
16755 * nptl/sem_wait.c (__new_sem_wait): Likewise.
16756 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
16757 (tf): Fix check for uncontended case.
16758 (do_test): Likewise.
16759 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
16760 (tf): Fix check for uncontended case.
16761 (do_test): Likewise.
16762 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
16763 (tf): Fix check for uncontended case.
16764 (do_test): Likewise.
16765 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
16766 (tf): Fix check for uncontended case.
16767 (do_test): Likewise.
16768
16769 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
16770 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
16771
16772 [BZ #15765]
16773 * nptl/Makefile (tests): Add tst-sem16.
16774 * nptl/tst-sem16.c: New file.
16775 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
16776
16777 * nptl/sem_open.c (sem_open): Init pad value to 0.
16778 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
16779 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
16780
16781 2016-09-15 Florian Weimer <fweimer@redhat.com>
16782
16783 [BZ #20611]
16784 * inet/Makefile (routines): Add inet6_scopeid_pton.
16785 (tests): Add tst-inet6_scopeid_pton.
16786 * inet/inet6_scopeid_pton.c: New file.
16787 * inet/net-internal.h: Likewise.
16788 * inet/tst-inet6_scopeid_pton.c: New test.
16789 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
16790 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
16791 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16792
16793 2016-09-14 Florian Weimer <fweimer@redhat.com>
16794
16795 Remove support for compiling wrappers with PTW.
16796 * sysdeps/nptl/Makeconfig: Drop ptw- support.
16797 * nptl/Makefile (pthread-compat-wrappers): Define.
16798 (libpthread-routines): Use pthread-compat-wrappers.
16799 * sysdeps/unix/sysv/linux/alpha/Makefile
16800 (libpthread-routines, libpthread-shared-only-routines): Remove
16801 ptw- prefix.
16802 * sysdeps/s390/nptl/Makefile
16803 (libpthread-routines, libpthread-shared-only-routines): Likewise.
16804 * sysdeps/ia64/nptl/Makefile
16805 (libpthread-routines, libpthread-shared-only-routines): Likewise.
16806 * sysdeps/nacl/Makefile (libpthread-routines): Use
16807 pthread-compat-wrappers to filter the routines list instead of the
16808 ptw- prefix.
16809
16810 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16811
16812 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
16813 with L() and remove explicit suffix, convert real literals
16814 which can be equivalentally substituted with integers, and
16815 transform -L(x) to L(-x).
16816
16817 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16818 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16819 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16820 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16821 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16822 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16823 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16824 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16825 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16826 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16827 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16828 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16829 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16830 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16831 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16832 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16833 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16834 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16835 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16836 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16837 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16838 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16839 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16840 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16841 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16842 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16843 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16844 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16845 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16846 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16847 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16848 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
16849 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16850 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16851 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16852 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16853 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16854 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16855 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16856 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16857 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16858 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16859 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16860 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16861 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16862 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16863 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16864 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
16865 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16866 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16867
16868 2016-09-13 Florian Weimer <fweimer@redhat.com>
16869
16870 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
16871
16872 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
16873
16874 * malloc/Makefile (tests): Remove individual static test names
16875 and just add all of tests-static.
16876
16877 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
16878
16879 2016-09-07 Joseph Myers <joseph@codesourcery.com>
16880
16881 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
16882 file.
16883
16884 * sysdeps/sparc/fpu/fegetmode.c: New file.
16885 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
16886
16887 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
16888 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
16889
16890 * sysdeps/s390/fpu/fegetmode.c: New file.
16891 * sysdeps/s390/fpu/fesetmode.c: Likewise.
16892
16893 * sysdeps/powerpc/fpu/fegetmode.c: New file.
16894 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
16895 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
16896 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
16897 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
16898 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
16899
16900 * sysdeps/mips/fpu/fegetmode.c: New file.
16901 * sysdeps/mips/fpu/fesetmode.c: Likewise.
16902
16903 * sysdeps/m68k/fpu/fegetmode.c: New file.
16904 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
16905
16906 * sysdeps/ia64/fpu/fegetmode.c: New file.
16907 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
16908
16909 * sysdeps/hppa/fpu/fegetmode.c: New file.
16910 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
16911
16912 * sysdeps/arm/fegetmode.c: New file.
16913 * sysdeps/arm/fesetmode.c: Likewise.
16914
16915 * sysdeps/alpha/fpu/fegetmode.c: New file.
16916 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
16917
16918 * sysdeps/aarch64/fpu/fegetmode.c: New file.
16919 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
16920
16921 * math/fegetmode.c: New file.
16922 * math/fesetmode.c: Likewise.
16923 * sysdeps/i386/fpu/fegetmode.c: Likewise.
16924 * sysdeps/i386/fpu/fesetmode.c: Likewise.
16925 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
16926 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
16927 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
16928 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
16929 declaration.
16930 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
16931 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
16932 typedef.
16933 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16934 * sysdeps/aarch64/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/alpha/fpu/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 macro.
16940 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16941 (femode_t): New typedef.
16942 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16943 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16944 (femode_t): New typedef.
16945 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16946 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16947 (femode_t): New typedef.
16948 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16949 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16950 (femode_t): New typedef.
16951 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16952 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16953 (femode_t): New typedef.
16954 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16955 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16956 (femode_t): New typedef.
16957 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16958 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16959 (femode_t): New typedef.
16960 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16961 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16962 (femode_t): New typedef.
16963 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
16964 declaration.
16965 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16966 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16967 (femode_t): New typedef.
16968 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16969 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16970 (femode_t): New typedef.
16971 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16972 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16973 (femode_t): New typedef.
16974 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16975 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16976 (femode_t): New typedef.
16977 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16978 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16979 (femode_t): New typedef.
16980 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16981 * manual/arith.texi (FE_DFL_MODE): Document macro.
16982 (fegetmode): Document function.
16983 (fesetmode): Likewise.
16984 * math/Versions (fegetmode): New libm symbol at version
16985 GLIBC_2.25.
16986 (fesetmode): Likewise.
16987 * math/Makefile (libm-support): Add fegetmode and fesetmode.
16988 (tests): Add test-femode and test-femode-traps.
16989 * math/test-femode-traps.c: New file.
16990 * math/test-femode.c: Likewise.
16991 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
16992 alias for __fe_dfl_env.
16993 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
16994 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
16995 (__fe_dfl_mode): Likewise.
16996 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
16997 version GLIBC_2.25.
16998 * sysdeps/nacl/libm.abilist: Update.
16999 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17000 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17001 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17002 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17003 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17004 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17005 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17006 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17007 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17008 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17009 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17010 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17012 Likewise.
17013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17014 Likewise.
17015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17016 Likewise.
17017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17018 Likewise.
17019 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17020 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17021 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17022 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17023 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17025 Likewise.
17026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17027 Likewise.
17028 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17029 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17030 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17031
17032 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
17033
17034 [BZ #20495]
17035 [BZ #20508]
17036 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
17037 processors, set Use_dl_runtime_resolve_slow and set
17038 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
17039 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
17040 New.
17041 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
17042 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
17043 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
17044 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
17045 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
17046 if Use_dl_runtime_resolve_opt is set. Use
17047 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
17048 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
17049 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
17050 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
17051 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
17052 New.
17053 (_dl_runtime_resolve_opt): Likewise.
17054 (_dl_runtime_profile): Define only if _dl_runtime_profile is
17055 defined.
17056
17057 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
17058
17059 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
17060 __libc_memalign with "+ RELA R_390_GLOB_DAT".
17061
17062 2016-09-06 Florian Weimer <fweimer@redhat.com>
17063
17064 Convert malloc to __libc_lock. Automated part, using this Perl
17065 s/// command:
17066 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
17067 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
17068 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
17069 conversion.
17070
17071 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
17072
17073 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
17074 (linknamespace-symlists-tests): Likewise.
17075 (linknamespace-header-tests): Likewise.
17076
17077 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
17078
17079 [BZ #19810]
17080 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
17081 * elf/tst-noload.c: New test case.
17082 * elf/Makefile (tests): Add tst-noload.
17083
17084 2016-09-02 Roland McGrath <roland@hack.frob.com>
17085
17086 * sysdeps/nacl/dup.c: Add libc_hidden_def.
17087
17088 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
17089 not any more.
17090
17091 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
17092
17093 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
17094
17095 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
17096 (do_cos_slow): Likewise.
17097 (do_sin): Likewise.
17098 (do_sin_slow): Likewise.
17099 (slow): Likewise.
17100 (slow1): Likewise.
17101 (slow2): Likewise.
17102 (sloww): Likewise.
17103 (sloww1): Likewise.
17104 (sloww2): Likewise.
17105 (bsloww): Likewise.
17106 (bsloww1): Likewise.
17107 (bsloww2): Likewise.
17108 (cslow2): Likewise.
17109
17110 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
17111
17112 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
17113 arguments. Consolidate input partitioning from callers here.
17114 (do_cos_slow): Likewise.
17115 (do_sin): Likewise.
17116 (do_sin_slow): Likewise.
17117 (do_sincos_1): Remove the no longer necessary input partitioning.
17118 (do_sincos_2): Likewise.
17119 (__sin): Likewise.
17120 (__cos): Likewise.
17121 (slow1): Likewise.
17122 (slow2): Likewise.
17123 (sloww1): Likewise.
17124 (sloww2): Likewise.
17125 (bsloww1): Likewise.
17126 (bsloww2): Likewise.
17127 (cslow2): Likewise.
17128
17129 2016-09-02 Florian Weimer <fweimer@redhat.com>
17130
17131 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
17132 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
17133 outside of allocated array.
17134
17135 2016-09-02 Florian Weimer <fweimer@redhat.com>
17136
17137 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
17138 instead of MB_CUR_MAX to avoid variable-length array.
17139
17140 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17141
17142 * math/Makefile (libm-calls): Remove k_rem_pio2F.
17143 (type-double-routines): Add k_rem_pio2.
17144 (type-float-routines): Add k_rem_pio2f.
17145
17146 * sysdeps/generic/math_private.h:
17147 (__kernel_rem_pio2l): Removed.
17148
17149 * math/k_rem_pio2l.c: Removed.
17150 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
17151 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
17152 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
17153 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
17154
17155 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17156
17157 * math/Makefile (gen-libm-calls): Add s_fmin
17158 (libm-calls): Remove above.
17159
17160 * math/s_fmin.c: Refactor into ...
17161 * math/s_fmin_template.c: New file.
17162
17163 * math/s_fminf.c: Removed.
17164 * math/s_fminl.c: Removed.
17165 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17166 (LDOUBLE_fmin_libm_version): New macro.
17167
17168 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
17169 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
17170
17171 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17172
17173 * math/Makefile: (gen-libm-calls): Add s_fmax.
17174 (libm-calls): Remove above.
17175
17176 * math/s_fmax.c: Refactor into ...
17177 * math/s_fmax_template.c: New file.
17178 * math/s_fmaxf.c: Removed.
17179 * math/s_fmaxl.c: Removed.
17180
17181 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17182 (LDOUBLE_fmaxl_libm_version): New macro.
17183
17184 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
17185 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
17186
17187 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
17188 s_fmin.c to pick the aarch64 version of the file.
17189 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
17190 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
17191
17192 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17193
17194 * math/Makefile: (gen-libm-calls): Add s_nextdown.
17195 (libm-calls): Remove above.
17196
17197 * math/s_nextdown.c: Refactor into ...
17198 * math/s_nextdown_template.c: New file.
17199 * math/s_nextdownf.c: Removed.
17200 * math/s_nextdownl.c: Removed.
17201
17202 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
17203
17204 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17205
17206 * math/Makefile (gen-libm-calls): Add s_fdim.
17207 (libm-calls): Move to above.
17208
17209 * math/s_fdim.c: Renamed and refactored into to ...
17210 * math/s_fdim_template.c: New file.
17211 * math/s_fdiml.c: Removed.
17212 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
17213 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
17214
17215 * sysdeps/generic/math-type-macros-double.h:
17216 (declare_mgen_alias): Don't declare if already declared.
17217 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
17218 Likewise.
17219
17220 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17221 (declare_mgen_alias): Don't declare if already declared.
17222 (M_LIBM_NEED_COMPAT): Likewise.
17223 (declare_mgen_libm_compat): Likewise.
17224 (LDOUBLE_fdiml_libm_version): New macro.
17225
17226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17227 Include math/s_fdim.c now that ldbl-opt version is not needed.
17228 (declare_mgen_alias): New macro to disable aliasing.
17229
17230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
17231 (declare_mgen_alias): Likewise.
17232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
17233 (declare_mgen_alias): Likewise.
17234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
17235 (declare_mgen_alias): Likewise.
17236 (M_LIBM_NEED_COMPAT): Likewise.
17237
17238 2016-09-01 Florian Weimer <fweimer@redhat.com>
17239
17240 [BZ #20525]
17241 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
17242 Include <linux/quota.h>.
17243 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
17244 and btodb.
17245 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
17246 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
17247 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
17248 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
17249 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
17250 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
17251 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
17252 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
17253 types.
17254 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
17255 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
17256
17257 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17258
17259 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
17260 (gammal_positive): Fix spacing.
17261 (__ieee754_gammal_r): Likewise.
17262
17263 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17264
17265 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
17266 (_Float128): Define as long double, always.
17267 (L): Apply long double type suffix, always.
17268
17269 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
17270 _Float128, excepting comments.
17271
17272 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17273 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17274 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17275 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17276 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17277 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17278 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17279 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17280 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17281 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
17282 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17283 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17284 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17285 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17286 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17287 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17288 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17289 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17290 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17291 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17292 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17293 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17294 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17295 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17296 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17297 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17298 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17299 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17300 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17301 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17302 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17303 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17304 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17305 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17306 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17307 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17308 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17309 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17310 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17311 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17312 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17313 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17314 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17315 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17316 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17317 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17318 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17319 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17320 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17321 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17322 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17323 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17324 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17325 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17326 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17327 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17328 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17329 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17330 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17331 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17332 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17333 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17334 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17335 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17336 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17337 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17338 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17339 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17340
17341 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
17342 _Float128, and include math_private.h.
17343 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17344
17345 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
17346 long double semantics.
17347 (_Float128): Likewise.
17348 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
17349 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17350 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
17351 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
17352
17353 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
17354
17355 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
17356 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
17357 * sysdeps/s390/configure: Regenerated.
17358 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
17359 instruction for raising over-/underflow if z196 zarch is supported
17360 by default.
17361 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
17362
17363 2016-08-30 Svante Signell <svante.signell@gmail.com>
17364
17365 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
17366 it point to a dumb buffer for RPC to fill it.
17367
17368 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
17369
17370 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
17371 instead of if/else.
17372 (do_sin_slow): Likewise.
17373 (do_sincos_1): Use fabs instead of if/else.
17374 (do_sincos_2): Likewise.
17375 (__sin): Likewise.
17376 (__cos): Likewise.
17377 (slow2): Likewise.
17378 (sloww): Likewise.
17379 (sloww1): Likewise. Drop argument M.
17380 (sloww2): Use fabs instead of if/else.
17381 (bsloww): Likewise.
17382 (bsloww1): Likewise.
17383 (bsloww2): Likewise.
17384
17385 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
17386 fall through comment.
17387 (do_sincos_1): Likewise.
17388
17389 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
17390 Consolidate switch cases 0 and 2.
17391
17392 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17393
17394 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
17395 (libm-calls): Remove the above.
17396
17397 * math/s_cexp_template.c: Update using type-generic macros.
17398 * math/s_clog10_template.c: Likewise.
17399 * math/s_cpow_template.c: Likewise.
17400 * math/s_clog_template.c: Likewise.
17401 * math/s_cproj_template.c: Likewise.
17402 * math/s_csqrt_template.c: Likewise.
17403
17404 * math/s_cexp.c: Removed.
17405 * math/s_cexpf.c: Removed.
17406 * math/s_cexpl.c: Removed.
17407 * math/s_clog10.c: Removed.
17408 * math/s_clog10f.c: Removed.
17409 * math/s_clog10l.c: Removed.
17410 * math/s_cpow.c: Removed.
17411 * math/s_cpowf.c: Removed.
17412 * math/s_cpowl.c: Removed.
17413 * math/s_clog.c: Removed.
17414 * math/s_clogf.c: Removed.
17415 * math/s_clogl.c: Removed.
17416 * math/s_cproj.c: Removed.
17417 * math/s_cprojf.c: Removed.
17418 * math/s_cprojl.c: Removed.
17419 * math/s_csqrt.c: Removed.
17420 * math/s_csqrtf.c: Removed.
17421 * math/s_csqrtl.c: Removed.
17422
17423 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
17424 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
17425 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
17426 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
17427 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
17428 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
17429
17430 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
17431 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
17432 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
17433 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
17434 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
17435 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
17436 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
17437 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
17438 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
17439 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
17440 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
17441
17442 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
17443 version.
17444
17445 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
17446 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
17447 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
17448 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
17449
17450 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17451
17452 * s_cexp_template.c: Copy of s_cexp.c.
17453 * s_clog_template.c: Copy of s_clog.c.
17454 * s_clog10_template.c: Copy of s_clog10.c.
17455 * s_cpow_template.c: Copy of s_cpow.c.
17456 * s_cproj_template.c: Copy of s_cproj.c.
17457 * s_csqrt_template.c: Copy of s_csqrt.c.
17458
17459 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17460
17461 [BZ #20517]
17462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17463 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
17464 exported.
17465
17466 2016-08-29 Joseph Myers <joseph@codesourcery.com>
17467
17468 * math/fetestexceptflag.c: New file.
17469 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
17470 Stefan Liebler.
17471 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17472 (fetestexceptflag): New function declaration.
17473 * manual/arith.texi (fetestexceptflag): Document function.
17474 * math/Versions (fetestexceptflag): New libm symbol at version
17475 GLIBC_2.25.
17476 * math/Makefile (libm-support): Add fetestexceptflag.
17477 (tests): Add test-fetestexceptflag.
17478 * math/test-fetestexceptflag.c: New file.
17479 * sysdeps/nacl/libm.abilist: Update.
17480 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17481 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17482 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17483 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17484 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17485 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17486 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17487 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17488 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17489 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17490 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17491 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17493 Likewise.
17494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17495 Likewise.
17496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17497 Likewise.
17498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17499 Likewise.
17500 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17501 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17502 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17503 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17504 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17505 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17506 Likewise.
17507 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17508 Likewise.
17509 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17510 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17511 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17512
17513 2016-08-26 Florian Weimer <fweimer@redhat.com>
17514
17515 [BZ #20432]
17516 Avoid strong references to malloc-internal symbols when linking
17517 statically, to support statically interposed mallocs.
17518 * include/libc-symbols.h (call_function_static_weak): New macro.
17519 * malloc/Makefile (tests): Add tst-interpose-nothread,
17520 tst-interpose-thread, tst-interpose-static-nothread,
17521 tst-interpose-static-thread.
17522 (tests-static): Add tst-interpose-static-nothread,
17523 tst-interpose-static-thread.
17524 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
17525 tst-interpose-aux-thread.o.
17526 (test-extras): Add tst-interpose-aux-nothread,
17527 tst-interpose-aux-thread.
17528 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
17529 tst-interpose-aux-nothread.o.
17530 (tst-interpose-thread, tst-interpose-static-thread): Link with
17531 tst-interpose-aux-thread.o and libthread.
17532 * malloc/tst-interpose-aux-nothread.c: New file.
17533 * malloc/tst-interpose-aux-thread.c: Likewise.
17534 * malloc/tst-interpose-aux.c: Likewise.
17535 * malloc/tst-interpose-aux.h: Likewise.
17536 * malloc/tst-interpose-nothread.c: Likewise.
17537 * malloc/tst-interpose-skeleton.c: Likewise.
17538 * malloc/tst-interpose-static-nothread.c: Likewise.
17539 * malloc/tst-interpose-static-thread.c: Likewise.
17540 * malloc/tst-interpose-thread.c: Likewise.
17541 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
17542 * sysdeps/mach/hurd/fork.c (__fork): Only call
17543 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
17544 __malloc_fork_unlock_child if defined.
17545 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17546
17547 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17548
17549 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
17550 timespec C99 designated initialization.
17551
17552 2016-08-26 Florian Weimer <fweimer@redhat.com>
17553
17554 [BZ #19946]
17555 Avoid expected SIGALRM signals.
17556 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
17557 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
17558 (xpthread_create, xpthread_detach, xpthread_join)
17559 (delayed_exit_thread, delayed_exit): New functions.
17560 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
17561 (tf): Use xpthread_cond_wait.
17562 (do_test): Likewise. Replace alarm with delayed_exit.
17563 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17564 (do_test): Call delayed_exit. Report failure.
17565 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17566 (do_test): Call delayed_exit.
17567 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17568 (do_test): Call delayed_exit. Use xpthread_join. Report error.
17569 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17570 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
17571 error.
17572 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17573 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
17574 error.
17575 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
17576 (do_test): Call delayed_exit.
17577 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
17578 (do_test): Call delayed_exit.
17579 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
17580 (do_test): Call delayed_exit instead of alarm. Use
17581 xpthread_mutex_lock.
17582 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
17583 (do_test): Call delayed_exit instead of alarm. Use
17584 xpthread_mutex_lock.
17585 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
17586 (do_test): Call delayed_exit instead of alarm.
17587 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
17588 (do_test): Call delayed_exit instead of alarm. Use
17589 xpthread_spin_lock.
17590 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
17591 (do_test): Call delayed_exit instead of alarm. Use
17592 xpthread_join.
17593
17594 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
17595
17596 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
17597 adjust CFA when allocating register save area on re-aligned
17598 stack.
17599
17600 2016-08-26 Florian Weimer <fweimer@redhat.com>
17601
17602 * string/tst-cmp.c: New test.
17603 * string/Makefile (tests): Add it.
17604
17605 2016-08-25 Mark Wielaard <mark@klomp.org>
17606
17607 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
17608 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
17609 (check_tree_recurse): Use newly defined accessors.
17610 (check_tree): Likewise.
17611 (maybe_split_for_insert): Likewise.
17612 (__tfind): Likewise.
17613 (__tdelete): Likewise.
17614 (trecurse): Likewise.
17615 (tdestroy_recurse): Likewise.
17616 (__tsearch): Likewise. And add asserts for malloc alignment.
17617 (__twalk): Cast root to node in case CHECK_TREE is defined.
17618
17619 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17620
17621 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
17622
17623 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17624
17625 * math/Makefile (libm-gen-calls): Add
17626 catan, catanh, ctan, ctanh.
17627 (libm-calls): Remove the above.
17628
17629 * math/s_catan_template.c: Update using type-generic macros.
17630 * math/s_catanh_template.c: Likewise.
17631 * math/s_ctan_template.c: Likewise.
17632 * math/s_ctanh_template.c: Likewise.
17633
17634 * math/s_catanf.c: Removed.
17635 * math/s_catan.c: Removed.
17636 * math/s_catanl.c: Removed.
17637 * math/s_catanhf.c: Removed.
17638 * math/s_catanh.c: Removed.
17639 * math/s_catanhl.c: Removed.
17640 * math/s_ctanf.c: Removed.
17641 * math/s_ctan.c: Removed.
17642 * math/s_ctanl.c: Removed.
17643 * math/s_ctanhf.c: Removed.
17644 * math/s_ctanh.c: Removed.
17645 * math/s_ctanhl.c: Removed.
17646
17647 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
17648 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
17649 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
17650 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
17651 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
17652 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
17653
17654 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
17655 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
17656 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
17657 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
17658
17659 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17660
17661 * s_catan_template.c: Copy of s_catan.c.
17662 * s_catanh_template.c: Copy of s_catanh.c.
17663 * s_ctan_template.c: Copy of s_ctan.c.
17664 * s_ctanh_template.c: Copy of s_ctanh.c.
17665
17666 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17667
17668 * math/Makefile (gen-libm-calls): Move
17669 casin, casinh, csin, csinh here.
17670 (libm-calls): Remove the above.
17671
17672 * math/s_casin_template.c: Update using type-generic macros.
17673 * math/s_casinh_template.c: Likewise.
17674 * math/s_csin_template.c: Likewise.
17675 * math/s_csinh_template.c: Likewise.
17676 * math/k_casinh_template.c: Likewise.
17677
17678 * math/s_casinf.c: Removed.
17679 * math/s_casin.c: Removed.
17680 * math/s_casinl.c: Removed.
17681 * math/s_casinh.c: Removed.
17682 * math/s_casinhf.c: Removed.
17683 * math/s_casinhl.c: Removed.
17684 * math/s_csin.c: Removed.
17685 * math/s_csinf.c: Removed.
17686 * math/s_csinl.c: Removed.
17687 * math/s_csinh.c: Removed.
17688 * math/s_csinhf.c: Removed.
17689 * math/s_csinhl.c: Removed.
17690 * math/k_casinh.c: Removed.
17691 * math/k_casinhf.c: Removed.
17692 * math/k_casinhl.c: Removed.
17693
17694 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
17695 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
17696 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
17697 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
17698
17699 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
17700 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
17701 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
17702 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
17703 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
17704 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
17705 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
17706 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
17707
17708 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
17709 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
17710 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
17711 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
17712
17713 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
17714 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
17715 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
17716 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
17717
17718 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17719
17720 * s_casin_template.c: Copy of s_casin.c.
17721 * s_casinh_template.c: Copy of s_casinh.c.
17722 * s_csin_template.c: Copy of s_csin.c.
17723 * s_csinh_template.c: Copy of s_csinh.c.
17724 * k_casinh_template.c: Copy of k_casinh.c.
17725
17726 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
17727
17728 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
17729
17730 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17731
17732 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
17733 (mul_split) Remove, rename as mul_splitl, remove
17734 redundant float.h include, and include via mul_splitl.h
17735
17736 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17737 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17738 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17739 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
17740 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17741
17742 * math/mul_splitl.h: New file.
17743
17744 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
17745 Move into mul_split.h, and remove redundant float.h include.
17746
17747 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
17748 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
17749 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17750 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
17751
17752 * math/mul_split.h: New file.
17753
17754 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17755
17756 * math/Makefile (libm-gen-calls): Move
17757 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
17758 (libm-calls): Remove above.
17759
17760 * math/s_cacos_template.c: Update using type-generic macros.
17761 * math/s_cacosh_template.c: Likewise.
17762 * math/s_ccos_template.c: Likewise.
17763 * math/s_ccosh_template.c: Likewise.
17764
17765 * math/s_cacosf.c: Removed.
17766 * math/s_cacos.c: Removed.
17767 * math/s_cacosl.c: Removed.
17768 * math/s_cacoshf.c: Removed.
17769 * math/s_cacosh.c: Removed.
17770 * math/s_cacoshl.c: Removed.
17771 * math/s_ccosf.c: Removed.
17772 * math/s_ccos.c: Removed.
17773 * math/s_ccosl.c: Removed.
17774 * math/s_ccoshf.c: Removed.
17775 * math/s_ccosh.c: Removed.
17776 * math/s_ccoshl.c: Removed.
17777
17778 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
17779 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
17780 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
17781 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
17782 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
17783 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
17784
17785 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
17786 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
17787 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
17788 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
17789
17790 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
17791 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
17792 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
17793 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
17794
17795 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17796
17797 * s_cacos_template.c: Copy of s_cacos.c.
17798 * s_cacosh_template.c: Copy of s_cacosh.c.
17799 * s_ccos_template.c: Copy of s_ccos.c.
17800 * s_ccosh_template.c: Copy of s_ccosh.c.
17801
17802 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17803
17804 * stdlib/tst-strtod-round-skeleton.c:
17805 Refactored from tst-strtod-round.c.
17806
17807 (L_): New macro to apply literal modifier.
17808 (FNPFX): New macro to select str or wcs prefix.
17809 (CHAR): New macro to choose wchar_t or char.
17810 (STRM): New macro to choose printf for tested character type.
17811
17812 (STRTO): New macro to choose appropriate string -> real function.
17813 (FNPFXS): Stringitized version of FNPFX.
17814 (STR): Support for above macro.
17815 (STRX): Likewise.
17816
17817 (TEST): Update with above macros.
17818 (test): Likewise.
17819 (GEN_ONE_TEST): Likewise.
17820 (test_in_one_mode): Likewise.
17821
17822 * stdlib/tst-strtod-round.c: New file.
17823 * wcsmbs/tst-wcstod-round.c: New file.
17824
17825 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
17826 (tst-wcstod-round): Add libm depencency for fesetround.
17827
17828 2016-08-19 Zack Weinberg <zackw@panix.com>
17829
17830 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
17831
17832 2016-08-18 Torvald Riegel <triegel@redhat.com>
17833
17834 [BZ #20477]
17835 * resolv/res_hconf.c (do_init): Use atomic access.
17836 * resolv/res_hconf.h: Add comments.
17837 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
17838 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
17839 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17840
17841 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
17842
17843 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
17844 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
17845 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17846 Likewise.
17847
17848 2016-08-18 Florian Weimer <fweimer@redhat.com>
17849
17850 [BZ #16907]
17851 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
17852 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
17853 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
17854 (__attribute__): Remove definition.
17855
17856 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17857
17858 * sysdeps/ieee754/ldbl-128/e_asinl.c:
17859 Remove unused sqrtl declaration.
17860
17861 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17862
17863 * math/Makefile: (gen-libm-templates.stmp): New rule.
17864 (libm-calls): Move carg conj cimag and cabs into ...
17865 (gen-libm-calls): New variable.
17866 (generated): Inform Make objects from gen-libm-calls
17867 may be generated.
17868
17869 * sysdeps/generic/math-type-macros.h: New file.
17870 * sysdeps/generic/math-type-macros-float.h: Likewise.
17871 * sysdeps/generic/math-type-macros-double.h: Likewise.
17872 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
17873 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
17874 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
17875
17876 * math/cabs.c: Refactor into
17877 * math/cabs_template.c: new file.
17878 * math/cabsf.c: Removed.
17879 * math/cabsl.c: Removed.
17880 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
17881 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
17882
17883 * math/carg.c: Refactor into
17884 * math/carg_template.c: new file.
17885 * math/cargf.c: Removed.
17886 * math/cargl.c: Removed.
17887 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
17888 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
17889
17890 * math/conj.c: Refactor into
17891 * math/conj_template.c: new file.
17892 * math/conjf.c: Removed.
17893 * math/conjl.c: Removed.
17894 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
17895 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
17896
17897 * math/cimag.c: Refactor into
17898 * math/cimag_template.c: new file.
17899 * math/cimagf.c: Removed.
17900 * math/cimagl.c: Removed.
17901 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
17902 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
17903
17904 * math/cimag.c: Refactor into
17905 * math/cimag_template.c: new file.
17906 * math/cimagf.c: Removed.
17907 * math/cimagl.c: Removed.
17908 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
17909 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
17910
17911 2016-08-17 Florian Weimer <fweimer@redhat.com>
17912
17913 Reduce time to expected nptl/tst-once5 failure.
17914 * nptl/tst-once5.cc (TIMEOUT): Define.
17915
17916 2016-08-17 Florian Weimer <fweimer@redhat.com>
17917
17918 [BZ #20452]
17919 Avoid additional copies of objects in libc.a in static libraries.
17920 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
17921 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
17922 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
17923 rt-sysdep.
17924 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
17925 Add nptl-sysdep.
17926 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
17927 Add ptw-sysdep.
17928 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
17929 rt-sysdep.
17930 * sysdeps/unix/sysv/linux/alpha/Makefile
17931 (libpthread-shared-only-routines): Add ptw-sysdep,
17932 ptw-sigprocmask, ptw-rt_sigaction.
17933 * sysdeps/unix/sysv/linux/ia64/Makefile
17934 (librt-shared-only-routines): Add rt-sysdep.
17935 * sysdeps/unix/sysv/linux/i386/Makefile
17936 (libpthread-shared-only-routines): Add libc-do-syscall.
17937 * sysdeps/unix/sysv/linux/microblaze/Makefile
17938 (libpthread-shared-only-routines): Add sysdep.
17939 * sysdeps/unix/sysv/linux/powerpc/Makefile
17940 (librt-shared-only-routines): Add rt-sysdep.
17941 (libpthread-shared-only-routines): Add sysdep.
17942 * sysdeps/unix/sysv/linux/s390/Makefile
17943 (librt-shared-only-routines): Add rt-sysdep.
17944 * sysdeps/unix/sysv/linux/sparc/Makefile
17945 (librt-shared-only-routines): Add rt-sysdep.
17946 (libpthread-shared-only-routines): Add sysdep.
17947 * sysdeps/unix/sysv/linux/tile/Makefile
17948 (libpthread-shared-only-routines): Likewise.
17949
17950 2016-08-16 Joseph Myers <joseph@codesourcery.com>
17951
17952 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
17953 Mask implicit bit out of unpacked value.
17954 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
17955 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
17956 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
17957
17958 * sysdeps/sparc/fpu/fesetexcept.c: New file.
17959
17960 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
17961
17962 * sysdeps/s390/fpu/fesetexcept.c: New file.
17963
17964 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
17965 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
17966 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
17967
17968 * sysdeps/mips/fpu/fesetexcept.c: New file.
17969
17970 * sysdeps/m68k/fpu/fesetexcept.c: New file.
17971
17972 * sysdeps/ia64/fpu/fesetexcept.c: New file.
17973
17974 * sysdeps/hppa/fpu/fesetexcept.c: New file.
17975
17976 * sysdeps/arm/fesetexcept.c: New file.
17977
17978 * sysdeps/alpha/fpu/fesetexcept.c: New file.
17979
17980 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
17981
17982 * math/fesetexcept.c: New file.
17983 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
17984 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
17985 * math/fenv.h: Define
17986 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17987 <bits/libc-header-start.h> instead of including <features.h>.
17988 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
17989 declaration.
17990 * manual/arith.texi (fesetexcept): Document function.
17991 * math/Versions (fesetexcept): New libm symbol at version
17992 GLIBC_2.25.
17993 * math/Makefile (libm-support): Add fesetexcept.
17994 (tests): Add test-fesetexcept and test-fesetexcept-traps.
17995 * math/test-fesetexcept.c: New file.
17996 * math/test-fesetexcept-traps.c: Likewise.
17997 * sysdeps/nacl/libm.abilist: Update.
17998 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17999 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18000 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18001 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18002 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18003 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18004 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18005 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18006 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18007 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18008 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18009 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18011 Likewise.
18012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18013 Likewise.
18014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18015 Likewise.
18016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18017 Likewise.
18018 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18019 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18020 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18021 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18022 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18023 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18024 Likewise.
18025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18026 Likewise.
18027 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18028 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18029 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18030
18031 2016-08-16 Florian Weimer <fweimer@redhat.com>
18032
18033 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
18034 New.
18035 (do_test): Apply default_stack_size_in_mb if not set.
18036 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
18037
18038 2016-08-15 Andreas Schwab <schwab@suse.de>
18039
18040 [BZ #20435]
18041 CVE-2016-6323
18042 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
18043 as .cantunwind.
18044
18045 2016-08-12 Joseph Myers <joseph@codesourcery.com>
18046
18047 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
18048 comment from fraiseexcpt.c.
18049
18050 * math/test-fexcept.c (feraiseexcept_exact): New function.
18051 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
18052 (test_except): Likewise.
18053
18054 2016-08-10 Joseph Myers <joseph@codesourcery.com>
18055
18056 [BZ #20455]
18057 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
18058 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
18059 to be restored.
18060
18061 * math/test-fexcept-traps.c: New file.
18062 * math/test-fexcept.c: Likewise.
18063 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
18064 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
18065 macro.
18066 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
18067 (EXCEPTION_SET_FORCES_TRAP): Likewise.
18068
18069 2016-08-09 Torvald Riegel <triegel@redhat.com>
18070
18071 * include/atomic.h (atomic_fetch_and_relaxed,
18072 atomic_fetch_and_release, atomic_fetch_or_release,
18073 atomic_fetch_xor_release): New.
18074
18075 2016-08-06 Christian Seiler <christian@iwakd.de>
18076
18077 [BZ #20444]
18078 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
18079 MACH_PORT_NULL.
18080
18081 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18082
18083 * math/s_fdim.c: Avoid alias renamed.
18084 * math/s_fdimf.c: Likewise.
18085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18086 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18087 Add s_fdimf-vis3, s_fdim-vis3.
18088 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18089 (CFLAGS-s_fdim-vis3.c): Likewise.
18090 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
18091 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
18092
18093 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18094
18095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18096 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18097 Remove s_fdimf-vis3, s_fdim-vis3.
18098 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
18099 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
18100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
18101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
18102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
18103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
18104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
18105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
18106 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
18107 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
18108
18109 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18110
18111 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
18112 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
18113 -Wa,-Av9a -mvis.
18114
18115 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18116
18117 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
18118 LIT() to individual constants in simple expressions
18119 after splitting on spaces.
18120 (_apply_lit): Rename replaced version, and use it to
18121 apply to what appears to be a token.
18122
18123 * math/libm-test.inc: Fix many, many issues with
18124 spacing.
18125
18126 2016-08-05 Joseph Myers <joseph@codesourcery.com>
18127
18128 * math/math.h: Move comment about <bits/mathdef.h> definitions
18129 above inclusion of <bits/mathdef.h>. Do not mention
18130 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
18131
18132 2016-08-05 Torvald Riegel <triegel@redhat.com>
18133
18134 * include/atomic.h (atomic_exchange_relaxed): New.
18135
18136 2016-08-04 Joseph Myers <joseph@codesourcery.com>
18137
18138 * math/e_scalb.c: Do not include <fenv.h>.
18139 (invalid_fn): Do calculation resulting in NaN instead of raising
18140 FE_INVALID and returning a NaN explicitly.
18141 * math/e_scalbf.c: Do not include <fenv.h>.
18142 (invalid_fn): Do calculation resulting in NaN instead of raising
18143 FE_INVALID and returning a NaN explicitly.
18144 * math/e_scalbl.c: Do not include <fenv.h>.
18145 (invalid_fn): Do calculation resulting in NaN instead of raising
18146 FE_INVALID and returning a NaN explicitly.
18147
18148 2016-08-04 Carlos O'Donell <carlos@redhat.com>
18149
18150 * po/de.po: Updated from Translation Project.
18151 * po/fi.po: Likewise.
18152 * po/sv.po: Likewise.
18153
18154 2016-08-04 Florian Weimer <fweimer@redhat.com>
18155
18156 [BZ #20452]
18157 Use sysdep.o from libc.a in static libraries.
18158 * sysdeps/unix/sysv/linux/i386/Makefile
18159 (libpthread-shared-only-routines): Add sysdep.
18160 (librt-shared-only-routines): Likewise.
18161
18162 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18163
18164 * math/tgmath.h (nextdown): Define if
18165 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
18166 (nextup): Likewise.
18167
18168 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
18169 macro.
18170 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18171 Document.
18172 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18173 Document macro.
18174 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
18175 (exp10f): Likewise.
18176 (exp10l): Likewise.
18177 * math/bits/mathcalls.h (exp10): Declare if
18178 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
18179
18180 * manual/arith.texi (nextup): Fix typo in last change.
18181
18182 2016-08-03 Zack Weinberg <zackw@panix.com>
18183
18184 [BZ #19239]
18185 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
18186 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
18187 define major, minor, and makedev to issue deprecation warnings on use.
18188 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
18189 previously-activated deprecation warnings for these macros and prevent
18190 subsequent inclusions of this header from having any effect.
18191 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
18192 including <sys/sysmacros.h>, and undefine it again afterward.
18193
18194 2016-08-03 Zack Weinberg <zackw@panix.com>
18195
18196 * sysdeps/generic/sys/sysmacros.h: Delete file.
18197 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
18198 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
18199 * bits/sysmacros.h: ... here; this encoding is now the generic
18200 encoding. Now defines only the following macros:
18201 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
18202 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
18203 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
18204
18205 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
18206 bits/sysmacros.h and the above new macros to generate the
18207 public implementations of major, minor, and makedev.
18208 * misc/tst-makedev.c: New test.
18209 * include/sys/sysmacros.h: New wrapper.
18210
18211 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
18212 (routines): Add makedev.
18213 (tests): Add tst-makedev.
18214 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
18215 gnu_dev_makedev.
18216 * posix/Makefile (headers): Remove sys/sysmacros.h.
18217 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
18218
18219 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
18220 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
18221 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
18222 * sysdeps/unix/sysv/linux/alpha/libc.abilist
18223 * sysdeps/unix/sysv/linux/arm/libc.abilist
18224 * sysdeps/unix/sysv/linux/hppa/libc.abilist
18225 * sysdeps/unix/sysv/linux/i386/libc.abilist
18226 * sysdeps/unix/sysv/linux/ia64/libc.abilist
18227 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18228 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
18229 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
18230 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18231 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18232 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18233 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18234 * sysdeps/unix/sysv/linux/nios2/libc.abilist
18235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18239 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
18240 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
18241 * sysdeps/unix/sysv/linux/sh/libc.abilist
18242 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18243 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18244 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18245 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18246 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
18247 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
18248 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
18249 Add GLIBC_2.25.
18250
18251 * include/features.h (__glibc_clang_prereq): New macro.
18252 * misc/sys/cdefs.h (__glibc_clang_has_extension)
18253 (__attribute_deprecated_msg__): New macros.
18254
18255 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18256
18257 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
18258 macro.
18259 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
18260 * manual/arith.texi (issignaling): Document as ISO from TS
18261 18661-1:2014.
18262 (nextup): Likewise.
18263 (nextupf): Likewise.
18264 (nextupl): Likewise.
18265 (nextdown): Likewise.
18266 (nextdownf): Likewise.
18267 (nextdownl): Likewise.
18268 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
18269 macro.
18270 * math/math.h: Define
18271 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18272 <bits/libc-header-start.h> instead of including <features.h>.
18273 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
18274 [__USE_GNU].
18275 * math/bits/mathcalls.h (nextdown): Declare if
18276 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
18277 (nextup): Likewise.
18278 (__issignaling): Likewise.
18279
18280 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18281
18282 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
18283 check, and remove __glibc_likely hint
18284 from FP_INFINITE check.
18285 * s_csinhf.c (__csinhf): Likewise.
18286
18287 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
18288 hint from FP_INFINITE check.
18289 * s_csinhl.c (__csinhl): Likewise.
18290
18291 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18292
18293 * math/Makefile (libm-calls): Insert F placeholder into
18294 object names. Move w_lgamma_compat* routines into
18295 (libm-compat-calls): New variable.
18296 (libm-compat-calls-ldouble-yes): New variable.
18297 (calls): Insert F placeholder.
18298 (generated): Redefine using new type-foreach macro call.
18299 (routines): Likewise.
18300
18301 (types): New variable to hold a list of symbolic names
18302 for each type supported by the target machine.
18303 (libm-routines): Redefine using new types variable.
18304 (type-foreach): macro to replace fooF with the
18305 appropriately suffixed foo for each types.
18306
18307 (type-ldouble-suffix): New variable.
18308 (type-ldouble-routines): Likewise.
18309 (type-ldouble-yes): Likewise.
18310 (type-double-suffix): Likewise.
18311 (type-double-routines): Likewise.
18312 (type-float-suffix): Likewise.
18313 (type-float-routines): Likewise.
18314
18315 (dbl-only-routines): Remove.
18316 (long-c-yes): Likewise.
18317 (long-m-routines): Likewise.
18318 (long-m-support): Likewise.
18319 (long-m-yes): Likewise.
18320 (test-longdouble-yes): Likewise.
18321
18322 (test-float.o): Simplify by increasing the scope of the
18323 recipe which adds libm-test.stmp to the vector types.
18324 (test-ifloat.o): Likewise.
18325 (test-float-finite.o): Likewise.
18326 (test-double.o): Likewise
18327 (test-idouble.o): Likewise.
18328 (test-double-finite.o): Likewise.
18329 (test-ldouble.o): Likewise
18330 (test-ildoubl.o): Likewise.
18331 (test-ldouble-finite.o): Likewise.
18332
18333 (libm-tests): Redefine type tests using foreach and the
18334 list of types in types.
18335
18336 (CPPFLAGS-test-ildoubl.c): Rename to
18337 (CPPFLAGS-test-ildouble.c): New variable
18338
18339 * math/test-ildoubl.c: Rename to
18340 * math/test-ildouble.c: New file.
18341
18342 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18343
18344 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
18345 Use fabsl instead of fabs.
18346 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
18347 Likewise.
18348 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
18349 Add long double suffix to constant to ensure proper
18350 promotion to long double.
18351
18352 2016-08-03 Tom Tromey <tom@tromey.com>
18353
18354 [BZ #20311]
18355 * nptl_db/Makefile (headers): Add proc_service.h.
18356 * nptl_db/proc_service.h: Add include guard. Use
18357 __BEGIN/__END_DECLS.
18358 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
18359 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
18360 arguments.
18361
18362
18363 2016-08-03 Florian Weimer <fweimer@redhat.com>
18364
18365 [BZ #17730]
18366 Avoid using memalign for TCB allocations.
18367 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
18368 (_dl_allocate_tls_storage): Use malloc and manual alignment.
18369 Avoid alignment gap in the TLS_DTV_AT_TP case.
18370 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
18371 determine the pointer to free.
18372 * nptl/tst-tls3-malloc.c: New test.
18373 * nptl/Makefile (tests): Add it.
18374 (tst-tls3-malloc): Link with libdl, libpthread.
18375 (LDFLAGS-tst-tls3-malloc): Set.
18376 (tst-tls3-malloc.out): Depend on DSO used in test.
18377
18378 2016-08-03 Florian Weimer <fweimer@redhat.com>
18379
18380 [BZ #17730]
18381 Avoid using memalign for TLS allocations.
18382 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
18383 is_static member with to_free member.
18384 (union dtv): Use struct dtv_pointer.
18385 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
18386 dtv_pointer instead of is_static.
18387 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
18388 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
18389 instead of val.
18390 (allocate_dtv_entry): New function.
18391 (allocate_and_init): Return struct dtv_pointer. Call
18392 allocate_dtv_entry instead of __libc_memalign.
18393 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
18394 instead of val.
18395 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
18396 instead of is_static. Adjust call to allocate_and_init.
18397 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
18398 struct dtv_pointer instead of val.
18399
18400 2016-08-03 Florian Weimer <fweimer@redhat.com>
18401
18402 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
18403 (MALLOC_ALIGN_MASK): Move ...
18404 * malloc/malloc-internal.h: ... to here.
18405 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
18406
18407 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18408
18409 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
18410 (UDP_ENCAP_GTP1U): Likewise.
18411
18412 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
18413 (PF_MAX): Update value.
18414 (AF_QIPCRTR): New macro.
18415
18416 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
18417
18418 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
18419 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18420 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18421 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18422 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18423 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18424 s_truncf-vis3, s_trunc-vis3.
18425 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18426 (CFLAGS-s_ceil-vis3.c): Likewise.
18427 (CFLAGS-s_floorf-vis3.c): Likewise.
18428 (CFLAGS-s_floor-vis3.c): Likewise.
18429 (CFLAGS-s_truncf-vis3.c): Likewise.
18430 (CFLAGS-s_trunc-vis3.c): Likewise.
18431 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
18432 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
18433 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
18434 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
18435 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
18436 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
18437 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
18438 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
18439 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
18440 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
18441 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
18442 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
18443
18444 2016-08-02 David S. Miller <davem@davemloft.net>
18445
18446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
18447 (__nearbyint_vis3): Don't check for sNaN before float register is
18448 loaded with the incoming argument.
18449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
18450 (__nearbyintf_vis3): Likewise.
18451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
18452 Likewise.
18453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
18454 Likewise.
18455
18456 * string/test-strncmp.c (do_test_limit): Make sure the test data
18457 stream is aligned as required for the type "CHAR".
18458 (do_test): Likewise.
18459
18460 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
18461
18462 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
18463 by beq instructions jumping to the end of the function.
18464 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
18465 clobber list. Use "i" constraint instead of "X".
18466 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
18467 of "X".
18468
18469 2016-08-02 Joseph Myers <joseph@codesourcery.com>
18470
18471 * bits/libc-header-start.h: New file.
18472 * Makefile (headers): Add bits/libc-header-start.h.
18473 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
18474 (__GLIBC_USE): New macro.
18475 * libio/stdio.h: Define
18476 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18477 <bits/libc-header-start.h> instead of including <features.h>.
18478 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
18479 (open_memstream): Likewise.
18480 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
18481 (__asprintf): Likewise.
18482 (asprintf): Likewise.
18483 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
18484 (getdelim): Likewise.
18485 (getline): Likewise.
18486 * string/string.h: Define
18487 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18488 <bits/libc-header-start.h> instead of including <features.h>.
18489 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
18490 (strndup): Likewise.
18491 * wcsmbs/wchar.h: Define
18492 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18493 <bits/libc-header-start.h> instead of including <features.h>.
18494 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
18495 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
18496
18497 2016-08-02 Florian Weimer <fweimer@redhat.com>
18498
18499 Support linking against compatibility symbols, for use in tests.
18500 * include/libc-symbols.h (symbol_version_reference): New macro.
18501 (symbol_version): Use it.
18502 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
18503 (compat_symbol): Use compat_symbol_reference.
18504 (compat_symbol_1, compat_symbol_2): Remove.
18505 (compat_symbol_reference, compat_symbol_reference_1)
18506 (compat_symbol_reference_2): New macro. Use
18507 symbol_version_reference.
18508
18509 2016-08-02 Florian Weimer <fweimer@redhat.com>
18510
18511 [BZ #19469]
18512 * malloc/Makefile (CPPFLAGS): Compile tests with
18513 -DTEST_NO_MALLOPT.
18514 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
18515
18516 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
18517
18518 [BZ #20033]
18519 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
18520 finite version.
18521 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
18522 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
18523 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
18524 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
18525 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
18526 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
18527 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
18528 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
18529 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
18530 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
18531 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
18532 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
18533 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
18534 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
18535 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
18536 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
18537 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
18538 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
18539 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
18540 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
18541 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
18542 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
18543 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
18544 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
18545 in zero power.
18546
18547 2016-08-02 Florian Weimer <fweimer@redhat.com>
18548
18549 [BZ #20370]
18550 * malloc/arena.c (get_free_list): Update comment. Assert that
18551 arenas on the free list have no attached threads.
18552 (remove_from_free_list): New function.
18553 (reused_arena): Call it.
18554
18555 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
18556
18557 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
18558 when it is a NaN.
18559 [_IEEE_FP_INEXACT] Remove.
18560 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
18561 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
18562 when it is a NaN.
18563 [_IEEE_FP_INEXACT] Remove.
18564 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
18565 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
18566 when it is a NaN.
18567 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
18568 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
18569 when its absolute value is greater than 0x1.0p52.
18570 [_IEEE_FP_INEXACT] Remove.
18571 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
18572 when its absolute value is greater than 0x1.0p23.
18573 [_IEEE_FP_INEXACT] Remove.
18574
18575 2016-08-01 Carlos O'Donell <carlos@redhat.com>
18576
18577 * version.h (RELEASE): Set to "development"
18578 (VERSION): Set to 2.24.90.
18579 * NEWS: Add 2.25 section.
18580
18581 * version.h (RELEASE): Set to "stable"
18582 (VERSION): Set to 2.24.
18583 * include/features.h (__GLIBC_MINOR__): Set to 24.
18584
18585 * NEWS: Add 2.24 fixed bugs.
18586 * po/libc.pot: Regenerate.
18587
18588 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
18589
18590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18591 [$(subdir) = math] (libm-sysdep_routines): Remove.
18592 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18593 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18594 s_truncf-vis3, s_trunc-vis3.
18595 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
18597 file.
18598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
18599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
18600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
18604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
18605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
18607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
18608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
18609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
18610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
18611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
18612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
18613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
18617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
18618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
18619 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
18620 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18621 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18622 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18623 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18624 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18625 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
18626 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18627 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18628 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
18629 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18630 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18631 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
18632 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
18633 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
18634 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
18635 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18636 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18637 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
18638 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
18639 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
18640 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
18641
18642 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
18643
18644 [BZ #20384]
18645 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
18646 test-double-libmvec-sincos-avx-main.o,
18647 test-double-libmvec-sincos-avx2-main.o,
18648 test-double-libmvec-sincos-main.o,
18649 test-float-libmvec-sincosf-avx-main.o,
18650 test-float-libmvec-sincosf-avx2-main.o and
18651 test-float-libmvec-sincosf-main.o.
18652 test-float-libmvec-sincosf-avx512-main.o.
18653 ($(objpfx)test-double-libmvec-sincos): Also link with
18654 $(objpfx)test-double-libmvec-sincos-main.o.
18655 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
18656 $(objpfx)test-double-libmvec-sincos-avx-main.o.
18657 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
18658 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
18659 ($(objpfx)test-float-libmvec-sincosf): Also link with
18660 $(objpfx)test-float-libmvec-sincosf-main.o.
18661 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
18662 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
18663 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
18664 test-double-libmvec-sincos-avx512-main.o and
18665 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
18666 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
18667 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
18668 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
18669 (CFLAGS-test-double-libmvec-sincos.c): Removed.
18670 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
18671 (CFLAGS-test-double-libmvec-sincos-main.c): New.
18672 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
18673 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
18674 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
18675 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
18676 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
18677 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
18678 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
18679 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
18680 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
18681 -DREQUIRE_AVX2.
18682 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
18683 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
18684 -DREQUIRE_AVX512F.
18685 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
18686 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
18687 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
18688 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
18689 file.
18690 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
18691 Likewise.
18692 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
18693 Likewise.
18694 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
18695 Likewise.
18696 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
18697 Likewise.
18698 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
18699 Likewise.
18700 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
18701 Likewise.
18702 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
18703 Likewise.
18704
18705 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
18706
18707 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
18708
18709 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
18710
18711 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
18712 and typo in a comment about AT_HWCAP entry.
18713
18714 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
18715
18716 * sysdeps/aarch64/libm-test-ulps: Updated.
18717
18718 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
18719
18720 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
18721 of r13 as it is not restored in mvcle case.
18722
18723 2016-07-19 Mike Frysinger <vapier@gentoo.org>
18724
18725 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
18726 Rename "ret" to "__ret".
18727 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
18728 inline_syscall5, inline_syscall6): Likewise.
18729
18730 2016-07-19 Will Newton <will.newton@gmail.com>
18731
18732 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
18733 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
18734 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
18735 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
18736 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
18737
18738 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
18739
18740 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
18741 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
18742 -mfpmath=387 with $(rtld-CFLAGS).
18743 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
18744 $(rtld-CFLAGS).
18745
18746 2016-07-18 Ross Burton <ross.burton@intel.com>
18747 Khem Raj <raj.khem@gmail.com>
18748
18749 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
18750 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
18751 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
18752 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
18753 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
18754 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
18755 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
18756 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
18757 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
18758 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
18759 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
18760 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
18761 R_METAG_TLS_DTPOFF): New.
18762
18763 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
18764 Matt Clay <mclay@lycos.com>
18765
18766 [BZ #20357]
18767 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
18768 to call __mpsin/__mpcos and to negate values.
18769 * math/auto-libm-test-in: Add test.
18770 * math/auto-libm-test-out: Regenerate.
18771
18772 2016-07-18 Zack Weinberg <zackw@panix.com>
18773
18774 * grp/Makefile: Don't install the internal header grp-merge.h.
18775
18776 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
18777
18778 * sysdeps/aarch64/libm-test-ulps: Regenerated.
18779
18780 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
18781
18782 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
18783
18784 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18785
18786 [BZ #15368]
18787 * sysdeps/unix/sysv/linux/nptl-signals.h
18788 (__nptl_clear_internal_signals): New function.
18789 (__libc_signal_block_all): Likewise.
18790 (__libc_signal_block_app): Likewise.
18791 (__libc_signal_restore_set): Likewise.
18792 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
18793 implementation.
18794 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
18795 the cached pid/tid value in pthread structure.
18796
18797 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
18798
18799 [BZ #20347]
18800 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
18801
18802 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
18803
18804 [BZ #20348]
18805 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
18806 preadv64, pwrite64 and pwritev64.
18807
18808 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
18809
18810 [BZ #20350]
18811 * posix/tst-preadwrite.c: Renamed to ...
18812 * posix/tst-preadwrite-common.c: This.
18813 (PREAD): Removed.
18814 (PWRITE): Likewise.
18815 (STRINGIFY): Likewise.
18816 (STRINGIFY2): Likewise.
18817 (do_prepare): Make it static and remove function arguments.
18818 (do_test): Likewise.
18819 (PREPARE): Updated.
18820 (TEST_FUNCTION): New.
18821 (name): Make it static.
18822 (fd): Likewise.
18823 (do_prepare): Use create_temp_file.
18824 (do_test): Renamed to ...
18825 (do_test_with_offset): This. Make it static and accept offset.
18826 Properly check return value of PWRITE and PREAD. Return bytes
18827 read. Don't close fd nor unlink name.
18828 * posix/tst-preadwrite.c: Rewrite.
18829 * posix/tst-preadwrite64.c: Likewise.
18830
18831 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
18832
18833 [BZ #20309]
18834 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
18835 -mtls-dialect=gnu2 works.
18836 * configure: Regenerated.
18837 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
18838 (tests): Add tst-gnu2-tls1.
18839 (modules-names): Add tst-gnu2-tls1mod.
18840 ($(objpfx)tst-gnu2-tls1): New.
18841 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
18842 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
18843 * elf/tst-gnu2-tls1.c: New file.
18844 * elf/tst-gnu2-tls1mod.c: Likewise.
18845 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
18846 bytes for push in the PLT entry to align the stack.
18847
18848 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
18849
18850 [BZ #20349]
18851 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
18852
18853 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
18854
18855 [BZ #18707]
18856 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
18857 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
18858
18859 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18860
18861 * sysdeps/unix/sysv/linux/sysdep.h
18862 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
18863 guards.
18864 * misc/tst-preadvwritev-common.c: New file.
18865 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
18866 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
18867 a check for files larger than 2GB.
18868
18869 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18870 (__ASSUME_OFF_DIFF_OFF64): Remove define.
18871 * sysdeps/unix/sysv/linux/pread.c
18872 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
18873 __OFF_T_MATCHES_OFF64_T.
18874 * sysdeps/unix/sysv/linux/pread64.c
18875 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
18876 * sysdeps/unix/sysv/linux/preadv.c
18877 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
18878 * sysdeps/unix/sysv/linux/preadv64.c
18879 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
18880 * sysdeps/unix/sysv/linux/pwrite.c
18881 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
18882 * sysdeps/unix/sysv/linux/pwrite64.c
18883 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
18884 * sysdeps/unix/sysv/linux/pwritev.c
18885 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
18886 * sysdeps/unix/sysv/linux/pwritev64.c
18887 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
18888
18889 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
18890
18891 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18892 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
18893
18894 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
18895
18896 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
18897
18898 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
18899
18900 [BZ #20240]
18901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
18902 (CFLAGS-s_modf-ppc32.c): New variable.
18903 (CFLAGS-s_modff-ppc32.c): Likewise.
18904 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
18905 (CFLAGS-s_modf-ppc64.c): Likewise.
18906 (CFLAGS-s_modff-ppc64.c): Likewise.
18907
18908 2016-07-07 Andreas Schwab <schwab@suse.de>
18909
18910 [BZ #20263]
18911 * nptl/tst-robust10.c: New test.
18912 * nptl/Makefile (tests): Add tst-robust10.
18913
18914 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
18915
18916 [BZ #20263]
18917 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
18918
18919 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
18920
18921 * sysdeps/s390/linkmap.h (struct link_map_machine):
18922 Remove member gotplt and add member jmprel.
18923 * sysdeps/s390/s390-32/dl-machine.h
18924 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
18925 instead of gotplt with &got[3].
18926 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
18927 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18928
18929 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
18930
18931 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
18932
18933 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18934
18935 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
18936 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
18937 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
18938 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
18939 * libio/vtables.c (_IO_vtable_check)
18940 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
18941 * libio/libioP.h (IO_set_accept_foreign_vtables)
18942 [!PTR_MANGLE]: Do not call PTR_MANGLE.
18943
18944 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
18945
18946 [BZ #20314]
18947 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
18948 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
18949 $(common-objpfx)cmath.
18950 ($(common-objpfx)cstdlib): New target.
18951 ($(common-objpfx)cmath): Likewise.
18952
18953 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
18954
18955 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
18956
18957 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18958
18959 [BZ #20327]
18960 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
18961 are not part of the string.
18962
18963 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18964
18965 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
18966 * nptl/tst-cancel4-common.h (fifoname): New variable.
18967 (fifofd): Likewise.
18968 (cl_fifo): New function.
18969 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
18970 SIGINT.
18971 (tf_open): Add early cancel test.
18972
18973 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
18974
18975 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
18976
18977 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
18978
18979 * sysdeps/generic/ldsodefs.h
18980 (dl_symbol_visibility_binds_local_p): New inline function.
18981 * elf/dl-addr.c (determine_info): Treat hidden and internal
18982 symbols as local.
18983 * elf/dl-lookup.c (do_lookup_x): Likewise.
18984 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
18985
18986 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
18987
18988 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
18989 invalid exception for a sNaN input.
18990 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
18991 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
18992 (__nearbyint_vis3): Likewise
18993 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
18994 (__nearbyintf_vis3): Likewise
18995 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
18996 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
18997 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
18998 Likewise.
18999 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
19000 Likewise.
19001
19002 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
19003
19004 [BZ #20139]
19005 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
19006 (HAVE_AVX512DQ_ASM_SUPPORT): This.
19007 * sysdeps/x86_64/configure.ac: Require assembler from binutils
19008 2.24 or above.
19009 (HAVE_AVX512_ASM_SUPPORT): Removed.
19010 (HAVE_AVX512DQ_ASM_SUPPORT): New.
19011 * sysdeps/x86_64/configure: Regenerated.
19012 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
19013 check unconditional.
19014 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
19015 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19016 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19017 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
19018 Likewise.
19019 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19020 Likewise.
19021 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
19022 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
19023 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19024 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19025 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
19026 Likewise.
19027 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19028 Likewise.
19029 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19030 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19031 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
19032 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
19033 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
19034 Likewise.
19035 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
19036 Likewise.
19037 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
19038 Likewise.
19039 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
19040 Likewise.
19041 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
19042 Likewise.
19043 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
19044 Likewise.
19045 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
19046 Likewise.
19047 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
19048 Likewise.
19049 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
19050 Likewise.
19051 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
19052 Likewise.
19053 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
19054 Likewise.
19055
19056 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
19057
19058 [BZ #20024]
19059 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
19060 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
19061 of this implementation of vector function.
19062 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19063 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19064 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
19065 Likewise.
19066 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19067 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19068 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
19069 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
19070 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
19071 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
19072 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
19073 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
19074 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
19075 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
19076 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
19077 for testing vector sincos with fixed ABI.
19078 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19079 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19080 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19081 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19082 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19083 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19084 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19085 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
19086 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
19087 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
19088 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
19089 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
19090 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
19091 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
19092 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
19093 * sysdeps/x86_64/fpu/Makefile: Added new tests.
19094
19095 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
19096
19097 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
19098
19099 2016-06-30 Anton Blanchard <anton@samba.org>
19100
19101 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19102 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
19103 s_sinf-ppc64.
19104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
19105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
19106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
19107 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
19108
19109 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19110
19111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19112 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19113 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
19114 e_expf-ppc64.
19115 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
19116 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
19117 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
19118 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
19119
19120 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
19121
19122 [BZ #20277]
19123 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
19124 when SHARED is defined.
19125
19126 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
19127
19128 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
19129 (index_arch_Prefer_ERMS): Likewise.
19130 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
19131 __memcpy_erms for Prefer_ERMS.
19132 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
19133 (__memmove_erms): Enabled for libc.a.
19134 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
19135 __memmove_erms or Prefer_ERMS.
19136 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
19137 __mempcpy_erms for Prefer_ERMS.
19138 * sysdeps/x86_64/multiarch/memset.S (memset): Return
19139 __memset_erms for Prefer_ERMS.
19140
19141 2016-06-30 Andreas Schwab <schwab@suse.de>
19142
19143 [BZ #20262]
19144 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
19145 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
19146 of memory.
19147
19148 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
19149
19150 [BZ #18645]
19151 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
19152 (test-extras): Add tst-cleanupx4aux.
19153 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
19154 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
19155 tst-cleanupx4aux.o.
19156 * nptl/tst-cleanupx4aux.c: New file.
19157
19158 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
19159
19160 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19161
19162 2016-06-29 Andreas Schwab <schwab@suse.de>
19163
19164 [BZ #20260]
19165 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
19166 address before the beginning of the string as an integer to avoid
19167 array-bounds warning.
19168
19169 2016-06-28 Richard Henderson <rth@redhat.com>
19170
19171 * elf/elf.h (EM_BPF): New.
19172 (EM_NUM): Update.
19173 (R_BPF_NONE, R_BPF_MAP_FD): New.
19174
19175 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
19176 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
19177 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
19178 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
19179 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
19180 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
19181 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
19182 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
19183 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
19184 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
19185 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
19186 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
19187 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
19188 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
19189 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
19190 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
19191 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
19192 (EM_NUM): Update.
19193
19194 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
19195
19196 [BZ #18960]
19197 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
19198 Set _nl_current_LC_CATEGORY_used to two instead of one.
19199
19200 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
19201
19202 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
19203 (do_test): ... this.
19204 (TEST_FUNCTION): New macro.
19205 Include test-skeleton.c.
19206 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
19207 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
19208
19209 2016-06-27 Joseph Myers <joseph@codesourcery.com>
19210
19211 [BZ #15479]
19212 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
19213 floating-point environment rather than just control word.
19214 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19215 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
19216 floating-point environment, with "invalid" exceptions merged in,
19217 rather than just control word.
19218 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
19219 * math/libm-test.inc (trunc_test_data): Do not allow spurious
19220 "inexact" exceptions.
19221
19222 [BZ #15479]
19223 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
19224 floating-point environment rather than just control word.
19225 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19226 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
19227 floating-point environment, with "invalid" exceptions merged in,
19228 rather than just control word.
19229 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
19230 * math/libm-test.inc (floor_test_data): Do not allow spurious
19231 "inexact" exceptions.
19232
19233 [BZ #15479]
19234 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
19235 floating-point environment rather than just control word.
19236 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19237 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
19238 floating-point environment, with "invalid" exceptions merged in,
19239 rather than just control word.
19240 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
19241 * math/libm-test.inc (ceil_test_data): Do not allow spurious
19242 "inexact" exceptions.
19243
19244 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
19245
19246 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
19247 __libc_vfork.
19248 (__vfork) [IS_IN (libc)]: Remove alias.
19249 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
19250 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19251 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19252
19253 2016-06-24 Torvald Riegel <triegel@redhat.com>
19254
19255 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
19256 of atomic_compare_and_exchange_bool_rel.
19257 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19258 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
19259 catomic_compare_and_exchange_bool_rel): Remove.
19260 * sysdeps/aarch64/atomic-machine.h
19261 (atomic_compare_and_exchange_bool_rel): Likewise.
19262 * sysdeps/alpha/atomic-machine.h
19263 (atomic_compare_and_exchange_bool_rel): Likewise.
19264 * sysdeps/arm/atomic-machine.h
19265 (atomic_compare_and_exchange_bool_rel): Likewise.
19266 * sysdeps/mips/atomic-machine.h
19267 (atomic_compare_and_exchange_bool_rel): Likewise.
19268 * sysdeps/microblaze/atomic-machine.h
19269 ( __arch_compare_and_exchange_bool_8_rel,
19270 __arch_compare_and_exchange_bool_16_rel): Likewise.
19271 * sysdeps/powerpc/atomic-machine.h
19272 ( __arch_compare_and_exchange_bool_8_rel,
19273 __arch_compare_and_exchange_bool_16_rel): Likewise.
19274 * sysdeps/powerpc/powerpc32/atomic-machine.h
19275 ( __arch_compare_and_exchange_bool_32_rel,
19276 __arch_compare_and_exchange_bool_64_rel): Likewise.
19277 * sysdeps/powerpc/powerpc64/atomic-machine.h
19278 ( __arch_compare_and_exchange_bool_32_rel,
19279 __arch_compare_and_exchange_bool_64_rel): Likewise.
19280 * sysdeps/tile/atomic-machine.h
19281 (atomic_compare_and_exchange_bool_rel): Likewise.
19282
19283 2016-06-23 Joseph Myers <joseph@codesourcery.com>
19284
19285 [BZ #20296]
19286 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
19287 when either argument is a NaN.
19288 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19289 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
19290
19291 * math/libm-test.inc (snan_value_ld): New macro.
19292 (isgreater_test_data): Add sNaN tests.
19293 (isgreaterequal_test_data): Likewise.
19294 (isless_test_data): Likewise.
19295 (islessequal_test_data): Likewise.
19296 (islessgreater_test_data): Likewise.
19297 (isunordered_test_data): Likewise.
19298 (nextafter_test_data): Likewise.
19299 (nexttoward_test_data): Likewise.
19300 (remainder_test_data): Likewise.
19301 (remquo_test_data): Likewise.
19302 (significand_test_data): Likewise.
19303 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
19304
19305 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
19306
19307 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
19308 environment macros are defined.
19309 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
19310
19311 2016-06-23 Florian Weimer <fweimer@redhat.com>
19312
19313 [BZ #20191]
19314 Implement vtable verification in libio.
19315 * Makerules (shlib.lds): Place __libc_IO_vtables section.
19316 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
19317 * debug/vdprintf_chk.c (__vdprintf_chk): Call
19318 _IO_new_file_init_internal instead of _IO_file_init.
19319 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
19320 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
19321 * libio/Makefile (routines): Add vtables.
19322 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
19323 (_IO_init): Remove, not for internal use.
19324 (_IO_init_internal): Declare, internal replacement for _IO_init.
19325 (_IO_file_init): Remove, not for internal use.
19326 (_IO_new_file_init): Remove, not for internal use.
19327 (_IO_new_file_init_internal): Declare, internal replacement for
19328 _IO_new_file_init.
19329 (_IO_old_file_init): Remove, not for internal use.
19330 (_IO_old_file_init_internal): Declare, internal replacement for
19331 _IO_old_file_init.
19332 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
19333 internal use.
19334 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
19335 Declare.
19336 (libio_vtable): New macro.
19337 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
19338 functions.
19339 * libio/fileops.c (_IO_new_file_init_internal): Rename from
19340 _IO_new_file_init.
19341 (_IO_new_file_init): New externally visible wrapper which disables
19342 vtable verification.
19343 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
19344 Define as vtables.
19345 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
19346 (_IO_init): New externally visible wrapper which disables
19347 vtable verification.
19348 * libio/iofdopen.c (_IO_new_fdopen): Call
19349 _IO_new_file_init_internal instead of _IO_file_init. Adjust
19350 comment.
19351 * libio/iofopen.c (__fopen_internal): Call
19352 _IO_new_file_init_internal instead of _IO_file_init.
19353 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
19354 Define as vtables.
19355 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
19356 _IO_new_file_init_internal instead of _IO_file_init.
19357 * libio/iopopen.c (_IO_new_popen): Likewise.
19358 (_IO_proc_jumps): Define as vtable.
19359 * libio/iovdprintf.c (_IO_vdprintf): Call
19360 _IO_new_file_init_internal instead of _IO_file_init.
19361 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
19362 (__open_memstream): Call _IO_init_internal instead of _IO_init.
19363 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
19364 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
19365 _IO_old_file_init.
19366 (_IO_old_file_init): New externally visible wrapper which disables
19367 vtable verification.
19368 (_IO_old_file_jumps): Define as vtable.
19369 * libio/oldiofdopen.c (_IO_old_fdopen): Call
19370 _IO_old_file_init_internal instead of _IO_old_file_init.
19371 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19372 * libio/oldiopopen.c (_IO_old_popen): Likewise.
19373 (_IO_old_proc_jumps): Define as vtable.
19374 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
19375 Define as vtables.
19376 * libio/vtables.c: New file.
19377 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
19378 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
19379 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
19380 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
19381 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
19382 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
19383 instead of _IO_init.
19384
19385 2016-06-23 Florian Weimer <fweimer@redhat.com>
19386
19387 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
19388
19389 2016-06-23 Florian Weimer <fweimer@redhat.com>
19390
19391 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
19392 potentially unused.
19393
19394 2016-06-22 Florian Weimer <fweimer@redhat.com>
19395
19396 * test-skeleton.c (write_message): New function.
19397 * malloc/tst-mallocfork2.c (write_message): Remove.
19398 * debug/tst-longjmp_chk2.c (write_indented): New function.
19399 (write_message): Remove.
19400 (stackoverflow_handler): Call write_indented.
19401
19402 2016-06-22 Joseph Myers <joseph@codesourcery.com>
19403
19404 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
19405 "inexact" exceptions after fnstenv.
19406 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19407 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19408 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19409
19410 2015-06-22 Zack Weinberg <zackw@panix.com>
19411
19412 * sysdeps/generic/bits/hwcap.h: Moved to ...
19413 * bits/hwcap.h: Here.
19414
19415 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
19416
19417 * sysdeps/aarch64/memcpy.S (memcpy):
19418 Further tuning for performance.
19419
19420 2016-06-21 Florian Weimer <fweimer@redhat.com>
19421
19422 [BZ #20284]
19423 * malloc/arena.c (reused_arena): Do not return NULL if we start
19424 out with a non-corrupted arena.
19425
19426 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19427
19428 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
19429 * misc/tst-preadvwritev.c: New file.
19430 * misc/tst-preadvwritev64.c: Likewise.
19431 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
19432 usage.
19433 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
19434 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
19435 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
19436 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
19437
19438 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
19439
19440 [BZ #19654]
19441 * sysdeps/x86_64/fpu/Makefile: Added new tests.
19442 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
19443 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
19444 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
19445 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
19446 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
19447 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
19448 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
19449 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
19450 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
19451 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
19452 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
19453 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
19454 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
19455 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
19456 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
19457 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
19458 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
19459 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
19460 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
19461 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
19462 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
19463 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
19464 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
19465 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
19466 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
19467
19468 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
19469
19470 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
19471 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
19472
19473 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
19474
19475 * sysdeps/aarch64/memcpy.S (memcpy):
19476 Rewrite of optimized memcpy and memmove.
19477 * sysdeps/aarch64/memmove.S (memmove): Remove
19478 memmove code (merged into memcpy.S).
19479
19480 2016-06-20 Florian Weimer <fweimer@redhat.com>
19481
19482 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
19483 * sysdeps/generic/dl-dtv.h: New file.
19484 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19485 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
19486 (dtv_t): Remove.
19487 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19488 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
19489 (dtv_t): Remove.
19490 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19491 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
19492 (dtv_t): Remove.
19493 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19494 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
19495 (dtv_t): Remove.
19496 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19497 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
19498 (dtv_t): Remove.
19499 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19500 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
19501 (dtv_t): Remove.
19502 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19503 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
19504 (dtv_t): Remove.
19505 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
19506 (dtv_t): Remove.
19507 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19508 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
19509 (dtv_t): Remove.
19510 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19511 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
19512 (dtv_t): Remove.
19513 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19514 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
19515 (dtv_t): Remove.
19516 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19517 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
19518 (dtv_t): Remove.
19519 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19520 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
19521 (dtv_t): Remove.
19522 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19523 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
19524 (dtv_t): Remove.
19525 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19526 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
19527 (dtv_t): Remove.
19528 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19529 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
19530 (dtv_t): Remove.
19531
19532 2016-06-20 Florian Weimer <fweimer@redhat.com>
19533
19534 Revert symbol poisoning of __malloc_initialize_hook.
19535 * include/stdc-predef.h (__malloc_initialize_hook): Remove
19536 poisoning.
19537 * malloc/Makefile: Remove un-poisoning.
19538 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
19539 instead of old__malloc_initialize_hook.
19540 * malloc/malloc-hooks.h: Likewise.
19541 * malloc/malloc.c: Likewise.
19542 * malloc/mcheck-init.c: Likewise.
19543
19544 2016-06-19 Carlos O'Donell <carlos@redhat.com>
19545
19546 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
19547
19548 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
19549
19550 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
19551 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
19552 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19553 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19554
19555 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19556
19557 * NEWS: Mention addition of nextup and nextdown.
19558 * manual/arith.texi: Document nextup and nextdown.
19559 * manual/libm-err-tab.pl: Add nextup and nextdown.
19560 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
19561 * math/Versions (libm): Add GLIBC_2.24.
19562 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
19563 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
19564 Add new test.
19565 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
19566 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
19567 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
19568 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
19569 (nextup_test_data): Likewise.
19570 (nextdown_test_data): Likewise.
19571 * math/s_nextdown.c: New file.
19572 * math/s_nextdownf.c: Likewise.
19573 * math/s_nextdownl.c: Likewise.
19574 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
19575 F(nextup): New function.
19576 F(nextdown): Likewise.
19577 * math/tgmath.h: Add nextup and nextdown.
19578 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
19579 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
19580 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
19581 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
19582 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
19583 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
19584 Add nextup and nextdown.
19585 (CFLAGS-nldbl-nextup.c): New variable.
19586 (CFLAGS-nldbl-nextdown.c): Likewise.
19587 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
19588 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
19589 * sysdeps/nacl/libm.abilist: Update.
19590 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19591 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19592 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19593 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19594 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19595 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19596 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19597 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19598 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19599 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19600 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19601 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19604 Likewise.
19605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19607 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19608 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19609 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19610 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19611 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19612 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
19613 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
19614 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19615 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19616 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
19617 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19618
19619 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19620
19621 * manual/pattern.texi: Fix typos & grammar errors.
19622
19623 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19624
19625 * manual/search.texi: Fix typos & grammar errors.
19626
19627 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19628
19629 * manual/message.texi: Fix typos & grammar errors.
19630
19631 2016-06-16 Mike Frysinger <vapier@gentoo.org>
19632
19633 * manual/contrib.texi: Fix spelling typos.
19634 * manual/crypt.texi: Likewise.
19635 * manual/filesys.texi: Likewise.
19636 * manual/locale.texi: Likewise.
19637 * manual/message.texi: Likewise.
19638 * manual/nss.texi: Likewise.
19639 * manual/string.texi: Likewise.
19640
19641 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19642
19643 * manual/locale.texi: Fix typos & grammar errors.
19644
19645 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19646
19647 * manual/charset.texi: Fix typos & grammar errors.
19648
19649 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19650
19651 * manual/string.texi: Fix typos.
19652
19653 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19654
19655 * manual/ctype.texi: Fix typos.
19656
19657 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19658
19659 * manual/memory.texi: Fix various typos & grammar errors.
19660
19661 2016-06-14 Joseph Myers <joseph@codesourcery.com>
19662
19663 [BZ #20255]
19664 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
19665 * math/libm-test.inc (fdim_test_data): Add another test.
19666
19667 [BZ #6796]
19668 [BZ #20255]
19669 [BZ #20256]
19670 * math/s_fdim.c: Include <math_private.h>.
19671 (__fdim): Use math_narrow_eval on result.
19672 * math/s_fdimf.c: Include <math_private.h>.
19673 (__fdimf): Use math_narrow_eval on result.
19674 * sysdeps/i386/fpu/s_fdim.S: Remove file.
19675 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
19676 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
19677 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
19678 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
19679 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
19680 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
19681 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
19682 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
19683 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
19684 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
19685 * math/libm-test.inc (fdim_test_data): Expect errno setting on
19686 overflow. Add sNaN tests.
19687
19688 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
19689 fpclassify.
19690 * math/s_fdimf.c (__fdimf): Likewise.
19691 * math/s_fdiml.c (__fdiml): Likewise.
19692
19693 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19694
19695 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19696 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
19697 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19698 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
19699 ifunc'ed strcasecmp/strncasecmp.
19700 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
19701 [EALIGN]: Removed.
19702 [END]: Likewise.
19703 [__strcasecmp]: Define instead of the above to control symbol name.
19704 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
19705 for __strcasecmp_power8.
19706 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
19707 for __strncasecmp_power8.
19708 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
19709 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
19710 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
19711 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
19712 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
19713 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
19714
19715 2016-06-13 Joseph Myers <joseph@codesourcery.com>
19716
19717 [BZ #20252]
19718 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
19719 arguments when second argument is a NaN.
19720 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
19721 qNaN tests.
19722
19723 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
19724 (conj_test_data): Likewise.
19725 (copysign_test_data): Likewise.
19726 (creal_test_data): Likewise.
19727 (fma_test_data): Likewise.
19728 (fmod_test_data): Likewise.
19729
19730 [BZ #20250]
19731 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
19732 itself.
19733 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
19734 zero input to itself.
19735 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
19736 Likewise.
19737 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
19738 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
19739 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19740 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
19741 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
19742
19743 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19744
19745 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
19746 * nptl/tst-cancel4-common.c: New file.
19747 * nptl/tst-cancel4-common.h: Likewise.
19748 * nptl/tst-cancel4.c: Move common definitions to
19749 tst-cancel4-common.{c,h} file.
19750 * nptl/tst-cancel4_1.c: New test.
19751 * nptl/tst-cancel4_2.c: New test.
19752
19753 2016-06-13 Florian Weimer <fweimer@redhat.com>
19754
19755 [BZ #20248]
19756 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
19757 (write_message): New function.
19758 (stackoverflow_handler): Call it instead of printf, to avoid
19759 excessive stack usage by printf.
19760 (do_test): Restore SIGSEGV, SIGBUS default handlers.
19761
19762 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19763
19764 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
19765 (prio_inherit_missing): Remove define.
19766 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19767 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19768 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
19769 Likewise.
19770 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19771 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19772 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19773 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19774 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19775 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19776
19777 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
19778
19779 [BZ #19670]
19780 [BZ #19672]
19781
19782 * io/test-lfs.c (do_prepare): Use xmalloc.
19783 * io/tst-fcntl.c (do_prepare): Likewise.
19784 * libio/tst-fopenloc.c (do_bz17916): Likewise.
19785 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
19786 * login/tst-utmp.c (do_prepare): Likewise.
19787 * posix/tst-exec.c (do_prepare): Likewise.
19788 * posix/tst-pathconf.c (prepare): Likewise.
19789 * posix/tst-spawn.c (do_prepare): Likewise.
19790 * posix/tst-truncate.c (do_prepare): Likewise.
19791 * rt/tst-aio.c (do_prepare): Likewise.
19792 * rt/tst-aio64.c (do_prepare): Likewise.
19793
19794 2016-06-11 Florian Weimer <fweimer@redhat.com>
19795
19796 [BZ #20237]
19797 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
19798 (get*ent): Set entidx to NULL during initialization. If entidx is
19799 NULL, start iteration from the beginning.
19800
19801 2016-06-11 Florian Weimer <fweimer@redhat.com>
19802
19803 * malloc/malloc.c (musable): Return correct size for dumped fake
19804 mmapped chunk.
19805
19806 2016-06-11 Florian Weimer <fweimer@redhat.com>
19807
19808 [BZ #20222]
19809 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
19810 (_IO_cookie_write): Likewise.
19811 (_IO_cookie_seek): Likewise.
19812 (_IO_cookie_close): Likewise.
19813 (_IO_old_cookie_seek): Likewise.
19814 (set_callbacks): New function.
19815 (_IO_cookie_init): Call set_callbacks to copy callbacks.
19816
19817 2016-06-11 Marko Myllynen <myllynen@redhat.com>
19818
19819 * locale/programs/localedef.c (oldstyle_tables): Remove.
19820 * locale/programs/localedef.h (oldstyle_tables): Likewise.
19821
19822 2016-06-10 Joseph Myers <joseph@codesourcery.com>
19823
19824 [BZ #20240]
19825 * math/Makefile (CFLAGS-s_modf.c): New variable.
19826 (CFLAGS-s_modff.c): Likewise.
19827 (CFLAGS-s_modfl.c): Likewise.
19828 * math/libm-test.inc (modf_test_data): Add sNaN tests.
19829
19830 2016-06-09 Carlos O'Donell <carlos@redhat.com>
19831
19832 [BZ #20215]
19833 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
19834 [!__GNUC_PREREQ (3,2)]: Likewise.
19835
19836 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
19837
19838 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
19839 (msghdr.msg_controllen): Likewise.
19840 (cmsghdr.cmsg_len): Likewise.
19841 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
19842 ptw-oldsendmsg.
19843 (CFLAGS-oldrecvmsg.c): Remove rule.
19844 (CFLAGS-oldsendmsg.c): Likewise.
19845 (CFLAGS-recvmsg.c): Add rule.
19846 (CFLAGS-sendmsg.c): Likewise.
19847 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
19848 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
19849 (CFLAGS-recvmsg.c): Remove rule.
19850 (CFLAGS-sendmsg.c): Likewise.
19851 (CFLAGS-oldrecvmsg.c): Likewise.
19852 (CFLAGS-oldsendmsg.c): Likewise.
19853 (CFLAGS-recvmmsg.c): Likewise.
19854 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
19855 to kernel defined interfaces.
19856 (msghdr.msg_controllen): Likewise.
19857 (cmsghdr.cmsg_len): Likewise.
19858 (msghdr.__glibc_reserved1): Remove member.
19859 (msghdr.__glibc_reserved2): Likewise.
19860 (cmsghdr.__glibc_reserved1): Likewise.
19861 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
19862 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
19863 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
19864 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
19865 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
19866 version.
19867 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
19868 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
19869 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
19870 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
19871 Remove recvmsg and sendmsg.
19872 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
19873 Likewise.
19874 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
19875 Likewise.
19876 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
19877 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
19878 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
19879 Likewise.
19880 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
19881 Likewise.
19882 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
19883 [libc] (GLIBC_2.24): Likewise.
19884 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
19885 Likewise.
19886 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
19887 Likewise.
19888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19889 [libc] (GLIBC_2.24): Likewise.
19890 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
19891 Likewise.
19892 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
19893 Likewise.
19894 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
19895 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
19896 Likewise.
19897 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
19898 Likewise.
19899 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
19900 Likewise.
19901 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
19902 Likewise.
19903 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
19904 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
19905 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
19906 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
19907 version for {recv,send,recm,sendm}msg.
19908 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19909 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19910 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19911 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19912 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19913 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19914 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19915 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19916 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19917 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
19918 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19919 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19921 Likewise.
19922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19923 Likewise.
19924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19926 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19927 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19928 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19929 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19930 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19931 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19932 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
19933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
19934 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19935 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19936 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19937
19938 2016-06-10 Florian Weimer <fweimer@redhat.com>
19939
19940 [BZ #19564]
19941 Remove __malloc_initialize_hook from the API.
19942 * malloc/malloc.h (__malloc_initialize_hook): Remove.
19943 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
19944 #pragma GCC poison.
19945 * malloc/malloc-hooks.h: New file.
19946 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
19947 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
19948 (old__malloc_initialize_hook): Rename from
19949 __malloc_initialize_hook to evade poisoning. Turn into compat
19950 symbol.
19951 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
19952 __malloc_initialize_hook.
19953 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
19954 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
19955 * manual/memory.texi (Hooks for Malloc): Remove
19956 __malloc_initialize_hook. Adjust hook example.
19957
19958 2016-06-09 Joseph Myers <joseph@codesourcery.com>
19959
19960 [BZ #20235]
19961 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
19962 itself.
19963 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
19964 * math/libm-test.inc (log2_test_data): Add sNaN tests.
19965
19966 [BZ #20234]
19967 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
19968 infinity or NaN input to itself.
19969
19970 [BZ #20233]
19971 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
19972 to itself.
19973
19974 [BZ #20232]
19975 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
19976 itself.
19977
19978 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
19979
19980 * sysdeps/x86_64/start.S (_start): Always indirect branch to
19981 __libc_start_main via GOT.
19982
19983 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
19984
19985 * sysdeps/x86_64/memcopy.h: New file.
19986 * sysdeps/x86_64/wordcopy.c: Likewise.
19987
19988 2016-06-09 Florian Weimer <fweimer@redhat.com>
19989
19990 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
19991 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
19992 <cstdlib>.
19993 (optimization_barrier): New.
19994 (do_test): Use it. Call quick_exit in the global namespace.
19995 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
19996 instead of <cstdlib>, <thread>.
19997 (optimization_barrier): New.
19998 (non_main_thread): Adjust declaration. Call optimization_barrier.
19999 Call quick_exit in the global namespace.
20000 (do_test): Call optimization_barrier. Use pthread_create,
20001 pthread_join instead of std::thread.
20002
20003 2016-06-09 Andreas Schwab <schwab@suse.de>
20004
20005 [BZ #19755]
20006 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
20007 new entries in auto-propagate mode.
20008 * nscd/grpcache.c (cache_addgr): Likewise.
20009
20010 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
20011
20012 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
20013 New functions.
20014 (add_temp_file): Use them.
20015
20016 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
20017
20018 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
20019
20020 2016-06-08 Joseph Myers <joseph@codesourcery.com>
20021
20022 [BZ #20229]
20023 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
20024 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
20025 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
20026
20027 [BZ #20228]
20028 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
20029 itself.
20030 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20031 * math/libm-test.inc (log10_test_data): Add sNaN tests.
20032
20033 [BZ #20227]
20034 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
20035 itself.
20036 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20037 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
20038 * math/libm-test.inc (log_test_data): Add sNaN tests.
20039
20040 [BZ #20226]
20041 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
20042 itself.
20043 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20044 * math/libm-test.inc (exp_test_data): Add sNaN tests.
20045 (exp10_test_data): Likewise.
20046 (expm1_test_data): Likewise.
20047
20048 [BZ #20225]
20049 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
20050 itself.
20051 * math/s_ldexpf.c (__ldexpf): Likewise.
20052 * math/s_ldexpl.c (__ldexpl): Likewise.
20053 * math/w_scalbln.c (__w_scalbln): Likewise.
20054 * math/w_scalblnf.c (__w_scalblnf): Likewise.
20055 * math/w_scalblnl.c (__w_scalblnl): Likewise.
20056 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
20057 (scalbln_test_data): Likewise.
20058
20059 [BZ #20224]
20060 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
20061 argument to itself.
20062 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
20063
20064 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
20065
20066 [BZ #19776]
20067 * sysdeps/x86_64/memcpy.S: Make it dummy.
20068 * sysdeps/x86_64/mempcpy.S: Likewise.
20069 * sysdeps/x86_64/memmove.S: New file.
20070 * sysdeps/x86_64/memmove_chk.S: Likewise.
20071 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
20072 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
20073 * sysdeps/x86_64/memmove.c: Removed.
20074 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20075 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20076 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
20077 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
20078 Likewise.
20079 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20080 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20081 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20082 memcpy-sse2-unaligned, memmove-avx-unaligned,
20083 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
20084 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20085 (__libc_ifunc_impl_list): Replace
20086 __memmove_chk_avx512_unaligned_2 with
20087 __memmove_chk_avx512_unaligned. Remove
20088 __memmove_chk_avx_unaligned_2. Replace
20089 __memmove_chk_sse2_unaligned_2 with
20090 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
20091 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
20092 with __memmove_avx512_unaligned. Replace
20093 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
20094 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
20095 with __memcpy_chk_avx512_unaligned. Remove
20096 __memcpy_chk_avx_unaligned_2. Replace
20097 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
20098 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
20099 Replace __memcpy_avx512_unaligned_2 with
20100 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
20101 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
20102 with __mempcpy_chk_avx512_unaligned. Remove
20103 __mempcpy_chk_avx_unaligned_2. Replace
20104 __mempcpy_chk_sse2_unaligned_2 with
20105 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
20106 Replace __mempcpy_avx512_unaligned_2 with
20107 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
20108 Replace __mempcpy_sse2_unaligned_2 with
20109 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
20110 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
20111 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
20112 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
20113 if processor has ERMS. Default to __memcpy_sse2_unaligned.
20114 (ENTRY): Removed.
20115 (END): Likewise.
20116 (ENTRY_CHK): Likewise.
20117 (libc_hidden_builtin_def): Likewise.
20118 Don't include ../memcpy.S.
20119 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
20120 __memcpy_chk_avx512_unaligned_erms and
20121 __memcpy_chk_avx512_unaligned. Use
20122 __memcpy_chk_avx_unaligned_erms and
20123 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20124 Default to __memcpy_chk_sse2_unaligned.
20125 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
20126 Change function suffix from unaligned_2 to unaligned.
20127 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
20128 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
20129 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
20130 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
20131 (ENTRY): Removed.
20132 (END): Likewise.
20133 (ENTRY_CHK): Likewise.
20134 (libc_hidden_builtin_def): Likewise.
20135 Don't include ../mempcpy.S.
20136 (mempcpy): New. Add a weak alias.
20137 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
20138 __mempcpy_chk_avx512_unaligned_erms and
20139 __mempcpy_chk_avx512_unaligned. Use
20140 __mempcpy_chk_avx_unaligned_erms and
20141 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20142 Default to __mempcpy_chk_sse2_unaligned.
20143
20144 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
20145
20146 [BZ #19881]
20147 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
20148 into ...
20149 * sysdeps/x86_64/memset.S: This.
20150 (__bzero): Removed.
20151 (__memset_tail): Likewise.
20152 (__memset_chk): Likewise.
20153 (memset): Likewise.
20154 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
20155 defined.
20156 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
20157 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
20158 (__memset_zero_constant_len_parameter): Check SHARED instead of
20159 PIC.
20160 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20161 memset-avx2 and memset-sse2-unaligned-erms.
20162 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20163 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
20164 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
20165 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
20166 (__bzero): Enabled.
20167 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
20168 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
20169 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
20170 or __memset_avx2_unaligned_erms if processor has ERMS. Support
20171 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
20172 (memset): Removed.
20173 (__memset_chk): Likewise.
20174 (MEMSET_SYMBOL): New.
20175 (libc_hidden_builtin_def): Replace __memset_sse2 with
20176 __memset_sse2_unaligned.
20177 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
20178 __memset_chk_sse2 and __memset_chk_avx2 with
20179 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
20180 Use __memset_chk_sse2_unaligned_erms or
20181 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
20182 __memset_chk_avx512_unaligned_erms and
20183 __memset_chk_avx512_unaligned.
20184
20185 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20186
20187 * math/gen-auto-libm-test.c (fp_format_desc): remove
20188 suffix member.
20189 (output_generic_value): Remove usage of suffix member,
20190 and the resulting unuse of the fp_format argument.
20191 (output_for_one_input_case): Remove unused fp_format
20192 parameter.
20193
20194 * math/auto-libm-test-out: Regenerate.
20195
20196 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
20197 usage with TEST_COND_ibm128.
20198 (TEST_COND_flt_32): Remove.
20199 (TEST_COND_dbl_64): Remove.
20200 (TEST_COND_ldbl_96_intel): Remove.
20201 (TEST_COND_ldbl_96_m68k): Remove.
20202 (TEST_COND_ldbl_128): Remove.
20203
20204 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20205
20206 * auto-libm-test-in:
20207 Replace flt-32 usage with binary32.
20208 Replace dbl-64 usage with binary64.
20209 Replace ldbl-intel-96 usage with intel96.
20210 Replace ldbl-m68k-96 usage with m68k96.
20211 Replace ldbl-128ibm usage with ibm128.
20212 Replace ldbl-128 usage with binary128.
20213
20214 * auto-libm-test-out: Regenerate.
20215
20216 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20217
20218 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
20219 (parse_ulps): Dynamically generate type name matching
20220 string from all_floats.
20221 (get_ulps): Generate the ulps as an array instead.
20222 (output_ulps): Dynamically compose the type based
20223 on the number of supported formats, and print
20224 the indices as type specific helper macros.
20225
20226 * math/libm-test.inc: Remove comment about CHOOSE.
20227 (ulp_data): Generate the type in libm-test-ulps.h.
20228 (ULP_IDX): New macro.
20229 (find_ulps): Update usage of max_ulp.
20230
20231 * math/test-double-vlen2.h (CHOOSE): Remove.
20232 * math/test-double-vlen4.h (CHOOSE): Likewise.
20233 * math/test-double-vlen8.h (CHOOSE): Likewise.
20234 * math/test-float.c (CHOOSE): Likewise.
20235 * math/test-float-finite.c (CHOOSE): Likewise.
20236 * math/test-double.c (CHOOSE): Likewise.
20237 * math/test-double-finite.c (CHOOSE): Likewise.
20238 * math/test-idouble.c (CHOOSE): Likewise.
20239 * math/test-ifloat.c (CHOOSE): Likewise.
20240 * math/test-ildoubl.c (CHOOSE): Likewise.
20241 * math/test-ldouble-finite.c (CHOOSE): Likewise.
20242 * math/test-ldouble.c (CHOOSE): Likewise.
20243
20244 * math/test-float.h (TEST_FLOAT): Remove.
20245 * math/test-double.h (TEST_DOUBLE): Likewise.
20246 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
20247
20248 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20249
20250 * math/gen-libm-test.pl: (apply_lit): New subroutine.
20251 (parse_args): Strip C suffix from floating point literals
20252 typed with 'f' and wrap them with LIT().
20253
20254 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
20255 (test_ff_f_data_nexttoward): Rename to
20256 (test_fj_f_data): New struct.
20257 (nexttoward_test_data): Relabel tests as
20258 TEST_fj_f instead of TEST_ff_f.
20259
20260 2016-06-08 Florian Weimer <fweimer@redhat.com>
20261
20262 Emacs bug 23726.
20263 * malloc/malloc.c (dumped_main_arena_start): Update comment.
20264 (__libc_realloc): Correct size computation for dumped fake mmapped
20265 chunks.
20266
20267 2016-06-07 Joseph Myers <joseph@codesourcery.com>
20268
20269 [BZ #20219]
20270 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
20271 to itself.
20272 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
20273
20274 [BZ #20218]
20275 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
20276 to itself.
20277 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
20278
20279 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
20280
20281 [BZ #20195]
20282 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
20283 check to ...
20284 (init_cpu_features): Here.
20285
20286 2016-06-07 Carlos O'Donell <carlos@redhat.com>
20287
20288 [BZ #20214]
20289 * sysdeps/unix/sysv/linux/bits/in.h
20290 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20291 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
20292 Define to 1.
20293 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20294 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
20295 Define to 0.
20296 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
20297 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
20298
20299 2016-06-06 Carlos O'Donell <carlos@redhat.com>
20300
20301 [BZ #20198]
20302 * stdlib/Makefile (tests): Add tst-quick_exit, and
20303 tst-thread-quick_exit.
20304 [ifeq ($(have-cxx-thread_local),yes)]
20305 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
20306 (CFLAGS-tst-thread-quick_exit.o): Likewise.
20307 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
20308 (LDLIBS-tst-thread-quick_exit): Likewise.
20309 [ifneq ($(have-cxx-thread_local),yes)]
20310 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
20311 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
20312 If run_dtors is true call __call_tls_dtors.
20313 (exit): Call __run_exit_handlers with run_dtors set to true.
20314 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
20315 definition.
20316 * stdlib/quick_exit.c (quick_exit): Remove function.
20317 (__new_quick_exit): New function.
20318 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
20319 function.
20320 * stdlib/tst-quick_exit.cc: New file.
20321 * stdlib/tst-thread-quick_exit.cc: New file.
20322 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
20323 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
20324 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
20325 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
20326 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
20327 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
20328 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
20329 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
20330 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
20331 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
20332 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
20333 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
20334 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
20335 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
20336 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
20337 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
20338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
20339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
20340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
20341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
20342 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
20343 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
20344 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
20345 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
20346 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
20347 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
20348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
20349 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
20350 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
20351 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
20352
20353 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
20354
20355 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
20356 a typo in comments.
20357
20358 2016-06-06 Joseph Myers <joseph@codesourcery.com>
20359
20360 [BZ #20213]
20361 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
20362 argument to itself.
20363 * math/libm-test.inc (asin_test_data): Add sNaN tests.
20364
20365 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20366
20367 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
20368 required flags.
20369 (CFLAGS-pwritev64.c): Likewise.
20370 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
20371 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
20372 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
20373 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20374 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
20375 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
20376 syscall from auto-generation.
20377 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
20378 [WORDSIZE == 64] (pwritev64): Remove macro.
20379 [!PWRITEV] (PWRITEV): Likewise.
20380 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20381 [!PWRITEV] (PWRITE): Likewise.
20382 [!PWRITEV] (OFF_T): Likewise.
20383 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20384 (LO_HI_LONG): Remove macro.
20385 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
20386 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
20387 (PWRITEV): Remove macro.
20388 (PWRITEV_REPLACEMENTE): Likewise.
20389 (PWRITE): Likewise.
20390 (OFF_T): Likewise.
20391 (pwritev64): New function.
20392 * nptl/tst-cancel4.c (tf_writev): Add test.
20393
20394 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
20395 required flags.
20396 (CFLAGS-preadv64.c): Likewise.
20397 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
20398 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
20399 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
20400 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
20401 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
20402 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
20403 syscall from auto-generation.
20404 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
20405 [WORDSIZE == 64] (preadv64): Remove macro.
20406 [!PREADV] (PREADV): Likewise.
20407 [!PREADV] (PREADV_REPLACEMENT): Likewise.
20408 [!PREADV] (PREAD): Likewise.
20409 [!PREADV] (OFF_T): Likewise.
20410 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
20411 (LO_HI_LONG): Remove macro.
20412 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
20413 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
20414 (PREADV): Remove macro.
20415 (PREADV_REPLACEMENTE): Likewise.
20416 (PREAD): Likewise.
20417 (OFF_T): Likewise.
20418 (preadv64): New function.
20419 * nptl/tst-cancel4.c (tf_preadv): Add test.
20420
20421 2016-06-06 Joseph Myers <joseph@codesourcery.com>
20422
20423 [BZ #20212]
20424 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
20425 argument to itself.
20426 * math/libm-test.inc (acos_test_data): Add sNaN tests.
20427
20428 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20429
20430 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
20431 New symbol defined as libc_hidden_def.
20432 (strcasestr): Became a weak alias to __strcasestr.
20433 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
20434 according to multi-arch support. Move __stpncpy hidden
20435 definition from here to...
20436 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
20437 symbol stpncpy.
20438 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
20439 libc_hidden_builtin_def.
20440 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
20441 memset symbol to use when multi-arch support is available.
20442
20443 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
20444
20445 * dlfcn/tst-rec-dlopen.c: Include string.h.
20446
20447 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20448
20449 * manual/install.texi: Remove mention of --without-tls
20450 * INSTALL: Regenerate.
20451
20452 2016-06-05 Florian Weimer <fweimer@redhat.com>
20453
20454 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
20455 Remove.
20456 (call_function, interposed_malloc_called): New variables.
20457 (malloc): New function.
20458 (do_test): Do not change malloc hooks. Initialize malloc. Set
20459 and clear call_function as needed.
20460
20461 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
20462
20463 * include/wchar.h (__wmemset): Use __typeof.
20464
20465 2016-06-03 Carlos O'Donell <carlos@redhat.com>
20466
20467 * include/wchar.h (__wmemset): Declare function without typeof.
20468
20469 2016-06-03 Joseph Myers <joseph@codesourcery.com>
20470
20471 [BZ #20205]
20472 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
20473 exponent when incrementing negative subnormal with low mantissa
20474 word zero.
20475 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
20476 Add another test.
20477
20478 2016-06-03 Florian Weimer <fweimer@redhat.com>
20479
20480 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
20481 __wmemset instead of wmemset.
20482
20483 2016-06-02 Carlos O'Donell <carlos@redhat.com>
20484
20485 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
20486 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
20487 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
20488 __USE_KERNEL_IPV6_DEFS to 0.
20489 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
20490 Update comment.
20491
20492 2016-06-01 Florian Weimer <fweimer@redhat.com>
20493
20494 [BZ #19861]
20495 Do not use IFUNC resolver with potentially unrelocated symbol.
20496 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
20497 (DEFINE_FORK): Remove macro and inline definition.
20498 (fork_alias): Renamed from fork_ifunc.
20499 (__fork_alias): Renamed from __fork_ifunc.
20500
20501 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
20502
20503 [BZ 19653]
20504 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
20505 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
20506
20507 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20508
20509 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
20510 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
20511 i386-linux-gnu).
20512 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
20513 Set to no.
20514 * sysdeps/mach/hurd/configure: Refresh.
20515
20516 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20517
20518 [BZ #20178]
20519 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
20520 on failure instead of exit.
20521
20522 2016-05-30 Roland McGrath <roland@hack.frob.com>
20523
20524 [BZ #3629]
20525 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
20526 of POSIX.1-2008.
20527
20528 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20529
20530 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
20531 Use PLT entry for calling _hurd_self_sigstate.
20532
20533 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
20534
20535 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
20536 available logical processors with SMT level type sharing L2
20537 cache for Intel processors.
20538
20539 2016-05-27 Joseph Myers <joseph@codesourcery.com>
20540
20541 [BZ #20160]
20542 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
20543 argument to itself before returning the result.
20544 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
20545 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
20546 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
20547 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
20548 Likewise.
20549 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
20550 Likewise.
20551 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
20552 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
20553 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
20554 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
20555 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
20556 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
20557
20558 [BZ #20160]
20559 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
20560 argument to itself before returning the result.
20561 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
20562 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
20563 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
20564 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
20565 Likewise.
20566 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20567 Likewise.
20568 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
20569 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
20570 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
20571 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
20572 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
20573 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
20574
20575 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20576
20577 * libm-test.inc: Replace usage of M_El with
20578 (lit_e): New macro.
20579
20580 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20581
20582 * libm-test.inc: Replace usage of M_PI_4l with
20583 (lit_pi_4_d): New macro.
20584
20585 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20586
20587 * libm-test.inc: Replace usage of M_PIl with
20588 (lit_pi): New macro.
20589
20590 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20591
20592 * libm-test.inc: Replace usage of M_PI2l with
20593 (lit_pi_2_d): New macro.
20594
20595 * math/test-double.h (LITM): New macro.
20596 * math/test-float.h (LITM): Likewise.
20597 * math/test-ldouble.h (LITM): Likewise.
20598
20599 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20600
20601 * libm-test.inc (M_PI_34l): Rename to
20602 (lit_pi_3_m_4_d): New Macro.
20603 (M_PI_34_LOG10El): Rename to
20604 (lit_pi_3_m_4_ln10_m_d): New Macro.
20605 (M_PI2_LOG10El): Rename to
20606 (lit_pi_2_ln10_m_d): New Macro.
20607 (M_PI4_LOG10El): Rename to
20608 (lit_pi_4_ln10_m_d): New Macro.
20609 (M_PI_LOG10El): Rename to
20610 (lit_pi_ln10_d): New Macro.
20611
20612 2016-05-27 Joseph Myers <joseph@codesourcery.com>
20613
20614 [BZ #20157]
20615 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
20616 determine whether to negate low half if [_ARCH_PPCGR], and integer
20617 comparison otherwise.
20618 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
20619 determine whether to negate low half.
20620
20621 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
20622 (NO_TEST_INLINE_DOUBLE): Likewise.
20623 (TEST_COND_x86_64): Likewise.
20624 (TEST_COND_x86): Likewise.
20625 (M_PI_6l): Likewise.
20626
20627 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20628
20629 * math/libm-test.inc:
20630 (TEST_FLOAT): Change usage to TEST_COND_binary32.
20631 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
20632 (TEST_LDOUBLE): Update usage to evaluate as true if
20633 the guarded tests match the property being tested.
20634 (LDBL_MAX_EXP): Change to MAX_EXP.
20635 (LDBL_MIN_EXP): Change to MIN_EXP.
20636 (LDBL_MANT_DIG): Change to MANT_DIG, except for
20637 nexttoward tests.
20638
20639 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20640
20641 * math/libm-test.inc:
20642 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
20643 (TYPE_MIN): Likewise.
20644 (TYPE_TRUE_MIN): Likewise.
20645 (TYPE_MAX): Likewise.
20646 (MIN_EXP): Likewise.
20647 (MAX_EXP): Likewise.
20648 (MANT_DIG): Likewise.
20649
20650 (FSTR_MAX): New macro.
20651 (__CONCATX): Likewise.
20652 (QTYPE_STR): Likewise.
20653 (TEST_COND_binary32): Likewise.
20654 (TEST_COND_binary64): Likewise.
20655 (TEST_COND_binary128): Likewise.
20656 (TEST_COND_ibm128): Likewise.
20657 (TEST_COND_intel96): Likewise.
20658 (TEST_COND_m68k96): Likewise.
20659
20660 (TEST_COND_flt_32): Redefine as equivalent format test macro.
20661 (TEST_COND_dbl_64): Likewise.
20662 (TEST_COND_ldbl_96_intel): Likewise.
20663 (TEST_COND_ldbl_96_m68k): Likewise.
20664 (TEST_COND_ldbl_128): Likewise.
20665 (TEST_COND_ldbl_128ibm): Likewise.
20666
20667 (plus_zero): Redefine using LIT macro.
20668 (minus_zero): Likewise.
20669 (plus_infty): Redefine as (INF).
20670 (minux_infty): Redefine as (-INF).
20671 (max_value): Redefine as TYPE_MAX.
20672 (min_value): Redefine as TYPE_MIN.
20673 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
20674
20675 (print_float): Refactor to use snprintf to convert FLOAT values
20676 to string. This brings it closer to dropin replacement of strtof
20677 for the TS 18661 defined types.
20678 (update_stats): Likewise.
20679 (print_complex_function_ulps): Likewise.
20680 (print_max_error): Likewise.
20681 (print_complex_max_error): Likewise.
20682 (check_float_internal): Likewise.
20683
20684 * math/test-float.h (PREFIX): New macro.
20685 (LIT): Likewise.
20686 (TYPE_STR): Likewise.
20687 (FTOSTR): Likewise.
20688
20689 * math/test-double.h (PREFIX): New macro.
20690 (LIT): Likewise.
20691 (TYPE_STR): Likewise.
20692 (FTOSTR): Likewise.
20693
20694 * math/test-ldouble.h (PREFIX): New macro.
20695 (LIT): Likewise.
20696 (TYPE_STR): Likewise.
20697 (FTOSTR): Likewise.
20698
20699 2016-05-27 Joseph Myers <joseph@codesourcery.com>
20700
20701 [BZ #20156]
20702 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
20703 to itself when zero or not finite.
20704 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
20705 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20706 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
20707 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
20708
20709 2016-05-26 Joseph Myers <joseph@codesourcery.com>
20710
20711 [BZ #20153]
20712 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
20713 x * x + x for infinities and NaNs.
20714
20715 [BZ #20151]
20716 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
20717 argument to itself before returning result.
20718 (__ieee754_y0l): Likewise.
20719 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20720 (__ieee754_y1l).
20721
20722 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
20723 (atan_test_data): Likewise.
20724 (ceil_test_data): Likewise.
20725 (cos_test_data): Likewise.
20726 (cosh_test_data): Likewise.
20727 (erf_test_data): Likewise.
20728 (exp2_test_data): Likewise.
20729 (fabs_test_data): Likewise.
20730 (floor_test_data): Likewise.
20731 (ilogb_test_data): Likewise.
20732 (j0_test_data): Likewise.
20733 (j1_test_data): Likewise.
20734 (jn_test_data): Likewise.
20735 (lgamma_test_data): Likewise.
20736 (lrint_test_data): Likewise.
20737 (llrint_test_data): Likewise.
20738 (logb_test_data): Likewise.
20739 (lround_test_data): Likewise.
20740 (llround_test_data): Likewise.
20741 (nearbyint_test_data): Likewise.
20742 (rint_test_data): Likewise.
20743 (round_test_data): Likewise.
20744 (sin_test_data): Likewise.
20745 (sincos_test_data): Likewise.
20746 (sinh_test_data): Likewise.
20747 (sqrt_test_data): Likewise.
20748 (tan_test_data): Likewise.
20749 (tanh_test_data): Likewise.
20750 (tgamma_test_data): Likewise.
20751 (trunc_test_data): Likewise.
20752 (y0_test_data): Likewise.
20753 (y1_test_data): Likewise.
20754 (yn_test_data): Likewise.
20755
20756 * math/libm-test.inc: Update comment about NaN testing.
20757 (TEST_SNAN): New macro.
20758 (snan_value): Likewise.
20759 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
20760 (fpclassify_test_data): Add sNaN tests.
20761 (isfinite_test_data): Likewise.
20762 (isinf_test_data): Likewise.
20763 (isnan_test_data): Likewise.
20764 (isnormal_test_data): Likewise.
20765 (issignaling_test_data): Likewise.
20766 (signbit_test_data): Likewise.
20767 * math/gen-libm-test.pl (%beautify): Add snan_value.
20768 (show_exceptions): Add argument $test_snan.
20769 (parse_args): Handle snan_value as non-finite. Update call to
20770 show_exceptions.
20771 * math/Makefile (libm-test-no-inline-cflags): Add
20772 -fsignaling-nans.
20773
20774 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20775
20776 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
20777 (CFLAGS-oldsendmsg.c): Add rule.
20778 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
20779 Correct recvmsg symbol name.
20780 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
20781 Likewise.
20782
20783 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20784
20785 * sysdeps/unix/sysv/linux/Makefile
20786 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
20787 oldsendmmsg.
20788 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
20789 sendmmsg.
20790 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20791 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20792 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20793 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20795 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20796 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20797 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20798 Likewise.
20799 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20800 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
20801 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
20802 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
20803 iovlen and controllen fields to adjust to POSIX specification.
20804 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
20805
20806 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
20807 and change to correct expected type.
20808 (msghdr.msg_controllen): Likewise.
20809 (cmsghdr.cmsg_len): Likewise.
20810 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
20811 expected POSIX assumption about the size.
20812 (msghdr.msg_controllen): Likewise.
20813 (msghdr.__glibc_reserved1): Likewise.
20814 (msghdr.__glibc_reserved2): Likewise.
20815 (cmsghdr.cmsg_len): Likewise.
20816 (cmsghdr.__glibc_reserved1): Likewise.
20817 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
20818 Add ptw-oldrecvmsg and ptw-oldsendmsg.
20819 (CFLAGS-sendmsg.c): Remove rule.
20820 (CFLAGS-recvmsg.c): Likewise.
20821 (CFLAGS-oldsendmsg.c): Add rule.
20822 (CFLAGS-oldrecvmsg.c): Likewise.
20823 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
20824 recvmsg and sendmsg.
20825 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
20826 Likewise.
20827 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
20828 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
20829 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
20830 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
20831 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
20832 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
20833 Likewise.
20834 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
20835 Likewise.
20836 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
20837 Likewise.
20838 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
20839 Likewise.
20840 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
20841 Likewise.
20842 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
20843 Likewise.
20844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
20845 (GLIBC_2.24): Likewise.
20846 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
20847 Likewise.
20848 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
20849 Likewise.
20850 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
20851 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
20852 Likewise.
20853 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
20854 Likewise.
20855 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
20856 Likewise.
20857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
20858 (GLIBC_2.24): Likewise.
20859 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
20860 Likewise.
20861 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
20862 Likewise.
20863 * sysdeps/unix/sysv/linux/Makefile
20864 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
20865 (CFLAGS-sendmsg.c): Add rule.
20866 (CFLAGS-recvmsg.c): Likewise.
20867 (CFLAGS-oldsendmsg.c): Likewise.
20868 (CFLAGS-oldrecvmsg.c): Likewise.
20869 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
20870 initialization.
20871 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
20872 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
20873 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
20874 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
20875 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
20876 iovlen and controllen fields to adjust to POSIX specification.
20877 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
20878 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
20879 added recvmsg and sendmsg.
20880 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20881 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20882 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20883 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20884 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20885 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20886 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20887 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20888 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20889 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20890 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20891 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
20892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20893 Likewise.
20894 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
20895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20896 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20897 Likewise.
20898 Likewise.
20899 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20900 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20901 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20902 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20903 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20904 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20905 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20906 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20907 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20908 Likewise.
20909 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20910 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20911
20912 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
20913 from auto-generation.
20914 (sendmsg): Likewise.
20915 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
20916 (sendmsg): Likewise.
20917 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
20918 (sendmsg): Likewise.
20919 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
20920 (sendmsg): Likewise.
20921 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
20922 (sendmsg): Likewise.
20923 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
20924 (sendmsg): Likewise.
20925 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
20926 Likewise.
20927 (sendmsg): Likewise.
20928 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
20929 (sendmsg): Likewise.
20930 * sysdeps/unix/sysv/linux/i386/kernel-features.h
20931 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20932 Remove.
20933 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20934 Likewise.
20935 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20936 Undefine.
20937 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20938 Likewise.
20939 * sysdeps/unix/sysv/linux/kernel-features.h
20940 (__ASSUME_SENDMSG_SYSCALL): Define.
20941 (__ASSUME_RECVMSG_SYSCALL): Likewise.
20942 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20943 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20944 Remove.
20945 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20946 Likewise.
20947 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20948 Undefine.
20949 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20950 Likewise.
20951 * sysdeps/unix/sysv/linux/s390/kernel-features.h
20952 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20953 Remove.
20954 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20955 Likewise.
20956 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20957 Undefine.
20958 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20959 Likewise.
20960 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20961 (__ASSUME_SENDMSG_SYSCALL): Undefine.
20962 (__ASSUME_RECVMSG_SYSCALL): Likewise.
20963 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20964 (__ASSUME_SENDMSG_SYSCALL): Likewise.
20965 (__ASSUME_RECVMSG_SYSCALL): Likewise.
20966 * sysdeps/unix/sysv/linux/sh/kernel-features.h
20967 (__ASSUME_SENDMSG_SYSCALL): Likewise.
20968 (__ASSUME_RECVMSG_SYSCALL): Likewise.
20969
20970 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20971
20972 * stdlib/gen-tst-strtod-round.c: Add backslash to
20973 compile command in comment.
20974 (printfp): Remove the literal suffix, and define an infinite
20975 value as INF to avoid expansion clash with INFINITY.
20976 (round_str): Remove the literal suffix.
20977 (round_for_all): Likewise, remove the now duplicate ldbl-64
20978 entry, and remove some magic constants.
20979
20980 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
20981 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
20982 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
20983 (_CONCAT): New macro.
20984 (CONCAT): Likewise.
20985 (CHOOSE_ld): Likewise.
20986 (CHOOSE_f): Likewise.
20987 (CHOOSE_d): Likewise.
20988 (FTYPE_MEMBER): Likewise.
20989 (BOOL_MEMBER): Likewise.
20990 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
20991 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
20992 (_XNTRY): Likewise.
20993 (XNTRY): Likewise.
20994 (_ENTRY): Likewise.
20995 (ENTRY): Likewise.
20996 (test_exactness): Generate members via macro.
20997 (test_results): Likewise.
20998 (test): Update members.
20999 (TEST): Redefine using new macros.
21000 (INF): New macro.
21001 (fetestmodes): New structure.
21002 (do_test): Refactor to be type generic.
21003 (test_in_one_mode): Refactor duplicate code into
21004 (GEN_ONE_TEST): New macro.
21005
21006 * stdlib/tst-strtod-round-data.h: Regenerate.
21007
21008 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
21009 Extend to pass additional arbitrary parameters to
21010 generators.
21011
21012 2016-05-25 Joseph Myers <joseph@codesourcery.com>
21013
21014 [BZ #15479]
21015 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
21016 floating-point state after first floating-point operation on
21017 input. Restore full floating-point state instead of just rounding
21018 mode.
21019 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
21020 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
21021 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
21022 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
21023 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
21024
21025 [BZ #15479]
21026 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
21027 floating-point state after first floating-point operation on
21028 input. Restore full floating-point state instead of just rounding
21029 mode.
21030 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
21031 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
21032 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
21033 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
21034 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
21035
21036 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21037
21038 [BZ #19727]
21039 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
21040 valid high surrogate.
21041 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
21042 of an utf16 surrogate.
21043 * iconv/gconv_simple.c (BODY): Likewise.
21044 * iconvdata/bug-iconv12.c: New file.
21045 * iconvdata/Makefile (tests): Add bug-iconv12.
21046
21047 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21048
21049 [BZ #19726]
21050 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
21051 outptrp in case of an illegal input.
21052 * iconv/tst-iconv6.c: New file.
21053 * iconv/Makefile (tests): Add tst-iconv6.
21054
21055 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21056
21057 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
21058 an error in case of a value in range of an utf16 low surrogate.
21059
21060 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21061
21062 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
21063 an error in case of a value in range of an utf16 low surrogate.
21064
21065 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21066
21067 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
21068 Move to ...
21069 * sysdeps/s390/Makefile: ... here.
21070 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
21071 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
21072 (BRANCH_ON_COUNT): New define.
21073 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
21074 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
21075 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
21076 run on s390-32, too.
21077 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
21078 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
21079 run on s390-32, too.
21080 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
21081 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
21082 run on s390-32, too.
21083
21084 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21085
21086 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
21087 etf3eh or new vector loop-variant.
21088
21089 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21090
21091 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
21092 etf3eh or new vector loop-variant.
21093
21094 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21095
21096 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
21097 or new vector loop-variant.
21098
21099 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21100
21101 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
21102 Rename to TR_LOOP and usage of tr instead of troo instruction.
21103
21104 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21105
21106 * sysdeps/s390/multiarch/gconv_simple.c: New File.
21107 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
21108
21109 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21110
21111 * sysdeps/s390/multiarch/8bit-generic.c: New File.
21112 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
21113 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
21114 New override define.
21115 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
21116
21117 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21118
21119 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
21120 * sysdeps/s390/configure.ac: Add test for S390 vector register
21121 support in gcc.
21122 * sysdeps/s390/configure: Regenerated.
21123
21124 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21125
21126 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
21127 Install file from $(objpfx)gconv-modules.
21128 ($(objpfx)gconv-modules): Concatenate architecture specific file
21129 in variable sysdeps-gconv-modules and gconv-modules in src dir.
21130 * sysdeps/s390/gconv-modules: New file.
21131 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
21132 Deleted.
21133 ($(objpfx)gconv-modules-s390): Deleted.
21134 (sysdeps-gconv-modules): New variable.
21135
21136 2016-05-24 Joseph Myers <joseph@codesourcery.com>
21137
21138 [BZ #15479]
21139 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
21140 of immediate operand to rounding instruction.
21141 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
21142 Likewise.
21143 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
21144 Likewise.
21145 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
21146 Likewise.
21147
21148 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21149
21150 * math/libm-test.inc (MIN_EXP): Directly define as
21151 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
21152
21153 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21154
21155 * math/libm-test.inc (MANT_DIG): Directly define as
21156 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
21157
21158 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21159
21160 * stdlib/gen-tst-strtod-round.c (main):
21161 Change usage to more closely match the generated
21162 output. Add usage and compilation instructions.
21163 (string_to_fp): Add and use FILE* parameter as
21164 output target.
21165 (print_fp): Likewise.
21166 (round_str): Likewise.
21167 (round_for_all): Likewise.
21168 * stdlib/tst-strtod-round.c (tests): Move into
21169 * stdlib/tst-strtod-round-data.h: New file.
21170
21171 2016-05-24 Joseph Myers <joseph@codesourcery.com>
21172
21173 [BZ #15479]
21174 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
21175 (__round): Do not force "inexact" exception.
21176 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
21177 variable.
21178 (__round): Do not force "inexact" exception.
21179 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
21180 (__roundf): Do not force "inexact" exception.
21181 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
21182 (__roundl): Do not force "inexact" exception.
21183 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
21184 (__roundl): Do not force "inexact" exception.
21185 * math/libm-test.inc (round_test_data): Do not allow spurious
21186 "inexact" exceptions.
21187
21188 [BZ #15479]
21189 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
21190 exception in comment.
21191 (huge): Remove variable.
21192 (__floor): Do not force "inexact" exception.
21193 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
21194 "inexact" exception in comment.
21195 (huge): Remove variable.
21196 (__floor): Do not force "inexact" exception.
21197 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
21198 exception in comment.
21199 (huge): Remove variable.
21200 (__floorf): Do not force "inexact" exception.
21201 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
21202 exception in comment.
21203 (huge): Remove variable.
21204 (__floorl): Do not force "inexact" exception.
21205
21206 [BZ #15479]
21207 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
21208 exception in comment.
21209 (huge): Remove variable.
21210 (__ceil): Do not force "inexact" exception.
21211 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
21212 "inexact" exception in comment.
21213 (huge): Remove variable.
21214 (__ceil): Do not force "inexact" exception.
21215 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
21216 (__ceilf): Do not force "inexact" exception.
21217 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
21218 exception in comment.
21219 (huge): Remove variable.
21220 (__ceill): Do not force "inexact" exception.
21221
21222 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
21223
21224 * config.h.in (BIND_NOW): New.
21225 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
21226 * configure: Regenerated.
21227 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
21228 indirect branch via the GOT slot.
21229
21230 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21231
21232 [BZ #19765]
21233 * sysdeps/s390/mempcpy.S: New File.
21234 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
21235 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
21236 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21237 Add mempcpy variants.
21238 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
21239 (memcpy): Adjust to be usable from mempcpy entry point.
21240 (__memcpy_mvcle): Likewise.
21241 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21242 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
21243 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
21244 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
21245 (__memcpy_z10): Likewise.
21246 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21247
21248 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21249
21250 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
21251 Remove __GI_ symbol.
21252 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
21253 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
21254 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
21255 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21256 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
21257 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
21258
21259 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21260
21261 * sysdeps/s390/s390-64/memcpy.S (memcpy):
21262 Use cghi instead of chi to compare 64bit value.
21263
21264 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21265
21266 * sysdeps/s390/s390-32/memcpy.S (memcpy):
21267 Jump to 1MB check before executing mvc-loop.
21268
21269 2016-05-24 Florian Weimer <fweimer@redhat.com>
21270
21271 [BZ #6527]
21272 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
21273 unconditionally.
21274 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
21275
21276 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21277
21278 * stdlib/tst-strtod6.c (do_test): Use new type generic
21279 invocation of the test function.
21280 (test): Refactor into ...
21281 (TEST_STRTOD): New macro base function.
21282
21283 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21284
21285 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
21286 (TEST_STRTOD): New macro.
21287 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
21288
21289 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21290
21291 * stdlib/tst-strtod6.c (do_test): Use new type generic
21292 invocation of the test function.
21293 (test): Refactor into ...
21294 (TEST_STRTOD): New macro base function.
21295
21296 2016-05-23 Florian Weimer <fweimer@redhat.com>
21297
21298 CVE-2016-4429
21299 [BZ #20112]
21300 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
21301 payload.
21302
21303 2016-05-23 Florian Weimer <fweimer@redhat.com>
21304
21305 [BZ #20111]
21306 * bits/sockaddr.h (_SS_SIZE): Define.
21307 * bits/socket.h (_SS_SIZE): Remove.
21308 (_SS_PADSIZE): Adjust to account for all padding.
21309 (struct sockaddr_storage): Update comment. Avoid implicit
21310 padding.
21311 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
21312 (_SS_PADSIZE): Adjust to account for all padding.
21313 (struct sockaddr_storage): Update comment. Avoid implicit
21314 padding.
21315 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
21316 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
21317 (_SS_PADSIZE): Adjust to account for all padding.
21318 (struct sockaddr_storage): Update comment. Avoid implicit
21319 padding.
21320 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
21321 __SS_SIZE is 126 in this version.
21322 * inet/tst-sockaddr.c: New file.
21323 * inet/Makefile (tests): Add tst-sockaddr.c
21324 (tst-sockaddr.c): Compile with non-strict aliasing.
21325
21326 2016-05-23 Joseph Myers <joseph@codesourcery.com>
21327
21328 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
21329 [XPG3 || XPG4].
21330 (NL_ARGMAX): Also expect for [XPG3].
21331 (NL_LANGMAX): Likewise.
21332 (NL_MSGMAX): Likewise.
21333 (NL_NMAX): Likewise.
21334 (NL_SETMAX): Likewise.
21335 (NL_TEXTMAX): Likewise.
21336 (NZERO): Likewise.
21337 (TMP_MAX): Likewise.
21338 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
21339 variable.
21340
21341 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
21342 (PF_MAX): Update value.
21343 (AF_KCM): New macro.
21344 (SOL_NETBEUI): Likewise.
21345 (SOL_LLC): Likewise.
21346 (SOL_DCCP): Likewise.
21347 (SOL_NETLINK): Likewise.
21348 (SOL_TIPC): Likewise.
21349 (SOL_RXRPC): Likewise.
21350 (SOL_PPPOL2TP): Likewise.
21351 (SOL_BLUETOOTH): Likewise.
21352 (SOL_PNPIPE): Likewise.
21353 (SOL_RDS): Likewise.
21354 (SOL_IUCV): Likewise.
21355 (SOL_CAIF): Likewise.
21356 (SOL_ALG): Likewise.
21357 (SOL_NFC): Likewise.
21358 (SOL_KCM): Likewise.
21359 (MSG_BATCH): New enum value and macro.
21360
21361 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
21362
21363 [BZ #18185]
21364 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
21365 sharing L2 cache to 2 for Knights Landing.
21366
21367 2016-05-20 Joseph Myers <joseph@codesourcery.com>
21368
21369 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
21370 (FTW_DP): Do not expect for [XPG3 || XPG4].
21371 (FTW_SL): Do not expect for [XPG3].
21372 (FTW_SLN): Likewise.
21373 (FTW_PHYS): Likewise.
21374 (FTW_MOUNT): Likewise.
21375 (FTW_DEPTH): Likewise.
21376 (FTW_CHDIR): Likewise.
21377 (nftw): Likewise.
21378 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
21379 variable.
21380
21381 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
21382
21383 * manual/errno.texi: Fix various typos & grammar errors.
21384
21385 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
21386
21387 * manual/intro.texi: Fix duplicated typo.
21388
21389 2016-05-19 Joseph Myers <joseph@codesourcery.com>
21390
21391 [BZ #13304]
21392 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
21393 <float.h>, <math_private.h> and <stdlib.h>.
21394 (add_split): New function.
21395 (mul_split): Likewise.
21396 (ext_val): New typedef.
21397 (store_ext_val): New function.
21398 (mul_ext_val): New function.
21399 (compare): New function.
21400 (add_split_ext): New function.
21401 (__fmal): After checking for Inf, NaN and zero, compute result as
21402 an exact sum of scaled double values in round-to-nearest before
21403 adding those up and adjusting for other rounding modes.
21404 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
21405 tests of fma.
21406 * math/auto-libm-test-out: Regenerated.
21407
21408 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21409
21410 [BZ #20119]
21411 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
21412 processor level type mask for CPUID with EAX == 11.
21413
21414 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21415
21416 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
21417 logical threads if the HTT bit is 0.
21418 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
21419 (index_cpu_HTT): Likewise.
21420 (reg_HTT): Likewise.
21421
21422 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21423
21424 [BZ #20115]
21425 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
21426 Remove alignments on jump targets.
21427
21428 2016-05-19 Joseph Myers <joseph@codesourcery.com>
21429
21430 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
21431 (getpwent): Likewise.
21432 (setpwent): Likewise.
21433 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
21434 variable.
21435
21436 * conform/data/search.h-data (insque): Do not expect for [XPG3].
21437 (remque): Likewise.
21438 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
21439 variable.
21440
21441 2016-05-18 Joseph Myers <joseph@codesourcery.com>
21442
21443 * math/libm-test.inc: Update comment not to refer to signs of NaNs
21444 not being tested.
21445
21446 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21447
21448 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21449 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
21450 call.
21451 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21452 (__condvar_cleanup1): Likewise.
21453
21454 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21455
21456 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
21457 New
21458 (__pthread_unwind): Renamed to ...
21459 (PTHREAD_UNWIND): This.
21460 (__pthread_enable_asynccancel): Replace
21461 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
21462
21463 2016-05-18 Joseph Myers <joseph@codesourcery.com>
21464
21465 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
21466 (CLONE_NEWCGROUP): New macro.
21467
21468 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
21469 (Q_GETNEXTQUOTA): New macro.
21470
21471 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21472
21473 [BZ #19907]
21474 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
21475 buffer updated by the previous run.
21476 * string/test-memcpy.c (do_one_test): Likewise.
21477 * benchtests/bench-memmove.c (do_one_test): Add a comment.
21478 * string/test-memmove.c (do_one_test): Likewise.
21479
21480 2016-05-17 Joseph Myers <joseph@codesourcery.com>
21481
21482 [BZ #20094]
21483 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
21484 not [__USE_XOPEN].
21485 (unlockpt): Likewise.
21486 (ptsname): Likewise.
21487 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
21488 variable.
21489
21490 [BZ #20076]
21491 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
21492 instead of [__USE_UNIX98].
21493 (S_ISSOCK): Likewise.
21494 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
21495 variable.
21496
21497 [BZ #20074]
21498 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
21499 [__USE_POSIX].
21500 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
21501 variable.
21502
21503 [BZ #20051]
21504 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
21505 (ttyslot): Do not declare.
21506 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
21507 (ttyslot): New prototype.
21508 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
21509 variable.
21510 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21511
21512 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
21513
21514 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
21515
21516 2016-05-13 Florian Weimer <fweimer@redhat.com>
21517
21518 Fix race condition in tst-mallocfork2, use fewer resources.
21519 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
21520 to current process group.
21521 (signal_sender): Yield in the non-sleeping case.
21522
21523 2016-05-13 Joseph Myers <joseph@codesourcery.com>
21524
21525 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
21526 (ecvt): Likewise.
21527 (fcvt): Likewise.
21528 (gcvt): Likewise.
21529 (getsubopt): Likewise.
21530 (grantpt): Likewise.
21531 (initstate): Likewise.
21532 (l64a): Likewise.
21533 (mktemp): Likewise.
21534 (mkstemp): Likewise.
21535 (ptsname): Likewise.
21536 (random): Likewise.
21537 (realpath): Likewise.
21538 (setstate): Likewise.
21539 (srandom): Likewise.
21540 (ttyslot): Likewise.
21541 (unlockpt): Likewise.
21542 (valloc): Likewise.
21543
21544 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
21545 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
21546 variable.
21547
21548 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
21549
21550 [BZ #20072]
21551 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
21552 init_cpu_features only if SHARED is defined.
21553 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
21554
21555 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
21556
21557 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
21558 non-inclusive caches on Intel processors.
21559
21560 2016-05-13 Florian Weimer <fweimer@redhat.com>
21561
21562 * malloc/malloc.c (dumped_main_arena_start)
21563 (dumped_main_arena_end): New variables.
21564 (DUMPED_MAIN_ARENA_CHUNK): New macro.
21565 (do_check_chunk): Skip dumped fake mmapped chunks.
21566 (munmap_chunk): Likewise.
21567 (__libc_free): Do not adjust statistics for fake mmapped chunks.
21568 (__libc_realloc): Adjust hardening check. Always copy dumped fake
21569 mmapped chunks.
21570 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
21571 Mark dumped chunks as using mmap. Update dumped_main_arena_start
21572 and dumped_main_arena_end to cover the dumped heap.
21573
21574 2016-05-12 Joseph Myers <joseph@codesourcery.com>
21575
21576 * conform/data/time.h-data (getdate_err): Do not expect for
21577 [XPG3].
21578 (getdate): Likewise.
21579 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
21580 variable.
21581
21582 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
21583 (F_ULOCK): Likewise.
21584 (F_TEST): Likewise.
21585 (F_TLOCK): Likewise.
21586 (useconds_t): Likewise.
21587 (intptr_t): Do not expect for [XPG3] or [XPG4].
21588 (brk): Do not expect for [XPG3]
21589 (fchown): Likewise.
21590 (fchdir): Likewise.
21591 (ftruncate): Likewise.
21592 (getdtablesize): Likewise.
21593 (gethostid): Likewise.
21594 (getpagesize): Likewise.
21595 (getpgid): Likewise.
21596 (getsid): Likewise.
21597 (getwd): Likewise.
21598 (lchown): Likewise.
21599 (lockf): Likewise.
21600 (readlink): Likewise.
21601 (sbrk): Likewise.
21602 (setpgrp): Likewise.
21603 (setregid): Likewise.
21604 (setreuid): Likewise.
21605 (symlink): Likewise.
21606 (sync): Likewise.
21607 (truncate): Likewise.
21608 (ualarm): Likewise.
21609 (usleep): Likewise.
21610 (vfork): Likewise.
21611 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
21612 variable.
21613
21614 [BZ #20054]
21615 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
21616 not [__USE_UNIX98].
21617 * conform/data/unistd.h-data (gethostname): Do not expect for
21618 [XPG3].
21619
21620 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
21621 [!POSIX] (S_IFBLK): Likewise.
21622 [!POSIX] (S_IFCHR): Likewise.
21623 [!POSIX] (S_IFIFO): Likewise.
21624 [!POSIX] (S_IFREG): Likewise.
21625 [!POSIX] (S_IFDIR): Likewise.
21626 [!POSIX] (S_IFLNK): Likewise.
21627 [!POSIX] (S_IFSOCK): Likewise.
21628 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
21629 variable.
21630 (test-xfail-XPG4/fcntl.h/conform): Likewise.
21631
21632 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
21633
21634 * sysdeps/aarch64/memset.S (__memset):
21635 Rewrite of optimized memset.
21636
21637 2016-05-12 Florian Weimer <fweimer@redhat.com>
21638
21639 [BZ #19703]
21640 Partially async-signal-safe fork for single-threaded processes.
21641 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
21642 variable. Do not acquire and reset/release malloc and libio locks
21643 in single-threaded processes.
21644 * malloc/tst-mallocfork2.c: New file.
21645 * malloc/Makefile (tests): Add it.
21646
21647 2016-05-12 Florian Weimer <fweimer@redhat.com>
21648
21649 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
21650 argument. Use scratch buffer instead of extend_alloca.
21651 (gethosts): Use scratch buffer instead of extend_alloca.
21652 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
21653 extend_alloca.
21654 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
21655
21656 2016-05-11 Joseph Myers <joseph@codesourcery.com>
21657
21658 [BZ #20055]
21659 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
21660 instead of [__USE_UNIX98].
21661 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
21662 [__USE_UNIX98].
21663 * conform/data/termios.h-data (tcgetsid): Do not expect for
21664 [XPG3].
21665 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
21666 variable.
21667 (test-xfail-XPG4/termios.h/conform): Likewise.
21668
21669 2016-05-11 Florian Weimer <fweimer@redhat.com>
21670
21671 Do not use mcheck in localedef.
21672 * locale/programs/localedef.c (turn_on_mcheck)
21673 (__malloc_initialize_hook): Remove.
21674
21675 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21676
21677 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
21678 * sysdeps/s390/s390-64/Makefile: Likewise.
21679
21680 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
21681
21682 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
21683 Remove ifunc-defines.sym.
21684 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
21685 Likewise.
21686 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
21687 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
21688 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
21689 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
21690 rtld-global-offsets.sym.
21691 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
21692 * sysdeps/x86/cpu-features-offsets.sym: This.
21693 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
21694 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
21695
21696 2016-05-10 Joseph Myers <joseph@codesourcery.com>
21697
21698 [BZ #20073]
21699 * io/sys/stat.h (fchmod): Declare for
21700 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
21701 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
21702 variable.
21703
21704 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
21705 [XPG3] (S_IFSOCK): Likewise.
21706 [XPG3] (S_ISVTX): Likewise.
21707 [XPG3] (S_ISLNK): Likewise.
21708 [XPG3] (S_ISSOCK): Likewise.
21709 [XPG3] (fchmod): Likewise.
21710 [XPG3] (lstat): Likewise.
21711 [XPG3] (mknod): Likewise.
21712
21713 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
21714 [XPG3]. Expect type long and XFAIL for [XPG4].
21715 (st_blocks): Likewise.
21716
21717 [BZ #20044]
21718 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
21719 (pthread_atfork): New prototype.
21720 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
21721 variable.
21722
21723 [BZ #20043]
21724 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
21725 prototype.
21726
21727 2016-05-10 Florian Weimer <fweimer@redhat.com>
21728
21729 [BZ #20017]
21730 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
21731 gmtime.
21732
21733 2016-05-10 Florian Weimer <fweimer@redhat.com>
21734
21735 [BZ #19994]
21736 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
21737 flag in _res.options.
21738
21739 2016-05-09 Joseph Myers <joseph@codesourcery.com>
21740
21741 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
21742 [XPG3 || XPG4].
21743 (blksize_t): Likewise.
21744 (clockid_t): Likewise.
21745 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
21746 variable.
21747 (test-xfail-XPG4/sys/types.h/conform): Likewise.
21748
21749 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
21750
21751 * sysdeps/unix/sysv/linux/s390/init-first.c:
21752 Add VDSO_SYMBOL(getcpu).
21753 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
21754 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
21755 Add VDSO_SYMBOL(getcpu).
21756 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
21757 New define HAVE_GETCPU_VSYSCALL.
21758 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21759
21760 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
21761
21762 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
21763 instead of <sysdeps/x86_64/cacheinfo.c>.
21764 * sysdeps/x86_64/cacheinfo.c: Moved to ...
21765 * sysdeps/x86/cacheinfo.c: Here.
21766
21767 2016-05-04 Florian Weimer <fweimer@redhat.com>
21768
21769 * malloc/malloc-internal.h: Adjust header file guard.
21770
21771 2016-05-04 Florian Weimer <fweimer@redhat.com>
21772
21773 [BZ #19787]
21774 * inet/getnameinfo.c (check_sprintf_result): New function.
21775 (CHECKED_SNPRINTF): New macro.
21776 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
21777 to the host buffer.
21778 (gni_host_local): Use checked_copy to copy the host name.
21779 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
21780 (gni_serv_local): Use checked_copy to copy the service name.
21781 (getnameinfo): Remove unnecessary truncation of result buffers.
21782
21783 2016-05-04 Florian Weimer <fweimer@redhat.com>
21784
21785 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
21786 in case of inet_ntop failure.
21787
21788 2016-05-04 Florian Weimer <fweimer@redhat.com>
21789
21790 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
21791 avoid long lines.
21792 (gni_host_inet_numeric): Likewise. Reduce scope of local
21793 variables.
21794 (gni_host_inet, gni_host_local): Add comment.
21795 (gni_host): Add comment. Use temporary to avoid long lines.
21796
21797 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
21798
21799 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
21800 registers specifiers where general purpose registers specifiers should
21801 have been used.
21802
21803 2016-05-04 Florian Weimer <fweimer@redhat.com>
21804
21805 [BZ #19779]
21806 CVE-2016-1234
21807 Avoid copying names of directory entries.
21808 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
21809 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
21810 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
21811 (struct readdir_result): New type.
21812 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
21813 (GL_READDIR): New macros.
21814 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
21815 (convert_dirent, convert_dirent64): New functions.
21816 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
21817 convert_dirent64. Adjust references to the readdir result.
21818 * sysdeps/unix/sysv/linux/i386/glob64.c:
21819 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
21820 * posix/bug-glob2.c (LONG_NAME): Define.
21821 (filesystem): Add LONG_NAME.
21822 (my_DIR): Increase the size of room_for_dirent.
21823
21824 2016-05-03 Joseph Myers <joseph@codesourcery.com>
21825
21826 [BZ #20041]
21827 * misc/sys/select.h (__need_timespec): Only define if
21828 [__USE_XOPEN2K].
21829 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
21830 variable.
21831 (test-xfail-XPG4/utmpx.h/conform): Likewise.
21832 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21833 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21834
21835 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21836 Segher Boessenkool <segher@gcc.gnu.org>
21837
21838 [BZ #20004]
21839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
21840 (__novec_swapcontext): Add missing load.
21841
21842 2016-05-02 Joseph Myers <joseph@codesourcery.com>
21843
21844 [BZ #20023]
21845 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
21846 <time.h>.
21847 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
21848 variable.
21849 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21850
21851 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21852
21853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
21854 flags CLONE_VM compare.
21855
21856 2016-05-02 Florian Weimer <fweimer@redhat.com>
21857
21858 [BZ #20031]
21859 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
21860 completely empty.
21861
21862 2016-05-02 Florian Weimer <fweimer@redhat.com>
21863
21864 [BZ #19573]
21865 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
21866 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
21867 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
21868 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
21869 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
21870 (hesiod_free_list): Mark as hidden.
21871 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
21872 res_set, res_get.
21873 * hesiod/hesiod.c: Remove unnecessary forward declarations.
21874 (init, __hesiod_res_get, __hesiod_res_set): Remove.
21875 (hesiod_init): Remove obsolete res_ninit call.
21876 (hesiod_end): Do not free resolver state. Do not invoke callback.
21877 (hesiod_bind): Do not call init.
21878 (get_txt_records): Use res_mkquery, res_send instead of
21879 res_nmkquery, res_nsend.
21880 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
21881 instead of _nss_hesiod_init.
21882 (_nss_hesiod_initgroups_dyn): Likewise.
21883 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
21884 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
21885 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
21886
21887 2016-05-02 Florian Weimer <fweimer@redhat.com>
21888
21889 * hesiod/hesiod_p.h (DEF_RHS): Remove.
21890 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
21891
21892 2016-05-02 Florian Weimer <fweimer@redhat.com>
21893
21894 * hesiod/hesiod.h: Remove RCS keyword.
21895 * hesiod/hesiod_p.h: Likewise.
21896
21897 * hesiod/hesiod.c: Likewise.
21898
21899 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
21900
21901 [BZ #12450]
21902 * locale/iso-639.def: Add Samogitian/sgs.
21903
21904 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
21905
21906 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
21907
21908 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
21909
21910 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
21911 Carlos O'Donell <carlos@redhat.com>
21912
21913 [BZ #19072]
21914 * grp/Makefile (headers): Add grp-merge.h
21915 (routines): Add grp-merge.
21916 * grp/getgrgid_r.c: Include grp-merge.h.
21917 (DEEPCOPY_FN): Define.
21918 (MERGE_FN): Define.
21919 * grp/getgrname_r.c: Include grp-merge.h.
21920 (DEEPCOPY_FN): Define.
21921 (MERGE_FN): Define.
21922 * grp/grp-merge.c: New file.
21923 * grp/grp-merge.h: New file.
21924 * include/grp-merge.h: New file.
21925 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
21926 __copy_grp@GLIBC_PRIVATE.
21927 * manual/nss.texi (Actions in the NSS configuration): Describe
21928 return, continue, and merge.
21929 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
21930 (DEEPCOPY_FN): Define.
21931 (MERGE_FN): Define.
21932 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
21933 (DEEPCOPY_FN): Define.
21934 (MERGE_FN): Define.
21935 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
21936 [!MERGE_FN]: Define __merge_einval.
21937 (CHECK_MERGE): Define.
21938 (REENTRANT_NAME): Process merge if do_merge is true.
21939 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
21940 (__nss_getent_r): Likewise.
21941 * nss/nsswitch.c (nss_parse_service_list): Likewise.
21942 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
21943
21944 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21945
21946 [BZ #20012]
21947 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
21948 length to calculate the buffer to read.
21949 (fmemopen_write): Set the buffer position based on bytes written.
21950 (fmemopen_seek): Return EINVAL for invalid whence modes.
21951
21952 [BZ #19957]
21953 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
21954 tst-getpid2.
21955 (test): Add tst-clone2.
21956 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
21957 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
21958 pid/tid fields for CLONE_VM.
21959 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
21960 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
21961 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
21962 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
21963 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
21964 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
21965 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
21966 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
21967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
21968 Likewise.
21969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21970 Likewise.
21971 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
21972 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
21973 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
21974 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
21975 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
21976 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
21977 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
21978 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
21979
21980 2016-04-29 Florian Weimer <fweimer@redhat.com>
21981
21982 [BZ #19642]
21983 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
21984 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
21985 (gni_serv_local, gni_serv): New functions extracted from
21986 getnameinfo.
21987 (getnameinfo): Call gni_host and gni_serv to perform the
21988 processing. Always free scratch buffer.
21989
21990 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
21991
21992 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
21993 remaining bytes in the dest string, with zeros.
21994
21995 2016-04-29 Florian Weimer <fweimer@redhat.com>
21996
21997 [BZ #20010]
21998 CVE-2016-3706
21999 * sysdeps/posix/getaddrinfo.c
22000 (convert_hostent_to_gaih_addrtuple): New function.
22001 (gethosts): Call convert_hostent_to_gaih_addrtuple.
22002 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
22003 AF_INET data.
22004
22005 2016-04-29 Florian Weimer <fweimer@redhat.com>
22006
22007 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
22008 callback function gl_readdir.
22009 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
22010 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
22011 (glob_in_dir): Remove len. Use strdup instead of malloc and
22012 memcpy to copy the name.
22013 * manual/pattern.texi (Calling Glob): Document requirements for
22014 implementations of the gl_readdir callback function.
22015 * manual/examples/mkdirent.c: New example.
22016 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
22017 per the manual guidance.
22018 * posix/tst-gnuglob.c (my_readdir): Likewise.
22019
22020 2016-04-28 Joseph Myers <joseph@codesourcery.com>
22021
22022 [BZ #20014]
22023 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
22024 not [__USE_POSIX].
22025 (getchar_unlocked): Likewise.
22026 (putc_unlocked): Likewise.
22027 (putchar_unlocked): Likewise.
22028 (flockfile): Likewise.
22029 (ftrylockfile): Likewise.
22030 (funlockfile): Likewise.
22031 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
22032 variable.
22033 (test-xfail-XPG4/stdio.h/conform): Likewise.
22034
22035 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
22036 Expect constant.
22037 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
22038 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
22039 variable.
22040 (test-xfail-XPG4/langinfo.h/conform): Likewise.
22041 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22042
22043 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
22044 [__USE_LARGEFILE64] (off64_t): Likewise.
22045 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
22046 variable.
22047
22048 2016-04-28 Florian Weimer <fweimer@redhat.com>
22049
22050 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
22051
22052 2016-04-28 Florian Weimer <fweimer@redhat.com>
22053
22054 * resolv/inet_addr.c: Reindent preprocessor conditionals.
22055 * resolv/res_init.c: Likewise.
22056 * resolv/res_mkquery.c: Likewise.
22057
22058 2016-04-28 Florian Weimer <fweimer@redhat.com>
22059
22060 * resolv/res_init.c (isascii): Do not define. Use definition in
22061 <ctype.h>.
22062 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
22063 (LOG_AUTH): Remove.
22064 (SPRINTF): Remove, adjust caller.
22065 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
22066
22067 2016-04-28 Florian Weimer <fweimer@redhat.com>
22068
22069 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
22070 SUNSECURITY conditional.
22071 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
22072
22073 2016-04-28 Florian Weimer <fweimer@redhat.com>
22074
22075 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
22076 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
22077 Remove BSD-related preprocessor conditionals.
22078 * conf/portability.h: Remove.
22079
22080 2016-04-28 Florian Weimer <fweimer@redhat.com>
22081
22082 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
22083 * resolv/res_data.c: Likewise.
22084
22085 2016-04-28 Florian Weimer <fweimer@redhat.com>
22086
22087 * resolv/res_comp.c: Remove code conditional on __ultrix__.
22088 * resolv/res_data.c: Remove code conditional on ultrix.
22089
22090 2016-04-28 Florian Weimer <fweimer@redhat.com>
22091
22092 * resolv/res_init.c (RFC1535): Do not define. Remove
22093 RFC1535 preprocessor conditionals.
22094 * resolv/README: Update. Do not claim strict RFC 1535 compliance
22095 because there configuration options which make the resolver
22096 behavior different.
22097
22098 2016-04-28 Florian Weimer <fweimer@redhat.com>
22099
22100 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
22101 RESOLVSORT preprocessor conditionals.
22102 * resolv/nss_dns/dns-host.c: Likewise.
22103 * resolv/res_init.c: Likewise.
22104
22105 2016-04-28 Florian Weimer <fweimer@redhat.com>
22106
22107 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
22108 is never defined.
22109
22110 2016-04-28 Florian Weimer <fweimer@redhat.com>
22111
22112 * inet/inet_lnaof.c: Remove SCSS keyword.
22113 * inet/inet_mkadr.c: Likewise.
22114 * inet/inet_net.c: Likewise.
22115 * inet/inet_netof.c: Likewise.
22116 * inet/rcmd.c: Likewise.
22117 * inet/rexec.c: Likewise.
22118 * inet/ruserpass.c: Likewise.
22119
22120 2016-04-28 Florian Weimer <fweimer@redhat.com>
22121
22122 * resolv/inet_addr.c: Remove _LIBC conditionals.
22123 * resolv/res_data.c: Likewise.
22124 * resolv/res_init.c: Likewise.
22125 * resolv/res_mkquery.c: Likewise.
22126 * resolv/res_libc.c: Update comment.
22127 * resolv/README: Update.
22128
22129 2016-04-28 Florian Weimer <fweimer@redhat.com>
22130
22131 * resolv/gethnamaddr.c: Remove SCSS keyword.
22132 * resolv/herror.c: Likewise.
22133 * resolv/inet_addr.c: Likewise.
22134 * resolv/inet_net_ntop.c: Likewise.
22135 * resolv/inet_net_pton.c: Likewise.
22136 * resolv/inet_neta.c: Likewise.
22137 * resolv/inet_ntop.c: Likewise.
22138 * resolv/inet_pton.c: Likewise.
22139 * resolv/ns_date.c: Remove RCS keyword.
22140 * resolv/ns_name.c: Likewise.
22141 * resolv/ns_netint.c: Likewise.
22142 * resolv/ns_parse.c: Likewise.
22143 * resolv/ns_print.c: Likewise.
22144 * resolv/ns_samedomain.c: Likewise.
22145 * resolv/ns_ttl.c: Likewise.
22146 * resolv/nsap_addr.c: Likewise.
22147 * resolv/res_comp.c: Remove SCSS and RCS keyword.
22148 * resolv/res_data.c: Remove RCS keyword.
22149 * resolv/res_debug.c: Remove SCSS and RCS keyword.
22150 * resolv/res_init.c: Likewise.
22151 * resolv/res_mkquery.c: Likewise.
22152 * resolv/res_query.c: Likewise.
22153 * resolv/res_send.c: Likewise.
22154
22155 2016-04-27 Joseph Myers <joseph@codesourcery.com>
22156
22157 * conform/data/stdio.h-data (fdopen): Expect also for
22158 [XPG3 || XPG4].
22159
22160 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
22161 (fseeko): Likewise.
22162 (ftello): Likewise.
22163 (ftrylockfile): Likewise.
22164 (funlockfile): Likewise.
22165 (getc_unlocked): Likewise.
22166 (getchar_unlocked): Likewise.
22167 (putc_unlocked): Likewise.
22168 (putchar_unlocked): Likewise.
22169
22170 2016-04-27 Florian Weimer <fweimer@redhat.com>
22171
22172 [BZ #19868]
22173 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
22174 DNS packet syntax checks (which were not needed before). Skip
22175 over non-PTR records.
22176
22177 2016-04-27 Florian Weimer <fweimer@redhat.com>
22178
22179 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
22180 definition. Include <stddef.h> instead.
22181
22182 2016-04-27 Florian Weimer <fweimer@redhat.com>
22183
22184 [BZ #19831]
22185 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
22186 function.
22187 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
22188 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
22189
22190 2016-04-27 Florian Weimer <fweimer@redhat.com>
22191
22192 [BZ #19862]
22193 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
22194 (getanswer_r): Do not call syslog.
22195 (gaih_getanswer_slice): Likewise.
22196 * resolv/gethnamaddr.c (AskedForGot): Remove.
22197 (getanswer): Do not call syslog.
22198 (gethostbyaddr): Likewise.
22199
22200 2016-04-27 Joseph Myers <joseph@codesourcery.com>
22201
22202 * conform/data/signal.h-data (union sigval): Expect also if
22203 [XOPEN2K].
22204 (struct sigevent): Likewise.
22205 (SIGEV_NONE): Likewise.
22206 (SIGEV_SIGNAL): Likewise.
22207 (SIGEV_THREAD): Likewise.
22208 (SIGRTMIN): Likewise.
22209 (SIGRTMAX): Likewise.
22210 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
22211 variable.
22212 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22213
22214 2016-04-27 Florian Weimer <fweimer@redhat.com>
22215
22216 [BZ #19830]
22217 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
22218 (gaih_getanswer_slice): Likewise.
22219 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
22220 Also check for availability of RR metadata.
22221
22222 2016-04-27 Florian Weimer <fweimer@redhat.com>
22223
22224 [BZ #19825]
22225 * resolv/res_send.c (send_vc): Remove early *resplen2
22226 initialization. Set *resplen2 on socket error. Call
22227 close_and_return_error for other errors.
22228
22229 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
22230
22231 * sysdeps/unix/sysv/linux/netiucv/iucv.h
22232 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
22233 (SCM_IUCV_TRGCLS): New define.
22234
22235 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22236
22237 [BZ #20005]
22238 * libio/fmemopen.c (fmemopen_write): Update internal position after
22239 write.
22240 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
22241 * stdio-common/tst-fmemopen4.c: New file..
22242
22243 2016-04-26 Joseph Myers <joseph@codesourcery.com>
22244
22245 [BZ #19996]
22246 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
22247 not [__USE_XOPEN2K].
22248 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
22249 variable.
22250
22251 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
22252 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
22253 variable.
22254
22255 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
22256 [__USE_XOPEN2K8].
22257 [__USE_LARGEFILE64] (off64_t): Likewise.
22258 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
22259 variable.
22260
22261 2016-04-25 Joseph Myers <joseph@codesourcery.com>
22262
22263 [BZ #19989]
22264 * libio/stdio.h (cuserid): Do not declare if
22265 [__USE_XOPEN2K && !__USE_GNU].
22266 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
22267 variable.
22268
22269 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22270
22271 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22272 (sysdep_routines): Add P8 and PPC64 strcspn targets.
22273 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22274 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
22275 ifunc'ed strcspn.
22276 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
22277 [EALIGN]: Removed.
22278 [END]: Likewise
22279 [STRSPN]: Define instead of the above to control symbol name.
22280 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
22281 New file.
22282 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
22283 Likewise.
22284 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
22285 Likewise.
22286 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
22287 Likewise.
22288 * sysdeps/powerpc/powerpc64/power8/strspn.S:
22289 [INITIAL_MASK]: New macro.
22290 [STRCSPN]: Likewise.
22291 [UPDATE_MASK]: Likewise.
22292 [USE_AS_STRCSPN]: Likewise.
22293
22294 2016-04-25 Florian Weimer <fweimer@redhat.com>
22295
22296 [BZ #19931]
22297 * stdio-common/tst-vfprintf-width-prec.c: New file.
22298 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
22299 (tests-special): Add tst-vfprintf-width-prec-mem.out.
22300 (generated): Add mtrace-related files.
22301 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
22302 (tst-%-mem.out): New pattern rule, replaces
22303 tst-printf-bz18872-mem.out.
22304 * stdio-common/vfprintf.c (vfprintf): When handling a precision
22305 specifier, deallocate any previously allocated work buffer.
22306
22307 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22308
22309 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
22310 Add nop before __startcontext, add explaining comments.
22311
22312 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
22313
22314 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
22315 any more. Notably since IPV6_PKTINFO has been reintroduced with a
22316 completely different API.
22317
22318 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
22319 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
22320 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
22321 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
22322 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
22323 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
22324 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
22325 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
22326 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
22327 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
22328
22329 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
22330
22331 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
22332
22333 2016-04-23 Mike Frysinger <vapier@gentoo.org>
22334
22335 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
22336 when it is the default of 0.
22337
22338 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22339
22340 * sysdeps/powerpc/locale-defines.sym: Add new macros.
22341 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22342 (sysdep_routines): Add new strcasestr targets.
22343 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22344 (__libc_ifunc_impl_list): Likewise.
22345 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
22346 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
22347 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
22348 * sysdeps/powerpc/powerpc64/power8/Makefile:
22349 New file to add strcasestr-ppc64 to sysdep_routines.
22350 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
22351 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
22352
22353 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
22354
22355 * benchtests/Makefile (wcsmbs-benchset): Include only for
22356 native builds and runs.
22357 (LOCALES): Likewise.
22358 (bench-build): Build timing-type here instead of the bench
22359 target. Generate locale only for native builds.
22360 * benchtests/README: Add note for cross-building.
22361
22362 * benchtests/Makefile (bench-clean): Clean up extra-objs.
22363
22364 * benchtests/README: Update README to include instructions on
22365 using bench-build.
22366
22367 * Makefile.in (bench-build): New target.
22368 * Rules (PHONY): Add bench-build target.
22369 * benchtests/Makefile (bench): Depend on bench-build.
22370 (bench-build): New target.
22371
22372 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
22373
22374 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
22375 profil_reply_port.
22376 (profile_waiter): Do not initialize profil_reply_port.
22377 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
22378 frequency instead of tick length in us.
22379
22380 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
22381
22382 [BZ #18712]
22383 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
22384 (__old_mempcpy_small): Likewise.
22385 (__old_strcpy_small): Likewise.
22386 (__old_stpcpy_small): Likewise.
22387 (__old_strpbrk_c2): Fix compat symbol name.
22388 (__old_strpbrk_c3): Likewise.
22389 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
22390 (__mempcpy_small): Remove.
22391 (__strcpy_small): Remove.
22392 (__stpcpy_small): Remove.
22393
22394 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
22395
22396 [BZ #19400]
22397 * locale/iso-639.def: Add the Talossan/tzl language.
22398
22399 2016-04-16 Mike Frysinger <vapier@gentoo.org>
22400
22401 [BZ #16983]
22402 * locale/programs/ld-address.c (address_finish): Update postal_fmt
22403 comment. Add "ln" to strchr check on postal_fmt.
22404
22405 2016-04-16 Mike Frysinger <vapier@gentoo.org>
22406
22407 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
22408 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
22409 tel_dom_fmt.
22410
22411 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22412
22413 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22414 (sysdep_routines): Added __strlen_power8.
22415 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
22416 __strlen_power8 entry.
22417 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
22418 Implementation for POWER8.
22419 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
22420 for __strlen_power8.
22421 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
22422 Implementation for POWER8.
22423
22424 2016-04-15 Mike Frysinger <vapier@gentoo.org>
22425
22426 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
22427
22428 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
22429
22430 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
22431 Goldmont and Airmont processors.
22432
22433 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
22434
22435 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
22436 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
22437 (__STRING2_SMALL_GET32): Remove.
22438 (memset): Remove.
22439 (__memset_1): Remove.
22440 (__memset_gc): Remove.
22441 (__mempcpy): Remove.
22442 (mempcpy): Remove.
22443 (__mempcpy_args): Remove.
22444 (strchr): Remove.
22445 (strcpy): Remove.
22446 (strcpy_args): Remove.
22447 (__stpcpy_args): Remove.
22448 (__strcmp_cc): Remove.
22449 (__strcmp_gc): Remove.
22450 (strstr): Remove.
22451
22452 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
22453
22454 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
22455 * nis/nis_call.c (nis_server_cache_add): Likewise.
22456
22457 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22458
22459 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
22460
22461 2016-04-14 Florian Weimer <fweimer@redhat.com>
22462
22463 * malloc/arena.c (__malloc_fork_lock_parent)
22464 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
22465 internal_function attribute.
22466
22467 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
22468
22469 * stdio-common/printf_fp.c (__printf_fp_l):
22470 Rename ___printf_fp_l to __printf_fp_l and
22471 remove strong alias. Use libc_hidden_def instead
22472 of ldbl_hidden_def macro.
22473
22474 2016-04-14 Florian Weimer <fweimer@redhat.com>
22475
22476 Remove malloc hooks from fork handler. They are no longer needed
22477 because malloc runs right before fork, and no malloc calls from
22478 other fork handlers are not possible anymore.
22479 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
22480 declarations.
22481 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
22482 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
22483 (atfork_recursive_cntr): Remove.
22484 (__malloc_fork_lock_parent): Do not override malloc hooks and
22485 thread_arena.
22486 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
22487 thread_arena.
22488 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
22489 thread_arena instead of save_arena.
22490
22491 2016-04-14 Florian Weimer <fweimer@redhat.com>
22492
22493 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
22494 (thread_atfork, thread_atfork_static): Remove.
22495 * sysdeps/mach/hurd/malloc-machine.h:
22496 (thread_atfork, thread_atfork_static): Remove.
22497
22498 2016-04-14 Florian Weimer <fweimer@redhat.com>
22499
22500 [BZ #19431]
22501 Run the malloc fork handler as late as possible to avoid deadlocks.
22502 * malloc/malloc-internal.h: New file.
22503 * malloc/malloc.c: Include it.
22504 * malloc/arena.c (ATFORK_MEM): Remove.
22505 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
22506 Update comment.
22507 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
22508 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
22509 Remove outdated comment.
22510 (ptmalloc_init): Do not call thread_atfork. Remove
22511 thread_atfork_static.
22512 * malloc/tst-malloc-fork-deadlock.c: New file.
22513 * Makefile (tests): Add tst-malloc-fork-deadlock.
22514 (tst-malloc-fork-deadlock): Link against libpthread.
22515 * manual/memory.texi (Aligned Memory Blocks): Update safety
22516 annotation comments.
22517 * sysdeps/nptl/fork.c (__libc_fork): Call
22518 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
22519 __malloc_fork_unlock_child.
22520 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
22521
22522 2016-04-14 Florian Weimer <fweimer@redhat.com>
22523
22524 [BZ #19613]
22525 Remove union wait.
22526 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
22527 (w_stopsig, w_stopval): Remove.
22528 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
22529 stat_loc argument.
22530 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
22531 (__WAIT_STATUS_DEFN): Remove.
22532 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22533 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
22534 (wait, wait3, wait4): Use int * for the stat_loc argument.
22535 * posix/wait.c (__wait): Likewise.
22536 * posix/wait3.c (__wait3): Likewise.
22537 * posix/wait4.c (__wait4): Likewise.
22538 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
22539 (__WAIT_STATUS_DEFN): Remove.
22540 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22541 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
22542 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
22543 argument.
22544 * sysdeps/posix/wait.c (__libc_wait): Likewise.
22545 * sysdeps/posix/wait3.c (__wait3): Likewise.
22546 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
22547 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
22548 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
22549 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
22550 stat_loc argument.
22551 * manual/process.texi (BSD Wait Functions): Remove union wait.
22552
22553 2016-04-13 Andreas Schwab <schwab@suse.de>
22554
22555 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
22556 (test-extras): Add tst-tlsalign-vars.
22557 * math/Makefile: Wrap long lines.
22558 (libm-vec-test-wrappers): Define.
22559 (test-extras): Add $(libm-vec-test-wrappers).
22560 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
22561 * nss/Makefile (extra-test-objs): Add nss_test1.os.
22562 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
22563 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
22564 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
22565 (extra-test-objs): Add corresponding objects.
22566
22567 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
22568
22569 [BZ #19928]
22570 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
22571 New.
22572 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
22573 times of shared cache size.
22574 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
22575 (VMOVNT): New.
22576 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
22577 (VMOVNT): Likewise.
22578 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
22579 (VMOVNT): Likewise.
22580 (VMOVU): Changed to movups for smaller code sizes.
22581 (VMOVA): Changed to movaps for smaller code sizes.
22582 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
22583 comments.
22584 (PREFETCH): New.
22585 (PREFETCH_SIZE): Likewise.
22586 (PREFETCHED_LOAD_SIZE): Likewise.
22587 (PREFETCH_ONE_SET): Likewise.
22588 Rewrite to use forward and backward loops, which move 4 vector
22589 registers at a time, to support overlapping addresses and use
22590 non temporal store if size is above the threshold and there is
22591 no overlap between destination and source.
22592
22593 2016-04-12 Alex Smith <alex.smith@imgtec.com>
22594
22595 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
22596 Include dl-vdso.
22597 * sysdeps/unix/sysv/linux/mips/Versions: Add
22598 __vdso_clock_gettime.
22599 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
22600 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
22601 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
22602 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
22603 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
22604 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
22605 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
22606 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
22607 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
22608
22609 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22610
22611 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
22612 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
22613 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
22614 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
22615 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
22616 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
22617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
22618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
22619 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
22620 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
22621 syscalls generation.
22622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22623 [__NR_pwrite64] (__NR_write): Remove define.
22624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22625 [__NR_pwrite64] (__NR_write): Remove define.
22626 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
22627 Remove define.
22628 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
22629 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
22630 Remove define.
22631 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
22632 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
22633 Linux implementation as base.
22634 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
22635
22636 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
22637 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
22638 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
22639 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
22640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
22641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
22642 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
22643 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
22644 syscall generation.
22645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22646 [__NR_pread64] (__NR_pread): Remove define.
22647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22648 [__NR_pread64] (__NR_pread): Likewise.
22649 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
22650 define.
22651 (__libc_pread): Use SYSCALL_LL macro on offset argument.
22652 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
22653 Remove define.
22654 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
22655 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
22656 Linux implementation as base.
22657 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
22658 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
22659 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
22660
22661 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
22662 definition.
22663 (__ALIGNMENT_COUNT): Likewise.
22664 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
22665 (__ALIGNMENT_COUNT): Likewise.
22666 (SYSCALL_LL): New define.
22667 (SYSCALL_LL64): Likewise.
22668 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
22669 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
22670 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
22671 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
22672
22673 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22674 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
22675 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22676 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
22677 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22678 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
22679
22680 2016-04-11 Florian Weimer <fweimer@redhat.com>
22681
22682 [BZ #19865]
22683 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
22684 original buffer before retry.
22685
22686 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22687
22688 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
22689 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
22690 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
22691 GLRO(dl_auxv) list.
22692 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
22693 including <ldsodefs.h>.
22694 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
22695
22696 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
22697
22698 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
22699 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
22700 $(CPPFLAGS).
22701
22702 2016-04-09 Khem Raj <raj.khem@gmail.com>
22703
22704 [BZ #17950]
22705 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
22706 Add -mfpmath=387.
22707
22708 2016-04-09 Mike Frysinger <vapier@gentoo.org>
22709
22710 * sysdeps/i386/configure.ac: Change == to = when calling test.
22711 * sysdeps/x86_64/configure.ac: Likewise.
22712 * sysdeps/i386/configure: Regenerated.
22713 * sysdeps/x86_64/configure: Likewise.
22714
22715 2016-04-08 Mike Frysinger <vapier@gentoo.org>
22716
22717 [BZ #16137]
22718 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
22719 * benchtests/bench-strcoll.c (input_files): Likewise.
22720 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
22721 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
22722 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
22723
22724 2016-04-08 Joseph Myers <joseph@codesourcery.com>
22725
22726 [BZ #19929]
22727 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
22728 [__USE_XOPEN2K8 && !__USE_GNU].
22729 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
22730 variable.
22731
22732 [BZ #19925]
22733 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
22734 define if [!__USE_MISC && __USE_XOPEN2K].
22735 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
22736 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
22737 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
22738 Likewise.
22739 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
22740 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
22741 variable.
22742 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22743
22744 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22745
22746 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22747 (sysdep_routines): Add new strspn targets.
22748 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22749 (__libc_ifunc_impl_list): Add strspn.
22750 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
22751 New file.
22752 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
22753 Likewise.
22754 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
22755 Likewise.
22756 * sysdeps/powerpc/powerpc64/power8/strspn.S:
22757 Likewise.
22758
22759 2016-04-07 Florian Weimer <fweimer@redhat.com>
22760
22761 * misc/hsearch_r.c: Include <limits.h>.
22762
22763 2016-04-07 Florian Weimer <fweimer@redhat.com>
22764
22765 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
22766
22767 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
22768
22769 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
22770 (MEMCPY_SYMBOL): New.
22771 (MEMPCPY_SYMBOL): Likewise.
22772 (MEMMOVE_CHK_SYMBOL): Likewise.
22773 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
22774 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
22775 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
22776 Provide alias for memcpy in libc.a and ld.so.
22777
22778 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
22779
22780 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
22781 (MEMSET_CHK_SYMBOL): New. Define if not defined.
22782 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
22783 Disabled fro now.
22784 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
22785 symbols. Properly check USE_MULTIARCH on __memset symbols.
22786
22787 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
22788
22789 * benchtests/Makefile (string-benchset): Add memcpy-large,
22790 memmove-large and memset-large.
22791 * benchtests/bench-memcpy-large.c: New file.
22792 * benchtests/bench-memmove-large.c: Likewise.
22793 * benchtests/bench-memmove-large.c: Likewise.
22794 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
22795
22796 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
22797
22798 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
22799 32-bit displacement to avoid long nop between instructions.
22800
22801 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
22802
22803 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
22804 a comment on VMOVU and VMOVA.
22805
22806 2016-04-04 Florian Weimer <fweimer@redhat.com>
22807
22808 [BZ #19633]
22809 Use specified locale for number formatting in strfmon_l.
22810 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
22811 (__nl_lookup_word): New inline functions.
22812 * include/printf.h (__print_fp_l): Declare.
22813 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
22814 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
22815 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
22816 (___printf_fp): New function.
22817 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
22818 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
22819 * stdlib/tst-strfmon_l.c (do_test): New test.
22820 * stdlib/Makefile (tests): Add kt.
22821 (LOCALES): Build additional locales.
22822 (tst-strfmon_l.out): Require locales.
22823
22824 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
22825
22826 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
22827 if not in libc.
22828 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
22829 Likewise.
22830 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
22831 Likewise.
22832 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
22833 Likewise.
22834
22835 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
22836
22837 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
22838 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
22839 with unaligned_erms.
22840 (__memmove_erms): Skip if source == destination.
22841 (__memmove_unaligned_erms): Don't check source == destination
22842 first.
22843
22844 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
22845
22846 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
22847 bit_arch_Fast_Copy_Backward for Intel Core proessors.
22848
22849 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22850
22851 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
22852 * string/strspn.c (strspn): Likewise.
22853
22854 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
22855
22856 * benchtests/bench-memset.c (do_test): Support 64-byte
22857 alignment.
22858 (test_main): Test 64-byte alignment.
22859
22860 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
22861
22862 * benchtests/bench-memmove.c (test_main): Test 64-byte
22863 alignment.
22864
22865 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
22866
22867 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
22868
22869 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22870
22871 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
22872 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
22873 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
22874
22875 * string/strpbrk.c (strpbrk): Rewrite function.
22876 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
22877 (__strpbrk_c2): Likewise.
22878 (__strpbrk_c3): Likewise.
22879 * string/string-inlines.c
22880 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
22881 Likewise.
22882 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
22883 Likewise.
22884
22885 * string/strspn.c (strcspn): Rewrite function.
22886 * string/bits/string2.h (strspn): Use __builtin_strcspn.
22887 (__strspn_c1): Remove inline function.
22888 (__strspn_c2): Likewise.
22889 (__strspn_c3): Likewise.
22890 * string/string-inlines.c
22891 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
22892 compatibility symbol.
22893 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
22894 Likewise.
22895 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
22896 Likewise.
22897 * string/string-inlines.c: Include generic version.
22898
22899 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
22900 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22901
22902 * string/Version (libc): Add GLIBC_2.24.
22903 * string/strcspn.c (strcspn): Rewrite function.
22904 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
22905 (__strcspn_c1): Remove inline function.
22906 (__strcspn_c2): Likewise.
22907 (__strcspn_c3): Likewise.
22908 * string/string-inline.c
22909 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
22910 compatibility symbol.
22911 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
22912 Likewise.
22913 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
22914 Likewise.
22915 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
22916
22917 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
22918
22919 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
22920 Use ahi instead of aghi to adjust stack pointer.
22921
22922 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22923
22924 [BZ #19853]
22925 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
22926 TEST to take significant digits as second parameter.
22927 [TEST]: Redefine in terms of TEST_N taking 30
22928 significant digits.
22929 (do_test): Add test case to demonstrate precision
22930 failure in the ldbl-128ibm printf.
22931 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
22932 (__mpn_extract_long_double): Carry 7 extra intermediate
22933 bits of precision to aide computing difference when
22934 signs differ.
22935
22936 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
22937
22938 [BZ #19881]
22939 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22940 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
22941 memset-avx512-unaligned-erms.
22942 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22943 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
22944 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
22945 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
22946 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
22947 __memset_sse2_unaligned_erms, __memset_erms,
22948 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
22949 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
22950 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
22951 file.
22952 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
22953 Likewise.
22954 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
22955 Likewise.
22956 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
22957 Likewise.
22958
22959 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
22960
22961 [BZ #19776]
22962 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22963 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
22964 memmove-avx512-unaligned-erms.
22965 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22966 (__libc_ifunc_impl_list): Test
22967 __memmove_chk_avx512_unaligned_2,
22968 __memmove_chk_avx512_unaligned_erms,
22969 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
22970 __memmove_chk_sse2_unaligned_2,
22971 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
22972 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
22973 __memmove_avx512_unaligned_erms, __memmove_erms,
22974 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
22975 __memcpy_chk_avx512_unaligned_2,
22976 __memcpy_chk_avx512_unaligned_erms,
22977 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
22978 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
22979 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
22980 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
22981 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
22982 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
22983 __mempcpy_chk_avx512_unaligned_erms,
22984 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
22985 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
22986 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
22987 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
22988 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
22989 __mempcpy_erms.
22990 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
22991 file.
22992 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
22993 Likewise.
22994 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
22995 Likewise.
22996 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
22997 Likewise.
22998
22999 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
23000
23001 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
23002 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
23003 (La_s390_64_regs): Likewise.
23004 (La_s390_32_retval): Append vector register lrv_v24.
23005 (La_s390_64_retval): Likeweise.
23006 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
23007 Handle extended structs La_s390_32_regs and La_s390_32_retval.
23008 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
23009 Handle extended structs La_s390_64_regs and La_s390_64_retval.
23010
23011 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
23012
23013 [BZ #19916]
23014 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
23015 to create a non-vector/vector version for _dl_runtime_resolve and
23016 _dl_runtime_profile. Move implementation to ...
23017 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
23018 (_dl_runtime_resolve) Save and restore fpr/vrs.
23019 (_dl_runtime_profile) Save and restore vrs and fix some issues
23020 if _dl_call_pltexit is called.
23021 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
23022 Choose the correct resolver function if running on a machine with vx.
23023 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
23024 to create a non-vector/vector version for _dl_runtime_resolve and
23025 _dl_runtime_profile. Move implementation to ...
23026 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
23027 (_dl_runtime_resolve) Save and restore fpr/vrs.
23028 (_dl_runtime_profile) Save and restore vrs and fix some issues
23029 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
23030 Choose the correct resolver function if running on a machine with vx.
23031
23032 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23033
23034 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
23035
23036 2016-03-31 Florian Weimer <fweimer@redhat.com>
23037
23038 [BZ #19509]
23039 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
23040 skip_map != NULL.
23041 * elf/tst-dlsym-error.c: New file.
23042 * elf/Makefile (tests): Add tst-dlsym-error.
23043 (tst-dlsym-error): Link against libdl.
23044
23045 2016-03-29 Joseph Myers <joseph@codesourcery.com>
23046
23047 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23048 (__ASSUME_FUTIMESAT): Remove macro.
23049 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
23050
23051 2016-03-29 Florian Weimer <fweimer@redhat.com>
23052
23053 [BZ #19879]
23054 CVE-2016-3075
23055 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
23056 copy name.
23057
23058 2016-03-29 Florian Weimer <fweimer@redhat.com>
23059
23060 [BZ #19837]
23061 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
23062 error if parse_line fails.
23063
23064 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23065
23066 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
23067 (index_cpu_ERMS): Likewise.
23068 (reg_ERMS): Likewise.
23069
23070 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
23071
23072 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
23073 PER_LINUX_FDPIC): Add.
23074
23075 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23076
23077 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23078 memcpy-avx512-no-vzeroupper.
23079 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
23080 to ...
23081 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
23082 (MEMCPY): Don't define.
23083 (MEMCPY_CHK): Likewise.
23084 (MEMPCPY): Likewise.
23085 (MEMPCPY_CHK): Likewise.
23086 (MEMPCPY_CHK): Renamed to ...
23087 (__mempcpy_chk_avx512_no_vzeroupper): This.
23088 (MEMPCPY_CHK): Renamed to ...
23089 (__mempcpy_chk_avx512_no_vzeroupper): This.
23090 (MEMCPY_CHK): Renamed to ...
23091 (__memmove_chk_avx512_no_vzeroupper): This.
23092 (MEMCPY): Renamed to ...
23093 (__memmove_avx512_no_vzeroupper): This.
23094 (__memcpy_avx512_no_vzeroupper): New alias.
23095 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
23096
23097 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23098
23099 [BZ #18858]
23100 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23101 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
23102 and mempcpy-avx512-no-vzeroupper.
23103 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
23104 New.
23105 (MEMPCPY): Likewise.
23106 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
23107 (MEMPCPY_CHK): New.
23108 (MEMPCPY): Likewise.
23109 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
23110 (MEMPCPY): Likewise.
23111 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
23112 (MEMPCPY): Likewise.
23113 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
23114 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
23115 Likewise.
23116 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
23117 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
23118
23119 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23120 Amit Pawar <Amit.Pawar@amd.com>
23121
23122 [BZ #19583]
23123 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
23124 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
23125 processors. Set Fast_Copy_Backward for AMD Excavator
23126 processors.
23127 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
23128 New.
23129 (index_arch_Fast_Unaligned_Copy): Likewise.
23130 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
23131 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
23132
23133 2016-03-25 Florian Weimer <fweimer@redhat.com>
23134
23135 [BZ #19791]
23136 * resolv/res_send.c (close_and_return_error): New function.
23137 (send_dg): Initialize *resplen2 after reopen failure. Call
23138 close_and_return_error for error returns. On error paths without
23139 __res_iclose, initialze *resplen2 explicitly. Update comment for
23140 successful return.
23141
23142 2016-03-25 Florian Weimer <fweimer@redhat.com>
23143
23144 [BZ #19860]
23145 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
23146 zero if the compiler does not provide the AVX512F bit.
23147
23148 2016-03-24 Joseph Myers <joseph@codesourcery.com>
23149
23150 [BZ #19848]
23151 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
23152 from 8 to 4.
23153 (__ieee754_powl): Compare integer exponent against 4 not 8.
23154 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
23155 from 8 to 4.
23156 (__ieee754_powl): Compare integer exponent against 4 not 8.
23157 * math/auto-libm-test-in: Add more tests of pow.
23158 * math/auto-libm-test-out: Regenerated.
23159 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
23160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23161
23162 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
23163
23164 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
23165 Make code unconditional.
23166 [!__NR_utimensat]: Remove conditional code.
23167 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
23168 Make code unconditional.
23169 [!__NR_utimensat]: Remove conditional code.
23170 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
23171 Make code unconditional.
23172 [!__NR_utimensat]: Remove conditional code.
23173
23174 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
23175
23176 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
23177 Make code unconditional.
23178
23179 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
23180
23181 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
23182 call-clobbered %eax on retry path.
23183 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
23184
23185 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
23186
23187 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
23188 Don't set %rcx twice before "rep movsb".
23189
23190 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
23191
23192 [BZ #19583]
23193 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
23194 inline. Check family before setting family, model and
23195 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
23196 bits here.
23197 (init_cpu_features): Replace HAS_CPU_FEATURE and
23198 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
23199 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
23200 for Intel processors with usable AVX2. Call get_common_indeces
23201 for other processors with family == NULL.
23202 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
23203 (CPU_FEATURES_ARCH_P): Likewise.
23204 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
23205 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
23206
23207 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23208
23209 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
23210 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
23211 $(shared-thread-library) instead of hardcoding the path to libpthread.
23212
23213 2016-03-22 Joseph Myers <joseph@codesourcery.com>
23214
23215 * sysdeps/unix/sysv/linux/kernel-features.h
23216 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
23217 * sysdeps/unix/sysv/linux/getdents.c
23218 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
23219 [!have_no_getdents64_defined]: Likewise.
23220 (__GETDENTS): Remove __have_no_getdents64 conditional.
23221
23222 2016-03-21 Joseph Myers <joseph@codesourcery.com>
23223
23224 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
23225 Remove macro.
23226 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
23227 <kernel-features.h>.
23228 (signalfd) [__NR_signalfd4]: Make code unconditional.
23229 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
23230
23231 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23232
23233 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
23234 style.
23235
23236 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
23237
23238 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
23239 (__pthread_enable_asynccancel): Use JUMPTARGET to call
23240 __pthread_unwind.
23241 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
23242 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
23243 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
23244 (__condvar_cleanup1): Likewise.
23245
23246 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
23247
23248 [BZ #19822]
23249 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
23250 move it to the final $@ location.
23251
23252 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23253
23254 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
23255 access where posix_spawn success and pid argument is null.
23256 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
23257 success case.
23258
23259 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
23260
23261 * sysdeps/mach/hurd/i386/c++-types.data: New file.
23262
23263 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
23264
23265 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
23266 and __fcntl.
23267 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
23268 __fcntl only.
23269 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
23270 adding attribute_hidden to __open and __fcntl.
23271
23272 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
23273 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
23274 depend on libc-modules.h,
23275 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
23276
23277 2016-03-17 Joseph Myers <joseph@codesourcery.com>
23278
23279 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
23280 Remove macro.
23281 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
23282 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
23283 entry.
23284
23285 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
23286 Remove macro.
23287 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
23288 include <kernel-features.h>.
23289 [!__ASSUME_FALLOCATE]: Remove conditional code.
23290 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
23291
23292 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
23293
23294 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
23295 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
23296 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
23297 (_ZGVdN4v_cos_avx2): Likewise.
23298 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
23299 (_ZGVdN4v_cos): Likewise.
23300 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
23301 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
23302 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
23303 (_ZGVdN4v_exp_avx2): Likewise.
23304 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
23305 (_ZGVdN4v_exp): Likewise.
23306 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
23307 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
23308 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
23309 (_ZGVdN4v_log_avx2): Likewise.
23310 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
23311 (_ZGVdN4v_log): Likewise.
23312 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
23313 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
23314 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
23315 (_ZGVdN4vv_pow_avx2): Likewise.
23316 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
23317 (_ZGVdN4vv_pow): Likewise.
23318 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
23319 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
23320 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
23321 (_ZGVdN4v_sin_avx2): Likewise.
23322 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
23323 (_ZGVdN4v_sin): Likewise.
23324 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
23325 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
23326 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
23327 (_ZGVdN4vvv_sincos_avx2): Likewise.
23328 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
23329 (_ZGVdN4vvv_sincos): Likewise.
23330 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
23331 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
23332 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
23333 (_ZGVbN4v_cosf_sse4): Likewise.
23334 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
23335 (_ZGVdN8v_cosf_avx2): Likewise.
23336 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
23337 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
23338 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
23339 (_ZGVbN4v_expf_sse4): Likewise.
23340 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
23341 (_ZGVdN8v_expf_avx2): Likewise.
23342 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
23343 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
23344 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
23345 (_ZGVbN4v_logf_sse4): Likewise.
23346 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
23347 (_ZGVdN8v_logf_avx2): Likewise.
23348 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
23349 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
23350 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
23351 (_ZGVbN4vv_powf_sse4): Likewise.
23352 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
23353 (_ZGVdN8vv_powf_avx2): Likewise.
23354 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
23355 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
23356 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
23357 (_ZGVbN4vvv_sincosf_sse4): Likewise.
23358 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
23359 (_ZGVdN8vvv_sincosf_avx2): Likewise.
23360 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
23361 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
23362 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
23363 (_ZGVbN4v_sinf_sse4): Likewise.
23364 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
23365 (_ZGVdN8v_sinf_avx2): Likewise.
23366 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23367 Use JUMPTARGET to call callee.
23368 (WRAPPER_IMPL_SSE2_ff): Likewise.
23369 (WRAPPER_IMPL_SSE2_fFF): Likewise.
23370 (WRAPPER_IMPL_AVX): Likewise.
23371 (WRAPPER_IMPL_AVX_ff): Likewise.
23372 (WRAPPER_IMPL_AVX_fFF): Likewise.
23373 (WRAPPER_IMPL_AVX512): Likewise.
23374 (WRAPPER_IMPL_AVX512_ff): Likewise.
23375 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23376 Likewise.
23377 (WRAPPER_IMPL_SSE2_ff): Likewise.
23378 (WRAPPER_IMPL_SSE2_fFF): Likewise.
23379 (WRAPPER_IMPL_AVX): Likewise.
23380 (WRAPPER_IMPL_AVX_ff): Likewise.
23381 (WRAPPER_IMPL_AVX_fFF): Likewise.
23382 (WRAPPER_IMPL_AVX512): Likewise.
23383 (WRAPPER_IMPL_AVX512_ff): Likewise.
23384 (WRAPPER_IMPL_AVX512_fFF): Likewise.
23385
23386 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23387
23388 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
23389 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
23390 qualifier.
23391 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
23392 internal_function qualifiers.
23393
23394 2016-03-15 Carlos O'Donell <carlos@redhat.com>
23395
23396 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
23397 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
23398 * math/atest-exp.c (exp_mpn): Mark chk unused.
23399 * math/atest-exp2.c (exp_mpn): Likewise.
23400 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
23401 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
23402
23403 2016-03-15 Joseph Myers <joseph@codesourcery.com>
23404
23405 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
23406 Remove macro.
23407 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
23408 <kernel-features.h>.
23409 [__NR_ppoll]: Make code unconditional.
23410 [!__ASSUME_PPOLL]: Remove conditional code.
23411
23412 * sysdeps/unix/sysv/linux/kernel-features.h
23413 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
23414 (__ASSUME_ACCEPT4): Likewise.
23415 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23416 Define.
23417 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
23418 Likewise.
23419 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23420 Likewise.
23421 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
23422 Likewise.
23423 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
23424 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
23425 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23426 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23427 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23428 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23429 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23430 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23431 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23432 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23433 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23434 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23435 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23436 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23437 * sysdeps/unix/sysv/linux/i386/kernel-features.h
23438 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23439 Likewise.
23440 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23441 Likewise.
23442 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23443 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23444 0x040300].
23445 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23446 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23447 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23448 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23449 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23450 0x030300].
23451 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
23452 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23453 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23454 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23455 0x040300].
23456 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23457 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23458 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23459 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23460 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23461 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23462 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23463 0x030300].
23464 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23465 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23466 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23467 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23468 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23469 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23470 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23471 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23472 * sysdeps/unix/sysv/linux/s390/kernel-features.h
23473 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23474 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23475 0x040300].
23476 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23477 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23478 * sysdeps/unix/sysv/linux/sh/kernel-features.h
23479 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23480 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23481 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23482 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
23483 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23484 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23485 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23486 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23487 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23488 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23489 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23490 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
23491 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23492 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23493 Likewise.
23494 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23495 Likewise.
23496
23497 2016-03-15 Andreas Schwab <schwab@suse.de>
23498
23499 [BZ #19257]
23500 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
23501 statp->_u._ext.nscount as loop count.
23502
23503 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
23504
23505 * math/test-signgam-finite-c99.c: Also #undef
23506 __LIBC_INTERNAL_MATH_INLINES.
23507 * math/test-signgam-main.c: Likewise.
23508
23509 2016-03-14 Joseph Myers <joseph@codesourcery.com>
23510
23511 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
23512 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
23513 (MADV_FREE): Likewise.
23514 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
23515 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
23516 EPOLLEXCLUSIVE.
23517
23518 2016-03-14 Carlos O'Donell <carlos@redhat.com>
23519
23520 * timezone/README: Remove mention of checktab.awk. Mention wiki
23521 SharedSourceFiles.
23522
23523 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
23524
23525 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
23526 WUNTRACED.
23527
23528 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23529
23530 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
23531 order to match the type of p when calling atomic_exchange_acq().
23532
23533 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23534
23535 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
23536 cfi_offset calls.
23537 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
23538 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
23539 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
23540 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
23541 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
23542
23543 2016-03-10 Carlos O'Donell <carlos@redhat.com>
23544
23545 * timezone/checktab.awk: Removed.
23546
23547 2016-03-10 Joseph Myers <joseph@codesourcery.com>
23548
23549 * manual/math.texi (Errors in Math Functions): Document relaxed
23550 accuracy goals for IBM long double.
23551 * math/libm-test.inc (test_exceptions): Always allow spurious
23552 "underflow" and "inexact" exceptions for IBM long double.
23553
23554 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
23555
23556 [BZ #19762]
23557 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
23558 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
23559 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
23560 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
23561 (bit_arch_*): This for feature array.
23562 (bit_*): Renamed to ...
23563 (bit_cpu_*): This for cpu array.
23564 (index_*): Renamed to ...
23565 (index_arch_*): This for feature array.
23566 (index_*): Renamed to ...
23567 (index_cpu_*): This for cpu array.
23568 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
23569 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
23570 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
23571 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
23572 bit_##name with index_cpu_##name and bit_cpu_##name.
23573 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
23574 bit_##name with index_arch_##name and bit_arch_##name.
23575
23576 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
23577
23578 [BZ #19792]
23579 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
23580 Terminate FDE before return label.
23581
23582 2016-03-09 Joseph Myers <joseph@codesourcery.com>
23583
23584 [BZ #19790]
23585 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
23586 (rintl): Define as macro.
23587 [USE_AS_NEARBYINTL] (__rintl): Likewise.
23588 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
23589 of fesetround. Ensure results are evaluated before end of scope.
23590 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
23591 USE_AS_NEARBYINTL and include s_rintl.c.
23592 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
23593 Disable exception traps in new environment.
23594 (libc_feholdsetround_ppc_ctx): Likewise.
23595
23596 2016-03-08 Roland McGrath <roland@hack.frob.com>
23597
23598 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
23599 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
23600 (tst_audit10_aux) [__AVX512F__]: ... here.
23601
23602 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
23603
23604 * include/sys/auxv.h: New file.
23605
23606 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
23607
23608 [BZ #19759]
23609 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
23610
23611 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
23612
23613 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
23614 operand modifier.
23615 (feclearexcept): Likewise.
23616
23617 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
23618
23619 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
23620 to reflect the entire 32-bit HWCAP.
23621 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
23622 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
23623
23624 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
23625
23626 [BZ #19783]
23627 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
23628 $(test-via-rtld-prefix).
23629 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
23630
23631 2016-03-08 Florian Weimer <fweimer@redhat.com>
23632
23633 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
23634 union wait. Report any non-zero exit status as error.
23635
23636 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23637
23638 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
23639 configured with --enable-hardcoded-path-in-tests.
23640
23641 2016-03-08 Joseph Myers <joseph@codesourcery.com>
23642
23643 [BZ #19677]
23644 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
23645 (__ieee754_remainderl): Put zero low parts in canonical form.
23646 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
23647 file. Based on
23648 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
23649 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
23650 with wrapper round test-fmodrem-ldbl-128ibm.c.
23651 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
23652 file.
23653 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
23654 Likewise.
23655 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
23656 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
23657
23658 2016-03-07 Florian Weimer <fweimer@redhat.com>
23659
23660 [BZ #19610]
23661 * elf/ldconfig.c (opt_link): Update comment.
23662 (options): Update help string for option -X.
23663 (search_dir): Unlink stale symbolic link only if updating symbolic
23664 links.
23665 * elf/tst-ldconfig-X.sh: New file.
23666 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
23667 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
23668
23669 2016-03-07 Andreas Schwab <schwab@suse.de>
23670
23671 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
23672 needed arguments.
23673
23674 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
23675
23676 [BZ #15333]
23677 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
23678 to lstat64.
23679
23680 2016-03-07 Florian Weimer <fweimer@redhat.com>
23681
23682 * libio/filedoalloc.c (isatty): Remove.
23683 (local_isatty): Add comment. Call __isatty directly.
23684 (_IO_file_doallocate): Update comment. Assume _LIBC.
23685 * libio/wfiledoalloc.c (isatty): Remove.
23686 (_IO_wfile_doallocate): Update comment.
23687
23688 2016-03-07 Florian Weimer <fweimer@redhat.com>
23689
23690 [BZ #19269]
23691 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
23692 tst-audit4-aux.o.
23693 (tst-audit10): Depend on tst-audit10-aux.o.
23694 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
23695 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
23696 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
23697 instead of inline AVX code.
23698 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
23699 instead of inline AVX512 code.
23700 * sysdeps/x86_64/tst-audit4-aux.c: New file
23701 * sysdeps/x86_64/tst-audit10-aux.c: New file
23702
23703 [BZ #19648]
23704 * test-skeleton.c (main): Do not set RLIMIT_DATA.
23705
23706 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23707
23708 [BZ #14750]
23709 [BZ #10354]
23710 [BZ #18433]
23711 * include/sched.h (__clone): Add hidden prototype.
23712 (__clone2): Likewise.
23713 * include/unistd.h (__dup): Likewise.
23714 * posix/Makefile (tests): Add tst-spawn2.
23715 * posix/tst-spawn2.c: New file.
23716 * sysdeps/posix/dup.c (__dup): Add hidden definition.
23717 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
23718 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
23719 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
23720 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
23721 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
23722 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
23723 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
23724 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
23725 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
23726 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
23727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
23728 Likewise.
23729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23730 Likewise.
23731 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
23732 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
23733 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
23734 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
23735 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
23736 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
23737 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
23738 * sysdeps/unix/sysv/linux/nptl-signals.h
23739 (____nptl_is_internal_signal): New function.
23740 * sysdeps/unix/sysv/linux/spawni.c: New file.
23741
23742 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
23743 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
23744 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
23745 * posix/tst-execvp2.c (do_test): Likewise.
23746 * posix/tst-execvp3.c (do_test): Likewise.
23747 * posix/tst-execvp4.c (do_test): Likewise.
23748 * posix/tst-execvpe1.c: New file.
23749 * posix/tst-execvpe2.c: Likewise.
23750 * posix/tst-execvpe3.c: Likewise.
23751 * posix/tst-execvpe4.c: Likewise.
23752 * posix/tst-execvpe5.c: Likewise.
23753 * posix/tst-execvpe6.c: Likewise.
23754
23755 [BZ #19534]
23756 * posix/execl.c (execl): Remove dynamic memory allocation.
23757 * posix/execle.c (execle): Likewise.
23758 * posix/execlp.c (execlp): Likewise.
23759
23760 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
23761
23762 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
23763 Replace .text with .text.avx512.
23764 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
23765 Likewise.
23766
23767 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
23768
23769 * sysdeps/generic/libnsl.abilist: New file.
23770 * sysdeps/generic/libutil.abilist: New file.
23771
23772 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
23773
23774 [BZ #19762]
23775 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
23776 HAS_ARCH_FEATURE with Fast_Rep_String.
23777 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
23778 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
23779 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
23780 Likewise.
23781 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
23782 Likewise.
23783 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
23784 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
23785 Likewise.
23786 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
23787 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
23788 Likewise.
23789
23790 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
23791
23792 [BZ #19745]
23793 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
23794 with *%rax in call.
23795
23796 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
23797
23798 [BZ #19745]
23799 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
23800 with *__libc_start_main@GOTPCREL(%rip) in call.
23801
23802 2016-03-04 Roland McGrath <roland@hack.frob.com>
23803
23804 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
23805 inside conditional for nonempty $(CXX).
23806
23807 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
23808 nonempty.
23809
23810 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
23811 to test for empty $(CXX) rather than $(CXX) of "no".
23812
23813 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
23814
23815 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
23816
23817 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
23818 H.J. Lu <hongjiu.lu@intel.com>
23819
23820 [BZ #18880]
23821 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
23822 instead of Slow_BSF, and also check for Fast_Copy_Backward to
23823 enable __memcpy_ssse3_back.
23824
23825 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
23826
23827 [BZ #19758]
23828 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
23829 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
23830
23831 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
23832
23833 [BZ #19490]
23834 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
23835 (__fentry__): Likewise.
23836
23837 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
23838
23839 * gmon/Makefile (noprof): Add $(sysdep_noprof).
23840 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
23841
23842 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
23843
23844 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
23845 __mcount_internal directly.
23846 (C_LABEL(__fentry__)): Likewise.
23847 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
23848 directly.
23849
23850 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
23851
23852 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23853 (__start_context): Call __setcontext directly.
23854
23855 2016-02-26 Joseph Myers <joseph@codesourcery.com>
23856
23857 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23858 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23859 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
23860 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
23861 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23862 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23863 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
23864 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23865 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23866 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
23867 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
23868 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
23869 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23870 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23871 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23872 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23873 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
23874 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23875 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23876 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
23877 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
23878 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23879 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23880 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
23881 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
23882 Remove conditional code.
23883 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23884 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
23885 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23886 * sysdeps/unix/sysv/linux/sh/kernel-features.h
23887 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
23888 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23889 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
23890 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
23891 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23892 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23893 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23894 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23895
23896 2016-02-24 Marko Myllynen <myllynen@redhat.com>
23897
23898 * NEWS (2.23): Fix typo in bug 19048 text.
23899
23900 2016-02-24 Carlos O'Donell <carlos@redhat.com>
23901
23902 [BZ #14259]
23903 * Makeconfig: Rename msgcatdir to localedir.
23904 Rename inst_msgcatdir to inst_localedir.
23905 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
23906 * config.make.in: Add localedir.
23907 * elf/Makefile ($(objpfx)sotruss): Use localedir.
23908 (ldd-rewrite): Likewise.
23909 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
23910 (install-others): Use inst_localedir.
23911 (CPPFLAGS): Use localedir.
23912 * locale/Makefile (locale-CPPFLAGS): Likewise.
23913 * po/Makefile (mo-installed): Use inst_localedir.
23914
23915 [BZ #19575]
23916 * localedata/charmaps/GB18030: Update comments regarding PAU to
23917 non-PUA mappings.
23918
23919 2016-02-24 Joseph Myers <joseph@codesourcery.com>
23920
23921 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
23922 test for header.
23923 * sysdeps/unix/sysv/linux/configure: Regenerated.
23924 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
23925 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
23926 Remove conditional code.
23927 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
23928
23929 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
23930 Define to 3.2.0.
23931 (arch_minimum_kernel): Likewise.
23932 * sysdeps/unix/sysv/linux/configure: Regenerated.
23933 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
23934 Define to 2.6.32.
23935 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
23936 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
23937 (arch_minimum_kernel): Define to 2.6.32.
23938 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
23939 * README: Document Linux 3.2 requirement.
23940 * manual/install.texi (Linux): Document Linux 3.2 headers
23941 requirement.
23942 * INSTALL: Regenerated.
23943
23944 2016-02-24 Andreas Schwab <schwab@suse.de>
23945
23946 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
23947 if !NO_LONG_DOUBLE.
23948
23949 2016-02-22 Roland McGrath <roland@hack.frob.com>
23950
23951 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
23952 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
23953
23954 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
23955
23956 [BZ #19512]
23957 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
23958
23959 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
23960
23961 * posix/tst-dir.c: Include libc-internal.h.
23962
23963 2016-02-20 Florian Weimer <fweimer@redhat.com>
23964
23965 [BZ #19056]
23966 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
23967 * manual/filesys.texi (Reading/Closing Directory): Mention
23968 deprecaion.
23969 * posix/tst-dir.c (main): Disable deprecation warning in test.
23970
23971 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
23972
23973 [BZ #19679]
23974 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
23975 Renamed to ...
23976 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
23977 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
23978 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
23979 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
23980 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
23981 * sysdeps/x86_64/dl-trampoline.h
23982 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
23983 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
23984
23985 2016-02-19 Mark Wielaard <mjw@redhat.com>
23986
23987 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
23988
23989 2016-02-19 Mark Wielaard <mjw@redhat.com>
23990
23991 * elf/elf.h (R_386_GOT32X): New.
23992 (R_386_NUM): Update.
23993 (R_X86_64_GOTPCRELX: New.
23994 (R_X86_64_REX_GOTPCRELX): New.
23995 (R_X86_64_NUM): Update.
23996
23997 2016-02-19 Mike Frysinger <vapier@gentoo.org>
23998
23999 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
24000
24001 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
24002
24003 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
24004 assign attr->stackaddr to it, and adjust it down when
24005 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
24006 [_STACK_GROWS_UP]: Delete assert.
24007 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
24008 Implement stack grows up logic.
24009 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
24010 stack grows up logic.
24011
24012 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24013
24014 * NEWS: Update with 2.24 template.
24015
24016 2016-02-19 Joseph Myers <joseph@codesourcery.com>
24017
24018 [BZ #19678]
24019 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
24020 Ensure +0.0 is returned when taking the next value below the least
24021 positive value.
24022
24023 2016-02-19 Florian Weimer <fweimer@redhat.com>
24024
24025 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
24026 available. Do not define NO_THREADS.
24027 * malloc/malloc.c: Do not check NO_THREADS.
24028 * malloc/arena.c: Likewise.
24029
24030 2016-02-19 Florian Weimer <fweimer@redhat.com>
24031
24032 * malloc/malloc.c (__libc_mallinfo): Update comment.
24033 (struct malloc_par): Remove max_total_mem member, it was always 0.
24034 (int_mallinfo): Store 0 into usmblks (no functional change).
24035 * malloc/hooks.c (struct malloc_state): Document that
24036 max_total_mem is always 0.
24037 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
24038 always 0.
24039 * manual/memory.texi (Statistics of Malloc): Likewise.
24040
24041 2016-02-19 Florian Weimer <fweimer@redhat.com>
24042
24043 * malloc/malloc.c (sysmalloc): Do not update arena_max.
24044 * malloc/arena.c (arena_max): Remove.
24045 (heap_trim, _int_new_arena): Do not update arena_max.
24046
24047 2016-02-19 Florian Weimer <fweimer@redhat.com>
24048
24049 * resolv/res_init.c (res_ninit): Update comment.
24050
24051 2016-02-19 Florian Weimer <fweimer@redhat.com>
24052
24053 [BZ #19505]
24054 * posix/spawn_int.h: Add headers and include guard.
24055 (__spawn_valid_fd): New function.
24056 * posix/spawn_faction_addopen.c
24057 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
24058 * posix/spawn_faction_addclose.c
24059 (posix_spawn_file_actions_addclose): Likewise.
24060 * posix/spawn_faction_adddup2.c
24061 (posix_spawn_file_actions_adddup2): Likewise. Add check for
24062 second file descriptor.
24063 * posix/spawn_valid_fd.c: New file.
24064 * posix/tst-posix_spawn-fd.c: New file.
24065 * posix/Makefile (routines): Add spawn_valid_fd.
24066 (tests): Add tst-posix_spawn-fd.
24067
24068 2016-02-19 Florian Weimer <fweimer@redhat.com>
24069
24070 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
24071 (do_test): Limit the number of arenas, so that we can use fewer
24072 outer threads. Limit timeout to 3 seconds, in preparation for a
24073 larger TIMEOUT value.
24074
24075 2016-02-19 Joseph Myers <joseph@codesourcery.com>
24076
24077 [BZ #19674]
24078 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
24079 sign in overflowing and underflowing results when overflow or
24080 underflow is detected early. Include sign in result before rather
24081 than after scaling.
24082
24083 [BZ #19603]
24084 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
24085 (__ieee754_remainderl): Adjust sign of integer version of low part
24086 when taking absolute value of high part.
24087 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24088 * math/libm-test.inc (remainder_test_data): Add another test.
24089 (remquo_test_data): Likewise.
24090
24091 2016-02-18 Joseph Myers <joseph@codesourcery.com>
24092
24093 [BZ #19602]
24094 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
24095 equal high parts and both low parts zero specially.
24096 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
24097 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
24098 Add test-fmodl-ldbl-128ibm.
24099
24100 [BZ #19595]
24101 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
24102 common logic for all cases of shifting subnormal results. Do not
24103 insert sign bit in shifted mantissa. Always pass -1023 as biased
24104 exponent to ldbl_insert_mantissa in subnormal case.
24105
24106 [BZ #19594]
24107 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
24108 on high and low parts then adjust result and use
24109 ldbl_canonicalize_int if needed.
24110
24111 [BZ #19593]
24112 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
24113 on high part and __floor or __ceil on low part then use
24114 ldbl_canonicalize_int if needed.
24115
24116 [BZ #19592]
24117 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
24118 high and low parts then use ldbl_canonicalize_int if needed.
24119
24120 [BZ #17899]
24121 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
24122 New function.
24123 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
24124 on high and low parts then use ldbl_canonicalize_int if needed.
24125
24126 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24127
24128 * configure: Regenerated.
24129
24130 * po/libc.pot: Regenerated.
24131
24132 * po/be.po: Updated translation.
24133 * po/bg.po: Likewise.
24134 * po/ca.po: Likewise.
24135 * po/cs.po: Likewise.
24136 * po/da.po: Likewise.
24137 * po/el.po: Likewise.
24138 * po/eo.po: Likewise.
24139 * po/es.po: Likewise.
24140 * po/fi.po: Likewise.
24141 * po/fr.po: Likewise.
24142 * po/gl.po: Likewise.
24143 * po/hr.po: Likewise.
24144 * po/hu.po: Likewise.
24145 * po/ia.po: Likewise.
24146 * po/id.po: Likewise.
24147 * po/it.po: Likewise.
24148 * po/ja.po: Likewise.
24149 * po/lt.po: Likewise.
24150 * po/nb.po: Likewise.
24151 * po/nl.po: Likewise.
24152 * po/pt_BR.po: Likewise.
24153 * po/rw.po: Likewise.
24154 * po/sk.po: Likewise.
24155 * po/sl.po: Likewise.
24156 * po/sv.po: Likewise.
24157 * po/tr.po: Likewise.
24158 * po/zh_CN.po: Likewise.
24159 * po/zh_TW.po: Likewise.
24160
24161 * version.h (RELEAES): Set to "development".
24162 (VERSION): Set to 2.23.90.
24163
24164 * version.h (RELEASE): Set to "stable".
24165 (VERSION): Set to 2.23.
24166 * include/feature.h (__GLIBC_MINOR__): Set to 23.
24167
24168 * NEWS: Updated fixed bugs.
24169
24170 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
24171 Wilco Dijkstra <wdijkstr@arm.com>
24172
24173 [BZ #19462]
24174 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
24175 (_STRING_INLINE_unaligned): This.
24176 * include/string.h: Include <string_private.h>.
24177 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
24178 _STRING_INLINE_unaligned.
24179 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
24180 (_STRING_INLINE_unaligned): New.
24181 * sysdeps/aarch64/string_private.h: New file.
24182 * sysdeps/generic/string_private.h: Likewise.
24183 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
24184 * sysdeps/s390/string_private.h: Likewise.
24185 * sysdeps/x86/string_private.h: Likewise.
24186 * sysdeps/m68k/m680x0/m68020/bits/string.h
24187 (_STRING_ARCH_unaligned): Renamed to ...
24188 (_STRING_INLINE_unaligned): This.
24189 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
24190 to ...
24191 (_STRING_INLINE_unaligned): This.
24192 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
24193 to ...
24194 (_STRING_INLINE_unaligned): This.
24195 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
24196 to ...
24197 (_STRING_INLINE_unaligned): This.
24198
24199 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
24200 H.J. Lu <hongjiu.lu@intel.com>
24201
24202 [BZ #19590]
24203 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
24204 relocation.
24205
24206 2016-02-15 Carlos O'Donell <carlos@redhat.com>
24207
24208 [BZ #18665]
24209 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
24210 *herrno_p.
24211 (gaih_getanswer): Document functional behviour. Return tryagain
24212 if any result is tryagain.
24213 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
24214 when freed.
24215 * resolv/res_send.c: Add copyright text.
24216 (__libc_res_nsend): Document that MAXPACKET is expected.
24217 (send_vc): Document. Remove buffer reuse.
24218 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
24219 size of the buffer. Add Dprint for truncated UDP buffer.
24220
24221 2016-02-14 Carlos O'Donell <carlos@redhat.com>
24222
24223 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
24224 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
24225 * INSTALL: Regenerate.
24226
24227 2016-02-14 Jakub Jelinek <jakub@redhat.com>
24228 Jonathan Wakely <jwakely@redhat.com>
24229 Carlos O'Donell <carlos@redhat.com>
24230
24231 [BZ 19439]
24232 * math/Makefile (tests): Add test-math-isinff.
24233 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
24234 * math/bits/mathcalls.h [__USE_MISC]: Use
24235 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
24236 functions not in C++11 and which don't conflict e.g. isinff,
24237 isinfl etc.
24238 * math/test-math-isinff.cc: New file.
24239
24240 2016-02-12 Florian Weimer <fweimer@redhat.com>
24241
24242 * misc/bug18240.c (do_test): Set RLIMIT_AS.
24243
24244 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
24245
24246 [BZ #19529]
24247 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
24248
24249 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24250
24251 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
24252
24253 2016-02-01 Joseph Myers <joseph@codesourcery.com>
24254
24255 [BZ #19550]
24256 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
24257 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
24258 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
24259 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
24260 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
24261 New syscall entry.
24262 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
24263 New syscall entry.
24264 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
24265 syscall entry.
24266
24267 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
24268
24269 [BZ #18240]
24270 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
24271 unsigned int wraparound.
24272
24273 2016-01-27 Florian Weimer <fweimer@redhat.com>
24274
24275 [BZ #18240]
24276 * misc/bug18240.c: New test.
24277 * misc/Makefile (tests): Add it.
24278
24279 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
24280 Joseph Myers <joseph@codesourcery.com>
24281
24282 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
24283 load in branch delay slot when less than a word of input left.
24284
24285 2016-01-27 Andreas Schwab <schwab@suse.de>
24286
24287 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
24288 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
24289 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
24290 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
24291
24292 2016-01-26 David S. Miller <davem@davemloft.net>
24293
24294 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
24295
24296 2016-01-25 David S. Miller <davem@davemloft.net>
24297
24298 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
24299 __sqrtl_finite.
24300 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
24301 instead using versioned_symbol.
24302 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
24303 of entries.
24304
24305 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
24306 __sqrtl_finite to GLIBC_2.23
24307
24308 2016-01-25 Ricchard Henderson <rth@redhat.com>
24309
24310 * sysdeps/alpha/fpu/libm-test-ulps: Update.
24311
24312 2016-01-25 Andreas Schwab <schwab@suse.de>
24313
24314 [BZ #17514]
24315 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
24316 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
24317 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
24318 * nptl/tst-mutex-errorcheck.c: New file.
24319
24320 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24321
24322 [BZ #18560]
24323 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
24324 (IPCOP_semop): Likewise.
24325 (IPCOP_semget): Likewise.
24326 (IPCOP_semctl): Likewise.
24327 (IPCOP_msgsnd): Likewise.
24328 (IPCOP_msgrcv): Likewise.
24329 (IPCOP_msgget): Likewise.
24330 (IPCOP_msgctl): Likewise.
24331 (IPCOP_shmat): Likewise.
24332 (IPCOP_shmdt): Likewise.
24333 (IPCOP_shmget): Likewise.
24334 (IPCOP_shmctl): Likewise.
24335
24336 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
24337
24338 * string/tst-endian.c: Include <libc-internal.h>.
24339 (do_test): Ignore tautological-compare warnings around
24340 "htobeXX (beXXtoh (i)) != i" and
24341 "htoleXX (leXXtoh (i)) != i" if-statements.
24342
24343 2016-01-24 David S. Miller <davem@davemloft.net>
24344
24345 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
24346 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
24347 alias.
24348 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24349 __sqrtl_finite.
24350
24351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24352
24353 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
24354
24355 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
24356 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
24357 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24358
24359 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24360
24361 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
24362 (thread_func): Use new function to simplify barrier check.
24363 (do_test): Use new function to simplify checking barrier exit
24364 code, and actually join the child thread.
24365
24366 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24367
24368 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
24369 semicolon.
24370 (__libc_tend): Likewise.
24371 (__libc_tabort): Likewise.
24372
24373 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
24374
24375 * sysdeps/nios2/libm-test-ulps: Update.
24376 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
24377 (__gtsf2): Likewise.
24378 (__unorddf2): Likewise.
24379 (__unordsf2): Likewise.
24380 (__ledf2): Likewise.
24381
24382 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
24383
24384 * nis/nis_table.c (__follow_path): Disable diagnostic for
24385 uninitialized variable that is a false positive for gcc 4.7.
24386 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
24387
24388 2016-01-20 Roland McGrath <roland@hack.frob.com>
24389
24390 * sysdeps/nacl/lowlevellock-futex.h
24391 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
24392 Always evaluate PRIVATE argument.
24393
24394 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
24395
24396 [BZ #19490]
24397 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
24398 (pthread_cond_broadcast): Use ENTRY/END
24399 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
24400 (pthread_cond_signal): Likewise.
24401 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
24402 Likewise.
24403 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
24404 Likewise.
24405 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
24406 Likewise.
24407
24408 2016-01-20 Joseph Myers <joseph@codesourcery.com>
24409
24410 * sysdeps/ieee754/dbl-64/s_finite.c
24411 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
24412 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
24413 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
24414 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
24415 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
24416
24417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
24418 (__gtsf2): Add as optional for libc.so.
24419 (__unordsf2): Likewise.
24420 (__signbit): Remove for libc.so.
24421 (__signbitl): Likewise.
24422
24423 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24424
24425 * iconvdata/bug-iconv11.c (test_ibm93x):
24426 Use %zu printf format specifier for size_t argument.
24427
24428 2016-01-19 Joseph Myers <joseph@codesourcery.com>
24429
24430 * math/gen-libm-test.pl (parse_ulps): Do not reduce
24431 already-recorded ulps.
24432 * sysdeps/arm/libm-test-ulps: Regenerated.
24433 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24434 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24435 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24436
24437 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
24438 Paul Pluzhnikov <ppluzhnikov@google.com>
24439
24440 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
24441 assembler not supporting AVX-512.
24442
24443 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
24444
24445 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24446
24447 2016-01-18 Joseph Myers <joseph@codesourcery.com>
24448
24449 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24450 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24451
24452 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24453
24454 * sysdeps/arm/libm-test-ulps: Regenerated.
24455
24456 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24457
24458 [BZ #19451]
24459 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
24460
24461 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
24462
24463 [BZ #19486]
24464 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
24465 * sysdeps/generic/fix-fp-int-convert-overflow.h
24466 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
24467 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
24468 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
24469 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
24470 Likewise.
24471 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
24472 Avoid conversions to long int where inexact exceptions
24473 could be raised.
24474 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
24475 Likewise.
24476 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
24477 Avoid conversions to long long int where inexact exceptions
24478 could be raised.
24479 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
24480 Likewise.
24481
24482 2016-01-17 Mike Frysinger <vapier@gentoo.org>
24483
24484 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
24485 * configure: Regenerated.
24486
24487 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
24488
24489 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
24490
24491 2016-01-16 Mike Frysinger <vapier@gentoo.org>
24492
24493 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
24494 outside of comment.
24495
24496 2016-01-15 Torvald Riegel <triegel@redhat.com>
24497
24498 * nptl/tst-barrier1.c: Add description on first line.
24499 * nptl/tst-barrier2.c: Likewise.
24500 * nptl/tst-barrier3.c: Likewise.
24501 * nptl/tst-barrier4.c: Likewise.
24502 * nptl/tst-barrier5.c: Likewise.
24503
24504 2016-01-15 Torvald Riegel <triegel@redhat.com>
24505
24506 [BZ #18868]
24507 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
24508
24509 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
24510
24511 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
24512 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
24513 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
24514 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
24515 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
24516 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
24517 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24518 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24519 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24520 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24521 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24522
24523 2016-01-15 Torvald Riegel <triegel@redhat.com>
24524
24525 [BZ #13065]
24526 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
24527 new implementation.
24528 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
24529 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
24530 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
24531 (BARRIER_IN_THRESHOLD): New macro.
24532 * nptl/pthread_barrierattr_setpshared.c
24533 (pthread_barrierattr_setpshared): Clean up.
24534 * nptl/tst-barrier4.c: Correct comment.
24535 * nptl/tst-barrier5.c: New file.
24536 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
24537 (gen-as-const-headers): Remove lowlevelbarrier.sym.
24538 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
24539 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
24540 * nptl/lowlevelbarrier.sym: Remove.
24541 * nptl/DESIGN-barrier.txt: Remove.
24542 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
24543 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
24544 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
24545 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
24546 error.
24547 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
24548 implementation.
24549
24550 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24551
24552 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
24553 (do_child): Mask SIGRTMIN while thr is running.
24554
24555 2016-01-15 Martin Sebor <msebor@redhat.com>
24556
24557 [BZ #19432]
24558 * iconvdata/Makefile: Add bug-iconv11.
24559 * iconvdata/bug-iconv11.c: New test.
24560 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
24561 * iconvdata/ibm933.c: Same.
24562 * iconvdata/ibm935.c: Same.
24563 * iconvdata/ibm937.c: Same.
24564 * iconvdata/ibm939.c: Same.
24565
24566 2016-01-15 Martin Sebor <msebor@redhat.com>
24567
24568 [BZ #19443]
24569 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
24570 [DEBUG] (_ufc_set_bits): Declare used.
24571 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
24572 [DEBUG] (print_all): Declare used.
24573 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
24574 operands of the ternary ?: expression to target type.
24575 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
24576 calling the undeclared abort.
24577 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
24578
24579 2016-01-15 Martin Sebor <msebor@redhat.com>
24580
24581 [BZ #18755]
24582 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
24583 warnings.
24584 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
24585 (__gai_create_helper_thread): Same.
24586 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
24587 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
24588 to suppress -Wmaybe-uninitialized warnings.
24589
24590 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
24591
24592 [BZ #19465]
24593 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
24594 inside if.
24595 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24596 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24597 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24598
24599 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
24600
24601 [BZ #19466]
24602 * time/tst-mktime2.c (time_t_max): Removed.
24603 (time_t_min): Likewise.
24604 (TYPE_SIGNED): New.
24605 (TYPE_MINIMUM): Likewise.
24606 (TYPE_MAXIMUM): Likewise.
24607 (TIME_T_MIN): Likewise.
24608 (TIME_T_MAX): Likewise.
24609 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
24610 and TIME_T_MIN.
24611 (do_test): Likewise.
24612
24613 2016-01-14 Amit Pawar <amit.pawar@amd.com>
24614
24615 [BZ #19467]
24616 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
24617 index_Fast_Unaligned_Load flag for Excavator family CPUs.
24618
24619 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
24620
24621 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
24622
24623 2016-01-13 Carlos O'Donell <carlos@redhat.com>
24624
24625 * benchtests/Makefile (PYTHON): Define.
24626 (bench-func): Use $(PYTHON) to run python scripts.
24627 ($(objpfx)bench-%.c): Likewise.
24628
24629 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
24630
24631 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
24632 leading slash when `file_name' is "/".
24633
24634 2016-01-12 Joseph Myers <joseph@codesourcery.com>
24635
24636 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
24637 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
24638 Likewise.
24639 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
24640 Likewise.
24641 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
24642 Likewise.
24643 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
24644 enum constant and macro.
24645 (PTRACE_SETSIGMASK): Likewise.
24646 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24647 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
24648 (PTRACE_GETSIGMASK): Likewise.
24649 (PTRACE_SETSIGMASK): Likewise.
24650 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24651 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
24652 Likewise.
24653 (PTRACE_SETSIGMASK): Likewise.
24654 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24655 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
24656 (PTRACE_GETSIGMASK): Likewise.
24657 (PTRACE_SETSIGMASK): Likewise.
24658 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24659 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
24660 Likewise.
24661 (PTRACE_SETSIGMASK): Likewise.
24662 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24663 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
24664 Likewise.
24665 (PTRACE_SETSIGMASK): Likewise.
24666 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24667 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
24668 Likewise.
24669 (PTRACE_SETSIGMASK): Likewise.
24670 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24671
24672 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
24673 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24674
24675 [BZ #19439]
24676 * math/bits/mathcalls.h
24677 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
24678 prototype.
24679 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
24680
24681 2016-01-11 Andreas Schwab <schwab@suse.de>
24682
24683 [BZ #19253]
24684 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
24685 cache when TZDEFRULES was used.
24686 * time/tst-tzname.c: New file.
24687 * time/Makefile (test): Add tst-tzname.
24688 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
24689 * timezone/Makefile (test-zones): Add $(posixrules-file).
24690 ($(testdata)/$(posixrules-file)): New rule.
24691
24692 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
24693
24694 Fix doc quoting problems with Texinfo 5
24695 Without this change, in the info file output, Texinfo 5 quotes code
24696 in text with undirected single quotes 'like this' and generates
24697 code examples that with many PDF readers cannot be cut out of PDFs
24698 and pasted into code.
24699 * manual/libc.texinfo: Configure the libc manual like the GNU
24700 Emacs manual, by using @documentencoding and setting
24701 txicodequoteundirected and txicodequotebacktick. This way,
24702 Texinfo 5 quotes code in text with directed single quotes ‘like
24703 this’ and produces examples that can be cut out of PDFs. This
24704 change causes Texinfo 5 to generate info files that contain UTF-8
24705 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
24706 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
24707
24708 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24709
24710 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
24711 __libc_tabort, __libc_tend): New wrappers that enforce compiler
24712 barriers to their respective compiler built-ins.
24713 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
24714 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
24715 * sysdeps/powerpc/sysdep.h: Likewise.
24716 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
24717 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
24718 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
24719
24720 2016-01-08 Marko Myllynen <myllynen@redhat.com>
24721
24722 * scripts/config.guess: Revert previous shebang change.
24723 * scripts/config.sub: Likewise.
24724 * scripts/mkinstalldirs: Likewise.
24725
24726 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
24727
24728 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
24729 PPC_FEATURE2_HAS_IEEE128.
24730 * sysdeps/powerpc/dl-procinfo.c:
24731 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
24732
24733 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
24734
24735 [BZ #19415]
24736 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
24737 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
24738 (_dl_lookup_address): Rewrite using function resolver trampoline.
24739 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
24740 two bits in address.
24741
24742 2016-01-07 Mike Frysinger <vapier@gentoo.org>
24743
24744 * longlong.h: Change !__SHMEDIA__ to
24745 (!defined (__SHMEDIA__) || !__SHMEDIA__).
24746 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
24747
24748 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
24749 Joseph Myers <joseph@codesourcery.com>
24750 Mark Shinwell <shinwell@codesourcery.com>
24751 Andrew Stubbs <ams@codesourcery.com>
24752 Rich Felker <dalias@libc.org>
24753
24754 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
24755
24756 2016-01-07 Richard Henderson <rth@redhat.com>
24757
24758 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
24759
24760 2016-01-07 Mike Frysinger <vapier@gentoo.org>
24761
24762 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
24763 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
24764 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24765 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24766 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
24767
24768 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
24769 Joseph Myers <joseph@codesourcery.com>
24770
24771 * timezone/private.h: Update from tzcode 2015g.
24772 * timezone/tzfile.h: Likewise.
24773 * timezone/tzselect.ksh: Likewise.
24774 * timezone/zdump.c: Likewise.
24775 * timezone/zic.c: Likewise.
24776 * timezone/ialloc.c: Remove file.
24777 * timezone/scheck.c: Likewise.
24778 * timezone/Makefile (extra-objs): Remove variable.
24779 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
24780 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
24781 -Wno-maybe-uninitialized.
24782 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
24783 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
24784 (CFLAGS-ialloc.c): Remove variable.
24785 (CFLAGS-scheck.c): Likewise.
24786 * timezone/README: Update list of files from tzcode.
24787
24788 2016-01-07 Khem Raj <raj.khem@gmail.com>
24789
24790 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
24791 instead of __fxprintf when _LIBC is undefined.
24792
24793 2016-01-07 Marko Myllynen <myllynen@redhat.com>
24794
24795 * catgets/test-gencat.sh: Remove space after shebang.
24796 * conform/GlibcConform.pm: Likewise.
24797 * conform/check-header-lists.sh: Likewise.
24798 * conform/conformtest.pl: Likewise.
24799 * conform/linknamespace.pl: Likewise.
24800 * conform/list-header-symbols.pl: Likewise.
24801 * debug/catchsegv.sh: Likewise.
24802 * elf/genrtldtbl.awk: Likewise.
24803 * elf/tst-pathopt.sh: Likewise.
24804 * elf/tst-rtld-load-self.sh: Likewise.
24805 * grp/tst_fgetgrent.sh: Likewise.
24806 * iconvdata/gen-8bit-gap-1.sh: Likewise.
24807 * iconvdata/gen-8bit-gap.sh: Likewise.
24808 * iconvdata/gen-8bit.sh: Likewise.
24809 * iconvdata/run-iconv-test.sh: Likewise.
24810 * intl/tst-gettext.sh: Likewise.
24811 * intl/tst-gettext2.sh: Likewise.
24812 * intl/tst-gettext4.sh: Likewise.
24813 * intl/tst-gettext6.sh: Likewise.
24814 * intl/tst-translit.sh: Likewise.
24815 * io/ftwtest-sh: Likewise.
24816 * libio/test-freopen.sh: Likewise.
24817 * locale/gen-translit.pl: Likewise.
24818 * malloc/tst-mtrace.sh: Likewise.
24819 * manual/check-safety.sh: Likewise.
24820 * manual/libc-texinfo.sh: Likewise.
24821 * manual/tsort.awk: Likewise.
24822 * manual/xtract-typefun.awk: Likewise.
24823 * nptl/tst-cancel-wrappers.sh: Likewise.
24824 * nptl/tst-tls6.sh: Likewise.
24825 * posix/globtest.sh: Likewise.
24826 * posix/tst-getconf.sh: Likewise.
24827 * posix/wordexp-tst.sh: Likewise.
24828 * scripts/check-c++-types.sh: Likewise.
24829 * scripts/check-local-headers.sh: Likewise.
24830 * scripts/config.guess: Likewise.
24831 * scripts/config.sub: Likewise.
24832 * scripts/cpp: Likewise.
24833 * scripts/cross-test-ssh.sh: Likewise.
24834 * scripts/documented.sh: Likewise.
24835 * scripts/evaluate-test.sh: Likewise.
24836 * scripts/gen-libc-abis: Likewise.
24837 * scripts/gen-sorted.awk: Likewise.
24838 * scripts/list-fixed-bugs.py: Likewise.
24839 * scripts/merge-test-results.sh: Likewise.
24840 * scripts/mkinstalldirs: Likewise.
24841 * scripts/rellns-sh: Likewise.
24842 * scripts/test-installation.pl: Likewise.
24843 * scripts/update-copyrights: Likewise.
24844 * stdio-common/tst-printf.sh: Likewise.
24845 * stdio-common/tst-unbputc.sh: Likewise.
24846 * stdlib/tst-fmtmsg.sh: Likewise.
24847 * stdlib/tst-setcontext3.sh: Likewise.
24848 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
24849 * sysdeps/unix/make-syscalls.sh: Likewise.
24850
24851 2016-01-06 John David Anglin <dave.anglin@bell.net>
24852
24853 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
24854 asm stw with atomic_exchange_rel. Add explanatory comment.
24855 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
24856 Likewise.
24857
24858 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
24859
24860 [BZ #19122]
24861 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
24862 * sysdeps/generic/dl-unistd.h: New file.
24863 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
24864
24865 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
24866
24867 [BZ #19122]
24868 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
24869 * sysdeps/generic/dl-mman.h: New file.
24870 * sysdeps/mach/hurd/dl-mman.h: Likewise.
24871
24872 2016-01-05 Joseph Myers <joseph@codesourcery.com>
24873
24874 * manual/texinfo.tex: Update to version 2016-01-04.21 with
24875 trailing whitespace removed.
24876 * scripts/config.guess: Update to version 2016-01-01.
24877 * scripts/config.sub: Update to version 2016-01-01.
24878 * scripts/move-if-change: Update from gnulib.
24879
24880 2016-01-04 Anton Blanchard <anton@samba.org>
24881
24882 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
24883 for array indices.
24884 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
24885
24886 2016-01-04 Joseph Myers <joseph@codesourcery.com>
24887
24888 * NEWS: Update copyright dates.
24889 * catgets/gencat.c (print_version): Likewise.
24890 * csu/version.c (banner): Likewise.
24891 * debug/catchsegv.sh: Likewise.
24892 * debug/pcprofiledump.c (print_version): Likewise.
24893 * debug/xtrace.sh (do_version): Likewise.
24894 * elf/ldconfig.c (print_version): Likewise.
24895 * elf/ldd.bash.in: Likewise.
24896 * elf/pldd.c (print_version): Likewise.
24897 * elf/sotruss.sh: Likewise.
24898 * elf/sprof.c (print_version): Likewise.
24899 * iconv/iconv_prog.c (print_version): Likewise.
24900 * iconv/iconvconfig.c (print_version): Likewise.
24901 * locale/programs/locale.c (print_version): Likewise.
24902 * locale/programs/localedef.c (print_version): Likewise.
24903 * login/programs/pt_chown.c (print_version): Likewise.
24904 * malloc/memusage.sh (do_version): Likewise.
24905 * malloc/memusagestat.c (print_version): Likewise.
24906 * malloc/mtrace.pl: Likewise.
24907 * manual/libc.texinfo: Likewise.
24908 * nptl/version.c (banner): Likewise.
24909 * nscd/nscd.c (print_version): Likewise.
24910 * nss/getent.c (print_version): Likewise.
24911 * nss/makedb.c (print_version): Likewise.
24912 * posix/getconf.c (main): Likewise.
24913 * scripts/test-installation.pl: Likewise.
24914 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
24915
24916 * All files with FSF copyright notices: Update copyright dates
24917 using scripts/update-copyrights.
24918 * intl/plural.c: Regenerated.
24919 * locale/programs/charmap-kw.h: Likewise.
24920 * locale/programs/locfile-kw.h: Likewise.
24921
24922 2016-01-02 Helge Deller <deller@gmx.de>
24923
24924 [BZ #19285]
24925 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
24926 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
24927 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
24928 (MADV_xxK_PAGES): Remove.
24929
24930 2016-01-01 Mike Frysinger <vapier@gentoo.org>
24931
24932 [BZ #15421]
24933 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
24934 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
24935 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
24936 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
24937
24938 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
24939
24940 [BZ #19408]
24941 * sysdeps/unix/sysv/linux/personality.c: New file.
24942 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
24943 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
24944 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
24945 (sysdep_routines): Add personality.
24946 (tests): Add tst-personality.
24947 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
24948 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
24949 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
24950 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
24951 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
24952 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
24953 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
24954 Likewise.
24955 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
24956 Likewise.
24957 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
24958 Likewise.
24959 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
24960 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
24961 Likewise.
24962
24963 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
24964
24965 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
24966 (PATH_ARM_SYSTYPE): Remove.
24967 (PATH_CPUINFO): Likewise.
24968 (IO_BASE_FOOTBRIDGE): Likewise.
24969 (IO_SHIFT_FOOTBRIDGE): Likewise.
24970 (struct platform): Likewise.
24971 (init_iosys): Remove compatibility code for 2.4 kernels.
24972 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
24973
24974 2015-12-29 Florian Weimer <fweimer@redhat.com>
24975
24976 * malloc/tst-malloc-thread-fail.c: New file.
24977 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
24978 (tst-malloc-thread-fail): Link against libpthread.
24979
24980 2015-12-29 Mike Frysinger <vapier@gentoo.org>
24981
24982 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
24983 (get_parser): New function.
24984 (main): New function.
24985
24986 2015-12-29 Rob Wu <rob@robwu.nl>
24987
24988 [BZ #19369]
24989 * resolv/res_init.c (__res_vinit): Reset defdname before use.
24990
24991 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
24992
24993 [BZ #19270]
24994 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
24995
24996 2015-12-28 Mike Frysinger <vapier@gentoo.org>
24997
24998 [BZ #15421]
24999 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
25000
25001 2015-12-23 Torvald Riegel <triegel@redhat.com>
25002
25003 [BZ #13690]
25004 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
25005 after releasing it.
25006 (__lll_robust_unlock): Likewise.
25007 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
25008 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
25009 (lll_robust_unlock): Likewise.
25010 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
25011 Prevent warnings in callers.
25012
25013 2015-12-23 Florian Weimer <fweimer@redhat.com>
25014
25015 * malloc/arena.c (list_lock): Update comment.
25016
25017 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25018
25019 * sysdeps/powerpc/hwcapinfo.c: Export symbol
25020 __parse_hwcap_and_convert_at_platform to libc.a.
25021
25022 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25023
25024 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
25025 platform and feature support for POWER9.
25026 * sysdeps/powerpc/dl-procinfo.h: Likewise.
25027 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
25028 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
25029 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
25030 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
25031 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
25032 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
25033 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
25034
25035 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25036
25037 Harmonize generic stdio-lock support with nptl
25038
25039 This fixes build when _IO_funlockfile is a macro, fixes build where
25040 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
25041 stack unwind.
25042
25043 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
25044 _IO_release_lock ): Use cleanup attribute on new
25045 _IO_acquire_lock_file variable instead of assuming that
25046 _IO_release_lock will be called.
25047 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
25048 _IO_acquire_lock_needs_exceptions_enabled.
25049 (_IO_acquire_lock_clear_flags2): New macro.
25050
25051 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25052
25053 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
25054
25055 2015-12-21 Florian Weimer <fweimer@redhat.com>
25056
25057 [BZ #19182]
25058 * malloc/arena.c (list_lock): Document lock ordering requirements.
25059 (free_list_lock): New lock.
25060 (ptmalloc_lock_all): Comment on free_list_lock.
25061 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
25062 (detach_arena): Update comment. free_list_lock is now needed.
25063 (_int_new_arena): Use free_list_lock around detach_arena call.
25064 Acquire arena lock after list_lock. Add comment, including FIXME
25065 about incorrect synchronization.
25066 (get_free_list): Switch to free_list_lock.
25067 (reused_arena): Acquire free_list_lock around detach_arena call
25068 and attached threads counter update. Add two FIXMEs about
25069 incorrect synchronization.
25070 (arena_thread_freeres): Switch to free_list_lock.
25071 * malloc/malloc.c (struct malloc_state): Update comments to
25072 mention free_list_lock.
25073
25074 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
25075
25076 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
25077 Remove functions.
25078 (sloww, sloww1): Accept argument to offset quadrant.
25079 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
25080 quadrant.
25081 (__sin, __cos): Consolidate common code into new functions.
25082 (reduce_sincos_1, do_sincos_1): New functions.
25083 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25084
25085 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
25086 code to new functions.
25087 (reduce_sincos_2, do_sincos_2): New functions.
25088 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25089
25090 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
25091 common code for sincos.
25092 (__cos) [!IN_SINCOS]: Likewise.
25093 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
25094 New function.
25095 (__sincos): Use it.
25096
25097 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
25098
25099 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
25100 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
25101 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25102
25103 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
25104
25105 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
25106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
25107 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
25108 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
25109 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25110 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
25111 index_Prefer_No_VZEROUPPER): New feature.
25112 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
25113 Prefer_No_VZEROUPPER for Knights Landing.
25114
25115 015-12-18 Torvald Riegel <triegel@redhat.com>
25116
25117 * math/atest-exp2.c (mp_exp_m1): Remove.
25118
25119 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25120
25121 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
25122 syscalls.
25123 (__SYSCALL0): New macro.
25124 (__SYSCALL1): Likewise.
25125 (__SYSCALL2): Likewise.
25126 (__SYSCALL3): Likewise.
25127 (__SYSCALL4): Likewise.
25128 (__SYSCALL5): Likewise.
25129 (__SYSCALL6): Likewise.
25130 (__SYSCALL_CONCAT_X): Likewise.
25131 (__SYSCALL_CONCAT): Likewise.
25132 (__SYSCALL_DIST): Likewise.
25133 (__SYSCALL_CALL): Likewise.
25134
25135 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
25136
25137 [BZ #19363]
25138 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
25139
25140 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25141
25142 [BZ #19375]
25143 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
25144 negative subnormals.
25145
25146 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
25147
25148 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
25149 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
25150 (INTERNAL_SYSCALL_NCS): Use it.
25151 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25152
25153 2015-12-16 Florian Weimer <fweimer@redhat.com>
25154
25155 [BZ #19243]
25156 * malloc/arena.c (get_free_list): Remove assert and adjust
25157 reference count handling. Add comment about reused_arena
25158 interaction.
25159 (reused_arena): Add comments abount get_free_list interaction.
25160 * malloc/tst-malloc-thread-exit.c: New file.
25161 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
25162 (tst-malloc-thread-exit): Link against libpthread.
25163
25164 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
25165
25166 [BZ #19367]
25167 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
25168 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
25169 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
25170 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
25171 (index_Prefer_MAP_32BIT_EXEC): Likewise.
25172
25173 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
25174
25175 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
25176 Silvermont optimizations for Knights Landing.
25177
25178 2015-12-15 Andreas Schwab <schwab@suse.de>
25179
25180 [BZ #17197]
25181 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
25182 immediately after emitting SI.
25183 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
25184 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
25185 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
25186 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
25187 * iconvdata/bug-iconv10.c: New file.
25188 * iconvdata/Makefile (tests): Add bug-iconv10.
25189 ($(objpfx)bug-iconv10.out): New rule.
25190
25191 2015-12-15 Florian Weimer <fweimer@redhat.com>
25192
25193 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
25194 aliasing violation.
25195
25196 2015-12-14 Joseph Myers <joseph@codesourcery.com>
25197
25198 [BZ #18472]
25199 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
25200 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
25201 conditionals for them.
25202 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
25203 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
25204 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
25205 sys/kdaemon.h.
25206 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
25207 compat-only syscall, obsoleted in glibc 2.23.
25208 (create_module): Likewise.
25209 (get_kernel_syms): Likewise.
25210 (query_module): Likewise.
25211 (uselib): Likewise.
25212 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
25213
25214 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
25215
25216 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
25217 <linux/version.h>.
25218 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
25219 conditional code.
25220 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
25221 and ioshift_name initialization.
25222
25223 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
25224
25225 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
25226 Fix indentation.
25227
25228 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
25229
25230 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
25231
25232 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
25233
25234 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
25235
25236 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
25237 Jakub Wilk <jwilk@debian.org>
25238
25239 [BZ #19347]
25240 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
25241 to change the group of the device to the tty group.
25242
25243 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
25244
25245 Split large string section; add truncation advice
25246 * manual/examples/strncat.c: Remove.
25247 This example was misleading, as the code would have undefined
25248 behavior if "hello" was longer than SIZE. Anyway, the manual
25249 shouldn't encourage strncpy+strncat for this sort of thing.
25250 * manual/string.texi (Copying Strings and Arrays): Split into
25251 three sections Copying Strings and Arrays, Concatenating Strings,
25252 and Truncating Strings, as this section was way too long. All
25253 cross-referenced changed. Add advice about string-truncation
25254 functions. Remove misleading strncat example.
25255
25256 2015-12-10 Carlos O'Donell <carlos@redhat.com>
25257
25258 * manual/nss.texi (NSS Modules Interface): Document
25259 NSS_STATUS_NOTFOUND and SUCCESS.
25260
25261 2015-12-09 Mike FABIAN <mfabian@redhat.com>
25262
25263 [BZ 18568]
25264 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
25265 201505L, for Unicode 8.
25266
25267 2015-12-09 Carlos O'Donell <carlos@redhat.com>
25268
25269 * locale/C-translit.h: Regenerate.
25270
25271 2015-12-09 Mike FABIAN <mfabian@redhat.com>
25272
25273 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
25274 and U+0153.
25275
25276 2015-12-09 Joseph Myers <joseph@codesourcery.com>
25277
25278 [BZ #19351]
25279 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
25280 expanding log(1+z), compare z rather than its square with epsilon
25281 to determine when to avoid evaluating the expansion.
25282
25283 [BZ #19350]
25284 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
25285 Increase overflow threshold.
25286
25287 [BZ #19349]
25288 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
25289 when small.
25290
25291 * sysdeps/unix/sysv/linux/i386/kernel-features.h
25292 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25293 New macro.
25294 [__LINUX_KERNEL_VERSION >= 0x040300]
25295 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25296 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25297 Likewise.
25298 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25299 Likewise.
25300 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25301 Likewise.
25302 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25303 Likewise.
25304 [__LINUX_KERNEL_VERSION >= 0x040300]
25305 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25306 [__LINUX_KERNEL_VERSION >= 0x040300]
25307 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25308 [__LINUX_KERNEL_VERSION >= 0x040300]
25309 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25310 [__LINUX_KERNEL_VERSION >= 0x040300]
25311 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25312 [__LINUX_KERNEL_VERSION >= 0x040300]
25313 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25314 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25315 Likewise.
25316 [__LINUX_KERNEL_VERSION >= 0x040300]
25317 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25318 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25319 Likewise.
25320 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25321 Likewise.
25322 [__LINUX_KERNEL_VERSION >= 0x040300]
25323 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25324 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25325 Likewise.
25326 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25327 Likewise.
25328 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25329 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
25330 Likewise.
25331 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
25332 Likewise.
25333 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25334 Likewise.
25335 [__LINUX_KERNEL_VERSION >= 0x040300]
25336 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25337 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25338 Likewise.
25339 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25340 Likewise.
25341 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25342 Likewise.
25343 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25344 Likewise.
25345 [__LINUX_KERNEL_VERSION >= 0x040300]
25346 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25347 [__LINUX_KERNEL_VERSION >= 0x040300]
25348 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25349 [__LINUX_KERNEL_VERSION >= 0x040300]
25350 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25351 [__LINUX_KERNEL_VERSION >= 0x040300]
25352 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25353 [__LINUX_KERNEL_VERSION >= 0x040300]
25354 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25355 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25356 Likewise.
25357 [__LINUX_KERNEL_VERSION >= 0x040300]
25358 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25359 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25360 Likewise.
25361 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25362 Likewise.
25363 [__LINUX_KERNEL_VERSION >= 0x040300]
25364 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25365 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25366 Likewise.
25367 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25368 Likewise.
25369 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25370 (__ASSUME_SOCKET_SYSCALL): Likewise.
25371 (__ASSUME_BIND_SYSCALL): Likewise.
25372 (__ASSUME_CONNECT_SYSCALL): Likewise.
25373 (__ASSUME_LISTEN_SYSCALL): Likewise.
25374 (__ASSUME_ACCEPT_SYSCALL): Likewise.
25375 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25376 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25377 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25378 (__ASSUME_SEND_SYSCALL): Likewise.
25379 (__ASSUME_SENDTO_SYSCALL): Likewise.
25380 (__ASSUME_RECV_SYSCALL): Likewise.
25381 (__ASSUME_RECVFROM_SYSCALL): Likewise.
25382 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
25383 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25384 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25385 (__ASSUME_SENDMSG_SYSCALL): Likewise.
25386 (__ASSUME_RECVMSG_SYSCALL): Likewise.
25387 * sysdeps/unix/sysv/linux/sh/kernel-features.h
25388 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
25389 Likewise.
25390 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
25391 Likewise.
25392 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
25393 Likewise.
25394 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
25395 Likewise.
25396 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
25397 Likewise.
25398 [__LINUX_KERNEL_VERSION >= 0x020625]
25399 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25400 [__LINUX_KERNEL_VERSION >= 0x020625]
25401 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25402 [__LINUX_KERNEL_VERSION >= 0x020625]
25403 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25404 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
25405 Likewise.
25406 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
25407 Likewise.
25408 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
25409 Likewise.
25410 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
25411 Likewise.
25412 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
25413 Likewise.
25414 [__LINUX_KERNEL_VERSION >= 0x020625]
25415 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25416 [__LINUX_KERNEL_VERSION >= 0x020625]
25417 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25418 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
25419 Likewise.
25420 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
25421 Likewise.
25422
25423 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
25424
25425 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
25426 record the current if the current ABI and CPU support the FP64
25427 extension.
25428 (has-modd-spreg): Define to record the current if the current ABI and
25429 CPU support 32-bit floating point values in odd FPU registers.
25430 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25431 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
25432 $(has-modd-spreg) equals yes.
25433 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
25434 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
25435 $(has-modd-spreg) equal yes.
25436
25437 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
25438
25439 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
25440 basename.
25441
25442 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
25443
25444 * benchtests/Makefile (bench-math): Move ffs and ffsll...
25445 (bench-string): ... here.
25446 (bench): Add bench-string.
25447 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
25448 to *-benchset to reflect what they are.
25449 (benchset): Adjust.
25450
25451 * benchtests/sincos-inputs: Add inputs from sin-inputs and
25452 cos-inputs.
25453
25454 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
25455
25456 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
25457 __attribute__ ((__simd__)) for vector math function declarations.
25458
25459 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
25460
25461 Fix typo in strncat, wcsncat manual entries
25462 * manual/string.texi (Copying and Concatenation): Fix typos in
25463 sample implementations of strncat and wcsncat, by having them use
25464 the old value of the destination length, not the new one.
25465
25466 2015-12-04 Joseph Myers <joseph@codesourcery.com>
25467
25468 [BZ #16961]
25469 [BZ #16962]
25470 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
25471 string on the stack for strtod.
25472 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
25473 a string on the stack for strtof.
25474 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
25475 constructing a string on the stack for strtold.
25476 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
25477 __strtold_nan to GLIBC_PRIVATE.
25478 * math/test-nan-overflow.c: New file.
25479 * math/test-nan-payload.c: Likewise.
25480 * math/Makefile (tests): Add test-nan-overflow and
25481 test-nan-payload.
25482
25483 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
25484
25485 Consistency about byte vs character in string.texi
25486 * manual/string.texi (String and Array Utilities):
25487 Distinguish more carefully among bytes, multibyte characters,
25488 and wide characters. Use "byte" when talking about C 'char',
25489 to distinguish it more clearly from multibyte characters.
25490 Say "wide character" or "multibyte character" instead of
25491 "character", when a wide or multibyte character is intended.
25492 Similarly for "multibyte string" versus "string".
25493 Define these terms more carefully.
25494
25495 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
25496
25497 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
25498 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
25499 Likewise.
25500 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25501 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25502 * sysdeps/sh/math_private.h: New file.
25503 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
25504 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
25505 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
25506 long double function name.
25507 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25508 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25509 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25510 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25511 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25513 Remove __finitel, __isinfl, and __isnanl.
25514 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25515 Likewise.
25516 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25518 Remove __finitel.
25519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25520 Likewise.
25521 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25522
25523 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
25524
25525 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
25526 installed libmvec_nonshared.a.
25527
25528 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25529
25530 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
25531 (sysdep_routines): Likewise.
25532 (sysdep-rtld-routines): Likewise.
25533 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
25534 [$(subdir) = nptl](tests-static): test-get_hwcap-static
25535 * sysdeps/powerpc/Versions: Added new
25536 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
25537 * sysdeps/powerpc/hwcapinfo.c: New file.
25538 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
25539 and parse hwcap, hwcap2 and platform number information.
25540 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
25541 to store HWCAP+HWCAP2 and platform number.
25542 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
25543 for HWCAP+HWCAP2 and platform number in the TCB.
25544 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
25545 the HWCAP, HWCAP2 and platform number in the TCB.
25546 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
25547 (TLS_INIT_TP): Included calls to add the hwcap and
25548 at_platform values in the TCB in TP initialization.
25549 (TLS_DEFINE_INIT_TP): Likewise.
25550 (THREAD_GET_HWCAP): New macro.
25551 (THREAD_SET_HWCAP): Likewise.
25552 (THREAD_GET_AT_PLATFORM): Likewise.
25553 (THREAD_SET_AT_PLATFORM): Likewise.
25554 * sysdeps/powerpc/powerpc32/dl-machine.h:
25555 (dl_platform_init): New function that calls
25556 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
25557 powerpc32.
25558 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
25559 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
25560 this functionality, static linking case.
25561 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
25562 linking case.
25563 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
25564 __parse_hwcap_and_convert_at_platform for the static linking case.
25565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
25566 Included the new __parse_hwcap_and_convert_at_platform symbol in the
25567 ABI list for GLIBC 2.23.
25568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
25569 Likewise.
25570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
25571 Likewise.
25572
25573 2015-12-02 Ludovic Courtès <ludo@gnu.org>
25574
25575 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
25576 * configure: Regenerate.
25577 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
25578 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
25579
25580 2015-12-02 Carlos O'Donell <carlos@redhat.com>
25581
25582 * iconvdata/ibm930.c: Add comment explaining encoding uses.
25583 * iconvdata/ibm933.c: Likewise.
25584 * iconvdata/ibm935.c: Likewise.
25585 * iconvdata/ibm937.c: Likewise.
25586 * iconvdata/ibm939.c: Likewise.
25587
25588 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25589
25590 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
25591 pthread_join.
25592 * nptl/tst-cancel21.c (tf): Likewise.
25593
25594 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
25595
25596 [BZ #19313]
25597 * bits/typesizes.h (__CPU_MASK_TYPE): New.
25598 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25599 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25600 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
25601 Likewise.
25602 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
25603 Likewise.
25604 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
25605 Likewise.
25606 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
25607 Likewise.
25608 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
25609 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
25610 unsigned long int with __CPU_MASK_TYPE.
25611
25612 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
25613
25614 * sysdeps/aarch64/libm-test-ulps: Regenerated.
25615
25616 2015-12-01 Joseph Myers <joseph@codesourcery.com>
25617
25618 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
25619 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
25620 t512.x.
25621 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
25622
25623 2015-11-30 Amit Pawar <amit.pawar@amd.com>
25624
25625 [BZ #19214]
25626 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
25627 argument to return extended model. Update family and model
25628 with extended family and model when family == 0x0f.
25629 (init_cpu_features): Updated.
25630
25631 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25632
25633 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
25634 signed off_t, so 32bit bigger than 2GiB values are fine actually.
25635
25636 * sysdeps/mach/hurd/mmap64.c: New file.
25637
25638 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
25639
25640 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
25641 rights for its main user thread in NEWTASK.
25642
25643 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
25644
25645 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
25646 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
25647
25648 2015-11-27 Carlos O'Donell <carlos@redhat.com>
25649
25650 [BZ #14259]
25651 * Makeconfig: Rename localedir to complocaledir.
25652 Rename inst_localedir to inst_complocaledir.
25653 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
25654 * config.make.in: Use complocaledir and libc_cv_complocaledir.
25655 * configure.ac: Use libc_cv_complocaledir.
25656 * configure: Regenerate.
25657 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
25658 -DCOMPLOCALEDIR.
25659 * locale/findlocale.c: Use COMPLOCALEDIR.
25660 * locale/loadarchive.c: Likewise.
25661 * locale/programs/locale.c: Likewise.
25662 * locale/programs/localedef.c: Likewise.
25663 * locale/programs/locarchive.c: Likewise.
25664 * localedata/Makefile: Use inst_complocaledir.
25665 * sysdeps/gnu/configure: Regenerate.
25666 * sysdeps/hppa/configure: Regenerate.
25667 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
25668 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
25670 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
25671 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
25672 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
25673 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
25674
25675 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
25676
25677 [BZ #19058]
25678 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
25679 AS_NEEDED.
25680 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
25681 workaround.
25682 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
25683 libmvec-static-only-routines): Added new file.
25684 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
25685
25686 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
25687
25688 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
25689 of interrupted RPC instead of restoring it.
25690
25691 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
25692 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
25693 libc_hidden_def.
25694 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
25695 into initialized data instead of common. Define rtld_hidden_data_def.
25696 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
25697 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
25698 libc_hidden_def.
25699 (if_freenameindex): Add libc_hidden_weak.
25700 (if_nameindex): Add libc_hidden_weak.
25701 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
25702 __open64.
25703 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
25704 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
25705 * sysdeps/mach/nanosleep.c: Include <time.h>
25706 (__nanosleep): Rename to __libc_nanosleep.
25707 (__nanosleep): Add weak_alias.
25708 (nanosleep): Update alias.
25709
25710 2015-11-24 Joseph Myers <joseph@codesourcery.com>
25711
25712 * stdlib/strtod_nan.c: New file.
25713 * stdlib/strtod_nan_double.h: Likewise.
25714 * stdlib/strtod_nan_float.h: Likewise.
25715 * stdlib/strtod_nan_main.c: Likewise.
25716 * stdlib/strtod_nan_narrow.h: Likewise.
25717 * stdlib/strtod_nan_wide.h: Likewise.
25718 * stdlib/strtof_nan.c: Likewise.
25719 * stdlib/strtold_nan.c: Likewise.
25720 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
25721 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
25722 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
25723 * wcsmbs/wcstod_nan.c: Likewise.
25724 * wcsmbs/wcstof_nan.c: Likewise.
25725 * wcsmbs/wcstold_nan.c: Likewise.
25726 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
25727 strtold_nan.
25728 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
25729 wcstof_nan.
25730 * include/stdlib.h (__strtof_nan): Declare and use
25731 libc_hidden_proto.
25732 (__strtod_nan): Likewise.
25733 (__strtold_nan): Likewise.
25734 (__wcstof_nan): Likewise.
25735 (__wcstod_nan): Likewise.
25736 (__wcstold_nan): Likewise.
25737 * include/wchar.h (____wcstoull_l_internal): Declare.
25738 * stdlib/strtod_l.c: Do not include <ieee754.h>.
25739 (____strtoull_l_internal): Remove declaration.
25740 (STRTOF_NAN): Define macro.
25741 (SET_MANTISSA): Remove macro.
25742 (STRTOULL): Likewise.
25743 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
25744 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
25745 (STRTOF_NAN): Define macro.
25746 (SET_MANTISSA): Remove macro.
25747 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
25748 (SET_MANTISSA): Remove macro.
25749 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
25750 macro.
25751 (SET_MANTISSA): Remove macro.
25752 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
25753 macro.
25754 (SET_MANTISSA): Remove macro.
25755 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
25756 (SET_MANTISSA): Remove macro.
25757 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
25758 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
25759 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
25760
25761 [BZ #19266]
25762 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
25763 upper case and lower case letters inside NAN(), not using TOLOWER.
25764 * stdlib/tst-strtod-nan-locale-main.c: New file.
25765 * stdlib/tst-strtod-nan-locale.c: Likewise.
25766 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
25767 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
25768 Depend on $(gen-locales).
25769 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
25770 * wcsmbs/tst-wcstod-nan-locale.c: New file.
25771 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
25772 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
25773 Depend on $(gen-locales).
25774 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
25775
25776 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
25777
25778 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
25779
25780 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
25781 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
25782 __finitel, __isinfl, and __isnanl.
25783 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25784 Likewise.
25785 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25786 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
25787 __finitel.
25788 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25789 Likewise.
25790 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25791
25792 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
25793
25794 * malloc/memusage.c (me): Remove redundant getenv call.
25795
25796 2015-10-24 Florian Weimer <fweimer@redhat.com>
25797
25798 [BZ #19143]
25799 [BZ #19164]
25800 * nptl/check-cpuset.h: Remove.
25801 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25802 Remove CPU set size check.
25803 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25804 Likewise.
25805 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
25806 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
25807 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
25808 (__pthread_setaffinity_new): Remove CPU set size check.
25809 * sysdeps/unix/sysv/linux/sched_setaffinity.c
25810 (__kernel_cpumask_size): Remove.
25811 (__sched_setaffinity_new): Remove CPU set size check.
25812 * manual/threads.texi (Default Thread Attributes): Remove stale
25813 reference to check_cpuset_attr, determine_cpumask_size in comment.
25814 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
25815 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
25816 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
25817 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
25818 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
25819 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
25820 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
25821 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
25822 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
25823 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
25824 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
25825 skeleton test file.
25826 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
25827 tst-affinity-pid.
25828
25829 2015-11-24 Florian Weimer <fweimer@redhat.com>
25830
25831 * scripts/update-abilist.sh: New file.
25832 * Makefile (+subdir_targets): Add subdir_update-all-abi.
25833 * Makerules (update-all-abi-%, update-all-abi)
25834 (subdir_update-all-abi): New targets.
25835 * elf/Makefile (update-all-abi): New target.
25836
25837 2015-11-24 Florian Weimer <fweimer@redhat.com>
25838
25839 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
25840 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
25841 (__libc_lock_define_initialized): Use it.
25842 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
25843 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
25844 * malloc/malloc.c (main_arena): Likewise.
25845 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
25846 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
25847
25848 2015-11-23 Joseph Myers <joseph@codesourcery.com>
25849
25850 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
25851 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
25852 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
25853 (PTRACE_O_MASK): Update value.
25854 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
25855 New value in enum __ptrace_setoptions.
25856 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
25857 (PTRACE_O_MASK): Update value.
25858 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
25859 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
25860 (PTRACE_O_MASK): Update value.
25861 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
25862 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
25863 (PTRACE_O_MASK): Update value.
25864 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
25865 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
25866 (PTRACE_O_MASK): Update value.
25867 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
25868 New value in enum __ptrace_setoptions.
25869 (PTRACE_O_MASK): Update value.
25870 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
25871 New value in enum __ptrace_setoptions.
25872 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
25873 (PTRACE_O_MASK): Update value.
25874
25875 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
25876 New macro.
25877 (PACKET_AUXDATA): Likewise.
25878 (PACKET_ORIGDEV): Likewise.
25879 (PACKET_VERSION): Likewise.
25880 (PACKET_HDRLEN): Likewise.
25881 (PACKET_RESERVE): Likewise.
25882 (PACKET_TX_RING): Likewise.
25883 (PACKET_LOSS): Likewise.
25884 (PACKET_VNET_HDR): Likewise.
25885 (PACKET_TX_TIMESTAMP): Likewise.
25886 (PACKET_TIMESTAMP): Likewise.
25887 (PACKET_FANOUT): Likewise.
25888 (PACKET_TX_HAS_OFF): Likewise.
25889 (PACKET_QDISC_BYPASS): Likewise.
25890 (PACKET_ROLLOVER_STATS): Likewise.
25891 (PACKET_FANOUT_DATA): Likewise.
25892 (PACKET_MR_UNICAST): Likewise.
25893
25894 [BZ #19242]
25895 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
25896 (TOUPPER): Likewise.
25897 * stdlib/tst-strtol-locale-main.c: New file.
25898 * stdlib/tst-strtol-locale.c: Likewise.
25899 * stdlib/Makefile (tests): Add tst-strtol-locale.
25900 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
25901 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
25902 Depend on $(gen-locales).
25903 * wcsmbs/tst-wcstol-locale.c: New file.
25904 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
25905 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
25906 tr_TR.ISO-8859-9.
25907 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
25908 Depend on $(gen-locales).
25909
25910 2015-11-20 Roland McGrath <roland@hack.frob.com>
25911
25912 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
25913 __glibc_likely instead of __builtin_expect. After falling back to
25914 dyncode_create in a non-ET_DYN case, use the allocate_code_data
25915 system interface to register the code pages as occupied.
25916
25917 2015-11-20 Joseph Myers <joseph@codesourcery.com>
25918
25919 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25920 [!ARM_MATH_PRIVATE_H].
25921 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
25922 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25923 [!HPPA_MATH_PRIVATE_H].
25924 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
25925 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
25926 to [!I386_MATH_PRIVATE_H].
25927 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
25928 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
25929 Change guard to [!M68K_MATH_PRIVATE_H].
25930 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
25931 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
25932 guard to [!MICROBLAZE_MATH_PRIVATE_H].
25933 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
25934 macro.
25935 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25936 [!MIPS_MATH_PRIVATE_H].
25937 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
25938 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25939 [!NIO2_MATH_PRIVATE_H].
25940 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
25941 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25942 [!TILE_MATH_PRIVATE_H].
25943 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
25944
25945 [BZ #15421]
25946 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
25947 initialize with 0 and define as weak alias of __signgam.
25948 * include/math.h [!_ISOMAC] (__signgam): Declare.
25949 * math/Makefile (libm-calls): Add w_lgamma_compat.
25950 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
25951 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
25952 test-signgam-ullong-init.
25953 (tests-static): Add test-signgam-uchar-static,
25954 test-signgam-uchar-init-static, test-signgam-uint-static,
25955 test-signgam-uint-init-static, test-signgam-ullong-static and
25956 test-signgam-ullong-init-static.
25957 (CFLAGS-test-signgam-uchar.c): New variable.
25958 (CFLAGS-test-signgam-uchar-init.c): Likewise.
25959 (CFLAGS-test-signgam-uchar-static.c): Likewise.
25960 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
25961 (CFLAGS-test-signgam-uint.c): Likewise.
25962 (CFLAGS-test-signgam-uint-init.c): Likewise.
25963 (CFLAGS-test-signgam-uint-static.c): Likewise.
25964 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
25965 (CFLAGS-test-signgam-ullong.c): Likewise.
25966 (CFLAGS-test-signgam-ullong-init.c): Likewise.
25967 (CFLAGS-test-signgam-ullong-static.c): Likewise.
25968 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
25969 * math/Versions (libm): Add GLIBC_2.23.
25970 * math/lgamma-compat.h: New file.
25971 * math/test-signgam-main.c: Likewise.
25972 * math/test-signgam-uchar-init-static.c: Likewise.
25973 * math/test-signgam-uchar-init.c: Likewise.
25974 * math/test-signgam-uchar-static.c: Likewise.
25975 * math/test-signgam-uchar.c: Likewise.
25976 * math/test-signgam-uint-init-static.c: Likewise.
25977 * math/test-signgam-uint-init.c: Likewise.
25978 * math/test-signgam-uint-static.c: Likewise.
25979 * math/test-signgam-uint.c: Likewise.
25980 * math/test-signgam-ullong-init-static.c: Likewise.
25981 * math/test-signgam-ullong-init.c: Likewise.
25982 * math/test-signgam-ullong-static.c: Likewise.
25983 * math/test-signgam-ullong.c: Likewise.
25984 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
25985 wrapper of w_lgamma_main.c.
25986 * math/w_lgamma_compat.c: New file.
25987 * math/w_lgamma_compatf.c: Likewise.
25988 * math/w_lgamma_compatl.c: Likewise.
25989 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
25990 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
25991 defining compatibility symbols.
25992 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
25993 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
25994 wrapper of w_lgammaf_main.c.
25995 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
25996 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
25997 defining compatibility symbols.
25998 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
25999 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
26000 wrapper of w_lgammal_main.c.
26001 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
26002 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
26003 defining compatibility symbols.
26004 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
26005 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
26006 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
26007 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
26008 <lgamma-compat.h>.
26009 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
26010 (__ieee754_gamma): Define as alias.
26011 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
26012 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
26013 <lgamma-compat.h>.
26014 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
26015 (__ieee754_gammaf): Define as alias.
26016 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
26017 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
26018 <lgamma-compat.h>.
26019 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
26020 (__ieee754_gammal): Define as alias.
26021 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
26022 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
26023 <math/w_lgamma_compat.c>.
26024 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
26025 Define as alias of __lgamma_compat and use in defining lgammal.
26026 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
26027 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
26028 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
26029 (USE_AS_COMPAT): New macro.
26030 (LGAMMA_OLD_VER): Undefine and redefine.
26031 (lgammal): Do not define here.
26032 (gammal): Only define here if [GAMMA_ALIAS].
26033 * conform/linknamespace.pl (@whitelist): Remove signgam.
26034 * sysdeps/nacl/libm.abilist: Update.
26035 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26036 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26037 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26038 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26039 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26040 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26041 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26042 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26043 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26044 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26045 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26046 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26048 Likewise.
26049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26050 Likewise.
26051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26052 Likewise.
26053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26054 Likewise.
26055 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26056 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26057 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26058 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26059 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26061 Likewise.
26062 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26063 Likewise.
26064 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26065 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26066 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26067
26068 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26069
26070 [BZ #16364]
26071 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
26072 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
26073
26074 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
26075
26076 * sysdeps/s390/fpu/bits/mathinline.h:
26077 Use __asm__ [__volatile__] instead of asm [volatile].
26078 * sysdeps/s390/abort-instr.h: Likewise.
26079 * sysdeps/s390/atomic-machine.h: Likewise.
26080 * sysdeps/s390/bits/string.h: Likewise.
26081 * sysdeps/s390/dl-tls.h: Likewise.
26082 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26083 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26084 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26085 * sysdeps/s390/fpu/fesetround.c: Likewise.
26086 * sysdeps/s390/fpu/fpu_control.h: Likewise.
26087 * sysdeps/s390/fpu/s_fma.c: Likewise.
26088 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
26089 * sysdeps/s390/memusage.h: Likewise.
26090 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
26091 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
26092 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
26093 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
26094 * sysdeps/s390/nptl/tls.h: Likewise.
26095 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
26096 * sysdeps/s390/s390-32/backtrace.c: Likewise.
26097 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26098 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
26099 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26100 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26101 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
26102 * sysdeps/s390/s390-64/backtrace.c: Likewise.
26103 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26104 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
26105 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
26106 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26107 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26108 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
26109 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26110 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26111 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
26112 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
26113 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
26114 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26115 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
26116 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26117 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
26118
26119 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26120 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26121
26122 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
26123 Add lwarx hint, and use macro for acquire instruction.
26124 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26125 Likewise.
26126 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
26127 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
26128 update to use new atomic macros.
26129
26130 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26131
26132 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
26133 (__lll_trylock_elision): Fix setting of adapt_count.
26134 * sysdeps/unix/sysv/linux/powerpc/htm.h
26135 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
26136 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
26137 (_ABORT_SYSCALL): Renumber, and clarify definition.
26138 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
26139
26140 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26141
26142 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
26143 after system headers to prevent MIN/MAX redefinition. Define
26144 HAVE_ALLOCA to preserve builtin alloca usage.
26145
26146 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
26147
26148 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
26149 static and don't set or restore rounding.
26150 (__cos)[IN_SINCOS]: Likewise.
26151 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
26152 (__sincos): Set and restore rounding mode. Remove check for infinite
26153 or NaN input.
26154
26155 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
26156
26157 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
26158 as used.
26159
26160 2015-11-16 Florian Weimer <fweimer@redhat.com>
26161
26162 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
26163
26164 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
26165
26166 * config.make.in (have-glob-dat-reloc): New.
26167 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
26168 target supports GLOB_DAT relocaton. AC_SUBST.
26169 * configure: Regenerated.
26170 * elf/Makefile (tests): Add tst-prelink.
26171 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26172 (tst-prelink-ENV): New.
26173 ($(objpfx)tst-prelink-conflict.out): Likewise.
26174 ($(objpfx)tst-prelink-cmp.out): Likewise.
26175 * sysdeps/x86/tst-prelink.c: Moved to ...
26176 * elf/tst-prelink.c: Here.
26177 * sysdeps/x86/tst-prelink.exp: Moved to ...
26178 * elf/tst-prelink.exp: Here.
26179 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
26180 (tst-prelink-ENV): Removed.
26181 ($(objpfx)tst-prelink-conflict.out): Likewise.
26182 ($(objpfx)tst-prelink-cmp.out): Likewise.
26183 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
26184
26185 2015-11-13 Joseph Myers <joseph@codesourcery.com>
26186
26187 [BZ #14551]
26188 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
26189 (__mpn_construct_long_double): If high part overflows to infinity,
26190 set errno and recompute overflowed result of the correct sign.
26191 * sysdeps/ieee754/ldbl-128ibm/Makefile
26192 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
26193 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
26194 $(libm).
26195 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
26196
26197 2015-11-12 Joseph Myers <joseph@codesourcery.com>
26198
26199 [BZ #15479]
26200 [BZ #19238]
26201 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
26202 floating-point state after first operation on input. Restore full
26203 state rather than just rounding mode.
26204 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
26205 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
26206 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
26207
26208 [BZ #19235]
26209 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
26210 add 0.5 to integer arguments.
26211 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
26212 Likewise.
26213 (.LC2): New object.
26214
26215 2015-11-11 Mike Frysinger <vapier@gentoo.org>
26216
26217 * scripts/pylintrc (reports): Set to no.
26218
26219 2015-11-10 Roland McGrath <roland@hack.frob.com>
26220
26221 * elf/dl-load.c (open_verify): Take new argument FD.
26222 Skip __open call if passed FD is not -1.
26223 (_dl_map_object, open_path): Update callers.
26224 * elf/dl-sysdep-open.h: New file.
26225 * elf/dl-load.c: Include it.
26226 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
26227 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
26228 * sysdeps/nacl/dl-sysdep-open.h: New file.
26229 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
26230 from libc to rtld.
26231
26232 2015-11-10 Joseph Myers <joseph@codesourcery.com>
26233
26234 [BZ #19228]
26235 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
26236 and restore full floating-point state.
26237 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
26238 Likewise.
26239 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
26240 Likewise.
26241 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
26242 Likewise.
26243 * math/test-nearbyint-except-2.c: New file.
26244 * math/Makefile (tests): Add test-nearbyint-except-2.
26245
26246 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
26247
26248 [BZ #19178]
26249 * sysdeps/x86/Makefile (tests): Add tst-prelink.
26250 (tst-prelink-ENV): New.
26251 ($(objpfx)tst-prelink-conflict.out): Likewise.
26252 ($(objpfx)tst-prelink-cmp.out): Likewise.
26253 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26254 * sysdeps/x86/tst-prelink.c: New file.
26255 * sysdeps/x86/tst-prelink.exp: Likewise.
26256
26257 2015-11-10 Joseph Myers <joseph@codesourcery.com>
26258
26259 * math/auto-libm-test-in: Add another test of pow.
26260 * math/auto-libm-test-out: Regenerated.
26261 * math/libm-test.inc (pow_test_data): Add another test.
26262
26263 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26264
26265 [BZ #19219]
26266 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
26267 weak_alias to nearbyintl.
26268
26269 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
26270
26271 * sysdeps/aarch64/bits/string.h: New file.
26272 (_STRING_ARCH_unaligned): Define.
26273
26274 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
26275
26276 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
26277 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26278 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26279 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
26280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
26281
26282 2015-11-09 Ulrich Drepper <drepper@gmail.com>
26283
26284 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
26285 for original name of the DSO. Add it to the name list of the DSO
26286 if it is actually given.
26287 (_dl_map_object): Keep track of whether an audit module rewrote
26288 the file name. If yes, pass the original name to
26289 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
26290 debugging is enabled, log the change of the file name.
26291 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
26292 _dl_map_object_from_fd.
26293 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
26294 * elf/tst-audit11.c: New file
26295 * elf/tst-auditmod11.c: New file.
26296 * elf/tst-audit11mod1.c: New file.
26297 * elf/tst-audit11mod2.c: New file.
26298 * elf/tst-audit11mod2.map: New file.
26299 * elf/tst-audit12.c: New file
26300 * elf/tst-auditmod12.c: New file.
26301 * elf/tst-audit12mod1.c: New file.
26302 * elf/tst-audit12mod2.c: New file.
26303 * elf/tst-audit12mod2.map: New file.
26304 * elf/tst-audit12mod3.c: New file.
26305
26306 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
26307
26308 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
26309 Don't create weak aliases,
26310 because versioned symbols are created later.
26311 * sysdeps/s390/s390-32/setjmp.S
26312 (setjmp, _setjmp): Remove weak and rename to an unique name
26313 in SHARED case due to existing versioned symbols.
26314 * sysdeps/s390/s390-64/setjmp.S: Likewise.
26315 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
26316 (getcontext): Create weak alias only in non SHARED case.
26317 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26318
26319 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
26320
26321 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
26322 (__ASSUME_*_SYSCALL) Define new macros.
26323 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
26324 Remove socketcall syscalls.
26325 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
26326 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
26327 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
26328 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
26329 * sysdeps/unix/sysv/linux/send.c (__libc_send):
26330 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
26331
26332 2015-11-09 Florian Weimer <fweimer@redhat.com>
26333
26334 [BZ #12926]
26335 Terminate process on invalid netlink response.
26336 * sysdeps/unix/sysv/linux/netlinkaccess.h
26337 (__netlink_assert_response): Declare.
26338 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
26339 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
26340 (sysdep_routines): Add netlink_assert_response.
26341 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
26342 __netlink_assert_response.
26343 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
26344 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
26345 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
26346 __netlink_assert_response.
26347
26348 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
26349
26350 [BZ #19178]
26351 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
26352 (RTYPE_CLASS_PLT): Likewise.
26353 (RTYPE_CLASS_COPY): Likewise.
26354 (RTYPE_CLASS_TLS): Likewise.
26355 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
26356 to set relocation type class for DL_DEBUG_PRELINK. Keep only
26357 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
26358 DL_DEBUG_PRELINK.
26359
26360 2015-11-06 Joseph Myers <joseph@codesourcery.com>
26361
26362 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
26363 calls with argument -0.5.
26364 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
26365
26366 * configure.ac (libc_cv_z_nodelete): Remove configure test.
26367 (libc_cv_z_nodlopen): Likewise.
26368 (libc_cv_z_initfirst): Likewise.
26369 * configure: Regenerated.
26370
26371 2015-11-06 Florian Weimer <fweimer@redhat.com>
26372
26373 Simplify abilist format to be line-based.
26374 * scripts/abilist.awk: Collect descriptors in the descs variable.
26375 (emit): Write descs variable and sort it
26376 externally, with sort.
26377 * sysdeps/**/*.abilist: Convert to new format.
26378
26379 2015-11-06 Mark Wielaard <mjw@redhat.com>
26380
26381 [BZ #11460]
26382 * io/Makefile (routines): Add fts64.
26383 (tests): Add tst-fts and tst-fts-lfs.
26384 (CFLAGS-fts64.c): New.
26385 * io/Versions (GLIBC_2.23): New.
26386 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
26387 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
26388 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
26389 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
26390 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
26391 (FTSENT64): Likewise.
26392 (fts64_children): Likewise.
26393 (fts64_close): Likewise.
26394 (fts64_open): Likewise.
26395 (fts64_read): Likewise.
26396 (fts64_set): Likewise.
26397 * io/fts64.c: New file.
26398 * io/tst-fts.c: New test.
26399 * io/tst-fts-lfs.c: Likewise.
26400 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
26401 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
26402 fts64_set.
26403 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26404 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26405 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26406 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26407 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26408 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26409 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26410 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26411 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26412 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26413 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26414 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26415 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26417 Likewise.
26418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26419 Likewise.
26420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
26422 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26423 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26424 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26425 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26426 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26428 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26429 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26430 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26431 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26432 * sysdeps/wordsize-64/fts.c: New file.
26433 * sysdeps/wordsize-64/fts64.c: Likewise.
26434 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
26435 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
26436 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
26437 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
26438
26439 2015-11-05 Joseph Myers <joseph@codesourcery.com>
26440
26441 * math/libm-test.inc (NON_FINITE): New macro.
26442 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
26443 * math/gen-libm-test.pl (show_exceptions): Add argument
26444 $non_finite.
26445 (parse_args): Update call to show_exceptions.
26446 * math/test-math-finite.h: New file.
26447 * math/test-math-no-finite.h: Likewise.
26448 * math/test-double-finite.c: Likewise.
26449 * math/test-float-finite.c: Likewise.
26450 * math/test-ldouble-finite.c: Likewise.
26451 * math/test-double.c: Include "test-math-no-finite.h".
26452 * math/test-float.c: Include "test-math-no-finite.h".
26453 * math/test-ldouble.c: Include "test-math-no-finite.h".
26454 * math/test-math-inline.h (TEST_FINITE): New macro.
26455 * math/test-math-vector.h (TEST_FINITE): Likewise.
26456 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
26457 (libm-tests): Add test-float-finite and test-double-finite.
26458 ($(objpfx)test-float-finite.o): New dependency on
26459 $(objpfx)libm-test.stmp.
26460 ($(objpfx)test-double-finite.o): Likewise.
26461 ($(objpfx)test-ldouble-finite.o): Likewise.
26462 (libm-test-no-inline-cflags): New variable.
26463 (libm-test-finite-cflags): Likewise.
26464 (CFLAGS-test-float-finite.c): Likewise.
26465 (CFLAGS-test-double-finite.c): Likewise.
26466 (CFLAGS-test-ldouble-finite.c): Likewise.
26467 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
26468 (CFLAGS-test-double.c): Likewise.
26469 (CFLAGS-test-ldouble.c): Likewise.
26470
26471 2015-11-05 Roland McGrath <roland@hack.frob.com>
26472
26473 * io/fcntl.c (__fcntl): Add ... to prototype.
26474 * misc/ioctl.c (__ioctl): Likewise.
26475 * misc/syscall.c (syscall): Likewise.
26476
26477 2015-11-05 Joseph Myers <joseph@codesourcery.com>
26478
26479 * scripts/list-fixed-bugs.py: New file.
26480
26481 [BZ #19213]
26482 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
26483 returned for argument 1.
26484 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
26485 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
26486 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
26487 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
26488 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
26489 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
26490
26491 [BZ #19211]
26492 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
26493 __USE_XOPEN], not if [!__USE_ISOC99].
26494 (lgammaf): Likewise.
26495 (lgammal): Likewise.
26496 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
26497 (gammaf): Likewise.
26498 (gammal): Likewise.
26499 * math/test-signgam-finite-c11.c: New file.
26500 * math/test-signgam-finite-c99.c: Likewise.
26501 * math/test-signgam-finite.c: Likewise.
26502 * math/Makefile (tests): Add test-signgam-finite,
26503 test-signgam-finite-c99 and test-signgam-finite-c11.
26504 (CFLAGS-test-signgam-finite.c): New variable.
26505 (CFLAGS-test-signgam-finite-c99.c): Likewise.
26506 (CFLAGS-test-signgam-finite-c11.c): Likewise.
26507
26508 [BZ #19212]
26509 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
26510 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
26511 500].
26512 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
26513 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
26514 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
26515 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
26516 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
26517 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
26518 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
26519 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
26520 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
26521 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
26522
26523 [BZ #19209]
26524 * math/bits/math-finite.h (ldexp): Remove declaration.
26525 (ldexpf): Likewise.
26526 (ldexpl): Likewise.
26527
26528 [BZ #19205]
26529 * math/bits/math-finite.h (acosf): Condition declaration on
26530 [__USE_ISOC99].
26531 (acosl): Likewise.
26532 (acoshf): Likewise.
26533 (acoshl): Likewise.
26534 (asinf): Likewise.
26535 (asinl): Likewise.
26536 (atan2f): Likewise.
26537 (atan2l): Likewise.
26538 (atanhf): Likewise.
26539 (atanhl): Likewise.
26540 (coshf): Likewise.
26541 (coshl): Likewise.
26542 (expf): Likewise.
26543 (expl): Likewise.
26544 (fmodf): Likewise.
26545 (fmodl): Likewise.
26546 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
26547 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
26548 (j0l): Likewise.
26549 (y0f): Likewise.
26550 (y0l): Likewise.
26551 (j1f): Likewise.
26552 (j1l): Likewise.
26553 (y1f): Likewise.
26554 (y1l): Likewise.
26555 (jnf): Likewise.
26556 (jnl): Likewise.
26557 (ynf): Likewise.
26558 (ynl): Likewise.
26559 (lgammaf_r): Condition declaration on [__USE_ISOC99].
26560 (lgammal_r): Likewise.
26561 (__lgamma_r_finite): New declaration.
26562 (__lgammaf_r_finite): Likewise.
26563 (__lgammal_r_finite): Likewise.
26564 (lgamma): Use __lgamma_r_finite.
26565 (lgammaf): Condition definition on [__USE_ISOC99]. Use
26566 __lgammaf_r_finite.
26567 (lgammal): Condition definition on [__USE_ISOC99]. Use
26568 __lgammal_r_finite.
26569 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
26570 __lgamma_r_finite.
26571 (gammaf): Condition definition on [__USE_ISOC99]. Use
26572 __lgammaf_r_finite.
26573 (gammal): Condition definition on [__USE_ISOC99]. Use
26574 __lgammal_r_finite.
26575 (logf): Condition declaration on [__USE_ISOC99].
26576 (logl): Likewise.
26577 (log10f): Likewise.
26578 (log10l): Likewise.
26579 (ldexpf): Likewise.
26580 (ldexpl): Likewise.
26581 (powf): Likewise.
26582 (powl): Likewise.
26583 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
26584 __USE_ISOC99].
26585 (remainderf): Condition declaration on [__USE_ISOC99].
26586 (remainderl): Likewise.
26587 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
26588 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
26589 (scalbl): Likewise.
26590 (sinhf): Condition declaration on [__USE_ISOC99].
26591 (sinhl): Likewise.
26592 (sqrtf): Likewise.
26593 (sqrtl): Likewise.
26594
26595 2015-11-04 Joseph Myers <joseph@codesourcery.com>
26596
26597 * sysdeps/arm/atomic-machine.h
26598 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26599 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26600 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
26601 Remove conditional code.
26602 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26603 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26604 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
26605 Change conditional to [__ASSEMBLER__].
26606 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
26607 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
26608 [!__ASSEMBLER__].
26609 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
26610 code.
26611 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
26612 conditional macro definitions.
26613 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
26614 (__arch_compare_and_exchange_val_16_acq): Likewise.
26615 (__arch_compare_and_exchange_val_32_acq): Likewise.
26616 (atomic_exchange_and_add): Likewise.
26617 (atomic_add): Likewise.
26618 (atomic_add_negative): Likewise.
26619 (atomic_add_zero): Likewise.
26620 (atomic_bit_set): Likewise.
26621 (atomic_bit_test_set): Likewise.
26622 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
26623 code unconditional.
26624 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26625
26626 * math/test-math-errno.h: New file.
26627 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
26628 empty.
26629 (TEST_ERRNO): New macro.
26630 (TEST_EXCEPTIONS): Likewise.
26631 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
26632 (TEST_EXCEPTIONS): Likewise.
26633 * math/test-math-vector.h (TEST_ERRNO): Likewise.
26634 * math/test-double.c: Include "test-math-errno.h".
26635 * math/test-float.c: Likewise.
26636 * math/test-ldouble.c: Likewise.
26637 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
26638 code unconditional.
26639 (test_exceptions): Only run code if TEST_EXCEPTIONS.
26640 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
26641 unconditional.
26642 (test_errno): Only run code if TEST_ERRNO.
26643 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
26644
26645 2015-11-04 Florian Weimer <fweimer@redhat.com>
26646
26647 * nptl/tst-once5.cc: Remove attribution.
26648
26649 2015-11-04 Joseph Myers <joseph@codesourcery.com>
26650
26651 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
26652 sqrt, tan, tanh, y0, y1 and yn.
26653 * math/auto-libm-test-out: Regenerated.
26654 * math/libm-test.inc (scalb_test_data): Add more tests.
26655 (scalbn_test_data): Likewise.
26656 (scalbln_test_data): Likewise.
26657 (signbit_test_data): Likewise.
26658 (sin_test_data): Likewise.
26659 (sincos_test_data): Likewise.
26660 (sinh_test_data): Likewise.
26661 (sqrt_test_data): Likewise.
26662 (tan_test_data): Likewise.
26663 (tanh_test_data): Likewise.
26664 (tgamma_test_data): Likewise.
26665 (y0_test_data): Likewise.
26666 (y1_test_data): Likewise.
26667 (yn_test_data): Likewise.
26668 (significand_test_data): Likewise.
26669 * sysdeps/i386/fpu/libm-test-ulps: Update.
26670
26671 2015-11-03 David Kastrup <dak@gnu.org>
26672
26673 [BZ #18604]
26674 * assert/assert.h (assert): Don't macro-expand failed assertion
26675 expression in error message.
26676 * malloc/malloc.c (assert): Likewise.
26677
26678 2015-11-03 Joseph Myers <joseph@codesourcery.com>
26679
26680 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
26681 test.
26682 * configure: Regenerated.
26683
26684 2015-11-02 Joseph Myers <joseph@codesourcery.com>
26685
26686 * math/libm-test.inc (modf_test_data): Add more tests.
26687 (nearbyint_test_data): Likewise.
26688 (nextafter_test_data): Likewise.
26689 (nexttoward_test_data): Likewise.
26690 (pow_test_data): Likewise.
26691 (remainder_test_data): Likewise.
26692 (remquo_test_data): Likewise.
26693 (rint_test_data): Likewise.
26694
26695 [BZ #19201]
26696 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26697 Check for zero remainder in case of large exponents and ensure
26698 correct sign of result in that case.
26699 * math/libm-test.inc (remainder_test_data): Add more tests.
26700
26701 [BZ #6799]
26702 * math/s_nextafter.c: Include <errno.h>.
26703 (__nextafter): Set errno on overflow and underflow.
26704 * math/s_nexttowardf.c: Include <errno.h>.
26705 (__nexttowardf): Set errno on overflow and underflow.
26706 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
26707 (__nextafterl): Set errno on overflow and underflow.
26708 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
26709 (__nexttoward): Set errno on overflow and underflow.
26710 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
26711 (__nexttowardf): Set errno on overflow and underflow.
26712 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
26713 (__nextafterf): Set errno on overflow and underflow.
26714 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
26715 (__nextafterl): Set errno on overflow and underflow.
26716 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
26717 (__nexttoward): Set errno on overflow and underflow.
26718 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
26719 (__nexttowardf): Set errno on overflow and underflow.
26720 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
26721 (__nextafterl): Set errno on overflow and underflow.
26722 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
26723 (__nexttoward): Set errno on overflow and underflow.
26724 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
26725 (__nexttowardf): Set errno on overflow and underflow.
26726 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
26727 (__nexttoward): Set errno on overflow and underflow.
26728 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
26729 (__nexttowardf): Set errno on overflow and underflow.
26730 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
26731 (__nldbl_nexttowardf): Set errno on overflow and underflow.
26732 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
26733 (__nextafterl): Set errno on overflow and underflow.
26734 * math/libm-test.inc (nextafter_test_data): Do not allow errno
26735 setting to be missing on overflow. Add more tests.
26736 (nexttoward_test_data): Likewise.
26737
26738 * configure.ac (libc_cv_initfini_array): Remove configure test.
26739 * configure: Regenerated.
26740
26741 2015-10-29 Joseph Myers <joseph@codesourcery.com>
26742
26743 [BZ #19189]
26744 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
26745 non-finite argument handle arguments with negative sign.
26746
26747 * math/libm-test.inc (j0_test_data): Do not test sign of zero
26748 result from infinite argument.
26749 (j1_test_data): Likewise.
26750 (jn_test_data): Likewise.
26751 (y0_test_data): Likewise.
26752 (y1_test_data): Likewise.
26753 (yn_test_data): Likewise.
26754
26755 [BZ #16171]
26756 * math/w_remainder.c (drem): Define as weak alias of __remainder.
26757 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
26758 * math/w_remainderf.c (dremf): Define as weak alias of
26759 __remainderf.
26760 * math/w_remainderl.c (dreml): Define as weak alias of
26761 __remainderl.
26762 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
26763 __remainder.
26764 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
26765 __remainderf.
26766 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
26767 __remainderl.
26768 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
26769 weak alias of remainderl.
26770 * sysdeps/ieee754/ldbl-opt/w_remainder.c
26771 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
26772 alias of __remainder.
26773 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
26774 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
26775 strong alias of __remainderl.
26776 (dreml): Use long_double_symbol.
26777 * math/Makefile (libm-calls): Remove w_drem.
26778 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
26779 (CFLAGS-nldbl-drem.c): Remove variable.
26780 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
26781 * math/w_drem.c: Remove file.
26782 * math/w_dremf.c: Likewise.
26783 * math/w_dreml.c: Likewise.
26784 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
26785 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
26786 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
26787
26788 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
26789 * sysdeps/i386/configure: Regenerated.
26790 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
26791 * sysdeps/x86_64/configure: Regenerated.
26792
26793 * configure.ac (libc_cv_asm_protected_directive): Remove configure
26794 test.
26795 (libc_cv_visibility_attribute): Likewise.
26796 (libc_cv_protected_data): Test unconditionally.
26797 (libc_cv_broken_visibility_attribute): Remove configure test.
26798 (libc_cv_have_sdata_section): Test unconditionally.
26799 * configure: Regenerated.
26800
26801 * include/libc-internal.h (libc_max_align_t): Remove typedef.
26802 * include/scratch_buffer.h: Include <stddef.h> instead of
26803 <libc-internal.h>.
26804 (struct scratch_buffer): Use max_align_t instead of
26805 libc_max_align_t.
26806
26807 2015-10-29 Florian Weimer <fweimer@redhat.com>
26808
26809 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
26810 instead of extend_alloca. Change control flow to avoid a goto.
26811 Remove assert which is trivially always true.
26812
26813 2015-10-28 Joseph Myers <joseph@codesourcery.com>
26814
26815 [BZ #16068]
26816 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
26817 (FE_ALL_EXCEPT_X86): New macro.
26818 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
26819 FE_ALL_EXCEPT. Ensure precision control is included in
26820 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
26821 handle "denormal operand exception" and clear FZ and DAZ bits.
26822 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
26823 (FE_ALL_EXCEPT_X86): New macro.
26824 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
26825 FE_ALL_EXCEPT. Ensure precision control is included in
26826 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
26827 handle "denormal operand exception" and clear FZ and DAZ bits.
26828 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
26829 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
26830 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
26831 test-fenv-x87 and test-fenv-sse-2.
26832 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
26833
26834 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
26835 * math/test-double.h (BUILD_COMPLEX): New macro.
26836 * math/test-float.h (BUILD_COMPLEX): Likewise.
26837 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
26838
26839 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
26840 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
26841 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
26842 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
26843 instead of DBL_DENORM_MIN in comment.
26844 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
26845 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
26846 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
26847 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
26848 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
26849 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
26850
26851 2015-10-28 Florian Weimer <fweimer@redhat.com>
26852
26853 [BZ #19048]
26854 * malloc/malloc.c (struct malloc_state): Update comment. Add
26855 attached_threads member.
26856 (main_arena): Initialize attached_threads.
26857 * malloc/arena.c (list_lock): Update comment.
26858 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
26859 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
26860 (deattach_arena): New function.
26861 (_int_new_arena): Initialize arena reference count and deattach
26862 replaced arena.
26863 (get_free_list, reused_arena): Update reference count and deattach
26864 replaced arena.
26865 (arena_thread_freeres): Update arena reference count and only put
26866 unreferenced arenas on the free list.
26867
26868 2015-10-28 Joseph Myers <joseph@codesourcery.com>
26869
26870 [BZ #19181]
26871 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
26872 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
26873 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
26874 * math/test-fenv-clear-main.c: New file.
26875 * math/test-fenv-clear.c: Likewise.
26876 * math/Makefile (tests): Add test-fenv-clear.
26877 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
26878 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
26879 test-fenv-clear-sse.
26880 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
26881
26882 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
26883 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
26884 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
26885
26886 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
26887
26888 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
26889 static libc.
26890
26891 2015-10-28 Joseph Myers <joseph@codesourcery.com>
26892
26893 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
26894 test.
26895 * sysdeps/i386/configure: Regenerated.
26896 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
26897 test.
26898 * sysdeps/x86_64/configure: Regenerated.
26899 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
26900 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26901 memset-avx2 unconditionally instead of conditionally on
26902 [$(config-cflags-avx2) = yes].
26903 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
26904 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
26905 unconditional.
26906 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
26907 * sysdeps/x86_64/multiarch/memset_chk.S
26908 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
26909 to [IS_IN (libc) && SHARED].
26910
26911 2015-10-27 Joseph Myers <joseph@codesourcery.com>
26912
26913 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
26914 configure test.
26915 * sysdeps/arm/configure: Regenerated.
26916 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
26917 Define variable if not already defined.
26918
26919 [BZ #17404]
26920 * sysdeps/mips/atomic-machine.h
26921 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
26922 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
26923 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
26924
26925 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
26926 unconditional.
26927 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
26928 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26929 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
26930 unconditional.
26931 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26932 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
26933 unconditional.
26934 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26935 * stdlib/setenv.c
26936 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
26937 code unconditional.
26938 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
26939 Remove conditional code.
26940 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
26941 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
26942 unconditional.
26943 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
26944 code.
26945 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
26946 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
26947 unconditional.
26948 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
26949 code.
26950 * sysdeps/ieee754/ldbl-128/k_tanl.c
26951 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
26952 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26953 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
26954 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
26955 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26956 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
26957 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
26958 unconditional.
26959 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
26960 code.
26961 * sysdeps/ieee754/ldbl-96/k_tanl.c
26962 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
26963 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26964
26965 * nptl/tst-initializers1-c11.c: New file.
26966 * nptl/tst-initializers1-gnu11.c: Likewise.
26967 * nptl/Makefile (tests): Add these new tests.
26968 (CFLAGS-tst-initializers1-c11.c): New variable.
26969 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
26970
26971 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
26972 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
26973 instead of -std=gnu99.
26974 * configure.ac (systemtap): Test with -std=gnu11 instead of
26975 -std=gnu99.
26976 * configure: Regenerated.
26977 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
26978 in compilation command in comment.
26979
26980 * sysdeps/nptl/configure.ac: Remove file.
26981 * sysdeps/nptl/configure: Remove generated file.
26982 * configure.ac (libc_cv_forced_unwind): Do not substitute.
26983 * configure: Regenerated.
26984 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
26985 * config.make.in (have-forced-unwind): Remove variable.
26986 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
26987 unconditional.
26988 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
26989 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
26990 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
26991 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
26992 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
26993 unconditional.
26994
26995 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26996
26997 [BZ #19174]
26998 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
26999 .skip_lock_out_of_tbegin_retries.
27000 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27001 (__lll_lock_elision): Likewise, and respect a value of
27002 try_tbegin <= 0.
27003
27004 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
27005
27006 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
27007 statement.
27008
27009 2015-10-27 Joseph Myers <joseph@codesourcery.com>
27010
27011 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
27012 variable.
27013 (test-xfail-ISO11/stdalign.h/conform): Likewise.
27014 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
27015
27016 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
27017 of -std=c1x -D_ISOC11_SOURCE.
27018
27019 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
27020 * configure: Regenerated.
27021 * manual/install.texi (Tools for Compilation): Document
27022 requirement for GCC 4.7 or later.
27023 * INSTALL: Regenerated.
27024
27025 2015-10-27 Ludovic Courtès <ludo@gnu.org>
27026
27027 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
27028 on CNT to a conditional jump to 'puntdata'.
27029
27030 2015-10-27 Joseph Myers <joseph@codesourcery.com>
27031
27032 * configure.ac (libc_cv_gcc___thread): Remove configure test.
27033 (libc_cv_gcc_tls_model_attr): Likewise.
27034 * configure: Regenerated.
27035
27036 * configure.ac (libc_cv_need_minus_P): Remove configure test.
27037 * configure: Regenerated.
27038 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
27039
27040 2015-10-26 Joseph Myers <joseph@codesourcery.com>
27041
27042 * configure.ac (old_glibc_headers): Remove configure test.
27043 * configure: Regenerated.
27044 * config.make.in (old-glibc-headers): Remove variable.
27045 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
27046 (install): Remove dependency on remove-old-headers.
27047 (headers2_0): Remove variable.
27048 (remove-old-headers): Remove rule.
27049
27050 * configure.ac (libc_cv_dot_text): Remove configure test.
27051 (libc_cv_asm_set_directive): Use .text instead of
27052 ${libc_cv_dot_text} in configure test.
27053 * configure: Regenerated.
27054
27055 2015-10-26 Florian Weimer <fweimer@redhat.com>
27056
27057 [BZ #19168]
27058 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27059
27060 2015-10-26 Florian Weimer <fweimer@redhat.com>
27061
27062 * configure.ac (CXX): Clear the variable if the C++ toolchain does
27063 not support static linking.
27064 * configure: Regenerate.
27065
27066 2015-10-23 Joseph Myers <joseph@codesourcery.com>
27067
27068 * math/libm-test.inc (check_float_internal): Do not special-case
27069 errors up to 0.5 ulp.
27070
27071 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27072 log2.
27073 * math/auto-libm-test-out: Regenerated.
27074 * math/libm-test.inc (MAX_EXP): New macro.
27075 (ilogb_test_data): Add more tests.
27076 (isfinite_test_data): Likewise.
27077 (isgreater_test_data): Likewise.
27078 (isgreaterequal_test_data): Likewise.
27079 (isinf_test_data): Likewise.
27080 (isless_test_data): Likewise.
27081 (islessequal_test_data): Likewise.
27082 (islessgreater_test_data): Likewise.
27083 (isnan_test_data): Likewise.
27084 (isnormal_test_data): Likewise.
27085 (issignaling_test_data): Likewise.
27086 (isunordered_test_data): Likewise.
27087 (j0_test_data): Likewise.
27088 (j1_test_data): Likewise.
27089 (jn_test_data): Likewise.
27090 (lgamma_test_data): Likewise.
27091 (log_test_data): Likewise.
27092 (log10_test_data): Likewise.
27093 (log1p_test_data): Likewise.
27094 (log2_test_data): Likewise.
27095 (logb_test_data): Likewise.
27096 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27097
27098 [BZ #18611]
27099 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
27100 avoid excess range and precision on underflow.
27101 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27102 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
27103 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27104 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
27105 underflow.
27106 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27107 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27108 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27109 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27110 * math/auto-libm-test-in: Do not allow missing errno setting for
27111 tests of j1 and jn.
27112 * math/auto-libm-test-out: Regenerated.
27113
27114 2015-10-22 Joseph Myers <joseph@codesourcery.com>
27115
27116 [BZ #15491]
27117 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
27118 floating-point environment instead of clearing all exceptions.
27119 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
27120 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
27121 merging in "invalid" exceptions from frndint.
27122 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
27123 * math/test-nearbyint-except.c: New file.
27124 * math/Makefile (tests): Add test-nearbyint-except.
27125
27126 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
27127
27128 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
27129
27130 * sysdeps/tile/libm-test-ulps: Regenerated.
27131
27132 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27133
27134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
27135 (__NR_sync_file_range2): Assume it is always defined.
27136 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
27137 (__NR_sync_file_range): Assume it is always defined.
27138
27139 2015-10-22 Andreas Schwab <schwab@suse.de>
27140
27141 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
27142 INTERNAL_SYSCALL_ERRNO.
27143 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27144 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
27145 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27146 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
27147 Likewise.
27148 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27149
27150 2015-10-21 Joseph Myers <joseph@codesourcery.com>
27151
27152 * io/tst-fcntl.c (fd): New static variable.
27153 (do_prepare): Open temporary file here....
27154 (do_test): ...not here.
27155
27156 * io/ftwtest-sh: Also trap on exit to remove temporary files.
27157
27158 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
27159
27160 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
27161 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27162 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27163 Moved before "#ifdef __ASSEMBLER__".
27164
27165 2015-10-21 Joseph Myers <joseph@codesourcery.com>
27166
27167 [BZ #19156]
27168 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
27169 arguments very close to 0.
27170
27171 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
27172
27173 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
27174 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
27175
27176 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
27177
27178 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27179 New. Defined for GCC 5 and above when not compiling for
27180 profiling.
27181 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27182
27183 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
27184 Renamed to ...
27185 (CFLAGS-epoll_pwait.o): This.
27186 (CFLAGS-mmap.c): Renamed to ...
27187 (CFLAGS-mmap.o): This.
27188 (CFLAGS-mmap64.c): Renamed to ...
27189 (CFLAGS-mmap64.o): This.
27190 (CFLAGS-epoll_pwait.os): New.
27191 (CFLAGS-mmap.os): Likewise.
27192 (CFLAGS-mmap64.os): Likewise.
27193 (CFLAGS-semtimedop.os): Likewise.
27194 (CFLAGS-semtimedop.c): Renamed to ...
27195 (CFLAGS-semtimedop.o): This.
27196
27197 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27198
27199 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
27200 warning message.
27201
27202 2015-10-21 Joseph Myers <joseph@codesourcery.com>
27203
27204 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
27205 * Makefile ($(objpfx)c++-types-check.out): Filter out
27206 $(+gccwarn-c) instead of -Wstrict-prototypes.
27207
27208 * io/fts.c (fts_open): Convert to prototype-style function
27209 definition.
27210 * malloc/mcheck.c (mcheck): Likewise.
27211 (mcheck_pedantic): Likewise.
27212 * posix/regexec.c (re_search_2_stub): Likewise. Use
27213 internal_function.
27214 (re_search_internal): Likewise.
27215 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
27216 prototype-style function definition.
27217 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27218 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
27219 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
27220 (xdr_utmpptr): Likewise.
27221 (xdr_utmparr): Likewise.
27222 (xdr_utmpidle): Likewise.
27223 (xdr_utmpidleptr): Likewise.
27224 (xdr_utmpidlearr): Likewise.
27225
27226 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
27227 log, log10 and log2.
27228 * math/auto-libm-test-out: Regenerated.
27229 * math/libm-test.inc (fmod_test_data): Add more tests.
27230 (fpclassify_test_data): Likewise.
27231 (frexp_test_data): Likewise.
27232 (hypot_test_data): Likewise.
27233 (ilogb_test_data): Likewise.
27234
27235 2015-10-20 Joseph Myers <joseph@codesourcery.com>
27236
27237 * debug/fortify_fail.c (__fortify_fail): Convert to
27238 prototype-style function definition. Use internal_function.
27239 * libio/genops.c (save_for_backup): Convert to prototype-style
27240 function definition.
27241 * libio/wgenops.c (save_for_wbackup): Likewise.
27242 * login/grantpt.c (grantpt): Likewise.
27243 * login/ptsname.c (ptsname): Likewise.
27244 (__ptsname_r): Likewise.
27245 * login/unlockpt.c (unlockpt): Likewise.
27246 * mach/msgserver.c (__mach_msg_server): Likewise.
27247 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
27248 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
27249 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
27250 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
27251 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
27252 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
27253 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
27254 Likewise.
27255 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
27256 internal_function.
27257 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
27258 prototype-style function definition.
27259 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
27260 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
27261 (__pthread_create_2_0): Likewise.
27262 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
27263 * nptl/register-atfork.c (__register_atfork): Likewise.
27264 * posix/glob.c (glob): Likewise.
27265 * posix/regcomp.c (re_comp): Likewise.
27266 * posix/regexec.c (re_exec): Likewise.
27267 * stdlib/add_n.c [__STDC__]: Make code unconditional.
27268 [!__STDC__]: Remove conditional code.
27269 * stdlib/cmp.c [__STDC__]: Make code unconditional.
27270 [!__STDC__]: Remove conditional code.
27271 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
27272 [!__STDC__]: Remove conditional code.
27273 * stdlib/divrem.c [__STDC__]: Make code unconditional.
27274 [!__STDC__]: Remove conditional code.
27275 * stdlib/lshift.c [__STDC__]: Make code unconditional.
27276 [!__STDC__]: Remove conditional code.
27277 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
27278 [!__STDC__]: Remove conditional code.
27279 * stdlib/mul.c [__STDC__]: Make code unconditional.
27280 [!__STDC__]: Remove conditional code.
27281 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
27282 [!__STDC__]: Remove conditional code.
27283 * stdlib/rshift.c [__STDC__]: Make code unconditional.
27284 [!__STDC__]: Remove conditional code.
27285 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
27286 function definition.
27287 (STRTOF): Likewise.
27288 * stdlib/strtod_l.c (__STRTOF): Likewise.
27289 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
27290 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
27291 (__strtol_l): Likewise.
27292 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
27293 [!__STDC__]: Remove conditional code.
27294 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
27295 definition.
27296 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27297 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27298 type.
27299 (__strcasecmp): Convert to prototype-style function definition.
27300 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
27301 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27302 type.
27303 (__strncasecmp): Convert to prototype-style function definition.
27304 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
27305 * sunrpc/xdr.c (xdr_union): Likewise.
27306 * sunrpc/xdr_array.c (xdr_array): Likewise.
27307 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
27308 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
27309 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
27310 Likewise.
27311 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
27312 Likewise.
27313 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
27314 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27315 Likewise.
27316 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
27317 (LOCALE_PARAM_PROTO): Likewise.
27318 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
27319 argument type.
27320 (ut_argument_spec): Remove macro.
27321 (ut_argument_spec_iso): Rename to ut_argument_spec.
27322 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
27323 prototype-style function definition.
27324 (memcpy_uppcase): Likewise.
27325 (__strftime_internal): Likewise.
27326 (my_strftime): Likewise.
27327 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
27328 (LOCALE_PARAM_DECL): Likewise.
27329 [_LIBC] (LOCALE_PARAM): Include argument type.
27330 (__strptime_internal): Convert to prototype-style function
27331 definition.
27332 (strptime): Likewise.
27333 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27334 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27335 type.
27336 (__wcscasecmp): Convert to prototype-style function definition.
27337 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
27338 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27339 type.
27340 (__wcsncasecmp): Convert to prototype-style function definition.
27341
27342 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
27343 function definition.
27344 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27345 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27346 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
27347 * elf/dl-minimal.c (_itoa): Likewise.
27348 * hurd/hurdmalloc.c (malloc): Likewise.
27349 (free): Likewise.
27350 (realloc): Likewise.
27351 * inet/inet6_option.c (inet6_option_space): Likewise.
27352 (inet6_option_init): Likewise.
27353 (inet6_option_append): Likewise.
27354 (inet6_option_alloc): Likewise.
27355 (inet6_option_next): Likewise.
27356 (inet6_option_find): Likewise.
27357 * io/ftw.c (FTW_NAME): Likewise.
27358 (NFTW_NAME): Likewise.
27359 (NFTW_NEW_NAME): Likewise.
27360 (NFTW_OLD_NAME): Likewise.
27361 * libio/iofwide.c (_IO_fwide): Likewise.
27362 * libio/strops.c (_IO_str_init_static_internal): Likewise.
27363 (_IO_str_init_static): Likewise.
27364 (_IO_str_init_readonly): Likewise.
27365 (_IO_str_overflow): Likewise.
27366 (_IO_str_underflow): Likewise.
27367 (_IO_str_count): Likewise.
27368 (_IO_str_seekoff): Likewise.
27369 (_IO_str_pbackfail): Likewise.
27370 (_IO_str_finish): Likewise.
27371 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
27372 (_IO_wstr_overflow): Likewise.
27373 (_IO_wstr_underflow): Likewise.
27374 (_IO_wstr_count): Likewise.
27375 (_IO_wstr_seekoff): Likewise.
27376 (_IO_wstr_pbackfail): Likewise.
27377 (_IO_wstr_finish): Likewise.
27378 * locale/programs/localedef.c (normalize_codeset): Likewise.
27379 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27380 (add_locales_to_archive): Likewise.
27381 (delete_locales_from_archive): Likewise.
27382 * malloc/malloc.c (__libc_mallinfo): Likewise.
27383 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
27384 * misc/tsearch.c (__tfind): Likewise.
27385 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
27386 * nptl/pthread_attr_getdetachstate.c
27387 (__pthread_attr_getdetachstate): Likewise.
27388 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
27389 Likewise.
27390 * nptl/pthread_attr_getinheritsched.c
27391 (__pthread_attr_getinheritsched): Likewise.
27392 * nptl/pthread_attr_getschedparam.c
27393 (__pthread_attr_getschedparam): Likewise.
27394 * nptl/pthread_attr_getschedpolicy.c
27395 (__pthread_attr_getschedpolicy): Likewise.
27396 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
27397 Likewise.
27398 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
27399 Likewise.
27400 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
27401 Likewise.
27402 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
27403 Likewise.
27404 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
27405 (__pthread_attr_init_2_0): Likewise.
27406 * nptl/pthread_attr_setdetachstate.c
27407 (__pthread_attr_setdetachstate): Likewise.
27408 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
27409 Likewise.
27410 * nptl/pthread_attr_setinheritsched.c
27411 (__pthread_attr_setinheritsched): Likewise.
27412 * nptl/pthread_attr_setschedparam.c
27413 (__pthread_attr_setschedparam): Likewise.
27414 * nptl/pthread_attr_setschedpolicy.c
27415 (__pthread_attr_setschedpolicy): Likewise.
27416 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
27417 Likewise.
27418 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
27419 Likewise.
27420 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
27421 Likewise.
27422 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
27423 Likewise.
27424 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
27425 Likewise.
27426 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
27427 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
27428 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
27429 use internal_function.
27430 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
27431 prototype-style function definition.
27432 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
27433 (__pthread_mutex_cond_lock_adjust): Likewise. Use
27434 internal_function.
27435 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
27436 Convert to prototype-style function definition.
27437 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27438 Likewise.
27439 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
27440 Likewise.
27441 (__pthread_mutex_unlock): Likewise.
27442 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
27443 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
27444 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
27445 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
27446 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
27447 * nss/makedb.c (process_input): Likewise.
27448 * posix/fnmatch.c (__strchrnul): Likewise.
27449 (__wcschrnul): Likewise.
27450 (fnmatch): Likewise.
27451 * posix/fnmatch_loop.c (FCT): Likewise.
27452 * posix/glob.c (globfree): Likewise.
27453 (__glob_pattern_type): Likewise.
27454 (__glob_pattern_p): Likewise.
27455 * posix/regcomp.c (re_compile_pattern): Likewise.
27456 (re_set_syntax): Likewise.
27457 (re_compile_fastmap): Likewise.
27458 (regcomp): Likewise.
27459 (regerror): Likewise.
27460 (regfree): Likewise.
27461 * posix/regexec.c (regexec): Likewise.
27462 (re_match): Likewise.
27463 (re_search): Likewise.
27464 (re_match_2): Likewise.
27465 (re_search_2): Likewise.
27466 (re_search_stub): Likewise. Use internal_function
27467 (re_copy_regs): Likewise.
27468 (re_set_registers): Convert to prototype-style function
27469 definition.
27470 (prune_impossible_nodes): Likewise. Use internal_function.
27471 * resolv/inet_net_pton.c (inet_net_pton): Convert to
27472 prototype-style function definition.
27473 (inet_net_pton_ipv4): Likewise.
27474 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27475 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
27476 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
27477 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
27478 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27479 Make variadic.
27480 * time/strptime_l.c (localtime_r): Convert to prototype-style
27481 function definition.
27482 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27483 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27484 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27485 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27486
27487 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
27488 definition.
27489 (_ufc_doit_r): Likewise.
27490 * crypt/crypt_util.c (_ufc_copymem): Likewise.
27491 (_ufc_output_conversion_r): Likewise.
27492 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
27493 * inet/rcmd.c (rcmd_af): Likewise.
27494 (rcmd): Likewise.
27495 (ruserok_af): Likewise.
27496 (ruserok): Likewise.
27497 (ruserok2_sa): Likewise.
27498 (ruserok_sa): Likewise.
27499 (iruserok_af): Likewise.
27500 (iruserok): Likewise.
27501 (__ivaliduser): Likewise.
27502 (__validuser2_sa): Likewise.
27503 * inet/rexec.c (rexec_af): Likewise.
27504 (rexec): Likewise.
27505 * inet/ruserpass.c (ruserpass): Likewise.
27506 * locale/programs/xmalloc.c (xcalloc): Likewise.
27507 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
27508 * math/w_drem.c (__drem): Likewise.
27509 * math/w_dremf.c (__dremf): Likewise.
27510 * math/w_dreml.c (__dreml): Likewise.
27511 * misc/daemon.c (daemon): Likewise.
27512 * resolv/res_debug.c (p_fqnname): Likewise.
27513 * stdlib/div.c (div): Likewise.
27514 * string/memcmp.c (memcmp_bytes): Likewise.
27515 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
27516 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
27517
27518 * crypt/cert.c (main): Convert to prototype-style function
27519 definition.
27520 * io/pipe.c (__pipe): Likewise.
27521 * io/pipe2.c (__pipe2): Likewise.
27522 * misc/futimesat.c (futimesat): Likewise.
27523 * misc/utimes.c (__utimes): Likewise.
27524 * posix/execve.c (__execve): Likewise.
27525 * posix/execvp.c (execvp): Likewise.
27526 * posix/execvpe.c (__execvpe): Likewise.
27527 * posix/fexecve.c (fexecve): Likewise.
27528 * socket/socketpair.c (socketpair): Likewise.
27529 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27530 * stdlib/erand48.c (erand48): Likewise.
27531 * stdlib/erand48_r.c (__erand48_r): Likewise.
27532 * stdlib/jrand48.c (jrand48): Likewise.
27533 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
27534 * stdlib/lcong48.c (lcong48): Likewise.
27535 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
27536 * stdlib/nrand48.c (nrand48): Likewise.
27537 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
27538 * stdlib/seed48.c (seed48): Likewise.
27539 * stdlib/seed48_r.c (__seed48_r): Likewise.
27540 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
27541 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
27542 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
27543
27544 2015-10-19 Joseph Myers <joseph@codesourcery.com>
27545
27546 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
27547 * configure: Regenerated.
27548 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
27549 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
27550 unconditional.
27551 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27552 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27553 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27554 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
27555 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
27556 unconditional.
27557 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27558
27559 * posix/Makefile (CFLAGS-regex.c): Remove variable.
27560 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
27561
27562 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
27563 function definition.
27564 * crypt/crypt_util.c (__encrypt_r): Likewise.
27565 * libio/genops.c (_IO_no_init): Likewise.
27566 * libio/iofopncook.c (_IO_fopencookie): Likewise.
27567 (_IO_old_fopencookie): Likewise.
27568 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27569 * libio/iogetline.c (_IO_getline): Likewise.
27570 (_IO_getline_info): Likewise.
27571 * libio/iogetwline.c (_IO_getwline): Likewise.
27572 (_IO_getwline_info): Likewise.
27573 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
27574 * libio/vswprintf.c (_IO_vswprintf): Likewise.
27575 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
27576 (find_entry): Likewise.
27577 (iterate_table): Likewise.
27578 (lookup): Likewise.
27579 * login/forkpty.c (forkpty): Likewise.
27580 * misc/hsearch_r.c (__hsearch_r): Likewise.
27581 * misc/select.c (__select): Likewise.
27582 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
27583 Likewise.
27584 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
27585 Likewise.
27586 * nptl/old_pthread_cond_timedwait.c
27587 (__pthread_cond_timedwait_2_0): Likewise.
27588 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
27589 * nptl/pthread_barrierattr_getpshared.c
27590 (pthread_barrierattr_getpshared): Likewise.
27591 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
27592 Likewise.
27593 * nptl/pthread_mutex_setprioceiling.c
27594 (pthread_mutex_setprioceiling): Likewise.
27595 * nptl/pthread_mutexattr_getprioceiling.c
27596 (pthread_mutexattr_getprioceiling): Likewise.
27597 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
27598 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27599 Likewise.
27600 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27601 Likewise.
27602 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
27603 Likewise.
27604 * socket/recvfrom.c (__recvfrom): Likewise.
27605 * socket/sendto.c (__sendto): Likewise.
27606 * socket/setsockopt.c (__setsockopt): Likewise.
27607 * stdio-common/_itoa.c (_itoa): Likewise.
27608 * stdio-common/_itowa.c (_itowa): Likewise.
27609 * stdio-common/reg-printf.c (__register_printf_specifier):
27610 Likewise.
27611 (__register_printf_function): Likewise.
27612 * stdio-common/tempname.c (__path_search): Likewise.
27613 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
27614 * stdlib/mul_1.c (mpn_mul_1): Likewise.
27615 * stdlib/random_r.c (__initstate_r): Likewise.
27616 * stdlib/setenv.c (__add_to_environ): Likewise.
27617 * stdlib/submul_1.c (mpn_submul_1): Likewise.
27618 * streams/getpmsg.c (getpmsg): Likewise.
27619 * streams/putmsg.c (putmsg): Likewise.
27620 * streams/putpmsg.c (putpmsg): Likewise.
27621 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
27622 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
27623 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
27624 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
27625 * sunrpc/pm_getport.c (pmap_getport): Likewise.
27626 * sunrpc/svc_udp.c (cache_get): Likewise.
27627 * sunrpc/xdr_array.c (xdr_vector): Likewise.
27628 * sysdeps/mach/hurd/getcwd.c
27629 (__canonicalize_directory_name_internal): Likewise.
27630 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
27631 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
27632 * sysdeps/mach/hurd/select.c (__select): Likewise.
27633 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
27634 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
27635 * sysdeps/sparc/nptl/pthread_barrier_init.c
27636 (__pthread_barrier_init): Likewise.
27637 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
27638 (__pthread_cond_timedwait): Likewise.
27639 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
27640 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
27641 Likewise.
27642 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
27643 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
27644 Likewise.
27645 * sysvipc/semtimedop.c (semtimedop): Likewise.
27646 * time/setitimer.c (__setitimer): Likewise.
27647 * time/strftime_l.c (emacs_strftime): Likewise.
27648
27649 2015-10-19 Mike Frysinger <vapier@gentoo.org>
27650
27651 * config.make.in (have-ssp): Delete.
27652 (stack-protector): New variable.
27653 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
27654 cache test for -fstack-protector-strong. Export stack_protector to
27655 the best ssp flag.
27656 * configure: Regenerated.
27657 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
27658 * nscd/Makefile (CFLAGS-nscd): Likewise.
27659 * resolv/Makefile (CFLAGS-libresolv): Likewise.
27660
27661 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
27662
27663 [BZ #19122]
27664 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
27665 attribute_hidden.
27666
27667 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27668
27669 [BZ #18743]
27670 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
27671 code to...
27672 (ELIDE_LOCK): ...here.
27673 (__get_new_count): New function with part of the code from
27674 __elide_lock that updates the value of adapt_count after a
27675 transaction abort.
27676 (__elided_trylock): Moved this code to...
27677 (ELIDE_TRYLOCK): ...here.
27678
27679 2015-10-19 Mike Frysinger <vapier@gentoo.org>
27680
27681 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
27682 * configure: Regenerate.
27683 * INSTALL: Regenerate.
27684 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
27685 and tweak grammar.
27686
27687 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
27688
27689 * login/programs/pt_chown.c: Include signal.h
27690 (main): Clear any signal mask from the parent process.
27691
27692 2015-10-19 Joseph Myers <joseph@codesourcery.com>
27693
27694 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
27695 * configure: Regenerated.
27696 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
27697 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
27698 $(gnu89-inline-CFLAGS).
27699
27700 * configure.ac (libc_cv_asm_weak_directive): Remove configure
27701 test.
27702 (libc_cv_asm_weakext_directive): Likewise.
27703 * configure: Regenerated.
27704 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
27705 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
27706 * include/libc-symbols.h
27707 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
27708 #error.
27709 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
27710 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
27711
27712 * sysdeps/arm/backtrace.c (__backtrace): Convert to
27713 prototype-style function definition.
27714 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
27715 * sysdeps/i386/ffs.c (__ffs): Likewise.
27716 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
27717 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
27718 Likewise.
27719 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
27720 Likewise.
27721 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27722 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
27723 Likewise.
27724 * sysdeps/m68k/ffs.c (__ffs): Likewise.
27725 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
27726 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
27727 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
27728 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
27729 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
27730 * sysdeps/mach/hurd/access.c (__access): Likewise.
27731 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
27732 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
27733 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
27734 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
27735 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
27736 (cthread_getspecific): Likewise.
27737 (cthread_setspecific): Likewise.
27738 (__libc_getspecific): Likewise.
27739 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
27740 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
27741 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
27742 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
27743 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
27744 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
27745 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
27746 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
27747 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
27748 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
27749 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
27750 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
27751 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
27752 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
27753 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
27754 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
27755 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
27756 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
27757 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
27758 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
27759 * sysdeps/mach/hurd/link.c (__link): Likewise.
27760 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
27761 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
27762 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
27763 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
27764 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
27765 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
27766 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
27767 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
27768 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
27769 * sysdeps/mach/hurd/rename.c (rename): Likewise.
27770 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
27771 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27772 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
27773 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
27774 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
27775 * sysdeps/mach/hurd/send.c (__send): Likewise.
27776 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
27777 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
27778 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
27779 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
27780 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
27781 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
27782 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
27783 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
27784 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
27785 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
27786 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
27787 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
27788 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
27789 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
27790 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
27791 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
27792 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
27793 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
27794 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
27795 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
27796 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
27797 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
27798 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
27799 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
27800 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
27801 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
27802 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
27803 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
27804 * sysdeps/posix/alarm.c (alarm): Likewise.
27805 * sysdeps/posix/cuserid.c (cuserid): Likewise.
27806 * sysdeps/posix/dirfd.c (dirfd): Likewise.
27807 * sysdeps/posix/dup.c (__dup): Likewise.
27808 * sysdeps/posix/dup2.c (__dup2): Likewise.
27809 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
27810 (main): Likewise.
27811 * sysdeps/posix/flock.c (__flock): Likewise.
27812 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
27813 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
27814 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
27815 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
27816 * sysdeps/posix/isatty.c (__isatty): Likewise.
27817 * sysdeps/posix/killpg.c (killpg): Likewise.
27818 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27819 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
27820 * sysdeps/posix/raise.c (raise): Likewise.
27821 * sysdeps/posix/remove.c (remove): Likewise.
27822 * sysdeps/posix/rename.c (rename): Likewise.
27823 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
27824 * sysdeps/posix/seekdir.c (seekdir): Likewise.
27825 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
27826 * sysdeps/posix/sigignore.c (sigignore): Likewise.
27827 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
27828 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
27829 * sysdeps/posix/sigset.c (sigset): Likewise.
27830 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
27831 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
27832 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
27833 * sysdeps/posix/time.c (time): Likewise.
27834 * sysdeps/posix/ttyname.c (getttyname): Likewise.
27835 (ttyname): Likewise.
27836 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
27837 * sysdeps/posix/utime.c (utime): Likewise.
27838 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
27839 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
27840 Likewise.
27841 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
27842 (pthread_spin_trylock): Likewise.
27843 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
27844 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
27845 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
27846 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
27847 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
27848 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
27849 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
27850 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
27851 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
27852 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
27853 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
27854 * sysdeps/s390/ffs.c (__ffs): Likewise.
27855 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
27856 Likewise.
27857 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
27858 Likewise.
27859 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
27860 Likewise.
27861 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
27862 (pthread_barrier_destroy): Likewise.
27863 * sysdeps/sparc/nptl/pthread_barrier_wait.c
27864 (__pthread_barrier_wait): Likewise.
27865 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
27866 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
27867 (__pthread_barrier_wait): Likewise.
27868 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
27869 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
27870 (memcmp_not_common_alignment): Likewise.
27871 (MEMCMP): Likewise.
27872 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
27873 (_wordcopy_fwd_dest_aligned): Likewise.
27874 (_wordcopy_bwd_aligned): Likewise.
27875 (_wordcopy_bwd_dest_aligned): Likewise.
27876 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
27877 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
27878 * sysdeps/unix/bsd/stty.c (stty): Likewise.
27879 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
27880 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
27881 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
27882 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
27883 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
27884 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
27885 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
27886 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
27887 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
27888 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
27889 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
27890 * sysdeps/unix/stime.c (stime): Likewise.
27891 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
27892 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
27893 Likewise. Use internal_function.
27894 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
27895 Convert to prototype-style function definition.
27896 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27897 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27898 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
27899 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27900 Likewise. Use internal_function.
27901 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
27902 prototype-style function definition
27903 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27904 Likewise.
27905 (__getlogin_r): Likewise.
27906 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
27907 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
27908 (__pthread_cond_broadcast): Likewise.
27909 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
27910 (__pthread_cond_destroy): Likewise.
27911 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
27912 (__pthread_cond_init): Likewise.
27913 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
27914 (__pthread_cond_signal): Likewise.
27915 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
27916 (__pthread_cond_wait): Likewise.
27917 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
27918 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
27919 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
27920 Likewise.
27921 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
27922 Likewise.
27923 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
27924 Likewise.
27925 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
27926 Likewise.
27927 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
27928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
27929 (__ftruncate64): Likewise.
27930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
27931 (truncate64): Likewise.
27932 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
27933 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
27934 (pthread_getcpuclockid): Likewise.
27935 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
27936 Likewise.
27937 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
27938 Likewise.
27939 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
27940 Likewise.
27941 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
27942 Likewise.
27943 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
27944 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
27945 (__libc_sigaction): Likewise.
27946 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
27947 Likewise.
27948 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
27949 (__sigprocmask): Likewise.
27950 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
27951 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
27952 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
27953 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
27954 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27955 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
27956 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27957 Likewise.
27958 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
27959 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
27960 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27961 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
27962 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
27963 Likewise.
27964 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
27965 (__sigprocmask): Likewise.
27966 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
27967 (cfgetispeed): Likewise.
27968 (cfsetospeed): Likewise.
27969 (cfsetispeed): Likewise.
27970 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
27971 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
27972 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27973 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
27974 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
27975 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
27976 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
27977 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
27978 Likewise.
27979 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
27980 Likewise.
27981 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
27982 Likewise.
27983 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
27984 Likewise.
27985 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
27986
27987 2015-10-17 Florian Weimer <fweimer@redhat.com>
27988
27989 sunrpc: Rewrite with explicit TLS access using __thread.
27990 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
27991 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
27992 directly.
27993 (__rpc_thread_variables): Access thread_rpc_vars directly.
27994 Eliminate redundant assignment of the tvp variable.
27995
27996 2015-10-17 Florian Weimer <fweimer@redhat.com>
27997
27998 malloc: Rewrite with explicit TLS access using __thread.
27999 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
28000 (tsd_setspecific, tsd_getspecific): Remove.
28001 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
28002 (tsd_setspecific, tsd_getspecific): Likewise.
28003 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
28004 (tsd_setspecific, tsd_getspecific): Likewise.
28005 * malloc/arena.c (thread_arena): New TLS variable.
28006 (arena_key): Remove variable.
28007 (arena_get): Use thread_arena.
28008 (arena_lookup): Remove macro.
28009 (malloc_atfork, free_atfork, ptmalloc_lock_all)
28010 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
28011 (_int_new_arena, get_free_list, reused_arena)
28012 (arena_thread_freeres): Use thread_arena.
28013 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
28014 tsd_getspecific, tsd_setspecific from safety annotations.
28015 (Allocating Cleared Space): Remove arena_lookup from safety
28016 annotations.
28017
28018 2015-10-17 Florian Weimer <fweimer@redhat.com>
28019
28020 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
28021 struct scratch_buffer instead of extend_alloca.
28022
28023 2015-10-17 Florian Weimer <fweimer@redhat.com>
28024
28025 * sysdeps/unix/sysv/linux/kernel-features.h
28026 (__ASSUME_SOCK_CLOEXEC): Remove.
28027 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
28028 (__have_paccept): Remove unused macro.
28029 * include/unistd.h (__have_sock_cloexec): Remove declaration.
28030 * misc/syslog.c (openlog_internal): Remove fallback code for
28031 !__ASSUME_SOCK_CLOEXEC.
28032 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
28033 missing SOCK_CLOEXEC.
28034 * nscd/connections.c (have_sock_cloexec): Remove definition.
28035 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28036 * nscd/nscd_helper.c (open_socket): Remove fallback code for
28037 !__ASSUME_SOCK_CLOEXEC.
28038 * resolv/res_send.c (__have_o_nonblock): Remove definition.
28039 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28040 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
28041 definition.
28042 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
28043 code for !__ASSUME_SOCK_CLOEXEC.
28044
28045 2015-10-17 Florian Weimer <fweimer@redhat.com>
28046
28047 [BZ #18982]
28048 * manual/stdio.texi (Variable Arguments Output): Add portability
28049 note, explaining that vfprintf clobbers the va_list pointer.
28050
28051 2015-10-16 Joseph Myers <joseph@codesourcery.com>
28052
28053 * math/libm-test.inc (fabs_test_data): Add more tests.
28054 (fdim_test_data): Likewise.
28055 (fma_test_data): Likewise.
28056 (fmax_test_data): Likewise.
28057 (fmin_test_data): Likewise.
28058 (fmod_test_data): Likewise.
28059
28060 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
28061
28062 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
28063 data.
28064
28065 2015-10-16 Joseph Myers <joseph@codesourcery.com>
28066
28067 * math/libm-test.inc (ceil_test_data): Add more tests and more
28068 expectations for "inexact".
28069 (floor_test_data): Add more tests.
28070 (round_test_data): Likewise.
28071 (trunc_test_data): Likewise.
28072
28073 * crypt/cert.c (good_bye): Convert to prototype-style function
28074 definition.
28075 (get8): Likewise.
28076 (put8): Likewise.
28077 * crypt/crypt-entry.c (crypt): Likewise.
28078 (__fcrypt): Likewise.
28079 * crypt/crypt_util.c (_ufc_prbits): Likewise.
28080 (_ufc_set_bits): Likewise.
28081 (_ufc_clearmem): Likewise.
28082 (__init_des_r): Likewise.
28083 (shuffle_sb): Likewise.
28084 (shuffle_sb): Likewise.
28085 (_ufc_setup_salt_r): Likewise.
28086 (_ufc_mk_keytab_r): Likewise.
28087 (_ufc_dofinalperm_r): Likewise.
28088 (encrypt): Likewise.
28089 (__setkey_r): Likewise.
28090 (setkey): Likewise.
28091 * crypt/md5.c (md5_init_ctx): Likewise.
28092 (md5_read_ctx): Likewise.
28093 (md5_finish_ctx): Likewise.
28094 (md5_stream): Likewise.
28095 (md5_buffer): Likewise.
28096 (md5_process_bytes): Likewise.
28097 * crypt/sha256.c (__sha256_init_ctx): Likewise.
28098 (__sha256_finish_ctx): Likewise.
28099 (__sha256_process_bytes): Likewise.
28100 * crypt/sha512.c (__sha512_init_ctx): Likewise.
28101 (__sha512_finish_ctx): Likewise.
28102 (__sha512_process_bytes): Likewise.
28103 * ctype/isctype.c (__isctype): Likewise.
28104 * debug/backtrace.c (__backtrace): Likewise.
28105 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
28106 * debug/fgets_chk.c (__fgets_chk): Likewise.
28107 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
28108 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
28109 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28110 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28111 * debug/memset_chk.c (__memset_chk): Likewise.
28112 * debug/strcat_chk.c (__strcat_chk): Likewise.
28113 * debug/strncat_chk.c (__strncat_chk): Likewise.
28114 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
28115 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
28116 * dirent/dirfd.c (dirfd): Likewise.
28117 * dirent/getdents.c (__getdirentries): Likewise.
28118 * dirent/getdents64.c (getdirentries64): Likewise.
28119 * dirent/rewinddir.c (__rewinddir): Likewise.
28120 * dirent/seekdir.c (seekdir): Likewise.
28121 * dirent/telldir.c (telldir): Likewise.
28122 * elf/sln.c (makesymlinks): Likewise.
28123 (makesymlink): Likewise.
28124 * gmon/gmon.c (__moncontrol): Likewise.
28125 (__monstartup): Likewise.
28126 (write_hist): Likewise.
28127 (write_call_graph): Likewise.
28128 (write_bb_counts): Likewise.
28129 * grp/setgroups.c (setgroups): Likewise.
28130 * inet/inet_lnaof.c (inet_lnaof): Likewise.
28131 * inet/inet_net.c (inet_network): Likewise.
28132 * inet/inet_netof.c (inet_netof): Likewise.
28133 * inet/rcmd.c (rresvport_af): Likewise.
28134 (rresvport): Likewise.
28135 * io/access.c (__access): Likewise.
28136 * io/chdir.c (__chdir): Likewise.
28137 * io/chmod.c (__chmod): Likewise.
28138 * io/chown.c (__chown): Likewise.
28139 * io/close.c (__close): Likewise.
28140 * io/creat.c (creat): Likewise.
28141 * io/creat64.c (creat64): Likewise.
28142 * io/dup.c (__dup): Likewise.
28143 * io/dup2.c (__dup2): Likewise.
28144 * io/dup3.c (__dup3): Likewise.
28145 * io/euidaccess.c (__euidaccess): Likewise.
28146 * io/faccessat.c (faccessat): Likewise.
28147 * io/fchmod.c (__fchmod): Likewise.
28148 * io/fchmodat.c (fchmodat): Likewise.
28149 * io/fchown.c (__fchown): Likewise.
28150 * io/fchownat.c (fchownat): Likewise.
28151 * io/fcntl.c (__fcntl): Likewise.
28152 * io/flock.c (__flock): Likewise.
28153 * io/fts.c (fts_load): Likewise.
28154 (fts_close): Likewise.
28155 (fts_read): Likewise.
28156 (fts_set): Likewise.
28157 (fts_children): Likewise.
28158 (fts_build): Likewise.
28159 (fts_stat): Likewise.
28160 (fts_sort): Likewise.
28161 (fts_alloc): Likewise.
28162 (fts_lfree): Likewise.
28163 (fts_palloc): Likewise.
28164 (fts_padjust): Likewise.
28165 (fts_maxarglen): Likewise.
28166 (fts_safe_changedir): Likewise.
28167 * io/getwd.c (getwd): Likewise.
28168 * io/isatty.c (__isatty): Likewise.
28169 * io/lchown.c (__lchown): Likewise.
28170 * io/link.c (__link): Likewise.
28171 * io/linkat.c (linkat): Likewise.
28172 * io/lseek.c (__libc_lseek): Likewise.
28173 * io/mkdir.c (__mkdir): Likewise.
28174 * io/mkdirat.c (mkdirat): Likewise.
28175 * io/mkfifo.c (mkfifo): Likewise.
28176 * io/mkfifoat.c (mkfifoat): Likewise.
28177 * io/open.c (__libc_open): Likewise.
28178 * io/open64.c (__libc_open64): Likewise.
28179 * io/readlink.c (__readlink): Likewise.
28180 * io/readlinkat.c (readlinkat): Likewise.
28181 * io/rmdir.c (__rmdir): Likewise.
28182 * io/symlink.c (__symlink): Likewise.
28183 * io/symlinkat.c (symlinkat): Likewise.
28184 * io/ttyname.c (ttyname): Likewise.
28185 * io/ttyname_r.c (__ttyname_r): Likewise.
28186 * io/umask.c (__umask): Likewise.
28187 * io/unlink.c (__unlink): Likewise.
28188 * io/unlinkat.c (unlinkat): Likewise.
28189 * io/utime.c (utime): Likewise.
28190 * libio/clearerr.c (clearerr): Likewise.
28191 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
28192 * libio/feof.c (_IO_feof): Likewise.
28193 * libio/feof_u.c (feof_unlocked): Likewise.
28194 * libio/ferror.c (_IO_ferror): Likewise.
28195 * libio/ferror_u.c (ferror_unlocked): Likewise.
28196 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
28197 * libio/fileno.c (__fileno): Likewise.
28198 * libio/fputc.c (fputc): Likewise.
28199 * libio/fputc_u.c (fputc_unlocked): Likewise.
28200 * libio/fputwc.c (fputwc): Likewise.
28201 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
28202 * libio/freopen.c (freopen): Likewise.
28203 * libio/freopen64.c (freopen64): Likewise.
28204 * libio/fseek.c (fseek): Likewise.
28205 * libio/fseeko.c (fseeko): Likewise.
28206 * libio/fseeko64.c (fseeko64): Likewise.
28207 * libio/ftello.c (__ftello): Likewise.
28208 * libio/ftello64.c (ftello64): Likewise.
28209 * libio/fwide.c (fwide): Likewise.
28210 * libio/genops.c (_IO_un_link): Likewise.
28211 (_IO_link_in): Likewise.
28212 (_IO_least_marker): Likewise.
28213 (_IO_switch_to_main_get_area): Likewise.
28214 (_IO_switch_to_backup_area): Likewise.
28215 (_IO_switch_to_get_mode): Likewise.
28216 (_IO_free_backup_area): Likewise.
28217 (_IO_switch_to_put_mode): Likewise.
28218 (__overflow): Likewise.
28219 (__underflow): Likewise.
28220 (__uflow): Likewise.
28221 (_IO_setb): Likewise.
28222 (_IO_doallocbuf): Likewise.
28223 (_IO_default_underflow): Likewise.
28224 (_IO_default_uflow): Likewise.
28225 (_IO_default_xsputn): Likewise.
28226 (_IO_sgetn): Likewise.
28227 (_IO_default_xsgetn): Likewise.
28228 (_IO_sync): Likewise.
28229 (_IO_default_setbuf): Likewise.
28230 (_IO_default_seekpos): Likewise.
28231 (_IO_default_doallocate): Likewise.
28232 (_IO_init): Likewise.
28233 (_IO_old_init): Likewise.
28234 (_IO_default_sync): Likewise.
28235 (_IO_default_finish): Likewise.
28236 (_IO_default_seekoff): Likewise.
28237 (_IO_sputbackc): Likewise.
28238 (_IO_sungetc): Likewise.
28239 (_IO_set_column): Likewise.
28240 (_IO_set_column): Likewise.
28241 (_IO_adjust_column): Likewise.
28242 (_IO_get_column): Likewise.
28243 (_IO_init_marker): Likewise.
28244 (_IO_remove_marker): Likewise.
28245 (_IO_marker_difference): Likewise.
28246 (_IO_marker_delta): Likewise.
28247 (_IO_seekmark): Likewise.
28248 (_IO_unsave_markers): Likewise.
28249 (_IO_nobackup_pbackfail): Likewise.
28250 (_IO_default_pbackfail): Likewise.
28251 (_IO_default_seek): Likewise.
28252 (_IO_default_stat): Likewise.
28253 (_IO_default_read): Likewise.
28254 (_IO_default_write): Likewise.
28255 (_IO_default_showmanyc): Likewise.
28256 (_IO_default_imbue): Likewise.
28257 (_IO_iter_next): Likewise.
28258 (_IO_iter_file): Likewise.
28259 * libio/getc.c (_IO_getc): Likewise.
28260 * libio/getwc.c (_IO_getwc): Likewise.
28261 * libio/iofclose.c (_IO_new_fclose): Likewise.
28262 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28263 * libio/iofflush.c (_IO_fflush): Likewise.
28264 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
28265 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
28266 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
28267 * libio/iofgets.c (_IO_fgets): Likewise.
28268 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
28269 * libio/iofgetws.c (fgetws): Likewise.
28270 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
28271 * libio/iofopen64.c (_IO_fopen64): Likewise.
28272 * libio/iofopncook.c (_IO_cookie_read): Likewise.
28273 (_IO_cookie_write): Likewise.
28274 (_IO_cookie_seek): Likewise.
28275 (_IO_cookie_close): Likewise.
28276 (_IO_cookie_seekoff): Likewise.
28277 (_IO_old_cookie_seek): Likewise.
28278 * libio/iofputs.c (_IO_fputs): Likewise.
28279 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
28280 * libio/iofputws.c (fputws): Likewise.
28281 * libio/iofputws_u.c (fputws_unlocked): Likewise.
28282 * libio/iofread.c (_IO_fread): Likewise.
28283 * libio/iofread_u.c (__fread_unlocked): Likewise.
28284 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
28285 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28286 * libio/ioftell.c (_IO_ftell): Likewise.
28287 * libio/iofwrite.c (_IO_fwrite): Likewise.
28288 * libio/iogetdelim.c (_IO_getdelim): Likewise.
28289 * libio/iogets.c (_IO_gets): Likewise.
28290 * libio/iopadn.c (_IO_padn): Likewise.
28291 * libio/iopopen.c (_IO_new_proc_open): Likewise.
28292 (_IO_new_popen): Likewise.
28293 (_IO_new_proc_close): Likewise.
28294 * libio/ioputs.c (_IO_puts): Likewise.
28295 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
28296 (_IO_seekoff): Likewise.
28297 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
28298 (_IO_seekpos): Likewise.
28299 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
28300 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
28301 * libio/ioungetc.c (_IO_ungetc): Likewise.
28302 * libio/ioungetwc.c (ungetwc): Likewise.
28303 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28304 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
28305 * libio/iowpadn.c (_IO_wpadn): Likewise.
28306 * libio/libc_fatal.c (__libc_fatal): Likewise.
28307 * libio/memstream.c (__open_memstream): Likewise.
28308 (_IO_mem_sync): Likewise.
28309 (_IO_mem_finish): Likewise.
28310 * libio/oldfileops.c (_IO_old_file_init): Likewise.
28311 (_IO_old_file_close_it): Likewise.
28312 (_IO_old_file_finish): Likewise.
28313 (_IO_old_file_fopen): Likewise.
28314 (_IO_old_file_attach): Likewise.
28315 (_IO_old_file_setbuf): Likewise.
28316 (_IO_old_do_write): Likewise.
28317 (old_do_write): Likewise.
28318 (_IO_old_file_underflow): Likewise.
28319 (_IO_old_file_overflow): Likewise.
28320 (_IO_old_file_sync): Likewise.
28321 (_IO_old_file_seekoff): Likewise.
28322 (_IO_old_file_write): Likewise.
28323 (_IO_old_file_xsputn): Likewise.
28324 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
28325 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28326 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
28327 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
28328 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
28329 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
28330 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
28331 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
28332 (_IO_old_popen): Likewise.
28333 (_IO_old_proc_close): Likewise.
28334 * libio/oldpclose.c (__old_pclose): Likewise.
28335 * libio/pclose.c (__new_pclose): Likewise.
28336 * libio/peekc.c (_IO_peekc_locked): Likewise.
28337 * libio/putc.c (_IO_putc): Likewise.
28338 * libio/putc_u.c (putc_unlocked): Likewise.
28339 * libio/putchar.c (putchar): Likewise.
28340 * libio/putchar_u.c (putchar_unlocked): Likewise.
28341 * libio/putwc.c (putwc): Likewise.
28342 * libio/putwc_u.c (putwc_unlocked): Likewise.
28343 * libio/putwchar.c (putwchar): Likewise.
28344 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
28345 * libio/rewind.c (rewind): Likewise.
28346 * libio/setbuf.c (setbuf): Likewise.
28347 * libio/setlinebuf.c (setlinebuf): Likewise.
28348 * libio/vasprintf.c (_IO_vasprintf): Likewise.
28349 * libio/vscanf.c (_IO_vscanf): Likewise.
28350 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
28351 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
28352 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
28353 * libio/wgenops.c (_IO_least_wmarker): Likewise.
28354 (_IO_switch_to_main_wget_area): Likewise.
28355 (_IO_switch_to_wbackup_area): Likewise.
28356 (_IO_wsetb): Likewise.
28357 (_IO_wdefault_pbackfail): Likewise.
28358 (_IO_wdefault_finish): Likewise.
28359 (_IO_wdefault_uflow): Likewise.
28360 (__woverflow): Likewise.
28361 (__wuflow): Likewise.
28362 (__wunderflow): Likewise.
28363 (_IO_wdefault_xsputn): Likewise.
28364 (_IO_wdefault_xsgetn): Likewise.
28365 (_IO_wdoallocbuf): Likewise.
28366 (_IO_wdefault_doallocate): Likewise.
28367 (_IO_switch_to_wget_mode): Likewise.
28368 (_IO_free_wbackup_area): Likewise.
28369 (_IO_switch_to_wput_mode): Likewise.
28370 (_IO_sputbackwc): Likewise.
28371 (_IO_sungetwc): Likewise.
28372 (_IO_adjust_wcolumn): Likewise.
28373 (_IO_init_wmarker): Likewise.
28374 (_IO_wmarker_delta): Likewise.
28375 (_IO_seekwmark): Likewise.
28376 (_IO_unsave_wmarkers): Likewise.
28377 * libio/wmemstream.c (open_wmemstream): Likewise.
28378 (_IO_wmem_sync): Likewise.
28379 (_IO_wmem_finish): Likewise.
28380 * locale/nl_langinfo.c (nl_langinfo): Likewise.
28381 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
28382 * locale/programs/simple-hash.c (init_hash): Likewise.
28383 (delete_hash): Likewise.
28384 (insert_entry): Likewise.
28385 (set_entry): Likewise.
28386 (next_prime): Likewise.
28387 (is_prime): Likewise.
28388 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
28389 (xmalloc): Likewise.
28390 (xrealloc): Likewise.
28391 * locale/programs/xstrdup.c (xstrdup): Likewise.
28392 * localedata/collate-test.c (xstrcoll): Likewise.
28393 * localedata/xfrm-test.c (xstrcmp): Likewise.
28394 * login/getlogin_r.c (__getlogin_r): Likewise.
28395 * login/getpt.c (__posix_openpt): Likewise.
28396 * login/login_tty.c (login_tty): Likewise.
28397 * login/setlogin.c (setlogin): Likewise.
28398 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
28399 (mach_msg_destroy_port): Likewise.
28400 (mach_msg_destroy_memory): Likewise.
28401 * malloc/mcheck.c (flood): Likewise.
28402 * misc/acct.c (acct): Likewise.
28403 * misc/brk.c (__brk): Likewise.
28404 * misc/chflags.c (chflags): Likewise.
28405 * misc/chroot.c (chroot): Likewise.
28406 * misc/fchflags.c (fchflags): Likewise.
28407 * misc/fstab.c (getfsspec): Likewise.
28408 (getfsfile): Likewise.
28409 * misc/fsync.c (fsync): Likewise.
28410 * misc/ftruncate.c (__ftruncate): Likewise.
28411 * misc/ftruncate64.c (__ftruncate64): Likewise.
28412 * misc/getdomain.c (getdomainname): Likewise.
28413 (getdomainname): Likewise.
28414 * misc/gethostname.c (__gethostname): Likewise.
28415 * misc/getpass.c (getpass): Likewise.
28416 * misc/getttyent.c (skip): Likewise.
28417 (value): Likewise.
28418 * misc/gtty.c (gtty): Likewise.
28419 * misc/hsearch.c (hsearch): Likewise.
28420 (hcreate): Likewise.
28421 * misc/hsearch_r.c (__hcreate_r): Likewise.
28422 (__hdestroy_r): Likewise.
28423 * misc/ioctl.c (__ioctl): Likewise.
28424 * misc/mkdtemp.c (mkdtemp): Likewise.
28425 * misc/mkostemp.c (mkostemp): Likewise.
28426 * misc/mkostemp64.c (mkostemp64): Likewise.
28427 * misc/mkostemps.c (mkostemps): Likewise.
28428 * misc/mkostemps64.c (mkostemps64): Likewise.
28429 * misc/mkstemp.c (mkstemp): Likewise.
28430 * misc/mkstemp64.c (mkstemp64): Likewise.
28431 * misc/mkstemps.c (mkstemps): Likewise.
28432 * misc/mkstemps64.c (mkstemps64): Likewise.
28433 * misc/mktemp.c (__mktemp): Likewise.
28434 * misc/preadv.c (preadv): Likewise.
28435 * misc/preadv64.c (preadv64): Likewise.
28436 * misc/pwritev.c (pwritev): Likewise.
28437 * misc/pwritev64.c (pwritev64): Likewise.
28438 * misc/readv.c (__readv): Likewise.
28439 * misc/revoke.c (revoke): Likewise.
28440 * misc/setdomain.c (setdomainname): Likewise.
28441 * misc/setegid.c (setegid): Likewise.
28442 * misc/seteuid.c (seteuid): Likewise.
28443 * misc/sethostid.c (sethostid): Likewise.
28444 * misc/sethostname.c (sethostname): Likewise.
28445 * misc/setregid.c (__setregid): Likewise.
28446 * misc/setreuid.c (__setreuid): Likewise.
28447 * misc/sstk.c (sstk): Likewise.
28448 * misc/stty.c (stty): Likewise.
28449 * misc/syscall.c (syscall): Likewise.
28450 * misc/syslog.c (setlogmask): Likewise.
28451 * misc/truncate.c (__truncate): Likewise.
28452 * misc/truncate64.c (truncate64): Likewise.
28453 * misc/ualarm.c (ualarm): Likewise.
28454 * misc/usleep.c (usleep): Likewise.
28455 * misc/ustat.c (ustat): Likewise.
28456 * misc/writev.c (__writev): Likewise.
28457 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
28458 * nptl/old_pthread_cond_broadcast.c
28459 (__pthread_cond_broadcast_2_0): Likewise.
28460 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
28461 Likewise.
28462 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
28463 Likewise.
28464 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
28465 Likewise.
28466 * nptl/pt-raise.c (raise): Likewise.
28467 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
28468 Likewise.
28469 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
28470 * nptl/pthread_barrierattr_destroy.c
28471 (pthread_barrierattr_destroy): Likewise.
28472 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28473 Likewise.
28474 * nptl/pthread_barrierattr_setpshared.c
28475 (pthread_barrierattr_setpshared): Likewise.
28476 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28477 Likewise.
28478 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
28479 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28480 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
28481 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
28482 Likewise.
28483 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
28484 Likewise.
28485 * nptl/pthread_condattr_getpshared.c
28486 (pthread_condattr_getpshared): Likewise.
28487 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
28488 Likewise.
28489 * nptl/pthread_condattr_setpshared.c
28490 (pthread_condattr_setpshared): Likewise.
28491 * nptl/pthread_detach.c (pthread_detach): Likewise.
28492 * nptl/pthread_equal.c (__pthread_equal): Likewise.
28493 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
28494 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
28495 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
28496 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
28497 Likewise.
28498 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
28499 Likewise.
28500 * nptl/pthread_mutex_getprioceiling.c
28501 (pthread_mutex_getprioceiling): Likewise.
28502 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
28503 Likewise.
28504 * nptl/pthread_mutexattr_getprotocol.c
28505 (pthread_mutexattr_getprotocol): Likewise.
28506 * nptl/pthread_mutexattr_getpshared.c
28507 (pthread_mutexattr_getpshared): Likewise.
28508 * nptl/pthread_mutexattr_getrobust.c
28509 (pthread_mutexattr_getrobust): Likewise.
28510 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
28511 Likewise.
28512 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
28513 Likewise.
28514 * nptl/pthread_mutexattr_setprioceiling.c
28515 (pthread_mutexattr_setprioceiling): Likewise.
28516 * nptl/pthread_mutexattr_setprotocol.c
28517 (pthread_mutexattr_setprotocol): Likewise.
28518 * nptl/pthread_mutexattr_setpshared.c
28519 (pthread_mutexattr_setpshared): Likewise.
28520 * nptl/pthread_mutexattr_setrobust.c
28521 (pthread_mutexattr_setrobust): Likewise.
28522 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
28523 Likewise.
28524 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
28525 Likewise.
28526 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
28527 Likewise.
28528 * nptl/pthread_rwlockattr_getkind_np.c
28529 (pthread_rwlockattr_getkind_np): Likewise.
28530 * nptl/pthread_rwlockattr_getpshared.c
28531 (pthread_rwlockattr_getpshared): Likewise.
28532 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
28533 Likewise.
28534 * nptl/pthread_rwlockattr_setkind_np.c
28535 (pthread_rwlockattr_setkind_np): Likewise.
28536 * nptl/pthread_rwlockattr_setpshared.c
28537 (pthread_rwlockattr_setpshared): Likewise.
28538 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
28539 Likewise.
28540 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
28541 Likewise.
28542 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
28543 Likewise.
28544 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
28545 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
28546 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
28547 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
28548 * nptl/sem_close.c (sem_close): Likewise.
28549 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
28550 * nptl/sem_init.c (__old_sem_init): Likewise.
28551 * nptl/sigaction.c (__sigaction): Likewise.
28552 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
28553 * posix/_exit.c (_exit): Likewise.
28554 * posix/alarm.c (alarm): Likewise.
28555 * posix/confstr.c (confstr): Likewise.
28556 * posix/fpathconf.c (__fpathconf): Likewise.
28557 * posix/getgroups.c (__getgroups): Likewise.
28558 * posix/getpgid.c (__getpgid): Likewise.
28559 * posix/group_member.c (__group_member): Likewise.
28560 * posix/pathconf.c (__pathconf): Likewise.
28561 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
28562 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
28563 * posix/setgid.c (__setgid): Likewise.
28564 * posix/setpgid.c (__setpgid): Likewise.
28565 * posix/setuid.c (__setuid): Likewise.
28566 * posix/sleep.c (__sleep): Likewise.
28567 * posix/sysconf.c (__sysconf): Likewise.
28568 * posix/times.c (__times): Likewise.
28569 * posix/uname.c (__uname): Likewise.
28570 * posix/waitid.c (__waitid): Likewise.
28571 * pwd/getpw.c (__getpw): Likewise.
28572 * resolv/base64.c (b64_pton): Likewise.
28573 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28574 * resolv/gethnamaddr.c (Dprintf): Likewise.
28575 (gethostbyname): Likewise.
28576 (gethostbyname2): Likewise.
28577 (gethostbyaddr): Likewise.
28578 (_sethtent): Likewise.
28579 (_gethtbyname): Likewise.
28580 (_gethtbyname2): Likewise.
28581 (_gethtbyaddr): Likewise.
28582 (map_v4v6_address): Likewise.
28583 (map_v4v6_hostent): Likewise.
28584 (addrsort): Likewise.
28585 (ht_sethostent): Likewise.
28586 (ht_gethostbyname): Likewise.
28587 (ht_gethostbyaddr): Likewise.
28588 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
28589 (inet_net_ntop_ipv4): Likewise.
28590 * resolv/inet_neta.c (inet_neta): Likewise.
28591 * resolv/inet_ntop.c (inet_ntop): Likewise.
28592 (inet_ntop4): Likewise.
28593 (inet_ntop6): Likewise.
28594 * resolv/inet_pton.c (__inet_pton): Likewise.
28595 (inet_pton4): Likewise.
28596 (inet_pton6): Likewise.
28597 * resolv/res_debug.c (loc_aton): Likewise.
28598 (loc_ntoa): Likewise.
28599 * resource/getpriority.c (__getpriority): Likewise.
28600 * resource/getrusage.c (__getrusage): Likewise.
28601 * resource/nice.c (nice): Likewise.
28602 * resource/setpriority.c (__setpriority): Likewise.
28603 * resource/setrlimit64.c (setrlimit64): Likewise.
28604 * resource/vlimit.c (vlimit): Likewise.
28605 * resource/vtimes.c (vtimes): Likewise.
28606 * rt/aio_error.c (aio_error): Likewise.
28607 * rt/aio_return.c (aio_return): Likewise.
28608 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
28609 * signal/kill.c (__kill): Likewise.
28610 * signal/killpg.c (killpg): Likewise.
28611 * signal/raise.c (raise): Likewise.
28612 * signal/sigaction.c (__sigaction): Likewise.
28613 * signal/sigaddset.c (sigaddset): Likewise.
28614 * signal/sigaltstack.c (sigaltstack): Likewise.
28615 * signal/sigandset.c (sigandset): Likewise.
28616 * signal/sigblock.c (__sigblock): Likewise.
28617 * signal/sigdelset.c (sigdelset): Likewise.
28618 * signal/sigempty.c (sigemptyset): Likewise.
28619 * signal/sigfillset.c (sigfillset): Likewise.
28620 * signal/sighold.c (sighold): Likewise.
28621 * signal/sigignore.c (sigignore): Likewise.
28622 * signal/sigintr.c (siginterrupt): Likewise.
28623 * signal/sigisempty.c (sigisemptyset): Likewise.
28624 * signal/sigismem.c (sigismember): Likewise.
28625 * signal/signal.c (signal): Likewise.
28626 * signal/sigorset.c (sigorset): Likewise.
28627 * signal/sigpause.c (__sigpause): Likewise.
28628 * signal/sigpending.c (sigpending): Likewise.
28629 * signal/sigprocmask.c (__sigprocmask): Likewise.
28630 * signal/sigrelse.c (sigrelse): Likewise.
28631 * signal/sigreturn.c (__sigreturn): Likewise.
28632 * signal/sigset.c (sigset): Likewise.
28633 * signal/sigsetmask.c (__sigsetmask): Likewise.
28634 * signal/sigstack.c (sigstack): Likewise.
28635 * signal/sigsuspend.c (__sigsuspend): Likewise.
28636 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
28637 * signal/sysv_signal.c (__sysv_signal): Likewise.
28638 * socket/accept.c (accept): Likewise.
28639 * socket/accept4.c (__libc_accept4): Likewise.
28640 * socket/bind.c (__bind): Likewise.
28641 * socket/connect.c (__connect): Likewise.
28642 * socket/getpeername.c (getpeername): Likewise.
28643 * socket/getsockname.c (__getsockname): Likewise.
28644 * socket/getsockopt.c (getsockopt): Likewise.
28645 * socket/listen.c (__listen): Likewise.
28646 * socket/recv.c (__recv): Likewise.
28647 * socket/recvmsg.c (__recvmsg): Likewise.
28648 * socket/send.c (__send): Likewise.
28649 * socket/sendmsg.c (__sendmsg): Likewise.
28650 * socket/shutdown.c (shutdown): Likewise.
28651 * socket/sockatmark.c (sockatmark): Likewise.
28652 * socket/socket.c (__socket): Likewise.
28653 * stdio-common/ctermid.c (ctermid): Likewise.
28654 * stdio-common/cuserid.c (cuserid): Likewise.
28655 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
28656 * stdio-common/remove.c (remove): Likewise.
28657 * stdio-common/rename.c (rename): Likewise.
28658 * stdio-common/renameat.c (renameat): Likewise.
28659 * stdio-common/tempname.c (__gen_tempname): Likewise.
28660 * stdio-common/xbug.c (InitBuffer): Likewise.
28661 (AppendToBuffer): Likewise.
28662 (ReadFile): Likewise.
28663 * stdlib/a64l.c (a64l): Likewise.
28664 * stdlib/drand48_r.c (drand48_r): Likewise.
28665 * stdlib/getcontext.c (getcontext): Likewise.
28666 * stdlib/getenv.c (getenv): Likewise.
28667 * stdlib/l64a.c (l64a): Likewise.
28668 * stdlib/llabs.c (llabs): Likewise.
28669 * stdlib/lldiv.c (lldiv): Likewise.
28670 * stdlib/lrand48_r.c (lrand48_r): Likewise.
28671 * stdlib/mrand48_r.c (mrand48_r): Likewise.
28672 * stdlib/putenv.c (putenv): Likewise.
28673 * stdlib/random.c (__srandom): Likewise.
28674 (__initstate): Likewise.
28675 (__setstate): Likewise.
28676 * stdlib/random_r.c (__srandom_r): Likewise.
28677 (__setstate_r): Likewise.
28678 (__random_r): Likewise.
28679 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
28680 * stdlib/setcontext.c (setcontext): Likewise.
28681 * stdlib/setenv.c (setenv): Likewise.
28682 (unsetenv): Likewise.
28683 * stdlib/srand48.c (srand48): Likewise.
28684 * stdlib/srand48_r.c (__srand48_r): Likewise.
28685 * stdlib/swapcontext.c (swapcontext): Likewise.
28686 * stdlib/system.c (__libc_system): Likewise.
28687 * stdlib/tst-strtod.c (expand): Likewise.
28688 * stdlib/tst-strtol.c (expand): Likewise.
28689 * stdlib/tst-strtoll.c (expand): Likewise.
28690 * streams/fattach.c (fattach): Likewise.
28691 * streams/fdetach.c (fdetach): Likewise.
28692 * streams/getmsg.c (getmsg): Likewise.
28693 * streams/isastream.c (isastream): Likewise.
28694 * string/ffs.c (__ffs): Likewise.
28695 * string/ffsll.c (ffsll): Likewise.
28696 * string/memcmp.c (memcmp_common_alignment): Likewise.
28697 (memcmp_not_common_alignment): Likewise.
28698 (MEMCMP): Likewise.
28699 * string/memcpy.c (memcpy): Likewise.
28700 * string/memmove.c (MEMMOVE): Likewise.
28701 * string/memset.c (memset): Likewise.
28702 * string/rawmemchr.c (RAWMEMCHR): Likewise.
28703 * string/strchrnul.c (STRCHRNUL): Likewise.
28704 * string/strerror.c (strerror): Likewise.
28705 * string/strndup.c (__strndup): Likewise.
28706 * string/strverscmp.c (__strverscmp): Likewise.
28707 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
28708 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
28709 (clnttcp_freeres): Likewise.
28710 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
28711 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
28712 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
28713 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
28714 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
28715 (xdr_callhdr): Likewise.
28716 * sunrpc/rpcinfo.c (udpping): Likewise.
28717 (tcpping): Likewise.
28718 (pstatus): Likewise.
28719 (pmapdump): Likewise.
28720 (brdcst): Likewise.
28721 (deletereg): Likewise.
28722 (getprognum): Likewise.
28723 (getvers): Likewise.
28724 (get_inet_address): Likewise.
28725 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
28726 * sunrpc/svc_udp.c (svcudp_create): Likewise.
28727 (svcudp_stat): Likewise.
28728 (svcudp_recv): Likewise.
28729 (svcudp_reply): Likewise.
28730 (svcudp_getargs): Likewise.
28731 (svcudp_freeargs): Likewise.
28732 (svcudp_destroy): Likewise.
28733 * sunrpc/xdr.c (xdr_bytes): Likewise.
28734 (xdr_netobj): Likewise.
28735 (xdr_string): Likewise.
28736 (xdr_wrapstring): Likewise.
28737 * sunrpc/xdr_float.c (xdr_float): Likewise.
28738 (xdr_double): Likewise.
28739 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
28740 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
28741 * sysvipc/ftok.c (ftok): Likewise.
28742 * sysvipc/msgctl.c (msgctl): Likewise.
28743 * sysvipc/msgget.c (msgget): Likewise.
28744 * sysvipc/msgrcv.c (msgrcv): Likewise.
28745 * sysvipc/msgsnd.c (msgsnd): Likewise.
28746 * sysvipc/semget.c (semget): Likewise.
28747 * sysvipc/semop.c (semop): Likewise.
28748 * sysvipc/shmat.c (shmat): Likewise.
28749 * sysvipc/shmctl.c (shmctl): Likewise.
28750 * sysvipc/shmdt.c (shmdt): Likewise.
28751 * sysvipc/shmget.c (shmget): Likewise.
28752 * termios/cfmakeraw.c (cfmakeraw): Likewise.
28753 * termios/speed.c (cfgetospeed): Likewise.
28754 (cfgetispeed): Likewise.
28755 (cfsetospeed): Likewise.
28756 (cfsetispeed): Likewise.
28757 * termios/tcflow.c (tcflow): Likewise.
28758 * termios/tcflush.c (tcflush): Likewise.
28759 * termios/tcgetattr.c (__tcgetattr): Likewise.
28760 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
28761 * termios/tcgetsid.c (tcgetsid): Likewise.
28762 * termios/tcsendbrk.c (tcsendbreak): Likewise.
28763 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
28764 * time/adjtime.c (__adjtime): Likewise.
28765 * time/dysize.c (dysize): Likewise.
28766 * time/ftime.c (ftime): Likewise.
28767 * time/getitimer.c (__getitimer): Likewise.
28768 * time/gettimeofday.c (__gettimeofday): Likewise.
28769 * time/gmtime.c (__gmtime_r): Likewise.
28770 (gmtime): Likewise.
28771 * time/localtime.c (__localtime_r): Likewise.
28772 (localtime): Likewise.
28773 * time/offtime.c (__offtime): Likewise.
28774 * time/settimeofday.c (__settimeofday): Likewise.
28775 * time/stime.c (stime): Likewise.
28776 * time/strftime_l.c (tm_diff): Likewise.
28777 (iso_week_days): Likewise.
28778 * time/strptime.c (strptime): Likewise.
28779 * time/time.c (time): Likewise.
28780 * time/timespec_get.c (timespec_get): Likewise.
28781 * time/tzset.c (tzset_internal): Likewise.
28782 (compute_change): Likewise.
28783 (__tz_compute): Likewise.
28784 * wcsmbs/btowc.c (__btowc): Likewise.
28785 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
28786 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
28787 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
28788 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
28789 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
28790 * wcsmbs/wcscat.c (__wcscat): Likewise.
28791 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
28792 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
28793 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
28794 * wcsmbs/wcscspn.c (wcscspn): Likewise.
28795 * wcsmbs/wcsdup.c (wcsdup): Likewise.
28796 * wcsmbs/wcslen.c (__wcslen): Likewise.
28797 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
28798 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
28799 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
28800 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
28801 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
28802 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
28803 * wcsmbs/wcsspn.c (wcsspn): Likewise.
28804 * wcsmbs/wcsstr.c (wcsstr): Likewise.
28805 * wcsmbs/wcstok.c (wcstok): Likewise.
28806 * wcsmbs/wctob.c (wctob): Likewise.
28807 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
28808 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28809 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
28810 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
28811 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
28812 * wcsmbs/wmemset.c (__wmemset): Likewise.
28813 * wctype/wcfuncs.c (__towlower): Likewise.
28814 (__towupper): Likewise.
28815
28816 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
28817 (lll_unlock_elision): Add adapt_count parameter.
28818
28819 2015-10-15 Joseph Myers <joseph@codesourcery.com>
28820
28821 * sysdeps/nptl/configure.ac: Do not give errors based on the
28822 results of top-level configure tests.
28823 * sysdeps/nptl/configure: Regenerated.
28824
28825 * configure.ac (libc_cv_Bgroup): Remove configure test.
28826 * configure: Regenerated.
28827 * config.make.in (have-Bgroup): Remove variable.
28828
28829 * configure.ac (sizeof_long_double): Remove configure test.
28830 * configure: Regenerated.
28831 * config.make.in (sizeof-long-double): Remove variable.
28832
28833 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
28834 * configure: Regenerated.
28835 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
28836 variable.
28837 (exceptions): Likewise.
28838 * sysdeps/arm/configure: Regenerated.
28839 * config.make.in (exceptions): Remove variable.
28840 * Makeconfig (uses-callbacks): Use -fexceptions instead of
28841 $(exceptions).
28842 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
28843 (CFLAGS-vdprintf_chk.c): Likewise.
28844 (CFLAGS-printf_chk.c): Likewise.
28845 (CFLAGS-fprintf_chk.c): Likewise.
28846 (CFLAGS-vprintf_chk.c): Likewise.
28847 (CFLAGS-vfprintf_chk.c): Likewise.
28848 (CFLAGS-gets_chk.c): Likewise.
28849 (CFLAGS-fgets_chk.c): Likewise.
28850 (CFLAGS-fgets_u_chk.c): Likewise.
28851 (CFLAGS-fread_chk.c): Likewise.
28852 (CFLAGS-fread_u_chk.c): Likewise.
28853 (CFLAGS-wprintf_chk.c): Likewise.
28854 (CFLAGS-fwprintf_chk.c): Likewise.
28855 (CFLAGS-vwprintf_chk.c): Likewise.
28856 (CFLAGS-vfwprintf_chk.c): Likewise.
28857 (CFLAGS-fgetws_chk.c): Likewise.
28858 (CFLAGS-fgetws_u_chk.c): Likewise.
28859 * libio/Makefile (CFLAGS-fileops.c): Likewise.
28860 (CFLAGS-fputc.c): Likewise.
28861 (CFLAGS-fputwc.c): Likewise.
28862 (CFLAGS-freopen64.c): Likewise.
28863 (CFLAGS-freopen.c): Likewise.
28864 (CFLAGS-fseek.c): Likewise.
28865 (CFLAGS-fseeko64.c): Likewise.
28866 (CFLAGS-fseeko.c): Likewise.
28867 (CFLAGS-ftello64.c): Likewise.
28868 (CFLAGS-ftello.c): Likewise.
28869 (CFLAGS-fwide.c): Likewise.
28870 (CFLAGS-genops.c): Likewise.
28871 (CFLAGS-getc.c): Likewise.
28872 (CFLAGS-getchar.c): Likewise.
28873 (CFLAGS-getwc.c): Likewise.
28874 (CFLAGS-getwchar.c): Likewise.
28875 (CFLAGS-iofclose.c): Likewise.
28876 (CFLAGS-iofflush.c): Likewise.
28877 (CFLAGS-iofgetpos64.c): Likewise.
28878 (CFLAGS-iofgetpos.c): Likewise.
28879 (CFLAGS-iofgets.c): Likewise.
28880 (CFLAGS-iofgetws.c): Likewise.
28881 (CFLAGS-iofputs.c): Likewise.
28882 (CFLAGS-iofputws.c): Likewise.
28883 (CFLAGS-iofread.c): Likewise.
28884 (CFLAGS-iofsetpos64.c): Likewise.
28885 (CFLAGS-iofsetpos.c): Likewise.
28886 (CFLAGS-ioftell.c): Likewise.
28887 (CFLAGS-iofwrite.c): Likewise.
28888 (CFLAGS-iogetdelim.c): Likewise.
28889 (CFLAGS-iogetline.c): Likewise.
28890 (CFLAGS-iogets.c): Likewise.
28891 (CFLAGS-iogetwline.c): Likewise.
28892 (CFLAGS-ioputs.c): Likewise.
28893 (CFLAGS-ioseekoff.c): Likewise.
28894 (CFLAGS-ioseekpos.c): Likewise.
28895 (CFLAGS-iosetbuffer.c): Likewise.
28896 (CFLAGS-iosetvbuf.c): Likewise.
28897 (CFLAGS-ioungetc.c): Likewise.
28898 (CFLAGS-ioungetwc.c): Likewise.
28899 (CFLAGS-oldfileops.c): Likewise.
28900 (CFLAGS-oldiofclose.c): Likewise.
28901 (CFLAGS-oldiofgetpos64.c): Likewise.
28902 (CFLAGS-oldiofgetpos.c): Likewise.
28903 (CFLAGS-oldiofsetpos64.c): Likewise.
28904 (CFLAGS-oldiofsetpos.c): Likewise.
28905 (CFLAGS-peekc.c): Likewise.
28906 (CFLAGS-putc.c): Likewise.
28907 (CFLAGS-putchar.c): Likewise.
28908 (CFLAGS-putwc.c): Likewise.
28909 (CFLAGS-putwchar.c): Likewise.
28910 (CFLAGS-rewind.c): Likewise.
28911 (CFLAGS-wfileops.c): Likewise.
28912 (CFLAGS-wgenops.c): Likewise.
28913 (CFLAGS-oldiofopen.c): Likewise.
28914 (CFLAGS-iofopen.c): Likewise.
28915 (CFLAGS-iofopen64.c): Likewise.
28916 (CFLAGS-oldtmpfile.c): Likewise.
28917 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
28918 (CFLAGS-fprintf.c): Likewise.
28919 (CFLAGS-printf.c): Likewise.
28920 (CFLAGS-vfwprintf.c): Likewise.
28921 (CFLAGS-vfscanf.c): Likewise.
28922 (CFLAGS-vfwscanf.c): Likewise.
28923 (CFLAGS-fscanf.c): Likewise.
28924 (CFLAGS-scanf.c): Likewise.
28925 (CFLAGS-isoc99_vfscanf.c): Likewise.
28926 (CFLAGS-isoc99_vscanf.c): Likewise.
28927 (CFLAGS-isoc99_fscanf.c): Likewise.
28928 (CFLAGS-isoc99_scanf.c): Likewise.
28929 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
28930 (CFLAGS-isoc99_fwscanf.c): Likewise.
28931 (CFLAGS-isoc99_vwscanf.c): Likewise.
28932 (CFLAGS-isoc99_vfwscanf.c): Likewise.
28933
28934 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
28935 after mkstemp64.
28936 * login/tst-utmp.c (do_prepare): Likewise.
28937 * rt/tst-aio.c (do_prepare): Likewise.
28938 * rt/tst-aio64.c (do_prepare): Likewise.
28939
28940 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
28941
28942 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
28943 (__lll_lock_elision): Remove adapt_count decrement...
28944 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
28945 (__lll_trylock_elision): Likewise.
28946 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
28947 (__lll_unlock_elision): ... to here. And utilize
28948 new adapt_count parameter.
28949 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
28950 (__lll_unlock_elision): Update to include adapt_count
28951 parameter.
28952 (lll_unlock_elision): Pass pointer to adapt_count
28953 variable.
28954
28955 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
28956
28957 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
28958 Add elision adapt_count parameter to list of arguments.
28959 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
28960 (lll_unlock_elision): Update with new parameter list
28961 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
28962 (lll_unlock_elision): Likewise.
28963 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
28964 (lll_unlock_elision): Likewise.
28965
28966 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
28967
28968 [BZ #19122]
28969 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
28970 attribute_hidden.
28971
28972 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
28973 attribute_hidden.
28974 [IS_IN (rtld)] (__strdup): Likewise.
28975 [IS_IN (rtld)] (__strerror_r): Likewise.
28976 [IS_IN (rtld)] (__strsep_g): Likewise.
28977 [IS_IN (rtld)] (memchr): Likewise.
28978 [IS_IN (rtld)] (memcmp): Likewise.
28979 [IS_IN (rtld)] (memcpy): Likewise.
28980 [IS_IN (rtld)] (memmove): Likewise.
28981 [IS_IN (rtld)] (memset): Likewise.
28982 [IS_IN (rtld)] (rawmemchr): Likewise.
28983 [IS_IN (rtld)] (stpcpy): Likewise.
28984 [IS_IN (rtld)] (strchr): Likewise.
28985 [IS_IN (rtld)] (strcmp): Likewise.
28986 [IS_IN (rtld)] (strlen): Likewise.
28987 [IS_IN (rtld)] (strnlen): Likewise.
28988 [IS_IN (rtld)] (strsep): Likewise.
28989
28990 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
28991 attribute_hidden.
28992 [IS_IN (rtld)] (__strtoul_internal): Likewise.
28993
28994 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
28995 attribute_hidden.
28996 [IS_IN (rtld)] (__libc_sigaction): Likewise.
28997
28998 * include/setjmp.h (__longjmp): Add attribute_hidden.
28999 [IS_IN (rtld)] (__sigsetjmp): Likewise.
29000
29001 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
29002 Add attribute_hidden.
29003
29004 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
29005 [IS_IN (rtld)] (__open): Likewise.
29006 [IS_IN (rtld)] (__fcntl): Likewise.
29007
29008 * include/dirent.h (__opendirat): Add attribute_hidden.
29009 (__getdents): Likewise.
29010 (__getdents64): Likewise.
29011 (__alloc_dir): Likewise.
29012 [IS_IN (rtld)] (__closedir): Likewise.
29013 [IS_IN (rtld)] (__fdopendir): Likewise.
29014 [IS_IN (rtld)] (__readdir): Likewise.
29015 [IS_IN (rtld)] (__readdir64): Likewise.
29016 [IS_IN (rtld)] (__rewinddir): Likewise.
29017
29018 * include/dlfcn.h (_dl_catch_error): Moved to ...
29019 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
29020 attribute_hidden.
29021
29022 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
29023 (_itoa_word): Likewise.
29024
29025 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
29026 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29027 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29028 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
29029 (_dl_higher_prime_number): Likewise.
29030 (_dl_debug_printf_c): Likewise.
29031 (_dl_signal_cerror): Likewise.
29032 (_dl_receive_error): Likewise.
29033 (_dl_reloc_bad_type): Likewise.
29034 (_dl_resolve_conflicts): Likewise.
29035 (_dl_check_all_versions): Likewise.
29036 (_dl_check_map_versions): Likewise.
29037 (_dl_sort_fini): Likewise.
29038 (_dl_debug_initialize): Likewise.
29039 (_dl_init_paths): Likewise.
29040 (_dl_show_auxv): Likewise.
29041 (_dl_next_ld_env_entry): Likewise.
29042 (_dl_important_hwcaps): Likewise.
29043 (_dl_load_cache_lookup): Likewise.
29044 (_dl_update_slotinfo): Likewise.
29045 (_dl_show_scope): Likewise.
29046
29047 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
29048 attribute_hidden.
29049 (_wordcopy_fwd_dest_aligned): Likewise.
29050 (_wordcopy_bwd_aligned): Likewise.
29051 (_wordcopy_bwd_dest_aligned): Likewise.
29052
29053 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
29054 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29055 Likewise.
29056 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29057 Likewise.
29058 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29059
29060 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29061
29062 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
29063 GCC 5 requirement.
29064
29065 2015-10-15 Joseph Myers <joseph@codesourcery.com>
29066
29067 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
29068 test.
29069 * sysdeps/i386/configure: Regenerated.
29070 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
29071 code unconditional.
29072
29073 * configure.ac (libc_cv_asm_previous_directive): Remove configure
29074 test.
29075 (libc_cv_asm_popsection_directive): Likewise.
29076 * configure: Regenerated.
29077 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
29078 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
29079 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
29080 (__make_section_unallocated): Make definition unconditional.
29081 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
29082 Remove conditional definition.
29083 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
29084 (__make_section_unallocated): Likewise.
29085
29086 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
29087 * configure: Regenerated.
29088 * config.make.in (static-libgcc): Remove variable.
29089 * Makerules (build-shlib-helper): Use -static-libgcc instead of
29090 $(static-libgcc).
29091 (build-module-helper): Likewise.
29092
29093 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
29094 * configure: Regenerated.
29095
29096 2015-10-15 Florian Weimer <fweimer@redhat.com>
29097
29098 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
29099 (struct char_buffer): New type.
29100 (char_buffer_start, char_buffer_size, char_buffer_error)
29101 (char_buffer_rewind, char_buffer_add): New functions.
29102 (ADDW): Remove macro, replaced by the char_buffer_add function.
29103 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
29104 of extend_alloca. Make control flow more explicit.
29105
29106 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29107
29108 [BZ #19137]
29109 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
29110 Add -fomit-frame-pointer.
29111 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
29112
29113 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29114
29115 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
29116 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
29117 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
29118 only if !__GNUC_PREREQ (5,0).
29119 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
29120 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
29121 (INTERNAL_SYSCALL_NCS): Likewise.
29122 (LOADREGS_0): New macro for GCC 5.
29123 (ASMARGS_0): Likewise.
29124 (LOADREGS_1): Likewise.
29125 (ASMARGS_1): Likewise.
29126 (LOADREGS_2): Likewise.
29127 (ASMARGS_2): Likewise.
29128 (LOADREGS_3): Likewise.
29129 (ASMARGS_3): Likewise.
29130 (LOADREGS_4): Likewise.
29131 (ASMARGS_4): Likewise.
29132 (LOADREGS_5): Likewise.
29133 (ASMARGS_5): Likewise.
29134 (LOADREGS_6): Likewise.
29135 (ASMARGS_6): Likewise.
29136
29137 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29138
29139 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
29140 -fomit-frame-pointer.
29141 (CFLAGS-mmap64.c): Likewise.
29142 (CFLAGS-semtimedop.c): Likewise.
29143 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
29144 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
29145 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29146 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29147
29148 2015-10-15 Florian Weimer <fweimer@redhat.com>
29149
29150 [BZ #18928]
29151 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
29152 _dl_pointer_guard member.
29153 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
29154 initializer.
29155 (security_init): Always set up pointer guard.
29156 (process_envvars): Do not process LD_POINTER_GUARD.
29157
29158 2015-10-14 Joseph Myers <joseph@codesourcery.com>
29159
29160 [BZ #19134]
29161 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
29162 (.LC2): Likewise.
29163 (.LC3): Likewise.
29164 (__lround): Do not add 0.5 to integer or out-of-range arguments.
29165
29166 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
29167
29168 [BZ #19129]
29169 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
29170 r0 and r1.
29171
29172 2015-10-14 Namhyung Kim <namhyung@gmail.com>
29173
29174 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
29175
29176 2015-10-14 Carlos O'Donell <carlos@redhat.com>
29177
29178 * include/stap-probe.h: Fix macro definition formatting.
29179
29180 2015-10-14 Florian Weimer <fweimer@redhat.com>
29181
29182 [BZ #19074]
29183 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
29184 load and store num_ifs.
29185
29186 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29187
29188 [BZ #18822]
29189 * sysdeps/unix/sysv/linux/sched_getaffinity.c
29190 (__sched_getaffinity_new): Add libc_hidden_proto and
29191 libc_hidden_def.
29192
29193 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29194
29195 [BZ #19007]
29196 * scripts/localplt.awk: Also allow GOT references.
29197 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
29198 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
29199 with "+ REL R_386_GLOB_DAT".
29200 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
29201 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
29202
29203 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29204
29205 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
29206 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29207 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
29208 Likewise.
29209 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
29210 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
29211 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
29212 INTERNAL_SYSCALLINTERNAL_SYSCALL and
29213 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29214 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
29215 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29216 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
29217 Likewise.
29218 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29219
29220 2015-10-13 Joseph Myers <joseph@codesourcery.com>
29221
29222 [BZ #19125]
29223 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
29224 <math_private.h> and <stdint.h>.
29225 (__llround): Avoid conversions to and from long long int, and
29226 subtractions, where those might raise spurious exceptions.
29227 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
29228 <math_private.h> and <stdint.h>.
29229 (__llroundf): Avoid conversions to and from long long int, and
29230 subtractions, where those might raise spurious exceptions.
29231
29232 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29233
29234 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
29235 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29236 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
29237 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
29238 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
29239 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
29240 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
29241 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
29242 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
29243 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29244 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29245 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29246 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
29247 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29248 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29249 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
29250 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
29251 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
29252 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
29253 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
29254 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
29255 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
29256 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
29257 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
29258 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
29259 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
29260 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
29261 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
29262 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29263 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
29264 (__xstat64_conv): Likewise.
29265 (__xstat32_conv): Likewise.
29266
29267 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29268
29269 * sysdeps/unix/sysv/linux/sysdep.h: New file.
29270 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
29271 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
29272 <sysdeps/unix/sysv/linux/sysdep.h>.
29273 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
29274 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
29275 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
29276 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29277 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
29278 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
29279 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
29280 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
29281 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
29282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29284 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29285 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29286 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29287 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29288 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29289 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
29290 (sysdep-dl-routines): Add sysdep.
29291 [$(subdir) == nptl] (libpthread-routines): Likewise.
29292 [$(subdir) == rt] (librt-routines): Likewise.
29293 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
29294 PIC when branching to SYSCALL_ERROR_LABEL.
29295 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
29296 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
29297 <sysdeps/unix/sysv/linux/sysdep.h>.
29298 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
29299 (SYSCALL_ERROR_ERRNO): Removed.
29300 (SYSCALL_ERROR_HANDLER): Changed to empty.
29301 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
29302 (__syscall_error): New prototype.
29303 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
29304 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
29305
29306 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29307
29308 [BZ #19124]
29309 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
29310 (_dl_runtime_resolve_avx512): Make it a hidden alias of
29311 _dl_runtime_resolve_avx.
29312 (_dl_runtime_profile_avx512): Make it a hidden alias of
29313 _dl_runtime_profile_avx.
29314
29315 2015-10-13 Joseph Myers <joseph@codesourcery.com>
29316
29317 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
29318 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
29319 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
29320 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
29321
29322 [BZ #16422]
29323 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
29324 New configure test.
29325 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
29326 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
29327 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
29328 <math_private.h> and <stdint.h>.
29329 (__llrint): Avoid conversions to long long int where those might
29330 raise spurious exceptions.
29331 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
29332 <math_private.h> and <stdint.h>.
29333 (__llrintf): Avoid conversions to long long int where those might
29334 raise spurious exceptions.
29335
29336 2015-10-12 Andreas Schwab <schwab@suse.de>
29337
29338 [BZ #18969]
29339 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
29340 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
29341 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
29342 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
29343 $(gen-locales).
29344 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
29345 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
29346 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
29347 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
29348 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
29349 $(gen-locales).
29350 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
29351 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
29352 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
29353 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
29354 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
29355 ($(objpfx)tst-ftell-active-handler.out)
29356 ($(objpfx)tst-ftell-append.out)
29357 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
29358 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
29359 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
29360 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
29361 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
29362 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
29363 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
29364 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
29365 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
29366 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
29367 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
29368 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
29369 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
29370 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
29371 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
29372 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
29373 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
29374 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
29375 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
29376 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
29377 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
29378 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
29379 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
29380 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
29381 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
29382 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
29383 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
29384 $(gen-locales).
29385 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
29386 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
29387 $(gen-locales).
29388 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
29389 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
29390 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
29391 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
29392 $(gen-locales).
29393 * libio/tst_wprintf2.c (main): Use explicit locale.
29394 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
29395
29396 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29397
29398 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
29399 __msg_sig_post.
29400 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
29401
29402 2015-10-09 Joseph Myers <joseph@codesourcery.com>
29403
29404 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29405 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29406
29407 * sysdeps/arm/libm-test-ulps: Regenerated.
29408
29409 [BZ #15470]
29410 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
29411
29412 [BZ #16399]
29413 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
29414 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
29415 and <fix-fp-int-convert-overflow.h>.
29416 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29417 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29418 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
29419 and <fix-fp-int-convert-overflow.h>.
29420 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
29421 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29422 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
29423 <fix-fp-int-convert-overflow.h>.
29424 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29425 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29426 * sysdeps/ieee754/dbl-64/s_lround.c: Include
29427 <fix-fp-int-convert-overflow.h>.
29428 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
29429 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29430 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
29431 and <fix-fp-int-convert-overflow.h>.
29432 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29433 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29434 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
29435 <limits.h> and <fix-fp-int-convert-overflow.h>.
29436 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29437 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29438 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
29439 and <fix-fp-int-convert-overflow.h>.
29440 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29441 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29442 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
29443 and <fix-fp-int-convert-overflow.h>.
29444 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29445 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29446 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
29447
29448 2015-10-09 Carlos O'Donell <carlos@redhat.com>
29449
29450 [BZ #18589]
29451 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
29452 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
29453 $(gen-locales).
29454
29455 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29456 Phil Blundell <pb@pbcl.net>
29457
29458 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
29459 * nptl/tst-cancel26.c: New file.
29460 * nptl/tst-cancel27.c: Likewise.
29461
29462 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
29463
29464 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
29465 __ILP32__ isn't defined.
29466 (lrint): Likewise.
29467 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
29468 (lrintf): Likewise.
29469 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
29470 (lrintl): Likewise.
29471 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
29472 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
29473 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
29474
29475 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29476
29477 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
29478 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
29479
29480 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
29481 file.
29482 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
29483 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
29484
29485 2015-10-09 Joseph Myers <joseph@codesourcery.com>
29486
29487 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
29488 configure test.
29489 * sysdeps/i386/configure: Regenerated.
29490 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
29491 configure test.
29492 * sysdeps/x86_64/configure: Regenerated.
29493 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
29494 Make code unconditional.
29495
29496 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
29497 test.
29498 * sysdeps/i386/configure: Regenerated.
29499 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
29500 test.
29501 * sysdeps/x86_64/configure: Regenerated.
29502 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
29503 Make code unconditional.
29504 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
29505 Likewise.
29506 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
29507 Likewise.
29508 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29509 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
29510 code unconditional.
29511 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29512 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
29513 code unconditional.
29514 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29515 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
29516 code unconditional.
29517 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
29518 code unconditional.
29519 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29520 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
29521 code unconditional.
29522 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29523 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
29524 code unconditional.
29525 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29526 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
29527 code unconditional.
29528 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29529 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
29530 code unconditional.
29531 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29532 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
29533
29534 [BZ #19095]
29535 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
29536 mantissa to long int before shifting left.
29537
29538 2015-10-08 Joseph Myers <joseph@codesourcery.com>
29539
29540 [BZ #19094]
29541 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
29542 <limits.h>.
29543 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29544 when result overflows but exception would not result from cast.
29545 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
29546 <limits.h>.
29547 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29548 when result overflows but exception would not result from cast.
29549 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
29550 <limits.h>.
29551 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29552 when result overflows but exception would not result from cast.
29553 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
29554 <limits.h>.
29555 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29556 when result overflows but exception would not result from cast.
29557 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
29558 <limits.h>.
29559 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29560 when result overflows but exception would not result from cast.
29561 * math/libm-test.inc (lrint_test_data): Add more tests.
29562 (llrint_test_data): Likewise.
29563
29564 2015-10-08 Roland McGrath <roland@hack.frob.com>
29565
29566 [BZ #18872]
29567 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
29568 Move out from under [$(run-built-tests) = yes] conditional.
29569 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
29570 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
29571
29572 2015-10-08 Carlos O'Donell <carlos@redhat.com>
29573
29574 [BZ #18589]
29575 * string/Makefile (tests): Add bug-strcoll2.
29576 (LOCALES): Add cs_CZ.UTF-8.
29577 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
29578
29579 [BZ #18589]
29580 * string/bug-strcoll2.c: New file.
29581 * locale/categories.def: Revert commit
29582 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
29583 * locale/langinfo.h: Likewise.
29584 * locale/localeinfo.h: Likewise.
29585 * locale/C-collate.c: Likewise.
29586 * locale/programs/ld-collate.c (collate_output): Likewise.
29587 * string/strcoll_l.c (STRDIFF): Likewise.
29588 (STRCOLL): Likewise.
29589 * wcsmbs/wcscoll_l.c: Likewise.
29590
29591 2015-10-08 Joseph Myers <joseph@codesourcery.com>
29592
29593 * math/libm-test.inc (lround_test_data): Do not expect the absence
29594 of "inexact" for some tests with non-integer arguments.
29595 (llround_test_data): Likewise.
29596
29597 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
29598 test.
29599 (libc_cv_cc_sse2avx): Likewise.
29600 * sysdeps/i386/configure: Regenerated.
29601 * sysdeps/i386/i686/multiarch/Makefile
29602 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
29603 [$(subdir) = math].
29604 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
29605 code unconditional.
29606 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29607 Likewise.
29608 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
29609 Likewise.
29610 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29611 Likewise.
29612 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
29613 test.
29614 (libc_cv_cc_sse2avx): Likewise.
29615 * sysdeps/x86_64/configure: Regenerated.
29616 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
29617 unconditional.
29618 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
29619 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
29620 unconditional.
29621 (_dl_runtime_profile)
29622 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
29623 conditional code.
29624 * sysdeps/x86_64/fpu/multiarch/Makefile
29625 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
29626 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
29627 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29628 * sysdeps/x86_64/fpu/multiarch/e_exp.c
29629 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29630 * sysdeps/x86_64/fpu/multiarch/e_log.c
29631 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29632 * sysdeps/x86_64/fpu/multiarch/s_atan.c
29633 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29634 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29635 Likewise.
29636 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29637 Likewise.
29638 * sysdeps/x86_64/fpu/multiarch/s_sin.c
29639 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29640 * sysdeps/x86_64/fpu/multiarch/s_tan.c
29641 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29642 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
29643 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
29644 (HAVE_SSE2AVX_SUPPORT): Likewise.
29645
29646 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
29647
29648 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
29649 instead of #pragma optimize.
29650
29651 2015-10-07 Carlos O'Donell <carlos@redhat.com>
29652
29653 [BZ #17195]
29654 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
29655 as is similarly done in systrim and _int_free already.
29656
29657 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
29658
29659 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
29660
29661 2015-10-07 Joseph Myers <joseph@codesourcery.com>
29662
29663 [BZ #19088]
29664 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
29665 <limits.h>.
29666 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
29667 overflows but exception would not result from cast.
29668 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
29669 and <limits.h>.
29670 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
29671 overflows but exception would not result from cast.
29672 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
29673 <limits.h>.
29674 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
29675 overflows but exception would not result from cast.
29676 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
29677 <limits.h>.
29678 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
29679 overflows but exception would not result from cast.
29680 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
29681 <limits.h>.
29682 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
29683 overflows but exception would not result from cast.
29684 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
29685 <limits.h>.
29686 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
29687 overflows but exception would not result from cast.
29688 * math/libm-test.inc (lround_test_data): Add more tests.
29689 (llround_test_data): Likewise.
29690
29691 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
29692
29693 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
29694 (CFLAGS-ialloc.c): Ditto.
29695 (CFLAGS-scheck.c): Ditto.
29696
29697 2015-10-07 Carlos O'Donell <carlos@redhat.com>
29698
29699 [BZ #19086]
29700 * manual/filesys.texi (Storage Allocation): Fix argument order for
29701 posix_fallocate64.
29702
29703 2015-10-07 Joseph Myers <joseph@codesourcery.com>
29704
29705 [BZ #19085]
29706 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
29707 exponent below 48 inside case for non-overflowing exponent.
29708 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
29709
29710 2015-10-07 Florian Weimer <fweimer@redhat.com>
29711
29712 * iconvdata/cp737.h (from_idx): Add const.
29713 * iconvdata/cp775.h (from_idx): Likewise.
29714
29715 2015-10-07 Joseph Myers <joseph@codesourcery.com>
29716
29717 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
29718 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
29719 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
29720
29721 [BZ #19079]
29722 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
29723 file, conditioned on [!_LP64].
29724 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
29725 [!_LP64] (__lround): Do not define as function or alias.
29726 [!_LP64] (lround): Likewise.
29727 [!_LP64] (__lroundl): Likewise.
29728 [!_LP64] (lroundl): Likewise.
29729 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
29730 macro.
29731 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
29732 Likewise.
29733
29734 2015-10-06 Joseph Myers <joseph@codesourcery.com>
29735
29736 * math/libm-test.inc (lrint_test_data): Add more tests.
29737 (llrint_test_data): Likewise.
29738 (lround_test_data): Likewise.
29739 (llround_test_data): Likewise.
29740
29741 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
29742 (llrint_test_data): Add tests used for lrint.
29743
29744 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
29745 test.
29746 * sysdeps/i386/configure: Regenerated.
29747 * sysdeps/i386/i686/multiarch/Makefile
29748 [$(config-cflags-sse4) = yes]: Make code unconditional.
29749 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
29750 Likewise.
29751 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
29752 Likewise.
29753 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
29754 test.
29755 * sysdeps/x86_64/configure: Regenerated.
29756 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
29757 Make code unconditional.
29758 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
29759 Likewise.
29760 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
29761 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
29762
29763 * scripts/rpm2dynsym.sh: Remove file.
29764
29765 2015-10-06 Florian Weimer <fweimer@redhat.com>
29766
29767 * configure.ac (libc_cv_cxx_thread_local): Define.
29768 * configure: Regenerate.
29769 * config.make.in (have-cxx-thread_local): Define.
29770 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
29771 (LDLIBS-tst-thread_local1): Define.
29772 (tests): Add tst-thread_local1.
29773 [have-cxx-thread_local != yes] (tests-unsupported): Add
29774 tst-thread_local1.
29775 * nptl/tst-thread_local1.cc: New file.
29776
29777 2015-10-06 Joseph Myers <joseph@codesourcery.com>
29778
29779 [BZ #19078]
29780 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
29781 (u_thres): Likewise.
29782 (__expl): Determine whether to call __kernel_standard_l based on
29783 value of result, not argument.
29784
29785 * math/libm-test.inc (scalb_test_data): Add more expectations for
29786 the "inexact" exception.
29787
29788 [BZ #19077]
29789 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
29790 0.0L for argument 1.0L.
29791
29792 [BZ #19076]
29793 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
29794 constant 0.0L when computing infinite result.
29795
29796 2015-10-06 Florian Weimer <fweimer@redhat.com>
29797
29798 [BZ #10432]
29799 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
29800 malloc_usable_size.
29801
29802 2015-10-06 Florian Weimer <fweimer@redhat.com>
29803
29804 [BZ #19018]
29805 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
29806 Mangle function pointer before storing it.
29807 (__call_tls_dtors): Demangle function pointer before calling it.
29808
29809 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29810
29811 [BZ #19012]
29812 * iconv/gconv_db.c (gen_steps): Check for additional errors.
29813 Clean up on failure.
29814
29815 2015-10-05 Joseph Myers <joseph@codesourcery.com>
29816
29817 [BZ #19071]
29818 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
29819 long int variable to store possibly incremented high part of
29820 mantissa.
29821 * math/libm-test.inc (lround_test_data): Add tests used for
29822 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
29823 for tests requiring 64-bit long. Do not condition tests on
29824 [TEST_FLOAT] unnecessarily.
29825 (llround_test_data): Add tests used for lround. Add another
29826 expectation for the "inexact" exception. Do not condition tests
29827 on [TEST_FLOAT] unnecessarily.
29828
29829 [BZ #887]
29830 [BZ #19049]
29831 [BZ #19050]
29832 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
29833 * sysdeps/ieee754/dbl-64/e_log10.c: Include
29834 <fix-int-fp-convert-zero.h>.
29835 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29836 * sysdeps/ieee754/dbl-64/e_log2.c: Include
29837 <fix-int-fp-convert-zero.h>.
29838 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29839 * sysdeps/ieee754/dbl-64/s_erf.c: Include
29840 <fix-int-fp-convert-zero.h>.
29841 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29842 * sysdeps/ieee754/dbl-64/s_logb.c: Include
29843 <fix-int-fp-convert-zero.h>.
29844 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29845 * sysdeps/ieee754/flt-32/e_log10f.c: Include
29846 <fix-int-fp-convert-zero.h>.
29847 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29848 * sysdeps/ieee754/flt-32/e_log2f.c: Include
29849 <fix-int-fp-convert-zero.h>.
29850 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29851 * sysdeps/ieee754/flt-32/s_erff.c: Include
29852 <fix-int-fp-convert-zero.h>.
29853 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29854 * sysdeps/ieee754/flt-32/s_logbf.c: Include
29855 <fix-int-fp-convert-zero.h>.
29856 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29857 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
29858 <fix-int-fp-convert-zero.h>.
29859 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29860 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
29861 <fix-int-fp-convert-zero.h>.
29862 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29863 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
29864 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
29865 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
29866 file.
29867 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
29868
29869 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
29870
29871 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29872
29873 2015-10-02 Joseph Myers <joseph@codesourcery.com>
29874
29875 [BZ #19059]
29876 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
29877 overflowing computation.
29878 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29879 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
29880 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
29881 Likewise.
29882 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
29883 Likewise.
29884 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
29885 Likewise.
29886 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29887 Likewise.
29888 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
29889 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29890 Likewise.
29891 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29892 Likewise.
29893 * math/libm-test.inc (nexttoward_test_data): Add more tests.
29894
29895 * nss/rewrite_field.c (__nss_rewrite_field): Use
29896 internal_function.
29897 * nss/valid_field.c (__nss_valid_field): Likewise.
29898 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
29899
29900 2015-10-02 Florian Weimer <fweimer@redhat.com>
29901
29902 [BZ #18724]
29903 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
29904 (__nss_invalid_field_characters, __nss_valid_field)
29905 (__nss_valid_list_field, __nss_rewrite_field): Declare.
29906 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
29907 tst-field.c: New file.
29908 * nss/Makefile (routines): Add valid_field, rewrite_field.
29909 (tests-static): Define unconditionally.
29910 (tests): Include tests-static.
29911 [build-static-nss] (tests-static): Use append.
29912 [build-static-nss] (tests): Remove modification.
29913 * nss/getent.c (print_group): Call putgrent. Report error.
29914 (print_gshadow): Call putsgent. Report error.
29915 (print_passwd): Call putpwent. Report error.
29916 (print_shadow): Call putspent. Report error.
29917 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
29918 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
29919 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
29920 name, password, directory, shell fields for valid syntax. Rewrite
29921 GECOS field to match syntax.
29922 * pwd/Makefile (tests): Add tst-putpwent.
29923 * pwd/tst-putpwent.c: New file.
29924 * grp/putgrent.c (putgrent): Convert to ISO function definition.
29925 Check grName, grpasswd, gr_mem fields for valid syntax.
29926 Change loop variable i to size_t.
29927 * grp/Makefile (tests): Add tst-putgrent.
29928 * grp/tst-putgrent.c: New file.
29929 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
29930 valid syntax.
29931 * shadow/Makefile (tests): Add tst-putspent.
29932 * shadow/tst-putspent.c: New file.
29933 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
29934 sg_mem fields for valid syntax.
29935 * gshadow/Makefile (tests): Add tst-putsgent.
29936 * gshadow/tst-putsgent.c: New file.
29937
29938 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29939
29940 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
29941 assembly instructions.
29942
29943 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29944
29945 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
29946 prefix from operands.
29947
29948 2015-10-01 Joseph Myers <joseph@codesourcery.com>
29949
29950 [BZ #16347]
29951 [BZ #19046]
29952 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
29953 <libc-internal.h>.
29954 (MAXLGM): Do not use diagnostic control macros.
29955 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
29956 threshold for ldbl-128ibm.
29957 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
29958 instead of multiplying by log then subtracting.
29959 * math/auto-libm-test-in: Add more tests of lgamma.
29960 * math/auto-libm-test-out: Regenerated.
29961
29962 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
29963 (TYPE_HEX_DIG): Likewise.
29964 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
29965 precisions when printing floating-point numbers.
29966 (check_float_internal): Likewise.
29967
29968 2015-09-30 Joseph Myers <joseph@codesourcery.com>
29969
29970 [BZ #16620]
29971 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
29972 of log (10) rounded downward to 48 bits.
29973 (log10_low): Use corresponding low part of log (10).
29974
29975 [BZ #19032]
29976 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
29977 compute result as (x - x) / (x - x) not as 0 / 0.
29978 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
29979 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
29980
29981 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
29982 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
29983 and expm1.
29984 * math/auto-libm-test-out: Regenerated.
29985 * math/libm-test.inc (acos_test_data): Add more tests.
29986 (asin_test_data): Likewise.
29987 (asinh_test_data): Likewise.
29988 (atan_test_data): Likewise.
29989 (atanh_test_data): Likewise.
29990 (atan2_test_data): Likewise.
29991 (cbrt_test_data): Likewise.
29992 (ceil_test_data): Likewise.
29993 (copysign_test_data): Likewise.
29994 (cos_test_data): Likewise.
29995 (cosh_test_data): Likewise.
29996 (erf_test_data): Likewise.
29997 (erfc_test_data): Likewise.
29998 (exp_test_data): Likewise.
29999 (exp10_test_data): Likewise.
30000 (exp2_test_data): Likewise.
30001 (expm1_test_data): Likewise.
30002 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30003
30004 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
30005
30006 [BZ #19006]
30007 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
30008 to ...
30009 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
30010 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
30011 to ...
30012 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
30013 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
30014 to ...
30015 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
30016 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
30017 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
30018 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
30019 to ...
30020 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
30021 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
30022 Moved to ...
30023 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
30024 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
30025 Moved to ...
30026 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
30027 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
30028 to ...
30029 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
30030 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
30031 Moved to ...
30032 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
30033 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
30034 to ...
30035 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
30036 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
30037 Removed.
30038 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
30039 Likewise.
30040 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
30041 Likewise.
30042 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
30043 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
30044 Likewise.
30045 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
30046 Likewise.
30047 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
30048 Likewise.
30049 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
30050 Likewise.
30051 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
30052 Likewise.
30053 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
30054 Likewise.
30055 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
30056 Likewise.
30057 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
30058 Likewise.
30059 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
30060 Likewise.
30061 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
30062 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
30063 Likewise.
30064 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
30065 Likewise.
30066 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
30067 Likewise.
30068 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
30069 Likewise.
30070 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
30071 Likewise.
30072 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
30073 Replace ../i486/pthread_cond_timedwait.S with
30074 ../pthread_cond_timedwait.S.
30075
30076 2015-09-30 Joseph Myers <joseph@codesourcery.com>
30077
30078 * math/libm-test.inc (acos_test_data): Refine expectations for
30079 errno and "inexact" exceptions.
30080 (acosh_test_data): Likewise.
30081 (asin_test_data): Likewise.
30082 (asinh_test_data): Likewise.
30083 (atan_test_data): Likewise.
30084 (atanh_test_data): Likewise.
30085 (atan2_test_data): Likewise.
30086 (cbrt_test_data): Likewise.
30087 (ceil_test_data): Likewise.
30088 (copysign_test_data): Likewise.
30089 (cosh_test_data): Likewise.
30090 (erf_test_data): Likewise.
30091 (erfc_test_data): Likewise.
30092 (exp_test_data): Likewise.
30093 (exp10_test_data): Likewise.
30094 (exp2_test_data): Likewise.
30095 (expm1_test_data): Likewise.
30096 (fabs_test_data): Likewise.
30097 (floor_test_data): Likewise.
30098 (fma_test_data): Likewise.
30099 (fmax_test_data): Likewise.
30100 (fmin_test_data): Likewise.
30101 (fmod_test_data): Likewise.
30102 (fpclassify_test_data): Likewise.
30103 (frexp_test_data): Likewise.
30104 (hypot_test_data): Likewise.
30105 (ilogb_test_data): Likewise.
30106 (isgreater_test_data): Likewise.
30107 (isgreaterequal_test_data): Likewise.
30108 (isinf_test_data): Likewise.
30109 (isless_test_data): Likewise.
30110 (islessequal_test_data): Likewise.
30111 (islessgreater_test_data): Likewise.
30112 (isnan_test_data): Likewise.
30113 (isnormal_test_data): Likewise.
30114 (issignaling_test_data): Likewise.
30115 (isunordered_test_data): Likewise.
30116 (j0_test_data): Likewise.
30117 (j1_test_data): Likewise.
30118 (jn_test_data): Likewise.
30119 (lgamma_test_data): Likewise.
30120 (lrint_test_data): Likewise.
30121 (llrint_test_data): Likewise.
30122 (log_test_data): Likewise.
30123 (log10_test_data): Likewise.
30124 (log1p_test_data): Likewise.
30125 (log2_test_data): Likewise.
30126 (logb_test_data): Likewise.
30127 (lround_test_data): Likewise.
30128 (llround_test_data): Likewise.
30129 (modf_test_data): Likewise.
30130 (nearbyint_test_data): Likewise.
30131 (nextafter_test_data): Likewise.
30132 (nexttoward_test_data): Likewise.
30133 (pow_test_data): Likewise.
30134 (remainder_test_data): Likewise.
30135 (remquo_test_data): Likewise.
30136 (rint_test_data): Likewise.
30137 (round_test_data): Likewise.
30138 (signbit_test_data): Likewise.
30139 (sinh_test_data): Likewise.
30140 (sqrt_test_data): Likewise.
30141 (tanh_test_data): Likewise.
30142 (tgamma_test_data): Likewise.
30143 (trunc_test_data): Likewise.
30144 (y0_test_data): Likewise.
30145 (y1_test_data): Likewise.
30146 (yn_test_data): Likewise.
30147 (significand_test_data): Likewise.
30148
30149 2015-09-29 Carlos O'Donell <carlos@redhat.com>
30150
30151 * manual/filesys.texi (Storage Allocation): Document that
30152 posix_fallocate emulation fails when fd is open with O_WRONLY.
30153
30154 2015-09-28 Joseph Myers <joseph@codesourcery.com>
30155
30156 [BZ #19016]
30157 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
30158 allow more cases with X^2 + Y^2 >= 0.5.
30159 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
30160 normal element in sum instead of special-casing based on values of
30161 arguments.
30162 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
30163 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
30164 -1 as normal element in sum instead of special-casing based on
30165 values of arguments.
30166 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
30167 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
30168 (__x2y2m1): Update comment.
30169 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
30170 as normal element in sum instead of special-casing based on values
30171 of arguments.
30172 * math/s_clog.c (__clog): Handle more cases using log1p without
30173 hypot.
30174 * math/s_clog10.c (__clog10): Likewise.
30175 * math/s_clog10f.c (__clog10f): Likewise.
30176 * math/s_clog10l.c (__clog10l): Likewise.
30177 * math/s_clogf.c (__clogf): Likewise.
30178 * math/s_clogl.c (__clogl): Likewise.
30179 * math/auto-libm-test-in: Add more tests of clog and clog10.
30180 * math/auto-libm-test-out: Regenerated.
30181 * sysdeps/i386/fpu/libm-test-ulps: Update.
30182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30183
30184 2015-09-28 Martin Sebor <msebor@redhat.com>
30185
30186 [BZ #18969]
30187 * string/Makefile (LOCALES): Define.
30188 (gen-locales.mk): Include.
30189 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
30190 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
30191 * string/tst-strxfrm2.c (do_test): Print the name of the locale
30192 on setlocale failure.
30193
30194 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
30195
30196 [BZ #18985]
30197 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
30198 (__strftime_internal): Likewise.
30199 * time/tst-strftime.c (do_bz18985): New test.
30200 (do_test): Call it.
30201
30202 2015-09-26 Joseph Myers <joseph@codesourcery.com>
30203
30204 [BZ #18956]
30205 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
30206 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
30207 extracting high part.
30208 * math/auto-libm-test-in: Add another test of pow.
30209 * math/auto-libm-test-out: Regenerated.
30210 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30211
30212 2015-09-25 Joseph Myers <joseph@codesourcery.com>
30213
30214 [BZ #18825]
30215 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
30216 New macro.
30217 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
30218 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30219 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
30220 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
30221 DBL_NARROW_EVAL, reloading the PIC register as needed.
30222 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
30223 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
30224 FLT_NARROW_EVAL. Use separate return path for case when first
30225 argument is NaN.
30226 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
30227 DEFINE_LDBL_MIN.
30228 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
30229 PIC register.
30230 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
30231 math_check_force_underflow_nonneg.
30232 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
30233 underflow for subnormal result.
30234 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
30235 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
30236 math_check_force_underflow_nonneg.
30237 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
30238 math_check_force_underflow.
30239 * sysdeps/x86_64/fpu/x86_64-math-asm.h
30240 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
30241 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
30242 DEFINE_LDBL_MIN.
30243 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
30244 * math/auto-libm-test-in: Add more tests of pow.
30245 * math/auto-libm-test-out: Regenerated.
30246
30247 2015-09-25 Florian Weimer <fweimer@redhat.com>
30248
30249 * nss/bug17079.c (init_test_items): Add diagnostic for
30250 inconsistent entries.
30251 (test_buffer_size): Skip inconsistent entries.
30252
30253 2015-09-25 Joseph Myers <joseph@codesourcery.com>
30254
30255 [BZ #13304]
30256 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
30257 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
30258 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
30259
30260 [BZ #13304]
30261 * sysdeps/microblaze/s_fma.c: New file.
30262 * sysdeps/microblaze/s_fmaf.c: Likewise.
30263 * sysdeps/microblaze/sfp-machine.h: Likewise.
30264
30265 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
30266
30267 [BZ #17250]
30268 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
30269 member.
30270
30271 2015-09-24 Joseph Myers <joseph@codesourcery.com>
30272
30273 [BZ #18803]
30274 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
30275 (MO): New macro.
30276 (__ieee754_hypot) [PIC]: Load PIC register.
30277 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
30278 DBL_NARROW_EVAL.
30279 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
30280 math_check_force_underflow_nonneg in case where result might be
30281 tiny.
30282 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
30283 Likewise.
30284 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30285 Likewise.
30286 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
30287 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
30288 * math/auto-libm-test-in: Add more tests of hypot.
30289 * math/auto-libm-test-out: Regenerated.
30290
30291 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
30292
30293 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
30294
30295 2015-09-24 Joseph Myers <joseph@codesourcery.com>
30296
30297 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
30298 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
30299 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30300 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30301 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
30302 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30303 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30304
30305 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
30306 LOAD_PIC_REG.
30307
30308 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
30309 (FLT_CHECK_FORCE_UFLOW): Likewise.
30310 (DBL_CHECK_FORCE_UFLOW): Likewise.
30311 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
30312 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
30313 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
30314 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30315 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30316 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30317 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30318 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30319 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
30320 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30321 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
30322 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
30323 (flt_min): Replace with use of DEFINE_FLT_MIN.
30324 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
30325 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
30326 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30327 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
30328 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
30329 (flt_min): Replace with use of DEFINE_FLT_MIN.
30330 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
30331 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
30332 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30333 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
30334 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
30335 (flt_min): Replace with use of DEFINE_FLT_MIN.
30336 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
30337 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
30338 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30339 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30340 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
30341 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30342 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30343 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
30344 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30345 (__atan): Use DBL_CHECK_FORCE_UFLOW.
30346 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
30347 (flt_min): Replace with use of DEFINE_FLT_MIN.
30348 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
30349 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
30350 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30351 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
30352 main computation.
30353 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
30354 (flt_min): Replace with use of DEFINE_FLT_MIN.
30355 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
30356 main computation.
30357 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
30358 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30359 (MO): New macro.
30360 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
30361 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
30362 (flt_min): Replace with use of DEFINE_FLT_MIN.
30363 (MO): New macro.
30364 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
30365 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
30366 (__log1pl): Use MO.
30367
30368 [BZ #19003]
30369 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
30370 $(config-cflags-nofma).
30371
30372 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30373
30374 * sysdeps/aarch64/libm-test-ulps: Regenerated.
30375
30376 2015-09-23 Joseph Myers <joseph@codesourcery.com>
30377
30378 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
30379 (TWO127): Likewise.
30380
30381 * sysdeps/generic/math_private.h (fabs_tg): New macro.
30382 (min_of_type): Likewise.
30383 (math_check_force_underflow): Likewise.
30384 (math_check_force_underflow_nonneg): Likewise.
30385 (math_check_force_underflow_complex): Likewise.
30386 * math/e_exp2l.c (__ieee754_exp2l): Use
30387 math_check_force_underflow_nonneg.
30388 * math/k_casinh.c (__kernel_casinh): Likewise.
30389 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30390 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30391 * math/s_catan.c (__catan): Use
30392 math_check_force_underflow_complex.
30393 * math/s_catanf.c (__catanf): Likewise.
30394 * math/s_catanh.c (__catanh): Likewise.
30395 * math/s_catanhf.c (__catanhf): Likewise.
30396 * math/s_catanhl.c (__catanhl): Likewise.
30397 * math/s_catanl.c (__catanl): Likewise.
30398 * math/s_ccosh.c (__ccosh): Likewise.
30399 * math/s_ccoshf.c (__ccoshf): Likewise.
30400 * math/s_ccoshl.c (__ccoshl): Likewise.
30401 * math/s_cexp.c (__cexp): Likewise.
30402 * math/s_cexpf.c (__cexpf): Likewise.
30403 * math/s_cexpl.c (__cexpl): Likewise.
30404 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
30405 * math/s_clog10.c (__clog10): Likewise.
30406 * math/s_clog10f.c (__clog10f): Likewise.
30407 * math/s_clog10l.c (__clog10l): Likewise.
30408 * math/s_clogf.c (__clogf): Likewise.
30409 * math/s_clogl.c (__clogl): Likewise.
30410 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
30411 * math/s_csinf.c (__csinf): Likewise.
30412 * math/s_csinh.c (__csinh): Likewise.
30413 * math/s_csinhf.c (__csinhf): Likewise.
30414 * math/s_csinhl.c (__csinhl): Likewise.
30415 * math/s_csinl.c (__csinl): Likewise.
30416 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
30417 * math/s_csqrtf.c (__csqrtf): Likewise.
30418 * math/s_csqrtl.c (__csqrtl): Likewise.
30419 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
30420 * math/s_ctanf.c (__ctanf): Likewise.
30421 * math/s_ctanh.c (__ctanh): Likewise.
30422 * math/s_ctanhf.c (__ctanhf): Likewise.
30423 * math/s_ctanhl.c (__ctanhl): Likewise.
30424 * math/s_ctanl.c (__ctanl): Likewise.
30425 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
30426 instead of volatile.
30427 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
30428 math_check_force_underflow.
30429 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
30430 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
30431 volatile when forcing underflow.
30432 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30433 math_check_force_underflow_nonneg.
30434 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
30435 Likewise.
30436 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
30437 math_check_force_underflow.
30438 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30439 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30440 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
30441 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
30442 math_check_force_underflow_nonneg.
30443 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
30444 math_check_force_underflow.
30445 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
30446 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
30447 instead of volatile.
30448 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
30449 math_check_force_underflow.
30450 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30451 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30452 math_check_force_underflow_nonneg.
30453 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
30454 math_check_force_underflow.
30455 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
30456 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
30457 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
30458 math_check_force_underflow_nonneg.
30459 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30460 Likewise.
30461 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
30462 math_check_force_underflow.
30463 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30464 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30465 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
30466 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
30467 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
30468 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
30469 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
30470 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
30471 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30472 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
30473 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
30474 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
30475 Likewise.
30476 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
30477 math_check_force_underflow_nonneg.
30478 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30479 Likewise.
30480 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
30481 math_check_force_underflow.
30482 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30483 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
30484 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
30485 Likewise.
30486 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
30487 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
30488 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
30489 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
30490 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
30491 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
30492 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
30493 instead of volatile.
30494 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
30495 math_check_force_underflow.
30496 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
30497 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
30498 math_check_force_underflow.
30499 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
30500 Likewise.
30501 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30502 Use math_check_force_underflow_nonneg.
30503 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
30504 math_check_force_underflow.
30505 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
30506 Likewise.
30507 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
30508 Likewise.
30509 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30510 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30511 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30512 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30513 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
30514 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30515 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
30516 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
30517 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
30518 math_check_force_underflow_nonneg.
30519 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
30520 math_check_force_underflow.
30521 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30522 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
30523 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
30524 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
30525 math_check_force_underflow_nonneg.
30526 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
30527 math_check_force_underflow.
30528 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
30529 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
30530 instead of volatile.
30531 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
30532 math_check_force_underflow.
30533
30534 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
30535 * stdlib/strtod_l.c: Include <math_private.h>.
30536 (overflow_value): Use math_narrow_eval.
30537 (underflow_value): Likewise.
30538 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30539 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30540 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
30541 (__ieee754_gamma_r): Likewise.
30542 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
30543 Likewise.
30544 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
30545 Likewise.
30546 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
30547 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
30548 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
30549 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
30550 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
30551 (__ieee754_gammaf_r): Likewise.
30552 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
30553 Likewise.
30554 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
30555 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
30556 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
30557 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
30558 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
30559 volatile.
30560 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
30561 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
30562 math_narrow_eval.
30563 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30564 Likewise.
30565 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30566 Likewise.
30567 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
30568 Likewise.
30569 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
30570 volatile.
30571 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
30572 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
30573 math_narrow_eval.
30574 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30575 Likewise.
30576 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30577 Likewise.
30578
30579 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
30580
30581 * nptl/Versions: Remove ignored symbols.
30582
30583 2015-09-22 Florian Weimer <fweimer@redhat.com>
30584
30585 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
30586 * nss/Makefile (tests): Update.
30587
30588 2015-09-22 Florian Weimer <fweimer@redhat.com>
30589
30590 * nss/bug18287.c: New file.
30591 * nss/Makefile (tests): Add bug18287.
30592
30593 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30594
30595 * mach/Versions (__mach_host_self_): Add symbol.
30596
30597 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
30598
30599 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
30600 vm_page_size.
30601
30602 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
30603
30604 Really fix sysdeps/i386/fpu/s_scalbn.S build
30605
30606 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
30607 (libc: GLIBC_2_22): Remove unused version set.
30608
30609 2015-09-18 Mike Frysinger <vapier@gentoo.org>
30610
30611 * config.make.in (enable-timezone-tools): New variable.
30612 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
30613 (enable_timezone_tools): Export to generated files.
30614 * configure: Regenerate.
30615 * INSTALL: Regenerate.
30616 * manual/install.texi (--disable-timezone-tools): Document new flag.
30617 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
30618 ifeq ($(enable-timezone-tools),yes) check.
30619
30620 2015-09-18 Joseph Myers <joseph@codesourcery.com>
30621
30622 * timezone/Makefile: Revert previous change.
30623
30624 [BZ #18980]
30625 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
30626 (DEFINE_DBL_MIN): Likewise.
30627 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30628 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30629 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30630 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30631 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
30632 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30633 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30634 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
30635 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
30636 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30637 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30638 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
30639 (flt_min): Replace with use of DEFINE_FLT_MIN.
30640 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30641 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
30642 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30643 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30644 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
30645 (flt_min): Replace with use of DEFINE_FLT_MIN.
30646 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30647 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
30648 (flt_min): Replace with use of DEFINE_FLT_MIN.
30649 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30650 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
30651 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
30652 (__ieee754_hypot): Use DBL_NARROW_EVAL.
30653 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
30654 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
30655 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
30656 (__ieee754_pow): Use DBL_NARROW_EVAL.
30657 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
30658 (__ieee754_powf): Use FLT_NARROW_EVAL.
30659 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
30660 (__ieee754_expf_sse2): Convert double-precision result to single
30661 precision.
30662 * sysdeps/i386/fpu/libm-test-ulps: Update.
30663
30664 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30665
30666 * timezone/Makefile: Ignore unused variable errors due to private.h
30667 (time_t_min) and (time_t_max).
30668 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
30669 Likewise.
30670
30671 2015-09-18 Joseph Myers <joseph@codesourcery.com>
30672
30673 [BZ #18981]
30674 * sysdeps/i386/fpu/i386-math-asm.h: New file.
30675 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
30676 (__ieee754_scalb): Use DBL_NARROW_EVAL.
30677 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
30678 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
30679 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
30680 (__scalbn): Use DBL_NARROW_EVAL.
30681 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
30682 (__scalbnf): Use FLT_NARROW_EVAL.
30683
30684 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30685
30686 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
30687 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
30688 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
30689 * stdio-common/printf_fp.c (___printf_fp):
30690 Use signbit to get the sign. Use isinf macro to allow inlining.
30691 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
30692 * stdio-common/printf_size.c (__printf_size): Likewise.
30693
30694 2015-09-18 Mike Frysinger <vapier@gentoo.org>
30695
30696 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
30697
30698 2015-09-18 Joseph Myers <joseph@codesourcery.com>
30699
30700 [BZ #18980]
30701 * sysdeps/generic/math_private.h: Include <float.h>.
30702 (math_narrow_eval): New macro.
30703 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
30704 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
30705 math_narrow_eval on overflowing return value.
30706 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
30707 Likewise.
30708 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30709 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
30710 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
30711 Likewise.
30712 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30713
30714 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30715
30716 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
30717 * math/Makefile: Remove isinf_ns.c.
30718 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
30719 * math/multc3.c (__multc3): Likewise.
30720 * math/s_casin.c (__casin): Likewise.
30721 * math/s_casinf.c (__casinf): Likewise.
30722 * math/s_casinl.c (__casinl): Likewise.
30723 * math/s_cproj.c (__cproj): Likewise.
30724 * math/s_cprojf.c (__cprojf): Likewise.
30725 * math/s_cprojl.c (__cprofl): Likewise.
30726 * math/s_ctan.c (__ctan): Likewise.
30727 * math/s_ctanf.c (__ctanf): Likewise.
30728 * math/s_ctanh.c (__ctanh): Likewise.
30729 * math/s_ctanhf.c (__ctanhf): Likewise.
30730 * math/s_ctanhl.c (__ctanhl): Likewise.
30731 * math/s_ctanl.c (__ctanl): Likewise.
30732 * math/w_fmod.c (__fmod): Likewise.
30733 * math/w_fmodf.c (__fmodf): Likewise.
30734 * math/w_fmodl.c (_fmodl): Likewise.
30735 * math/w_remainder.c (__remainder): Likewise.
30736 * math/w_remainderf.c (__remainderf): Likewise.
30737 * math/w_remainderl.c (__remainderl): Likewise.
30738 * math/w_scalb.c (__scalb): Likewise.
30739 * math/w_scalbf.c (__scalbf): Likewise.
30740 * math/w_scalbl.c (__scalbl): Likewise.
30741 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
30742 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
30743 with isinf.
30744 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
30745 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
30746 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
30747 __isinf_nsf with isinf.
30748 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
30749 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
30750 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
30751 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
30752 with isinf.
30753 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
30754 __isinf_nsl with isinf.
30755 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
30756 with isinf.
30757 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
30758 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
30759 __isinf_nsl with isinf.
30760 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
30761 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
30762 with isinf.
30763
30764 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30765
30766 * resolv/base64.c (rcsid): Remove unused static.
30767 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
30768 static. (tqpi1): Likewise.
30769 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
30770 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
30771 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
30772 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
30773 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
30774 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
30775 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
30776 * timezone/private.h (time_t_min): Likewise. (time_t_max):
30777 Likewise.
30778
30779 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
30780
30781 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
30782 <nptl/pthreadP.h>.
30783 (_longjmp_unwind): Use __libc_ptf_call.
30784 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
30785
30786 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
30787
30788 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
30789 * sysdeps/arm/__longjmp.S: Likewise.
30790
30791 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30792
30793 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
30794 Use __builtin_signbit.
30795 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
30796 Use __builtin_signbitf.
30797 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
30798 Use __builtin_signbitl.
30799 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30800 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
30801
30802 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30803
30804 [BZ #15367]
30805 [BZ #17441]
30806
30807 * math/Makefile: Build test-snan.c with -fsignaling-nans.
30808 * math/math.h (fpclassify): Use __builtin_fpclassify when
30809 available. (signbit): Use __builtin_signbit(f/l).
30810 (isfinite): Use__builtin_isfinite. (isnormal): Use
30811 __builtin_isnormal. (isnan): Use __builtin_isnan.
30812 (isinf): Use __builtin_isinf_sign.
30813
30814 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30815
30816 * benchtests/Makefile: Add bench-math-inlines, link with libm.
30817 * benchtests/bench-math-inlines.c: New benchmark.
30818 * benchtests/bench-util.h: New file.
30819 * benchtests/bench-util.c: New file.
30820 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
30821
30822 2015-09-18 Carlos O'Donell <carlos@redhat.com>
30823
30824 * elf/tst-dlmopen1.c: Define TEST_SO.
30825 (do_test): Use TEST_SO.
30826
30827 * elf/dl-load.c: Include libc-internal.h.
30828 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
30829
30830 2015-09-18 Vincent Bernat <vincent@bernat.im>
30831
30832 [BZ #17887]
30833 * time/strptime_l.c (__strptime_internal): Make %z accept
30834 [+-]HH:MM time zones.
30835
30836 2015-09-18 Vincent Bernat <vincent@bernat.im>
30837
30838 [BZ #17886]
30839 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
30840 valid time zone.
30841
30842 2015-09-17 Mike Frysinger <vapier@gentoo.org>
30843
30844 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
30845 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
30846 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30847 (__ASSUME_FDATASYNC): Delete.
30848
30849 2015-09-17 Joseph Myers <joseph@codesourcery.com>
30850
30851 * conform/linknamespace.pl: Require weak undefined symbols to be
30852 in the standard namespace.
30853 (%strong_syms): Rename to %seen_syms.
30854 (%strong_seen): Rename to %seen_where.
30855
30856 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
30857
30858 [BZ #18970]
30859 * misc/error.c (error): Replace pthread_setcancelstate with
30860 __pthread_setcancelstate.
30861 (error_at_line): Likewise.
30862 * posix/wordexp.c (parse_comm): Likewise.
30863 * stdlib/fmtmsg.c (fmtmsg): Likewise.
30864 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
30865 (__pthread_setcancelstate): This.
30866 (pthread_setcancelstate): Add an alias.
30867 * nptl/nptl-init.c (pthread_functions): Replace
30868 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
30869 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
30870 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
30871 hidden_proto.
30872 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
30873 it with hidden_def.
30874 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
30875 (pthread_setcancelstate): Renamed to ...
30876 (__pthread_setcancelstate): This.
30877 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
30878 __libc_ptf_call with __pthread_setcancelstate.
30879
30880 2015-09-17 Joseph Myers <joseph@codesourcery.com>
30881 Andreas Schwab <schwab@suse.de>
30882
30883 [BZ #17118]
30884 * math/s_ctan.c (__ctan): Determine sign of zero real part of
30885 result when imaginary part of argument is infinite using sine and
30886 cosine.
30887 * math/s_ctanf.c (__ctanf): Likewise.
30888 * math/s_ctanl.c (__ctanl): Likewise.
30889 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
30890 of result when real part of argument is infinite using sine and
30891 cosine.
30892 * math/s_ctanhf.c (__ctanhf): Likewise.
30893 * math/s_ctanhl.c (__ctanhl): Likewise.
30894 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
30895 (ctanh_test_data): Add more tests of ctanh.
30896
30897 2015-09-17 Joseph Myers <joseph@codesourcery.com>
30898
30899 [BZ #15384]
30900 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
30901 bit-mask as in subtraction.
30902 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
30903 Likewise.
30904 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
30905 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
30906 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
30907
30908 [BZ #18951]
30909 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
30910 underflow exception for small results.
30911 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30912 Likewise.
30913 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30914 Likewise.
30915 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30916 Likewise.
30917 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
30918 Likewise.
30919 * math/auto-libm-test-in: Add more tests of tgamma.
30920 * math/auto-libm-test-out: Regenerated.
30921
30922 2015-09-17 Andreas Schwab <schwab@suse.de>
30923
30924 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
30925
30926 2015-09-16 Joseph Myers <joseph@codesourcery.com>
30927
30928 [BZ #18977]
30929 * math/bits/mathcalls.h
30930 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
30931 not declare.
30932 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
30933 Likewise.
30934 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
30935 Likewise.
30936 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
30937 Likewise.
30938 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
30939 Likewise.
30940 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
30941 Likewise.
30942 * conform/data/math.h-data
30943 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
30944 function.
30945 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
30946 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
30947 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
30948 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
30949 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
30950 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
30951 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
30952 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
30953 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
30954 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
30955 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
30956
30957 [BZ #6803]
30958 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
30959 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
30960 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
30961 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
30962 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
30963 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
30964 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
30965 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
30966 [NO_LONG_DOUBLE] (scalbnl): Likewise.
30967 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
30968 Likewise.
30969 [NO_LONG_DOUBLE] (scalbnl): Likewise.
30970 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
30971 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
30972 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
30973 long_double_symbol calls.
30974 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
30975 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
30976 strong alias of __ldexpl.
30977 (scalbnl): Define using long_double_symbol.
30978 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
30979 Remove alias.
30980 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
30981 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
30982 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
30983 (scalbln_test_data): Add more errno expectations.
30984
30985 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
30986
30987 Cache the host port like we cache the task port. This way we do not
30988 need to call the kernel just to get the port. Furthermore, we no
30989 longer increase the reference count on every invocation of
30990 `mach_host_self'.
30991
30992 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
30993 Protect declarations against the macro expansion.
30994 * mach/mach_init.c (__mach_host_self_): New variable.
30995 (mach_init): Initialize `__mach_host_self_'.
30996 * mach/mach_init.h (__mach_host_self_): New declaration.
30997 (__mach_host_self, mach_host_self): New macros.
30998 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
30999 Release reference.
31000
31001 2015-09-16 Joseph Myers <joseph@codesourcery.com>
31002
31003 [BZ #4404]
31004 * po/de.po: Update from Translation Project.
31005
31006 [BZ #16415]
31007 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
31008 (__expm1l): Remove code to handle positive infinity and overflow.
31009 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
31010 variable.
31011 (__expm1l): Remove code to handle positive infinity and overflow.
31012
31013 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
31014 Paul Pluzhnikov <ppluzhnikov@google.com>
31015
31016 [BZ #18872]
31017 * stdio-common/Makefile (tst-printf-bz18872): New test.
31018 (tst-printf-bz18872-mem.out): Likewise.
31019 * stdio-common/tst-printf-bz18872.sh: Generate new test.
31020 * stdio-common/vfprintf.c: Fix memory leaks.
31021
31022 2015-09-16 Andreas Schwab <schwab@suse.de>
31023
31024 [BZ #17244]
31025 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
31026 Remove extra va_start/va_end calls.
31027
31028 [BZ #17243]
31029 * posix/execl.c (execl): Add missing va_end.
31030 * posix/execle.c (execle): Likewise.
31031 * posix/execlp.c (execlp): Likewise.
31032
31033 2015-09-15 Roland McGrath <roland@hack.frob.com>
31034
31035 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
31036 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
31037
31038 2015-09-15 Joseph Myers <joseph@codesourcery.com>
31039
31040 [BZ #18967]
31041 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
31042 undefine around includes of <bits/mathcalls.h>.
31043 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
31044 not declare function.
31045 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
31046 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
31047 (scalb): Likewise.
31048 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
31049 not define macro.
31050 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
31051 variable.
31052 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31053 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31054 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31055
31056 [BZ #18857]
31057 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
31058 return non-finite argument without doing ordered comparisons on
31059 it.
31060
31061 [BZ #16296]
31062 * math/fenv.h (fegetround): Use __attribute_pure__.
31063 * include/fenv.h (__fegetround): Likewise.
31064
31065 [BZ #18595]
31066 * math/s_ctan.c (__ctan): Force underflow exception for results
31067 whose real or imaginary part has small absolute value.
31068 * math/s_ctanf.c (__ctanf): Likewise.
31069 * math/s_ctanh.c (__ctanh): Likewise.
31070 * math/s_ctanhf.c (__ctanhf): Likewise.
31071 * math/s_ctanhl.c (__ctanhl): Likewise.
31072 * math/s_ctanl.c (__ctanl): Likewise.
31073 * math/auto-libm-test-in: Do not allow missing underflow for ctan
31074 and ctanh. Add more tests of ctan and ctanh.
31075
31076 [BZ #15918]
31077 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
31078 handling of cases where one argument is an infinity.
31079
31080 [BZ #18875]
31081 [BZ #18966]
31082 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
31083 (MO): New macro.
31084 (__ieee754_exp10): For small results, force underflow exception
31085 and remove excess range and precision from return value.
31086 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
31087 (MO): New macro.
31088 (__ieee754_exp10f): For small results, force underflow exception
31089 and remove excess range and precision from return value.
31090 * math/auto-libm-test-in: Add more tests of exp10.
31091 * math/auto-libm-test-out: Regenerated.
31092
31093 2015-09-14 Joseph Myers <joseph@codesourcery.com>
31094
31095 [BZ #18875]
31096 [BZ #18961]
31097 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
31098 (MO): New macro.
31099 (__ieee754_exp): For small results, force underflow exception and
31100 remove excess range and precision from return value.
31101 (__exp_finite): Likewise.
31102 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
31103 (MO): New macro.
31104 (__ieee754_expf): For small results, force underflow exception and
31105 remove excess range and precision from return value.
31106 (__expf_finite): Likewise.
31107 * math/auto-libm-test-in: Add more tests of exp.
31108 * math/auto-libm-test-out: Regenerated.
31109
31110 [BZ #16521]
31111 [BZ #18875]
31112 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
31113 small results.
31114 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
31115 (MO): New macro.
31116 (__ieee754_exp2): For small results, force underflow exception and
31117 remove excess range and precision from return value.
31118 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
31119 (MO): New macro.
31120 (__ieee754_exp2f): For small results, force underflow exception
31121 and remove excess range and precision from return value.
31122 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
31123 (MO): New macro.
31124 (__ieee754_exp2l): Force underflow exception for small results.
31125 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31126 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31127 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
31128 (MO): New macro.
31129 (__ieee754_exp2l): Force underflow exception for small results.
31130 * math/auto-libm-test-in: Add more tests or exp2.
31131 * math/auto-libm-test-out: Regenerated.
31132
31133 2015-09-14 Carlos O'Donell <carlos@redhat.com>
31134
31135 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
31136
31137 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
31138 /dev/null.
31139
31140 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
31141
31142 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31143 io fs process)): Drop spurious backslash.
31144
31145 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
31146
31147 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
31148 Use sysinfo system call instead of parsing /proc/meminfo.
31149 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
31150 Likewise.
31151
31152 2015-09-11 Mike Frysinger <vapier@gentoo.org>
31153
31154 [BZ #16985]
31155 * programs/localedef.c (main): Display argv[remaining] when
31156 output_path is NULL.
31157
31158 2015-09-11 Joseph Myers <joseph@codesourcery.com>
31159
31160 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31161 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
31162 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
31163 tanh.
31164 * math/auto-libm-test-out: Regenerated.
31165 * sysdeps/i386/fpu/libm-test-ulps: Update.
31166 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31167 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31169
31170 2015-09-11 Roland McGrath <roland@hack.frob.com>
31171
31172 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
31173 Use 'override' keyword to freeze the value here, preventing
31174 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
31175
31176 2015-09-11 Joseph Myers <joseph@codesourcery.com>
31177
31178 [BZ #14912]
31179 * sysdeps/aarch64/bits/atomic.h: Move to ...
31180 * sysdeps/aarch64/atomic-machine.h: ...here.
31181 (_AARCH64_BITS_ATOMIC_H): Rename macro to
31182 _AARCH64_ATOMIC_MACHINE_H.
31183 * sysdeps/alpha/bits/atomic.h: Move to ...
31184 * sysdeps/alpha/atomic-machine.h: ...here.
31185 * sysdeps/arm/bits/atomic.h: Move to ...
31186 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
31187 * bits/atomic.h: Move to ...
31188 * sysdeps/generic/atomic-machine.h: ...here.
31189 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31190 * sysdeps/i386/bits/atomic.h: Move to ...
31191 * sysdeps/i386/atomic-machine.h: ...here.
31192 * sysdeps/ia64/bits/atomic.h: Move to ...
31193 * sysdeps/ia64/atomic-machine.h: ...here.
31194 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
31195 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
31196 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31197 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
31198 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
31199 * sysdeps/microblaze/bits/atomic.h: Move to ...
31200 * sysdeps/microblaze/atomic-machine.h: ...here.
31201 * sysdeps/mips/bits/atomic.h: Move to ...
31202 * sysdeps/mips/atomic-machine.h: ...here.
31203 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
31204 * sysdeps/powerpc/bits/atomic.h: Move to ...
31205 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
31206 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
31207 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
31208 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
31209 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
31210 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
31211 <atomic-machine.h> instead of <bits/atomic.h>.
31212 * sysdeps/s390/bits/atomic.h: Move to ...
31213 * sysdeps/s390/atomic-machine.h: ...here.
31214 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
31215 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
31216 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31217 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
31218 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
31219 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
31220 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
31221 * sysdeps/tile/bits/atomic.h: Move to ...
31222 * sysdeps/tile/atomic-machine.h: ...here.
31223 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
31224 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
31225 <sysdeps/tile/atomic-machine.h> instead of
31226 <sysdeps/tile/bits/atomic.h>.
31227 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31228 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
31229 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
31230 <sysdeps/tile/atomic-machine.h> instead of
31231 <sysdeps/tile/bits/atomic.h>.
31232 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31233 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
31234 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
31235 <sysdeps/arm/atomic-machine.h> instead of
31236 <sysdeps/arm/bits/atomic.h>.
31237 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
31238 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
31239 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31240 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
31241 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
31242 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31243 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
31244 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
31245 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
31246 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
31247 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
31248 * sysdeps/x86_64/bits/atomic.h: Move to ...
31249 * sysdeps/x86_64/atomic-machine.h: ...here.
31250 * include/atomic.h: Include <atomic-machine.h> instead of
31251 <bits/atomic.h>.
31252
31253 * sysdeps/mips/mips32/libm-test-ulps: Update.
31254 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31255
31256 [BZ #18952]
31257 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
31258 not convert non-integer negative arguments to int to determine the
31259 value of signgam.
31260 * math/auto-libm-test-in: Add more tests of lgamma.
31261 * math/auto-libm-test-out: Regenerated.
31262
31263 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
31264 cosh, csqrt, erfc, expm1 and lgamma.
31265 * math/auto-libm-test-out: Regenerated.
31266 * sysdeps/i386/fpu/libm-test-ulps: Update.
31267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31268
31269 2015-09-10 Joseph Myers <joseph@codesourcery.com>
31270
31271 [BZ #2542]
31272 [BZ #2543]
31273 [BZ #2558]
31274 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
31275 __lgamma_neg for arguments from -28.0 to -2.0.
31276 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
31277 __lgamma_negf for arguments from -15.0 to -2.0.
31278 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31279 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
31280 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
31281 Call __lgamma_negl for arguments from -33.0 to -2.0.
31282 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
31283 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
31284 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
31285 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
31286 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
31287 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
31288 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
31289 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
31290 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
31291 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
31292 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
31293 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
31294 (__lgamma_neg): Likewise.
31295 (__lgamma_negl): Likewise.
31296 (__lgamma_product): Likewise.
31297 (__lgamma_productl): Likewise.
31298 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
31299 * math/auto-libm-test-in: Add more tests of lgamma.
31300 * math/auto-libm-test-out: Regenerated.
31301 * sysdeps/i386/fpu/libm-test-ulps: Update.
31302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31303
31304 2015-09-09 Justin Maggard <jmaggard@netgear.com>
31305
31306 [BZ #18675]
31307 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
31308
31309 2015-09-08 Joseph Myers <joseph@codesourcery.com>
31310
31311 [BZ #14912]
31312 * bits/libc-lock.h: Move to ...
31313 * sysdeps/generic/libc-lock.h: ...here.
31314 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31315 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
31316 * sysdeps/mach/hurd/libc-lock.h: ...here.
31317 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31318 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
31319 * sysdeps/mach/bits/libc-lock.h: Move to ...
31320 * sysdeps/mach/libc-lock.h: ...here.
31321 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31322 * sysdeps/nptl/bits/libc-lock.h: Move to ...
31323 * sysdeps/nptl/libc-lock.h: ...here.
31324 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31325 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
31326 * sysdeps/nptl/libc-lockP.h: ...here.
31327 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
31328 * crypt/crypt_util.c: Include <libc-lock.h> instead of
31329 <bits/libc-lock.h>.
31330 * dirent/scandir-tail.c: Likewise.
31331 * dlfcn/dlerror.c: Likewise.
31332 * elf/dl-close.c: Likewise.
31333 * elf/dl-iteratephdr.c: Likewise.
31334 * elf/dl-lookup.c: Likewise.
31335 * elf/dl-open.c: Likewise.
31336 * elf/dl-support.c: Likewise.
31337 * elf/dl-writev.h: Likewise.
31338 * elf/rtld.c: Likewise.
31339 * grp/fgetgrent.c: Likewise.
31340 * gshadow/fgetsgent.c: Likewise.
31341 * gshadow/sgetsgent.c: Likewise.
31342 * iconv/gconv_conf.c: Likewise.
31343 * iconv/gconv_db.c: Likewise.
31344 * iconv/gconv_dl.c: Likewise.
31345 * iconv/gconv_int.h: Likewise.
31346 * iconv/gconv_trans.c: Likewise.
31347 * include/link.h: Likewise.
31348 * inet/getnameinfo.c: Likewise.
31349 * inet/getnetgrent.c: Likewise.
31350 * inet/getnetgrent_r.c: Likewise.
31351 * intl/bindtextdom.c: Likewise.
31352 * intl/dcigettext.c: Likewise.
31353 * intl/finddomain.c: Likewise.
31354 * intl/gettextP.h: Likewise.
31355 * intl/loadmsgcat.c: Likewise.
31356 * intl/localealias.c: Likewise.
31357 * intl/textdomain.c: Likewise.
31358 * libidn/idn-stub.c: Likewise.
31359 * libio/libioP.h: Likewise.
31360 * locale/duplocale.c: Likewise.
31361 * locale/freelocale.c: Likewise.
31362 * locale/newlocale.c: Likewise.
31363 * locale/setlocale.c: Likewise.
31364 * login/getutent_r.c: Likewise.
31365 * login/getutid_r.c: Likewise.
31366 * login/getutline_r.c: Likewise.
31367 * login/utmp-private.h: Likewise.
31368 * login/utmpname.c: Likewise.
31369 * malloc/mtrace.c: Likewise.
31370 * misc/efgcvt.c: Likewise.
31371 * misc/error.c: Likewise.
31372 * misc/fstab.c: Likewise.
31373 * misc/getpass.c: Likewise.
31374 * misc/mntent.c: Likewise.
31375 * misc/syslog.c: Likewise.
31376 * nis/nis_call.c: Likewise.
31377 * nis/nis_callback.c: Likewise.
31378 * nis/nss-default.c: Likewise.
31379 * nis/nss_compat/compat-grp.c: Likewise.
31380 * nis/nss_compat/compat-initgroups.c: Likewise.
31381 * nis/nss_compat/compat-pwd.c: Likewise.
31382 * nis/nss_compat/compat-spwd.c: Likewise.
31383 * nis/nss_nis/nis-alias.c: Likewise.
31384 * nis/nss_nis/nis-ethers.c: Likewise.
31385 * nis/nss_nis/nis-grp.c: Likewise.
31386 * nis/nss_nis/nis-hosts.c: Likewise.
31387 * nis/nss_nis/nis-network.c: Likewise.
31388 * nis/nss_nis/nis-proto.c: Likewise.
31389 * nis/nss_nis/nis-pwd.c: Likewise.
31390 * nis/nss_nis/nis-rpc.c: Likewise.
31391 * nis/nss_nis/nis-service.c: Likewise.
31392 * nis/nss_nis/nis-spwd.c: Likewise.
31393 * nis/nss_nisplus/nisplus-alias.c: Likewise.
31394 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
31395 * nis/nss_nisplus/nisplus-grp.c: Likewise.
31396 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
31397 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
31398 * nis/nss_nisplus/nisplus-network.c: Likewise.
31399 * nis/nss_nisplus/nisplus-proto.c: Likewise.
31400 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
31401 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
31402 * nis/nss_nisplus/nisplus-service.c: Likewise.
31403 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
31404 * nis/ypclnt.c: Likewise.
31405 * nptl/libc_pthread_init.c: Likewise.
31406 * nss/getXXbyYY.c: Likewise.
31407 * nss/getXXent.c: Likewise.
31408 * nss/getXXent_r.c: Likewise.
31409 * nss/nss_db/db-XXX.c: Likewise.
31410 * nss/nss_db/db-netgrp.c: Likewise.
31411 * nss/nss_db/nss_db.h: Likewise.
31412 * nss/nss_files/files-XXX.c: Likewise.
31413 * nss/nss_files/files-alias.c: Likewise.
31414 * nss/nsswitch.c: Likewise.
31415 * posix/regex_internal.h: Likewise.
31416 * posix/wordexp.c: Likewise.
31417 * pwd/fgetpwent.c: Likewise.
31418 * resolv/res_hconf.c: Likewise.
31419 * resolv/res_libc.c: Likewise.
31420 * shadow/fgetspent.c: Likewise.
31421 * shadow/lckpwdf.c: Likewise.
31422 * shadow/sgetspent.c: Likewise.
31423 * socket/opensock.c: Likewise.
31424 * stdio-common/reg-modifier.c: Likewise.
31425 * stdio-common/reg-printf.c: Likewise.
31426 * stdio-common/reg-type.c: Likewise.
31427 * stdio-common/vfprintf.c: Likewise.
31428 * stdio-common/vfscanf.c: Likewise.
31429 * stdlib/abort.c: Likewise.
31430 * stdlib/cxa_atexit.c: Likewise.
31431 * stdlib/fmtmsg.c: Likewise.
31432 * stdlib/random.c: Likewise.
31433 * stdlib/setenv.c: Likewise.
31434 * string/strsignal.c: Likewise.
31435 * sunrpc/auth_none.c: Likewise.
31436 * sunrpc/bindrsvprt.c: Likewise.
31437 * sunrpc/create_xid.c: Likewise.
31438 * sunrpc/key_call.c: Likewise.
31439 * sunrpc/rpc_thread.c: Likewise.
31440 * sysdeps/arm/backtrace.c: Likewise.
31441 * sysdeps/generic/ldsodefs.h: Likewise.
31442 * sysdeps/generic/stdio-lock.h: Likewise.
31443 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
31444 * sysdeps/i386/backtrace.c: Likewise.
31445 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31446 * sysdeps/m68k/backtrace.c: Likewise.
31447 * sysdeps/mach/hurd/cthreads.c: Likewise.
31448 * sysdeps/mach/hurd/dirstream.h: Likewise.
31449 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31450 * sysdeps/nptl/malloc-machine.h: Likewise.
31451 * sysdeps/nptl/stdio-lock.h: Likewise.
31452 * sysdeps/posix/dirstream.h: Likewise.
31453 * sysdeps/posix/getaddrinfo.c: Likewise.
31454 * sysdeps/posix/system.c: Likewise.
31455 * sysdeps/pthread/aio_suspend.c: Likewise.
31456 * sysdeps/s390/s390-32/backtrace.c: Likewise.
31457 * sysdeps/s390/s390-64/backtrace.c: Likewise.
31458 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31459 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31460 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
31461 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
31462 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
31463 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31464 * sysdeps/unix/sysv/linux/system.c: Likewise.
31465 * sysdeps/x86_64/backtrace.c: Likewise.
31466 * time/alt_digit.c: Likewise.
31467 * time/era.c: Likewise.
31468 * time/tzset.c: Likewise.
31469 * wcsmbs/wcsmbsload.c: Likewise.
31470 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
31471 instead of <bits/libc-lock.h> in comment.
31472
31473 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
31474
31475 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
31476 Only use .set mips2 if the current ISA is below mips2.
31477 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
31478 Likewise.
31479 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
31480 mips32r2 if the current ISA is below mips32r2.
31481 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
31482 (TLS_IE): Updated to use the TLD_RDHWR macro.
31483 (TLS_LE): Likewise.
31484 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
31485 __ASSEMBLER__ condition.
31486
31487 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
31488
31489 Fix parallel build of before-compile targets.
31490
31491 * sysdeps/mach/Makefile ($(patsubst
31492 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
31493 mach-before-compile target.
31494 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31495 io fs process)): Move rule to dedicated hurd-before-compile target.
31496
31497 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31498
31499 Fix rules generating headers in hurd/ and mach/ when initial make call
31500 has subdir= explicitly set.
31501
31502 * sysdeps/mach/Makefile ($(patsubst
31503 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
31504 calling $(MAKE).
31505 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31506 io fs process)): Force subdir to hurd when calling $(MAKE).
31507 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
31508 subdir to mach when calling $(MAKE).
31509
31510 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
31511
31512 Check sysheaders when looking for Mach and Hurd headers
31513
31514 * sysdeps/mach/configure.ac: Add sysheaders check.
31515 * sysdeps/mach/configure: Regenerate.
31516 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
31517 * sysdeps/mach/hurd/configure: Regenerate.
31518
31519 2015-09-04 Roland McGrath <roland@hack.frob.com>
31520
31521 [BZ #18921]
31522 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
31523 Fix inverted sense of test of 'o_directory_works' value.
31524 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
31525 Bernhard Voelker <mail@bernhard-voelker.de>.
31526
31527 2015-09-04 Joseph Myers <joseph@codesourcery.com>
31528
31529 [BZ #14912]
31530 * bits/linkmap.h: Move to ...
31531 * sysdeps/generic/linkmap.h: ...here.
31532 * sysdeps/aarch64/bits/linkmap.h: Move to ...
31533 * sysdeps/aarch64/linkmap.h: ...here.
31534 * sysdeps/arm/bits/linkmap.h: Move to ...
31535 * sysdeps/arm/linkmap.h: ...here.
31536 * sysdeps/hppa/bits/linkmap.h: Move to ...
31537 * sysdeps/hppa/linkmap.h: ...here.
31538 * sysdeps/ia64/bits/linkmap.h: Move to ...
31539 * sysdeps/ia64/linkmap.h: ...here.
31540 * sysdeps/mips/bits/linkmap.h: Move to ...
31541 * sysdeps/mips/linkmap.h: ...here.
31542 * sysdeps/s390/bits/linkmap.h: Move to ...
31543 * sysdeps/s390/linkmap.h: ...here.
31544 * sysdeps/sh/bits/linkmap.h: Move to ...
31545 * sysdeps/sh/linkmap.h: ...here.
31546 * sysdeps/x86/bits/linkmap.h: Move to ...
31547 * sysdeps/x86/linkmap.h: ...here.
31548 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
31549
31550 2015-09-04 Andreas Schwab <schwab@suse.de>
31551
31552 [BZ #18635]
31553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
31554 (__makecontext): Terminate FDE before return label.
31555 (__novec_makecontext): Likewise.
31556
31557 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
31558
31559 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
31560 first member of struct sv in syscall macro.
31561
31562 2015-09-04 Joseph Myers <joseph@codesourcery.com>
31563
31564 [BZ #14912]
31565 * bits/stdio-lock.h: Move to ...
31566 * sysdeps/generic/stdio-lock.h: ...here.
31567 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31568 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
31569 * sysdeps/nptl/stdio-lock.h: ...here.
31570 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31571 * include/libio.h: Include <stdio-lock.h> instead of
31572 <bits/stdio-lock.h>.
31573 * sysdeps/nptl/fork.c: Likewise.
31574 * sysdeps/pthread/flockfile.c: Likewise.
31575 * sysdeps/pthread/ftrylockfile.c: Likewise.
31576 * sysdeps/pthread/funlockfile.c: Likewise.
31577
31578 [BZ #14912]
31579 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
31580 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
31581 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
31582 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
31583 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
31584 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
31585 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
31586
31587 2015-09-03 Roland McGrath <roland@hack.frob.com>
31588
31589 * elf/Makefile (test-xfail-tst-protected1a): New variable.
31590 (test-xfail-tst-protected1b): New variable.
31591
31592 2015-09-03 Joseph Myers <joseph@codesourcery.com>
31593
31594 [BZ #14912]
31595 * bits/libc-tsd.h: Move to ...
31596 * sysdeps/generic/libc-tsd.h: ...here.
31597 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
31598 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
31599 * sysdeps/mach/hurd/libc-tsd.h: ...here.
31600 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
31601 * include/ctype.h: Include <libc-tsd.h> instead of
31602 <bits/libc-tsd.h>.
31603 * include/rpc/rpc.h: Likewise.
31604 * locale/localeinfo.h: Likewise.
31605 * sunrpc/rpc_thread.c: Likewise.
31606 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31607 * sysdeps/nptl/malloc-machine.h: Likewise.
31608
31609 * Makefile (headers): Remove bits/libc-lock.h.
31610 * libio/Makefile (headers): Remove bits/stdio-lock.h.
31611
31612 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
31613 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
31614 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
31615 <bits/stdio-lock.h>.
31616 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
31617 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
31618
31619 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31620
31621 [BZ #18757]
31622 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
31623 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
31624 BZ #18757.
31625
31626 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31627
31628 * malloc/mtrace.pl: Filter out NULL entries.
31629
31630 2015-09-01 Joseph Myers <joseph@codesourcery.com>
31631
31632 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
31633 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
31634 macro.
31635
31636 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
31637 (TCP_CC_INFO): Likewise.
31638 (TCP_SAVE_SYN): Likewise.
31639 (TCP_SAVED_SYN): Likewise.
31640
31641 2015-08-31 Brett Neumeier <brett@neumeier.us>
31642
31643 [BZ #18870]
31644 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
31645
31646 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
31647
31648 [BZ #18873]
31649 Fix broken overflow check in posix_fallocate
31650 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
31651 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
31652 Fix parenthesization typo.
31653
31654 2015-08-28 Mike Frysinger <vapier@gentoo.org>
31655
31656 [BZ #18887]
31657 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
31658 tst-mntent-blank-passno.
31659 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
31660 * misc/tst-mntent-blank-corrupt.c: New test.
31661 * misc/tst-mntent-blank-passno.c: New test ripped from ...
31662 * misc/tst-mntent.c (do_test): ... here.
31663
31664 2015-08-29 Mike Frysinger <vapier@gentoo.org>
31665
31666 [BZ #4404]
31667 * po/de.po: Fix SIGALRM typo.
31668
31669 2015-08-28 James Perkins <james@loowit.net>
31670
31671 * time/tst-strptime2.c (tests): Replace short list of test
31672 strings for strptime %z specifier with code which exhaustively
31673 tests every combination of sign and 0 to 5 digits. Tests for
31674 rejection of invalid strings.
31675
31676 2015-08-28 James Perkins <james@loowit.net>
31677
31678 [BZ #16141]
31679 * time/strptime_l.c (__strptime_internal): Fix %z minutes
31680 calculation, removing incorrect decimal time rounding, so that
31681 all minute values result in a valid seconds value.
31682 * time/strptime_l.c (__strptime_internal): Extend %z time zone
31683 offset range limits to UTC-99:59 through UTC+99:59 to parse
31684 current and historical use cases.
31685 * time/tst-strptime2.c (tests): Modify and add tests for the
31686 strptime %z input field descriptor, specifically conversion of
31687 minutes to seconds and validating an offset range of -9959 to
31688 +9959.
31689
31690 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31691 Dmitry V. Levin <ldv@altlinux.org>
31692
31693 [BZ #18877]
31694 * posix/Makefile (tests): Add tst-mmap-offset.
31695 * posix/tst-mmap.c: New file.
31696 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
31697 offset calculation for negative values.
31698
31699 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31700
31701 * sysdeps/i386/init-arch.h: New file.
31702 * sysdeps/i386/i586/init-arch.h: Likewise.
31703 * sysdeps/i386/i686/init-arch.h: Likewise.
31704 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
31705 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
31706 * sysdeps/x86/cpu-features.h (bit_I586): New.
31707 (bit_I686): Likewise.
31708 (bit_CX8): Likewise.
31709 (bit_CMOV): Likewise.
31710 (index_CX8): Likewise.
31711 (index_CMOV): Likewise.
31712 (index_I586): Likewise.
31713 (index_I686): Likewise.
31714 (reg_CX8): Likewise.
31715 (reg_CMOV): Likewise.
31716 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
31717 available at compile-time.
31718 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
31719 available at compile-time.
31720 * sysdeps/x86/init-arch.h (USE_I586): New macro.
31721 (USE_I686): Likewise.
31722
31723 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31724
31725 * sysdeps/i386/bcopy.S: New file.
31726 * sysdeps/i386/bzero.S: Likewise.
31727 * sysdeps/i386/memcpy.S: Likewise.
31728 * sysdeps/i386/memmove.S: Likewise.
31729 * sysdeps/i386/mempcpy.S: Likewise.
31730 * sysdeps/i386/memset.S: Likewise.
31731 * sysdeps/i386/bzero.c: Removed.
31732 * sysdeps/i386/memset.c: Likewise.
31733 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
31734 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
31735 * sysdeps/i386/i586/memset_chk.S: Likewise.
31736 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
31737 * sysdeps/i386/memcpy_chk.S: Here.
31738 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
31739 * sysdeps/i386/memmove_chk.S: Here.
31740 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
31741 * sysdeps/i386/mempcpy_chk.S: Likewise.
31742 * sysdeps/i386/i686/memset_chk.S: Moved to ...
31743 * sysdeps/i386/memset_chk.S: Likewise.
31744
31745 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
31746
31747 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
31748 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
31749 file, move DIAG_POP_NEEDS_COMMENT to end of file.
31750 * soft-fp/fmadf4.c: Ditto.
31751 * soft-fp/fmatf4.c: Ditto.
31752
31753 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31754
31755 * sysdeps/i386/i586/Implies: Removed.
31756 * sysdeps/i386/i686/Implies: Likewise.
31757
31758 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31759
31760 * sysdeps/i386/i486/strlen.S: Moved to ...
31761 * sysdeps/i386/strlen.S: Here.
31762
31763 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31764
31765 * sysdeps/i386/i486/strcat.S: Moved to ...
31766 * sysdeps/i386/strcat.S: Here.
31767
31768 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31769
31770 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
31771 * sysdeps/i386/pthread_spin_trylock.S: Here.
31772 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
31773 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
31774
31775 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31776
31777 * sysdeps/i386/i486/string-inlines.c: Moved to ...
31778 * sysdeps/i386/string-inlines.c: Here.
31779
31780 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31781
31782 * sysdeps/i386/i486/htonl.S: Moved ...
31783 * sysdeps/i386/htonl.S: here.
31784
31785 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31786
31787 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
31788 * sysdeps/i386/bits/atomic.h: Here.
31789
31790 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31791
31792 * sysdeps/i386/i486/Versions: Removed.
31793
31794 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
31795
31796 [BZ #2898]
31797 * misc/mktemp.c: Add mkdtemp to the link_warning message.
31798 Based on patch by Aurelien Jarno.
31799
31800 2015-08-26 Stan Shebs <stanshebs@google.com>
31801
31802 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
31803 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31804
31805 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
31806
31807 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
31808 * sysdeps/powerpc/dl-procinfo.c:
31809 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
31810 feature so it shows when LD_SHOW_AUXV=1.
31811
31812 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
31813
31814 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
31815 (__arch_compare_and_exchange_val_32_acq): Remove and use common
31816 definition. ISA 2.07B no longer requires full sync.
31817
31818 2015-08-26 Mike Frysinger <vapier@gentoo.org>
31819
31820 [BZ #18863]
31821 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
31822 (si_call_addr): Define.
31823 (si_syscall): Define.
31824 (si_arch): Define.
31825
31826 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
31827
31828 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
31829 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
31830 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
31831 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
31832 (__memset_zero_constant_len_parameter): New.
31833 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
31834 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
31835 (__memset_zero_constant_len_parameter): Don't define if
31836 __memset_chk or USE_AS_BZERO are defined.
31837
31838 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
31839 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
31840 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
31841
31842 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
31843 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
31844 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
31845 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
31846 comments.
31847 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
31848 -mno-mmx for $(all-rtld-routines).
31849 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
31850 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
31851 i386.
31852
31853 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
31854
31855 * sysdeps/generic/unwind.h
31856 (_Unwind_Word): Use __mode__(__unwind_word__)
31857 instead of __mode__(__word__).
31858 (_Unwind_Sword): Likewise.
31859
31860 * sysdeps/s390/s390-64/utf8-utf16-z9.c
31861 (MAX_NEEDED_INPUT): New define.
31862 (MAX_NEEDED_OUTPUT): New define.
31863
31864 * NEWS: New item for IBM z13 string optimizations.
31865
31866 * sysdeps/s390/multiarch/memrchr-c.c: New File.
31867 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
31868 * sysdeps/s390/multiarch/memrchr.c: Likewise.
31869 * sysdeps/s390/multiarch/Makefile
31870 (sysdep_routines): Add memrchr functions.
31871 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31872 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
31873
31874 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
31875 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
31876 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
31877 * sysdeps/s390/multiarch/Makefile
31878 (sysdep_routines): Add wmemcmp functions.
31879 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31880 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
31881 * benchtests/bench-wmemcmp.c: New File.
31882 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
31883
31884 * sysdeps/s390/multiarch/wmemset-c.c: New File.
31885 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
31886 * sysdeps/s390/multiarch/wmemset.c: Likewise.
31887 * sysdeps/s390/multiarch/Makefile
31888 (sysdep_routines): Add wmemset functions.
31889 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31890 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
31891 * wcsmbs/wmemset.c: Use WMEMSET if defined.
31892 * string/test-memset.c: Add wmemset support.
31893 * wcsmbs/test-wmemset.c: New File.
31894 * wcsmbs/Makefile (strop-tests): Add wmemset.
31895 * benchtests/bench-memset.c: Add wmemset support.
31896 * benchtests/bench-wmemset.c: New File.
31897 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
31898
31899 * sysdeps/s390/multiarch/memccpy-c.c: New File.
31900 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
31901 * sysdeps/s390/multiarch/memccpy.c: Likewise.
31902 * sysdeps/s390/multiarch/Makefile
31903 (sysdep_routines): Add memccpy functions.
31904 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31905 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
31906 * string/memccpy.c: Use MEMCCPY if defined.
31907
31908 * sysdeps/s390/multiarch/memchr-vx.S: New File.
31909 * sysdeps/s390/multiarch/memchr.c: Likewise.
31910 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
31911 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
31912 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
31913 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
31914 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
31915 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
31916 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
31917 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
31918 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
31919 and rawmemchr functions.
31920 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31921 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
31922 and wmemchr.
31923 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
31924 * string/test-memchr.c: Add wmemchr support.
31925 * wcsmbs/test-wmemchr.c: New File.
31926 * wcsmbs/Makefile (strop-tests): Add wmemchr.
31927 * benchtests/bench-memchr.c: Add wmemchr support.
31928 * benchtests/bench-wmemchr.c: New File.
31929 * benchtests/Makefile (wcsmbs-bench): wmemchr.
31930
31931 * sysdeps/s390/multiarch/strcspn-c.c: New File.
31932 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
31933 * sysdeps/s390/multiarch/strcspn.c: Likewise.
31934 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
31935 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
31936 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
31937 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
31938 wcscspn functions.
31939 * sysdeps/s390/multiarch/ifunc-impl-list.c
31940 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
31941 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
31942 * string/test-strcspn.c: Add wcscspn support.
31943 * wcsmbs/test-wcscspn.c: New File.
31944 * wcsmbs/Makefile (strop-tests): Add wcscspn.
31945 * benchtests/bench-strcspn.c: Add wcscspn support.
31946 * benchtests/bench-wcscspn.c: New File.
31947 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
31948
31949 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
31950 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
31951 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
31952 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
31953 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
31954 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
31955 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
31956 wcspbrk functions.
31957 * sysdeps/s390/multiarch/ifunc-impl-list.c
31958 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
31959 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
31960 * string/test-strpbrk.c: Add wcspbrk support.
31961 * wcsmbs/test-wcspbrk.c: New File.
31962 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
31963 * benchtests/bench-strpbrk.c: Add wcspbrk support.
31964 * benchtests/bench-wcspbrk.c: New File.
31965 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
31966
31967 * sysdeps/s390/multiarch/strspn-c.c: New File.
31968 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
31969 * sysdeps/s390/multiarch/strspn.c: Likewise.
31970 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
31971 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
31972 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
31973 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
31974 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
31975 wcsspn functions.
31976 * sysdeps/s390/multiarch/ifunc-impl-list.c
31977 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
31978 * string/test-strspn.c: Add wcsspn support.
31979 * wcsmbs/test-wcsspn.c: New File.
31980 * wcsmbs/Makefile (strop-tests): Add wcsspn.
31981 * benchtests/bench-strspn.c: Add wcsspn support.
31982 * benchtests/bench-wcsspn.c: New File.
31983 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
31984
31985 * sysdeps/s390/multiarch/strrchr-c.c: New File.
31986 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
31987 * sysdeps/s390/multiarch/strrchr.c: Likewise.
31988 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
31989 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
31990 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
31991 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
31992 wcsrchr functions.
31993 * sysdeps/s390/multiarch/ifunc-impl-list.c
31994 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
31995 * benchtests/bench-wcsrchr.c: New File.
31996 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
31997
31998 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
31999 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
32000 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
32001 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
32002 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
32003 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
32004 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
32005 wcschrnul functions.
32006 * sysdeps/s390/multiarch/ifunc-impl-list.c
32007 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
32008 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
32009 * string/test-strchr.c: Add wcschrnul support.
32010 * wcsmbs/test-wcschrnul.c: New File.
32011 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
32012 * benchtests/bench-strchr.c: Add wcschrnul support.
32013 * benchtests/bench-wcschrnul.c: New File.
32014 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
32015
32016 * sysdeps/s390/multiarch/strchr-c.c: New File.
32017 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
32018 * sysdeps/s390/multiarch/strchr.c: Likewise.
32019 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
32020 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
32021 * sysdeps/s390/multiarch/wcschr.c: Likewise.
32022 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
32023 wcschr functions.
32024 * sysdeps/s390/multiarch/ifunc-impl-list.c
32025 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
32026 * string/strchr.c (STRCHR): Define and use macro.
32027 * benchtests/bench-wcschr.c: New File.
32028 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
32029
32030 * sysdeps/s390/multiarch/strncmp-c.c: New File.
32031 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
32032 * sysdeps/s390/multiarch/strncmp.c: Likewise.
32033 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
32034 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
32035 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
32036 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
32037 wcsncmp functions.
32038 * sysdeps/s390/multiarch/ifunc-impl-list.c
32039 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
32040 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
32041 * benchtests/bench-strncmp.c: Add wcsncmp support.
32042 * benchtests/bench-wcsncmp.c: New File.
32043 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
32044
32045 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
32046 * sysdeps/s390/multiarch/strcmp.c: Likewise.
32047 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
32048 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
32049 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
32050 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
32051 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
32052 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
32053 wcscmp functions.
32054 * sysdeps/s390/multiarch/ifunc-impl-list.c
32055 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
32056 * string/strcmp.c (STRCMP): Define and use macro.
32057 * benchtests/bench-wcscmp.c: New File.
32058 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
32059 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
32060 instead of _HAVE_STRING_ARCH_memchr.
32061
32062 * sysdeps/s390/multiarch/strncat-c.c: New File.
32063 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
32064 * sysdeps/s390/multiarch/strncat.c: Likewise.
32065 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
32066 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
32067 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
32068 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
32069 wcsncat functions.
32070 * sysdeps/s390/multiarch/ifunc-impl-list.c
32071 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
32072 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
32073 * string/test-strncat.c: Add wcsncat support.
32074 * wcsmbs/test-wcsncat.c: New File.
32075 * wcsmbs/Makefile (strop-tests): Add wcsncat.
32076 * benchtests/bench-strncat.c: Add wcsncat support.
32077 * benchtests/bench-wcsncat.c: New File.
32078 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
32079
32080 * sysdeps/s390/multiarch/strcat-c.c: New File.
32081 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
32082 * sysdeps/s390/multiarch/strcat.c: Likewise.
32083 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
32084 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
32085 * sysdeps/s390/multiarch/wcscat.c: Likewise.
32086 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
32087 wcscat functions.
32088 * sysdeps/s390/multiarch/ifunc-impl-list.c
32089 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
32090 * string/strcat.c (STRCAT): Define and use macro.
32091 * wcsmbs/wcscat.c: Use WCSCAT if defined.
32092 * string/test-strcat.c: Add wcscat support.
32093 * wcsmbs/test-wcscat.c: New File.
32094 * wcsmbs/Makefile (strop-tests): Add wcscat.
32095 * benchtests/bench-strcat.c: Add wcscat support.
32096 * benchtests/bench-wcscat.c: New File.
32097 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
32098
32099 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
32100 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
32101 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
32102 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
32103 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
32104 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
32105 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
32106 wcpncpy functions.
32107 * sysdeps/s390/multiarch/ifunc-impl-list.c
32108 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
32109 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
32110 * string/test-stpncpy.c: Add wcpncpy support.
32111 * wcsmbs/test-wcpncpy.c: New File.
32112 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
32113 * benchtests/bench-stpncpy.c: Add wcpncpy support.
32114 * benchtests/bench-wcpncpy.c: New File.
32115 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
32116
32117 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
32118 * sysdeps/s390/multiarch/strncpy.c: Likewise.
32119 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
32120 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
32121 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
32122 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
32123 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
32124 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
32125 wcsncpy functions.
32126 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
32127 * sysdeps/s390/multiarch/ifunc-impl-list.c
32128 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
32129 * string/test-strncpy.c: Add wcsncpy support.
32130 * wcsmbs/test-wcsncpy.c: New File.
32131 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
32132 * benchtests/bench-strncpy.c: Add wcsncpy support.
32133 * benchtests/bench-wcsncpy.c: New File.
32134 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
32135
32136 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
32137 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
32138 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
32139 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
32140 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
32141 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
32142 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
32143 wcpcpy functions.
32144 * string/stpcpy.c: Use STPCPY if defined.
32145 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
32146 * sysdeps/s390/multiarch/ifunc-impl-list.c
32147 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
32148 * string/test-stpcpy.c: Add wcpcpy support.
32149 * wcsmbs/test-wcpcpy.c: New File.
32150 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
32151 * benchtests/bench-stpcpy.c: Add wcpcpy support.
32152 * benchtests/bench-wcpcpy.c: New File.
32153 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
32154
32155 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
32156 * sysdeps/s390/multiarch/strcpy.c: Likewise.
32157 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
32158 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
32159 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
32160 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
32161 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
32162 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
32163 wcscpy functions.
32164 * sysdeps/s390/multiarch/ifunc-impl-list.c
32165 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
32166 * benchtests/bench-wcscpy.c: New File.
32167 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
32168
32169 * sysdeps/s390/multiarch/strnlen-c.c: New File.
32170 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
32171 * sysdeps/s390/multiarch/strnlen.c: Likewise.
32172 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
32173 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
32174 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
32175 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
32176 wcsnlen functions.
32177 * sysdeps/s390/multiarch/ifunc-impl-list.c
32178 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
32179 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
32180 * string/test-strnlen.c: Add wcsnlen support.
32181 * wcsmbs/test-wcsnlen.c: New File.
32182 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
32183 * benchtests/bench-strnlen.c: Add wcsnlen support.
32184 * benchtests/bench-wcsnlen.c: New File.
32185 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
32186
32187 * sysdeps/s390/multiarch/Makefile: New File.
32188 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
32189 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
32190 * sysdeps/s390/multiarch/strlen.c: Likewise.
32191 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
32192 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
32193 * sysdeps/s390/multiarch/wcslen.c: Likewise.
32194 * string/strlen.c (STRLEN): Define and use macro.
32195 * sysdeps/s390/multiarch/ifunc-impl-list.c
32196 (IFUNC_VX_IMPL): New macro function.
32197 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
32198 * benchtests/Makefile (wcsmbs-bench): New variable.
32199 (string-bench-all): Added wcsmbs-bench.
32200 * benchtests/bench-wcslen.c: New File.
32201
32202 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
32203 s390_vx_libc_ifunc2): New macro function.
32204
32205 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
32206 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
32207 assembler support.
32208 * sysdeps/s390/configure: Regenerated.
32209
32210 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
32211 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32212
32213 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
32214 * sysdeps/s390/dl-procinfo.h: Add vector capability.
32215 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
32216
32217 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
32218 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
32219 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
32220 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
32221 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
32222 (memcmp, bcmp): Use __memcmp_default as alias source.
32223 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
32224 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
32225 Rename to __memcmp_default.
32226 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
32227 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
32228 (memcpy): Use __memcpy_default as alias source.
32229 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
32230 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
32231 Rename to __memcpy_default.
32232 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
32233 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
32234 (memset): Use __memset_default as alias source.
32235 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
32236 * sysdeps/s390/s390-32/memset.S (__memset_g5):
32237 Rename to __memset_default.
32238 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
32239 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
32240 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
32241 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
32242 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
32243 (memcmp, bcmp): Use __memcmp_default as alias source.
32244 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
32245 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
32246 Rename to __memcmp_default.
32247 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
32248 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
32249 (memcpy): Use __memcpy_default as alias source.
32250 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
32251 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
32252 Rename to __memcpy_default.
32253 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
32254 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
32255 (memset): Use __memset_default as alias source.
32256 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
32257 * sysdeps/s390/s390-64/memset.S (__memset_z900):
32258 Rename to __memset_default.
32259 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
32260 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
32261
32262 [BZ #18610]
32263 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
32264 __ieee_instruction_pointer to __unused.
32265 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
32266 __ieee_instruction_pointer.
32267 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
32268 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
32269 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32270 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32271 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
32272 Mark dxc-field as reserved.
32273
32274 2015-08-25 Roland McGrath <roland@hack.frob.com>
32275
32276 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
32277 if the weak reference is not null.
32278
32279 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32280
32281 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
32282
32283 [BZ #11214]
32284 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
32285
32286 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32287
32288 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
32289 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
32290 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
32291 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
32292 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
32293 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
32294 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
32295 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
32296 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
32297 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
32298 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
32299 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
32300 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
32301 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
32302 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
32303 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
32304 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
32305 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
32306
32307 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
32308
32309 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
32310 register other than r0 for tabort, it has special meaning.
32311 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
32312 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
32313 transaction before starting syscall.
32314
32315 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32316
32317 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
32318
32319 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32320
32321 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
32322
32323 * sysdeps/x86_64/rtld-memcmp.c: Removed.
32324 * sysdeps/x86_64/rtld-memset.S: Likewise.
32325 * sysdeps/x86_64/rtld-strchr.S: Likewise.
32326 * sysdeps/x86_64/rtld-strlen.S: Likewise.
32327 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
32328 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32329
32330 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
32331
32332 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
32333
32334 * debug/strcpy_chk.c: Improve performance.
32335 * debug/stpcpy_chk.c: Likewise.
32336 * sysdeps/x86_64/strcpy_chk.S: Remove.
32337 * sysdeps/x86_64/stpcpy_chk.S: Remove.
32338
32339 [BZ #18240]
32340 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
32341
32342 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32343
32344 [BZ #15128]
32345 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
32346 ifuncmain8.
32347 (modules-names): Add ifuncmod8.
32348 ($(objpfx)ifuncmain8): New rule.
32349 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
32350 <cpuid.h>.
32351 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
32352 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
32353 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
32354 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
32355 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
32356 * sysdeps/x86_64/dl-trampoline.h: Likewise.
32357 * sysdeps/x86_64/ifuncmain8.c: New file.
32358 * sysdeps/x86_64/ifuncmod8.c: Likewise.
32359 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
32360 Removed.
32361 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
32362 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
32363 Change rtld_savespace_sse to __glibc_unused2.
32364 (RTLD_CHECK_FOREIGN_CALL): Removed.
32365 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
32366 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
32367 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
32368
32369 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
32370
32371 * sysdeps/aarch64/bzero.S (__bzero): Remove.
32372
32373 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
32374
32375 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
32376 Unconditionally set __fpcr to avoid uninialized warning.
32377 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
32378
32379 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32380
32381 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
32382 is corrupt.
32383
32384 * malloc/arena.c (arena_get2): Drop unused argument.
32385 (arena_lock): Adjust.
32386 (arena_get_retry): Likewise.
32387
32388 2015-08-24 Andreas Schwab <schwab@suse.de>
32389
32390 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
32391 Don't define.
32392 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
32393 (__ASSUME_IPC64): Don't undef.
32394 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
32395 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32396 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32397 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
32398 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
32399 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
32400 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
32401 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
32402 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
32403 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
32404 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
32405 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
32406 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
32407 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
32408 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
32409 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
32410 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
32411 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
32412 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
32413 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
32414 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
32415
32416 2015-08-21 Mike Frysinger <vapier@gentoo.org>
32417
32418 * manual/Makefile (install): Only build manual when perl is available.
32419
32420 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32421
32422 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
32423 '#undef memcpy' by '#undef memchr'.
32424
32425 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32426
32427 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
32428 memchr not point to the internal __GI_memchr implementation.
32429
32430 2015-08-20 Joseph Myers <joseph@codesourcery.com>
32431
32432 * timezone/Makefile (CFLAGS-zdump.c): Remove
32433 -Wno-strict-prototypes.
32434 (CFLAGS-zic.c): Likewise.
32435 (CFLAGS-ialloc.c): Likewise.
32436 (CFLAGS-scheck.c): Likewise.
32437
32438 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
32439 -Wno-error=undef.
32440
32441 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32442
32443 * i386/i686/multiarch/strcasestr-c.c: Removed.
32444 * x86_64/multiarch/strcasestr.c: Likewise.
32445 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32446 Remove strcasestr.
32447
32448 2015-08-20 Joseph Myers <joseph@codesourcery.com>
32449
32450 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
32451
32452 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
32453 variables for high and low parts before possibly modifying them.
32454
32455 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32456
32457 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
32458 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
32459 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
32460 of "multiarch/init-arch.h".
32461 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
32462 * sysdeps/x86/init-arch.h: This.
32463
32464 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32465
32466 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
32467 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
32468
32469 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
32470
32471 [BZ #17787]
32472 * manual/macros.texi: Add twoexp macro.
32473 * manual/filesys.texi: Fix exponents.
32474 * manual/llio.texi: Likewise.
32475 * manual/stdio.texi: Likewise.
32476
32477 2015-08-20 Florian Weimer <fweimer@redhat.com>
32478
32479 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
32480 incorrect use.
32481
32482 2015-08-19 Joseph Myers <joseph@codesourcery.com>
32483
32484 [BZ #18370]
32485 * math/s_csqrt.c (__csqrt): Force underflow exception for results
32486 whose real or imaginary part has small absolute value.
32487 * math/s_csqrtf.c (__csqrtf): Likewise.
32488 * math/s_csqrtl.c (__csqrtl): Likewise.
32489 * math/auto-libm-test-in: Add more tests of csqrt.
32490 * math/auto-libm-test-out: Regenerated.
32491 * sysdeps/i386/fpu/libm-test-ulps: Update.
32492
32493 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32494
32495 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
32496 __ppc_set_ppr_very_low): New functions.
32497 * manual/platform.texi: Add documentation about
32498 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
32499
32500 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
32501
32502 * string/stpncpy.c (stpncpy): Improve performance using
32503 __strnlen/memcpy/memset.
32504
32505 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
32506
32507 [BZ #18796]
32508 * scripts/test-installation.pl: Don't add -lmvec to build options if
32509 libmvec wasn't built.
32510
32511 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
32512
32513 [BZ #14341]
32514 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
32515 case when there is a gap between DT_REL and DT_JMPREL sections.
32516 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
32517 (LDFLAGS-tst-split-dynreloc): New.
32518 (tst-split-dynreloc-ENV): Likewise.
32519 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
32520 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
32521
32522 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32523
32524 [BZ #18822]
32525 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
32526 attribute_hidden.
32527 (__xstat64_conv): Likewise.
32528 (__xstat32_conv): Likewise.
32529
32530 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32531
32532 [BZ #18822]
32533 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
32534 Don't load %ebx when calling __setcontext. Call __setcontext
32535 with HIDDEN_JUMPTARGET.
32536 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
32537 libc_hidden_def.
32538
32539 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32540
32541 * sysdeps/i386/i686/Makefile
32542 [$(subdir) == string] (sysdep_routines): Moved to ...
32543 * sysdeps/i386/Makefile: Here.
32544 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
32545 * sysdeps/i386/cacheinfo.c: Here.
32546 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
32547 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
32548 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
32549 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
32550
32551 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32552
32553 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
32554 __i586__ is defined.
32555 (HAS_I686): Defined to 1 if __i686__ is defined.
32556
32557 2015-08-19 Joseph Myers <joseph@codesourcery.com>
32558
32559 * elf/Makefile [$(have-z-execstack) = yes]
32560 (CPPFLAGS-tst-execstack.c): New variable.
32561
32562 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
32563 conditional to [defined UTMPX || _HAVE_UT_TYPE].
32564 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
32565 UTMPX || _HAVE_UT_TV].
32566 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
32567 UTMPX || _HAVE_UT_TV - 0].
32568
32569 2015-08-18 Joseph Myers <joseph@codesourcery.com>
32570
32571 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
32572 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
32573 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
32574
32575 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32576
32577 * sysdeps/powerpc/dl-procinfo.c:
32578 (_dl_powerpc_cap_flags): Added missing strings for some
32579 hwcap features.
32580 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
32581
32582 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
32583
32584 Port the 0x7efe...feff pattern to GCC 6.
32585 See Steve Ellcey's bug report in:
32586 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
32587 * string/memrchr.c (MEMRCHR):
32588 * string/rawmemchr.c (RAWMEMCHR):
32589 * string/strchr.c (strchr):
32590 * string/strchrnul.c (STRCHRNUL):
32591 Rewrite code to avoid issues with signed shift overflow.
32592
32593 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
32594
32595 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
32596 whether cpuid is available only if HAS_CPUID is 0.
32597 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
32598 (HAS_I586): Likewise.
32599 (HAS_I686): Likewise.
32600
32601 2015-08-18 Zack Weinberg <zackw@panix.com>
32602
32603 * misc/Versions (libc): Add GLIBC_2.23.
32604
32605 2015-08-18 Alan Modra <amodra@gmail.com>
32606
32607 [BZ #18421]
32608 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
32609 .Lp__global.
32610 (_start): Load %dp via .Lp__global.
32611 [!SHARED]: Use .section .rodata.
32612
32613 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32614
32615 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
32616 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
32617
32618 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32619
32620 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
32621 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
32622
32623 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32624
32625 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
32626 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
32627
32628 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32629
32630 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
32631 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
32632
32633 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32634
32635 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
32636 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
32637
32638 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32639
32640 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
32641 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
32642
32643 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32644
32645 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
32646
32647 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32648
32649 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
32650 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
32651 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32652 (__ASSUME_LWS_CAS): Delete.
32653
32654 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32655
32656 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
32657 * sysdeps/hppa/configure: Regenerated.
32658 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
32659 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
32660 * sysdeps/hppa/nptl/tls.h: Likewise.
32661
32662 2015-08-17 Joseph Myers <joseph@codesourcery.com>
32663
32664 [BZ #18823]
32665 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
32666 for scaling up small arguments.
32667 * math/s_csqrtf.c (__csqrtf): Likewise.
32668 * math/s_csqrtl.c (__csqrtl): Likewise.
32669 * math/auto-libm-test-in: Add more tests of csqrt.
32670 * math/auto-libm-test-out: Regenerated.
32671
32672 2015-08-17 Andreas Schwab <schwab@suse.de>
32673
32674 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
32675 version set GLIBC_2.19.
32676
32677 2015-08-16 Zack Weinberg <zackw@panix.com>
32678
32679 [BZ #18681]
32680 * misc/regexp.h: This interface is no longer supported.
32681 Remove all contents, leaving only an #error directive.
32682 * misc/regexp.c (loc1, loc2, locs, step, advance):
32683 Demote to compatibility symbols.
32684
32685 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
32686
32687 [BZ #18084]
32688 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
32689 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
32690 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
32691 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
32692 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
32693 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
32694 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
32695 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
32696 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
32697
32698 2015-08-15 Zack Weinberg <zackw@panix.com>
32699
32700 [BZ #18795]
32701 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
32702 buffer length is known to be too large, not if it's known to be
32703 small enough.
32704 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
32705 overflow at runtime, involving a length parameter, twice: once
32706 with a compile-time constant length parameter, once without.
32707
32708 2015-08-14 Joseph Myers <joseph@codesourcery.com>
32709
32710 [BZ #18824]
32711 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
32712 scaling x * y up instead of down.
32713 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32714 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32715 * math/auto-libm-test-in: Add more tests of fma.
32716 * math/auto-libm-test-out: Regenerated.
32717
32718 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
32719
32720 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32721
32722 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32723
32724 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
32725 unnecessary movq.
32726 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
32727 Likewise.
32728
32729 2015-08-13 Joseph Myers <joseph@codesourcery.com>
32730
32731 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
32732 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
32733 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
32734 and tgamma.
32735 * math/auto-libm-test-out: Regenerated.
32736 * sysdeps/i386/fpu/libm-test-ulps: Update.
32737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32738
32739 [BZ #16520]
32740 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
32741 (__tanh): Force underflow exception for arguments with small
32742 absolute value.
32743 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
32744 (__tanhf): Force underflow exception for arguments with small
32745 absolute value.
32746 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
32747 (__tanhl): Force underflow exception for arguments with small
32748 absolute value.
32749 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
32750 (__tanhl): Force underflow exception for arguments with small
32751 absolute value.
32752 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
32753 (__tanhl): Force underflow exception for arguments with small
32754 absolute value.
32755 * math/auto-libm-test-in: Add more tests of tanh.
32756 * math/auto-libm-test-out: Regenerated.
32757 * sysdeps/i386/fpu/libm-test-ulps: Update.
32758
32759 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32760
32761 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
32762 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
32763
32764 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32765
32766 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
32767 <cpuid.h>.
32768
32769 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32770
32771 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
32772 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
32773
32774 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32775
32776 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
32777 Remove $(objpfx)init-arch.o.
32778 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
32779 init-arch.
32780 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
32781 (INIT_ARCH_EXT): Defined as empty.
32782 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
32783 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
32784 __init_cpu_features call. Replace HAS_XXX with
32785 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32786 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
32787 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
32788 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
32789 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
32790 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
32791 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
32792 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
32793 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
32794 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
32795 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
32796 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
32797 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
32798 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
32799 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
32800 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
32801 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
32802 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
32803 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
32804 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
32805 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
32806 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
32807 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
32808 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
32809 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
32810 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
32811 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
32812 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
32813 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
32814 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
32815 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
32816 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
32817 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
32818 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
32819 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
32820 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
32821
32822 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32823
32824 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
32825 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32826 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
32827 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
32828 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
32829 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
32830 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
32831 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
32832 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
32833 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
32834 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
32835 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
32836 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32837 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32838 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32839 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32840 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32841 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32842 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32843 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32844 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32845 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32846 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32847 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32848 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32849 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32850 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32851 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32852 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32853 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32854 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32855 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32856 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32857 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32858 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32859 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32860 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32861 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32862 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32863 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32864 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32865 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32866 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32867
32868 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32869
32870 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
32871 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32872 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32873 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32874 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32875 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32876 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32877 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
32878 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32879 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32880 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32881 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
32882 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
32883 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
32884 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
32885 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
32886 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
32887 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
32888 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
32889 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
32890 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
32891 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
32892 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
32893 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32894 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32895 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
32896 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
32897 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
32898 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32899 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32900 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32901 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32902 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32903 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32904 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32905 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32906 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32907 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32908 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32909 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32910 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32911 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32912 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32913
32914 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32915
32916 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
32917 (dl_platform_init): Call init_cpu_features.
32918 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
32919 * sysdeps/i386/i686/cacheinfo.c
32920 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
32921 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
32922 * sysdeps/i386/i686/multiarch/Versions: Removed.
32923 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
32924 Removed.
32925 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
32926 * sysdeps/unix/sysv/linux/x86/Makefile
32927 (libpthread-sysdep_routines): Remove init-arch.
32928 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
32929 <sysdeps/x86_64/dl-procinfo.c> instead of
32930 sysdeps/generic/dl-procinfo.c>.
32931 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
32932 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
32933 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
32934 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
32935 [$(subdir) == elf] (tests-static): Add
32936 tst-get-cpu-features-static.
32937 * sysdeps/x86/Versions: New file.
32938 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
32939 * sysdeps/x86/cpu-features.c: Likewise.
32940 * sysdeps/x86/cpu-features.h: Likewise.
32941 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
32942 * sysdeps/x86/libc-start.c: Likewise.
32943 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
32944 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
32945 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
32946 * sysdeps/x86_64/dl-procinfo.c: Likewise.
32947 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
32948 Assume USE_MULTIARCH is defined and don't check it.
32949 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
32950 (is_amd): Likewise.
32951 (max_cpuid): Likewise.
32952 (intel_check_word): Likewise.
32953 (__cache_sysconf): Don't call __init_cpu_features.
32954 (__x86_preferred_memory_instruction): Removed.
32955 (init_cacheinfo): Don't call __init_cpu_features. Replace
32956 __cpu_features with GLRO(dl_x86_cpu_features).
32957 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
32958 (dl_platform_init): Call init_cpu_features.
32959 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
32960 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
32961 * sysdeps/x86_64/multiarch/Versions: Removed.
32962 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
32963 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
32964 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
32965 Removed.
32966 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
32967
32968 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
32969
32970 [BZ #18820]
32971 * libio/Makefile (test-fmemopen-mem): New test.
32972 * libio/test-fmemopen.c (do_bz18820): New test.
32973 * libio/fmemopen.c (__fmemopen): Fix memory leak.
32974 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
32975
32976 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
32977
32978 [BZ #16734]
32979 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
32980 (FREE_BUF): Delete.
32981 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
32982 * libio/genops.c (_IO_setb): Use malloc and free directly.
32983 (_IO_default_doallocate, _IO_default_finish): Likewise.
32984 ( _IO_unbuffer_all): Likewise.
32985 ( libc_freeres_fn): Likewise.
32986 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
32987 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
32988 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
32989 (_IO_wdefault_doallocate): Likewise.
32990
32991 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
32992
32993 [BZ #18086]
32994 * sysdeps/posix/nice.c (nice): Restore old errno.
32995 * posix/tst-nice.c (do_test): Add test for BZ #18086.
32996
32997 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
32998
32999 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
33000
33001 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33002
33003 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
33004 __bcopy and add a weak_alias to bcopy.
33005 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
33006 for static build.
33007
33008 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
33009 cleanup macro usage.
33010 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
33011 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
33012 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
33013 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
33014 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
33015 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
33016 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
33017 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33018 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
33019 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
33020 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33021 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
33022 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33023 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
33024 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
33025 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
33026 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
33027 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
33028 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33029
33030 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
33031 libc_hidden_def.
33032 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
33033
33034 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
33035 (sysdep_routines): Add strstr-ppc64.
33036 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
33037
33038 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
33039
33040 [BZ #18778]
33041 * elf/Makefile (tests): Add Add tst-nodelete2.
33042 (modules-names): Add tst-nodelete2mod.
33043 (tst-nodelete2mod.so-no-z-defs): New.
33044 ($(objpfx)tst-nodelete2): Likewise.
33045 ($(objpfx)tst-nodelete2.out): Likewise.
33046 (LDFLAGS-tst-nodelete2): Likewise.
33047 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
33048 out of loop through all loaded libraries.
33049 * elf/tst-nodelete2.c: New file.
33050 * elf/tst-nodelete2mod.c: Likewise.
33051 * elf/tst-znodelete-zlib.cc: Delete.
33052
33053 2015-08-11 Andreas Schwab <schwab@suse.de>
33054
33055 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
33056 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
33057 (__openat64_nocancel): Likewise.
33058
33059 2015-08-11 Joseph Myers <joseph@codesourcery.com>
33060
33061 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
33062 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
33063 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
33064 * math/auto-libm-test-out: Regenerated.
33065 * sysdeps/i386/fpu/libm-test-ulps: Update.
33066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33067
33068 2015-08-10 Joseph Myers <joseph@codesourcery.com>
33069
33070 [BZ #18790]
33071 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
33072 threshold for returning +/- 1.
33073 * math/auto-libm-test-in: Add more tests of tanh.
33074 * math/auto-libm-test-out: Regenerated.
33075 * sysdeps/i386/fpu/libm-test-ulps: Update.
33076
33077 2015-08-10 Andreas Schwab <schwab@suse.de>
33078
33079 [BZ #18781]
33080 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
33081 MORE_OFLAGS to oflag.
33082 * io/test-lfs.c (do_test): Test openat64.
33083
33084 2015-08-10 Joseph Myers <joseph@codesourcery.com>
33085
33086 [BZ #18789]
33087 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
33088 smaller threshold for returning the argument.
33089 * math/auto-libm-test-in: Add more tests of sinh.
33090 * math/auto-libm-test-out: Regenerated.
33091 * sysdeps/i386/fpu/libm-test-ulps: Update.
33092
33093 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
33094
33095 [BZ #18674]
33096 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
33097 break.
33098
33099 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
33100
33101 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
33102 (generated): Don't add $(addprefix z.,$(tzfiles)).
33103
33104 2015-08-09 Mike Frysinger <vapier@gentoo.org>
33105
33106 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
33107 * scripts/sysd-rules.awk: Likewise.
33108
33109 2015-08-09 Mike Frysinger <vapier@gentoo.org>
33110
33111 * iconvdata/tst-tables.sh: Change echo -n to printf.
33112 * nss/db-Makefile: Likewise.
33113 * posix/tst-getconf.sh: Likewise.
33114 * stdio-common/tst-unbputc.sh: Likewise.
33115
33116 2015-08-09 Mike Frysinger <vapier@gentoo.org>
33117
33118 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
33119 MADV_*_PAGES defines behind this feature check.
33120
33121 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
33122
33123 [BZ #18480]
33124 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
33125 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
33126 Define.
33127 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
33128 LOAD_REGS_5, LOAD_REGS_6): Update.
33129 (INTERNAL_SYSCALL): Update using new LOAD defines.
33130 (INTERNAL_SYSCALL_NCS): Likewise.
33131 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
33132
33133 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33134
33135 [BZ #16734]
33136 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
33137
33138 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33139
33140 [BZ #17905]
33141 * catgets/Makefile (tst-catgets-mem): New test.
33142 * catgets/catgets.c (catopen): Don't use unbounded alloca.
33143 * catgets/open_catalog.c (__open_catalog): Likewise.
33144 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
33145
33146 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
33147
33148 [BZ #18787]
33149 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
33150 clobber registers.
33151 (atomic_compare_and_exchange_val_acq): Use register asms to assign
33152 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
33153 Cast return to __typeof (oldval).
33154
33155 2015-08-08 Mike Frysinger <vapier@gentoo.org>
33156
33157 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
33158 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
33159 and delete sys/syscall.h include.
33160
33161 2015-08-07 Joseph Myers <joseph@codesourcery.com>
33162
33163 [BZ #16517]
33164 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
33165 (tan): Force underflow exception for arguments with small absolute
33166 value.
33167 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
33168 (__kernel_tanf): Force underflow exception for arguments with
33169 small absolute value.
33170 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
33171 (__kernel_tanl): Force underflow exception for arguments with
33172 small absolute value.
33173 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
33174 (__kernel_tanl): Force underflow exception for arguments with
33175 small absolute value.
33176 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
33177 (__kernel_tanl): Force underflow exception for arguments with
33178 small absolute value.
33179 * math/auto-libm-test-in: Add more tests of tan.
33180 * math/auto-libm-test-out: Regenerated.
33181
33182 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
33183
33184 Fix sysdeps/i386/fpu/s_scalbn.S build
33185
33186 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
33187
33188 2015-08-07 Mike Frysinger <vapier@gentoo.org>
33189
33190 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
33191
33192 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
33193
33194 Fix gcrt0.o compilation
33195
33196 When static-start-installed-name is different from
33197 start-installed-name, we must not use the shared objects.
33198
33199 * csu/Makefile
33200 (extra-objs): Add gmon-start.o when building shared library and
33201 $(static-start-installed-name) is different from
33202 $(start-installed-name).
33203 $(objpfx)g$(static-start-installed-name): When building shared
33204 library and $(static-start-installed-name) is different from
33205 $(static-start-installed-name), revert to non-shared rule,
33206 i.e. using $(objpfx)% and gmon-start.o.
33207
33208 2015-08-06 Joseph Myers <joseph@codesourcery.com>
33209
33210 [BZ #16519]
33211 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
33212 (__ieee754_sinh): Force underflow exception for arguments with
33213 small absolute value.
33214 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
33215 (__ieee754_sinhf): Force underflow exception for arguments with
33216 small absolute value.
33217 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
33218 (__ieee754_sinhl): Force underflow exception for arguments with
33219 small absolute value.
33220 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
33221 (__ieee754_sinhl): Force underflow exception for arguments with
33222 small absolute value.
33223 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
33224 (__ieee754_sinhl): Force underflow exception for arguments with
33225 small absolute value.
33226 * math/auto-libm-test-in: Add more tests of sinh.
33227 * math/auto-libm-test-out: Regenerated.
33228 * sysdeps/i386/fpu/libm-test-ulps: Update.
33229
33230 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33231
33232 * libio/oldfileops.c: Include unistd.h.
33233
33234 2015-08-06 Mike Frysinger <vapier@gentoo.org>
33235
33236 * stdlib/isomac.c: Include ctype.h.
33237
33238 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
33239
33240 * dirent/tst-seekdir.c (main): Converted to ...
33241 (do_test): ... this.
33242 (TEST_FUNCTION): New macro.
33243 Include test-skeleton.c.
33244 * elf/tst-dlmodcount.c (main): Converted to ...
33245 (do_test): ... this.
33246 (TEST_FUNCTION): New macro.
33247 Include test-skeleton.c.
33248 * elf/tst-order-main.c (main): Converted to ...
33249 (do_test): ... this.
33250 (TEST_FUNCTION): New macro.
33251 Include test-skeleton.c.
33252 * elf/tst-pie2.c (main): Converted to ...
33253 (do_test): ... this.
33254 (TEST_FUNCTION): New macro.
33255 Include test-skeleton.c.
33256 * inet/tst-ether_aton.c (main): Converted to ...
33257 (do_test): ... this.
33258 (TEST_FUNCTION): New macro.
33259 Include test-skeleton.c.
33260 * misc/tst-mntent.c (main): Converted to ...
33261 (do_test): ... this.
33262 (TEST_FUNCTION): New macro.
33263 Include test-skeleton.c.
33264 * misc/tst-tsearch.c (main): Converted to ...
33265 (do_test): ... this.
33266 (TEST_FUNCTION): New macro.
33267 Include test-skeleton.c.
33268 * posix/tst-regexloc.c (main): Converted to ...
33269 (do_test): ... this.
33270 (TEST_FUNCTION): New macro.
33271 Include test-skeleton.c.
33272 * resolv/tst-aton.c (main): Converted to ...
33273 (do_test): ... this.
33274 (TEST_FUNCTION): New macro.
33275 Include test-skeleton.c.
33276 * stdio-common/test-fwrite.c (main): Converted to ...
33277 (do_test): ... this.
33278 (TEST_FUNCTION): New macro.
33279 Include test-skeleton.c.
33280 * stdio-common/tst-ferror.c (main): Converted to ...
33281 (do_test): ... this.
33282 (TEST_FUNCTION): New macro.
33283 Include test-skeleton.c.
33284 * stdio-common/tst-printf.c (main): Converted to ...
33285 (do_test): ... this.
33286 (TEST_FUNCTION): New macro.
33287 Include test-skeleton.c.
33288 * stdio-common/tst-printfsz.c (main): Converted to ...
33289 (do_test): ... this.
33290 (TEST_FUNCTION): New macro.
33291 Include test-skeleton.c.
33292 * stdlib/tst-strtod.c (main): Converted to ...
33293 (do_test): ... this.
33294 (TEST_FUNCTION): New macro.
33295 Include test-skeleton.c.
33296 * string/tst-strlen.c (main): Converted to ...
33297 (do_test): ... this.
33298 (TEST_FUNCTION): New macro.
33299 Include test-skeleton.c.
33300 * string/tst-svc.c (main): Converted to ...
33301 (do_test): ... this.
33302 (TEST_FUNCTION): New macro.
33303 Include test-skeleton.c.
33304 * time/tst-strptime.c (main): Converted to ...
33305 (do_test): ... this.
33306 (TEST_FUNCTION): New macro.
33307 Include test-skeleton.c.
33308 * timezone/tst-timezone.c (main): Converted to ...
33309 (do_test): ... this.
33310 (TEST_FUNCTION): New macro.
33311 Include test-skeleton.c.
33312
33313 2015-08-05 Zack Weinberg <zackw@panix.com>
33314
33315 * misc/regexp.h: Update comments.
33316
33317 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
33318
33319 [BZ #18635]
33320 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
33321 before return label.
33322
33323 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33324
33325 [BZ #18661]
33326 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
33327 when calling __errno_location.
33328 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
33329 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
33330
33331 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33332
33333 [BZ #18661]
33334 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
33335 (__lll_timedwait_tid): Align stack to 16 bytes when calling
33336 __gettimeofday.
33337
33338 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33339
33340 [BZ #18661]
33341 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33342 (__start_context): Don't use pop to restore %rdi so that stack
33343 is aligned to 16 bytes when calling __setcontext.
33344
33345 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33346
33347 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
33348 only for libc.
33349 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
33350
33351 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33352
33353 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
33354 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
33355 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
33356
33357 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33358
33359 * string/memccpy.c (memccpy):
33360 Improve performance by using memchr/memcpy/__mempcpy.
33361
33362 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33363
33364 * string/strncpy.c (strncpy):
33365 Improve performance by using __strnlen/memcpy.
33366
33367 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33368
33369 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33370 Optimize to avoid an unnecessary FPCR read.
33371
33372 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33373
33374 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
33375 Optimize to reduce FPCR/FPSR accesses.
33376
33377 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33378
33379 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
33380 dead->data[category] != NULL.
33381
33382 2015-08-05 Joseph Myers <joseph@codesourcery.com>
33383
33384 [BZ #18647]
33385 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
33386 and |x| close to 1, use absolute value of x when computing log.
33387 * math/auto-libm-test-in: Add more tests of pow.
33388 * math/auto-libm-test-out: Regenerated.
33389
33390 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33391
33392 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
33393 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
33394 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
33395
33396 2015-08-05 Marko Myllynen <myllynen@redhat.com>
33397
33398 [BZ #18525]
33399 * locales/km_KH: Remove timezone definition.
33400 * locales/lo_LA: Likewise.
33401 * locales/my_MM: Likewise.
33402 * locales/nan_TW@latin: Likewise.
33403 * locales/th_TH: Likewise.
33404 * locales/uk_UA: Likewise.
33405
33406 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
33407
33408 [BZ #18265]
33409 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
33410 (wcsncat): Likewise.
33411 (wcscmp): Likewise.
33412 (wcsncmp): Likewise.
33413
33414 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33415
33416 * test-skeleton.c (usage): New function.
33417 (main): Call usage when opt is '?'.
33418
33419 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33420
33421 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
33422 before first use.
33423
33424 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33425
33426 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
33427 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
33428 in there too.
33429
33430 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
33431
33432 * version.h (RELEASE): Set to "development".
33433 (VERSION): Set to "2.22.90"
33434
33435 * version.h (RELEASE): Set to "stable".
33436 (VERSION): Set to "2.22"
33437 * include/features.h (__GLIBC_MINOR__): Set to 22.
33438
33439 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
33440
33441 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
33442 Restructure macro to avoid "value computed is not used" warning.
33443 (atomic_compare_and_exchange_val_acq): Likewise.
33444
33445 2015-08-04 Andreas Schwab <schwab@suse.de>
33446
33447 [BZ #18635]
33448 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
33449 ret.
33450 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
33451
33452 2015-08-01 Carlos O'Donell <carlos@redhat.com>
33453
33454 * po/pl.po: Updated translation.
33455 * po/uk.po: Likewise.
33456 * po/fi.po: Likewise.
33457 * po/ko.po: Likewise.
33458 * po/ru.po: Likewise.
33459 * po/vi.po: Likewise.
33460
33461 2015-07-31 Zack Weinberg <zackw@panix.com>
33462
33463 [BZ #18681]
33464 * regexp.h: Add unconditional #warning stating that this header
33465 will be removed soon. Revise banner comment to match.
33466 (compile): Consistently use ERROR instead of RETURN to report
33467 errors (partial fix for BZ #18681).
33468 * regexp.c: Don't include regexp.h. Remove some unnecessary
33469 declarations.
33470
33471 2015-07-31 Carlos O'Donell <carlos@redhat.com>
33472
33473 * po/libc.pot: Regenerated.
33474
33475 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
33476
33477 [BZ #18740]
33478 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
33479 float-vlen4-arch-ext-cflags): Removed.
33480 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
33481 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
33482
33483 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33484
33485 [BZ #14113]
33486 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
33487 aligned to __aligned__.
33488 (pthread_cond_t, pthread_rwlock_t): Likewise.
33489
33490 2015-07-30 Torvald Riegel <triegel@redhat.com>
33491
33492 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
33493
33494 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33495
33496 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
33497 (struct sigaction): Change sa_flags from a long to an int, and add
33498 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
33499
33500 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33501
33502 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
33503 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
33504 sysdeps/generic/sysdep.h include.
33505 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
33506 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
33507 sysdeps/hppa/sysdep.h.
33508 (ENTRY, PSEUDO): Undefine before defining.
33509
33510 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33511
33512 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
33513 from scratch to use INTERNAL_SYSCALL.
33514
33515 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
33516
33517 [BZ #18078]
33518 * scripts/check-localplt.awk: Support alternate relocations.
33519 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
33520 sections.
33521 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
33522 malloc entries with + REL R_386_GLOB_DAT.
33523 * sysdeps/x86_64/localplt.data: New file.
33524
33525 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
33526
33527 [BZ #18731]
33528 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
33529 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33530 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33531
33532 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33533
33534 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
33535
33536 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33537
33538 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
33539 directly in terms of __sync_fetch_and_add and delete (int) cast.
33540
33541 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33542
33543 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
33544 the -D_ASM_IA64_CURRENT_H flag.
33545
33546 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33547
33548 [BZ #18641]
33549 * pwd/pwd.h (putpwent): Delete __nonnull markings.
33550
33551 2015-07-27 Andreas Schwab <schwab@suse.de>
33552
33553 * conform/conformtest.pl (checknamespace): Filter out string
33554 literals while tokenizing.
33555
33556 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
33557
33558 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33559 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
33560 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33561
33562 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
33563
33564 * nptl/tst-join7mod.c: Add #include <string.h>.
33565
33566 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
33567
33568 * sysdeps/nios2/libm-test-ulps: Update.
33569
33570 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
33571
33572 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
33573 Fix order of arguments to the rt_sigprocmask syscall.
33574 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
33575 Likewise.
33576
33577 2015-07-24 Roland McGrath <roland@hack.frob.com>
33578
33579 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
33580
33581 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33582
33583 [BZ #18457]
33584 * nptl/Makefile (tests): New test case tst-join7.
33585 (modules-names): New test case module tst-join7mod.
33586 * nptl/tst-join7.c: New file.
33587 * nptl/tst-join7mod.c: New file.
33588 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
33589 all translation units in libc.so, libpthread.so and rtld.
33590
33591 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33592
33593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33594
33595 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
33596
33597 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
33598 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
33599 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
33600 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
33601 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
33602 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
33603 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
33604 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
33605 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
33606 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
33607 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
33608 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
33609 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
33610 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
33611 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
33612 implementation.
33613
33614 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
33615
33616 [BZ #17711]
33617 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33618 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
33619 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33620 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33621 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
33622 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33623
33624 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33625
33626 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
33627 instead of just saying load lock in the comments.
33628
33629 2015-07-23 Roland McGrath <roland@hack.frob.com>
33630
33631 * sysdeps/unix/Subdirs: Moved ...
33632 * sysdeps/posix/Subdirs: ... here.
33633 * login/pty.h (struct termios, struct winsize): Add forward decls.
33634 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
33635 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
33636 * sysdeps/arm/nacl/libc.abilist: Updated.
33637 * sysdeps/nacl/libutil.abilist: New file.
33638
33639 * bits/signum.h: Update comments to mention 1003.1-2013 too.
33640 (SIGWINCH): New macro.
33641
33642 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
33643 * sysdeps/arm/nacl/libc.abilist: Add it.
33644
33645 2015-07-23 Mike Frysinger <vapier@gentoo.org>
33646
33647 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
33648
33649 2015-07-23 Mike Frysinger <vapier@gentoo.org>
33650
33651 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
33652 Swap __glibc_reserved0 and sa_flags order.
33653
33654 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
33655
33656 [BZ #18657]
33657 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
33658 are pending TLS destructor calls.
33659 * include/link.h (struct link_map): Add concurrency note for
33660 L_TLS_DTOR_COUNT.
33661 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
33662 Don't touch the link map flag. Atomically increment
33663 l_tls_dtor_count.
33664 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
33665 Avoid taking the load lock and don't touch the link map flag.
33666 * stdlib/tst-tls-atexit-nodelete.c: New test case.
33667 * stdlib/Makefile (tests): Use it.
33668 * stdlib/tst-tls-atexit.c (do_test): dlopen
33669 tst-tls-atexit-lib.so again before dlclose. Add conditionals
33670 to allow tst-tls-atexit-nodelete test case to use it.
33671
33672 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33673
33674 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
33675 to bits/types.h.
33676 (msgqnum_t): New typedef.
33677 (msglen_t): Likewise.
33678 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
33679 and msg_qbytes type to msglen_t.
33680
33681 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33682
33683 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
33684 pad0 to __glibc_reserved0.
33685 (struct stat64): Likewise.
33686
33687 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33688
33689 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
33690 Change sa_flags from a long to an int and add __glibc_reserved0 before
33691 it for padding.
33692
33693 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33694
33695 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
33696 anonymous by deleting "siginfo" name.
33697
33698 2015-07-21 Roland McGrath <roland@hack.frob.com>
33699
33700 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
33701 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
33702 rather than __nacl_irt_filename.
33703 * sysdeps/nacl/xstat.c (__xstat): Likewise.
33704
33705 * NEWS: New item for arm-nacl port.
33706 * sysdeps/arm/nacl/libc.abilist: New file.
33707 * sysdeps/nacl/ld.abilist: New file.
33708 * sysdeps/nacl/libBrokenLocale.abilist: New file.
33709 * sysdeps/nacl/libanl.abilist: New file.
33710 * sysdeps/nacl/libcrypt.abilist: New file.
33711 * sysdeps/nacl/libdl.abilist: New file.
33712 * sysdeps/nacl/libm.abilist: New file.
33713 * sysdeps/nacl/libpthread.abilist: New file.
33714 * sysdeps/nacl/libresolv.abilist: New file.
33715 * sysdeps/nacl/librt.abilist: New file.
33716
33717 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
33718
33719 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
33720 __startcontext to initialize the new context.
33721 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
33722 up CFI directive to forbid further backtracing.
33723
33724 2015-07-21 Marko Myllynen <myllynen@redhat.com>
33725
33726 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
33727 reference.
33728 * charmaps/ANSI_X3.4-1968: Likewise.
33729 * charmaps/BS_4730: Likewise.
33730 * charmaps/BS_VIEWDATA: Likewise.
33731 * charmaps/CP1250: Likewise.
33732 * charmaps/CP1251: Likewise.
33733 * charmaps/CP1252: Likewise.
33734 * charmaps/CP1253: Likewise.
33735 * charmaps/CP1254: Likewise.
33736 * charmaps/CP1255: Likewise.
33737 * charmaps/CP1256: Likewise.
33738 * charmaps/CSN_369103: Likewise.
33739 * charmaps/EBCDIC-DK-NO: Likewise.
33740 * charmaps/GB_1988-80: Likewise.
33741 * charmaps/GREEK-CCITT: Likewise.
33742 * charmaps/GREEK7: Likewise.
33743 * charmaps/INIS-8: Likewise.
33744 * charmaps/ISIRI-3342: Likewise.
33745 * charmaps/ISO_2033-1983: Likewise.
33746 * charmaps/ISO_5427-EXT: Likewise.
33747 * locales/POSIX: Likewise.
33748 * locales/ar_SA: Likewise.
33749 * locales/be_BY: Likewise.
33750 * locales/be_BY@latin: Likewise.
33751 * locales/ca_ES: Likewise.
33752 * locales/cs_CZ: Likewise.
33753 * locales/da_DK: Likewise.
33754 * locales/de_BE: Likewise.
33755 * locales/de_CH: Likewise.
33756 * locales/de_LU: Likewise.
33757 * locales/en_AU: Likewise.
33758 * locales/en_BW: Likewise.
33759 * locales/en_CA: Likewise.
33760 * locales/en_DK: Likewise.
33761 * locales/en_GB: Likewise.
33762 * locales/en_IE: Likewise.
33763 * locales/en_NZ: Likewise.
33764 * locales/en_ZA: Likewise.
33765 * locales/en_ZW: Likewise.
33766 * locales/es_AR: Likewise.
33767 * locales/es_BO: Likewise.
33768 * locales/es_CL: Likewise.
33769 * locales/es_CO: Likewise.
33770 * locales/es_DO: Likewise.
33771 * locales/es_EC: Likewise.
33772 * locales/es_ES: Likewise.
33773 * locales/es_HN: Likewise.
33774 * locales/es_MX: Likewise.
33775 * locales/es_PA: Likewise.
33776 * locales/es_PE: Likewise.
33777 * locales/es_PY: Likewise.
33778 * locales/es_SV: Likewise.
33779 * locales/es_US: Likewise.
33780 * locales/es_UY: Likewise.
33781 * locales/es_VE: Likewise.
33782 * locales/et_EE: Likewise.
33783 * locales/fa_IR: Likewise.
33784 * locales/fo_FO: Likewise.
33785 * locales/fr_CA: Likewise.
33786 * locales/fr_CH: Likewise.
33787 * locales/gv_GB: Likewise.
33788 * locales/he_IL: Likewise.
33789 * locales/hr_HR: Likewise.
33790 * locales/id_ID: Likewise.
33791 * locales/is_IS: Likewise.
33792 * locales/it_CH: Likewise.
33793 * locales/iw_IL: Likewise.
33794 * locales/kl_GL: Likewise.
33795 * locales/ko_KR: Likewise.
33796 * locales/kw_GB: Likewise.
33797 * locales/lg_UG: Likewise.
33798 * locales/lt_LT: Likewise.
33799 * locales/lv_LV: Likewise.
33800 * locales/mi_NZ: Likewise.
33801 * locales/nhn_MX: Likewise.
33802 * locales/nl_BE: Likewise.
33803 * locales/pl_PL: Likewise.
33804 * locales/sk_SK: Likewise.
33805 * locales/sl_SI: Likewise.
33806 * locales/sv_FI: Likewise.
33807 * locales/tl_PH: Likewise.
33808 * locales/tr_TR: Likewise.
33809 * locales/vi_VN: Likewise.
33810
33811 2015-07-21 Khem Raj <raj.khem@gmail.com>
33812
33813 [BZ #17475]
33814 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
33815 of tu_IN and bh_IN.
33816
33817 2015-07-21 Mike Frysinger <vapier@gentoo.org>
33818
33819 [BZ #18694]
33820 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
33821 bits/wordsize.h.
33822 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
33823
33824 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33825
33826 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
33827 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
33828 (spawn_thread): New function.
33829 (load): Rename to reg_dtor_and_close. Move dlopen to...
33830 (do_test): ... here. Use IS_LOADED to test for its
33831 availability.
33832
33833 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
33834
33835 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33836
33837 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
33838
33839 [BZ #18696]
33840 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
33841 si_addr_bnd.
33842 (si_lower): New.
33843 (si_upper): Likewise.
33844
33845 2015-07-16 David S. Miller <davem@davemloft.net>
33846
33847 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
33848
33849 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33850
33851 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
33852 buffer.
33853 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
33854 fail output information.
33855
33856 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33857
33858 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
33859 and strstr-ppc64..
33860 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
33861 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
33862 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
33863 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
33864 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
33865
33866 2015-07-16 Mike Frysinger <vapier@gentoo.org>
33867
33868 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
33869 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
33870 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
33871 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
33872
33873 2015-07-16 Mike Frysinger <vapier@gentoo.org>
33874
33875 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
33876 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
33877 rtld_hidden_proto.
33878 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
33879
33880 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33881
33882 * tst-nodelete-opened.c (do_test): Add comment to clarify how
33883 the test can fail.
33884
33885 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
33886
33887 [BZ #18676]
33888 * elf/tst-nodelete-opened.c: New test case.
33889 * elf/tst-nodelete-opened-lib.c: New test case module.
33890 * elf/Makefile (tests, modules-names): Use them.
33891 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
33892 early.
33893
33894 2015-07-15 David S. Miller <davem@davemloft.net>
33895
33896 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
33897 futex-intenal.h
33898 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
33899 * sysdeps/sparc/sparc64/Makefile: Likewise.
33900 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
33901 Remove space from macro define.
33902 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
33903
33904 2015-07-15 Pravin Satpute <psatpute@redhat.com>
33905
33906 [BZ #17475]
33907 * locale/iso-639.def: Update Bhili and Tulu language codes as
33908 per iso639-3.
33909
33910 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
33911
33912 * elf/tst-leaks1.c (main): Converted to ...
33913 (do_test): ... this.
33914 (TEST_FUNCTION): New macro.
33915 Include test-skeleton.c.
33916 * localedata/tst-langinfo.c (main): Converted to ...
33917 (do_test): ... this.
33918 (TEST_FUNCTION): New macro.
33919 Include test-skeleton.c.
33920 * math/test-fpucw.c (main): Converted to ...
33921 (do_test): ... this.
33922 (TEST_FUNCTION): New macro.
33923 Include test-skeleton.c.
33924 * math/test-tgmath.c (main): Converted to ...
33925 (do_test): ... this.
33926 (TEST_FUNCTION): New macro.
33927 Include test-skeleton.c.
33928 * math/test-tgmath2.c (main): Converted to ...
33929 (do_test): ... this.
33930 (TEST_FUNCTION): New macro.
33931 Include test-skeleton.c.
33932 * setjmp/tst-setjmp.c (main): Converted to ...
33933 (do_test): ... this.
33934 (TEST_FUNCTION): New macro.
33935 Include test-skeleton.c.
33936 * stdio-common/tst-sscanf.c (main): Converted to ...
33937 (do_test): ... this.
33938 (TEST_FUNCTION): New macro.
33939 Include test-skeleton.c.
33940 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
33941 (do_test): ... this.
33942 (TEST_FUNCTION): New macro.
33943 Include test-skeleton.c.
33944
33945 * elf/tst-audit9.c (main): Converted to ...
33946 (do_test): ... this.
33947 (TEST_FUNCTION): New macro.
33948 Include test-skeleton.c.
33949
33950 2015-07-15 Mike Frysinger <vapier@gentoo.org>
33951
33952 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
33953
33954 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33955
33956 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
33957 New variable.
33958
33959 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33960
33961 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
33962
33963 2015-07-14 Roland McGrath <roland@hack.frob.com>
33964
33965 * sysdeps/generic/dl-fileid.h: New file.
33966 * sysdeps/posix/dl-fileid.h: New file.
33967 * sysdeps/nacl/dl-fileid.h: New file.
33968 * include/link.h: Include <dl-fileid.h>.
33969 (struct link_map): Replace l_dev and l_ino with l_file_id.
33970 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
33971 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
33972 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
33973
33974 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33975
33976 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
33977
33978 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33979
33980 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
33981 Add iff $CXX is set.
33982 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
33983 Likewise.
33984 (tst-nodelete-zmodiff): Likewise.
33985 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
33986
33987 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33988
33989 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
33990
33991 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
33992
33993 * sysdeps/aarch64/fpu/math_private.h
33994 (define math_opt_barrier): Add AArch64 version.
33995 (math_force_eval): Likewise.
33996
33997 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
33998
33999 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
34000
34001 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
34002
34003 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
34004 %ld with %jd and cast to intmax_t.
34005 (do_test_length_zero): Likewise.
34006
34007 2015-07-10 Roland McGrath <roland@hack.frob.com>
34008
34009 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
34010
34011 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
34012
34013 * sysdeps/tile/libm-test-ulps: Regenerated.
34014
34015 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
34016 Comment out the whole function, not just its body.
34017
34018 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34019
34020 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
34021 locks.
34022
34023 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
34024
34025 2015-07-10 Torvald Riegel <triegel@redhat.com>
34026
34027 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
34028 (sem_assume_only_signals_cause_futex_EINTR): Remove.
34029
34030 2015-07-10 Torvald Riegel <triegel@redhat.com>
34031
34032 * sysdeps/nptl/futex-internal.h: New file.
34033 * sysdeps/nacl/futex-internal.h: New file.
34034 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
34035 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
34036 error checking.
34037 (setxid_unmark_thread): Likewise.
34038 (__nptl_setxid): Likewise.
34039 (__wait_lookup_done): Likewise.
34040 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34041 * nptl/nptl-init.c (sighandler_setxid): Likewise.
34042 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
34043 * nptl/pthread_once.c (clear_once_control): Likewise.
34044 (__pthread_once_slow): Likewise.
34045 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
34046 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
34047 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
34048 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
34049 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
34050 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
34051 Likewise.
34052 (__pthread_rwlock_rdlock): Likewise.
34053 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34054 Likewise.
34055 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
34056 Likewise.
34057 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
34058 Likewise.
34059 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
34060 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
34061 Likewise.
34062 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
34063 __ASSUME_PRIVATE_FUTEX check.
34064 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
34065 Check that shared futexes are supported.
34066 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
34067 wrappers with error checking.
34068 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
34069 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
34070 * nptl/pthread_barrierattr_setpshared.c
34071 (pthread_barrierattr_setpshared): Check that shared futexes are
34072 supported.
34073 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
34074 Likewise.
34075 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
34076 Likewise.
34077 * nptl/sem_init.c (futex_private_if_supported): Remove.
34078 (__new_sem_init): Adapt and check that shared futexes are supported.
34079 * nptl/sem_open.c (sem_open): Likewise.
34080 * nptl/sem_post.c (futex_wake): Remove.
34081 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
34082 (do_futex_wait): Use futex wrappers with error checking.
34083 * nptl/sem_wait.c: Include lowlevellock.h.
34084 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
34085 Use futex_supports_pshared.
34086 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
34087 Use futex wrappers with error checking.
34088 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
34089 Likewise.
34090 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
34091 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
34092 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
34093 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
34094 (futex_wake): Likewise.
34095 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
34096 (do_futex_wait): Use futex wrappers with error checking.
34097 (__new_sem_wait_slow): Update EINTR handling.
34098 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
34099
34100 2015-07-09 Martin Sebor <msebor@redhat.com>
34101
34102 [BZ #18435]
34103 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34104 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
34105 * nptl/Makefile (test-xfail-tst-once5): Define.
34106
34107 2015-07-09 Roland McGrath <roland@hack.frob.com>
34108
34109 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
34110 * elf/dl-minimal.c: For readability, reorder some definitions and
34111 introduce more page breaks. Include <stdio.h>.
34112 (__libc_fatal): New function.
34113
34114 * include/unistd.h: Add rtld_hidden_proto for _exit.
34115 * posix/_exit.c: Add rtld_hidden_def.
34116 * sysdeps/mach/hurd/_exit.c: Likewise.
34117 * sysdeps/nacl/_exit.c: Likewise.
34118 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
34119 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
34120
34121 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
34122
34123 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
34124 bndmov encoding with zero displacement.
34125
34126 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
34127 H.J. Lu <hongjiu.lu@intel.com>
34128
34129 [BZ #18134]
34130 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
34131 * sysdeps/i386/configure: Regenerated.
34132 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
34133 (_dl_runtime_profile): Save and restore Intel MPX return bound
34134 registers when calling _dl_call_pltexit. Add
34135 PRESERVE_BND_REGS_PREFIX before return.
34136 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
34137 (LRV_BND1_OFFSET): Likewise.
34138 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
34139 lrv_bnd1.
34140 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
34141 typo in bndmov encoding.
34142 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
34143 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
34144 branch instructions to preserve bounds.
34145
34146 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34147
34148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
34149 [GLIBC_2.22]: Add fmemopen.
34150
34151 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
34152
34153 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
34154 returns an error, also try to use host port from __mach_host_self for
34155 the __vm_wire call.
34156 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
34157
34158 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
34159
34160 [BZ #18400]
34161 [BZ #18648]
34162 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
34163 Fix pr_uid and pr_gid members.
34164 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
34165 definition to elf_greg_t.
34166
34167 2015-07-08 Roland McGrath <roland@hack.frob.com>
34168
34169 [BZ #18383]
34170 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
34171 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
34172 * sysdeps/arm/configure: Regenerated.
34173 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
34174 (test-xfail-tst-tlsalign-static): Variable removed.
34175
34176 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
34177 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
34178 rather than explicit 'ln -s'.
34179
34180 * resolv/rpc/netdb.h: New file.
34181 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
34182
34183 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34184
34185 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
34186 length buffers.
34187 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
34188 test-skeleton.c.
34189
34190 [BZ #6544]
34191 [BZ #11216]
34192 [BZ #12836]
34193 [BZ #13151]
34194 [BZ #13152]
34195 [BZ #14292]
34196 * include/stdio.h (fmemopen): Remove hidden prototype.
34197 (__fmemopen): Add new hidden prototype.
34198 * libio/Makefile: Add oldfmemopen object.
34199 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
34200 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
34201 compliance.
34202 * libio/oldfmemopen.c: New file: old fmemopen implementation for
34203 symbol compatibility.
34204 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
34205 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
34206 fmemopen.
34207 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
34208 on append and read mode.
34209 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
34210 fmemopen.
34211 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
34212 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
34213 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
34214 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
34215 Likewise.
34216 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
34217 [GLIBC_2.22]: Likewise.
34218 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
34219 Likewise.
34220 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
34221 Likewise.
34222 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
34223 [GLIBC_2.22]: Likewise.
34224 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
34225 [GLIBC_2.22]: Likewise.
34226 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
34227 [GLIBC_2.22]: Likewise.
34228 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
34229 [GLIBC_2.22]: Likewise.
34230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
34231 [GLIBC_2.22]: Likewise.
34232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
34233 [GLIBC_2.22]: Likewise.
34234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
34235 [GLIBC_2.22]: Likewise.
34236 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
34237 Likewise.
34238 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
34239 Likewise.
34240 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
34241 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
34242 [GLIBC_2.22]: Likewise.
34243 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
34244 [GLIBC_2.22]: Likewise.
34245 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
34246 [GLIBC_2.22]: Likewise.
34247 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
34248 [GLIBC_2.22]: Likewise.
34249 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
34250 Likewise.
34251 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
34252 Likewise.
34253 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
34254 Likewise.
34255 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
34256 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
34257
34258 2015-07-08 Carlos O'Donell <carlos@redhat.com>
34259
34260 [BZ #18643]
34261 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
34262 IPV6_PATHMTU, and IPV6_DONTFRAG.
34263
34264 2015-07-08 Feng Gao <gfree.wind@gmail.com>
34265
34266 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
34267 and _IO_UNBUFFERED.
34268 * libio/oldfileops.c: Likewise.
34269 * libio/wfileops.c: Likewise.
34270
34271 2015-07-08 Mike Frysinger <vapier@gentoo.org>
34272
34273 * nscd/selinux.c: Delete selinux/flask.h include.
34274
34275 2015-07-08 Mike Frysinger <vapier@gentoo.org>
34276
34277 [BZ #18641]
34278 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
34279 (putpwent): Likewise.
34280 (getpwnam): Likewise.
34281 (getpwent_r): Likewise.
34282 (getpwuid_r): Likewise.
34283 (getpwnam_r): Likewise.
34284 (fgetpwent_r): Likewise.
34285
34286 2015-07-08 Carlos O'Donell <carlos@redhat.com>
34287
34288 [BZ #18557]
34289 * inet/rcmd.c (__validuser2_sa): Check user first to
34290 short-circuit host check.
34291
34292 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
34293 Mikhail Ilin <m.ilin@samsung.com>
34294
34295 [BZ #17833]
34296 * elf/Makefile (tests): Add tst-nodelete.
34297 (modules-names): Add tst-nodelete-uniquemod.
34298 (tst-nodelete-uniquemod.so-no-z-defs): New.
34299 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
34300 (tst-nodelete-zmod.so-no-z-defs): Likewise.
34301 ($(objpfx)tst-nodelete): Likewise.
34302 ($(objpfx)tst-nodelete.out): Likewise.
34303 (LDFLAGS-tst-nodelete): Likewise.
34304 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
34305 * elf/dl-close.c (_dl_close_worker): Add a parameter to
34306 implement forced object deletion.
34307 (_dl_close): Pass false to _dl_close_worker.
34308 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
34309 * elf/tst-nodelete.cc: New file.
34310 * elf/tst-nodeletelib.cc: Likewise.
34311 * elf/tst-znodeletelib.cc: Likewise.
34312 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
34313
34314 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34315
34316 [BZ #18508]
34317 * stdlib/Makefile ($(objpfx)tst-makecontext3):
34318 Depend on $(libdl).
34319 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
34320 is not called infinitely times.
34321 (backtrace_helper): New function.
34322 (trace_arg): New struct.
34323 (st1): Enlarge stack size.
34324 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34325 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
34326 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34327 Likewise.
34328
34329 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34330
34331 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34332
34333 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34334
34335 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
34336 Include sys/types.h instead of bits/types.h.
34337 Remove inclusion of bits/wordsize.h.
34338
34339 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34340
34341 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
34342 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
34343 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
34344 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
34345 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
34346 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
34347
34348 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34349
34350 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
34351 link-defines.sym.
34352 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
34353 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
34354 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
34355 and LR_SIZE.
34356 * sysdeps/i386/link-defines.sym: New file.
34357
34358 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34359
34360 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
34361 (modules-names): Add tst-auditmod3a tst-auditmod3b.
34362 ($(objpfx)tst-audit3): New rule.
34363 ($(objpfx)tst-audit3.out): Likewise.
34364 * sysdeps/i386/tst-audit3.c: New file.
34365 * sysdeps/i386/tst-audit3.h: Likewise.
34366 * sysdeps/i386/tst-auditmod3a.c: Likewise.
34367 * sysdeps/i386/tst-auditmod3b.c: Likewise.
34368
34369 2015-07-07 Torvald Riegel <triegel@redhat.com>
34370
34371 [BZ #18633]
34372 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
34373 pointer in C code.
34374 (__strcat_c): Likewise.
34375 (__strcat_g): Likewise.
34376
34377 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
34378
34379 [BZ #18592]
34380 * misc/sbrk.c: Set errno to ENOMEM on overflow.
34381
34382 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
34383
34384 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
34385 New function. (__ieee754_sqrtf): New function.
34386 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
34387 New function.
34388 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
34389 New function.
34390
34391 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
34392
34393 * sysdeps/ieee754/support.c: Remove unused file.
34394
34395 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
34396
34397 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
34398 registers instead of d ones so the layout is kernel abi compatible.
34399 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
34400 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
34401 Likewise.
34402
34403 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
34404
34405 * sysdeps/aarch64/libm-test-ulps: Regenerated.
34406
34407 2015-07-01 Joseph Myers <joseph@codesourcery.com>
34408
34409 [BZ #18619]
34410 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
34411 and return argument in case of subnormal argument.
34412
34413 2015-07-01 Martin Sebor <msebor@redhat.com>
34414
34415 [BZ #18435]
34416 * nptl/Makefile: Add tst-once5.cc.
34417 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34418 Remove macro redefinitions.
34419 * nptl/tst-once5.cc: New test.
34420
34421 2015-07-01 Joseph Myers <joseph@codesourcery.com>
34422
34423 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34424
34425 * sysdeps/arm/libm-test-ulps: Regenerated.
34426
34427 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
34428 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34429
34430 2015-06-30 Torvald Riegel <triegel@redhat.com>
34431
34432 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
34433 lll_lock_wait_private and lll_futex_wake probes.
34434
34435 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34436 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
34437 Likewise.
34438 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
34439 atomic_spin_nop.
34440 * sysdeps/x86_64/bits/atomic.h: Likewise.
34441 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
34442 to atomic_spin_nop and move ...
34443 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34444 ... here and ...
34445 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
34446 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
34447 atomic_spin_nop instead of BUSY_WAIT_NOP.
34448 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
34449 Likewise.
34450 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
34451 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34452 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
34453 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
34454 instead of atomic_delay.
34455
34456 2015-06-29 Joseph Myers <joseph@codesourcery.com>
34457
34458 [BZ #18613]
34459 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
34460 X_ADJ not X when adjusting exponent.
34461 (__ieee754_gamma_r): Do intermediate computations in
34462 round-to-nearest then adjust overflowing and underflowing results
34463 as needed.
34464 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
34465 of X_ADJ not X when adjusting exponent.
34466 (__ieee754_gammaf_r): Do intermediate computations in
34467 round-to-nearest then adjust overflowing and underflowing results
34468 as needed.
34469 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
34470 log of X_ADJ not X when adjusting exponent.
34471 (__ieee754_gammal_r): Do intermediate computations in
34472 round-to-nearest then adjust overflowing and underflowing results
34473 as needed. Use 1.0L not 1.0f as numerator of division.
34474 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
34475 log of X_ADJ not X when adjusting exponent.
34476 (__ieee754_gammal_r): Do intermediate computations in
34477 round-to-nearest then adjust overflowing and underflowing results
34478 as needed. Use 1.0L not 1.0f as numerator of division.
34479 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
34480 of X_ADJ not X when adjusting exponent.
34481 (__ieee754_gammal_r): Do intermediate computations in
34482 round-to-nearest then adjust overflowing and underflowing results
34483 as needed. Use 1.0L not 1.0f as numerator of division.
34484 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
34485 to auto-libm-test-in.
34486 (tgamma_test): Use ALL_RM_TEST.
34487 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
34488 tests of tgamma with spurious-overflow.
34489 * math/auto-libm-test-out: Regenerated.
34490 * math/gen-libm-have-vector-test.sh: Do not check for START.
34491 * sysdeps/i386/fpu/libm-test-ulps: Update.
34492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34493
34494 [BZ #18612]
34495 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
34496 arguments, just return 0.5 times the argument, with underflow
34497 forced as needed.
34498 * math/auto-libm-test-in: Add more tests of j1.
34499 * math/auto-libm-test-out: Regenerated.
34500
34501 [BZ #16559]
34502 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
34503 (__ieee754_j1): Force underflow exception for small results.
34504 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34505 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
34506 (__ieee754_j1f): Force underflow exception for small results.
34507 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34508 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34509 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34510 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
34511 (__ieee754_j1l): Force underflow exception for small results.
34512 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34513 * math/auto-libm-test-in: Add more tests of j1 and jn.
34514 * math/auto-libm-test-out: Regenerated.
34515
34516 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
34517 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
34518 (PF_MPLS): Likewise.
34519 (AF_IB): Likewise.
34520 (AF_MPLS): Likewise.
34521 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
34522 value and macro.
34523 (MS_RMT_MASK): Include MS_LAZYTIME.
34524
34525 2015-06-26 Mel Gorman <mgorman@suse.de>
34526
34527 [BZ #18502]
34528 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
34529 already minimal.
34530
34531 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
34532
34533 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
34534 (DT_MIPS_NUM): Update.
34535 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
34536 DT_MIPS_RLD_MAP_REL.
34537
34538 2015-06-25 Joseph Myers <joseph@codesourcery.com>
34539
34540 [BZ #16559]
34541 [BZ #18602]
34542 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
34543 round-to-nearest internally then recompute results that
34544 underflowed to zero in the original rounding mode.
34545 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34546 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34547 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34548 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34549 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
34550 * sysdeps/i386/fpu/libm-test-ulps: Update.
34551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34552
34553 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
34554
34555 * NEWS: Fixed description of link with vector math library.
34556
34557 2015-06-25 Andreas Schwab <schwab@suse.de>
34558
34559 [BZ #18549]
34560 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
34561 * libio/test-fmemopen.c (do_test): Add test for it.
34562
34563 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
34564
34565 [BZ #17841]
34566 * Makeconfig (no-pie-ldflag): New.
34567 (+link): Set to $(+link-pie) if default to PIE.
34568 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
34569 * config.make.in (build-pie-default): New.
34570 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
34571 is default. AC_SUBST.
34572 * configure: Regenerated.
34573 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
34574
34575 2015-06-24 Roland McGrath <roland@hack.frob.com>
34576
34577 * nptl/descr.h (struct pthread): Change type of field setxid_futex
34578 to 'unsigned int'.
34579
34580 * resolv/gai_misc.h (struct waitlist): Change type of field
34581 counterp to 'volatile unsigned int *'.
34582 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
34583 FUTEXADDR and OLDVAL.
34584 * resolv/getaddrinfo_a.c (getaddrinfo_a):
34585 Give local variable TOTAL type 'volatile unsigned int'.
34586 (struct async_waitlist): Change type of field counter to 'unsigned int'.
34587 * resolv/gai_suspend.c (gai_suspend):
34588 Give local variable CNTR type 'unsigned int'.
34589
34590 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
34591 counterp to 'volatile unsigned int *'.
34592 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
34593 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
34594 (aio_suspend): Give local variable CNTR type 'unsigned int'.
34595 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
34596 Give local variable TOTAL type 'volatile unsigned int'.
34597 (struct async_waitlist): Change type of field counter to 'unsigned int'.
34598
34599 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
34600
34601 [BZ #18383]
34602 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
34603 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
34604 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
34605 comment for i386/x86-64.
34606 (test-xfail-tst-tlsalign-extern-static): Removed.
34607
34608 2015-06-24 Joseph Myers <joseph@codesourcery.com>
34609
34610 * math/test-double.h: New file.
34611 * math/test-float.h: Likewise.
34612 * math/test-ldouble.h: Likewise.
34613 * math/test-math-inline.h: Likewise.
34614 * math/test-math-no-inline.h: Likewise.
34615 * math/test-math-scalar.h: Likewise.
34616 * math/test-math-vector.h: Likewise.
34617 * math/test-vec-loop.h: Remove file. Contents moved into
34618 test-math-vector.h.
34619 * math/libm-test.inc (MATHCONST): Do not document macro.
34620 * math/test-double.c: Include test-double.h, test-math-no-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 (__NO_MATH_INLINES): Likewise.
34632 * math/test-float.c: Include test-float.h, test-math-no-inline.h
34633 and test-math-scalar.h.
34634 (FUNC): Remove macro.
34635 (FUNC_TEST): Likewise.
34636 (FLOAT): Likewise.
34637 (MATHCONST): Likewise.
34638 (PRINTF_EXPR): Likewise.
34639 (PRINTF_XEXPR): Likewise.
34640 (PRINTF_NEXPR): Likewise.
34641 (TEST_FLOAT): Likewise.
34642 (TEST_MATHVEC): Likewise.
34643 (__NO_MATH_INLINES): Likewise.
34644 * math/test-idouble.c: Include test-double.h, test-math-inline.h
34645 and test-math-scalar.h.
34646 (FUNC): Remove macro.
34647 (FUNC_TEST): Likewise.
34648 (FLOAT): Likewise.
34649 (MATHCONST): Likewise.
34650 (PRINTF_EXPR): Likewise.
34651 (PRINTF_XEXPR): Likewise.
34652 (PRINTF_NEXPR): Likewise.
34653 (TEST_DOUBLE): Likewise.
34654 (TEST_MATHVEC): Likewise.
34655 (TEST_INLINE): Likewise.
34656 (__NO_MATH_INLINES): Likewise.
34657 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
34658 test-math-scalar.h.
34659 (FUNC): Remove macro.
34660 (FUNC_TEST): Likewise.
34661 (FLOAT): Likewise.
34662 (MATHCONST): Likewise.
34663 (PRINTF_EXPR): Likewise.
34664 (PRINTF_XEXPR): Likewise.
34665 (PRINTF_NEXPR): Likewise.
34666 (TEST_FLOAT): Likewise.
34667 (TEST_MATHVEC): Likewise.
34668 (TEST_INLINE): Likewise.
34669 (__NO_MATH_INLINES): Likewise.
34670 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
34671 and test-math-scalar.h.
34672 (FUNC): Remove macro.
34673 (FUNC_TEST): Likewise.
34674 (FLOAT): Likewise.
34675 (MATHCONST): Likewise.
34676 (PRINTF_EXPR): Likewise.
34677 (PRINTF_XEXPR): Likewise.
34678 (PRINTF_NEXPR): Likewise.
34679 (TEST_LDOUBLE): Likewise.
34680 (TEST_MATHVEC): Likewise.
34681 (TEST_INLINE): Likewise.
34682 (__NO_MATH_INLINES): Likewise.
34683 * math/test-ldouble.c: Include test-ldouble.h,
34684 test-math-no-inline.h and test-math-scalar.h.
34685 (FUNC): Remove macro.
34686 (FUNC_TEST): Likewise.
34687 (FLOAT): Likewise.
34688 (MATHCONST): Likewise.
34689 (PRINTF_EXPR): Likewise.
34690 (PRINTF_XEXPR): Likewise.
34691 (PRINTF_NEXPR): Likewise.
34692 (TEST_LDOUBLE): Likewise.
34693 (TEST_MATHVEC): Likewise.
34694 (__NO_MATH_INLINES): Likewise.
34695 * math/test-double-vlen2.h: Include test-double.h,
34696 test-math-no-inline.h and test-math-vector.h.
34697 (FLOAT): Remove macro.
34698 (FUNC): Likewise.
34699 (MATHCONST): Likewise.
34700 (PRINTF_EXPR): Likewise.
34701 (PRINTF_XEXPR): Likewise.
34702 (PRINTF_NEXPR): Likewise.
34703 (TEST_DOUBLE): Likewise.
34704 (TEST_MATHVEC): Likewise.
34705 (__NO_MATH_INLINES): Likewise.
34706 (CNCT): Likewise.
34707 (CONCAT): Likewise.
34708 (WRAPPER_NAME): Likewise.
34709 (WRAPPER_DECL): Likewise.
34710 (WRAPPER_DECL_ff): Likewise.
34711 (WRAPPER_DECL_fFF): Likewise.
34712 (VECTOR_WRAPPER): Likewise.
34713 (VECTOR_WRAPPER_ff): Likewise.
34714 (VECTOR_WRAPPER_fFF): Likewise.
34715 (VEC_LEN): New macro.
34716 * math/test-double-vlen4.h: Include test-double.h,
34717 test-math-no-inline.h and test-math-vector.h.
34718 (FLOAT): Remove macro.
34719 (FUNC): Likewise.
34720 (MATHCONST): Likewise.
34721 (PRINTF_EXPR): Likewise.
34722 (PRINTF_XEXPR): Likewise.
34723 (PRINTF_NEXPR): Likewise.
34724 (TEST_DOUBLE): Likewise.
34725 (TEST_MATHVEC): Likewise.
34726 (__NO_MATH_INLINES): Likewise.
34727 (CNCT): Likewise.
34728 (CONCAT): Likewise.
34729 (WRAPPER_NAME): Likewise.
34730 (WRAPPER_DECL): Likewise.
34731 (WRAPPER_DECL_ff): Likewise.
34732 (WRAPPER_DECL_fFF): Likewise.
34733 (VECTOR_WRAPPER): Likewise.
34734 (VECTOR_WRAPPER_ff): Likewise.
34735 (VECTOR_WRAPPER_fFF): Likewise.
34736 (VEC_LEN): New macro.
34737 * math/test-double-vlen8.h: Include test-double.h,
34738 test-math-no-inline.h and test-math-vector.h.
34739 (FLOAT): Remove macro.
34740 (FUNC): Likewise.
34741 (MATHCONST): Likewise.
34742 (PRINTF_EXPR): Likewise.
34743 (PRINTF_XEXPR): Likewise.
34744 (PRINTF_NEXPR): Likewise.
34745 (TEST_DOUBLE): Likewise.
34746 (TEST_MATHVEC): Likewise.
34747 (__NO_MATH_INLINES): Likewise.
34748 (CNCT): Likewise.
34749 (CONCAT): Likewise.
34750 (WRAPPER_NAME): Likewise.
34751 (WRAPPER_DECL): Likewise.
34752 (WRAPPER_DECL_ff): Likewise.
34753 (WRAPPER_DECL_fFF): Likewise.
34754 (VECTOR_WRAPPER): Likewise.
34755 (VECTOR_WRAPPER_ff): Likewise.
34756 (VECTOR_WRAPPER_fFF): Likewise.
34757 (VEC_LEN): New macro.
34758 * math/test-float-vlen4.h: Include test-float.h,
34759 test-math-no-inline.h and test-math-vector.h.
34760 (FLOAT): Remove macro.
34761 (FUNC): Likewise.
34762 (MATHCONST): Likewise.
34763 (PRINTF_EXPR): Likewise.
34764 (PRINTF_XEXPR): Likewise.
34765 (PRINTF_NEXPR): Likewise.
34766 (TEST_FLOAT): Likewise.
34767 (TEST_MATHVEC): Likewise.
34768 (__NO_MATH_INLINES): Likewise.
34769 (CNCT): Likewise.
34770 (CONCAT): Likewise.
34771 (WRAPPER_NAME): Likewise.
34772 (WRAPPER_DECL): Likewise.
34773 (WRAPPER_DECL_ff): Likewise.
34774 (WRAPPER_DECL_fFF): Likewise.
34775 (VECTOR_WRAPPER): Likewise.
34776 (VECTOR_WRAPPER_ff): Likewise.
34777 (VECTOR_WRAPPER_fFF): Likewise.
34778 (VEC_LEN): New macro.
34779 * math/test-float-vlen8.h: Include test-float.h,
34780 test-math-no-inline.h and test-math-vector.h.
34781 (FLOAT): Remove macro.
34782 (FUNC): Likewise.
34783 (MATHCONST): Likewise.
34784 (PRINTF_EXPR): Likewise.
34785 (PRINTF_XEXPR): Likewise.
34786 (PRINTF_NEXPR): Likewise.
34787 (TEST_FLOAT): Likewise.
34788 (TEST_MATHVEC): Likewise.
34789 (__NO_MATH_INLINES): Likewise.
34790 (CNCT): Likewise.
34791 (CONCAT): Likewise.
34792 (WRAPPER_NAME): Likewise.
34793 (WRAPPER_DECL): Likewise.
34794 (WRAPPER_DECL_ff): Likewise.
34795 (WRAPPER_DECL_fFF): Likewise.
34796 (VECTOR_WRAPPER): Likewise.
34797 (VECTOR_WRAPPER_ff): Likewise.
34798 (VECTOR_WRAPPER_fFF): Likewise.
34799 (VEC_LEN): New macro.
34800 * math/test-float-vlen16.h: Include test-float.h,
34801 test-math-no-inline.h and test-math-vector.h.
34802 (FLOAT): Remove macro.
34803 (FUNC): Likewise.
34804 (MATHCONST): Likewise.
34805 (PRINTF_EXPR): Likewise.
34806 (PRINTF_XEXPR): Likewise.
34807 (PRINTF_NEXPR): Likewise.
34808 (TEST_FLOAT): Likewise.
34809 (TEST_MATHVEC): Likewise.
34810 (__NO_MATH_INLINES): Likewise.
34811 (CNCT): Likewise.
34812 (CONCAT): Likewise.
34813 (WRAPPER_NAME): Likewise.
34814 (WRAPPER_DECL): Likewise.
34815 (WRAPPER_DECL_ff): Likewise.
34816 (WRAPPER_DECL_fFF): Likewise.
34817 (VECTOR_WRAPPER): Likewise.
34818 (VECTOR_WRAPPER_ff): Likewise.
34819 (VECTOR_WRAPPER_fFF): Likewise.
34820 (VEC_LEN): New macro.
34821 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
34822 test-vec-loop.h.
34823 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34824 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34825 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34826 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34827 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34828 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34829 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
34830
34831 2015-06-24 Roland McGrath <roland@hack.frob.com>
34832
34833 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
34834 (__getlogin_r): ... this.
34835
34836 2015-06-24 Joseph Myers <joseph@codesourcery.com>
34837
34838 [BZ #18594]
34839 * math/s_ccosh.c (__ccosh): Compare with least normal value
34840 instead of comparing class with FP_SUBNORMAL.
34841 * math/s_ccoshf.c (__ccoshf): Likewise.
34842 * math/s_ccoshl.c (__ccoshl): Likewise.
34843 * math/s_cexp.c (__cexp): Likewise.
34844 * math/s_cexpf.c (__cexpf): Likewise.
34845 * math/s_cexpl.c (__cexpl): Likewise.
34846 * math/s_csin.c (__csin): Likewise.
34847 * math/s_csinf.c (__csinf): Likewise.
34848 * math/s_csinh.c (__csinh): Likewise.
34849 * math/s_csinhf.c (__csinhf): Likewise.
34850 * math/s_csinhl.c (__csinhl): Likewise.
34851 * math/s_csinl.c (__csinl): Likewise.
34852 * math/s_ctan.c (__ctan): Likewise.
34853 * math/s_ctanf.c (__ctanf): Likewise.
34854 * math/s_ctanh.c (__ctanh): Likewise.
34855 * math/s_ctanhf.c (__ctanhf): Likewise.
34856 * math/s_ctanhl.c (__ctanhl): Likewise.
34857 * math/s_ctanl.c (__ctanl): Likewise.
34858 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
34859 csin, csinh, ctan and ctanh.
34860 * math/auto-libm-test-out: Regenerated.
34861 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
34862 * sysdeps/i386/fpu/libm-test-ulps: Update.
34863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34864
34865 2015-06-24 Roland McGrath <roland@hack.frob.com>
34866
34867 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
34868 return value is wrong, print the expected value too.
34869
34870 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
34871
34872 [BZ #18585]
34873 * elf/readlib.c (is_gdb_python_file): New.
34874 (process_file): Don't issue errors on filenames with -gdb.py
34875 suffix.
34876
34877 2015-06-24 Joseph Myers <joseph@codesourcery.com>
34878
34879 * math/auto-libm-test-in: Add more tests of csin and csinh.
34880 * math/auto-libm-test-out: Regenerated.
34881 * math/libm-test.inc (csin_test_data): Remove tests moved to
34882 auto-libm-test-in.
34883 (csinh_test_data): Likewise.
34884
34885 [BZ #18593]
34886 * math/s_csin.c (__csin): Negate before rather than after possibly
34887 overflowing multiplication.
34888 * math/s_csinf.c (__csinf): Likewise.
34889 * math/s_csinh.c (__csinh): Likewise.
34890 * math/s_csinhf.c (__csinhf): Likewise.
34891 * math/s_csinhl.c (__csinhl): Likewise.
34892 * math/s_csinl.c (__csinl): Likewise.
34893 * math/auto-libm-test-in: Add some tests of csin and csinh.
34894 * math/auto-libm-test-out: Regenerated.
34895 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
34896 (csinh_test_data): Likewise.
34897 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34898
34899 [BZ #18586]
34900 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
34901 underflow exception for small results.
34902
34903 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
34904
34905 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
34906 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
34907 variable and included header.
34908 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
34909 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
34910 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
34911 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
34912 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
34913 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
34914 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
34915 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
34916 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
34917 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
34918 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
34919 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
34920 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
34921 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
34922 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
34923 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
34924
34925 2015-06-23 Joseph Myers <joseph@codesourcery.com>
34926
34927 [BZ #16526]
34928 [BZ #16538]
34929 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
34930 (__sin): Force underflow exception for arguments with small
34931 absolute value.
34932 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
34933 (__kernel_sinf): Force underflow exception for arguments with
34934 small absolute value.
34935 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
34936 (__kernel_sincosl): Force underflow exception for arguments with
34937 small absolute value.
34938 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
34939 (__kernel_sinl): Force underflow exception for arguments with
34940 small absolute value.
34941 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
34942 (__kernel_sincosl): Force underflow exception for arguments with
34943 small absolute value.
34944 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
34945 (__kernel_sinl): Force underflow exception for arguments with
34946 small absolute value.
34947 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
34948 (__kernel_sinl): Force underflow exception for arguments with
34949 small absolute value.
34950 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
34951 (__kernel_sinf): Force underflow exception for arguments with
34952 small absolute value.
34953 * math/auto-libm-test-in: Add more tests of sin and sincos.
34954 * math/auto-libm-test-out: Regenerated.
34955
34956 [BZ #18245]
34957 [BZ #18583]
34958 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
34959 (__kernel_standard_l): Use feholdexcept and fesetenv around
34960 conversion to double instead of special-casing overflow and
34961 underflow.
34962 * math/libm-test.inc (fmod_test_data): Add more tests.
34963 (remainder_test_data): Likewise.
34964 (sqrt_test_data): Likewise.
34965
34966 2015-06-23 Torvald Riegel <triegel@redhat.com>
34967
34968 [BZ #17403]
34969 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
34970 atomic_read_barrier, atomic_write_barrier): Define.
34971 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
34972 atomic_read_barrier, atomic_write_barrier): Define.
34973
34974 2015-06-23 Joseph Myers <joseph@codesourcery.com>
34975
34976 * math/Makefile [$(PERL) != no]
34977 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
34978 dependency on libm-test.stmp below the inclusion of Rules.
34979
34980 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
34981
34982 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
34983 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
34984 and included header.
34985 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
34986 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
34987 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
34988 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
34989 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
34990 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
34991 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
34992 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
34993 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
34994 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
34995 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
34996 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
34997 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
34998 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
34999 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
35000 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
35001 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
35002 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
35003 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
35004
35005 2015-06-23 Joseph Myers <joseph@codesourcery.com>
35006
35007 [BZ #18371]
35008 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
35009 intermediate but not final result might underflow.
35010 * math/s_csqrtf.c (__csqrtf): Likewise.
35011 * math/s_csqrtl.c (__csqrtl): Likewise.
35012 * math/auto-libm-test-in: Add more tests of csqrt.
35013 * math/auto-libm-test-out: Regenerated.
35014 * sysdeps/i386/fpu/libm-test-ulps: Update.
35015
35016 [BZ #18219]
35017 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
35018 threshold on absolute value of exponent for which scaling is used.
35019 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
35020 * math/auto-libm-test-in: Add more tests of exp2.
35021 * math/auto-libm-test-out: Regenerated.
35022
35023 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
35024
35025 [BZ #17977]
35026 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
35027 when initializing interface list, based on the bug analysis
35028 and the patch proposed by Eric Newton.
35029 * resolv/tst-res_hconf_reorder.c: New test.
35030 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
35031 tst-res_hconf_reorder.
35032 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
35033 and $(shared-thread-library).
35034 (tst-res_hconf_reorder-ENV): New variable.
35035
35036 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
35037 in comment.
35038
35039 2015-06-22 Joseph Myers <joseph@codesourcery.com>
35040
35041 [BZ #16353]
35042 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
35043 (__expm1): Force underflow exception for arguments with small
35044 absolute value.
35045 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
35046 (__expm1f): Force underflow exception for arguments with small
35047 absolute value.
35048 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
35049 (__expm1): Force underflow exception for arguments with small
35050 absolute value.
35051 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
35052 (__expm1f): Force underflow exception for arguments with small
35053 absolute value.
35054 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35055 Check for small arguments before calling __expm1.
35056 * math/auto-libm-test-in: Do not mark underflow exceptions as
35057 possibly missing for bug 16353.
35058 * math/auto-libm-test-out: Regenerated.
35059
35060 2015-06-22 Andreas Schwab <schwab@suse.de>
35061
35062 [BZ #18513]
35063 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
35064 PTR queries.
35065
35066 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
35067
35068 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
35069
35070 * string/strcoll_l.c: Remove unused struct element idxnow.
35071
35072 2015-06-21 Joseph Myers <joseph@codesourcery.com>
35073
35074 [BZ #18569]
35075 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
35076 underflow and return argument in case of subnormal argument.
35077 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35078 Likewise.
35079 * math/auto-libm-test-in: Add more tests of expm1.
35080 * math/auto-libm-test-out: Regenerated.
35081
35082 [BZ #16361]
35083 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35084 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35085 tiny results.
35086 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35087 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35088 tiny results.
35089 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
35090 mark underflow exceptions as possibly missing for bug 16361.
35091 * math/auto-libm-test-out: Regenerated.
35092
35093 2015-06-19 Joseph Myers <joseph@codesourcery.com>
35094
35095 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
35096 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
35097 Remove variable.
35098 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
35099 (test-xfail-XOPEN2K8/utmpx.h/conform).
35100
35101 * conform/conformtest.pl ($xerrors): New variable.
35102 (note_error): New function.
35103 (compiletest): New argument $xfail. Use not_error.
35104 (runtest): Likewise.
35105 (top level): Handle xfail- lines. Update calls to compiletest and
35106 runtest. Handle xfail- and optional- in headers listed with
35107 allow-header.
35108 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
35109 (O_EXEC): Likewise.
35110 (O_SEARCH): Likewise.
35111 * conform/data/stropts.h-data (ioctl): Likewise.
35112 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
35113 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
35114 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
35115 (msghdr.msg_controllen): Likewise.
35116 (cmsghdr.cmsg_len): Likewise.
35117 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
35118 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
35119 variable.
35120 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
35121 (test-xfail-XPG4/stropts.h/conform): Likewise.
35122 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
35123 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
35124 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
35125 (test-xfail-UNIX98/stropts.h/conform): Likewise.
35126 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
35127 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
35128 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
35129 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
35130 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
35131 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
35132 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
35133 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
35134 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
35135 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
35136 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
35137 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
35138 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
35139 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
35140 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
35141
35142 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
35143
35144 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
35145 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
35146 definitions for proper unfolding of __MATHDECL_VEC.
35147
35148 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35149
35150 * benchtests/bench-strcoll.c:
35151 Include string.h.
35152 (main): Remove unused variable res.
35153
35154 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35155
35156 * timezone/Makefile (%/UTC %/Universal):
35157 Generate test-result files for UTC and Universal.
35158
35159 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35160
35161 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
35162
35163 2015-06-18 Joseph Myers <joseph@codesourcery.com>
35164
35165 [BZ #16350]
35166 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
35167 for arguments with small absolute value.
35168 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
35169 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
35170 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
35171 (__asinh): Force underflow exception for arguments with small
35172 absolute value.
35173 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
35174 (__asinhf): Force underflow exception for arguments with small
35175 absolute value.
35176 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
35177 (__asinhl): Force underflow exception for arguments with small
35178 absolute value.
35179 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
35180 (__asinhl): Force underflow exception for arguments with small
35181 absolute value.
35182 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
35183 (__asinhl): Force underflow exception for arguments with small
35184 absolute value.
35185 * math/auto-libm-test-in: Do not mark underflow exceptions as
35186 possibly missing for bug 16350.
35187 * math/auto-libm-test-out: Regenerated.
35188
35189 * include/bits/ipc.h: Remove file.
35190 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
35191 variable.
35192 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
35193 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
35194 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
35195 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
35196 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
35197 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
35198 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
35199 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
35200 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
35201
35202 * math/auto-libm-test-in: Remove spurious underflow allowance for
35203 tests of cexp.
35204 * math/auto-libm-test-out: Regenerated.
35205
35206 [BZ #18558]
35207 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
35208 unconditional definition.
35209 (MCAST_BLOCK_SOURCE): Likewise.
35210 (MCAST_UNBLOCK_SOURCE): Likewise.
35211 (MCAST_LEAVE_GROUP): Likewise.
35212 (MCAST_JOIN_SOURCE_GROUP): Likewise.
35213 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
35214 (MCAST_MSFILTER): Likewise.
35215 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
35216 Remove variable.
35217 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
35218 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
35219 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
35220 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
35221 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
35222
35223 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
35224
35225 * NEWS: Mention addition of x86_64 vector sincosf.
35226 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
35227 * math/test-float-vlen4.h: Likewise.
35228 * math/test-float-vlen8.h: Likewise.
35229 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35230 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
35231 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35232 * sysdeps/x86_64/fpu/Versions: New versions added.
35233 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35234 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35235 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35236 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
35237 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
35238 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
35239 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
35240 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
35241 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
35242 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
35243 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
35244 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
35245 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
35246 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
35247 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
35248 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
35249 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
35250 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35251 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35252 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35253 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35254 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35255 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35256 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35257
35258 * NEWS: Mention addition of x86_64 vector sincos.
35259 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
35260 * math/math.h (__MATHDECL_VEC): New macro.
35261 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
35262 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
35263 declaration under condition.
35264 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
35265 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
35266 TEST_VEC_LOOP change.
35267 * math/test-double-vlen4.h: Likewise.
35268 * math/test-double-vlen8.h: Likewise.
35269 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
35270 * math/test-float-vlen4.h: Likewise.
35271 * math/test-float-vlen8.h: Likewise.
35272 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35273 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
35274 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35275 * sysdeps/x86_64/fpu/Versions: New versions added.
35276 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35277 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35278 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35279 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
35280 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
35281 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
35282 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
35283 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
35284 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
35285 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
35286 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
35287 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
35288 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
35289 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
35290 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
35291 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
35292 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
35293 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35294 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35295 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35296 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35297 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35298 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35299 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35300
35301 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35302 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35303 redirections for powf.
35304 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35305 * sysdeps/x86_64/fpu/Versions: New versions added.
35306 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35307 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35308 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35309 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
35310 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
35311 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
35312 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
35313 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
35314 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
35315 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
35316 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
35317 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
35318 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
35319 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
35320 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
35321 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
35322 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
35323 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35324 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35325 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35326 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35327 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35328 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35329 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35330 * math/test-float-vlen16.h: Fixed 2 argument macro.
35331 * math/test-float-vlen4.h: Likewise.
35332 * math/test-float-vlen8.h: Likewise.
35333 * NEWS: Mention addition of x86_64 vector powf.
35334
35335 2015-06-17 Joseph Myers <joseph@codesourcery.com>
35336
35337 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35338 and redefine.
35339 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35340 and redefine.
35341 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
35342 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35343 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35344
35345 [BZ #18553]
35346 * resource/getpriority.c (getpriority): Rename to __getpriority
35347 and define as weak alias of __getpriority.
35348 * resource/setpriority.c (setpriority): Rename to __setpriority
35349 and define as weak alias of __setpriority.
35350 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
35351 __getpriority and define as weak alias of __getpriority.
35352 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
35353 __setpriority and define as weak alias of __setpriority.
35354 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
35355 strong name.
35356 (setpriority): Use __setpriority as strong name.
35357 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
35358 __getpriority and define as weak alias of __getpriority.
35359 * include/sys/resource.h (__getpriority): Declare. Use
35360 libc_hidden_proto.
35361 (__setpriority): Likewise.
35362 (getpriority): Don't use libc_hidden_proto.
35363 (setpriority): Likewise.
35364 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
35365 getpriority. Call __setpriority instead of setpriority.
35366 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
35367 Remove variable.
35368
35369 [BZ #18547]
35370 * misc/getttyent.c (getttynam): Rename to __getttynam and define
35371 as weak alias of __getttynam. Use prototype function definition.
35372 Call __setttyent, __getttyent and __endttyent instead of
35373 setttyent, getttyent and endttyent.
35374 (getttyent): Rename to __getttyent and define as weak alias of
35375 __getttyent. Call __setttyent instead of setttyent. Call
35376 __fgets_unlocked instead of fgets_unlocked.
35377 (setttyent): Rename to __setttyent and define as weak alias of
35378 __setttyent.
35379 (endttyent): Rename to __endttyent and define as weak alias of
35380 __endttyent.
35381 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
35382 (__setttyent): Likewise.
35383 (__endttyent): Likewise.
35384 (getttyent): Don't use libc_hidden_proto.
35385 (setttyent): Likewise.
35386 (endttyent): Likewise.
35387 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
35388 __endttyent instead of setttyent, getttyent and endttyent.
35389 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
35390 Remove variable.
35391
35392 [BZ #18546]
35393 * socket/recv.c (__recv): Use libc_hidden_def.
35394 * socket/socket.c (__socket): Likewise.
35395 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
35396 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
35397 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
35398 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
35399 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
35400 libc_hidden_def.
35401 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
35402 libc_hidden_weak.
35403 * include/sys/socket.h (__socket): Do not use attribute_hidden.
35404 Use libc_hidden_proto.
35405 (__recv): Likewise.
35406 * socket/Versions (libc): Export __recv and __socket at version
35407 GLIBC_PRIVATE.
35408 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
35409 instead of recv.
35410 (init_mq_netlink): Call __socket instead of socket.
35411 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
35412 Remove variable.
35413
35414 [BZ #18545]
35415 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
35416 __mq_timedreceive and define as alias of __mq_timedreceive. Use
35417 hidden_weak.
35418 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
35419 define as alias of __mq_timedsend. Use hidden_weak.
35420 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
35421 __mq_timedsend as strong name.
35422 (mq_timedreceive): Use __mq_timedreceive as strong name.
35423 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
35424 (__mq_timedreceive): Likewise.
35425 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
35426 __mq_timedreceive instead of mq_timedreceive.
35427 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
35428 instead of mq_timedsend.
35429 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
35430 Remove variable.
35431
35432 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
35433 hidden_def and hidden_weak instead of libc_hidden_def and
35434 libc_hidden_weak.
35435 (top level): Refer to hidden_def in comment.
35436 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
35437 macro. Use it instead of libc_hidden_def.
35438 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
35439 specify __GI_* name explicitly.
35440 (mq_timedreceive): Likewise.
35441 (mq_setattr): Likewise.
35442
35443 [BZ #18544]
35444 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
35445 __pthread_barrier_init and define as weak alias of
35446 __pthread_barrier_init.
35447 * sysdeps/sparc/nptl/pthread_barrier_init.c
35448 (pthread_barrier_init): Likewise.
35449 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
35450 __pthread_barrier_wait and define as weak alias of
35451 __pthread_barrier_wait.
35452 * sysdeps/sparc/nptl/pthread_barrier_wait.c
35453 (pthread_barrier_wait): Likewise.
35454 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
35455 (pthread_barrier_wait): Likewise.
35456 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
35457 (pthread_barrier_wait): Likewise.
35458 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
35459 (pthread_barrier_wait): Likewise.
35460 * nptl/Versions (libpthread): Export __pthread_barrier_init and
35461 __pthread_barrier_wait at version GLIBC_PRIVATE.
35462 * include/pthread.h (__pthread_barrier_init): Declare.
35463 (__pthread_barrier_wait): Likewise.
35464 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
35465 Call __pthread_barrier_wait instead of pthread_barrier_wait.
35466 (helper_thread): Likewise.
35467 (init_mq_netlink): Call __pthread_barrier_init instead of
35468 pthread_barrier_init.
35469
35470 [BZ #18542]
35471 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
35472 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
35473 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
35474 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
35475 vswscanf.
35476 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
35477 Remove variable.
35478
35479 [BZ #18540]
35480 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
35481 strong alias of _IO_fflush. Use libc_hidden_def.
35482 * libio/iofflush_u.c (fflush_unlocked): Rename to
35483 __fflush_unlocked and define as weak alias of __fflush_unlocked.
35484 Use libc_hidden_weak.
35485 * include/stdio.h (__fflush_unlocked): Declare. Use
35486 libc_hidden_proto.
35487 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
35488 fflush_unlocked.
35489 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
35490 Remove variable.
35491
35492 [BZ #18539]
35493 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
35494 define as weak alias of __addseverity.
35495 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
35496 Remove variable.
35497 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
35498 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
35499 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
35500
35501 [BZ #18536]
35502 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
35503 (__tfind): Likewise.
35504 (__tdelete): Likewise.
35505 (__twalk): Likewise.
35506 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
35507 __twalk to GLIBC_PRIVATE.
35508 * include/search.h (__tsearch): Use libc_hidden_proto.
35509 (__tfind): Likewise.
35510 (__tdelete): Likewise.
35511 (__twalk): Likewise.
35512 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
35513 Call __tdelete instead of tdelete.
35514 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
35515 tfind. Call __tsearch instead of tsearch.
35516 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
35517 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
35518 Remove variable.
35519 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
35520
35521 [BZ #18534]
35522 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
35523 (dprintf): Define as a weak alias of __dprintf, not a strong
35524 alias.
35525 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
35526 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
35527 dprintf.
35528 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
35529 Remove variable.
35530 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
35531 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
35532
35533 [BZ #18533]
35534 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
35535 not a strong alias.
35536 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
35537 Remove variable.
35538
35539 [BZ #18532]
35540 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
35541 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
35542 (in6addr_loopback): Rename to __in6addr_loopback and define as
35543 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
35544 * include/netinet/in.h (__in6addr_loopback): Declare. Use
35545 libc_hidden_proto.
35546 (__in6addr_any): Likewise.
35547 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
35548 in6addr_any.
35549 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
35550 variable.
35551 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
35552
35553 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
35554
35555 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
35556 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
35557 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35558 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35559 redirections for pow.
35560 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35561 * sysdeps/x86_64/fpu/Versions: New versions added.
35562 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35563 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35564 build of SSE, AVX2 and AVX512 IFUNC versions.
35565 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
35566 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
35567 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
35568 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
35569 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
35570 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
35571 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
35572 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
35573 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
35574 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
35575 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
35576 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
35577 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
35578 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
35579 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35580 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35581 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35582 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35583 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35584 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35585 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35586 * NEWS: Mention addition of x86_64 vector pow.
35587
35588 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35589 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35590 redirections for expf.
35591 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35592 * sysdeps/x86_64/fpu/Versions: New versions added.
35593 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35594 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35595 build of SSE, AVX2 and AVX512 IFUNC versions.
35596 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
35597 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
35598 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
35599 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
35600 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
35601 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
35602 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
35603 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
35604 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
35605 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
35606 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
35607 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
35608 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
35609 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35610 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35611 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35612 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35613 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35614 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35615 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35616 * NEWS: Mention addition of x86_64 vector expf.
35617
35618 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
35619 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
35620 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35621 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35622 redirections for exp.
35623 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35624 * sysdeps/x86_64/fpu/Versions: New versions added.
35625 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35626 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35627 build of SSE, AVX2 and AVX512 IFUNC versions.
35628 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
35629 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
35630 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
35631 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
35632 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
35633 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
35634 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
35635 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
35636 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
35637 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
35638 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
35639 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
35640 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
35641 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35642 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35643 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35644 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35645 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35646 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35647 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35648 * NEWS: Mention addition of x86_64 vector exp.
35649
35650 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35651 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35652 redirections for logf.
35653 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35654 * sysdeps/x86_64/fpu/Versions: New versions added.
35655 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35656 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35657 build of SSE, AVX2 and AVX512 IFUNC versions.
35658 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
35659 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
35660 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
35661 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
35662 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
35663 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
35664 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
35665 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
35666 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
35667 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
35668 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
35669 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
35670 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
35671 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35672 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35673 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35674 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35675 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35676 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35677 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35678 * NEWS: Mention addition of x86_64 vector logf.
35679
35680 * bits/libm-simd-decl-stubs.h: Added stubs for log.
35681 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
35682 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35683 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35684 redirections for log.
35685 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35686 * sysdeps/x86_64/fpu/Versions: New versions added.
35687 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35688 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35689 build of SSE, AVX2 and AVX512 IFUNC versions.
35690 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
35691 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
35692 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
35693 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
35694 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
35695 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
35696 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
35697 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
35698 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
35699 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
35700 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
35701 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
35702 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
35703 test.
35704 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35705 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35706 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35707 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35708 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35709 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35710 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35711 * NEWS: Mention addition of x86_64 vector log.
35712
35713 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
35714
35715 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
35716 cfi_adjust_cfa_offset argument.
35717 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
35718 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
35719
35720 [BZ #18034]
35721 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
35722 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
35723 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
35724 ordering using ldar.
35725 (_dl_tlsdesc_dynamic): Likewise.
35726 (_dl_tlsdesc_return_lazy): Likewise.
35727 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
35728 relaxed atomics instead of volatile and synchronize with release store.
35729 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
35730 volatile.
35731 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
35732
35733 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
35734
35735 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35736 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
35737 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35738 * sysdeps/x86_64/fpu/Versions: New versions added.
35739 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35740 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35741 build of SSE, AVX2 and AVX512 IFUNC versions.
35742 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
35743 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
35744 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
35745 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
35746 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
35747 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
35748 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
35749 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
35750 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
35751 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
35752 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
35753 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
35754 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
35755 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35756 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35757 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35758 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35759 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35760 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35761 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35762 * NEWS: Mention addition of x86_64 vector sinf.
35763
35764 2015-06-14 Joseph Myers <joseph@codesourcery.com>
35765
35766 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
35767 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
35768 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
35769 Remove variable.
35770 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
35771 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
35772
35773 2015-06-12 Joseph Myers <joseph@codesourcery.com>
35774
35775 [BZ #18530]
35776 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
35777 strong alias of _IO_fputs. Use libc_hidden_def.
35778 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
35779 and define as weak alias of __fputs_unlocked. Use
35780 libc_hidden_weak.
35781 * include/stdio.h (__fputs_unlocked): Declare. Use
35782 libc_hidden_proto.
35783 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
35784 fputs_unlocked.
35785
35786 [BZ #18529]
35787 * resolv/netdb.h [__USE_POSIX]: Change condition to
35788 [__USE_XOPEN2K].
35789 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
35790 not expect.
35791 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
35792 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
35793 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
35794 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
35795 [XPG4 || UNIX98] (AI_ALL): Likewise.
35796 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
35797 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
35798 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
35799 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
35800 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
35801 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
35802 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
35803 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
35804 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
35805 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
35806 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
35807 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
35808 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
35809 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
35810 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
35811 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
35812 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
35813 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
35814 [XPG4 || UNIX98] (gai_strerror): Likewise.
35815 [XPG4 || UNIX98] (getaddrinfo): Likewise.
35816 [XPG4 || UNIX98] (getnameinfo): Likewise.
35817
35818 [BZ #18528]
35819 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
35820 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
35821 __USE_XOPEN2K8].
35822 (getgrent): Likewise.
35823 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
35824 expect.
35825 [XPG3 || POSIX2008] (endgrent): Likewise.
35826 [XPG3] (setgrent): Likewise.
35827 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
35828 variable.
35829 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
35830
35831 [BZ #18527]
35832 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
35833 define as weak alias of __getlogin_r. Use libc_hidden_weak.
35834 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
35835 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
35836 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
35837 * include/unistd.h (__getlogin_r): Declare. Use
35838 libc_hidden_proto.
35839 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
35840 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
35841 variable.
35842 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
35843 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
35844 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
35845
35846 2015-06-12 Martin Sebor <msebor@redhat.com>
35847
35848 [BZ #18512]
35849 * Makerules (check-install-supported): New target.
35850 (install): Add check-install-supported as a dependency.
35851 * manual/install.texi (Installing the C Library): Document
35852 that overriding prefix and exec_prefix is not supported.
35853 Mention DESTDIR.
35854 * INSTALL: Regenerate from the above.
35855
35856 2015-06-12 Joseph Myers <joseph@codesourcery.com>
35857
35858 [BZ #18519]
35859 * posix/Versions (libc): Export __libc_pread at version
35860 GLIBC_PRIVATE.
35861 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
35862 instead of pread.
35863 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
35864 variable.
35865
35866 [BZ #18522]
35867 * misc/efgcvt_r.c
35868 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
35869 (cvt_symbol): Use weak_alias instead of strong_alias.
35870 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
35871 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
35872 Remove variable.
35873 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
35874 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
35875
35876 [BZ #18520]
35877 * inet/herrno.c (h_errno): Rename to __h_errno.
35878 (__libc_h_errno): Define as alias of __h_errno not h_errno.
35879 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
35880 to __h_errno instead of h_errno.
35881 * nptl/herrno.c (h_errno): Rename to __h_errno.
35882 (__h_errno_location): Refer to __h_errno not h_errno.
35883 * resolv/Versions (h_errno): Rename to __h_errno.
35884 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
35885 Remove variable.
35886 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
35887
35888 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
35889
35890 * configure.ac: More strict check for AVX512 assembler support.
35891 * configure: Regenerated.
35892
35893 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
35894 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
35895 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35896 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
35897 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35898 * sysdeps/x86_64/fpu/Versions: New versions added.
35899 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35900 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35901 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35902 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
35903 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
35904 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
35905 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
35906 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
35907 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
35908 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
35909 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
35910 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
35911 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
35912 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
35913 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
35914 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
35915 test.
35916 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35917 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35918 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35919 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35920 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35921 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35922 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35923 * NEWS: Mention addition of x86_64 vector sin.
35924
35925 2015-06-11 Florian Weimer <fweimer@redhat.com>
35926
35927 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
35928 comment.
35929
35930 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
35931
35932 [BZ #18479]
35933 * nptl/pt-interp.c: New file.
35934 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
35935 Add pt-interp.
35936 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
35937 $(common-objpfx)runtime-linker.h.
35938
35939 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
35940
35941 * Makeconfig (+interp): Remove unused variable.
35942 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
35943 only. Depend on $(common-objpfx)runtime-linker.h instead of
35944 $(elf-objpfx)runtime-linker.h.
35945 ($(elf-objpfx)runtime-linker.h): Rename to
35946 $(common-objpfx)runtime-linker.h and move ...
35947 * Makerules [$(build-shared) = yes]: ... here.
35948 * elf/interp.c: Include <runtime-linker.h> instead of
35949 <elf/runtime-linker.h>.
35950
35951 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35952
35953 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
35954 (__gettimeofday_syscall): Remove vsyscall fallback.
35955 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
35956 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
35957 Add syscall fallback function.
35958 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
35959 if vDSO is not present.
35960 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
35961 fallback function.
35962 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
35963 present.
35964 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
35965 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35966
35967 2015-06-09 Joseph Myers <joseph@codesourcery.com>
35968
35969 [BZ #18497]
35970 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
35971 of wcscmp.
35972 (wcscmp): Define as weak alias of WCSCMP.
35973 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
35974 wcscoll.
35975 (USE_HIDDEN_DEF): Define.
35976 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
35977 __wcscoll. Don't use libc_hidden_weak.
35978 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
35979 wcscmp.
35980 * sysdeps/i386/i686/multiarch/wcscmp-c.c
35981 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
35982 __GI_wcscmp.
35983 (weak_alias): Undefine and redefine.
35984 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
35985 __wcscmp and define as weak alias of __wcscmp.
35986 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
35987 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
35988 (__wcscoll): Likewise.
35989 (wcscmp): Don't use libc_hidden_proto.
35990 (wcscoll): Likewise.
35991 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
35992 wcscoll.
35993 * posix/regexec.c (check_node_accept_bytes): Likewise.
35994 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
35995 variable.
35996 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
35997 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
35998
35999 [BZ #18507]
36000 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
36001 __fstatvfs and define as weak alias of __fstatvfs. Use
36002 libc_hidden_weak.
36003 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
36004 and define as weak alias of __statvfs. Use libc_hidden_weak.
36005 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
36006 Define as alias of __fstatvfs, not fstatvfs.
36007 (fstatvfs64): Likewise.
36008 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
36009 Define as alias of __statvfs, not statvfs.
36010 (statvfs64): Likewise.
36011 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
36012 Remove variable.
36013
36014 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36015
36016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36017 (HAVE_GETCPU_VSYSCALL): Define.
36018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36019 (HAVE_GETCPU_VSYSCALL): Likewise.
36020 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
36021 * sysdeps/unix/sysv/linux/sched_getcpu.c
36022 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
36023 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
36024 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
36025 prototype.
36026 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36027 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
36028 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
36029 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
36030 Define.
36031 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
36032 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36033 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
36034 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36035
36036 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
36037
36038 * sysdeps/x86_64/fpu/Makefile: New file.
36039 * sysdeps/x86_64/fpu/Versions: New file.
36040 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
36041 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
36042 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
36043 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
36044 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
36045 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
36046 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
36047 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
36048 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
36049 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
36050 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
36051 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
36052 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
36053 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36054 Added build of SSE, AVX2 and AVX512 IFUNC versions.
36055 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
36056 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
36057 * sysdeps/x86_64/configure.ac: Options for libmvec build.
36058 * sysdeps/x86_64/configure: Regenerated.
36059 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
36060 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
36061 * manual/install.texi (Configuring and compiling): Document
36062 --disable-mathvec.
36063 * INSTALL: Regenerated.
36064 * NEWS: Mention addition of libmvec and x86_64 vector cos.
36065
36066 * math/Makefile: Added rules for vector tests.
36067 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
36068 declaration under condition.
36069 * math/test-double-vlen2.h: New file.
36070 * math/test-double-vlen4.h: New file.
36071 * math/test-double-vlen8.h: New file.
36072 * math/test-vec-loop.h: Added initialization macro.
36073 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
36074 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
36075 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
36076 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
36077 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
36078 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
36079 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
36080 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
36081 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
36082 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
36083 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
36084
36085 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36086 * sysdeps/x86_64/fpu/Versions: New versions added.
36087 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
36088 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
36089 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
36090 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
36091 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
36092 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
36093 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
36094 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
36095 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
36096 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
36097 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
36098 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
36099 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
36100 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36101 Added build of SSE, AVX2 and AVX512 IFUNC versions.
36102 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36103 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
36104 * NEWS: Mention addition of x86_64 vector cosf.
36105
36106 * math/Makefile: Added CFLAGS for new tests.
36107 * math/test-float-vlen16.h: New file.
36108 * math/test-float-vlen4.h: New file.
36109 * math/test-float-vlen8.h: New file.
36110 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
36111 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
36112 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36113 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
36114 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
36115 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
36116 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
36117 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
36118 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
36119 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
36120 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
36121
36122 2015-06-09 Marko Myllynen <myllynen@redhat.com>
36123
36124 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
36125 * locale/programs/ld-ctype.c: Likewise.
36126
36127 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
36128
36129 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
36130 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
36131 bit_ZMM16_31_state): New macro.
36132 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36133 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
36134
36135 2015-06-08 Joseph Myers <joseph@codesourcery.com>
36136
36137 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
36138
36139 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
36140
36141 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
36142
36143 2015-06-05 Joseph Myers <joseph@codesourcery.com>
36144
36145 [BZ #18498]
36146 * libio/memstream.c (open_memstream): Rename to __open_memstream
36147 and define as weak alias of __open_memstream.
36148 * include/stdio.h (__open_memstream): Declare. Use
36149 libc_hidden_proto.
36150 (open_memstream): Don't use libc_hidden_proto.
36151 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
36152 open_memstream.
36153 * posix/getopt.c (_getopt_internal_r): Likewise.
36154 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
36155 variable.
36156 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
36157 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
36158 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
36159
36160 [BZ #18496]
36161 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
36162 instead of wcrtomb.
36163
36164 [BZ #18483]
36165 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
36166 [__USE_XOPEN2K8]. Remove redundant #endif.
36167 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
36168 Remove redundant #if.
36169 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
36170 Remove variable.
36171 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
36172 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
36173
36174 [BZ #18495]
36175 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
36176 (__iswlower): Likewise.
36177 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
36178 (__iswlower): Likewise.
36179 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
36180 instead of towlower.
36181 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
36182 instead of iswlower. Call __towupper instead of towupper.
36183 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
36184 instead of iswalnum.
36185
36186 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36187
36188 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
36189 errors to stderr.
36190
36191 2015-06-05 Florian Weimer <fweimer@redhat.com>
36192
36193 [BZ #15661]
36194 [BZ #17322]
36195 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
36196 Check for overflow properly. Check for O_APPEND. Ignore large
36197 file system block sizes. Add comments about problems.
36198 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
36199 * manual/filesys.texi (Storage Allocation): New node.
36200
36201 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36202
36203 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
36204 cancellable syscalls.
36205 (SYS_ify): Add guard to no redefine it.
36206 (INLINE_SYSCALL): Likewise.
36207 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
36208 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
36209 SYSCALL_CANCEL instead.
36210 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
36211 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
36212 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
36213 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
36214 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
36215 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
36216 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
36217 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
36218 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
36219 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
36220 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
36221 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
36222 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
36223 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
36224 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
36225 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
36226 Likewise.
36227 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
36228 (__libc_pread64): Likewise.
36229 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
36230 (__libc_preadv): Likewise.
36231 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
36232 (__libc_readv64): Likewise.
36233 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
36234 (__libc_pwrite): Likewise.
36235 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
36236 (__libc_pwrite64): Likewise.
36237 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
36238 (__libc_pwritev): Likewise.
36239 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
36240 (__libc_pwritev64): Likewise.
36241 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
36242 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
36243 (sync_file_range): Likewise.
36244 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
36245 Likewise.
36246 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
36247 Likewise.
36248 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
36249 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
36250 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
36251 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
36252 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
36253 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
36254 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
36255 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
36256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
36257 Likewise.
36258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36259 (__libc_read64): Likewise.
36260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
36261 Likewise.
36262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
36263 Likewise.
36264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
36265 Likewise.
36266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
36267 Likewise.
36268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36269 (__libc_pread64): Likewise.
36270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
36271 Likewise.
36272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36273 (__libc_pwrite64): Likewise.
36274 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
36275 (sync_file_range): Likewise.
36276 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
36277 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
36278 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
36279 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
36280 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
36281 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
36282 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
36283 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
36284 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
36285 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
36286 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
36287 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
36288 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
36289 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
36290 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
36291 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
36292 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
36293 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
36294 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
36295 Likewise.
36296 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
36297 Likewise.
36298 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
36299 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
36300 Likewise.
36301 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
36302 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
36303 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
36304 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
36305 Likewise.
36306 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
36307 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
36308 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
36309 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
36310 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
36311
36312 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
36313
36314 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
36315 Include dl-vdso.
36316 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
36317 Use VDSO routines for gettimeofday, clock_gettime if
36318 available.
36319 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
36320 Declare VDSO symbols.
36321 * sysdeps/unix/sysv/linux/arm/sysdep.h:
36322 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
36323 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36324 * sysdeps/unix/sysv/linux/arm/Versions: Add
36325 __vdso_clock_gettime.
36326
36327 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36328
36329 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
36330 be an inline implementation regardless of library is built within.
36331 (open_not_cancel_2): Likewise.
36332 (__read_nocancel): Likewise.
36333 (__write_nocancel): Likewise.
36334 (openat_not_cancel): Likewise.
36335 (openat_not_cancel_3): Likewise.
36336 (openat64_not_cancel): Likewise.
36337 (openat64_not_cancel_3): Likewise.
36338 (__close_nocancel): Likewise.
36339 (pause_not_cancel): Likewise.
36340 (nanosleep_not_cancel): Likewise.
36341 (sigsuspend_not_cancel): Likewise.
36342
36343 2015-06-04 Torvald Riegel <triegel@redhat.com>
36344
36345 [BZ #14958]
36346 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
36347 wake-up.
36348 (__pthread_rwlock_rdlock_slow): Likewise.
36349 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36350 Likewise.
36351 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
36352 Likewise.
36353 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
36354 * nptl/tst-rwlock16.c: New file.
36355 * nptl/Makefile (tests): Add new test.
36356
36357 2015-06-04 Torvald Riegel <triegel@redhat.com>
36358
36359 [BZ #18324]
36360 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
36361 missing wake-up of readers.
36362 * nptl/tst-rwlock15.c: New file.
36363 * nptl/Makefile (tests): Add new test.
36364
36365 2015-06-03 Roland McGrath <roland@hack.frob.com>
36366
36367 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
36368 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
36369 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
36370 and __nacl_supply_interface_rtld.
36371 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
36372 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
36373 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
36374 Add __nacl_supply_interface_rtld.
36375 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
36376
36377 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
36378
36379 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
36380 isfinite.
36381 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36382 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
36383
36384 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
36385
36386 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
36387 __signbit* with standard C99 macros.
36388 * math/e_exp10l.c: Likewise.
36389 * math/e_exp2l.c: Likewise.
36390 * math/e_scalb.c: Likewise.
36391 * math/e_scalbf.c: Likewise.
36392 * math/e_scalbl.c: Likewise.
36393 * math/s_ldexp.c: Likewise.
36394 * math/s_ldexpf.c: Likewise.
36395 * math/s_ldexpl.c: Likewise.
36396 * math/w_atan2.c: Likewise.
36397 * math/w_atan2f.c: Likewise.
36398 * math/w_atan2l.c: Likewise.
36399 * math/w_cosh.c: Likewise.
36400 * math/w_coshf.c: Likewise.
36401 * math/w_coshl.c: Likewise.
36402 * math/w_exp10.c: Likewise.
36403 * math/w_exp10f.c: Likewise.
36404 * math/w_exp10l.c: Likewise.
36405 * math/w_exp2.c: Likewise.
36406 * math/w_exp2f.c: Likewise.
36407 * math/w_exp2l.c: Likewise.
36408 * math/w_fmod.c: Likewise.
36409 * math/w_fmodf.c: Likewise.
36410 * math/w_fmodl.c: Likewise.
36411 * math/w_hypot.c: Likewise.
36412 * math/w_hypotf.c: Likewise.
36413 * math/w_hypotl.c: Likewise.
36414 * math/w_jnl.c: Likewise.
36415 * math/w_lgamma.c: Likewise.
36416 * math/w_lgamma_r.c: Likewise.
36417 * math/w_lgammaf.c: Likewise.
36418 * math/w_lgammaf_r.c: Likewise.
36419 * math/w_lgammal.c: Likewise.
36420 * math/w_lgammal_r.c: Likewise.
36421 * math/w_pow.c: Likewise.
36422 * math/w_powf.c: Likewise.
36423 * math/w_powl.c: Likewise.
36424 * math/w_remainder.c: Likewise.
36425 * math/w_remainderf.c: Likewise.
36426 * math/w_remainderl.c: Likewise.
36427 * math/w_scalb.c: Likewise.
36428 * math/w_scalbf.c: Likewise.
36429 * math/w_scalbl.c: Likewise.
36430 * math/w_scalbln.c: Likewise.
36431 * math/w_scalblnf.c: Likewise.
36432 * math/w_scalblnl.c: Likewise.
36433 * math/w_sinh.c: Likewise.
36434 * math/w_sinhf.c: Likewise.
36435 * math/w_sinhl.c: Likewise.
36436 * math/w_tgamma.c: Likewise.
36437 * math/w_tgammaf.c: Likewise.
36438 * math/w_tgammal.c: Likewise.
36439 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36440 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
36441 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36442 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36443 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36444 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36445 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36446 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36447 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36448 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36449 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36450 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36451 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36452 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36453 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36454 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36455 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36456 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36457 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36458 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36459 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36460 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36461 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36462 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36463 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36464 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36465 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
36466 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36467 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36468 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36469 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
36470 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
36471 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
36472 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
36473 * stdio-common/printf_fp.c: Likewise.
36474 * stdio-common/printf_fphex.c: Likewise.
36475 * stdio-common/printf_size.c: Likewise.
36476
36477 2015-06-03 Joseph Myers <joseph@codesourcery.com>
36478
36479 [BZ #18470]
36480 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
36481 strnlen.
36482 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
36483 Remove variable.
36484 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
36485 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
36486 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
36487 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
36488 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
36489 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
36490 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
36491 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
36492 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
36493 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
36494
36495 [BZ #18468]
36496 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
36497 weak alias of __wmemchr. Use libc_hidden_weak.
36498 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
36499 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
36500 instead of wmemchr.
36501
36502 2015-06-02 Roland McGrath <roland@hack.frob.com>
36503
36504 [BZ #18383]
36505 * elf/tst-tlsalign-extern.c: New file.
36506 * elf/tst-tlsalign-extern-static.c: New file.
36507 * elf/tst-tlsalign-vars.c: New file.
36508 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
36509 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
36510 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
36511 ($(objpfx)tst-tlsalign-extern-static): Likewise.
36512 (test-xfail-tst-tlsalign-extern-static): New variable.
36513
36514 2015-06-02 Joseph Myers <joseph@codesourcery.com>
36515
36516 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
36517 Use variable name _sc_err instead of err.
36518 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
36519 instead of ret.
36520 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
36521 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
36522 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
36523 (INLINE_SYSCALL): Likewise.
36524
36525 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
36526 * include/string.h (__strnlen): Use libc_hidden_proto.
36527 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
36528 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
36529 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
36530 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
36531 (libc_hidden_def): Undefine and redefine.
36532 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
36533 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
36534 __GI_strnlen.
36535 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
36536 libc_hidden_def.
36537 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
36538
36539 [BZ #18469]
36540 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
36541 weak alias of __towlower. Use libc_hidden_weak.
36542 (towupper): Rename to __towupper and define as weak alias of
36543 __towupper. Use libc_hidden_weak.
36544 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
36545 (__towupper): Likewise.
36546 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
36547 __towlower instead of towlower.
36548
36549 2015-06-02 Roland McGrath <roland@hack.frob.com>
36550
36551 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
36552 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
36553
36554 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
36555
36556 * sysdeps/aarch64/libm-test-ulps: Update.
36557
36558 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36559
36560 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
36561 Define.
36562 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36563 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36564 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
36565 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36566 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
36567 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
36568 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
36569
36570 2015-06-01 Martin Sebor <msebor@redhat.com>
36571
36572 [BZ #18116]
36573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36574 (__setcontext): Use extended four-operand version of mtsf whenever
36575 possible.
36576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36577 (__novec_swapcontext): Likewise.
36578
36579 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
36580
36581 * benchtests/scripts/compare_bench.py: New file.
36582 * benchtests/scripts/import_bench.py (mean): New function.
36583 (split_list): Likewise.
36584 (do_for_all_timings): Likewise.
36585 (compress_timings): Likewise.
36586
36587 * benchtests/scripts/import_bench.py: New file.
36588 * benchtests/scripts/validate_benchout.py: Import import_bench
36589 instead of jsonschema.
36590 (validate_bench): Remove function.
36591 (main): Use import_bench.
36592
36593 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
36594
36595 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
36596 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
36597
36598 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36599
36600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36601
36602 2015-05-28 Roland McGrath <roland@hack.frob.com>
36603
36604 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
36605 set THREAD_SELF->tid to a magic value and futex-wake it.
36606 Pass its address to the thread_exit system call.
36607 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
36608 bit is clear.
36609 * sysdeps/nacl/lowlevellock.h: New file.
36610 * sysdeps/nacl/lll_timedwait_tid.c: New file.
36611
36612 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
36613 Add TIMEOUT to current time, don't subtract it.
36614
36615 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
36616
36617 [BZ #2981]
36618 [BZ #18422]
36619 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
36620 ($(objpfx)tst-audit2.out): Also depend on
36621 $(objpfx)tst-auditmod9b.so.
36622 * elf/tst-audit2.c: Include <dlfcn.h>.
36623 (calloc_called): New.
36624 (calloc): Allow to be called more than once.
36625 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
36626
36627 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
36628
36629 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
36630 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
36631
36632 2015-05-27 Marko Myllynen <myllynen@redhat.com>
36633
36634 * stdlib/monetary.h: Fix comment.
36635
36636 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
36637
36638 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
36639 Avoid using variables in #defines that might cause shadowing.
36640 (INTERNAL_VSYSCALL_CALL): Likewise.
36641
36642 2015-05-26 Roland McGrath <roland@hack.frob.com>
36643
36644 * sysdeps/nacl/lll_timedlock_wait.c: New file.
36645
36646 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
36647 * nptl/lll_timedlock_wait.c: ... to this new file.
36648 * nptl/Makefile (libpthread-routines): Add it.
36649 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
36650 * nptl/lll_timedwait_tid.c: ... to this new file.
36651 * nptl/Makefile (libpthread-routines): Add it.
36652 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
36653 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
36654 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
36655 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
36656 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
36657 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
36658 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
36659 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
36660 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
36661 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
36662
36663 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36664
36665 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
36666 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36667 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
36668 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
36669 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
36670 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36671 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36672 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36673 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36674 * sysdeps/unix/sysv/linux/tile/sysdep.h
36675 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36676 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
36677 using vDSO syscall macro.
36678
36679 2015-05-26 Andriy Rysin <arysin@gmail.com>
36680
36681 [BZ #17293]
36682 * uk_UA: Fix sorting order for Ukrainian locale
36683
36684 2015-05-26 Marko Myllynen <myllynen@redhat.com>
36685
36686 * stdlib/monetary.h: Fix comment.
36687
36688 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
36689
36690 [BZ #18234]
36691 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
36692 st_mtim and st_ctim members.
36693 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
36694 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
36695 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
36696 (struct stat64): Likewise.
36697 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
36698 (struct stat64): Likewise.
36699 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
36700 (struct stat64): Likewise.
36701
36702 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36703
36704 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
36705 Define and include sysdep-vdso.h.
36706 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
36707 Likewise.
36708 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
36709 Likewise.
36710 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
36711 Define with VDSO_SYMBOL and use PTR_MANGLE.
36712 (__vdso_clock_gettime): Likewise.
36713 (__vdso_clock_getres): Likewise.
36714 (_libc_vdso_platform_setup): Likewise.
36715 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
36716 Likewise.
36717 (_libc_vdso_platform_setup): Likewise.
36718 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
36719 Likewise.
36720 (__vdso_clock_gettime): Likewise.
36721 (__vdso_clock_getres): Likewise.
36722 (__vdso_get_tbfreq): Likewise.
36723 (__vdso_getcpu): Likewise.
36724 (__vdso_time): Likewise.
36725 (__vdso_sigtramp_rt64): Likewise.
36726 (__vdso_signtramp32): Likewise.
36727 (__vdso_sigtramp_rt32): Likewise.
36728 (_libc_vdso_platform_setup): Likewise.
36729 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
36730 Likewise.
36731 (__vdso_clock_gettime): Likewise.
36732 (__vdso_clock_getres): Likewise.
36733 (_libc_vdso_platform_setup): Likewise.
36734 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
36735 Likewise.
36736 (__vdso_clock_gettime): Likewise.
36737 (_libc_vdso_platform_setup): Likewise.
36738 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
36739 Likewise.
36740 (__vdso_getcpu): Likewise.
36741 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
36742 Use VDSO_SYMBOL macro to define.
36743 (__vdso_clock_gettime): Likewise.
36744 (__vdso_clock_getres): Likewise.
36745 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
36746 Likewise.
36747 (__vdso_clock_gettime): Likewise.
36748 (__vdso_clock_getres): Likewise.
36749 (__vdso_get_tbfreq): Likewise.
36750 (__vdso_getcpu): Likewise.
36751 (__vdso_time): Likewise.
36752 (__vdso_sigtramp_rt64): Likewise.
36753 (__vdso_signtramp32): Likewise.
36754 (__vdso_sigtramp_rt32): Likewise.
36755 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
36756 Likewise.
36757 (__vdso_clock_gettime): Likewise.
36758 (__vdso_clock_getres): Likewise.
36759 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
36760 Likewise.
36761 (__vdso_clock_gettime): Likewise.
36762 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
36763 Likewise.
36764 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
36765 macro.
36766 (INTERNAL_VSYSCALL): Likewise.
36767 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
36768 Remove macro.
36769 (INTERNAL_VSYSCALL): Likewise.
36770 (INTERNAL_VSYSCALL_NCS): Likewise.
36771 (INTERNAL_VSYSCALL_CALL): New macro.
36772 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
36773 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
36774 Likewise.
36775 (INTERNAL_VSYSCALL): Likewise.
36776 (INTERNAL_VSYSCALL_NCS): Likewise.
36777 (INTERNAL_VSYSCALL_CALL): New macro.
36778 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
36779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36780 (INLINE_VSYSCALL): Remove macro.
36781 (INTERNAL_VSYSCALL): Remove macro.
36782 (INTERNAL_VSYSCALL_NCS): Remove macro.
36783 (INTERNAL_VSYSCALL_CALL): New macro.
36784 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
36785 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
36786 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
36787 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
36788 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
36789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36790 (INLINE_VSYSCALL): Remove macro.
36791 (INTERNAL_VSYSCALL): Likewise.
36792 (INTERNAL_VSYSCALL_NCS): Likewise.
36793 (INTERNAL_VSYSCALL_CALL): New macro.
36794 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
36795 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
36796 PTR_DEMANGLE on vDSO pointer.
36797 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
36798 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
36799 macro.
36800 (INTERNAL_SYSCALL): Likewise.
36801 (INTERNAL_VSYSCALL_NCS): Remove macro.
36802 (INTERNAL_VSYSCALL_CALL): New macro.
36803 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
36804 Remove macro.
36805 (INTERNAL_VSYSCALL): Likewise.
36806 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
36807 sysdep-vdso.h instead of libc-vdso.h.
36808 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
36809 definition.
36810 (INLINE_VSYSCALL): Likewise.
36811 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
36812 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
36813 definition.
36814 (INLINE_VSYSCALL): Likewise.
36815 (INTERNAL_VSYSCALL): Likewise.
36816 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36817 * sysdeps/unix/sysv/linux/timespec_get.c
36818 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36819 (timespec_get): Use ANSI prototype.
36820 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
36821 and definition for Linux.
36822
36823 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
36824
36825 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
36826 * include/libc-symbols.h: libmvec_hidden_* macro series added.
36827
36828 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
36829
36830 [BZ #2981]
36831 [BZ #18410]
36832 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
36833 for missing DT_PLTRELSZ.
36834
36835 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
36836
36837 Remove obsolete aliases that broke 'locale -a'
36838 [BZ #18412]
36839 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
36840 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
36841 breaking some applications that use 'locale -a' output.
36842 Change the encoding of this file from Latin-1 to ASCII to avoid
36843 other potential problems with people grepping this file.
36844
36845 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36846
36847 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
36848 -fasynchronous-unwind-tables.
36849 (CFLAGS-sendto.c): Likewise.
36850 (CFLAGS-sendmsg.c): Likewise.
36851 (CFLAGS-connect.c): Likewise.
36852 (CFLAGS-recvmsg.c): Likewise.
36853 (CFLAGS-recvfrom.c): Likewise.
36854 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
36855 (SOCKETCALL): New macro: non-cancellable socketcall.
36856 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
36857 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
36858 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
36859 * sysdeps/unix/sysv/linux/accept.c: New file.
36860 * sysdeps/unix/sysv/linux/bind.c: Likewise.
36861 * sysdeps/unix/sysv/linux/connect.c: Likewise.
36862 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
36863 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
36864 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
36865 * sysdeps/unix/sysv/linux/listen.c: Likewise.
36866 * sysdeps/unix/sysv/linux/recv.c: Likewise.
36867 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
36868 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
36869 * sysdeps/unix/sysv/linux/send.c: Likewise.
36870 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
36871 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
36872 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
36873 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
36874 * sysdeps/unix/sysv/linux/socket.c: Likewise.
36875 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
36876 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
36877 prototype.
36878 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
36879 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
36880 instead of __internal_xxx function.
36881 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
36882 prototype.
36883 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
36884 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
36885 instead of __internal_xxx function.
36886 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
36887 prototype.
36888 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
36889 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
36890 instead of __internal_xxx function.
36891 * sysdeps/unix/sysv/linux/accept.S: Remove file.
36892 * sysdeps/unix/sysv/linux/bind.S: Likewise.
36893 * sysdeps/unix/sysv/linux/connect.S: Likewise.
36894 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
36895 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
36896 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
36897 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
36898 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
36899 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
36900 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
36901 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
36902 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36903 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
36904 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
36905 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
36906 * sysdeps/unix/sysv/linux/listen.S: Likewise.
36907 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
36908 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
36909 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
36910 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
36911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
36912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
36913 * sysdeps/unix/sysv/linux/recv.S: Likewise.
36914 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
36915 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
36916 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
36917 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
36918 * sysdeps/unix/sysv/linux/send.S: Likewise.
36919 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
36920 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
36921 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
36922 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
36923 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
36924 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
36925 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
36926 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
36927 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
36928 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
36929 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
36930 socketcall is implemented in GLIBC.
36931
36932 2015-05-22 Joseph Myers <joseph@codesourcery.com>
36933
36934 * soft-fp/fmadf4.c: Include <libc-internal.h>.
36935 (__fma): Ignore uninitialized warnings around packing.
36936 * soft-fp/fmasf4.c: Include <libc-internal.h>.
36937 (__fmaf): Ignore uninitialized warnings around packing.
36938 * soft-fp/fmatf4.c: Include <libc-internal.h>.
36939 (__fmal): Ignore uninitialized warnings around packing.
36940
36941 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
36942 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
36943 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
36944 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
36945
36946 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
36947 switch statement into default case.
36948 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
36949
36950 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
36951 a conditional in forcing "inexact".
36952 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
36953 Likewise.
36954
36955 2015-05-22 Roland McGrath <roland@hack.frob.com>
36956
36957 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
36958 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
36959 for each INTERNAL_SYSCALL use.
36960
36961 2015-05-22 Joseph Myers <joseph@codesourcery.com>
36962
36963 [BZ #438]
36964 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
36965 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
36966 variable.
36967
36968 [BZ #18444]
36969 * string/basename.c (basename): Rename to __basename and define as
36970 weak alias of __basename. Use libc_hidden_weak.
36971 * include/string.h (__basename): Declare. Use libc_hidden_proto.
36972 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
36973 __basename instead of basename.
36974 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
36975 Remove variable.
36976 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
36977
36978 2015-05-18 Florian Weimer <fweimer@redhat.com>
36979
36980 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
36981 (_IO_JUMPS_FILE_plus): New.
36982 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
36983 _IO_CAST_FIELD_ACCESS.
36984 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
36985 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
36986 * libio/freopen.c (freopen): Likewise.
36987 * libio/freopen64.c (freopen64): Likewise.
36988 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
36989 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
36990 * libio/iofwide.c (_IO_fwide): Likewise.
36991 * libio/memstream.c (open_memstream): Likewise.
36992 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36993 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
36994 * libio/oldiopopen.c (_IO_old_popen): Likewise.
36995
36996 2015-05-21 Joseph Myers <joseph@codesourcery.com>
36997
36998 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
36999 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
37000 NADJ.
37001 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
37002 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
37003 NADJ.
37004 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
37005 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
37006 NADJ.
37007
37008 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
37009 (p == 4) case.
37010
37011 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
37012 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
37013 Remove variable.
37014 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
37015 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
37016 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
37017
37018 2015-05-21 Florian Weimer <fweimer@redhat.com>
37019
37020 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
37021 Adjust jump table label generation macros.
37022
37023 2015-05-21 Florian Weimer <fweimer@redhat.com>
37024
37025 * stdio-common/vfprintf.c (vfprintf): Move local variables
37026 args_malloced, specs, specs_malloced, and the code after
37027 do_positional to the printf_positional function.
37028 (printf_positional): New function.
37029
37030 2015-05-21 Florian Weimer <fweimer@redhat.com>
37031
37032 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
37033 function.
37034 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
37035 STEP4_TABLE, process_arg): Move macro definitions
37036 out of the vfprintf function. (Cosmetic change only.)
37037
37038 2015-05-21 Carlos O'Donell <carlos@redhat.com>
37039
37040 * benchtests/Makefile (stdio-common-bench): Define.
37041 (benchset): Add stdio-common-bench.
37042 * sprintf-inputs: New file.
37043 * sprintf-source.c: New file.
37044
37045 2015-05-21 Andreas Schwab <schwab@suse.de>
37046
37047 [BZ #13028]
37048 [BZ #17053]
37049 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
37050 of struct __res_state.
37051 * resolv/res_send.c (__libc_res_nsend): Likewise.
37052 (get_nsaddr): New function.
37053 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
37054 statp directly.
37055
37056 2015-05-20 Joseph Myers <joseph@codesourcery.com>
37057
37058 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
37059 -D_POSIX_C_SOURCE=199506L.
37060
37061 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
37062
37063 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
37064 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
37065 Do not mention otherwise.
37066 [POSIX] (_XOPEN_VERSION): Do not expect.
37067 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
37068 [POSIX] (_POSIX2_C_BIND): Likewise.
37069 [POSIX] (_POSIX2_VERSION): Likewise.
37070 [POSIX] (_XOPEN_XPG2): Likewise.
37071 [POSIX] (_XOPEN_XPG3): Likewise.
37072 [POSIX] (_XOPEN_XPG4): Likewise.
37073 [POSIX] (_XOPEN_UNIX): Likewise.
37074 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
37075 [POSIX] (_POSIX_BARRIERS): Likewise.
37076 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
37077 [POSIX] (_POSIX_CPUTIME): Likewise.
37078 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
37079 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
37080 [POSIX] (_POSIX_SHELL): Likewise.
37081 [POSIX] (_POSIX_SPAWN): Likewise.
37082 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
37083 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
37084 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
37085 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
37086 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
37087 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
37088 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
37089 [POSIX] (_XBS5_LP64_OFF64): Likewise.
37090 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
37091 [POSIX] (_POSIX_TIMEOUTS): Likewise.
37092 [POSIX] (_POSIX2_PBS): Likewise.
37093 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
37094 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
37095 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
37096 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
37097 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
37098 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
37099 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
37100 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
37101 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
37102 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
37103 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
37104 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
37105 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
37106 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
37107 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
37108 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
37109 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
37110 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
37111 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
37112 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
37113 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
37114 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
37115 [POSIX] (_SC_2_C_BIND): Likewise.
37116 [POSIX] (_SC_2_C_VERSION): Likewise.
37117 [POSIX] (_SC_2_PBS): Likewise.
37118 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
37119 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
37120 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
37121 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
37122 [POSIX] (_SC_2_PBS_TRACK): Likewise.
37123 [POSIX] (_SC_ATEXIT_MAX): Likewise.
37124 [POSIX] (_SC_BARRIERS): Likewise.
37125 [POSIX] (_SC_BASE): Likewise.
37126 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
37127 [POSIX] (_SC_DEVICE_IO): Likewise.
37128 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
37129 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
37130 [POSIX] (_SC_FD_MGMT): Likewise.
37131 [POSIX] (_SC_FIFO): Likewise.
37132 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
37133 [POSIX] (_SC_FILE_LOCKING): Likewise.
37134 [POSIX] (_SC_FILE_SYSTEM): Likewise.
37135 [POSIX] (_SC_IOV_MAX): Likewise.
37136 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
37137 [POSIX] (_SC_NETWORKING): Likewise.
37138 [POSIX] (_SC_PAGE_SIZE): Likewise.
37139 [POSIX] (_SC_PASS_MAX): Likewise.
37140 [POSIX] (_SC_PIPE): Likewise.
37141 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
37142 [POSIX] (_SC_REGEXP): Likewise.
37143 [POSIX] (_SC_SHELL): Likewise.
37144 [POSIX] (_SC_SIGNALS): Likewise.
37145 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
37146 [POSIX] (_SC_SPIN_LOCKS): Likewise.
37147 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
37148 [POSIX] (_SC_USER_GROUPS): Likewise.
37149 [POSIX] (_SC_USER_GROUPS_R): Likewise.
37150 [POSIX] (_SC_STREAMS): Likewise.
37151 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
37152 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
37153 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
37154 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
37155 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
37156 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
37157 [POSIX] (_PC_FILESIZEBITS): Likewise.
37158 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
37159 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
37160 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
37161 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
37162 [POSIX] (uid_t): Likewise.
37163 [POSIX] (gid_t): Likewise.
37164 [POSIX] (off_t): Likewise.
37165 [POSIX] (pid_t): Likewise.
37166 [POSIX] (cuserid): Allow.
37167 (_SC_2_CHAR_TERM): Require constant.
37168 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
37169 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
37170 variable.
37171
37172 2015-05-20 Roland McGrath <roland@hack.frob.com>
37173
37174 * sysdeps/nacl/pthread-pids.h: New file.
37175 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
37176 (create_thread): Use __nacl_get_tid to initialize PD->tid.
37177
37178 * nptl/pthread-pids.h: New file.
37179 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
37180 * nptl/nptl-init.c: Include <pthread-pids.h>.
37181 (__pthread_initialize_minimal_internal):
37182 Call __pthread_initialize_pids instead of set_tid_address syscall.
37183
37184 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
37185 * sysdeps/posix/usleep.c: ... here.
37186
37187 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37188
37189 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
37190 call_pselect6 object.
37191 [$(subdir) = io]: Remove call_sync_file_range object.
37192 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
37193 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
37194 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
37195 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
37196
37197 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
37198
37199 * math/s_cproj.c: Add include "math_private.h".
37200 * math/s_cprojf.c: Likewise.
37201 * math/s_cprojl.c: Likewise.
37202
37203 2015-05-19 Joseph Myers <joseph@codesourcery.com>
37204
37205 [BZ #18244]
37206 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
37207 high mantissa bit when testing whether P is a NaN.
37208 * math/libm-test.inc (remainder_test_data): Add more tests.
37209 (remquo_test_data): Likewise.
37210
37211 [BZ #18049]
37212 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
37213 below -32, return the argument, with underflow if subnormal.
37214 * math/auto-libm-test-in: Add more tests of atanh.
37215 * math/auto-libm-test-out: Regenerated.
37216
37217 2015-05-19 Roland McGrath <roland@hack.frob.com>
37218
37219 [BZ #18434]
37220 * nptl/tst-sem15.c: New file.
37221 * nptl/Makefile (tests): Add it.
37222 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
37223 s/<</>>/ to fix typo in EOVERFLOW check.
37224 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
37225
37226 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37227
37228 * manual/strings.texi (envz_remove): Fix typo in safety
37229 annotations.
37230
37231 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
37232 Steve Ellcey <sellcey@imgtec.com>
37233
37234 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
37235 in order to avoid strict alias warnings.
37236 (iruserok_af): Ditto for ra.
37237
37238 2015-05-19 James Lemke <jwlemke@codesourcery.com>
37239
37240 [BZ #17581]
37241 * malloc/hooks.c
37242 (magicbyte): Convert to a function and avoid returning 0x01.
37243 (mem2mem_check): Avoid using a length byte equal to the magic byte.
37244 (mem2chunk_check): Fix unsigned comparisons to zero.
37245 Hoist defs of sz and magic.
37246
37247 2015-05-19 Richard Henderson <rth@redhat.com>
37248
37249 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
37250
37251 * sysdeps/alpha/fpu/libm-test-ulps: Update.
37252
37253 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37254
37255 [BZ #16159]
37256 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
37257 * malloc/arena.c (arena_lock): Check if arena is corrupt.
37258 (reused_arena): Find a non-corrupt arena.
37259 (heap_trim): Pass arena to unlink.
37260 * malloc/hooks.c (malloc_check_get_size): Pass arena to
37261 malloc_printerr.
37262 (top_check): Likewise.
37263 (free_check): Likewise.
37264 (realloc_check): Likewise.
37265 * malloc/malloc.c (malloc_printerr): Add arena argument.
37266 (unlink): Likewise.
37267 (munmap_chunk): Adjust.
37268 (ARENA_CORRUPTION_BIT): New macro.
37269 (arena_is_corrupt): Likewise.
37270 (set_arena_corrupt): Likewise.
37271 (sysmalloc): Use mmap if there are no usable arenas.
37272 (_int_malloc): Likewise.
37273 (__libc_malloc): Don't fail if arena_get returns NULL.
37274 (_mid_memalign): Likewise.
37275 (__libc_calloc): Likewise.
37276 (__libc_realloc): Adjust for additional argument to
37277 malloc_printerr.
37278 (_int_free): Likewise.
37279 (malloc_consolidate): Likewise.
37280 (_int_realloc): Likewise.
37281 (_int_memalign): Don't touch corrupt arenas.
37282 * malloc/tst-malloc-backtrace.c: New test case.
37283
37284 * Makefile (summarize-tests): Fix return value on success.
37285
37286 * manual/string.texi (Envz Functions): Add envz_remove.
37287
37288 2015-05-18 Roland McGrath <roland@hack.frob.com>
37289
37290 * sysdeps/posix/opendir.c: Include <stdbool.h>.
37291 (invalid_name): New function, broken out of ...
37292 (__opendirat): ... here. Call it.
37293 (need_isdir_precheck): New function, broken out of ...
37294 (__opendirat): ... here. Call it.
37295 Use __fxstatat64, not __xstatat64.
37296 (opendir_oflags): New function, broken out of ...
37297 (__opendirat): ... here. Call it.
37298 (opendir_tail): New function, broken out of ...
37299 (__opendirat): ... here. Call it.
37300 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
37301 opendir_tail, rather than punting to __opendirat.
37302 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
37303
37304 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37305
37306 * .gitignore: Ignore generated *.pyc.
37307
37308 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
37309
37310 * include/stdio.h: Define __need_wint_t.
37311 * test-skeleton.c: Avoid `for' loop initial declaration.
37312 * nptl/tst-initializers1.c: Use test-skeleton.c.
37313
37314 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37315
37316 [BZ #18418]
37317 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
37318
37319 2015-05-15 Joseph Myers <joseph@codesourcery.com>
37320
37321 [BZ #16352]
37322 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
37323 (__ieee754_atanh): Force underflow exception for results with
37324 small absolute value.
37325 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
37326 (__ieee754_atanhf): Force underflow exception for results with
37327 small absolute value.
37328 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
37329 (__ieee754_atanh): Force underflow exception for results with
37330 small absolute value.
37331 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
37332 (__ieee754_atanhf): Force underflow exception for results with
37333 small absolute value.
37334 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
37335 (__ieee754_atanhl): Force underflow exception for results with
37336 small absolute value.
37337 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
37338 (__ieee754_atanhl): Force underflow exception for results with
37339 small absolute value.
37340 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
37341 (__ieee754_atanhl): Force underflow exception for results with
37342 small absolute value.
37343 * math/auto-libm-test-in: Do not allow missing underflow
37344 exceptions from atanh.
37345 * math/auto-libm-test-out: Regenerated.
37346
37347 [BZ #18221]
37348 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
37349 2**-28 as threshold for returning x or +/- 1/x.
37350 * math/auto-libm-test-in: Add more tests of tan.
37351 * math/auto-libm-test-out: Regenerated.
37352
37353 [BZ #18220]
37354 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
37355 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
37356 * math/auto-libm-test-in: Add another test of lgamma.
37357 * math/auto-libm-test-out: Regenerated.
37358
37359 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
37360
37361 * stdio-common/printf_fp.c (___printf_fp): Use abs.
37362 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
37363 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
37364 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
37365 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
37366 (ADD2A): Use fabs. (SUB2A): Use fabs.
37367 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
37368 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
37369 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
37370 (log1): Use fabs. (my_log2): Use fabs.
37371 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
37372 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
37373 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
37374 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
37375 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
37376 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
37377 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
37378 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
37379 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
37380 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
37381 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
37382
37383 2015-05-15 Joseph Myers <joseph@codesourcery.com>
37384
37385 [BZ #18217]
37386 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
37387 as threshold for returning 1 - x.
37388 * math/auto-libm-test-in: Add more tests of erfc.
37389 * math/auto-libm-test-out: Regenerated.
37390
37391 2015-05-14 Joseph Myers <joseph@codesourcery.com>
37392
37393 [BZ #18196]
37394 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
37395 threshold for large arguments.
37396 * math/auto-libm-test-in: Add another test of atan.
37397 * math/auto-libm-test-out: Regenerated.
37398
37399 [BZ #16339]
37400 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
37401 (__log1p): Force underflow exception for results with small
37402 absolute value.
37403 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
37404 (__log1pf): Force underflow exception for results with small
37405 absolute value.
37406 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
37407 (__log1p): Force underflow exception for results with small
37408 absolute value.
37409 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
37410 (__log1pf): Force underflow exception for results with small
37411 absolute value.
37412 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
37413 (__log1pl): Force underflow exception for results with small
37414 absolute value.
37415 * math/auto-libm-test-in: Do not allow missing underflow
37416 exceptions from log1p.
37417 * math/auto-libm-test-out: Regenerated.
37418
37419 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
37420 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37421
37422 [BZ #16704]
37423 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
37424
37425 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
37426
37427 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
37428 (libmvec): New variable.
37429 * configure.ac: Added option for mathvec build.
37430 * configure: Regenerated.
37431 * mathvec/Depend: New file.
37432 * mathvec/Makefile: New file.
37433 * shlib-versions: Added libmvec.
37434 * math/Makefile: Added rule for libm.so installation.
37435
37436 * bits/math-vector.h: New file.
37437 * bits/libm-simd-decl-stubs.h: New header.
37438 * math/Makefile (headers): Added new header
37439 libm-simd-decl-stubs.h.
37440 * math/math.h (__MATHCALL_VEC): New macro.
37441
37442 * math/gen-libm-have-vector-test.sh: Script generates series of macros
37443 for conditions in testing functions.
37444 * math/Makefile: Added call of libm-have-vector-test.sh.
37445 * math/libm-test.inc (HAVE_VECTOR): New macros.
37446
37447 * math/libm-test.inc: START refactored.
37448 * math/test-double.c (TEST_MATHVEC): Add define.
37449 * math/test-float.c: Likewise.
37450 * math/test-idouble.c: Likewise.
37451 * math/test-ifloat.c: Likewise.
37452 * math/test-ildoubl.c: Likewise.
37453 * math/test-ldouble.c: Likewise.
37454 * sysdeps/generic/math-tests-arch.h
37455 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
37456 architecture check.
37457
37458 * math/test-double.c (FUNC_TEST): New macro.
37459 * math/test-float.c: Likewise.
37460 * math/test-idouble.c: Likewise.
37461 * math/test-ifloat.c: Likewise.
37462 * math/test-ildoubl.c: Likewise.
37463 * math/test-ldouble.c: Likewise.
37464 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
37465
37466 2015-05-13 Roland McGrath <roland@hack.frob.com>
37467
37468 * sysdeps/nacl/fdopendir.c: New file.
37469
37470 * dirent/scandir-tail.c: New file.
37471 * dirent/scandir64-tail.c: New file.
37472 * dirent/Makefile (routines): Add them.
37473 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
37474 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
37475 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
37476 [!SCANDIR] (SCANDIR_TAIL): New macro.
37477 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
37478 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
37479 (SCANDIRAT): Macro removed.
37480 (SCANDIR_TAIL): New macro.
37481 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
37482 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
37483 (SCANDIRAT): Just call __opendirat and __scandir_tail.
37484 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
37485 (READDIR): Macro removed.
37486 (SCANDIR_TAIL): New macro.
37487 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
37488 (SCANDIR_TAIL): New macro.
37489
37490 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
37491 * dirent/scandir-cancel.c: ... to this new file.
37492 * dirent/Makefile (routines): Add it.
37493 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
37494 * sysdeps/unix/sysv/linux/i386/scandir64.c
37495 (SKIP_SCANDIR_CANCEL): Macro removed.
37496 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
37497
37498 * dirent/tst-scandir.c: New file.
37499 * dirent/tst-scandir64.c: New file.
37500 * dirent/Makefile (tests): Add them.
37501
37502 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
37503
37504 [BZ #18409]
37505 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
37506
37507 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
37508
37509 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
37510 list.
37511
37512 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
37513
37514 * benchtests/bench-strcoll.c: New benchmark.
37515 * benchtests/Makefile: Generate locales and run benchmark.
37516 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
37517 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
37518 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
37519 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
37520 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
37521 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
37522 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
37523 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
37524 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
37525 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
37526 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
37527 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
37528 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
37529 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
37530 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
37531 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
37532 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
37533 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
37534 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
37535 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
37536 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
37537 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
37538 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
37539 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
37540
37541 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
37542
37543 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
37544 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37545
37546 2015-05-12 Roland McGrath <roland@hack.frob.com>
37547
37548 * posix/uname-values.h: New file.
37549 * posix/uname.c: Include that instead of <config-name.h>.
37550 * sysdeps/nacl/uname-values.h: New file.
37551 * sysdeps/arm/nacl/uname-values.h: New file.
37552
37553 2015-05-12 Joseph Myers <joseph@codesourcery.com>
37554
37555 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
37556 splitting into fields.
37557
37558 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
37559
37560 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
37561 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
37562 * locale/localeinfo.h: Add enum collation_encoding_type.
37563 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
37564 * programs/ld-collate.c (collate_output): Add encoding type info.
37565 * string/strcoll_l.c (STRDIFF): New function.
37566 * (STRCOLL): Use STRDIFF to skip over equal prefix.
37567 * wcsmbs/wcscoll_l.c: Define STRDIFF.
37568
37569 2015-05-11 Joseph Myers <joseph@codesourcery.com>
37570
37571 [BZ #18397]
37572 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
37573 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
37574 <fpu_control.h> instead of <math/fpu_control.c>.
37575 * sysdeps/mips/mips32/fpu/Makefile: New file.
37576
37577 2015-05-11 Andreas Schwab <schwab@suse.de>
37578
37579 [BZ #18007]
37580 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
37581 nss_endgrent.
37582 (_nss_compat_endgrent): Call nss_endgrent.
37583 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
37584 nss_endpwent.
37585 (_nss_compat_endpwent): Call nss_endpwent.
37586 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
37587 needent, call nss_setspent only if non-zero.
37588 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
37589 (internal_endspent): Don't call nss_endspent.
37590 (_nss_compat_endspent): Call nss_endspent.
37591 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
37592 Remove. All uses removed.
37593 (internal_setent): Remove parameter stayopen, add parameter
37594 stream. Use it instead of global variable.
37595 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
37596 (internal_endent, internal_getent): Add parameter stream. Use it
37597 instead of global variable.
37598 (CONCAT(_nss_files_end,ENTNAME))
37599 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
37600 (_nss_files_get##name##_r): Pass local stream. Remove locking.
37601 * nss/nss_files/files-alias.c (position, last_use): Remove. All
37602 uses removed.
37603 (internal_setent, internal_endent): Add parameter stream. Use it
37604 instead of global variable.
37605 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
37606 stream.
37607 (get_next_alias): Add parameter stream.
37608 (_nss_files_getaliasent_r): Pass global stream.
37609 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
37610 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
37611 (_nss_files_gethostbyname4_r): Pass local stream to
37612 internal_setent, internal_getent and internal_endent. Remove
37613 locking.
37614
37615 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
37616
37617 * tst-strfmon1.c (tests): Update expected currency symbol.
37618
37619 2015-05-08 Roland McGrath <roland@hack.frob.com>
37620
37621 * sysdeps/nacl/gethostname.c: New file.
37622
37623 2015-05-08 Joseph Myers <joseph@codesourcery.com>
37624
37625 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
37626 and sinh.
37627 * math/auto-libm-test-out: Regenerated.
37628 * sysdeps/i386/fpu/libm-test-ulps: Update.
37629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37630
37631 2015-05-08 Carlos O'Donell <carlos@redhat.com>
37632
37633 [BZ #18125]
37634 * stdlib/tst-setcontext3.c: New file.
37635 * stdlib/tst-setcontext3.sh: New file.
37636 * stdlib/Makefile (tests): Add tst-setcontext3.
37637 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
37638 to verify test program created output file.
37639 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
37640 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
37641 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
37642 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
37643
37644 2015-05-06 Roland McGrath <roland@hack.frob.com>
37645
37646 [BZ #18383]
37647 * elf/tst-tlsalign.c: New file.
37648 * elf/tst-tlsalign-static.c: New file.
37649 * elf/tst-tlsalign-lib.c: New file.
37650 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
37651 (tests-static): Add tst-tlsalign-static.
37652 (modules-names): Add tst-tlsalign-lib.
37653 (test-xfail-tst-tlsalign): New variable.
37654 (test-xfail-tst-tlsalign-static): New variable.
37655
37656 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
37657 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
37658
37659 2015-05-06 Joseph Myers <joseph@codesourcery.com>
37660
37661 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
37662 csqrt, erfc, sin and sincos.
37663 * math/auto-libm-test-out: Regenerated.
37664 * sysdeps/i386/fpu/libm-test-ulps: Update.
37665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37666
37667 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
37668
37669 * sysdeps/aarch64/libm-test-ulps: Update.
37670
37671 2015-05-05 Joseph Myers <joseph@codesourcery.com>
37672
37673 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
37674 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
37675 * math/auto-libm-test-out: Regenerated.
37676 * sysdeps/i386/fpu/libm-test-ulps: Update.
37677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37678
37679 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
37680
37681 [BZ #18265]
37682 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
37683 (wcsncpy): Likewise.
37684
37685 2015-05-05 Florian Weimer <fweimer@redhat.com>
37686
37687 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
37688 Assume __ASSUME_FALLOCATE is always true.
37689 * sysdeps/unix/sysv/linux/posix_fallocate64.c
37690 (__posix_fallocate64_l64): Likewise.
37691 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
37692 (posix_fallocate): Likewise.
37693 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
37694 (__posix_fallocate64_l64): Likewise.
37695 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37696 [!__ASSUME_FALLOCATE]: Add comment.
37697
37698 2015-05-05 Florian Weimer <fweimer@redhat.com>
37699
37700 * sysdeps/unix/sysv/linux/i386/Makefile
37701 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
37702 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
37703 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
37704 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37705 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37706 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
37707 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
37708
37709 2015-05-02 Joseph Myers <joseph@codesourcery.com>
37710
37711 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
37712 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
37713 tgamma.
37714 * math/auto-libm-test-out: Regenerated.
37715 * sysdeps/i386/fpu/libm-test-ulps: Update.
37716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37717
37718 2015-05-01 Joseph Myers <joseph@codesourcery.com>
37719
37720 * math/auto-libm-test-in: Add more tests of tgamma.
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 tanh.
37726 * math/auto-libm-test-out: Regenerated.
37727 * sysdeps/i386/fpu/libm-test-ulps: Update.
37728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37729
37730 * math/auto-libm-test-in: Add more tests of tan.
37731 * math/auto-libm-test-out: Regenerated.
37732 * sysdeps/i386/fpu/libm-test-ulps: Update.
37733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37734
37735 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
37736 * math/auto-libm-test-out: Regenerated.
37737 * sysdeps/i386/fpu/libm-test-ulps: Update.
37738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37739
37740 * math/auto-libm-test-in: Add another test of pow.
37741 * math/auto-libm-test-out: Regenerated.
37742 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37743
37744 * math/auto-libm-test-in: Add more tests of lgamma.
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 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
37750 log1p.
37751 * math/auto-libm-test-out: Regenerated.
37752 * sysdeps/i386/fpu/libm-test-ulps: Update.
37753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37754
37755 2015-05-01 Mark Wielaard <mjw@redhat.com>
37756
37757 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
37758 Elf64_Chdr structs and ELFCOMPRESS constants.
37759
37760 2015-05-01 Joseph Myers <joseph@codesourcery.com>
37761
37762 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
37763 expm1.
37764 * math/auto-libm-test-out: Regenerated.
37765 * sysdeps/i386/fpu/libm-test-ulps: Update.
37766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37767
37768 * math/auto-libm-test-in: Add more tests of erf and erfc.
37769 * math/auto-libm-test-out: Regenerated.
37770 * sysdeps/i386/fpu/libm-test-ulps: Update.
37771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37772
37773 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
37774
37775 * config.h.in (HAVE_AARCH64_BE): Add.
37776
37777 2015-04-30 Joseph Myers <joseph@codesourcery.com>
37778
37779 * math/auto-libm-test-in: Add more tests of csqrt.
37780 * math/auto-libm-test-out: Regenerated.
37781 * sysdeps/i386/fpu/libm-test-ulps: Update.
37782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37783
37784 * math/auto-libm-test-in: Add more tests of cosh and sinh.
37785 * math/auto-libm-test-out: Regenerated.
37786 * sysdeps/i386/fpu/libm-test-ulps: Update.
37787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37788
37789 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
37790
37791 2015-04-29 Roland McGrath <roland@hack.frob.com>
37792
37793 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
37794 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
37795
37796 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
37797 (euidaccess, eaccess): Define as weak aliases.
37798
37799 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
37800 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
37801 but __suseconds_t is often 'long int' so some sources assume that
37802 type is being used (e.g. they use %ld to print tv_usec).
37803
37804 2015-04-29 Florian Weimer <fweimer@redhat.com>
37805
37806 [BZ #18007]
37807 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
37808 (CVE-2014-8121)
37809 * nss/tst-nss-getpwent.c: New file.
37810 * nss/Makefile (tests): Add new test.
37811
37812 2015-04-28 Joseph Myers <joseph@codesourcery.com>
37813
37814 [BZ #18346]
37815 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
37816 exponents less than 48 as cases where high part of mantissa needs
37817 examining to determine whether argument is integral.
37818 * math/libm-test.inc (round_test_data): Add more tests.
37819
37820 2015-04-28 Mark Wielaard <mjw@redhat.com>
37821
37822 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
37823
37824 2015-04-27 David S. Miller <davem@davemloft.net>
37825
37826 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
37827 __tls_get_addr.
37828 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
37829
37830 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
37831
37832 [BZ #18333]
37833 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
37834
37835 2015-04-27 Florian Weimer <fweimer@redhat.com>
37836
37837 [BZ #18333]
37838 * time/tzset.c (parse_tzname): Return error on memory allocation
37839 failure.
37840 * test-skeleton.c (struct temp_name_list): Change type of name
37841 member to non-const.
37842 (add_temp_file): Create a copy of the file name.
37843 (delete_temp_files): Deallocate memory.
37844 (create_temp_file): Add comment.
37845
37846 2015-04-24 Florian Weimer <fweimer@redhat.com>
37847
37848 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
37849 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
37850
37851 2015-04-24 Roland McGrath <roland@hack.frob.com>
37852
37853 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
37854 * sysdeps/arm/configure: Regenerated.
37855
37856 2015-04-24 Florian Weimer <fweimer@redhat.com>
37857
37858 [BZ #17715]
37859 * time/tzfile.c (__tzfile_read): Check for large values of
37860 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
37861 * time/tzset.c (__tzstring_len): New function, based on the old
37862 __tzstring function.
37863 (__tzstring): Call __tzstring_len.
37864 (parse_tzname): New helper function extracted from
37865 __tzset_parse_tz. Call __tzstring_len, without making a copy of
37866 the input string.
37867 (parse_offset): New helper function extracted from
37868 __tzset_parse_tz. Replace switch with fallthrough with
37869 initialization before sscanf.
37870 (parse_rule): Likewise.
37871 (__tzset_parse_tz): Rewrite using the new helper functions. Use
37872 new-style function definition.
37873 * timezone/Makefile (tests): Add tst-tzset.
37874 (tst-tzset.out): Dependencies on time zone files.
37875 (tst-tzset-ENV): Set TZDIR.
37876 (testdata/XT%): Copy crafted time zone files.
37877 * timezone/README: Mention crafted time zone files.
37878 * timezone/testdata/XT1, timezone/testdata/XT2,
37879 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
37880 files.
37881 * timezone/tst-tzset.c: New test.
37882
37883 2015-04-24 Florian Weimer <fweimer@redhat.com>
37884
37885 * Makeconfig (+gccwarn): Remove -Winline.
37886
37887 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
37888
37889 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
37890
37891 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
37892
37893 * NEWS: Mention sysconf() cache information support for s390.
37894 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
37895
37896 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
37897
37898 * math/k_casinh.c (__kernel_casinh): Use __copysign.
37899 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
37900 (__nearbyint): Likewise.
37901 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
37902 (copysignl): Likewise.
37903
37904 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
37905
37906 [BZ #18287]
37907 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
37908 based on padding. (CVE-2015-1781)
37909
37910 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37911
37912 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
37913 libc-vdso.h.
37914 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
37915 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
37916 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
37917 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
37918 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
37919 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
37920 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
37921 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37922 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
37923 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
37924 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
37925 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37926 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
37927 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
37928 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
37929 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
37930 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
37931 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
37932 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
37933 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
37934 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
37935 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
37936 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
37937
37938 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
37939
37940 * stdlib/setenv.c (__add_to_environ):
37941 Dump core quickly if setenv (..., NULL, ...) is called.
37942 This time, do it the right way, and pacify GCC with a pragma.
37943
37944 2015-04-17 Roland McGrath <roland@hack.frob.com>
37945
37946 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
37947 IMAP->l_prev cannot be null, and #if out the code for the contrary
37948 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
37949 believe that NS (&_dl_ns[NSID]) could point outside the array.
37950
37951 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
37952 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
37953 before using NSID as an index.
37954
37955 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
37956
37957 [BZ #17825]
37958 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
37959 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
37960 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
37961
37962 2015-04-17 Roland McGrath <roland@hack.frob.com>
37963
37964 Add preliminary port to Google Native Client on ARM.
37965 * abi-tags (.*-.*-nacl.*): New entry.
37966 * sysdeps/arm/nacl: New directory.
37967 * sysdeps/nacl: New directory.
37968
37969 2015-04-16 David S. Miller <davem@davemloft.net>
37970
37971 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
37972 lowlevellock-futex.h
37973
37974 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
37975
37976 * sysdeps/tile/configure.ac: New file.
37977 * sysdeps/tile/configure: Regenerated.
37978
37979 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37980
37981 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
37982 conditionals for weak_alias and libc_hidden_weak.
37983 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
37984 libc_hidden_weak and weak_alias.
37985 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
37986 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
37987 and weak_alias for static one.
37988
37989 2015-04-15 David S. Miller <davem@davemloft.net>
37990
37991 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
37992
37993 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
37994
37995 [BZ #18206]
37996 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
37997 Use signed comparision instead of substraction to avoid
37998 overflow bug.
37999 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
38000 Take the sign of ret.
38001 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
38002 Do not expect precise return values. Only the sign matters.
38003 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
38004 * wcsmbs/test-wcsncmp.c: New File.
38005 * string/test-strncmp.c: Add wcsncmp support.
38006
38007 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
38008
38009 [BZ #6792]
38010 * math/w_log1p.c: New file.
38011 * math/w_log1pf.c: Likewise.
38012 * math/w_log1pl.c: Likewise.
38013 * math/Makefile (libm-calls): Add w_log1p.
38014 * math/s_log1pl.c (log1pl): Remove weak_alias.
38015 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
38016 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
38017 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
38018 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
38019 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
38020 [NO_LONG_DOUBLE] (log1pl): Likewise.
38021 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
38022 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
38023 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
38024 (log1p): Remove long_double_symbol.
38025 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
38026 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
38027 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
38028 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
38029 remove weak_alias for corresponding log1p function.
38030 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
38031 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
38032 * sysdeps/ia64/fpu/w_log1p.c: New file.
38033 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
38034 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
38035 * math/libm-test.inc (log1p_test_data): Add errno expectations.
38036
38037 2015-04-10 Joseph Myers <joseph@codesourcery.com>
38038
38039 [BZ #18247]
38040 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
38041 decimal exponent by 1.
38042 * stdlib/tst-strtod-round-data: Add more tests.
38043 * stdlib/tst-strtod-round.c (tests): Regenerated.
38044
38045 2015-04-09 Joseph Myers <joseph@codesourcery.com>
38046
38047 * math/auto-libm-test-in: Add more tests of clog and clog10.
38048 * math/auto-libm-test-out: Regenerated.
38049 * sysdeps/i386/fpu/libm-test-ulps: Update.
38050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38051
38052 2015-04-09 Roland McGrath <roland@hack.frob.com>
38053
38054 * Makeconfig (module-cppflags): Exclude all .v.i files.
38055 (skip-module-cppflags): Variable removed.
38056
38057 * configure.ac (libc_config_ok): Initialize before reading
38058 preconfigure scripts, not after.
38059 * configure: Regenerated.
38060
38061 * test-skeleton.c (TIMEOUT): Move #define to top level.
38062 (main): Grok environment variable TEST_DIRECT. If set, print
38063 test expectation details into that file and then behave as if
38064 given --direct.
38065
38066 2015-04-09 Florian Weimer <fweimer@redhat.com>
38067
38068 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
38069 warning on 32-bit.
38070
38071 2015-04-08 David S. Miller <davem@davemloft.net>
38072
38073 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38074
38075 2015-04-08 Joseph Myers <joseph@codesourcery.com>
38076
38077 * math/auto-libm-test-in: Add more tests of atanh.
38078 * math/auto-libm-test-out: Regenerated.
38079 * sysdeps/i386/fpu/libm-test-ulps: Update.
38080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38081
38082 * math/auto-libm-test-in: Add more tests of atan.
38083 * math/auto-libm-test-out: Regenerated.
38084 * sysdeps/i386/fpu/libm-test-ulps: Update.
38085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38086
38087 2015-04-08 Florian Weimer <fweimer@redhat.com>
38088
38089 * elf/pldd.c (main): Rewrite to use struct
38090 scratch_buffer instead of extend_alloca.
38091 * elf/pldd-xx.c (find_maps): Likewise.
38092 * grp/initgroups.c: Include <scratch_buffer.h> instead of
38093 <alloca.h>.
38094 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
38095 scratch_buffer instead of extend_alloca.
38096 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
38097 grp/compat-initgroups.c.
38098 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
38099 Rewrite to use struct scratch_buffer instead of extend_alloca.
38100 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
38101 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38102
38103 2015-04-08 Joseph Myers <joseph@codesourcery.com>
38104
38105 * math/auto-libm-test-in: Add more tests of cbrt.
38106 * math/auto-libm-test-out: Regenerated.
38107 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38108
38109 * math/auto-libm-test-in: Add more tests of cabs.
38110 * math/auto-libm-test-out: Regenerated.
38111 * sysdeps/i386/fpu/libm-test-ulps: Update.
38112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38113
38114 [BZ #18210]
38115 [BZ #18211]
38116 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
38117 (__ieee754_atan2): Set FE_TONEAREST mode for internal
38118 computations.
38119 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
38120 clog10.
38121 * math/auto-libm-test-out: Regenerated.
38122 * sysdeps/i386/fpu/libm-test-ulps: Update.
38123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38124
38125 [BZ #18197]
38126 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
38127 (atan): Set FE_TONEAREST mode for internal computations.
38128 * math/auto-libm-test-in: Add more tests of atan.
38129 * math/auto-libm-test-out: Regenerated.
38130
38131 2015-04-07 James Cowgill <james410@cowgill.org.uk>
38132
38133 [BZ #17930]
38134 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
38135
38136 2015-04-07 Florian Weimer <fweimer@redhat.com>
38137
38138 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
38139
38140 2015-04-07 Florian Weimer <fweimer@redhat.com>
38141
38142 * include/scratch_buffer.h: New file.
38143 * malloc/scratch_buffer_grow.c: Likewise.
38144 * malloc/scratch_buffer_grow_preserve.c: Likewise.
38145 * malloc/scratch_buffer_set_array_size.c: Likewise.
38146 * malloc/tst-scratch_buffer.c: Likewise.
38147 * malloc/Makefile (routines): Add scratch_buffer_grow.
38148 (tests): Add test case.
38149 * malloc/Versions (GLIBC_PRIVATE): Export
38150 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
38151 __libc_scratch_buffer_set_array_size.
38152
38153 2015-04-06 Richard Henderson <rth@redhat.com>
38154
38155 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
38156 * sysdeps/alpha/fpu/libm-test-ulps: Update.
38157
38158 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
38159 unsigned int before printing.
38160
38161 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38162
38163 [BZ #17596]
38164 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
38165 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38166
38167 2015-04-02 Florian Weimer <fweimer@redhat.com>
38168
38169 * include/libc-internal.h (libc_max_align_t): Define.
38170
38171 2015-04-02 Andreas Schwab <schwab@suse.de>
38172
38173 [BZ #16850]
38174 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
38175
38176 2015-04-02 Mel Gorman <mgorman@suse.de>
38177
38178 [BZ #17195]
38179 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
38180 as well as the main arena.
38181
38182 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38183
38184 [BZ #18185]
38185 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
38186 sharing L2 cache to 2 for Silvermont/Knights Landing.
38187
38188 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38189
38190 [BZ #17711]
38191 * config.make.in (have-protected-data): New.
38192 * configure.ac: Check linker support for protected data symbol.
38193 * configure: Regenerated.
38194 * elf/Makefile (modules-names): Add tst-protected1moda and
38195 tst-protected1modb if $(have-protected-data) is yes.
38196 (tests): Add tst-protected1a and tst-protected1b if
38197 $(have-protected-data) is yes.
38198 ($(objpfx)tst-protected1a): New.
38199 ($(objpfx)tst-protected1b): Likewise.
38200 (tst-protected1modb.so-no-z-defs): Likewise.
38201 * elf/tst-protected1a.c: New file.
38202 * elf/tst-protected1b.c: Likewise.
38203 * elf/tst-protected1mod.h: Likewise.
38204 * elf/tst-protected1moda.c: Likewise.
38205 * elf/tst-protected1modb.c: Likewise.
38206
38207 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38208
38209 [BZ #17711]
38210 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
38211 indicates it is called from do_lookup_x on relocation against
38212 protected data, skip the data definion in the executable from
38213 copy reloc.
38214 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
38215 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
38216 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
38217 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
38218 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
38219 otherwise to 0.
38220 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38221 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
38222 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
38223 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38224 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
38225 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
38226
38227 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
38228
38229 * sysdeps/nptl/pthread.h: Remove duplicate definition of
38230 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
38231
38232 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
38233
38234 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
38235 THREAD_SETMEM_NC.
38236 * sysdeps/x86_64/nptl/tls.h: Ditto.
38237
38238 2015-03-27 Roland McGrath <roland@hack.frob.com>
38239
38240 * dlfcn/tststatic.c (main): Converted to ...
38241 (do_test): ... this.
38242 (TEST_FUNCTION): New macro.
38243 Include test-skeleton.c.
38244
38245 2015-03-26 Alan Modra <amodra@gmail.com>
38246
38247 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
38248 Don't segfault if ifunc resolver returns a NULL. Do set plt to
38249 zero for undefined weak.
38250 (elf_machine_plt_conflict): Similarly.
38251
38252 2015-03-25 Joseph Myers <joseph@codesourcery.com>
38253
38254 * math/auto-libm-test-in: Add more tests of acosh, asinh and
38255 atanh.
38256 * math/auto-libm-test-out: Regenerated.
38257 * sysdeps/i386/fpu/libm-test-ulps: Update.
38258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38259
38260 * math/auto-libm-test-in: Add another test of asin.
38261 * math/auto-libm-test-out: Regenerated.
38262 * sysdeps/i386/fpu/libm-test-ulps: Update.
38263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38264
38265 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
38266 Remove macro.
38267 (LLL_EBX_REG): Likewise.
38268 (LLL_ENTER_KERNEL): Likewise.
38269
38270 * math/auto-libm-test-in: Add more tests of asin.
38271 * math/auto-libm-test-out: Regenerated.
38272 * sysdeps/i386/fpu/libm-test-ulps: Update.
38273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38274
38275 [BZ #18138]
38276 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
38277 libc_do_syscall_args): New structure.
38278 (INTERNAL_SYSCALL_MAIN_0): New macro.
38279 (INTERNAL_SYSCALL_MAIN_1): Likewise.
38280 (INTERNAL_SYSCALL_MAIN_2): Likewise.
38281 (INTERNAL_SYSCALL_MAIN_3): Likewise.
38282 (INTERNAL_SYSCALL_MAIN_4): Likewise.
38283 (INTERNAL_SYSCALL_MAIN_5): Likewise.
38284 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
38285 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
38286 Replace conditional definitions by conditional definitions of ....
38287 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
38288 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
38289 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
38290 (libpthread-sysdep_routines): Add libc-do-syscall.
38291 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
38292 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
38293 to __NR_futex not 240.
38294
38295 2015-03-25 Alan Modra <amodra@gmail.com>
38296
38297 * NEWS: Advertise TLS optimization.
38298 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
38299 (DT_PPC_NUM): Increment.
38300 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
38301 (CHECK_STATIC_TLS): Use here.
38302 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
38303 TLS descriptors.
38304 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38305 * sysdeps/powerpc/dl-tls.c: New file.
38306 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
38307 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
38308 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
38309 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
38310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
38311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
38312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
38313
38314 2015-03-25 Alan Modra <amodra@gmail.com>
38315
38316 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
38317 for overlapping .opd entries" to "support...".
38318 * sysdeps/powerpc/powerpc64/configure: Regenerate
38319
38320 2015-03-25 Joseph Myers <joseph@codesourcery.com>
38321
38322 * math/auto-libm-test-in: Add more tests of acos.
38323 * math/auto-libm-test-out: Regenerated.
38324 * sysdeps/i386/fpu/libm-test-ulps: Update.
38325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38326
38327 * math/auto-libm-test-in: Add more tests of expm1.
38328 * math/auto-libm-test-out: Regenerated.
38329 * sysdeps/i386/fpu/libm-test-ulps: Update.
38330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38331
38332 2015-03-24 Joseph Myers <joseph@codesourcery.com>
38333
38334 * math/auto-libm-test-in: Add more tests of cosh and sinh.
38335 * math/auto-libm-test-out: Regenerated.
38336 * sysdeps/i386/fpu/libm-test-ulps: Update.
38337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38338
38339 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38341
38342 * math/auto-libm-test-in: Add more tests of log2.
38343 * math/auto-libm-test-out: Regenerated.
38344 * sysdeps/i386/fpu/libm-test-ulps: Update.
38345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38346
38347 2015-03-23 Roland McGrath <roland@hack.frob.com>
38348
38349 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
38350 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
38351 _IO_IS_APPENDING bit in READ_WRITE instead.
38352
38353 2015-03-23 Florian Weimer <fweimer@redhat.com>
38354
38355 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
38356 (__determine_cpumask_size): Replace extend_alloca with a
38357 variable-length array. Do not treat res == 0 as an error.
38358
38359 2015-03-23 Florian Weimer <fweimer@redhat.com>
38360
38361 [BZ #18100]
38362 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
38363 and integer overflow.
38364 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
38365 (main): Add integer overflow tests.
38366 * manual/pattern.texi (Calling Wordexp): Document additional use
38367 for WRDE_SYNTAX.
38368
38369 2015-03-23 Alan Modra <amodra@gmail.com>
38370
38371 * config.h.in: Remove HAVE_ASM_PPC_REL16.
38372 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
38373 and false branch of conditional.
38374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38375 Likewise.
38376
38377 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
38378
38379 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
38380 libc-modules.h
38381 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
38382 unused declaration of _hurd_intr_rpc_msg_in_trap.
38383 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
38384 defined instead of whether it is non-zero.
38385 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
38386 input constraint instead of both input and output constraint. Use ecx
38387 clobber instead of %ecx.
38388 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
38389 mutex_unlock): Use a statement expression instead of an expression list.
38390 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
38391 type to vm_size_t instead of vm_address_t.
38392 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
38393 defined instead of whether it is non-zero.
38394 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
38395 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
38396 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
38397 comparisons with mapaddr.
38398 * nscd/nscd-client.h: Include <time.h>.
38399 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
38400 9th parameter to __vm_region instead of int.
38401 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
38402 * scripts/check-local-headers.sh (exclude): Add device/,
38403 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
38404 cthreads.h.
38405
38406 2015-03-19 Roland McGrath <roland@hack.frob.com>
38407
38408 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
38409 to account for alignment padding.
38410 * sysdeps/arm/memmove.S: Likewise.
38411
38412 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
38413
38414 * sysdeps/unix/sysv/linux/generic/README: New file.
38415
38416 2015-03-18 Joseph Myers <joseph@codesourcery.com>
38417
38418 [BZ #18138]
38419 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
38420 (futex_abstimed_wait)
38421 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
38422 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
38423 of lll_futex_timed_wait.
38424
38425 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
38426
38427 [BZ #17542]
38428 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
38429
38430 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
38431
38432 [BZ #17090]
38433 [BZ #17620]
38434 [BZ #17621]
38435 [BZ #17628]
38436 * NEWS: Update.
38437 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
38438 entries with Static TLS too. Skip entries past the end of the
38439 allocated DTV, from Alan Modra.
38440 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
38441 Static TLS DTV entry set up from...
38442 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
38443 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
38444 * nptl/allocatestack.c (init_one_static_tls): ... and here...
38445 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
38446 for Static TLS.
38447 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
38448 that the slot we find is associated with the given map before
38449 using its generation count.
38450 * nptl_db/db_info.c: Include ldsodefs.h.
38451 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
38452 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
38453 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
38454 (link_map::l_tls_offset): New struct field.
38455 (dtv_t::counter): Likewise.
38456 (rtld_global): New struct.
38457 (_rtld_global): New rtld variable.
38458 (dl_tls_dtv_slotinfo_list): New rtld global field.
38459 (dtv_slotinfo_list): New struct.
38460 (dtv_slotinfo): Likewise.
38461 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
38462 (td_lookup): Rename to...
38463 (td_mod_lookup): ... this. Use new mod parameter instead of
38464 LIBPTHREAD_SO.
38465 * nptl_db/td_thr_tlsbase.c: Include link.h.
38466 (dtv_slotinfo_list, dtv_slotinfo): New functions.
38467 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
38468 addresses even if the DTV is out of date or missing them.
38469 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
38470 index zero-length arrays.
38471 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
38472 (td_lookup): Make it a macro implemented in terms of...
38473 (td_mod_lookup): ... this declaration.
38474 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
38475 (DB_MAIN_VARIABLE): Likewise.
38476
38477 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
38478
38479 [BZ #18134]
38480 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
38481
38482 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
38483
38484 * stdlib/setenv.c (__add_to_environ): Revert previous change.
38485
38486 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
38487
38488 [BZ #18128]
38489 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
38490 (atomic_add, atomic_increment_and_test)
38491 (atomic_decrement_and_test): Fix 64-bit arithmetic.
38492
38493 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
38494
38495 * stdlib/setenv.c (__add_to_environ):
38496 Dump core quickly if setenv (..., NULL, ...) is called.
38497
38498 2015-03-13 Roland McGrath <roland@hack.frob.com>
38499
38500 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
38501 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
38502 all the necessary asm magic in one place.
38503 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
38504 using those.
38505
38506 2015-03-13 Carlos O'Donell <carlos@redhat.com>
38507
38508 [BZ #14906]
38509 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
38510 traced file mtime. Use consistent log message.
38511 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
38512 (register_traced_file): Call install_watches. Always set mtime.
38513 (invalidate_cache): Iterate over all trace files. Call install_watches.
38514 (inotify_check_files): Don't inline. Handle watching parent
38515 directories and configuration file movement in and out.
38516 (handle_inotify_events): New function.
38517 (main_loop_poll): Call handle_inotify_events.
38518 (main_loop_epoll): Likewise.
38519 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
38520 (struct traced_file): Use array of inotify fds. Add parent directory,
38521 and basename.
38522 (struct database_dyn): Remove unused file_mtime.
38523 (init_traced_file): New inline function.
38524 (define_traced_file): New macro.
38525 * nss/nss_db/db-init.c: Use define_traced_file.
38526 (_nss_db_init): Use init_traced_file.
38527 * nss/nss_files/files-init.c: Use define_traced_file.
38528 (_nss_files_init): Use init_traced_file.
38529
38530 2015-03-12 Joseph Myers <joseph@codesourcery.com>
38531
38532 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
38533 [_LIBC]: Do not include <stdlib.h>.
38534 [!_LIBC] (abort): Remove declaration.
38535 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
38536 _FP_STATIC_ASSERT instead of conditionally calling abort.
38537 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
38538 (_FP_EXTEND_CNAN): Likewise.
38539 (FP_TRUNC): Likewise.
38540 (__FP_CLZ): Likewise.
38541 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
38542
38543 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
38544
38545 * manual/string.texi (XPG basename): Fix prototype.
38546
38547 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
38548
38549 [BZ #18080]
38550 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
38551 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38552 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
38553 (__setcontext): Likewise.
38554 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
38555 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38556 Call rt_sigprocmask syscall one time to set new signal mask
38557 and retrieve the current signal mask instead of two calls.
38558 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
38559 (__swapcontext): Likewise.
38560 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
38561 * stdlib/tst-setcontext2.c: New file.
38562
38563 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
38564
38565 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38566
38567 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
38568
38569 [BZ #18093]
38570 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
38571 the wrong size.
38572
38573 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
38574
38575 [BZ #18043]
38576 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
38577
38578 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
38579
38580 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
38581 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
38582 Remove define.
38583 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
38584 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
38585 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
38586 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
38587 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
38588 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
38589 define.
38590 * nptl_db/td_symbol_list.c (td_lookup): Remove
38591 HAVE_ASM_GLOBAL_DOT_NAME code.
38592 * sysdeps/powerpc/powerpc64/configure.ac: Remove
38593 HAVE_ASM_GLOBAL_DOT_NAME check.
38594 * sysdeps/powerpc/powerpc64/configure: Regenerate.
38595 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
38596 (DOT_LABEL): Remove define.
38597 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
38598 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
38599 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
38600 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
38601 (__TLS_GET_ADDR): Likewise.
38602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
38603 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
38604
38605 2015-03-11 Carlos O'Donell <carlos@redhat.com>
38606
38607 [BZ #18111]
38608 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
38609 (_FPU_SETCW): Initialize cw from fpsr before storing.
38610 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
38611 (fesetexceptflag): Rewrite using fpu_control.h.
38612 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
38613
38614 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
38615
38616 [BZ #18110]
38617 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
38618 asms.
38619 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
38620
38621 2015-03-11 Joseph Myers <joseph@codesourcery.com>
38622
38623 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
38624 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
38625 abort.
38626 (_FP_FMA): Likewise.
38627 (_FP_DIV): Likewise.
38628
38629 2015-03-10 Roland McGrath <roland@hack.frob.com>
38630
38631 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
38632 with 0 in that case.
38633 * Makefile (summarize-tests): New canned sequence, factored out of
38634 commands for targets tests and xtests. Display summary lines that
38635 don't start with PASS: or XFAIL: rather than ones that do start with
38636 ERROR: or FAIL:. Make the commands fail if any summary lines fail
38637 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
38638 do start with ERROR: or FAIL:.
38639 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
38640 (except for [$(build-shared) = yes]).
38641 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
38642 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
38643 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
38644 * nptl/Makefile: Revert 2015-03-04 changes.
38645 [$(CXX) empty] (tests-unsupported): New variable.
38646 * debug/Makefile: Likewise.
38647
38648 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
38649 gnulib file. Replace __attribute with __attribute__ throughout.
38650
38651 2015-03-10 Carlos O'Donell <carlos@redhat.com>
38652
38653 * sysdeps/hppa/fpu/libm-test-ulps: Update.
38654
38655 2015-03-10 Joseph Myers <joseph@codesourcery.com>
38656
38657 [BZ #18104]
38658 * math/auto-libm-test-in: Add another test of pow.
38659 * math/auto-libm-test-out: Regenerated.
38660
38661 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38662
38663 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
38664 $(config-cflags-nofma).
38665
38666 2015-03-10 Joseph Myers <joseph@codesourcery.com>
38667
38668 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
38669 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
38670 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
38671 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
38672 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
38673 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
38674 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
38675 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
38676 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
38677 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
38678 Add comment on closing #endif.
38679
38680 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38681
38682 * posix/wordexp.c (CHAR_IN_SET): New macro.
38683 (parse_param): Use it.
38684
38685 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38686
38687 * sysdeps/powerpc/fpu/libm-test-ulps: update.
38688
38689 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38690
38691 [BZ #18043]
38692 * posix/wordexp.c (parse_param): Fix buffer overflow.
38693 * posix/wordexp-test.c (test_case): Add test case.
38694
38695 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38696
38697 [BZ #18042]
38698 * posix/wordexp.c (parse_backtick): Fix off-by-one.
38699 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
38700
38701 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38702
38703 [BZ #18043]
38704 * posix/wordexp-test.c (test_case): Add test for BZ #18043
38705 (do_bz18043): Delete.
38706 (at_page_end): New.
38707 (testit): Refactor to have words at the edge of unreadable page.
38708
38709 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
38710
38711 [BZ #16734]
38712 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
38713 Cleanup read-only streams as well.
38714 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
38715
38716 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
38717
38718 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
38719 <bits/libc-lockP.h>
38720
38721 2015-03-07 Joseph Myers <joseph@codesourcery.com>
38722
38723 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
38724 on [__KERNEL__].
38725 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
38726 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
38727 * soft-fp/op-common.h (_FP_DECL): Likewise.
38728
38729 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
38730
38731 * elf/ifuncdep2.c (global): Replace
38732 __attribute__((visibility("protected"))) with
38733 asm (".protected global").
38734 * elf/ifuncmod1.c (global): Likewise.
38735 * elf/ifuncmod5.c (global): Likewise.
38736
38737 2015-03-06 Joseph Myers <joseph@codesourcery.com>
38738
38739 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
38740 <asm/sfp-machine.h> instead of <sfp-machine.h>.
38741
38742 2015-03-06 Roland McGrath <roland@hack.frob.com>
38743
38744 * manual/install.texi (Configuring and compiling):
38745 Document test-wrapper-env-only.
38746 * INSTALL: Regenerated.
38747
38748 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38749
38750 [BZ #18043]
38751 * posix/wordexp.c (parse_param): Fix buffer overflow.
38752 * posix/wordexp-test.c (do_bz18043): Add test case.
38753
38754 2015-03-06 Vincent Bernat <vincent@bernat.im>
38755
38756 * time/tst-strptime2.c (do_test): Ensure failing tests are
38757 reported correctly.
38758 * time/tst-strptime3.c (do_test): Likewise.
38759
38760 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
38761
38762 Fix aio_error thread-safety.
38763 * sysdeps/pthread/aio_error.c: New file
38764 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
38765 synchronization.
38766
38767 2015-03-06 Florian Weimer <fweimer@redhat.com>
38768
38769 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
38770 (group_number, vfprintf): Use it.
38771 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
38772 (JUMP, REF): Use it.
38773 (WORK_BUFFER_SIZE): New enum constant.
38774 (process_arg, vfprintf): Use it.
38775
38776 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
38777
38778 * manual/errno.texi (Error Messages): Complete example function
38779 by adding missing #define.
38780 (program_invocation_name): Add statement indicating GNU
38781 extension and reference which header file declares the variable.
38782 (program_invocation_short_name): Likewise.
38783
38784 2015-03-06 Mike Frysinger <vapier@gentoo.org>
38785
38786 * manual/errno.texi (Error Messages): Delete strerror ISO C89
38787 compatibility note.
38788
38789 2015-03-05 Roland McGrath <roland@hack.frob.com>
38790
38791 * Makeconfig (test-wrapper-env-only): New variable.
38792 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
38793 then use that with $(test-wrapper-env-only) rather than using
38794 $(test-wrapper-env) $(run-program-env) $($*-ENV).
38795
38796 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
38797
38798 [BZ #18082]
38799 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
38800 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
38801 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
38802 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
38803 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
38804 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
38805 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
38806 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
38807 Likewise.
38808 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
38809 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
38810 Likewise.
38811 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
38812 Likewise.
38813 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
38814 Likewise.
38815 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
38816 Likewise.
38817 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
38818 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
38819 Likewise.
38820 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
38821 Likewise.
38822 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
38823 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
38824
38825 2015-03-04 Roland McGrath <roland@hack.frob.com>
38826
38827 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
38828 (ETH_ALEN): New macro.
38829 (struct ether_addr): Use it for length of ether_addr_octet.
38830
38831 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
38832 (setdb): Don't call __nss_configure_lookup for "rpc".
38833 (do_test): Don't call test_rpc.
38834 (output_rpcent, test_rpc): Functions moved ...
38835 * sunrpc/test-rpcent.c: ... to this new file.
38836 * sunrpc/Makefile (tests): Add it.
38837
38838 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
38839 __xpg_sigpause.
38840 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
38841 * nptl/tst-signal6.c: Likewise.
38842 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
38843 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
38844
38845 * configure.ac (libc_cv_cxx_link_ok): New check.
38846 Reset CXX to empty if it fails to link.
38847 * configure: Regenerated.
38848 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
38849 bug-atexit3-lib only if $(CXX) is nonempty.
38850 * nptl/Makefile (tests): Likewise for tst-cancel24.
38851 (tests, tests-static): Likewise for tst-cancel24-static.
38852 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
38853 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
38854 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
38855 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
38856
38857 2015-03-04 Andreas Schwab <schwab@suse.de>
38858
38859 [BZ #17631]
38860 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
38861 for non-GCC compilers.
38862 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
38863 Likewise.
38864
38865 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
38866
38867 [BZ #17776]
38868 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
38869 integer before bitwise and assembly operations.
38870 (feclearexcept): Likewise.
38871 * math/test-fenvinline.c: New file.
38872 * math/Makefile: Add test-fenvinline test.
38873
38874 2015-03-03 Alan Modra <amodra@gmail.com>
38875
38876 [BZ #16512]
38877 * scripts/localplt.awk: Strip off symbol version.
38878 * NEWS: Mention bug fix.
38879
38880 2015-03-02 Roland McGrath <roland@hack.frob.com>
38881
38882 * sysdeps/pthread/timer_routines.c
38883 (timer_free_list, thread_free_list, thread_active_list): Make static.
38884
38885 2015-03-02 Joseph Myers <joseph@codesourcery.com>
38886
38887 [BZ #17779]
38888 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
38889 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
38890 Undefine.
38891 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38892 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
38893 Likewise.
38894 * sysdeps/unix/sysv/linux/sh/kernel-features.h
38895 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
38896 Likewise.
38897
38898 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
38899
38900 [BZ #18036]
38901 * posix/fnmatch_loop.c (END): Detect invalid pattern.
38902 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
38903
38904 2015-03-02 Andreas Schwab <schwab@suse.de>
38905
38906 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
38907 variable name.
38908
38909 2015-03-02 Florian Weimer <fweimer@redhat.com>
38910
38911 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
38912 Return error status.
38913
38914 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
38915
38916 [BZ #15969]
38917 * locale/findlocale.c (_nl_find_locale): Introduce const
38918 version of loc_name and drop unsafe type casts.
38919
38920 2015-02-27 Roland McGrath <roland@hack.frob.com>
38921
38922 * dlfcn/tststatic2.c (main): Converted to ...
38923 (do_test): ... this.
38924 (TEST_FUNCTION): New macro.
38925 Include test-skeleton.c.
38926
38927 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
38928
38929 [BZ #17711]
38930 * elf/Makefile (tests): Add vismain only if PIE is enabled.
38931 (tests-pie): Add vismain.
38932 (CFLAGS-vismain.c): New.
38933 * elf/vismain.c: Add comments for PIE requirement.
38934
38935 2015-02-27 Joseph Myers <joseph@codesourcery.com>
38936
38937 [BZ #18046]
38938 [BZ #18047]
38939 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
38940 0x1p-56L as threshold for just returning the argument.
38941 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
38942 0x1p-32L as threshold for just returning the argument.
38943 * math/auto-libm-test-in: Add more tests of atanh.
38944 * math/auto-libm-test-out: Regenerated.
38945 * sysdeps/i386/fpu/libm-test-ulps: Update.
38946 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
38947
38948 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
38949
38950 * string/bcopy.c (bcopy): Call memmove for performance.
38951
38952 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
38953
38954 * string/bzero.c (__bzero): Call memset for performance.
38955
38956 2015-02-27 John David Anglin <dave.anglin@bell.net>
38957
38958 [BZ #18068]
38959 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
38960 to 00100000.
38961
38962 2015-02-27 Joseph Myers <joseph@codesourcery.com>
38963
38964 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
38965
38966 2015-02-26 Joseph Myers <joseph@codesourcery.com>
38967
38968 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
38969 (__kernel_standard): Use CSTR macro when setting exc.name.
38970 * sysdeps/ieee754/Makefile [$(subdir) = math]
38971 (CFLAGS-k_standard.c): Remove variable.
38972
38973 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
38974 setting p and q from "else if" to "else".
38975 (qzero): Likewise.
38976 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
38977 (qone): Likewise.
38978 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
38979 (qzerof): Likewise.
38980 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
38981 (qonef): Likewise.
38982 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
38983 (qzero): Likewise.
38984 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
38985 (qone): Likewise.
38986
38987 [BZ #18038]
38988 [BZ #18039]
38989 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
38990 return pi/2 for arguments below 0x1p-113L.
38991 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
38992 return pi/2 for arguments below 0x1p-106L.
38993 * math/auto-libm-test-in: Add more tests of acos.
38994 * math/auto-libm-test-out: Regenerated.
38995
38996 [BZ #16351]
38997 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
38998 (MO): New macro.
38999 (__ieee754_asin): Force underflow exception for results with small
39000 absolute value.
39001 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
39002 (MO): New macro.
39003 (__ieee754_asinf): Force underflow exception for results with
39004 small absolute value.
39005 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
39006 (__ieee754_asin): Force underflow exception for results with small
39007 absolute value.
39008 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
39009 (__ieee754_asinf): Force underflow exception for results with
39010 small absolute value.
39011 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
39012 (__ieee754_asinl): Force underflow exception for results with
39013 small absolute value.
39014 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
39015 (__ieee754_asinl): Force underflow exception for results with
39016 small absolute value.
39017 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
39018 (__ieee754_asinl): Force underflow exception for results with
39019 small absolute value.
39020 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
39021 Include <math.h>.
39022 * math/auto-libm-test-in: Do not mark underflow exceptions as
39023 possibly missing for bug 16351.
39024 * math/auto-libm-test-out: Regenerated.
39025
39026 [BZ #18030]
39027 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
39028 of power of 2 down when low part has opposite sign.
39029 * math/libm-test.inc (logb_test_data): Add more tests.
39030
39031 2015-02-26 Andreas Schwab <schwab@suse.de>
39032
39033 [BZ #18032]
39034 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
39035 over collating symbol inside a bracket expression. Minor cleanup.
39036 * posix/tst-fnmatch3.c (do_test): Add test case.
39037
39038 2015-02-26 Joseph Myers <joseph@codesourcery.com>
39039
39040 [BZ #18029]
39041 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
39042 Adjust exponent of power of 2 down when low part has opposite
39043 sign.
39044 * math/libm-test.inc (ilogb_test_data): Add more tests.
39045
39046 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
39047
39048 [BZ #15969]
39049 * locale/findlocale.c (_nl_find_locale): Fix constness error in
39050 the previous change.
39051
39052 [BZ #15969]
39053 * locale/findlocale.c (_nl_find_locale): Retry archive search
39054 after alias expansion.
39055
39056 2015-02-25 Roland McGrath <roland@hack.frob.com>
39057
39058 * iconv/tst-iconv3.c (main): Converted to ...
39059 (do_test): ... this.
39060 (TEST_FUNCTION): New macro.
39061 Include test-skeleton.c.
39062
39063 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
39064 (convert): Make function static.
39065 (test_unalign): Likewise. Add const to argument pointee types.
39066 (main): Replace with static function do_test.
39067 Print "Succeeded." only if RET is zero.
39068 (TEST_FUNCTION): New macro.
39069 Include test-skeleton.c.
39070
39071 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
39072 returns a null pointer.
39073
39074 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39075
39076 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
39077 to __memcpy_ppc only for static builds.
39078
39079 2015-02-25 Joseph Myers <joseph@codesourcery.com>
39080
39081 [BZ #18020]
39082 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
39083 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
39084 * math/auto-libm-test-in: Add more tests of asinh.
39085 * math/auto-libm-test-out: Regenerated.
39086 * sysdeps/i386/fpu/libm-test-ulps: Update.
39087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39088
39089 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
39090
39091 [BZ #15850]
39092 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
39093 and ip6_mtuinfo definitions here.
39094 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
39095 in this define too. Update comment.
39096
39097 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
39098
39099 * elf/sprof.c (load_shobj): Tweak error message to match others.
39100
39101 2015-02-24 Kevin Easton <kevin@guarana.org>
39102
39103 [BZ #16145] (partial fix)
39104 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
39105 to reduce lock contention.
39106
39107 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
39108
39109 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
39110 (struct timex): Update time comment.
39111 (ADJ_SETOFFSET): Define.
39112
39113 2015-02-24 Joseph Myers <joseph@codesourcery.com>
39114
39115 [BZ #18019]
39116 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39117 2**56 not 2**28 as threshold for log (2x) formula.
39118 * math/auto-libm-test-in: Add more tests of acosh.
39119 * math/auto-libm-test-out: Regenerated.
39120 * sysdeps/i386/fpu/libm-test-ulps: Update.
39121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39122
39123 2015-02-24 Mike Frysinger <vapier@gentoo.org>
39124
39125 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
39126 parenthesis around the buf assignment.
39127 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
39128
39129 2015-02-24 Joseph Myers <joseph@codesourcery.com>
39130
39131 [BZ #16783]
39132 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
39133 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
39134 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
39135 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39136 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39137 * math/libm-test.inc (scalb_test_data): Add more tests.
39138
39139 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
39140
39141 [BZ #17916]
39142 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
39143 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
39144
39145 2015-02-24 Eric Rannaud <e@nanocritical.com>
39146
39147 [BZ #17523]
39148 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
39149 * io/bits/fcntl2.h (open): Use it.
39150 (openat): Likewise.
39151 * io/open.c (__libc_open): Likewise.
39152 * io/open64.c (__libc_open64): Likewise.
39153 * io/open64_2.c (__open64_2): Likewise.
39154 * io/open_2.c (__open_2): Likewise.
39155 * io/openat.c (__openat): Likewise.
39156 * io/openat64.c (__openat64): Likewise.
39157 * io/openat64_2.c (__openat64_2): Likewise.
39158 * io/openat_2.c (__openat_2): Likewise.
39159 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
39160 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
39161 * sysdeps/posix/open64.c (__libc_open64): Likewise.
39162 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
39163 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
39164 (__open_nocancel): Likewise.
39165 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
39166 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
39167 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
39168
39169 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
39170
39171 [BZ #14841]
39172 * resolv/gethnamaddr.c (getanswer): Skip logging if
39173 RES_USE_DNSSEC is set.
39174 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
39175
39176 2015-02-24 Mike Frysinger <vapier@gentoo.org>
39177
39178 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
39179
39180 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
39181
39182 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
39183 201304L, for Unicode 7.
39184
39185 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
39186
39187 [BZ #17836]
39188 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
39189 shared library. Add gmon-start.os otherwise.
39190 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
39191 $(objpfx)gmon-start.os if builing shared library.
39192 ($(objpfx)g$(static-start-installed-name)): Likewise.
39193
39194 2015-02-23 Andreas Schwab <schwab@suse.de>
39195
39196 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
39197
39198 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
39199
39200 [BZ #17269]
39201 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
39202 (enlarge_userbuf): Likewise.
39203
39204 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
39205
39206 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
39207 * math/atest-exp.c (TIMEOUT): Adjust to 200.
39208 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
39209 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
39210
39211 2015-02-20 Joseph Myers <joseph@codesourcery.com>
39212
39213 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
39214 expression inside statement expression.
39215
39216 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
39217
39218 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
39219 <sysdeps/nptl/lowlevellock.h> and remove macros and
39220 functions that are now defined there.
39221 (SYS_futex): Remove.
39222 (lll_compare_and_swap): Remove.
39223 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
39224
39225 2015-02-19 Joseph Myers <joseph@codesourcery.com>
39226
39227 [BZ #17999]
39228 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
39229 instead of scandirat.
39230 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
39231 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
39232 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
39233 __scandirat.
39234 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
39235 (__scandirat): Declare. Use libc_hidden_proto.
39236 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
39237 Remove variable.
39238 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
39239
39240 2015-02-18 Joseph Myers <joseph@codesourcery.com>
39241
39242 [BZ #15319]
39243 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
39244 (MO): New macro.
39245 (__ieee754_atan2): For results with small absolute value, force
39246 underflow exception and remove excess range and precision from
39247 return value.
39248 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
39249 (MO): New macro.
39250 (__ieee754_atan2f): For results with small absolute value, force
39251 underflow exception and remove excess range and precision from
39252 return value.
39253 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
39254 (MO): New macro.
39255 (__atan): For results with small absolute value, force underflow
39256 exception and remove excess range and precision from return value.
39257 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
39258 (MO): New macro.
39259 (__atanf): For results with small absolute value, force underflow
39260 exception and remove excess range and precision from return value.
39261 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
39262 <math.h>.
39263 (__ieee754_atan2): Force underflow exception for results with
39264 small absolute value.
39265 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
39266 <math_private.h>.
39267 (atan): Force underflow exception for results with small absolute
39268 value.
39269 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
39270 (__atanf): Force underflow exception for results with small
39271 absolute value.
39272 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
39273 <math.h>.
39274 (__atanl): Force underflow exception for results with small
39275 absolute value.
39276 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
39277 (__atanl): Force underflow exception for results with small
39278 absolute value.
39279 * sysdeps/x86/fpu/bits/mathinline.h
39280 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
39281 (__ieee754_atan2): Only define inline for long double.
39282 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
39283 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
39284 * math/auto-libm-test-in: Do not mark underflow exceptions as
39285 possibly missing for bug 15319. Add more tests of atan2.
39286 * math/auto-libm-test-out: Regenerated.
39287 * math/libm-test.inc (casin_test_data): Do not mark underflow
39288 exceptions as possibly missing for bug 15319.
39289 (casinh_test_data): Likewise.
39290 * sysdeps/i386/fpu/libm-test-ulps: Update.
39291
39292 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
39293
39294 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
39295 * sysdeps/mips/bits/endian.h: Fix comments.
39296
39297 2015-02-18 Joseph Myers <joseph@codesourcery.com>
39298
39299 [BZ #17996]
39300 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
39301 (hdestroy_r): Likewise.
39302 (hsearch_r): Likewise.
39303 (__hcreate_r): Declare and use libc_hidden_proto.
39304 (__hdestroy_r): Likewise.
39305 (__hsearch_r): Likewise.
39306 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
39307 (hcreate): Call __hcreate_r instead of hcreate_r.
39308 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
39309 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
39310 as weak alias of __hcreate_r.
39311 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
39312 __hdestroy_r.
39313 (hsearch_r): Rename to __hsearch_r and define as weak alias of
39314 __hsearch_r.
39315 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
39316 Remove variable.
39317 (test-xfail-XPG4/search.h/linknamespace): Likewise.
39318 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
39319 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
39320 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
39321
39322 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39323
39324 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
39325 arena_lock into a single arena_get.
39326
39327 2015-02-17 Carlos O'Donell <carlos@redhat.com>
39328
39329 * dl-reloc.c: Inlucde libc-internal.h.
39330 (_dl_try_allocate_static_tls): Call ALIGN_UP.
39331 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
39332 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
39333 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
39334 (grow_heap): Likewise.
39335 * malloc/malloc.c: Include libc-internal.h.
39336 (do_check_malloc): Call powerof2.
39337 (sysmalloc): Use pagesize. Call ALIGN_UP.
39338 (systrim): Use pagesize.
39339 (mremap_chunk): Use pagesize. Call ALIGN_UP.
39340 (__libc_valloc): Use pagesize.
39341 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
39342
39343 2015-02-17 Joseph Myers <joseph@codesourcery.com>
39344
39345 [BZ #17991]
39346 * include/sys/resource.h (__getrlimit64): Declare. Use
39347 libc_hidden_proto.
39348 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
39349 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
39350 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
39351 getrlimit64.
39352 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
39353 __getrlimit64.
39354 [!getrlimit64] (getrlimit64): Define as weak alias of
39355 __getrlimit64. Use libc_hidden_weak.
39356 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
39357 using __getrlimit64 not __new_getrlimit64.
39358 (__GI_getrlimit64): Likewise.
39359 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
39360 Likewise.
39361 (__GI_getrlimit64): Likewise.
39362 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
39363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
39364 (getrlimit): Add __getrlimit64 alias.
39365 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
39366 Likewise.
39367 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
39368 Remove variable.
39369 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
39370 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
39371
39372 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
39373
39374 * libio/fileops.c: Add missing sys/mman.h
39375 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
39376
39377 2015-02-17 Joseph Myers <joseph@codesourcery.com>
39378
39379 * manual/math.texi (Errors in Math Functions): Clarify goals
39380 regarding inexact and underflow exceptions.
39381
39382 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
39383
39384 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
39385 * sysdeps/mips/memset.S: Ditto.
39386
39387 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
39388
39389 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
39390
39391 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
39392
39393 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
39394 (__v1longjmp): Remove versioned symbol.
39395 (__v1siglongjmp): Remove alias and versioned symbol.
39396 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
39397 (__v2siglongjmp): Likewise.
39398
39399 2015-02-16 Torvald Riegel <triegel@redhat.com>
39400
39401 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
39402
39403 2015-02-16 Mike Frysinger <vapier@gentoo.org>
39404
39405 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
39406
39407 2015-02-16 Joseph Myers <joseph@codesourcery.com>
39408
39409 [BZ #17987]
39410 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
39411 zero result does not depend on the sign resulting from
39412 subtraction.
39413 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39414 Likewise.
39415 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39416 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39417 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39418 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39419 * math/libm-test.inc (remquo_test_data): Add more tests.
39420
39421 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
39422
39423 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
39424 Problem reported by J William Piggott.
39425
39426 2015-02-16 Joseph Myers <joseph@codesourcery.com>
39427
39428 [BZ #17978]
39429 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
39430 products 4 * y and 2 * y where those would overflow.
39431 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39432 Likewise.
39433 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39434 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39435 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39436 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39437 * math/libm-test.inc (remquo_test_data): Add more tests.
39438
39439 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
39440
39441 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
39442 [defined _COMPILING_NEWLIB].
39443 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
39444 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
39445
39446 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
39447 [!defined __mips_isa_rev || __mips_isa_rev < 6].
39448
39449 2015-02-16 Torvald Riegel <triegel@redhat.com>
39450
39451 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
39452 acquired.
39453
39454 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
39455
39456 [BZ #17792]
39457 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
39458 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
39459 HOST_STACK_END_ADDR): Likewise.
39460
39461 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
39462
39463 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
39464 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
39465 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
39466
39467 2015-02-13 Roland McGrath <roland@hack.frob.com>
39468
39469 * sysdeps/generic/c++-types.data: New file.
39470 * sysdeps/generic/ld.abilist: New file.
39471 * sysdeps/generic/libBrokenLocale.abilist: New file.
39472 * sysdeps/generic/libanl.abilist: New file.
39473 * sysdeps/generic/libc.abilist: New file.
39474 * sysdeps/generic/libcrypt.abilist: New file.
39475 * sysdeps/generic/libdl.abilist: New file.
39476 * sysdeps/generic/libm.abilist: New file.
39477 * sysdeps/generic/libpthread.abilist: New file.
39478 * sysdeps/generic/libresolv.abilist: New file.
39479 * sysdeps/generic/librt.abilist: New file.
39480
39481 2015-02-13 Joseph Myers <joseph@codesourcery.com>
39482
39483 [BZ #17569]
39484 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39485 Compute absolute value of x as modified by fmod, not original
39486 value of x.
39487 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
39488 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
39489 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
39490 RUN_TEST_ffI_f1_mod8.
39491 (remquo_test_data): Add more tests.
39492
39493 2015-02-13 Roland McGrath <roland@hack.frob.com>
39494
39495 * sysdeps/init_array/pt-crti.S: New file.
39496
39497 2015-02-13 Joseph Myers <joseph@codesourcery.com>
39498
39499 [BZ #17967]
39500 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
39501 __builtin_fmaf instead of relying on contraction of a * b + c.
39502
39503 2015-02-12 J William Piggott <elseifthen@gmx.com>
39504
39505 [BZ #17969]
39506 * manual/time.texi: correct the zoneinfo path in the TZ Variable
39507 node.
39508
39509 2015-02-12 Joseph Myers <joseph@codesourcery.com>
39510
39511 [BZ #17964]
39512 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
39513 __builtin_fma instead of relying on contraction of a * b + c.
39514
39515 2015-02-12 Roland McGrath <roland@hack.frob.com>
39516
39517 * Makeconfig (ASFLAGS): Add -Werror=undef.
39518 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
39519 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
39520 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
39521
39522 * Makeconfig (after-link): New variable.
39523 (+link-pie, +link-pie-tests): Use it.
39524 (+link-static, +link-static-tests): Likewise.
39525 (+link, +link-tests): Likewise.
39526 * Makerules (build-module, build-module-asneeded): Likewise.
39527 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
39528 Likewise.
39529 * elf/Makefile ($(objpfx)ld.so): Likewise.
39530
39531 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
39532
39533 [BZ #17965]
39534 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
39535 both struct timeval and struct timespec.
39536
39537 2015-02-12 Joseph Myers <joseph@codesourcery.com>
39538
39539 [BZ #16560]
39540 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
39541 and redefine.
39542 (__ieee754_exp2l): Do not multiply small fractional parts by
39543 M_LN2l.
39544 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
39545 small argument.
39546 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39547 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
39548 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
39549 * math/auto-libm-test-in: Add more tests of exp2.
39550 * math/auto-libm-test-out: Regenerated.
39551
39552 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39553
39554 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
39555 unaligned path.
39556
39557 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39558
39559 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
39560 little endian.
39561
39562 2015-02-12 Andreas Schwab <schwab@suse.de>
39563
39564 [BZ #15790]
39565 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
39566 Filter out elision flags from value returned in kind.
39567 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
39568 * nptl/tst-pthread-mutexattr.c: New file.
39569
39570 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
39571
39572 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
39573 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
39574 into gnu-gnu, and update comment to refer to abi-tags.
39575
39576 2015-02-11 Joseph Myers <joseph@codesourcery.com>
39577
39578 [BZ #15467]
39579 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
39580 (__sincos): Set errno to EDOM for infinite argument.
39581 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
39582 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
39583 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
39584 (__sincosl): Set errno to EDOM for infinite argument.
39585 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
39586 (__sincosl): Set errno to EDOM for infinite argument.
39587 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
39588 (__sincosl): Set errno to EDOM for infinite argument.
39589 * math/libm-test.inc (sincos_test_data): Test errno setting.
39590
39591 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
39592
39593 * string/strxfrm_l.c: Remove #define STRCMP.
39594 * string/strcoll_l.c: Remove #define STRLEN.
39595 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
39596 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
39597
39598 2015-02-10 Joseph Myers <joseph@codesourcery.com>
39599
39600 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
39601 * sysdeps/mips/mips32/sfp-machine.h: ... here.
39602 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
39603 * sysdeps/mips/mips64/Makefile: ... here.
39604 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
39605 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
39606 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
39607 * sysdeps/mips/mips64/sfp-machine.h: ... here.
39608 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
39609 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
39610 * sysdeps/mips/mips64/n64/Implies: Likewise.
39611
39612 2015-02-10 Roland McGrath <roland@hack.frob.com>
39613
39614 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
39615 <sys/time.h>, <string.h>, and <errno.h>.
39616 (dest_offset, dest_address, value, zero): Remove unused variables.
39617 (ldouble): Remove typedef.
39618 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
39619 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
39620 1). Fix code style.
39621 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
39622 (check): Function removed.
39623 (CHECK): New macro.
39624 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
39625 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
39626 Don't call set_sigaction_FP and remove_sigaction_FP here.
39627 (ldouble_test): Just use 'long double' as macro argument, no need for
39628 the 'ldouble' typedef.
39629 (do_test): Set up SIGFPE handler at start, using plain signal rather
39630 than sigaction. Fix code style.
39631
39632 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
39633
39634 [BZ #17949]
39635 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
39636 jump label.
39637
39638 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
39639
39640 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
39641 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39642
39643 * sysdeps/powerpc/configure.ac: Remove file.
39644 * sysdeps/powerpc/configure: Likewise.
39645
39646 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
39647 [sysdep_routines]: Remove wordcopy-power6 object.
39648 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
39649 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
39650 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
39651 (__memmove_ppc32): Likewise.
39652 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
39653 file.
39654 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
39655 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
39656 Remove preprocessor.
39657
39658 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
39659 [sysdep_routines]: Remove wide chars objects.
39660 [wcsmbs]: New rule for wide char objects.
39661
39662 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39663 Remove wordcopy-power6 obejct.
39664 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
39665 Use local call for wordcopy and memcpy symbols.
39666 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
39667 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
39668 implementation for loader.
39669 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
39670
39671 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39672 Remove wordcopy-power7 object.
39673 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
39674 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
39675 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
39676 (_wordcopy_fwd_dest_aligned): Likewise.
39677 (_wordcopy_bwd_aligned): Likewise.
39678 (_wordcopy_bwd_dest_aligned): Likewise.
39679
39680 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
39681 Rewrite to call __memmove_ppc instead of include default
39682 implementation.
39683
39684 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39685 Remove wide chars objects.
39686 [wcsmbs]: New rule for wide char objects.
39687
39688 2015-02-09 Andreas Schwab <schwab@suse.de>
39689
39690 [BZ #17912]
39691 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
39692 in terms of __O_DIRECTORY.
39693
39694 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
39695
39696 * time/getdate.c: Include <stdbool.h>.
39697 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
39698 call PTR_MANGLE.
39699 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
39700 PTR_DEMANGLE.
39701
39702 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
39703
39704 Add ersatz _Static_assert on older C hosts
39705 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
39706 pre-C11 C platform that is not known to support _Static_assert.
39707
39708 2015-02-07 Richard Braun <rbraun@sceen.net>
39709
39710 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
39711 sigstate.
39712 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
39713
39714 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
39715
39716 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
39717 priority against unexistent AIO_PRIO_DELTA_MAX.
39718 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
39719 instead of int.
39720 * misc/fchflags.c (fchflags): Likewise.
39721 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
39722 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
39723 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
39724 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
39725 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
39726 Declare macros.
39727 [__USE_MISC] (chflags, fchflags): Declare functions.
39728 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
39729 EINVAL when nfds is greater than FD_SETSIZE.
39730 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
39731 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
39732 45.
39733 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
39734 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
39735 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
39736 MACH_RCV_TIMED_OUT.
39737 * hurd/hurd/signal.h (_hurd_self_sigstate,
39738 _hurd_critical_section_lock, _hurd_critical_section_unlock):
39739 Explicit casts from void *.
39740 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
39741 * abi-tags: Rename gnu-gnu os into gnu.
39742
39743 [BZ #4719]
39744 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
39745 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
39746 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
39747 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
39748 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
39749 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
39750
39751 [BZ #17944]
39752 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
39753 duplicates ADDR->sun_path with sockaddr LEN limitation.
39754 * sysdeps/mach/hurd/connect.c: Include <string.h>
39755 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
39756 * sysdeps/mach/hurd/sendmsg.c: Likewise.
39757 * sysdeps/mach/hurd/sendto.c: Likewise.
39758 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
39759 implementing it by hand.
39760
39761 2015-02-06 Roland McGrath <roland@hack.frob.com>
39762
39763 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
39764 Use sfi_breg on ldr.
39765 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
39766 Likewise.
39767
39768 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
39769 it's defined.
39770 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
39771 Test SIGSETXID only if it's defined.
39772
39773 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
39774
39775 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
39776 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
39777
39778 * nptl/tst-align2.c: Moved ...
39779 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
39780 * nptl/Makefile (tests): Remove tst-align2.
39781 * sysdeps/unix/sysv/linux/Makefile
39782 [$(subdir) = nptl] (tests): Add tst-align-clone.
39783 * nptl/tst-getpid1.c: Moved ...
39784 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
39785 * nptl/tst-getpid2.c: Moved ...
39786 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
39787 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
39788 * sysdeps/unix/sysv/linux/Makefile
39789 [$(subdir) = nptl] (tests): ... here.
39790 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
39791 * sysdeps/unix/sysv/linux/Makefile
39792 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
39793
39794 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
39795 Drop trailing \n from perror argument. Use return rather than exit.
39796
39797 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
39798 on [SA_SIGINFO].
39799 * nptl/tst-cancel21.c (do_test): Likewise.
39800 * debug/tst-backtrace6.c: Include <signal.h> first thing.
39801 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
39802 [!SA_SIGINFO]: Make it a stub test.
39803
39804 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
39805 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
39806
39807 * posix/tst-getlogin.c: Move to ...
39808 * login/tst-getlogin.c: ... here.
39809 * posix/Makefile (tests): Move tst-getlogin to ...
39810 * login/Makefile (tests): ... here.
39811
39812 * libio/tst-atime.c (do_test): Move local variables SV and E
39813 inside [ST_NOATIME] conditional.
39814
39815 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
39816
39817 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
39818
39819 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
39820 (wait_code): New function replaces macro.
39821 Call nanosleep rather than syscall.
39822
39823 * nptl/pt-system.c: Rewritten. Put everything under
39824 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39825 Use IFUNC to redirect when possible.
39826
39827 * nptl/pt-longjmp.c: Rewritten. Put everything under
39828 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39829 Use IFUNC to redirect when possible.
39830
39831 * nptl/pt-fork.c: Rewritten. Put everything under
39832 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39833 Use IFUNC to redirect when possible.
39834 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
39835
39836 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
39837 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
39838 unconditionally nowadays. This included the only reference to
39839 __vdso_clock_gettime that appears outside libc proper.
39840 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
39841 Remove version set (containing only __vdso_clock_gettime).
39842 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
39843 Add attribute_hidden.
39844 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
39845 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
39846 libc_hidden_data_def.
39847 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
39848 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
39849
39850 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
39851 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
39852 setrpcent, and getrpcport to ...
39853 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
39854 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
39855 getrpcbynumber_r, and getrpcent_r to ...
39856 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
39857 * inet/getrpcbyname.c: Moved ...
39858 * sunrpc/getrpcbyname.c: ... here.
39859 * inet/getrpcbyname_r.c: Moved ...
39860 * sunrpc/getrpcbyname_r.c: ... here.
39861 * inet/getrpcbynumber.c: Moved ...
39862 * sunrpc/getrpcbynumber.c: ... here.
39863 * inet/getrpcbynumber_r.c: Moved ...
39864 * sunrpc/getrpcbynumber_r.c: ... here.
39865 * inet/getrpcent.c: Moved ...
39866 * sunrpc/getrpcent.c: ... here.
39867 * inet/getrpcent_r.c: Moved ...
39868 * sunrpc/getrpcent_r.c: ... here.
39869 * inet/Makefile (routines): Move those to ...
39870 * sunrpc/Makefile (routines): ... here.
39871 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
39872 the $(subdirs) list.
39873 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
39874 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
39875 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
39876 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
39877
39878 * elf/Makefile (routines): Include $(all-dl-routines), not just
39879 $(dl-routines).
39880 (rtld-routines): Likewise. Use = rather than :=.
39881 * sysdeps/aarch64/Makefile [$(subdir) = elf]
39882 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
39883 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
39884 * sysdeps/arm/Makefile: Likewise.
39885 * sysdeps/i386/Makefile: Likewise.
39886 * sysdeps/x86_64/Makefile: Likewise.
39887 * sysdeps/hppa/Makefile [$(subdir) = elf]
39888 (sysdep_routines, sysdep-rtld-routines): Don't add
39889 $(sysdep-dl-routines) to these.
39890 * sysdeps/ia64/Makefile: Likewise.
39891 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
39892 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
39893 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
39894 Don't add dl-static to these; sysdep-dl-routines alone is enough.
39895 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
39896 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
39897 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
39898 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
39899 * sysdeps/powerpc/Makefile [$(subdir) = elf]
39900 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
39901 these; sysdep-dl-routines alone is enough.
39902
39903 2015-02-06 Joseph Myers <joseph@codesourcery.com>
39904
39905 [BZ #17932]
39906 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
39907 where multiplication results in zero and third argument is finite
39908 and nonzero.
39909 * math/auto-libm-test-in: Add more tests of fma.
39910 * math/auto-libm-test-out: Regenerated.
39911
39912 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
39913 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
39914 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
39915 (_FP_CMP_EQ): Likewise.
39916 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
39917
39918 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
39919 extra argument CHECK_NAN. Redefine as wrapper around
39920 _FP_EXTEND_CNAN.
39921
39922 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
39923
39924 * version.h (RELEASE): Set to "stable".
39925 (VERSION): Set to "2.21"
39926 * include/features.h (__GLIBC_MINOR__): Set to 21.
39927
39928 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
39929
39930 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39931 Paul Eggert <eggert@cs.ucla.edu>
39932
39933 [BZ #16618]
39934 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
39935 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
39936 size in bytes. Store needed elements in wpmax. Use needed size
39937 in bytes for extend_alloca.
39938
39939 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
39940
39941 * manual/install.texi: Latest tested versions are GCC 4.9.2,
39942 binutls 2.25, and texinfo 5.2.
39943 * INSTALL: Regenerate.
39944 * sysdeps/nios2/configure: Regenerate.
39945 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
39946 * manual/contrib.texi: Update.
39947 * po/be.po: Update.
39948 * po/bg.po: Update.
39949 * po/ca.po: Update.
39950 * po/cs.po: Update.
39951 * po/da.po: Update.
39952 * po/de.po: Update.
39953 * po/el.po: Update.
39954 * po/eo.po: Update.
39955 * po/es.po: Update.
39956 * po/fi.po: Update.
39957 * po/fr.po: Update.
39958 * po/gl.po: Update.
39959 * po/hr.po: Update.
39960 * po/hu.po: Update.
39961 * po/ia.po: Update.
39962 * po/id.po: Update.
39963 * po/it.po: Update.
39964 * po/ja.po: Update.
39965 * po/ko.po: Update.
39966 * po/lt.po: Update.
39967 * po/nb.po: Update.
39968 * po/nl.po: Update.
39969 * po/pl.po: Update.
39970 * po/pt_BR.po: Update.
39971 * po/ru.po: Update.
39972 * po/rw.po: Update.
39973 * po/sk.po: Update.
39974 * po/sl.po: Update.
39975 * po/sv.po: Update.
39976 * po/tr.po: Update.
39977 * po/uk.po: Update.
39978 * po/vi.po: Update.
39979 * po/zh_CN.po: Update.
39980 * po/zh_TW.po: Update.
39981
39982 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
39983 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
39984 * sysdeps/hppa/dl-irel.h: Remove #warning.
39985 * sysdeps/hppa/entry.h: Provide prototype for
39986 __canonicalize_funcptr_for_compare and cast argument.
39987 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
39988 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
39989 * sysdeps/hppa/sotruss-lib.c: New file.
39990 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
39991 (atomic_compare_and_exchange_val_acq): Use __typeof__.
39992 (atomic_compare_and_exchange_bool_acq): Likewise.
39993 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
39994 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
39995
39996 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
39997 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
39998 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
39999
40000 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
40001
40002 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
40003 called function in non-PIC case.
40004
40005 2015-01-31 David S. Miller <davem@davemloft.net>
40006
40007 * sysdeps/sparc/sparc32/bits/atomic.h
40008 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
40009 unlock not after it.
40010 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
40011 volatile register usage warnings from the compiler.
40012
40013 * sysdeps/sparc/nptl/sem_init.c: Delete.
40014 * sysdeps/sparc/nptl/sem_post.c: Delete.
40015 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
40016 * sysdeps/sparc/nptl/sem_wait.c: Delete.
40017 * sysdeps/sparc/sparc32/sem_init.c: New file.
40018 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
40019 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
40020 padding explicitly initialized.
40021 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
40022 padding for in-semaphore spinlock.
40023 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
40024 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
40025 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
40026 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
40027 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
40028 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
40029 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
40030 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
40031 version.
40032 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
40033 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
40034
40035 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
40036
40037 [BZ #17801]
40038 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40039 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
40040 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
40041 New.
40042 (index_AVX_Fast_Unaligned_Load): Likewise.
40043 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
40044 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
40045 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
40046 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
40047 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
40048 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
40049 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
40050 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
40051 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
40052
40053 2015-01-29 Andreas Schwab <schwab@suse.de>
40054
40055 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
40056
40057 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
40058
40059 [BZ #17892]
40060 * nscd/nscd_stat.c (send_stats): Initialize DATA.
40061
40062 2015-01-28 Martin Sebor <msebor@redhat.com>
40063
40064 * math/README.libm-test: Clarify. Add "How to read the test output."
40065
40066 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
40067
40068 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
40069 Define to 0.
40070
40071 2015-01-28 Joseph Myers <joseph@codesourcery.com>
40072
40073 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
40074 (__HAVE_64B_ATOMICS): Define to 0.
40075
40076 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
40077
40078 [BZ #17885]
40079 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
40080 value to set as new flag.
40081
40082 [BZ #16576]
40083 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
40084 and use _ARCH_PPCSQ instead.
40085 (__ieee754_sqrt): Likewise.
40086 (__ieee754_sqrtf): Likewise.
40087 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
40088 _ARCH_PPCSQ is defined.
40089 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
40090 fsqrt instruction.
40091 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
40092 _ARCH_PPCSQ is defined.
40093 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
40094 fsqrts instruction.
40095 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
40096
40097 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40098
40099 * iconv/loop.c: Suppress array out of bound warning caused by GCC
40100 bug (GCC BZ #64739).
40101
40102 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
40103
40104 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
40105 Mark _retval as used.
40106 (lll_futex_wake_unlock): Likewise.
40107 (lll_futex_timed_wait_requeue_pi): Likewise.
40108
40109 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
40110 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
40111 register variables.
40112
40113 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
40114 libm_hidden_def.
40115
40116 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
40117 (__bswap_64): Mark as __always_inline.
40118
40119 2015-01-25 Bram <bug_rh@spam.wizbit.be>
40120
40121 [BZ #15378]
40122 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
40123 when none of the search directories exist.
40124
40125 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
40126
40127 [BZ #17869]
40128 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
40129 power8 in .machine directive.
40130
40131 [BZ #17868]
40132 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
40133 set dependency from opd value.
40134
40135 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
40136
40137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40138 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
40139 architecture.
40140
40141 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
40142
40143 [BZ #17870]
40144 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
40145 with uint64_t.
40146 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
40147 (uint64_t) 1.
40148 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
40149 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
40150 Replace 1UL with (uint64_t) 1.
40151 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
40152 int with uint64_t.
40153
40154 2015-01-23 Roland McGrath <roland@hack.frob.com>
40155
40156 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
40157 (if_freenameindex): Likewise.
40158
40159 * resource/getrlimit64.c: Add missing libc_hidden_def.
40160
40161 2015-01-22 Joseph Myers <joseph@codesourcery.com>
40162
40163 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
40164 __label__.
40165 (_FP_FMA): Likewise.
40166 (_FP_TO_INT_ROUND): Likewise.
40167 (_FP_FROM_INT): Likewise.
40168
40169 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40170
40171 [BZ #16418]
40172 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
40173 Make code racy and cancel safe.
40174
40175 2015-01-21 Carlos O'Donell <carlos@redhat.com>
40176
40177 * sysdeps/arm/unwind-resume.h: Fix copyright year.
40178 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
40179 attribution.
40180
40181 * pwd/tst-getpw.c: Rewrite.
40182
40183 [BZ #17702]
40184 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
40185 (modules-names): Add moddummy1 and moddummy2.
40186 ($(objpfx)tst-rec-dlopen): Define.
40187 * dlfcn/moddummy1.c: New file.
40188 * dlfcn/moddummy2.c: New file.
40189 * dlfcn/tst-rec-dlopen.c: New file.
40190 * elf/dl-cache.c (_dl_load_cache_lookup):
40191 Return char*. Copy result with alloca/strcpy/strdup.
40192 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
40193 returns char*. Free cached. If not saving realname
40194 free cached.
40195 * elf/dl-open.c (dl_open_worker): Do not assert that
40196 _r_debug->r_state is RT_CONSISTENT.
40197 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
40198 returns char*.
40199
40200 2015-01-21 Torvald Riegel <triegel@redhat.com>
40201 Carlos O'Donell <carlos@redhat.com>
40202
40203 [BZ #12674]
40204 * nptl/sem_waitcommon.c: New file.
40205 * nptl/sem_wait.c: Include sem_waitcommon.c.
40206 (__sem_wait_cleanup, do_futex_wait): Remove.
40207 (__new_sem_wait): Adapt.
40208 (__new_sem_trywait): New function.
40209 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
40210 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
40211 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
40212 (sem_timedwait): Adapt.
40213 * nptl/sem_post.c (__new_sem_post): Adapt.
40214 (futex_wake): New function.
40215 (__old_sem_post): Add release MO fence.
40216 * nptl/sem_open.c (sem_open): Adapt.
40217 * nptl/sem_init.c (__new_sem_init): Adapt.
40218 (futex_private_if_supported): New function.
40219 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
40220 (__old_sem_getvalue): Add using previous code.
40221 * sysdeps/nptl/internaltypes.h: Adapt.
40222 * nptl/tst-sem13.c (do_test): Adapt.
40223 * nptl/tst-sem11.c (main): Adapt.
40224 * nptl/sem_trywait.c: Remove.
40225 * nptl/DESIGN-sem.txt: Remove.
40226 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
40227 (gen-as-const-headers): Remove structsem.sym.
40228 * nptl/structsem.sym: Remove.
40229 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
40230 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
40231 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
40232 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
40233 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
40234 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
40235 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
40236 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
40237 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
40238 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
40239 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
40240 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
40241 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
40242 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
40243 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
40244 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
40245 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
40246 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
40247 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
40248 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
40249 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
40250 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
40251
40252 2015-01-20 Carlos O'Donell <carlos@redhat.com>
40253
40254 * INSTALL: Regenerated.
40255
40256 * po/libc.pot: Regenerated.
40257
40258 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
40259 Sandra Loosemore <sandra@codesourcery.com>
40260 Andrew Jenner <andrew@codesourcery.com>
40261 Joseph Myers <joseph@codesourcery.com>
40262 Nathan Sidwell <nathan@codesourcery.com>
40263
40264 * NEWS: Mention new Nios II port.
40265 * sysdeps/nios2/Implies: New file.
40266 * sysdeps/nios2/Makefile: New file.
40267 * sysdeps/nios2/Subdirs: New file.
40268 * sysdeps/nios2/Versions: New file.
40269 * sysdeps/nios2/__longjmp.S: New file.
40270 * sysdeps/nios2/abort-instr.h: New file.
40271 * sysdeps/nios2/backtrace.c: New file.
40272 * sysdeps/nios2/bits/endian.h: New file.
40273 * sysdeps/nios2/bits/fenv.h: New file.
40274 * sysdeps/nios2/bits/link.h: New file.
40275 * sysdeps/nios2/bits/setjmp.h: New file.
40276 * sysdeps/nios2/bsd-_setjmp.S: New file.
40277 * sysdeps/nios2/bsd-setjmp.S: New file.
40278 * sysdeps/nios2/configure: New generated file.
40279 * sysdeps/nios2/configure.ac: New file.
40280 * sysdeps/nios2/crti.S: New file.
40281 * sysdeps/nios2/crtn.S: New file.
40282 * sysdeps/nios2/dl-init.c: New file.
40283 * sysdeps/nios2/dl-machine.h: New file.
40284 * sysdeps/nios2/dl-sysdep.h: New file.
40285 * sysdeps/nios2/dl-tls.h: New file.
40286 * sysdeps/nios2/dl-trampoline.S: New file.
40287 * sysdeps/nios2/gccframe.h: New file.
40288 * sysdeps/nios2/gmp-mparam.h: New file.
40289 * sysdeps/nios2/jmpbuf-offsets.h: New file.
40290 * sysdeps/nios2/jmpbuf-unwind.h: New file.
40291 * sysdeps/nios2/ldsodefs.h: New file.
40292 * sysdeps/nios2/libc-tls.c: New file.
40293 * sysdeps/nios2/libm-test-ulps: New file.
40294 * sysdeps/nios2/machine-gmon.h: New file.
40295 * sysdeps/nios2/math-tests.h: New file.
40296 * sysdeps/nios2/math_private.h: New file.
40297 * sysdeps/nios2/memusage.h: New file.
40298 * sysdeps/nios2/nptl/Makefile: New file.
40299 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
40300 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
40301 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
40302 * sysdeps/nios2/nptl/pthreaddef.h: New file.
40303 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
40304 * sysdeps/nios2/nptl/tls.h: New file.
40305 * sysdeps/nios2/preconfigure: New file.
40306 * sysdeps/nios2/s_fma.c: New file.
40307 * sysdeps/nios2/s_fmaf.c: New file.
40308 * sysdeps/nios2/setjmp.S: New file.
40309 * sysdeps/nios2/sfp-machine.h: New file.
40310 * sysdeps/nios2/sotruss-lib.c: New file.
40311 * sysdeps/nios2/stackguard-macros.h: New file.
40312 * sysdeps/nios2/stackinfo.h: New file.
40313 * sysdeps/nios2/start.S: New file.
40314 * sysdeps/nios2/sysdep.h: New file.
40315 * sysdeps/nios2/tls-macros.h: New file.
40316 * sysdeps/nios2/tst-audit.h: New file.
40317 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
40318 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
40319 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
40320 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
40321 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
40322 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
40323 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
40324 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
40325 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
40326 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
40327 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
40328 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
40329 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
40330 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
40331 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
40332 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
40333 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
40334 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
40335 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
40336 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
40337 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
40338 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
40339 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
40340 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
40341 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
40342 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
40343 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
40344 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
40345 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
40346 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
40347 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
40348 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
40349 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
40350 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
40351 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
40352 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
40353 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
40354 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
40355 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
40356 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
40357 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
40358 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
40359 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
40360 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
40361
40362 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
40363
40364 [BZ #17844]
40365 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
40366 (getutent): Use weak_alias in non SHARED case
40367 and default_symbol_version in SHARED case.
40368 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
40369 (getutent_r, pututline): Likewise.
40370 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
40371 (getutid): Likewise.
40372 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
40373 (getutid_r): Likewise.
40374 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
40375 (getutline): Likewise.
40376 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
40377 (getutline_r): Likewise.
40378 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
40379 (updwtmp): Likewise.
40380
40381 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
40382
40383 [BZ #17848]
40384 * sysdeps/s390/s390-32/memcmp.S
40385 (memcmp_g5): Rename to __memcmp_g5.
40386 * sysdeps/s390/s390-32/memcpy.S
40387 (memcpy_g5): Rename to __memcpy_g5.
40388 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40389 (memcpy_mvcle) Rename to __memcpy_mvcle.
40390 * sysdeps/s390/s390-32/memset.S
40391 (memset_g5): Rename to __memset_g5.
40392 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40393 (IFUNC_RESOLVE): Prefix ifunc-resolve function
40394 and use prefixed functions.
40395 * sysdeps/s390/s390-32/multiarch/memcmp.S
40396 (memcmp_z196): Rename to __memcmp_z196.
40397 (memcmp_z10): Rename to __memcmp_z10.
40398 (memcmp): Set alias to __memcmp_g5.
40399 (bcmp): Set alias to __memcmp_g5.
40400 * sysdeps/s390/s390-32/multiarch/memcpy.S
40401 (memcpy_z196): Rename to __memcpy_z196.
40402 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40403 (memcpy_z10): Rename to __memcpy_z10.
40404 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40405 (memcpy): Set alias to __memcpy_g5.
40406 * sysdeps/s390/s390-32/multiarch/memset.S
40407 (memset_z196): Rename to __memset_z196.
40408 Jump to __memset_mvcle instead of memset_mvcle.
40409 (memset_z10): Rename to __memset_z10.
40410 Jump to __memset_mvcle instead of memset_mvcle.
40411 (memset_mvcle) Rename to __memset_mvcle.
40412 (memset): Set alias to __memset_g5.
40413 * sysdeps/s390/s390-64/memcmp.S
40414 (memcmp_z900): Rename to __memcmp_z900.
40415 * sysdeps/s390/s390-64/memcpy.S
40416 (memcpy_z900): Rename to __memcpy_z900.
40417 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40418 (memcpy_mvcle) Rename to __memcpy_mvcle.
40419 * sysdeps/s390/s390-64/memset.S
40420 (memset_z900): Rename to __memset_z900.
40421 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
40422 (IFUNC_RESOLVE): Prefix ifunc-resolve function
40423 and use prefixed functions.
40424 * sysdeps/s390/s390-64/multiarch/memcmp.S
40425 (memcmp_z196): Rename to __memcmp_z196.
40426 (memcmp_z10): Rename to __memcmp_z10.
40427 (memcmp): Set alias to __memcmp_z900.
40428 (bcmp): Set alias to __memcmp_z900.
40429 * sysdeps/s390/s390-64/multiarch/memcpy.S
40430 (memcpy_z196): Rename to __memcpy_z196.
40431 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40432 (memcpy_z10): Rename to __memcpy_z10.
40433 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40434 (memcpy): Set alias to __memcpy_z900.
40435 * sysdeps/s390/s390-64/multiarch/memset.S
40436 (memset_z196): Rename to __memset_z196.
40437 Jump to __memset_mvcle instead of memset_mvcle.
40438 (memset_z10): Rename to __memset_z10.
40439 Jump to __memset_mvcle instead of memset_mvcle.
40440 (memset_mvcle) Rename to __memset_mvcle.
40441 (memset): Set alias to __memset_z900.
40442
40443 2015-01-14 Joseph Myers <joseph@codesourcery.com>
40444
40445 [BZ #17748]
40446 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
40447 __fesetenv instead of fesetenv.
40448
40449 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40450
40451 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
40452 macro.
40453
40454 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40455
40456 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
40457 regression on LE.
40458
40459 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
40460 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
40461 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40462 strncmp-power8 object.
40463 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40464 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
40465 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
40466 * NEWS: Update.
40467
40468 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40469 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40470
40471 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
40472 trailing byte check.
40473
40474 2015-01-13 David S. Miller <davem@davemloft.net>
40475
40476 * include/signal.h (__sigreturn): Guard with __USE_MISC.
40477
40478 2015-01-13 Roland McGrath <roland@hack.frob.com>
40479
40480 * login/logout.c (logout): Use memset rather than bzero.
40481 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
40482 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
40483 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
40484 (_gethtbyaddr): Likewise.
40485 * locale/programs/simple-hash.c (bcopy): Macro removed.
40486
40487 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40488
40489 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40490 Add strcmp-power8 object.
40491 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40492 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
40493 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
40494 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
40495 __strcmp_power8 implementation.
40496 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
40497 * NEWS: Update.
40498
40499 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40500 Add strncpy-power8 and stpncpy-power8 objects.
40501 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40502 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
40503 implementations.
40504 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
40505 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
40506 __stpncpy_power8 implementation.
40507 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
40508 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
40509 __strncpy_power8 implementation.
40510 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
40511 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
40512 * NEWS: Update.
40513
40514 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
40515 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
40516 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
40517
40518 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40519 strncat-power8 object.
40520 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
40521 __strcat_power8 implementation.
40522 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40523 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
40524 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
40525 optimized strcat for power8.
40526
40527 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40528 strcpy-power8 and stpcpy-power8 objects.
40529 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40530 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
40531 implementations.
40532 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
40533 multiarch stpcpy implementation for POWER8.
40534 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
40535 multiarch strcpy implementation for POWER8.
40536 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
40537 __strcpy_power8 function.
40538 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
40539 stpcpy for POWER8.
40540 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
40541 strcpy for POWER8.
40542 * NEWS: Update.
40543
40544 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
40545
40546 [BZ #16009]
40547 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
40548 weights and rules. Use do_xfrm_cached if data fits in cache,
40549 do_xfrm otherwise. Moved former main loop to...
40550 * (do_xfrm_cached): New function.
40551 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
40552 find_idx, find_position and stack_push.
40553 * (find_idx): New function.
40554 * (find_position): Likewise.
40555 * localedata/sort-test.sh: Added test run for do_xfrm.
40556 * localedata/xfrm-test.c (main): Added command line option
40557 -nocache to run the test with strings that are too large for
40558 the STRXFRM cache.
40559
40560 2015-01-13 Torvald Riegel <triegel@redhat.com>
40561
40562 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
40563 variable to lll_futex_wake call, not the value itself.
40564
40565 2015-01-12 Joseph Myers <joseph@codesourcery.com>
40566
40567 [BZ #17803]
40568 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
40569 twom64. Adjust value to 0x1p-64L.
40570 (__scalblnl): Only return standard underflowing result for K <=
40571 -64 not K <= -63; adjust exponent for underflowing result by 64
40572 not 63.
40573 * math/libm-test.inc (scalbn_test_data): Add more tests.
40574 (scalbln_test_data): Likewise.
40575
40576 [BZ #17834]
40577 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
40578 0x1p63L.
40579 (__scalblnl): Get new exponent of adjusted subnormal value from ES
40580 not HX.
40581 * math/libm-test.inc (scalbn_test_data): Add more tests.
40582 (scalbln_test_data): Likewise.
40583
40584 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40585 Stefani Seibold <stefani@seibold.net>
40586
40587 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
40588 (sysdep_routines): Add dl-vdso here, ...
40589 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
40590 (sysdep_routines): ... not here.
40591 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
40592 fallback when vDSO is not presented.
40593 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
40594 Define with libc_hidden_proto/libc_hidden_data_def definitions.
40595 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
40596 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
40597 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
40598 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
40599 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
40600 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
40601 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
40602 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
40603 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
40604 fallback configurable symbol when vDSO is not available.
40605 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
40606 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
40607 be able to redefine fallback symbol when vDSO is not available.
40608 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
40609 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
40610
40611 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40612
40613 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
40614 (TLS_INIT_TP): Add tm_capable initialization.
40615 (TLS_DEFINE_INIT_TP): Likewise.
40616 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
40617 TCB.
40618 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
40619 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
40620 calculation.
40621 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
40622 transactoion is lock elision is built and TCB tm_capable is set.
40623 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
40624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40625 (INTERNAL_SYSCALL_NCS): Likewise.
40626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40627 (INTERNAL_SYSCALL_NCS): Likewise.
40628 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
40629
40630 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
40631 for powerpc.
40632 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40633 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
40634 and remove it for 32 bits case.
40635 [pthread_rwlock_t] (__rwelision): New field for lock elision.
40636 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
40637 initialization.
40638 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
40639 Disable lock elision with rdlocks if elision is not available.
40640
40641 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
40642 (sysdep_routines): Add lock elision objects.
40643 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40644 [pthread_mutex_t] (__spins): Rework to add lock elision field.
40645 [pthread_mutex_t] (__elision): Add field.
40646 [__PTHREAD_SPINS]: Adjust to init lock elision field.
40647 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
40648 elision definitions for powerpc.
40649 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
40650 implementation of lock elision for powerpc.
40651 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
40652 implementation of timed lock elision for powerpc.
40653 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
40654 implementation of trylock with lock elision for powerpc.
40655 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
40656 implementaion of unlock for lock elision for powerpc.
40657 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
40658 automatic enable lock elision for mutexes.
40659 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
40660 transaction execution definitions for powerpc.
40661 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
40662 definitions.
40663 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
40664 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
40665 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
40666 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
40667 * NEWS: Update.
40668
40669 2015-01-09 Roland McGrath <roland@hack.frob.com>
40670
40671 * sysdeps/posix/shm-directory.c: Use <> rather than ""
40672 for #include of <shm-directory.h>.
40673
40674 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
40675
40676 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
40677 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
40678
40679 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
40680
40681 [BZ #17791]
40682 * NEWS: Mention bug fix.
40683 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
40684 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
40685 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
40686
40687 2015-01-09 Torvald Riegel <triegel@redhat.com>
40688
40689 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
40690
40691 2015-01-09 Torvald Riegel <triegel@redhat.com>
40692
40693 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
40694
40695 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
40696
40697 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
40698 pointer and cast to uintptr_t.
40699
40700 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
40701
40702 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
40703 removed.
40704 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
40705
40706 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
40707
40708 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
40709 of 0.
40710
40711 2015-01-08 Roland McGrath <roland@hack.frob.com>
40712
40713 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
40714 <nptl/pthreadP.h> instead.
40715 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
40716
40717 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
40718 already defined.
40719 [__SIGRTMIN] (init): Function removed.
40720 [__SIGRTMIN] (initialized): Variable removed.
40721 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
40722 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
40723 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
40724 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
40725 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
40726 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
40727 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
40728 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
40729 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
40730 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
40731 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
40732 * sysdeps/nptl/allocrtsig.c: New file.
40733 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
40734 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
40735 * sysdeps/generic/testrtsig.h: File removed.
40736
40737 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
40738 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
40739
40740 * nptl/nptl-init.c (pthread_functions): Conditionalize
40741 .ptr__nptl_setxid initialization on [SIGSETXID].
40742
40743 * sysdeps/nptl/sys/procfs.h: New file.
40744 * nptl_db/Makefile (headers): Add it.
40745 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
40746
40747 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
40748 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
40749 * nptl/pthread_attr_setaffinity.c: Include it.
40750 * nptl/pthread_setattr_default_np.c: Likewise.
40751 * nptl/check-cpuset.h: New file.
40752
40753 2015-01-08 Richard Henderson <rth@redhat.com>
40754
40755 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
40756 (CFLAGS-tst-execstack-prog.c): Likewise.
40757 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
40758
40759 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
40760 Sandra Loosemore <sandra@codesourcery.com>
40761 Andrew Jenner <andrew@codesourcery.com>
40762 Joseph Myers <joseph@codesourcery.com>
40763 Nathan Sidwell <nathan@codesourcery.com>
40764
40765 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
40766 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
40767 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
40768 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
40769 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
40770 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
40771 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
40772 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
40773 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
40774 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
40775 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
40776 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
40777 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
40778 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
40779 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
40780 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
40781 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
40782
40783 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40784
40785 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
40786 timespec struct member in syscall macro.
40787 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
40788 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
40789 first timeval struct member in syscall macro.
40790 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
40791
40792 2015-01-07 Joseph Myers <joseph@codesourcery.com>
40793
40794 [BZ #17748]
40795 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
40796 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
40797 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
40798 __feupdateenv and define as weak alias of __feupdateenv. Use
40799 libm_hidden_weak.
40800 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
40801 libm_hidden_def.
40802 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
40803 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
40804 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
40805 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
40806 libm_hidden_def.
40807 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
40808 __feupdateenv and define as weak alias of __feupdateenv. Use
40809 libm_hidden_weak.
40810 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
40811 libm_hidden_def.
40812 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
40813 __feupdateenv and define as weak alias of __feupdateenv. Use
40814 libm_hidden_weak.
40815 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
40816 libm_hidden_def.
40817 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
40818 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
40819 (__feupdateenv): Likewise.
40820 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
40821 __feupdateenv and define as weak alias of __feupdateenv. Use
40822 libm_hidden_weak.
40823 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40824 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
40825 libm_hidden_def.
40826 * sysdeps/tile/math_private.h (__feupdateenv): New inline
40827 function.
40828 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
40829 libm_hidden_def.
40830 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
40831 __feupdateenv instead of feupdateenv.
40832 (default_libc_feupdateenv_test): Likewise.
40833 (libc_feresetround_ctx): Likewise.
40834
40835 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40836
40837 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
40838 prototype.
40839
40840 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
40841
40842 * posix/regcomp.c (parse_bracket_exp): Initialize type to
40843 COLL_SYM in a couple of places to avoid uninitialized variable
40844 wanings on tilegx gcc 4.8.2.
40845
40846 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
40847
40848 * sysdeps/aarch64/strcpy.S: New file.
40849 * sysdeps/aarch64/stpcpy.S: New file.
40850 * NEWS: Updated.
40851
40852 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
40853
40854 * sysdeps/aarch64/strrchr.S: New file.
40855 * NEWS: Updated.
40856
40857 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
40858
40859 [BZ #17658]
40860 * stdlib/setenv.c: Fix memory leak when setting large,
40861 duplicate string.
40862
40863 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
40864
40865 [BZ #17273]
40866 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
40867 and tabs from buffer before parsing fstab entry.
40868 * misc/tst-mntent.c (main): Add test for mount entry with
40869 trailing spaces and tabs.
40870
40871 2015-01-06 Joseph Myers <joseph@codesourcery.com>
40872
40873 [BZ #17748]
40874 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
40875 * math/fesetround.c (fesetround): Rename to __fesetround and
40876 define as weak alias of __fesetround. Use libm_hidden_weak.
40877 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
40878 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
40879 * sysdeps/arm/fesetround.c (fesetround): Likewise.
40880 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
40881 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
40882 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
40883 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
40884 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
40885 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
40886 __fesetround_inline.
40887 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
40888 __fesetround_inline instead of __fesetround.
40889 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
40890 __fesetround and define as weak alias of __fesetround. Use
40891 libm_hidden_weak. Call __fesetround_inline instead of
40892 __fesetround.
40893 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
40894 __fesetround and define as weak alias of __fesetround. Use
40895 libm_hidden_weak.
40896 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
40897 Likewise.
40898 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
40899 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40900 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
40901 * sysdeps/tile/math_private.h (__fesetround): New inline function.
40902 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
40903 __fesetround and define as weak alias of __fesetround. Use
40904 libm_hidden_weak.
40905 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
40906 __fesetround instead of fesetround.
40907 (default_libc_feholdexcept_setround): Likewise.
40908 (libc_feholdsetround_ctx): Likewise.
40909 (libc_feholdsetround_noex_ctx): Likewise.
40910
40911 [BZ #17748]
40912 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
40913 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
40914 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
40915 and define as weak alias of __fesetenv. Use libm_hidden_weak.
40916 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40917 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
40918 define as weak alias of __fesetenv. Use libm_hidden_weak.
40919 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
40920 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40921 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
40922 define as weak alias of __fesetenv. Use libm_hidden_weak.
40923 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40924 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
40925 define as weak alias of __fesetenv. Use libm_hidden_weak.
40926 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
40927 libm_hidden_def.
40928 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
40929 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
40930 Likewise.
40931 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
40932 define as weak alias of __fesetenv. Use libm_hidden_weak.
40933 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40934 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40935 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
40936 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
40937 and define as weak alias of __fesetenv. Use libm_hidden_weak.
40938 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
40939 __fesetenv instead of fesetenv.
40940 (libc_feresetround_noex_ctx): Likewise.
40941 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
40942 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
40943 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
40944 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
40945 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
40946 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
40947 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
40948 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
40949 (__feupdateenv): Likewise.
40950 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
40951 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40952 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
40953 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
40954
40955 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
40956
40957 [BZ #17806]
40958 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
40959 addresses have been freed.
40960
40961 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
40962
40963 * resolv/res_init.c (__res_vinit): Improve comments about nserv
40964 and nservall.
40965
40966 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
40967
40968 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
40969 Clean up check_pf allocation pattern. addresses
40970
40971 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40972
40973 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
40974 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
40975 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
40976 * nptl/pthread_exit.c (__pthread_exit): Likewise.
40977 * nptl/pthread_join.c (pthread_join): Likewise.
40978 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
40979 * sysdeps/posix/waitid.c (__waitid): Likewise.
40980 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
40981 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
40982 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
40983 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
40984 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
40985 Likewise.
40986 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
40987 (__libc_pread64): Likewise.
40988 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
40989 (__libc_pwrite): Likewise.
40990 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
40991 (__libc_pwrite64): Likewsie.
40992 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
40993 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
40994 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
40995 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
40996 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
40997 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
40998 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
40999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
41000 Likewise.
41001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41002 (__libc_pread64): Likewise.
41003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
41004 Likewise.
41005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41006 (__libc_pwrite64): Likewise.
41007 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
41008 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
41009 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
41010 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
41011 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
41012 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
41013 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
41014 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
41015 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
41016 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
41017 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
41018 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
41019 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
41020 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
41021 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
41022 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
41023 Likewise.
41024
41025 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
41026
41027 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
41028 (CFLAGS-test-double.c): Likewise.
41029 (CFLAGS-test-ldouble.c): Likewise.
41030 (CPPFLAGS-test-ifloat.c): Likewise.
41031 (CPPFLAGS-test-idouble.c): Likewise.
41032 (CPPFLAGS-test-ildoubl.c): Likewise.
41033 (CFLAGS-test-test-fenv.c): Remove variable.
41034 (CFLAGS-test-misc.c): Likewise.
41035
41036 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
41037
41038 [BZ #17797]
41039 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
41040 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
41041 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
41042 CLOCKS_PER_SEC == 1000000.
41043 * time/clocktest.c (main): Replace %ld with %jd and cast to
41044 intmax_t.
41045
41046 2015-01-05 Roland McGrath <roland@hack.frob.com>
41047
41048 * sysdeps/generic/unwind-resume.h: New file.
41049 * sysdeps/gnu/unwind-resume.c: Include it.
41050 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
41051 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
41052 argument list.
41053 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
41054 global rather than static.
41055 (_Unwind_Resume): Update user.
41056 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
41057 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
41058 rather than static. Add __attribute__ ((cold)).
41059 (_Unwind_Resume, __gcc_personality_v0): Update callers.
41060 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
41061 * sysdeps/arm/arm-unwind-resume.S: New file.
41062 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
41063 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
41064 * sysdeps/arm/Makefile [$(subdir) = csu]
41065 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
41066 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
41067 Add rt-arm-unwind-resume.
41068 [$(subdir) = nptl]
41069 (libpthread-sysdep_routines, libpthread-shared-only-routines):
41070 Add pt-arm-unwind-resume.
41071 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
41072 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
41073
41074 2015-01-05 Joseph Myers <joseph@codesourcery.com>
41075
41076 [BZ #17748]
41077 * include/fenv.h (__feholdexcept): Declare. Use
41078 libm_hidden_proto.
41079 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
41080 define as weak alias of __feholdexcept. Use libm_hidden_weak.
41081 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41082 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
41083 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
41084 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
41085 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
41086 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41087 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
41088 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
41089 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41090 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
41091 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
41092 (feholdexcept): Likewise.
41093 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41094 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41095 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41096 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41097 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
41098 __feholdexcept instead of feholdexcept.
41099 (default_libc_feholdexcept_setround): Likewise.
41100
41101 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
41102
41103 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
41104 to avoid using stl/str to align destination.
41105
41106 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
41107
41108 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
41109
41110 2015-01-05 Joseph Myers <joseph@codesourcery.com>
41111
41112 [BZ #17796]
41113 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
41114 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
41115 Define as weak alias not strong alias.
41116
41117 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
41118
41119 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
41120 bltzal with addiupc.
41121 (RTLD_START): Ditto.
41122
41123 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
41124
41125 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
41126 for __vdso_* functions in declarations.
41127 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
41128 definitions.
41129 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
41130 INTERNAL_VSYSCALL): Use struct return types to check for error.
41131
41132 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
41133 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
41134 function with cast from llround().
41135 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
41136 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
41137 Define.
41138
41139 2015-01-05 Joseph Myers <joseph@codesourcery.com>
41140
41141 [BZ #17793]
41142 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
41143 Define as weak alias not strong alias.
41144
41145 [BZ #17635]
41146 * ctype/ctype-c99.c: New file. isblank implementation moved from
41147 ...
41148 * ctype/ctype-extn.c: ... here.
41149 (__isblank_l): Move to ...
41150 * ctype/ctype-c99_l.c: ... here. New file.
41151 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
41152 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
41153 Remove variable.
41154 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
41155 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
41156 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
41157 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
41158 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
41159
41160 [BZ #17777]
41161 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
41162 (posix_fadvise64): Define as weak alias not strong alias.
41163 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41164 (posix_fallocate64): Likewise.
41165 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
41166 Remove variable.
41167 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
41168 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
41169 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
41170 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
41171 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
41172
41173 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
41174
41175 [BZ #16191]
41176 * NEWS: Mention bug fix.
41177 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
41178 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
41179 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
41180 (HOST_STACK_END_ADDR): Likewise.
41181
41182 2015-01-02 Joseph Myers <joseph@codesourcery.com>
41183
41184 [BZ #17748]
41185 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
41186 * math/fegetround.c (fegetround): Rename to __fegetround and
41187 define as weak alias of __fegetround. Use libm_hidden_weak.
41188 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
41189 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
41190 * sysdeps/arm/fegetround.c (fegetround): Likewise.
41191 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
41192 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41193 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
41194 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
41195 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
41196 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41197 Undefine after rather than before function definition; use
41198 parentheses around function name in definition.
41199 (__fegetround): Also undefine macro after function definition.
41200 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
41201 __fegetround and define as weak alias of __fegetround. Use
41202 libm_hidden_weak. Do not undefine as macro.
41203 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41204 Likewise.
41205 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
41206 __fegetround and define as weak alias of __fegetround. Use
41207 libm_hidden_weak.
41208 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41209 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41210 * sysdeps/tile/math_private.h (__fegetround): New inline function.
41211 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
41212 __fegetround and define as weak alias of __fegetround. Use
41213 libm_hidden_weak.
41214 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
41215 __fegetround instead of fegetround.
41216
41217 [BZ #17782]
41218 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
41219 Condition macro definition on [__USE_MISC].
41220
41221 [BZ #17781]
41222 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
41223 (struct sigaction): Change type of sa_flags field to int.
41224
41225 [BZ #17780]
41226 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
41227 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
41228 __glibc_reserved0.
41229
41230 * nptl/version.c (banner): Use single year in copyright notice.
41231
41232 * NEWS: Update copyright dates.
41233 * catgets/gencat.c (print_version): Likewise.
41234 * csu/version.c (banner): Likewise.
41235 * debug/catchsegv.sh: Likewise.
41236 * debug/pcprofiledump.c (print_version): Likewise.
41237 * debug/xtrace.sh (do_version): Likewise.
41238 * elf/ldconfig.c (print_version): Likewise.
41239 * elf/ldd.bash.in: Likewise.
41240 * elf/pldd.c (print_version): Likewise.
41241 * elf/sotruss.sh: Likewise.
41242 * elf/sprof.c (print_version): Likewise.
41243 * iconv/iconv_prog.c (print_version): Likewise.
41244 * iconv/iconvconfig.c (print_version): Likewise.
41245 * locale/programs/locale.c (print_version): Likewise.
41246 * locale/programs/localedef.c (print_version): Likewise.
41247 * login/programs/pt_chown.c (print_version): Likewise.
41248 * malloc/memusage.sh (do_version): Likewise.
41249 * malloc/memusagestat.c (print_version): Likewise.
41250 * malloc/mtrace.pl: Likewise.
41251 * manual/libc.texinfo: Likewise.
41252 * nptl/version.c (banner): Likewise.
41253 * nscd/nscd.c (print_version): Likewise.
41254 * nss/getent.c (print_version): Likewise.
41255 * nss/makedb.c (print_version): Likewise.
41256 * posix/getconf.c (main): Likewise.
41257 * scripts/test-installation.pl: Likewise.
41258 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
41259
41260 2015-01-02 Will Newton <will.newton@linaro.org>
41261
41262 * sysdeps/arm/armv7/configure: Removed.
41263 * sysdeps/arm/armv7/configure.ac: Likewise.
41264
41265 2015-01-02 Joseph Myers <joseph@codesourcery.com>
41266
41267 * All files with FSF copyright notices: Update copyright dates
41268 using scripts/update-copyrights.
41269 * intl/plural.c: Regenerated.
41270 * locale/programs/charmap-kw.h: Likewise.
41271 * locale/programs/locfile-kw.h: Likewise.
41272
41273 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
41274
41275 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
41276
41277 2014-12-31 Joseph Myers <joseph@codesourcery.com>
41278
41279 [BZ #17748]
41280 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
41281 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
41282 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41283 and define as weak alias of __fegetenv. Use libm_hidden_weak.
41284 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41285 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
41286 define as weak alias of __fegetenv. Use libm_hidden_weak.
41287 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
41288 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41289 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41290 define as weak alias of __fegetenv. Use libm_hidden_weak.
41291 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41292 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41293 define as weak alias of __fegetenv. Use libm_hidden_weak.
41294 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
41295 libm_hidden_def.
41296 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
41297 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
41298 Likewise.
41299 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41300 define as weak alias of __fegetenv. Use libm_hidden_weak.
41301 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41302 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41303 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
41304 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41305 and define as weak alias of __fegetenv. Use libm_hidden_weak.
41306 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
41307 __fegetenv instead of fegetenv.
41308 (libc_feholdsetround_noex_ctx): Likewise.
41309
41310 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
41311
41312 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
41313 (Elf_MIPS_ABIFlags_v0): New structure.
41314 (EF_MIPS_FP64): Define.
41315 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
41316 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
41317 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
41318 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
41319 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
41320 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
41321 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
41322 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
41323 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
41324 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
41325 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
41326 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
41327 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
41328 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
41329 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
41330 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
41331 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
41332 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
41333 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
41334 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
41335 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
41336 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
41337 field.
41338 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
41339 EF_MIPS_FP64.
41340 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
41341 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
41342 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
41343 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
41344 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
41345 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
41346 * sysdeps/mips/tst-abi-interlink.c: Likewise.
41347 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
41348 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
41349 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
41350 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
41351 record the current FP ABI extension.
41352 (mips-mode-switch): Define to show if kernel headers support mode
41353 switching.
41354 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
41355 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
41356 supported SYSV ABI version to 3.
41357 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
41358 feature.
41359
41360 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41361 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41362
41363 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
41364 path.
41365 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
41366
41367 2014-12-31 Joseph Myers <joseph@codesourcery.com>
41368
41369 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
41370 __fegetround and redefine to call __fegetround. Remove condition
41371 on [!__NO_MATH_INLINES].
41372 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
41373 function.
41374 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
41375 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41376 Remove macro.
41377 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
41378 instead of <fenv_libc.h>.
41379 (__llrintl): Call fegetround instead of __fegetround.
41380 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
41381 instead of <fenv_libc.h>.
41382 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41383 (__lrintl): Call fegetround instead of __fegetround.
41384 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
41385 instead of <fenv_libc.h>.
41386 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41387 (__rintl): Call fegetround instead of __fegetround.
41388
41389 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41390
41391 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
41392 arrays.
41393
41394 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
41395
41396 [BZ #17775]
41397 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
41398 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
41399 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
41400
41401 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
41402
41403 * sysdeps/i386/tls-macros.h: Include <features.h>.
41404 (TLS_LE): Use non-PIC version for GCC >= 5.0.
41405 (TLS_IE): Likewise.
41406 (TLS_LD): Likewise.
41407 (TLS_GD): Likewise.
41408 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
41409 define for GCC >= 5.0.
41410
41411 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
41412
41413 * math/test-fenv.c (test_single_exception, set_single_exc,
41414 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
41415 feexcp_mask_test, feenable_test, fe_single_test): Add
41416 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
41417 case where they are not used.
41418 * math/libm-test.inc: Likewise.
41419 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
41420 unused in the absence of FP rounding/exception support.
41421 * stdio-common/tst-printf-round.c: Likewise.
41422 * stdlib/tst-strtod-round.c: Likewise.
41423 * stdlib/tst-strtod-underflow.c: Likewise.
41424
41425 2014-12-30 Joseph Myers <joseph@codesourcery.com>
41426
41427 [BZ #17723]
41428 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
41429 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
41430 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41431 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41432 libm_hidden_weak.
41433 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
41434 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41435 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
41436 libm_hidden_def.
41437 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41438 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41439 libm_hidden_weak.
41440 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
41441 Likewise.
41442 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
41443 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41444 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41445 libm_hidden_weak.
41446 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41447 libm_hidden_def.
41448 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41449 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
41450 (__feraiseexcept): Likewise.
41451 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41452 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41453 libm_hidden_weak.
41454 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41455 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41456 libm_hidden_def.
41457 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
41458 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
41459 Use libm_hidden_def.
41460 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
41461 libm_hidden_def.
41462 (feraiseexcept): Define as weak not strong alias. Use
41463 libm_hidden_weak.
41464 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
41465 New inline function. Factored out of ...
41466 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
41467 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
41468 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
41469 feraiseexcept.
41470 * math/w_acos.c (__acos): Likewise.
41471 * math/w_asin.c (__asin): Likewise.
41472 * math/w_ilogb.c (__ilogb): Likewise.
41473 * math/w_j0.c (y0): Likewise.
41474 * math/w_j1.c (y1): Likewise.
41475 * math/w_jn.c (yn): Likewise.
41476 * math/w_log.c (__log): Likewise.
41477 * math/w_log10.c (__log10): Likewise.
41478 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
41479 * sysdeps/aarch64/fpu/math_private.h
41480 (libc_feupdateenv_test_aarch64): Likewise.
41481 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41482 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
41483 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
41484 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41485 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41486 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41487 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
41488 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41489 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41490 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41491
41492 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
41493
41494 [BZ #17732]
41495 * io/test-utime.c (main): Replace %ld with %jd and cast to
41496 intmax_t.
41497 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
41498 * nptl/tst-mutex5.c: Include <stdint.h>.
41499 (do_test): Replace %ld with %jd and cast to intmax_t.
41500 * posix/tst-regex.c (run_test): Likewise.
41501 (run_test_backwards): Likewise.
41502 * rt/tst-clock.c: Include <stdint.h>.
41503 (clock_test): Replace %ld with %jd and cast to intmax_t.
41504 * rt/tst-cpuclock1.c: Include <stdint.h>.
41505 (do_test): Replace %lu with %ju and cast to uintmax_t.
41506 * rt/tst-cpuclock2.c: Include <stdint.h>.
41507 (do_test): Replace %lu with %ju and cast to uintmax_t.
41508 * rt/tst-mqueue1.c: Include <stdint.h>.
41509 (check_attrs): Replace %ld with %jd and cast to intmax_t.
41510 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
41511 intmax_t.
41512 * rt/tst-mqueue4.c (do_test): Likewise.
41513 * rt/tst-timer4.c: Include <stdint.h>.
41514 (check_ts): Replace %ld with %jd and cast to intmax_t.
41515 (do_test): Likewise.
41516 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
41517 and cast to intmax_t.
41518 * sysdeps/pthread/tst-timer.c (main): Likewise.
41519 * time/clocktest.c (main): Likewise.
41520 * time/tst-posixtz.c (do_test): Likewise.
41521 * timezone/tst-timezone.c (main): Likewise.
41522
41523 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
41524 H.J. Lu <hongjiu.lu@intel.com>
41525
41526 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
41527 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
41528 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
41529 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
41530 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
41531 version if bit_Fast_Unaligned_Load is set.
41532 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41533 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41534 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41535 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41536 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41537 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41538 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41539 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
41540 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
41541 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
41542 to 4.
41543 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
41544 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
41545 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
41546 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
41547
41548 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
41549
41550 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
41551 instead of #if to avoid a Wundef warning.
41552 * stdlib/tst-limits.c (do_test): Likewise.
41553
41554 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
41555 parallel other exception macros.
41556 (fegetenv): Convert from macro to extern inline so that it applies
41557 retroactively to inline functions already seen by the compiler.
41558 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
41559
41560 * posix/Makefile (before-compile): Use $(objpfx) for
41561 posix-conf-vars-def.h.
41562
41563 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41564
41565 * posix/getconf.c (main): Use size_t for type of I.
41566 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
41567 NSPEC.
41568
41569 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
41570 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
41571 * posix/posix-envs.def: Likewise.
41572 * sysdeps/posix/sysconf.c: Likewise.
41573 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
41574 (specs): Remove array.
41575 * scripts/gen-posix-conf-vars.awk: Support generation of specs
41576 array.
41577
41578 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
41579 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
41580 (__sysconf): Use CONF_IS_* macros.
41581
41582 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
41583 ($(objpfx)posix-conf-vars-def.h): New target.
41584 * posix/posix-conf-vars.list: New file.
41585 * posix/posix-conf-vars.h: New file.
41586 * posix/confstr.c: Include posix-conf-vars.h.
41587 (confstr): Use CONF_IS_* macros.
41588 * posix/posix-envs.def: Include posix-conf-vars.h. Use
41589 CONF_IS_* macros.
41590 * scripts/gen-posix-conf-vars.awk: New file.
41591
41592 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
41593
41594 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
41595 fegetround): Add no-op macros to avoid linknamespace issues.
41596
41597 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
41598 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
41599
41600 * sysdeps/unix/sysv/linux/tile/sysdep.h
41601 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
41602 assembly-specific section to avoid a redefinition warning.
41603
41604 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
41605 long before casting to pointer to avoid a cast warning.
41606
41607 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
41608
41609 * sysdeps/tile/tilegx/Implies: New file.
41610
41611 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
41612
41613 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
41614
41615 2014-12-23 Florian Weimer <fweimer@redhat.com>
41616
41617 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
41618
41619 2014-12-22 Joseph Myers <joseph@codesourcery.com>
41620
41621 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
41622 not define.
41623 * sysdeps/unix/sysv/linux/utimes.c: Do not include
41624 <kernel-features.h>.
41625 (__utimes) [__NR_utimes]: Make code unconditional.
41626 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
41627 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41628 (__ASSUME_UTIMES): Do not undefine.
41629 * sysdeps/unix/sysv/linux/tile/kernel-features.h
41630 (__ASSUME_UTIMES): Likewise.
41631 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41632 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
41633 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
41634 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
41635
41636 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
41637
41638 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
41639
41640 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
41641
41642 [BZ #17747]
41643 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
41644 alias to weak alias for j0l, y0l.
41645 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
41646 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
41647
41648 [BZ #17746]
41649 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
41650 conversion.
41651
41652 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
41653
41654 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
41655 to zero if not already defined.
41656
41657 2014-12-22 Joseph Myers <joseph@codesourcery.com>
41658
41659 [BZ #17724]
41660 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
41661 (__kernel_standard_f): Remove. Moved to k_standardf.c.
41662 (__kernel_standard_l): Remove. Moved to k_standardl.c with
41663 (char *) casts added.
41664 * sysdeps/ieee754/k_standardf.c: New file.
41665 * sysdeps/ieee754/k_standardl.c: Likewise.
41666 * math/Makefile (libm-support): Remove k_standard.
41667 (libm-calls): Add k_standard.
41668
41669 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41670
41671 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
41672 Optimize to avoid an unnecessary FPCR read.
41673
41674 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41675
41676 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
41677 Optimize to reduce FPCR/FPSR accesses.
41678
41679 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41680
41681 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
41682 Call libc_fetestexcept_aarch64.
41683
41684 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41685
41686 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
41687 Call libc_fesetround_aarch64.
41688
41689 2014-12-22 Joseph Myers <joseph@codesourcery.com>
41690
41691 [BZ #17733]
41692 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
41693 (__bind): Do not define as weak alias.
41694 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
41695 define.
41696 (__getsockname): Do not define as weak alias.
41697
41698 2014-12-22 Will Newton <will.newton@linaro.org>
41699
41700 * manual/install.texi: Document that we require bison 2.7
41701 or above.
41702 * INSTALL: Regenerate.
41703 * configure.ac: Use AC_CHECK_PROG_VER instead of
41704 AC_PATH_PROG when checking for bison and check for
41705 version 2.7 or above.
41706 * configure: Regenerate.
41707
41708 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
41709
41710 [BZ #17745]
41711 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
41712 * sysdeps/tile/ffsll.c (ffsll): To here.
41713
41714 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
41715
41716 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
41717
41718 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
41719 if not defined.
41720 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
41721 definition.
41722 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
41723 hidden ___tls_get_addr.
41724 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
41725 hidden __tls_get_addr.
41726 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
41727 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
41728 Likewise.
41729
41730 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
41731
41732 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
41733 _dl_init call.
41734
41735 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
41736
41737 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
41738 from "call _dl_init@PLT".
41739 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
41740
41741 2014-12-21 Anders Kaseorg <andersk@mit.edu>
41742
41743 * manual/search.texi: (Array Sort Function): Clarify stable sorting
41744 guarantees.
41745
41746 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
41747
41748 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
41749
41750 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
41751
41752 [BZ #17744]
41753 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
41754 strnlen.
41755
41756 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
41757
41758 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
41759 of multu on MIPSr6.
41760 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
41761 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
41762 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
41763 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
41764 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
41765
41766 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
41767
41768 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
41769 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
41770 (PTR_SUBU): Use subu for mips32r6/mips64r6.
41771 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
41772 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
41773 mips32r6/mips64r6.
41774 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
41775
41776 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
41777
41778 * string/strncat.c (STRNCAT): Simplify implementation.
41779
41780 2014-12-19 David S. Miller <davem@davemloft.net>
41781
41782 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
41783 access the quad as both a long double and as a series of 4 words.
41784
41785 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
41786 link_map->l_info array access.
41787
41788 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
41789
41790 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
41791
41792 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
41793 * math/atest-exp2.c (TIMEOUT): Likewise.
41794 * math/atest-sincos.c (TIMEOUT): Likewise.
41795
41796 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
41797
41798 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
41799 -Wno-error with -fno-builtin-lround.
41800
41801 2014-12-19 Torvald Riegel <triegel@redhat.com>
41802
41803 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
41804 Contains futex constants and functions moved over from ...
41805 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
41806 <lowlevellock-futex.h>.
41807 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
41808 (lll_timedwait_tid): Add comments and parentheses around macro
41809 arguments.
41810
41811 2014-12-19 Torvald Riegel <triegel@redhat.com>
41812
41813 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
41814 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
41815 (__lll_private_flag): Remove.
41816 (lll_futex_wait): Likewise.
41817 (lll_futex_timed_wait): Likewise.
41818 (lll_futex_wake): Likewise.
41819 (lll_futex_requeue): Likewise.
41820 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
41821 (__lll_timedwait_tid): Spell out argument names.
41822 (lll_timedwait_tid): Add comments and parentheses around macro
41823 arguments.
41824 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
41825 LLL_SHARED and LLL_PRIVATE usable from assembly code.
41826
41827 2014-12-19 Torvald Riegel <triegel@redhat.com>
41828
41829 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
41830 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
41831 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41832 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
41833 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
41834 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
41835 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
41836 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
41837 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
41838 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
41839 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
41840 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
41841 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
41842 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
41843 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
41844 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
41845 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
41846 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
41847 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
41848
41849 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
41850
41851 * sysdeps/x86_64/x32/Makefile: New file.
41852
41853 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
41854
41855 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
41856 1L with (mp_limb_t) 1.
41857
41858 2014-12-17 Roland McGrath <roland@hack.frob.com>
41859
41860 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
41861 * nptl/libc_pthread_init.c: ... here.
41862 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
41863 * nptl/register-atfork.c: ... here.
41864
41865 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
41866 Use pthread_sigmask rather than INTERNAL_SYSCALL.
41867 Use assert_perror to check its return value.
41868 (__gai_create_helper_thread): Likewise.
41869
41870 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
41871
41872 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
41873
41874 2014-12-17 Joseph Myers <joseph@codesourcery.com>
41875
41876 [BZ #17725]
41877 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
41878 __profil_counter.
41879 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
41880 Likewise.
41881 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
41882 Likewise.
41883 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
41884 Likewise.
41885 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
41886 (profil_counter): Likewise.
41887 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
41888 (profil_counter): Likewise.
41889 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
41890 Likewise.
41891 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
41892 Likewise.
41893 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
41894 (profil_counter): Likewise.
41895 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
41896 Likewise.
41897 [!__profil_counter] (profil_counter): Define as weak alias of
41898 __profil_counter.
41899 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
41900 (profil_counter): Rename to __profil_counter.
41901 [!__profil_counter] (profil_counter): Define as weak alias of
41902 __profil_counter.
41903 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
41904 (profil_counter): Rename to __profil_counter.
41905 [!__profil_counter] (profil_counter): Define as weak alias of
41906 __profil_counter.
41907 * sysdeps/posix/profil.c: Update comment referring to
41908 profil_counter.
41909 (__profil): Use __profil_counter instead of profil_counter.
41910 * sysdeps/posix/sprofil.c (profil_counter): Rename to
41911 __profil_counter. Use __profil_counter_ushort and
41912 __profil_counter_uint in definitions.
41913 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
41914 instead of profil_counter_uint and profil_counter_ushort.
41915
41916 [BZ #17722]
41917 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
41918 define as weak alias of __inet_makeaddr.
41919 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
41920 as weak alias of __inet_addr.
41921 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
41922 as weak alias of __inet_pton. Use libc_hidden_weak.
41923 * include/arpa/inet.h (__inet_pton): Declare. Use
41924 libc_hidden_proto.
41925 (inet_makeaddr): Don't use libc_hidden_proto.
41926 (__inet_makeaddr): Declare. Use libc_hidden_proto.
41927 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
41928 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
41929 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
41930 Remove variable.
41931 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
41932 (test-xfail-POSIX/time.h/linknamespace): Likewise.
41933
41934 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
41935
41936 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
41937
41938 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
41939
41940 * stdio-common/bug-vfprintf-nargs.c (do_test):
41941 Cast value to intptr_t to avoid format warning
41942 for usage with PRIdPTR printing macro.
41943
41944 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
41945
41946 * libio/tst-widetext.c (do_test):
41947 Use format type %td instead of %Zd for ptrdiff_t
41948 in order to avoid format warning.
41949
41950 2014-12-17 Andreas Schwab <schwab@suse.de>
41951
41952 * nscd/mem.c (gc): Add size_t cast to match printf format.
41953
41954 2014-12-16 Roland McGrath <roland@hack.frob.com>
41955
41956 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
41957 (init): Apply PTR_MANGLE to pointers before storing them.
41958 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
41959 before using them.
41960
41961 2014-12-16 Joseph Myers <joseph@codesourcery.com>
41962
41963 [BZ #17719]
41964 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
41965 define as weak alias of __memrchr.
41966 (__memrchr): Do not define as strong alias of memrchr.
41967 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
41968 Remove variable.
41969 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
41970 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
41971 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
41972
41973 [BZ #17717]
41974 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
41975 define as weak alias of __if_nametoindex. 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 (if_freenameindex): Rename to __if_freenameindex and define as
41979 weak alias of __if_freenameindex.
41980 (if_nameindex): Rename to __if_nameindex and define as weak alias
41981 of __if_nameindex.
41982 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
41983 __if_nametoindex and define as weak alias of __if_nametoindex.
41984 Use libc_hidden_weak.
41985 (if_freenameindex): Rename to __if_freenameindex and define as
41986 weak alias of __if_freenameindex.
41987 (if_nameindex): Rename to __if_nameindex and define as weak alias
41988 of __if_nameindex.
41989 (if_indextoname): Rename to __if_indextoname and define as weak
41990 alias of __if_indextoname. Use libc_hidden_weak.
41991 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
41992 __if_nametoindex and define as weak alias of __if_nametoindex.
41993 Use libc_hidden_weak.
41994 (if_freenameindex): Rename to __if_freenameindex and define as
41995 weak alias of __if_freenameindex. Use libc_hidden_weak.
41996 (if_nameindex_netlink): Use __if_freenameindex instead of
41997 if_freenameindex.
41998 (if_nameindex): Rename to __if_nameindex and define as weak alias
41999 of __if_nameindex. Use libc_hidden_weak.
42000 (if_indextoname): Rename to __if_indextoname and define as weak
42001 alias of __if_indextoname. Use libc_hidden_weak.
42002 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
42003 libc_hidden_proto.
42004 [!_ISOMAC] (__if_freenameindex): Likewise.
42005 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
42006 if_nametoindex.
42007 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
42008 variable.
42009 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
42010 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
42011 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
42012 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
42013 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
42014 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
42015 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
42016
42017 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
42018 Remove variable.
42019 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
42020 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
42021
42022 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42023
42024 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
42025 subscript above bounds'
42026
42027 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
42028 bounds.
42029
42030 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
42031
42032 * libio/tst-fopenloc.c: Use test-skeleton.c.
42033
42034 * stdlib/tst-bsearch.c: Use test-skeleton.c.
42035 (entry): Rename to ITEM.
42036 (do_test, comp): Adjust.
42037
42038 * stdio-common/tst-fseek.c: Use test-skeleton.c.
42039
42040 2014-12-16 Torvald Riegel <triegel@redhat.com>
42041
42042 * string/tester.c: Include <libc-internal.h>.
42043 (test_memset): Ignore -Wmemset-transposed-args.
42044
42045 2014-12-16 Torvald Riegel <triegel@redhat.com>
42046
42047 * misc/tst-mntent2.c (do_test): Fix warning.
42048
42049 2014-12-16 Torvald Riegel <triegel@redhat.com>
42050
42051 * elf/tst-unique4lib.cc(a): Mark as used.
42052
42053 2014-12-16 Florian Weimer <fweimer@redhat.com>
42054
42055 [BZ #17630]
42056 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
42057 names.
42058
42059 2014-12-16 Allan McRae <allan@archlinux.org>
42060
42061 * stdio-common/Makefile (tests): Re-add bug26.
42062
42063 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
42064
42065 [BZ #17657]
42066 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
42067 static array.
42068
42069 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
42070
42071 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
42072 (__lll_lock_wait): Likewise.
42073 (__lll_timedlock_wait): Likewise.
42074 (__lll_timedwait_tid): Likewise.
42075 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
42076 (__lll_robust_timedlock_wait): Likewise.
42077 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
42078 (lll_cond_trylock): Likewise.
42079 (__lll_lock): Likewise.
42080 (__lll_robust_lock): Likewise.
42081 (__lll_cond_lock): Likewise.
42082 (lll_robust_cond_lock): Likewise.
42083 (__lll_timedlock): Likewise.
42084 (__lll_robust_timedlock): Likewise.
42085 (__lll_unlock): Likewise.
42086 (__lll_robust_unlock): Likewise.
42087 (lll_wait_tid): Likewise.
42088 (lll_timedwait_tid): Likewise.
42089
42090 2014-12-15 Torvald Riegel <triegel@redhat.com>
42091
42092 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
42093
42094 2014-12-15 Torvald Riegel <triegel@redhat.com>
42095
42096 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
42097
42098 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
42099
42100 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
42101 * stdio-common/tst-sprintf.c: Likewise.
42102
42103 2014-12-15 Torvald Riegel <triegel@redhat.com>
42104
42105 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
42106
42107 2014-12-15 Jeff Law <law@redhat.com>
42108
42109 [BZ #16617]
42110 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
42111 on the heap. (CVE-2012-3406)
42112 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
42113 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
42114 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
42115
42116 2014-12-15 Will Newton <will.newton@linaro.org>
42117
42118 * manual/install.texi: Bump required version of texinfo
42119 to 4.7 from 4.5.
42120 * INSTALL: Regenerated.
42121 * configure.ac: Check for makeinfo version 4.7 and above.
42122 * configure: Regenerated.
42123
42124 2014-12-12 Roland McGrath <roland@hack.frob.com>
42125
42126 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
42127 PREFIX, string constant to insert between directory and name.
42128 * sysdeps/posix/shm_open.c: Update caller.
42129 * sysdeps/posix/shm_unlink.c: Likewise.
42130 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
42131 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
42132 (SEM_SHM_PREFIX): New macro.
42133 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
42134 [$(have-thread-library) = no].
42135 * nptl/Makefile (libpthread-routines): Add shm-directory.
42136 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
42137 * sysdeps/nptl/shm-directory.h: New file.
42138 * sysdeps/posix/shm-directory.c
42139 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
42140 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
42141 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
42142 INTERNAL_SYSCALL.
42143 (__where_is_shmfs): Function removed.
42144 (mountpoint, defaultmount, defaultdir, __namedsem_once):
42145 Variables removed.
42146 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
42147 Use SHM_GET_NAME.
42148 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
42149
42150 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
42151 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
42152 unconditional for use inside libpthread.
42153 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
42154
42155 2014-12-12 Roland McGrath <roland@hack.frob.com>
42156
42157 * nptl/pthread_getaffinity.c: New file.
42158 * nptl/pthread_setaffinity.c: New file.
42159 * nptl/pthread_getname.c: New file.
42160 * nptl/pthread_setname.c: New file.
42161
42162 * nptl/pthread_create.c (START_THREAD_DEFN)
42163 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
42164
42165 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
42166 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42167
42168 * resolv/res_send.c (send_vc): Disable warning resplen may
42169 be used uninitialized.
42170
42171 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
42172
42173 * nptl/tst-mutex6.c
42174 (ATTR_NULL): New define checks ATTR against NULL.
42175 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
42176 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
42177
42178 2014-12-11 James Lemke <jwlemke@codesourcery.com>
42179
42180 [BZ #17581]
42181 * malloc/hooks.c
42182 (mem2mem_check): Revert my previous change.
42183 (malloc_check_get_size): Revert my previous change.
42184 (mem2chunk_check): Revert my previous change.
42185
42186 2014-12-11 Roland McGrath <roland@hack.frob.com>
42187
42188 * sysdeps/posix/shm-directory.c: New file.
42189 * sysdeps/posix/shm-directory.h: New file.
42190 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
42191 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
42192 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
42193 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
42194 Transmute EPERM to EACCES.
42195 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
42196 from ...
42197 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
42198 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
42199
42200 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42201
42202 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
42203 pointer and cast to uintptr_t.
42204 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
42205 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
42206 Add cast to avoid warning.
42207 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
42208
42209 2014-12-11 Joseph Myers <joseph@codesourcery.com>
42210
42211 * nptl/semaphore.h: Move to ...
42212 * sysdeps/pthread/semaphore.h: ... here.
42213 * Makefile (installed-headers): Change nptl/semaphore.h to
42214 sysdeps/pthread/semaphore.h.
42215
42216 2014-12-11 Roland McGrath <roland@hack.frob.com>
42217
42218 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
42219 generated error format strings.
42220
42221 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
42222 -Wformat-extra-args warnings for scanf formats.
42223 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
42224 test of zero-length format (duh).
42225 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
42226 corner-case scanf format test.
42227 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
42228 generated fprintf format string.
42229 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
42230 corner-case sprintf format tests.
42231 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
42232 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
42233 -Wformat-extra-args warnings throughout.
42234 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
42235 (CFLAGS-scanf4.c): Likewise.
42236 (CFLAGS-scanf7.c): Likewise.
42237 (CFLAGS-tst-sprintf.c): Likewise.
42238 (CFLAGS-tst-printf.c): Likewise.
42239 (CFLAGS-tst-printfsz.c): Likewise.
42240
42241 2014-12-11 Joseph Myers <joseph@codesourcery.com>
42242
42243 * include/cpio.h: New file.
42244 * include/fmtmsg.h: Likewise.
42245
42246 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
42247 corresponding format argument to size_t.
42248 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
42249 arguments.
42250 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
42251 corresponding format argument to size_t.
42252 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
42253 arguments.
42254 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
42255 corresponding format argument to size_t.
42256 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
42257 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
42258 (CFLAGS-tst-mbswcs2.c): Likewise.
42259 (CFLAGS-tst-mbswcs3.c): Likewise.
42260 (CFLAGS-tst-mbswcs4.c): Likewise.
42261 (CFLAGS-tst-mbswcs5.c): Likewise.
42262 (CFLAGS-tst-trans.c): Likewise.
42263
42264 2014-12-11 Roland McGrath <roland@hack.frob.com>
42265
42266 * posix/regexbug1.c (main): Use "%s" format with regerror results,
42267 rather than assuming they won't contain any '%'s.
42268
42269 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
42270
42271 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
42272 inhibit_loop_to_libcall to avoid recursive calls.
42273 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
42274 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
42275
42276 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
42277
42278 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
42279 prototype.
42280
42281 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
42282
42283 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
42284 integer value instead of boolean.
42285
42286 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
42287
42288 * malloc/malloc.c: Fix powerof2 check.
42289
42290 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
42291
42292 * locale/programs/locfile.h (maybe_swap_uint32):
42293 Remove inline and add unused attribute.
42294
42295 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
42296
42297 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
42298 Truncating assembler expression to a .long expression.
42299
42300 2014-12-11 Andreas Schwab <schwab@suse.de>
42301
42302 * elf/rtld.c (struct map_args): Constify str member.
42303 (do_preload): Constify fname argument.
42304
42305 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42306
42307 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
42308 constants definition.
42309
42310 2014-12-11 Andreas Schwab <schwab@suse.de>
42311
42312 [BZ #16657]
42313 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
42314 FORCE_ELISION instead of DO_ELISION.
42315 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
42316 Remove.
42317 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
42318 Likewise.
42319
42320 * iconvdata/gconv-modules: Remove duplicate entry.
42321
42322 2014-12-11 Will Newton <will.newton@linaro.org>
42323
42324 Merge gettext 0.19.3 into intl/.
42325
42326 This involves a number of cosmetic changes to comments
42327 and ANSI function definitions and prototypes throughout
42328 all the files. The gettext copyright header is used but
42329 with the date ranges taken from the glibc copy.
42330
42331 * NEWS: Add gettext merge to 2.21.
42332 * intl/bindtextdom.c: Switch to gettext copyright.
42333 Use ANSI definitions and prototypes.
42334 Use gl_* locking primitives rather than __libc_* ones.
42335 Use __builtin_expect rather than __glibc_likely/unlikely.
42336 * intl/dcgettext.c: Switch to gettext copyright.
42337 Use ANSI definitions and prototypes.
42338 * intl/dcigettext.c: Switch to gettext copyright.
42339 Use ANSI definitions and prototypes.
42340 (INTDIV0_RAISES_SIGFPE): New define.
42341 Use gl_* locking primitives rather than __libc_* ones.
42342 Include eval-plural.h instead of plural-eval.c.
42343 Use __builtin_expect rather than __glibc_likely/unlikely.
42344 * intl/dcngettext.c: Switch to gettext copyright.
42345 Use ANSI definitions and prototypes.
42346 * intl/dgettext.c: Likewise.
42347 * intl/dngettext.c: Likewise.
42348 * intl/plural-eval.c: Renamed to...
42349 * intl/eval-plural.h: ...this.
42350 * intl/explodename.c: Switch to gettext copyright.
42351 Use ANSI definitions and prototypes.
42352 (_nl_explode_name): Use strchr instead of __rawmemchr.
42353 * intl/finddomain.c: Switch to gettext copyright.
42354 Use ANSI definitions and prototypes.
42355 Use gl_* locking primitives rather than __libc_* ones.
42356 (_nl_find_domain): Use malloc rather than alloca for
42357 allocation of temporary locale name.
42358 * intl/gettext.c: Switch to gettext copyright.
42359 Use ANSI definitions and prototypes.
42360 * intl/gettextP.h: Switch to gettext copyright.
42361 Use ANSI definitions and prototypes.
42362 Use gl_* locking primitives rather than __libc_* ones.
42363 * intl/gmo.h: Switch to gettext copyright.
42364 (struct sysdep_string): Move struct segment_pair outside of
42365 struct definition.
42366 * intl/hash-string.c: Use ANSI definitions and prototypes.
42367 * intl/hash-string.h: Switch to gettext copyright.
42368 Use ANSI definitions and prototypes.
42369 * intl/l10nflist.c: Switch to gettext copyright.
42370 Use ANSI definitions and prototypes.
42371 (_nl_normalize_codeset): Avoid integer overflow.
42372 * intl/loadinfo.h: Switch to gettext copyright.
42373 Use ANSI definitions and prototypes.
42374 (LIBINTL_DLL_EXPORTED): New define.
42375 (PATH_SEPARATOR): New define.
42376 * intl/loadmsgcat.c: Switch to gettext copyright.
42377 * intl/localealias.c: Switch to gettext copyright.
42378 Use ANSI definitions and prototypes.
42379 (_nl_expand_alias): Use PATH_SEPARATOR.
42380 * intl/ngettext.c: Switch to gettext copyright.
42381 Use ANSI definitions and prototypes.
42382 * intl/plural-exp.c: Likewise.
42383 * intl/plural-exp.h: Switch to gettext copyright.
42384 Use ANSI definitions and prototypes.
42385 (struct expression): Move definition of enum operator outside
42386 of struct definition.
42387 * intl/plural.c: Regenerate.
42388 * intl/plural.y: Switch to gettext copyright.
42389 Use ANSI definitions and prototypes.
42390 Port to bison 3.0.
42391 * intl/textdomain.c: Switch to gettext copyright.
42392 Use ANSI definitions and prototypes.
42393 Use gl_* locking primitives rather than __libc_* ones.
42394
42395 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
42396
42397 * debug/warning-nop.c: Add used atrribute.
42398
42399 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42400
42401 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
42402
42403 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
42404 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
42405 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
42406
42407 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42408 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42409
42410 [BZ #17634]
42411 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
42412 Undefine after defining function. Define as weak alias of
42413 __wcschr. Use libc_hidden_weak.
42414 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
42415 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
42416 (libc_hidden_def): Also define __GI___wcschr alias.
42417 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
42418 __wcschr and define as weak alias of __wcschr.
42419 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
42420 __wcschr.
42421 [!WCSCHR] (DEFAULT_WCSCHR): Define.
42422 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
42423 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
42424 libc_hidden_weak. Do not use libc_hidden_def.
42425 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
42426 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
42427 __GI___wcschr alias.
42428 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
42429 [IS_IN (libc)] (wcschr): Define as macro expanding to
42430 __redirect_wcschr.
42431 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
42432 [IS_IN (libc)] (__wcschr_power6): Likewise.
42433 [IS_IN (libc)] (__wcschr_power7): Likewise.
42434 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
42435 instead of wcschr.
42436 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
42437 __libc_wcschr.
42438 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
42439 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
42440 __wcschr and define as weak alias of __wcschr. Use
42441 libc_hidden_builtin_def.
42442 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
42443 as weak alias of __wcschr. Use libc_hidden_weak.
42444 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
42445 wcschr.
42446 * time/era.c (_nl_init_era_entries): Likewise.
42447 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
42448 variable.
42449 (test-xfail-XPG3/time.h/linknamespace): Likewise.
42450 (test-xfail-XPG4/time.h/linknamespace): Likewise.
42451
42452 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42453
42454 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
42455 format for long int variable.
42456
42457 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
42458
42459 [BZ #10672]
42460 * manual/search.texi: (Array Sort Function): Remove claim how to make
42461 qsort stable.
42462
42463 2014-12-10 Andreas Schwab <schwab@suse.de>
42464
42465 [BZ #12847]
42466 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
42467 user-controlled locks.
42468
42469 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
42470
42471 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
42472 register.
42473
42474 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42475
42476 * configure.ac (--disable-werror): New configure option.
42477 (enable_werror): New AC_SUBST.
42478 * configure: Regenerated.
42479 * config.make.in (enable-werror): New variable.
42480 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
42481 -Wno-error=undef.
42482 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
42483 * manual/install.texi (Configuring and compiling): Document
42484 --disable-werror.
42485 * INSTALL: Regenerated.
42486 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
42487 (CFLAGS-tst-chk2.c): Likewise.
42488 (CFLAGS-tst-chk3.c): Likewise.
42489 (CFLAGS-tst-chk4.cc): Likewise.
42490 (CFLAGS-tst-chk5.cc): Likewise.
42491 (CFLAGS-tst-chk6.cc): Likewise.
42492 (CFLAGS-tst-lfschk1.c): Likewise.
42493 (CFLAGS-tst-lfschk2.c): Likewise.
42494 (CFLAGS-tst-lfschk3.c): Likewise.
42495 (CFLAGS-tst-lfschk4.cc): Likewise.
42496 (CFLAGS-tst-lfschk5.cc): Likewise.
42497 (CFLAGS-tst-lfschk6.cc): Likewise.
42498
42499 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
42500 (main): Disable -Wdeprecated-declarations around calls to
42501 register_printf_function.
42502
42503 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
42504 (do_test): Disable -Wdiv-by-zero around some calls to
42505 fwrite_unlocked and fread_unlocked.
42506
42507 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
42508 (DIAG_POP_NEEDS_COMMENT): Likewise.
42509 (_DIAG_STR1): Likewise.
42510 (_DIAG_STR): Likewise.
42511 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
42512 * stdio-common/bug21.c: Include <libc-internal.h>.
42513 (do_test): Disable -Wformat around call to sscanf.
42514 * stdio-common/scanf14.c: Include <libc-internal.h>.
42515 (main): Disable -Wformat around some calls to scanf functions.
42516
42517 2014-12-09 Torvald Riegel <triegel@redhat.com>
42518
42519 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
42520
42521 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42522
42523 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
42524 stack variable alignment.
42525
42526 2014-12-06 Joseph Myers <joseph@codesourcery.com>
42527
42528 [BZ #17682]
42529 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
42530 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
42531 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
42532 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
42533 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
42534 __getrlimit instead of getrlimit.
42535 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
42536 __gettimeofday instead of gettimeofday.
42537 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
42538 Likewise.
42539 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
42540 Likewise.
42541 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42542 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
42543 Remove variable.
42544 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
42545 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
42546
42547 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42548
42549 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
42550 for wide-character tests.
42551
42552 2014-12-04 Roland McGrath <roland@hack.frob.com>
42553
42554 * io/openat64.c: #include <libc-internal.h>
42555 (__openat64): Prototypify. Use ignore_value on MODE.
42556 * io/openat.c: Likewise.
42557 * misc/reboot.c: #include <libc-internal.h>
42558 (reboot): Prototypify. Use ignore_value on HOWTO.
42559 * misc/ptrace.c: #include <libc-internal.h>
42560 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
42561
42562 2014-12-04 Joseph Myers <joseph@codesourcery.com>
42563
42564 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
42565 XPG4, UNIX98 and XOPEN2K.
42566 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
42567 Remove variable.
42568 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
42569
42570 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42571
42572 * libio/fileops.c: Use ISO C style for function definitions.
42573 * libio/iofopen.c: Likewise.
42574 * libio/wfileops.c: Likewise.
42575
42576 [BZ #17653]
42577 * libio/fileops.c (_IO_new_file_underflow): Unset cached
42578 offset on EOF.
42579 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
42580 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
42581 (fgets_func): Function pointer to fgets and fgetws.
42582 (do_ftell_test): Add test to verify ftell value after read
42583 EOF.
42584 (do_test): Set fgets_func.
42585
42586 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
42587 O_TRUNC flag for w and w+ modes.
42588 (do_rewind_test): Likewise.
42589 (do_ftell_test): Likewise.
42590 (do_write_test): Likewise.
42591
42592 [BZ #17647]
42593 * libio/fileops.c (do_ftell): Seek only when there are
42594 unflushed writes.
42595 * libio/wfileops.c (do_ftell_wide): Likewise.
42596 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
42597 test case.
42598 (do_one_test): Call it.
42599
42600 2014-12-03 Joseph Myers <joseph@codesourcery.com>
42601
42602 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
42603 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
42604 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
42605 Remove variable.
42606 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
42607 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
42608 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
42609
42610 2014-12-02 Joseph Myers <joseph@codesourcery.com>
42611
42612 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
42613 Remove variable.
42614 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
42615
42616 [BZ #17668]
42617 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
42618 as weak alias of __getifaddrs. Use libc_hidden_weak.
42619 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42620 __freeifaddrs. Use libc_hidden_weak.
42621 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
42622 define as weak alias of __getifaddrs. Use libc_hidden_weak.
42623 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42624 __freeifaddrs. Use libc_hidden_weak.
42625 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
42626 __getifaddrs and define as weak alias of __getifaddrs. Use
42627 libc_hidden_weak.
42628 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42629 __freeifaddrs. Use libc_hidden_weak.
42630 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
42631 Remove variable.
42632 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
42633 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
42634
42635 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
42636
42637 [BZ #17601]
42638 * sysdeps/mips/start.S (__start): Use indirect jump to call
42639 __libc_start_main.
42640
42641 2014-12-02 Joseph Myers <joseph@codesourcery.com>
42642
42643 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
42644
42645 * nptl/tst-mutex1.c: Include <stdbool.h>.
42646 [!ATTR] (ATTR_NULL): New macro.
42647 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
42648 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
42649 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
42650
42651 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
42652 to char *.
42653
42654 [BZ #17665]
42655 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
42656 Change conditional to [__USE_MISC].
42657
42658 [BZ #17664]
42659 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
42660 fgets_unlocked.
42661 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
42662 __fgets_unlocked.
42663 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
42664 fgets_unlocked.
42665 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
42666 Remove variable.
42667 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
42668 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
42669 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
42670 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
42671 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
42672 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
42673 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
42674 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
42675 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
42676
42677 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
42678
42679 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42680
42681 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42682 Remove strpbrk objects.
42683 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42684 (__libc_ifunc_impl_list): Remove strpbrk implementation.
42685 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
42686 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
42687 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
42688 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
42689
42690 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42691 Remove strcspn objects.
42692 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42693 (__libc_ifunc_impl_list): Remove strcspn implementation.
42694 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
42695 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
42696 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
42697 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
42698
42699 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42700 Remove strspn objetcs.
42701 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42702 (__libc_ifunc_impl_list): Remove strspn implementation.
42703 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
42704 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
42705 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
42706 * sysdeps/powerpc/powerpc64/strspn.S: New file.
42707
42708 2014-12-01 James Lemke <jwlemke@codesourcery.com>
42709
42710 [BZ #17581]
42711 * malloc/hooks.c
42712 (mem2mem_check): Add a terminator to the chain of checking blocks.
42713 (malloc_check_get_size): Use it here.
42714 (mem2chunk_check): Ditto.
42715
42716 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42717
42718 * sysdeps/powerpc/powerpc64/strtok.S: New file.
42719 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
42720
42721 2014-11-29 Carlos O'Donell <carlos@redhat.com>
42722
42723 * bits/ioctl-types.h: Indent preprocessor directives correctly.
42724
42725 * nptl/nptl-init.c: Include libc-internal.h.
42726 (__pthread_initialize_minimal_internal): Use ROUND_UP.
42727
42728 * elf/ldconfig.c (search_dir): Expand comment.
42729
42730 2014-11-29 Joseph Myers <joseph@codesourcery.com>
42731
42732 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
42733 variable.
42734 (linknamespace-symlist-stdlibs-tests): Likewise.
42735 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
42736 instead of $(objpfx)symlist-stdlibs.
42737 (linknamespace-libs-isoc): New variable.
42738 (linknamespace-libs): Use $(linknamespace-libs-isoc).
42739 (linknamespace-libs-ISO): New variable.
42740 (linknamespace-libs-ISO99): Likewise.
42741 (linknamespace-libs-ISO11): Likewise.
42742 (linknamespace-libs-XPG3): Likewise.
42743 (linknamespace-libs-XPG4): Likewise.
42744 (linknamespace-libs-POSIX): Likewise.
42745 (linknamespace-libs-UNIX98): Likewise.
42746 (linknamespace-libs-XOPEN2K): Likewise.
42747 (linknamespace-libs-POSIX2008): Likewise.
42748 (linknamespace-libs-XOPEN2K8): Likewise.
42749 ($(objpfx)symlist-stdlibs): Replace by
42750 $(linknamespace-symlist-stdlibs-tests). Use
42751 $(linknamespace-libs-$*) as set of libraries.
42752 ($(linknamespace-header-tests)): Update dependencies. Use
42753 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
42754 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
42755 * conform/linknamespace.pl: Remove comment about considering
42756 definitions of symbols from irrelevant libraries.
42757
42758 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
42759
42760 [BZ #13862]
42761 * elf/dl-tls.c: Include <atomic.h>.
42762 (oom): Remove #ifdef SHARED/#endif.
42763 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
42764 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
42765 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
42766 big enough.
42767 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
42768 * nptl/Makefile (tests): Add tst-stack4.
42769 (modules-names): Add tst-stack4mod.
42770 ($(objpfx)tst-stack4): New.
42771 (tst-stack4mod.sos): Likewise.
42772 ($(objpfx)tst-stack4.out): Likewise.
42773 ($(tst-stack4mod.sos)): Likewise.
42774 (clean): Likewise.
42775 * nptl/tst-stack4.c: New file.
42776 * nptl/tst-stack4mod.c: Likewise.
42777
42778 2014-11-27 J. Brown <jb999@gmx.de>
42779
42780 * sysdeps/x86/bits/string.h: Add recent CPUs.
42781
42782 2014-11-27 Joseph Myers <joseph@codesourcery.com>
42783
42784 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
42785 sigblock.
42786
42787 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
42788 feof.
42789
42790 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
42791 variable.
42792
42793 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
42794
42795 * nscd/connections.c: Include libc-internal.h because of macro
42796 usage ignore_value.
42797
42798 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42799
42800 * string/bits/string3.h (__warn_memset_zero_len): Don't
42801 declare for gcc newer than 5.0.
42802 (memset): Don't test for zero-length __LEN for gcc newer than
42803 5.0.
42804
42805 2014-11-27 Joseph Myers <joseph@codesourcery.com>
42806
42807 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
42808 size_t for %zu format.
42809
42810 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
42811 difference, not %ju.
42812
42813 2014-11-26 Joseph Myers <joseph@codesourcery.com>
42814
42815 * include/libc-internal.h (ignore_value): New macro.
42816 * nscd/connections.c (restart): Wrap calls to setuid and setgid
42817 with ignore_value.
42818
42819 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
42820 definition.
42821
42822 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
42823 pthread_cleanup_push to void *.
42824
42825 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
42826 Undefine.
42827
42828 [BZ #16619]
42829 [BZ #16740]
42830 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
42831 instead of 1L << 52.
42832
42833 * libio/bug-rewind.c (do_test): Check fwscanf return values.
42834 * libio/bug-rewind2.c (do_test): Likewise.
42835
42836 * debug/test-stpcpy_chk-ifunc.c: Remove file.
42837 * debug/test-strcpy_chk-ifunc.c: Likewise.
42838 * wcsmbs/test-wcschr-ifunc.c: Likewise.
42839 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42840 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42841 * wcsmbs/test-wcslen-ifunc.c: Likewise.
42842 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42843 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42844 * Rules [$(multi-arch) = no] (tests): Do not filter out
42845 $(tests-ifunc).
42846 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
42847 * debug/Makefile (tests-ifunc): Remove variable.
42848 (tests): Do not add $(tests-ifunc).
42849 * wcsmbs/Makefile (tests-ifunc): Remove variable.
42850 (tests): Do not add $(tests-ifunc).
42851 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
42852 [TEST_IFUNC]: Remove conditionals.
42853 * string/test-string.h (TEST_IFUNC): Remove macro.
42854 [TEST_IFUNC]: Remove conditionals.
42855
42856 * string/test-strchr.c [!WIDE] (L): New macro.
42857 [WIDE] (L): Likewise.
42858 (check1): Use CHAR instead of char. Use L on string and character
42859 constants.
42860
42861 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
42862
42863 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
42864 tests.
42865 * sysdeps/powerpc/bits/atomic.h
42866 (__arch_atomic_exchange_and_add_32_acq): Add definition.
42867 (__arch_atomic_exchange_and_add_32_rel): Likewise.
42868 (atomic_exchange_and_add_acq): Likewise.
42869 (atomic_exchange_and_add_rel): Likewise.
42870 * sysdeps/powerpc/powerpc32/bits/atomic.h
42871 (__arch_atomic_exchange_and_add_64_acq): Add definition.
42872 (__arch_atomic_exchange_and_add_64_rel): Likewise.
42873 * sysdeps/powerpc/powerpc64/bits/atomic.h
42874 (__arch_atomic_exchange_and_add_64_acq): Add definition.
42875 (__arch_atomic_exchange_and_add_64_rel): Likewise.
42876
42877 2014-11-26 Torvald Riegel <triegel@redhat.com>
42878
42879 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
42880 Change synchronization of __sched_fifo_min_prio and
42881 __sched_fifo_max_prio.
42882 * nptl/pthread_mutexattr_getprioceiling.c
42883 (pthread_mutexattr_getprioceiling): Likewise.
42884 * nptl/pthread_mutexattr_setprioceiling.c
42885 (pthread_mutexattr_setprioceiling): Likewise.
42886 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
42887 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
42888 Likewise.
42889
42890 2014-11-26 Joseph Myers <joseph@codesourcery.com>
42891
42892 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
42893 void.
42894
42895 2014-11-25 Joseph Myers <joseph@codesourcery.com>
42896
42897 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
42898 third argument const.
42899
42900 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
42901
42902 fnmatch: work around GCC compiler warning bug with uninit var
42903 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
42904 This works around a bug with x86-64 GCC 4.9.2 and earlier
42905 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
42906 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
42907 used uninitialized in this function [-Wmaybe-uninitialized]".
42908
42909 2014-11-25 Joseph Myers <joseph@codesourcery.com>
42910
42911 * posix/bug-regex31.c (main): Return RES not 0.
42912
42913 2014-11-25 Anton Blanchard <anton@samba.org>
42914
42915 * sysdeps/powerpc/bits/atomic.h
42916 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
42917
42918 2014-11-24 Sterling Augustine <saugustine@google.com>
42919
42920 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
42921
42922 2014-11-24 Ryan Cumming <etaoins@gmail.com>
42923
42924 [BZ #17608]
42925 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
42926
42927 2014-11-24 Joseph Myers <joseph@codesourcery.com>
42928
42929 [BZ #17633]
42930 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
42931 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
42932 variable.
42933 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
42934 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
42935
42936 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
42937
42938 * string/strncpy.c (strncpy): Improve performance by using memset.
42939
42940 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
42941
42942 * string/strcpy.c (strcpy):
42943 Improve performance by using strlen and memcpy.
42944
42945 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
42946
42947 * string/strcoll_l.c (get_next_seq): __always_inline.
42948 * string/strcoll_l.c (do_compare): __always_inline.
42949
42950 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
42951
42952 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
42953 defined.
42954 * include/mqueue.h: Likewise.
42955 * include/stdlib.h: Likewise.
42956
42957 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
42958 (get_null_defines): Adjust.
42959 * sunrpc/Makefile: Adjust comment.
42960 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
42961 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
42962 (CFLAGS-interp.c): Likewise.
42963 (CFLAGS-ldconfig.c): Likewise.
42964 (CPPFLAGS-.os): Likewise.
42965 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42966 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
42967 * extra-modules.mk (extra-modules.mk): Likewise.
42968 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
42969 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
42970 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
42971 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
42972 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
42973 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
42974 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
42975 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
42976 * iconvdata/Makefile (CPPFLAGS): Likewise.
42977 (cpp-srcs-left): Add libof for all iconvdata routines.
42978 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
42979 * include/assert.h: Likewise.
42980 * include/ctype.h: Likewise.
42981 * include/errno.h: Likewise.
42982 * include/libc-symbols.h: Likewise.
42983 * include/math.h: Likewise.
42984 * include/netdb.h: Likewise.
42985 * include/resolv.h: Likewise.
42986 * include/stdio.h: Likewise.
42987 * include/stdlib.h: Likewise.
42988 * include/string.h: Likewise.
42989 * include/sys/stat.h: Likewise.
42990 * include/wctype.h: Likewise.
42991 * intl/l10nflist.c: Likewise.
42992 * libidn/idn-stub.c: Likewise.
42993 * libio/libioP.h: Likewise.
42994 * nptl/libc_multiple_threads.c: Likewise.
42995 * nptl/pthreadP.h: Likewise.
42996 * posix/regex_internal.h: Likewise.
42997 * resolv/res_hconf.c: Likewise.
42998 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
42999 * sysdeps/arm/memmove.S: Likewise.
43000 * sysdeps/arm/sysdep.h: Likewise.
43001 * sysdeps/generic/_itoa.h: Likewise.
43002 * sysdeps/generic/symbol-hacks.h: Likewise.
43003 * sysdeps/gnu/errlist.awk: Likewise.
43004 * sysdeps/gnu/errlist.c: Likewise.
43005 * sysdeps/i386/i586/memcpy.S: Likewise.
43006 * sysdeps/i386/i586/memset.S: Likewise.
43007 * sysdeps/i386/i686/memcpy.S: Likewise.
43008 * sysdeps/i386/i686/memmove.S: Likewise.
43009 * sysdeps/i386/i686/mempcpy.S: Likewise.
43010 * sysdeps/i386/i686/memset.S: Likewise.
43011 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43012 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43013 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
43014 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
43015 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43016 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43017 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
43018 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43019 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43020 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43021 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43022 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43023 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43024 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43025 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43026 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43027 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
43028 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
43029 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
43030 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43031 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43032 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43033 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43034 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43035 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43036 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43037 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
43038 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43039 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
43040 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43041 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43042 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43043 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43044 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43045 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43046 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43047 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43048 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43049 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43050 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43051 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43052 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43053 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43054 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43055 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43056 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43057 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
43058 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
43059 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43060 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43061 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43062 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
43063 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
43064 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43065 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43066 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
43067 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43068 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
43069 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
43070 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43071 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43072 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43073 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
43074 * sysdeps/nptl/bits/libc-lock.h: Likewise.
43075 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43076 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
43077 * sysdeps/posix/closedir.c: Likewise.
43078 * sysdeps/posix/opendir.c: Likewise.
43079 * sysdeps/posix/readdir.c: Likewise.
43080 * sysdeps/posix/rewinddir.c: Likewise.
43081 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
43082 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
43083 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43084 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43085 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43086 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
43087 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
43088 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
43089 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
43090 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
43091 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
43092 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
43093 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
43094 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
43095 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
43096 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
43097 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
43098 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
43099 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
43100 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
43101 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
43102 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
43103 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
43104 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
43105 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
43106 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
43107 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
43108 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
43109 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
43110 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
43111 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
43112 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
43113 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
43114 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
43115 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
43116 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
43117 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43118 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43119 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
43120 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
43121 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
43122 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
43123 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
43124 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
43125 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
43126 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
43127 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
43128 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
43129 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
43130 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
43131 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
43132 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
43133 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
43134 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
43135 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
43136 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
43137 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
43138 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
43139 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
43140 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
43141 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
43142 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
43143 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
43144 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
43145 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
43146 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
43147 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
43148 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
43149 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
43150 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
43151 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
43152 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
43153 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
43154 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
43155 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
43156 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
43157 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
43158 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
43159 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
43160 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
43161 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
43162 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43163 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
43164 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
43165 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43166 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
43167 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
43168 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43169 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43170 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43171 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
43172 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
43173 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
43174 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43175 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43176 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
43177 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43178 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43179 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
43180 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
43181 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43182 * sysdeps/unix/alpha/sysdep.S: Likewise.
43183 * sysdeps/unix/alpha/sysdep.h: Likewise.
43184 * sysdeps/unix/make-syscalls.sh: Likewise.
43185 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43186 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43187 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43188 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
43189 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43190 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
43191 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
43192 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43193 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43194 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
43195 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43196 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43197 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43198 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43199 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43200 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43201 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43202 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43203 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43204 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43205 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
43206 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43207 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43208 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43209 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43210 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43211 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43214 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
43215 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43216 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43217 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43218 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43219 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
43220 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43221 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43222 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43223 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
43224 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
43225 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43226 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43227 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43228 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
43229 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43230 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43231 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43232 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43233 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43234 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43235 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43236 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43237 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43238 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43239 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
43240 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43241 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43242 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43243 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
43244 * sysdeps/x86_64/memcpy.S: Likewise.
43245 * sysdeps/x86_64/memmove.c: Likewise.
43246 * sysdeps/x86_64/memset.S: Likewise.
43247 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
43248 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43249 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43250 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
43251 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
43252 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43253 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43254 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43255 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43256 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43257 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43258 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43259 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
43260 * sysdeps/x86_64/multiarch/memset.S: Likewise.
43261 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43262 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
43263 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
43264 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43265 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43266 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43267 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
43268 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43269 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43270 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43271 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43272 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43273 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43274 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
43275 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43276 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43277 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
43278 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43279 * sysdeps/x86_64/strcmp.S: Likewise.
43280
43281 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
43282
43283 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
43284 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
43285 * elf/rtld-Rules: Likewise.
43286 * elf/setup-vdso.h: Likewise.
43287 * include/assert.h: Likewise.
43288 * include/bits/stdlib-float.h: Likewise.
43289 * include/errno.h: Likewise.
43290 * include/sys/stat.h: Likewise.
43291 * include/unistd.h: Likewise.
43292 * sysdeps/aarch64/setjmp.S: Likewise.
43293 * sysdeps/alpha/setjmp.S: Likewise.
43294 * sysdeps/arm/__longjmp.S: Likewise.
43295 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
43296 * sysdeps/arm/setjmp.S: Likewise.
43297 * sysdeps/arm/sysdep.h: Likewise.
43298 * sysdeps/generic/_itoa.h: Likewise.
43299 * sysdeps/generic/dl-sysdep.h: Likewise.
43300 * sysdeps/generic/ldsodefs.h: Likewise.
43301 * sysdeps/i386/dl-tls.h: Likewise.
43302 * sysdeps/i386/setjmp.S: Likewise.
43303 * sysdeps/m68k/setjmp.c: Likewise.
43304 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
43305 * sysdeps/mach/hurd/opendir.c: Likewise.
43306 * sysdeps/posix/getcwd.c: Likewise.
43307 * sysdeps/posix/opendir.c: Likewise.
43308 * sysdeps/posix/profil.c: Likewise.
43309 * sysdeps/powerpc/dl-procinfo.h: Likewise.
43310 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43311 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43312 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43313 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43314 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
43315 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
43316 * sysdeps/s390/dl-tls.h: Likewise.
43317 * sysdeps/s390/s390-32/setjmp.S: Likewise.
43318 * sysdeps/s390/s390-64/setjmp.S: Likewise.
43319 * sysdeps/sh/sh3/setjmp.S: Likewise.
43320 * sysdeps/sh/sh4/setjmp.S: Likewise.
43321 * sysdeps/unix/alpha/sysdep.h: Likewise.
43322 * sysdeps/unix/arm/sysdep.S: Likewise.
43323 * sysdeps/unix/i386/sysdep.S: Likewise.
43324 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43325 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
43326 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43327 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43328 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43329 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43330 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
43331 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43332 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43333 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43334 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
43335 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43336 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43339 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43340 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43341 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43342 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43343 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43344 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43345 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43346 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43347 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43348 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43349 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43350 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43351 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43352 * sysdeps/x86_64/setjmp.S: Likewise.
43353
43354 * include/math.h: Use IS_IN instead of IS_IN_libm.
43355 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
43356 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43357 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43358 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
43359 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43360 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43361 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43362 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43363 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43364 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43365 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
43366 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
43367 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
43368 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
43369 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
43370 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
43371 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
43372 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
43373 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
43374 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
43375 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
43376 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
43377 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
43378 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
43379 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
43380 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
43381 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
43382 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
43383 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
43384 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
43385 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
43386 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43387 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
43388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
43389 Likewise.
43390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
43391 Likewise.
43392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
43393 Likewise.
43394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
43395 Likewise.
43396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
43397 Likewise.
43398 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43399 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
43400 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43401 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43402 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43403 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
43405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
43406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
43407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
43408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
43409 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
43410 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
43411 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
43412 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
43413 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43414 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
43415 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
43416 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43417 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43418 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
43419 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
43420 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
43421 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
43422 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
43423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43424 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
43425
43426 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
43427 * nptl/pthreadP.h: Likewise.
43428 * nptl_db/structs.def: Likewise.
43429 * sysdeps/arm/sysdep.h: Likewise.
43430 * sysdeps/nptl/bits/libc-lock.h: Likewise.
43431 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43432 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
43433 * sysdeps/unix/alpha/sysdep.h: Likewise.
43434 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43435 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43436 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43437 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43438 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43439 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43440 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43441 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43442 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43443 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43444 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43445 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43446 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43447 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43450 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43451 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43452 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43453 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43454 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43455 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43456 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43457 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43458 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
43459 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43460
43461 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
43462 * nptl/pthreadP.h: Likewise.
43463 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43464 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43465 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43466 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43467 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43468 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43469 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43470 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43471 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43472 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43473 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43474 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
43476 Likewise.
43477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
43478 Likewise.
43479 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43480 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43481 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43482 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43483 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43484 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43485 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43486 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43487
43488 * dlfcn/dladdr.c: Use IS_IN.
43489 * dlfcn/dladdr1.c: Likewise.
43490 * dlfcn/dlclose.c: Likewise.
43491 * dlfcn/dlerror.c: Likewise.
43492 * dlfcn/dlinfo.c: Likewise.
43493 * dlfcn/dlmopen.c: Likewise.
43494 * dlfcn/dlopen.c: Likewise.
43495 * dlfcn/dlsym.c: Likewise.
43496 * dlfcn/dlvsym.c: Likewise.
43497
43498 * include/ifaddrs.h: Use IS_IN.
43499 * inet/check_pf.c: Likewise.
43500 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43501 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
43502
43503 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
43504 IS_IN_ldconfig.
43505 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
43506 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
43507
43508 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
43509 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
43510 IS_IN (libc).
43511
43512 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
43513
43514 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
43515 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43516 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43517 * include/libc-symbols.h (IS_IN_LIB): New macro.
43518 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
43519 * include/netdb.h: Likewise.
43520 * include/stap-probe.h: Remove all uses of IN_LIB.
43521
43522 * Makeconfig (module-cppflags-real): Define MODULE_NAME
43523 instead of IN_MODULE.
43524 * include/libc-symbols.h (IN_MODULE): Define using
43525 MODULE_NAME.
43526 (PASTE_NAME, PASTE_NAME1): New macros.
43527 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
43528 of IN_LIB.
43529 (STAP_PROBE_ASM): Likewise.
43530
43531 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
43532
43533 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
43534 __mach_init in dlopened libc.
43535
43536 2014-11-22 Mike Frysinger <vapier@gentoo.org>
43537
43538 * sysdeps/arm/preconfigure.ac: Delete EABI check.
43539 * sysdeps/arm/preconfigure: Regenerate.
43540
43541 2014-11-21 Roland McGrath <roland@hack.frob.com>
43542
43543 * nptl/pthread_create.c (__pthread_create_2_1): Set
43544 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
43545 when copying values from IATTR into PD.
43546
43547 2014-11-21 Will Newton <will.newton@linaro.org>
43548 Andrew Pinski <andrew.pinski@caviumnetworks.com>
43549
43550 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
43551 Refactor inline-asm. Also add comment.
43552
43553 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
43554 ElfW macro instead of hardcoded Elf64 types.
43555 (la_aarch64_gnu_pltenter): Likewise.
43556 * sysdeps/aarch64/dl-machine.h
43557 (elf_machine_runtime_setup): Use ElfW(Addr).
43558
43559 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
43560 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
43561 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
43562 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
43563 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
43564 (R_AARCH64_TLS_DTPMOD64): Rename to ..
43565 (R_AARCH64_TLS_DTPMOD): This.
43566 (R_AARCH64_TLS_DTPREL64): Rename to ...
43567 (R_AARCH64_TLS_DTPREL): This.
43568 (R_AARCH64_TLS_TPREL64): Rename to ...
43569 (R_AARCH64_TLS_TPREL): This.
43570 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
43571 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
43572 R_AARCH64_TLS_TPREL64.
43573 (elf_machine_rela): Likewise.
43574
43575 2014-11-21 Torvald Riegel <triegel@redhat.com>
43576
43577 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
43578 by setting it to 0. 64b atomics are not supported currently.
43579
43580 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43581
43582 [BZ #16469]
43583 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
43584 search domain names.
43585
43586 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43587
43588 [BZ #16469]
43589 * NEWS: Update.
43590 * resolv/res_query.c (__libc_res_nquerydomain): Retain
43591 trailing dot.
43592 * posix/tst-getaddrinfo5.c: New.
43593 * posix/Makefile (tests): Add it.
43594
43595 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43596
43597 [BZ #14498]
43598 * NEWS: Fixed.
43599 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
43600 after parsing line but before break_if_match.
43601 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
43602 if there is a protocol mismatch.
43603
43604 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
43605
43606 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
43607 because the potential race is on the user-supplied stream.
43608
43609 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43610
43611 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
43612 string literal if not passed a buffer.
43613 * manual/job.texi (ctermid): Update reasoning, note deviation
43614 from posix, suggest mtasurace when not passed a buffer, for
43615 future non-preliminary safety notes.
43616
43617 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43618
43619 * manual/users.texi (cuserid): Fix MT-Safety note for the case
43620 of not passing it a buffer.
43621 Reported by Peng Haitao.
43622
43623 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43624
43625 * manual/Makefile ($(objpfx)stamp-summary): Require
43626 check-safety.sh to pass.
43627 * manual/check-safety.sh: Wish for verification that every
43628 @deftypefn and @deftypefun is followed by a @safety remark.
43629
43630 2014-11-20 Roland McGrath <roland@hack.frob.com>
43631
43632 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
43633
43634 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
43635 PTHREAD_CANCEL_ASYNCHRONOUS.
43636 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
43637 send SIGCANCEL.
43638
43639 * nptl/default-sched.h: New file.
43640 * sysdeps/unix/sysv/linux/default-sched.h: New file.
43641 * nptl/pthread_create.c: Include it.
43642 (__pthread_create_2_1): Use collect_default_sched instead of making
43643 Linux syscalls here directly.
43644
43645 2014-11-20 Torvald Riegel <triegel@redhat.com>
43646
43647 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
43648 __pthread_once): Use C11 atomics.
43649
43650 2014-11-20 Torvald Riegel <triegel@redhat.com>
43651
43652 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
43653
43654 2014-11-20 Torvald Riegel <triegel@redhat.com>
43655
43656 * include/atomic.h (__atomic_link_error, __atomic_check_size,
43657 atomic_thread_fence_acquire, atomic_thread_fence_release,
43658 atomic_thread_fence_seq_cst, atomic_load_relaxed,
43659 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
43660 atomic_compare_exchange_weak_relaxed,
43661 atomic_compare_exchange_weak_acquire,
43662 atomic_compare_exchange_weak_release,
43663 atomic_exchange_acquire, atomic_exchange_release,
43664 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
43665 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
43666 atomic_fetch_and_acquire,
43667 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
43668
43669 2014-11-20 Torvald Riegel <triegel@redhat.com>
43670
43671 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
43672 USE_ATOMIC_COMPILER_BUILTINS): Define.
43673 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
43674 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43675 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
43676 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43677 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
43678 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43679 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
43680 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43681 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
43682 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43683 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
43684 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43685 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
43686 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43687 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
43688 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43689 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
43690 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43691 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
43692 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43693 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
43694 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43695 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
43696 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43697 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
43698 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43699 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
43700 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43701 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
43702 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43703 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
43704 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43705 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
43706 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43707 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
43708 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43709 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
43710 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43711 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
43712 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43713
43714 2014-11-19 Roland McGrath <roland@hack.frob.com>
43715
43716 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
43717 the sched_priority value here. It was already checked when the user
43718 called pthread_attr_setschedparam.
43719
43720 * nptl/tst-bad-schedattr.c: New file.
43721 * nptl/Makefile (tests): Add it.
43722
43723 2014-11-19 Carlos O'Donell <carlos@redhat.com>
43724 Florian Weimer <fweimer@redhat.com>
43725 Joseph Myers <joseph@codesourcery.com>
43726 Adam Conrad <adconrad@0c3.net>
43727 Andreas Schwab <schwab@suse.de>
43728 Brooks <bmoses@google.com>
43729
43730 [BZ #17625]
43731 * wordexp-test.c (__dso_handle): Add prototype.
43732 (__register_atfork): Likewise.
43733 (__app_register_atfork): New function.
43734 (registered_forks): New global.
43735 (register_fork): New function.
43736 (test_case): Add 3 new tests for WRDE_CMDSUB.
43737 (main): Call __app_register_atfork.
43738 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
43739 fork count is non-zero fail the test.
43740 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
43741 is set.
43742 (parse_dollars): Remove check for WRDE_NOCMD.
43743 (parse_dquote): Likewise.
43744
43745 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
43746
43747 * Makeconfig (built-modules): List non-library modules to be
43748 built.
43749 (module-cppflags): Include libc-modules.h for
43750 everything except shlib-versions.v.i.
43751 (CPPFLAGS): Use it.
43752 (before-compile): Add libc-modules.h.
43753 ($(common-objpfx)libc-modules.h,
43754 $(common-objpfx)libc-modules.stmp): New targets.
43755 (common-generated): Add libc-modules.h and libc-modules.stmp.
43756 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
43757 * include/libc-symbols.h: Don't include libc-modules.h.
43758 * include/libc-modules.h: Remove file.
43759 * scripts/gen-libc-modules.awk: New script to generate
43760 libc-modules.h.
43761 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
43762 Depend on libc-modules.stmp.
43763
43764 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
43765
43766 * Makeconfig (in-module): Get value of libof set for the
43767 translation unit.
43768 (CPPFLAGS): Use $(in-module).
43769 * Makerules: Don't suffix routine names for nonlib.
43770 * include/libc-modules.h: New file.
43771 * include/libc-symbols.h: Include libc-modules.h
43772 (IS_IN): New macro to replace IS_IN_* macros.
43773 * elf/Makefile: Set libof-* for each routine.
43774 * elf/rtld-Rules: Likewise.
43775 * extra-modules.mk: Likewise.
43776 * iconv/Makefile: Likewise.
43777 * iconvdata/Makefile: Likewise.
43778 * locale/Makefile: Likewise.
43779 * malloc/Makefile: Likewise.
43780 * nss/Makefile: Likewise.
43781 * sysdeps/gnu/Makefile: Likewise.
43782 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
43783 * sysdeps/unix/sysv/linux/Makefile: Likewise.
43784 * sysdeps/s390/s390-64/Makefile: Likewise.
43785 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
43786 CPPFLAGS for nscd instead of nonlib.
43787
43788 2014-11-18 Roland McGrath <roland@hack.frob.com>
43789
43790 * nptl/createthread.c: New file.
43791
43792 * nptl/createthread.c: Moved ...
43793 * sysdeps/unix/sysv/linux/createthread.c: ... here.
43794
43795 * nptl/createthread.c: Add proper top-line comment.
43796 (do_clone): Folded into ...
43797 (create_thread): ... here. Take new arguments STOPPED_START and
43798 THREAD_RAN. Always set PD->stopped_start to something here. Don't
43799 increment __nptl_threads, do event-reporting logic, do
43800 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
43801 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
43802 resource cleanup if sched_setaffinity or sched_setscheduler fails,
43803 just send SIGCANCEL.
43804 * nptl/pthread_create.c: Forward-declare create_thread before
43805 including createthread.c.
43806 (start_thread): Use new macro START_THREAD_DEFN to replace defining
43807 declaration, and new macro START_THREAD_SELF to replace argument.
43808 Remove return statement.
43809 (report_thread_creation): New function.
43810 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
43811 synchronization logic, and __nptl_nthreads increment here, around
43812 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
43813 PD->parent_cancelhandling here, before create_thread. When
43814 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
43815 __deallocate_stack, and ENOMEM translation here.
43816
43817 2014-11-18 Joseph Myers <joseph@codesourcery.com>
43818
43819 [BZ #17616]
43820 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
43821 (mptwo): Rename to __mptwo.
43822 (__inv): Use __mptwo instead of mptwo.
43823 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
43824 (mptwo): Rename to __mptwo.
43825 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
43826 of mpone and __mptwo instead of mptwo.
43827 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
43828 instead of mpone.
43829 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43830 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
43831 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
43832 of mpone and __mptwo instead of mptwo.
43833 (__mpranred): Use __mpone instead of mpone.
43834 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
43835 variable.
43836 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
43837 (test-xfail-ISO99/math.h/linknamespace): Likewise.
43838 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
43839 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
43840 (test-xfail-ISO11/math.h/linknamespace): Likewise.
43841 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
43842 (test-xfail-XPG3/math.h/linknamespace): Likewise.
43843 (test-xfail-XPG4/math.h/linknamespace): Likewise.
43844 (test-xfail-POSIX/math.h/linknamespace): Likewise.
43845 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
43846 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
43847 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
43848 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
43849 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
43850 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
43851 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
43852 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
43853 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
43854 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
43855
43856 2014-11-18 Tom de Vries <tom@codesoucery.com>
43857
43858 * manual/signal.texi (Primitives Interrupted by Signals): In section,
43859 replace BSD Handler xref with BSD Signal Handling.
43860
43861 2014-11-17 Richard Henderson <rth@redhat.com>
43862
43863 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
43864 (_FP_PACK_RAW_2): Remove.
43865 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
43866 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
43867 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
43868 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
43869 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
43870 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
43871 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
43872 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
43873 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
43874 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
43875 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
43876 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
43877 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
43878 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
43879 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
43880 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
43881
43882 2014-11-14 Roland McGrath <roland@hack.frob.com>
43883
43884 * signal/signal.h [__USE_MISC]
43885 (struct sigvec): Remove type.
43886 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
43887 (sigvec): Remove declaration.
43888 * sysdeps/posix/sigvec.c: Moved ...
43889 * signal/sigvec.c: ... here, replacing old file.
43890 (struct sigvec): New type, copied from old signal.h definition.
43891 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
43892 (__sigvec): Convert definition to prototype.
43893 (sigvec): Replace weak_alias with compat_symbol.
43894 * signal/Versions (libc: GLIBC_2.21): New version set.
43895 * include/signal.h: Remove __sigvec declaration.
43896 * sysdeps/unix/bsd/sigvec.c: Remove file.
43897 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
43898 * manual/signal.texi (BSD Handler): Remove subsection.
43899 Move siginterrupt up to ...
43900 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
43901 (Blocking in BSD): Fold subsection into its parent.
43902 * NEWS: Mention sigvec removal.
43903
43904 2014-11-14 Joseph Myers <joseph@codesourcery.com>
43905
43906 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
43907 (DLA_FMS): Make definition conditional only on [__FMA4__].
43908 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
43909 definition.
43910
43911 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
43912 Make definition conditional only on [PROF].
43913 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
43914 definition.
43915 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
43916 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
43917
43918 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
43919 !__GNUC__].
43920 * include/signal.h (__sigpause): Move declaration above call to
43921 libc_hidden_proto.
43922 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
43923 variable.
43924 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
43925 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
43926
43927 2014-11-14 David S. Miller <davem@davemloft.net>
43928
43929 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
43930 Define before including <string/memcpy.c> and <string/mempcpy.c>.
43931
43932 2014-11-14 Joseph Myers <joseph@codesourcery.com>
43933
43934 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
43935 * configure: Regenerated.
43936 * manual/install.texi (Tools for Compilation): Document a
43937 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
43938 compiler verified to work.
43939 * INSTALL: Regenerated.
43940
43941 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
43942 redeclare with asm name.
43943 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
43944 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
43945 including <string.h>.
43946 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43947 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
43948 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43949 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
43950 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43951 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
43952 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43953
43954 2014-11-13 Joseph Myers <joseph@codesourcery.com>
43955
43956 * stdlib/strtol.c (__strtol): Use prototype definition.
43957
43958 [BZ #17594]
43959 * stdlib/strtol.c (SYM__): New macro.
43960 (SYM__1): Likewise.
43961 (__strtol): Likewise.
43962 (strtol): Rename to __strtol and define as weak alias of
43963 __strtol. Use libc_hidden_weak.
43964
43965 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
43966
43967 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
43968 Use numbered labels in inline assembly.
43969
43970 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
43971
43972 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
43973 Add setjmp LIBC_PROBE.
43974 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
43975 Likewise.
43976 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
43977 Add longjmp, longjmp_target LIBC_PROBE.
43978 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
43979 Likewise.
43980
43981 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
43982
43983 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
43984 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
43985 to get rid of unused variable warning.
43986
43987 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
43988
43989 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
43990 Check for unwind_backtrace == NULL only in SHARED case.
43991 (__backchain_backtrace): Compile only in SHARED case.
43992 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
43993 Likewise.
43994 (__backchain_backtrace): Declare as static.
43995
43996 2014-11-12 Roland McGrath <roland@hack.frob.com>
43997
43998 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
43999 (__libc_multiple_threads_ptr): Variable moved ...
44000 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
44001
44002 2014-11-12 Joseph Myers <joseph@codesourcery.com>
44003
44004 * conform/GlibcConform.pm: New file.
44005 * conform/conformtest.pl: Use GlibcConform module.
44006 * conform/linknamespace.pl: New file.
44007 * conform/list-header-symbols.pl: Likewise.
44008 * conform/Makefile (linknamespace-symlists-base): New variable.
44009 (linknamespace-symlists-tests): Likewise.
44010 (linknamespace-header-base): Likewise.
44011 (linknamespace-header-tests): Likewise.
44012 (tests-special): Add new tests.
44013 ($(linknamespace-symlists-tests)): New rule.
44014 (linknamespace-libs): New variable.
44015 ($(objpfx)symlist-stdlibs): New rule.
44016 ($(linknamespace-header-tests)): Likewise.
44017 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
44018 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
44019 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
44020 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
44021 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
44022 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
44023 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
44024 (test-xfail-ISO/math.h/linknamespace): Likewise.
44025 (test-xfail-ISO/signal.h/linknamespace): Likewise.
44026 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
44027 (test-xfail-ISO/time.h/linknamespace): Likewise.
44028 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44029 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
44030 (test-xfail-ISO99/math.h/linknamespace): Likewise.
44031 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44032 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
44033 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44034 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44035 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
44036 (test-xfail-ISO11/math.h/linknamespace): Likewise.
44037 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44038 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
44039 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44040 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
44041 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
44042 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
44043 (test-xfail-XPG3/math.h/linknamespace): Likewise.
44044 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
44045 (test-xfail-XPG3/search.h/linknamespace): Likewise.
44046 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
44047 (test-xfail-XPG3/time.h/linknamespace): Likewise.
44048 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
44049 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
44050 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
44051 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
44052 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
44053 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
44054 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
44055 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
44056 (test-xfail-XPG4/math.h/linknamespace): Likewise.
44057 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
44058 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
44059 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
44060 (test-xfail-XPG4/search.h/linknamespace): Likewise.
44061 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
44062 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
44063 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
44064 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
44065 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
44066 (test-xfail-XPG4/time.h/linknamespace): Likewise.
44067 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
44068 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
44069 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
44070 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
44071 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
44072 (test-xfail-POSIX/math.h/linknamespace): Likewise.
44073 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
44074 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
44075 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
44076 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
44077 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
44078 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
44079 (test-xfail-POSIX/time.h/linknamespace): Likewise.
44080 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
44081 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
44082 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
44083 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
44084 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
44085 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
44086 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
44087 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
44088 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
44089 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44090 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
44091 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
44092 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
44093 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
44094 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
44095 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
44096 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
44097 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
44098 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
44099 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
44100 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
44101 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
44102 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
44103 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
44104 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
44105 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
44106 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
44107 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
44108 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44109 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
44110 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
44111 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
44112 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
44113 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
44114 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
44115 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44116 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
44117 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
44118 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
44119 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
44120 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
44121 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
44122 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
44123 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
44124 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
44125 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
44126 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
44127 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
44128 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
44129 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
44130 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
44131 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44132 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
44133 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
44134 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
44135 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
44136 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
44137 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44138 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
44139 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
44140 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
44141 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
44142 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44143 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
44144 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
44145 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
44146 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
44147 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
44148 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
44149 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
44150 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
44151 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
44152 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44153 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
44154 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
44155 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
44156 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44157 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
44158 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
44159 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
44160 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
44161 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
44162 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44163 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
44164 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
44165 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
44166 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
44167 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
44168 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
44169 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
44170 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
44171 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
44172 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
44173 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
44174 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
44175 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44176 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
44177 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
44178
44179 [BZ #17589]
44180 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
44181 of fgets_unlocked.
44182
44183 [BZ #17585]
44184 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
44185 (memmem): Rename to __memmem and define as weak alias of
44186 __memmem. Use libc_hidden_weak.
44187 (__memmem): Use libc_hidden_def.
44188 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
44189 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
44190 memmem.
44191
44192 [BZ #17582]
44193 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
44194 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
44195 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
44196 and define as weak alias of __fgets_unlocked. Use
44197 libc_hidden_weak.
44198 (__fgets_unlocked): Use libc_hidden_def.
44199 * include/stdio.h (__fgets_unlocked): Declare. Use
44200 libc_hidden_proto.
44201 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
44202 __fgets_unlocked instead of fgets_unlocked.
44203 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
44204 (GET_NPROCS_CONF_PARSER): Likewise.
44205 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
44206 (GET_NPROCS_CONF_PARSER): Likewise.
44207
44208 [BZ #17574]
44209 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
44210 weak alias of __wmemset. Use libc_hidden_weak.
44211 (__wmemset): Use libc_hidden_def.
44212 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
44213 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
44214 of wmemset.
44215
44216 [BZ #17573]
44217 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
44218 with asm name __mempcpy.
44219 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
44220
44221 [BZ #17572]
44222 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
44223 and define as weak alias of __rawmemchr.
44224 (__rawmemchr): Do not define as strong alias of rawmemchr.
44225
44226 [BZ #17571]
44227 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
44228 alias of __qsort_r.
44229 (qsort): Call __qsort_r instead of qsort_r.
44230 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
44231 (__qsort_r): Declare. Call libc_hidden_proto.
44232 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
44233 instead of qsort_r.
44234 * nscd/gai.c (__qsort_r): Define to qsort_r.
44235 * posix/tst-rfc3484.c (__qsort_r): Likewise.
44236 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
44237 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
44238
44239 [BZ #17570]
44240 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
44241 define as weak alias of __malloc_info.
44242
44243 [BZ #17584]
44244 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
44245 as weak alias of __rewinddir. Don't use libc_hidden_def.
44246 (__rewinddir): Use libc_hidden_def.
44247 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
44248 as weak alias of __rewinddir. Don't use libc_hidden_def.
44249 (__rewinddir): Use libc_hidden_def.
44250 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
44251 weak alias of __rewinddir. Don't use libc_hidden_def.
44252 (__rewinddir): Use libc_hidden_def.
44253 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
44254 (__rewinddir): Use libc_hidden_proto.
44255 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
44256 rewinddir.
44257 (__getcwd): Use __rewinddir instead of rewinddir.
44258
44259 [BZ #17583]
44260 * libio/fileno.c (fileno): Rename to __fileno and define as weak
44261 alias of __fileno. Use libc_hidden_weak.
44262 (__fileno): Use libc_hidden_def.
44263 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
44264 * libio/ftello.c (ftello): Rename to __ftello and define as weak
44265 alias of __ftello.
44266 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
44267 __ftello.
44268 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
44269 (__fread_unlocked): Define as strong alias of _IO_fread. Use
44270 libc_hidden_def.
44271 (fread_unlocked): Don't use libc_hidden_ver.
44272 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
44273 and define as weak alias of __fread_unlocked. Don't use
44274 libc_hidden_def.
44275 (__fread_unlocked): Use libc_hidden_def.
44276 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
44277 (ftello): Don't use libc_hidden_proto.
44278 (__ftello): Declare. Use libc_hidden_proto.
44279 (fread_unlocked): Don't use libc_hidden_proto.
44280 (__fread_unlocked): Declare. Use libc_hidden_proto.
44281 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
44282 and __ftello instead of fileno, fread_unlocked and ftello.
44283
44284 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
44285
44286 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
44287 GOT12.
44288 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
44289 Likewise.
44290 (_dl_start_user): Likewise.
44291 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
44292
44293 2014-11-12 Carlos O'Donell <carlos@redhat.com>
44294 Siddhesh Poyarekar <siddhesh@redhat.com>
44295
44296 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
44297 Move argv and envp down instead of moving argc up.
44298 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
44299
44300 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
44301
44302 [BZ #17506]
44303 * test-skeleton.c (main): Return successful if one of
44304 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
44305 * string/tst-strcoll-overflow.c: Define expected status.
44306
44307 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
44308
44309 [BZ #17475]
44310 * locale/iso-639.def: Define Bhili and Tulu language codes.
44311
44312 2014-11-11 Alan Hayward <alan.hayward@arm.com>
44313
44314 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
44315
44316 2014-11-10 Renlin Li <Renlin.Li@arm.com>
44317
44318 [BZ #17555]
44319 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
44320
44321 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
44322
44323 * configure.ac: Updated check of minimal required version to
44324 2.22.
44325 * manual/install.texi (Tools for Compilation): Updated version
44326 number.
44327 * configure: Regenerated.
44328 * INSTALL: Likewise.
44329
44330 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
44331
44332 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
44333 __tls_get_addr.
44334
44335 2014-11-07 Joseph Myers <joseph@codesourcery.com>
44336
44337 * include/sys/wait.h (__libc_waitpid): Remove declaration.
44338 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
44339 (__waitpid): Don't define as alias. Use libc_hidden_def not
44340 libc_hidden_weak.
44341 (waitpid): Define as alias of __waitpid.
44342 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
44343 __waitpid.
44344 (__waitpid): Don't define as alias. Use libc_hidden_def not
44345 libc_hidden_weak.
44346 (waitpid): Define as alias of __waitpid.
44347 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
44348 __libc_waitpid alias.
44349 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
44350 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
44351 Likewise.
44352 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
44353 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
44354 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
44355 alias.
44356 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
44357 __waitpid.
44358 (__waitpid): Don't define as alias. Use libc_hidden_def not
44359 libc_hidden_weak.
44360 (waitpid): Define as alias of __waitpid.
44361
44362 2014-11-06 Carlos O'Donell <carlos@redhat.com>
44363
44364 * manual/llio.texi: Add comment that write safety has been
44365 fixed in Linux.
44366
44367 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
44368 (localplt-build-dso): Add elf/ld.so.
44369 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
44370 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
44371 and free for ld.so.
44372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
44373 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
44374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
44375 Likewise.
44376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
44377 Likewise.
44378 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
44379 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
44380 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
44381 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
44382 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
44383 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
44384 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
44385 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
44386 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
44387 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
44388 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
44389
44390 2014-11-05 Joseph Myers <joseph@codesourcery.com>
44391
44392 [BZ #14132]
44393 * include/libc-symbols.h (INTUSE): Remove macro.
44394 (INTDEF): Likewise.
44395 (INTVARDEF): Likewise.
44396 (_INTVARDEF): Likewise.
44397 (INTDEF2): Likewise.
44398 (INTVARDEF2): Likewise.
44399 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
44400 rtld_hidden_def instead of INTVARDEF.
44401 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
44402 (_dl_starting_up_internal): Remove declaration.
44403 (_dl_starting_up): Use rtld_hidden_proto.
44404 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
44405 declaration.
44406 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
44407 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
44408 _dl_starting_up.
44409 * elf/dl-writev.h (_dl_writev): Likewise.
44410 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
44411 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
44412 _dl_starting_up_internal.
44413
44414 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44415
44416 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
44417 test-skeleton.c.
44418
44419 2014-11-05 Will Newton <will.newton@linaro.org>
44420
44421 * benchtests/Makefile: (bench-malloc): Add malloc thread
44422 scalability benchmark.
44423 * benchtests/bench-malloc-threads.c: New file.
44424
44425 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
44426
44427 * sysdeps/aarch64/strchrnul.S: New file.
44428
44429 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44430
44431 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
44432 definition.
44433 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
44434 Likewise.
44435 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
44436 Likewise.
44437 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
44438 Likewise.
44439 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
44440 Likewise.
44441 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
44442 Likewise.
44443
44444 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
44445
44446 * catgets/test-gencat.c: Use test-skeleton.c.
44447 * catgets/tst-catgets.c: Likewise.
44448 * csu/tst-empty.c: Likewise.
44449 * elf/tst-audit2.c: Likewise.
44450 * elf/tst-global1.c: Likewise.
44451 * elf/tst-pathopt.c: Likewise.
44452 * elf/tst-piemod1.c: Likewise.
44453 * elf/tst-tls10.c: Likewise.
44454 * elf/tst-tls11.c: Likewise.
44455 * elf/tst-tls12.c: Likewise.
44456 * gnulib/tst-gcc.c: Likewise.
44457 * iconvdata/tst-e2big.c: Likewise.
44458 * iconvdata/tst-loading.c: Likewise.
44459 * iconv/tst-iconv1.c: Likewise.
44460 * iconv/tst-iconv2.c: Likewise.
44461 * inet/test-inet6_opt.c: Likewise.
44462 * inet/tst-gethnm.c: Likewise.
44463 * inet/tst-network.c: Likewise.
44464 * inet/tst-ntoa.c: Likewise.
44465 * intl/tst-codeset.c: Likewise.
44466 * intl/tst-gettext2.c: Likewise.
44467 * intl/tst-gettext3.c: Likewise.
44468 * intl/tst-ngettext.c: Likewise.
44469 * intl/tst-translit.c: Likewise.
44470 * io/test-stat.c: Likewise.
44471 * libio/test-fmemopen.c: Likewise.
44472 * libio/tst-freopen.c: Likewise.
44473 * libio/tst-sscanf.c: Likewise.
44474 * libio/tst-ungetwc1.c: Likewise.
44475 * libio/tst-ungetwc2.c: Likewise.
44476 * libio/tst-widetext.c: Likewise.
44477 * localedata/tst-ctype.c: Likewise.
44478 * localedata/tst-digits.c: Likewise.
44479 * localedata/tst-leaks.c: Likewise.
44480 * localedata/tst-mbswcs1.c: Likewise.
44481 * localedata/tst-mbswcs2.c: Likewise.
44482 * localedata/tst-mbswcs3.c: Likewise.
44483 * localedata/tst-mbswcs4.c: Likewise.
44484 * localedata/tst-mbswcs5.c: Likewise.
44485 * localedata/tst-setlocale.c: Likewise.
44486 * localedata/tst-trans.c: Likewise.
44487 * localedata/tst-wctype.c: Likewise.
44488 * localedata/tst-xlocale1.c: Likewise.
44489 * login/tst-grantpt.c: Likewise.
44490 * malloc/tst-calloc.c: Likewise.
44491 * malloc/tst-malloc.c: Likewise.
44492 * malloc/tst-mallocstate.c: Likewise.
44493 * malloc/tst-mcheck.c: Likewise.
44494 * malloc/tst-mtrace.c: Likewise.
44495 * malloc/tst-obstack.c: Likewise.
44496 * math/atest-exp2.c: Likewise.
44497 * math/atest-exp.c: Likewise.
44498 * math/atest-sincos.c: Likewise.
44499 * math/test-matherr.c: Likewise.
44500 * math/test-misc.c: Likewise.
44501 * math/test-powl.c: Likewise.
44502 * math/tst-definitions.c: Likewise.
44503 * misc/tst-dirname.c: Likewise.
44504 * misc/tst-efgcvt.c: Likewise.
44505 * misc/tst-fdset.c: Likewise.
44506 * misc/tst-hsearch.c: Likewise.
44507 * misc/tst-mntent2.c: Likewise.
44508 * nptl/tst-sem7.c: Likewise.
44509 * nptl/tst-sem8.c: Likewise.
44510 * nptl/tst-sem9.c: Likewise.
44511 * nss/test-netdb.c: Likewise.
44512 * posix/tst-fnmatch.c: Likewise.
44513 * posix/tst-getlogin.c: Likewise.
44514 * posix/tst-gnuglob.c: Likewise.
44515 * posix/tst-mmap.c: Likewise.
44516 * pwd/tst-getpw.c: Likewise.
44517 * resolv/tst-inet_ntop.c: Likewise.
44518 * rt/tst-timer.c: Likewise.
44519 * stdio-common/test-fseek.c: Likewise.
44520 * stdio-common/test-popen.c: Likewise.
44521 * stdio-common/test-vfprintf.c: Likewise.
44522 * stdio-common/tst-cookie.c: Likewise.
44523 * stdio-common/tst-fileno.c: Likewise.
44524 * stdio-common/tst-gets.c: Likewise.
44525 * stdio-common/tst-obprintf.c: Likewise.
44526 * stdio-common/tst-perror.c: Likewise.
44527 * stdio-common/tst-sprintf2.c: Likewise.
44528 * stdio-common/tst-sprintf3.c: Likewise.
44529 * stdio-common/tst-sprintf.c: Likewise.
44530 * stdio-common/tst-swprintf.c: Likewise.
44531 * stdio-common/tst-tmpnam.c: Likewise.
44532 * stdio-common/tst-unbputc.c: Likewise.
44533 * stdio-common/tst-wc-printf.c: Likewise.
44534 * stdlib/tst-environ.c: Likewise.
44535 * stdlib/tst-fmtmsg.c: Likewise.
44536 * stdlib/tst-limits.c: Likewise.
44537 * stdlib/tst-rand48-2.c: Likewise.
44538 * stdlib/tst-rand48.c: Likewise.
44539 * stdlib/tst-random2.c: Likewise.
44540 * stdlib/tst-random.c: Likewise.
44541 * stdlib/tst-strtol.c: Likewise.
44542 * stdlib/tst-strtoll.c: Likewise.
44543 * stdlib/tst-tls-atexit.c: Likewise.
44544 * stdlib/tst-xpg-basename.c: Likewise.
44545 * string/test-ffs.c: Likewise.
44546 * string/tst-bswap.c: Likewise.
44547 * string/tst-inlcall.c: Likewise.
44548 * string/tst-strtok.c: Likewise.
44549 * string/tst-strxfrm.c: Likewise.
44550 * sysdeps/x86_64/tst-audit10.c: Likewise.
44551 * sysdeps/x86_64/tst-audit3.c: Likewise.
44552 * sysdeps/x86_64/tst-audit4.c: Likewise.
44553 * sysdeps/x86_64/tst-audit5.c: Likewise.
44554 * time/tst-ftime_l.c: Likewise.
44555 * time/tst-getdate.c: Likewise.
44556 * time/tst-mktime3.c: Likewise.
44557 * time/tst-mktime.c: Likewise.
44558 * time/tst-posixtz.c: Likewise.
44559 * time/tst-strptime2.c: Likewise.
44560 * time/tst-strptime3.c: Likewise.
44561 * wcsmbs/tst-btowc.c: Likewise.
44562 * wcsmbs/tst-mbrtowc.c: Likewise.
44563 * wcsmbs/tst-mbsrtowcs.c: Likewise.
44564 * wcsmbs/tst-wchar-h.c: Likewise.
44565 * wcsmbs/tst-wcpncpy.c: Likewise.
44566 * wcsmbs/tst-wcrtomb.c: Likewise.
44567 * wcsmbs/tst-wcsnlen.c: Likewise.
44568 * wcsmbs/tst-wcstof.c: Likewise.
44569
44570 2014-11-04 Joseph Myers <joseph@codesourcery.com>
44571
44572 [BZ #14132]
44573 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
44574 INTDEF.
44575 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
44576 declaration.
44577 (_dl_mcount): Use rtld_hidden_proto.
44578 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
44579 _dl_mcount.
44580 * elf/rtld.c (_rtld_global_ro): Likewise.
44581
44582 [BZ #14132]
44583 * elf/dl-init.c (_dl_init): Don't use INTDEF.
44584 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
44585 of _dl_init_internal.
44586 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
44587 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
44588 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
44589 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
44590 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
44591 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
44592 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
44593 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
44594 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
44595 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
44596 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
44597 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
44598 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44599 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44600 * sysdeps/tile/dl-start.S (_start): Likewise.
44601 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
44602 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
44603
44604 [BZ #14132]
44605 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
44606 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
44607 (rtld_progname): Make macro definition unconditional.
44608 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
44609 INTDEF.
44610 (dlmopen_doit): Do not use INTUSE with _dl_argv.
44611 (dl_main): Likewise.
44612 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
44613 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
44614 instead of _dl_argv_internal.
44615 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
44616 __GI__dl_argv instead of INTUSE(_dl_argv).
44617 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
44618 __GI__dl_argv instead of _dl_argv_internal.
44619
44620 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
44621 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
44622 macro.
44623 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
44624 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
44625 New macro.
44626 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
44627 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
44628 macro.
44629 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
44630 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
44631
44632 2014-11-04 Andreas Schwab <schwab@suse.de>
44633
44634 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
44635
44636 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44637
44638 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
44639 mtvsrd instruction in binary form.
44640
44641 2014-11-03 Andreas Schwab <schwab@suse.de>
44642
44643 [BZ #17522]
44644 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
44645 for less than MB_LEN_MAX use a local buffer of that size.
44646 * libio/tst-fputws.c: New file.
44647 * libio/Makefile (tests): Add tst-fputws.
44648
44649 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
44650
44651 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
44652 the size of the fpu_fr.fpu_dregs[] array.
44653
44654 2014-11-01 Joseph Myers <joseph@codesourcery.com>
44655
44656 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
44657 (__nanosleep): Do not define as alias.
44658 (nanosleep): Define as alias of __nanosleep.
44659 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
44660 __libc_nanosleep name.
44661
44662 2014-10-31 Joseph Myers <joseph@codesourcery.com>
44663
44664 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
44665 install.texi in comment.
44666
44667 2014-10-31 Torvald Riegel <triegel@redhat.com>
44668
44669 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
44670 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
44671 ... add here and use lwsync or sync ...
44672 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
44673 ... and add here using lwsync.
44674
44675 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
44676
44677 * elf/dl-machine-reject-phdr.h: New file.
44678 * elf/dl-load.c: #include that.
44679 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
44680 if that returned true.
44681
44682 2014-10-31 Roland McGrath <roland@hack.frob.com>
44683
44684 [BZ #17496]
44685 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
44686 gen-as-const-headers chunk. Add a big scare comment after the last
44687 safe place to touch before-compile.
44688
44689 2014-10-31 Joseph Myers <joseph@codesourcery.com>
44690
44691 * manual/install.texi (Tools for Compilation): Update autoconf
44692 version requirements.
44693 * INSTALL: Regenerated.
44694
44695 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
44696 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
44697 (__libc_pselect): Likewise.
44698
44699 [BZ #14138]
44700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
44701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44704
44705 2014-10-31 Torvald Riegel <triegel@redhat.com>
44706
44707 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
44708 correct barrier instruction.
44709 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
44710 Likewise.
44711 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
44712 Likewise.
44713
44714 2014-10-30 Roland McGrath <roland@hack.frob.com>
44715
44716 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
44717 after defining inlines. Instead, just use parens to defeat macro
44718 expansion of __isctype in its declaration.
44719
44720 2014-10-30 Joseph Myers <joseph@codesourcery.com>
44721
44722 * include/sys/uio.h (__libc_readv): Remove declaration.
44723 (__libc_writev): Likewise.
44724 * misc/readv.c (__libc_readv): Rename to __readv.
44725 (__readv): Do not define as alias.
44726 (readv): Define as alias of __readv.
44727 * misc/writev.c (__libc_writev): Rename to __writev.
44728 (__writev): Do not define as alias.
44729 (writev): Define as alias of __writev.
44730 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
44731 (__readv): Do not define as alias.
44732 (readv): Define unconditionally as alias of __readv.
44733 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
44734 (__writev): Do not define as alias.
44735 (writev): Define unconditionally as alias of __writev.
44736 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
44737 name.
44738 (writev): Do not define __libc_writev name.
44739
44740 2014-10-30 Roland McGrath <roland@hack.frob.com>
44741
44742 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
44743 (convert_charseq): New function, broken out of ...
44744 (use_from_charmap): ... here. Call it.
44745 (use_to_charmap): Use convert_charseq and free instead of duplicating
44746 its code with a variable-length stack struct.
44747
44748 2014-10-30 Joseph Myers <joseph@codesourcery.com>
44749
44750 * include/fcntl.h (__libc_creat): Remove declaration.
44751 * io/creat.c (__libc_creat): Rename to creat.
44752 (creat): Do not define as alias.
44753 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
44754 of creat instead of __libc_creat.
44755 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
44756 to creat.
44757 (creat): Do not define as alias.
44758 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
44759 __libc_creat.
44760 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
44761 __libc_creat name.
44762 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
44763 Likewise.
44764
44765 2014-10-29 Carlos O'Donell <carlos@redhat.com>
44766
44767 * manual/llio.texi: Add comments discussing why write() may be
44768 considered MT-unsafe on Linux.
44769
44770 2014-10-28 Carlos O'Donell <carlos@redhat.com>
44771
44772 * dl-load.c (local_strdup): Remove.
44773 (expand_dynamic_string_token): Use __strdup.
44774 (decompose_rpath): Likewise.
44775 (_dl_map_object): Likewise.
44776
44777 2014-10-28 Joseph Myers <joseph@codesourcery.com>
44778
44779 [BZ #14132]
44780 * sysdeps/generic/unwind-dw2-fde.c
44781 (__register_frame_info_bases_internal): Do not declare.
44782 (__register_frame_info_table_bases_internal): Likewise.
44783 (__deregister_frame_info_bases_internal): Likewise.
44784 (__register_frame_info_bases): Declare and use hidden_proto before
44785 definition. Use hidden_def instead of INTDEF.
44786 (__register_frame_info_table_bases): Likewise.
44787 (__deregister_frame_info_bases): Likewise.
44788 (__register_frame_info): Do not use INTUSE.
44789 (__register_frame): Likewise.
44790 (__register_frame_info_table): Likewise.
44791 (__register_frame_table): Likewise.
44792 (__deregister_frame_info): Likewise.
44793 (__deregister_frame): Likewise.
44794
44795 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
44796
44797 * sysdeps/unix/sysv/linux/arm/kernel-features.h
44798 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
44799 not undefine.
44800 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
44801 Likewise.
44802 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
44803 Likewise.
44804
44805 2014-10-27 Joseph Myers <joseph@codesourcery.com>
44806
44807 [BZ #14138]
44808 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
44809 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
44810 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
44811 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
44812 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
44813 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
44814 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
44815 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
44816 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
44817 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
44818 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
44819 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
44820 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
44821 syscall.
44822 (setfsuid): Likewise.
44823 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
44824 (setfsuid): Likewise.
44825 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
44826 (setfsuid): Likewise.
44827 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
44828 Likewise.
44829 (setfsuid): Likewise.
44830 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
44831 (setfsuid): Likewise.
44832 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
44833 Likewise.
44834 (setfsuid): Likewise.
44835
44836 2014-10-27 Andreas Schwab <schwab@suse.de>
44837
44838 [BZ #17501]
44839 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
44840 check for Slow_SSE4_2 feature bit.
44841 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
44842 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
44843 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
44844 Likewise. Fix check for Fast_Unaligned_Load feature bit.
44845
44846 2014-10-24 Roland McGrath <roland@hack.frob.com>
44847
44848 * configure.ac: Validate compiler version with a empirical test of
44849 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
44850 $CC -v output.
44851 * configure: Regenerated.
44852
44853 * inet/htons.c (htons): Prototypify.
44854 * inet/htonl.c (htonl): Likewise.
44855
44856 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44857
44858 * string/strncat.c (strncat): Improve performance by using strlen.
44859
44860 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44861
44862 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
44863
44864 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44865
44866 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
44867 Call libc_fetestexcept_aarch64.
44868
44869 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44870
44871 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
44872 Call libc_feholdexcept_aarch64.
44873
44874 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44875
44876 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
44877 Call get_rounding_mode.
44878
44879 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44880
44881 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
44882 Simplify logic.
44883
44884 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44885
44886 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
44887 Simplify logic.
44888
44889 2014-10-24 Joseph Myers <joseph@codesourcery.com>
44890
44891 [BZ #14138]
44892 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
44893 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
44894 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
44895 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
44896 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
44897 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
44898 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
44899 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
44900 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
44901 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
44902 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
44903 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
44904 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
44905 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
44906 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
44907 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
44908 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
44909 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
44910 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
44911 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
44912 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
44913 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
44914 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
44915 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
44916 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
44917 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
44918 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
44919 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
44920 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
44921 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
44922 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
44923 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
44924 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
44925 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
44926 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
44927 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
44928 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
44929 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
44930 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
44931 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
44932 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
44933 syscall.
44934 (geteuid): Likewise.
44935 (getgid): Likewise.
44936 (getuid): Likewise.
44937 (getresgid): Likewise.
44938 (getresuid): Likewise.
44939 (getgroups): Likewise.
44940 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
44941 (geteuid): Likewise.
44942 (getgid): Likewise.
44943 (getuid): Likewise.
44944 (getresgid): Likewise.
44945 (getresuid): Likewise.
44946 (getgroups): Likewise.
44947 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
44948 (geteuid): Likewise.
44949 (getgid): Likewise.
44950 (getuid): Likewise.
44951 (getresgid): Likewise.
44952 (getresuid): Likewise.
44953 (getgroups): Likewise.
44954 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
44955 Likewise.
44956 (geteuid): Likewise.
44957 (getgid): Likewise.
44958 (getuid): Likewise.
44959 (getresgid): Likewise.
44960 (getresuid): Likewise.
44961 (getgroups): Likewise.
44962 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
44963 (geteuid): Likewise.
44964 (getgid): Likewise.
44965 (getuid): Likewise.
44966 (getresgid): Likewise.
44967 (getresuid): Likewise.
44968 (getgroups): Likewise.
44969 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
44970 Likewise.
44971 (geteuid): Likewise.
44972 (getgid): Likewise.
44973 (getuid): Likewise.
44974 (getgroups): Likewise.
44975
44976 [BZ #14138]
44977 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
44978 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
44979 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
44980 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
44981 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
44982 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
44983 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
44984 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
44985 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
44986 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
44987 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
44988 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
44989 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
44990 __chown.
44991 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
44992 (lchown): Likewise.
44993 (fchown): Likewise.
44994 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
44995 Likewise.
44996 (lchown): Likewise.
44997 (fchown): Likewise.
44998 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
44999 (lchown): Likewise.
45000 (fchown): Likewise.
45001 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
45002 Likewise.
45003 (lchown): Likewise.
45004 (fchown): Likewise.
45005
45006 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45007
45008 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
45009 Simplify logic.
45010
45011 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45012
45013 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45014 Cleanup logic.
45015
45016 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45017
45018 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45019 Remove unused include.
45020
45021 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45022
45023 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
45024 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
45025 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
45026 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
45027
45028 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
45029 Helge Deller <deller@gmx.de>
45030
45031 [BZ #17508]
45032 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
45033 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
45034 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
45035
45036 2014-10-23 Joseph Myers <joseph@codesourcery.com>
45037
45038 [BZ #14132]
45039 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
45040 Remove macro definition.
45041 (__ashrdi3_v_glibc20): Likewise.
45042 (__lshrdi3_v_glibc20): Likewise.
45043 (__cmpdi2_v_glibc20): Likewise.
45044 (__ucmpdi2_v_glibc20): Likewise.
45045 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
45046 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45047 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45048 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45049 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45050 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
45051
45052 2014-10-22 Roland McGrath <roland@hack.frob.com>
45053
45054 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
45055 old GNU extension [0] syntax.
45056 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
45057 alloca rather than an array member with variable length.
45058 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
45059 * nscd/nscd.c (invalidate_db): New function, broken out of ...
45060 (parse_opt): ... here. Likewise use alloca there.
45061 Validate the -i argument before checking for rootness.
45062 (send_shutdown): New function, broken out of ...
45063 (parse_opt): ... here.
45064
45065 2014-10-22 Roland McGrath <roland@hack.frob.com>
45066
45067 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
45068 macro to get at the _rt_local_ro field.
45069 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
45070 ([PIC] case) or _dl_hwcap ([!PIC] case).
45071 * sysdeps/arm/setjmp.S: Likewise.
45072
45073 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
45074 * sysdeps/arm/configure.ac: New check to define it.
45075 * sysdeps/arm/configure: Regenerated.
45076 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
45077 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
45078 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
45079 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
45080 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
45081 Use move/movt pair instead of a load.
45082 (LDST_GLOBAL): Macro removed.
45083 (LDR_GLOBAL): New macro replaces it.
45084 (LDR_HIDDEN): New macro.
45085 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
45086 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
45087
45088 * setjmp/tst-setjmp-static.c: New file.
45089 * setjmp/Makefile (tests): Add it.
45090 (tests-static): New variable.
45091
45092 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
45093
45094 [BZ #17485]
45095 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
45096
45097 2014-10-21 Joseph Myers <joseph@codesourcery.com>
45098
45099 [BZ #14132]
45100 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
45101
45102 2014-10-21 Roland McGrath <roland@hack.frob.com>
45103
45104 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
45105
45106 2014-10-20 Roland McGrath <roland@hack.frob.com>
45107
45108 * io/fts.c (dirent_not_directory): New function.
45109 (fts_build): Call it.
45110
45111 2014-10-20 Roland McGrath <roland@hack.frob.com>
45112
45113 * nptl/version.c (__nptl_main): Use normal __write rather than
45114 INTERNAL_SYSCALL.
45115 (banner): Update copyright years.
45116
45117 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
45118 gettimeofday.
45119 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
45120 * nptl/pthread_cond_timedwait.c: Likewise.
45121 * nptl/pthread_mutex_timedlock.c: Likewise.
45122 * nptl/sem_timedwait.c: Likewise.
45123
45124 * sysdeps/nptl/bits/libc-lock.h
45125 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
45126 (__libc_lock_init_recursive): Return void, not 0.
45127 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
45128 (__libc_rwlock_init): Likewise.
45129 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
45130
45131 2014-10-20 Torvald Riegel <triegel@redhat.com>
45132
45133 [BZ #15215]
45134 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
45135 (__pthread_once_slow): ... here.
45136 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
45137 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
45138
45139 2014-10-20 Torvald Riegel <triegel@redhat.com>
45140
45141 [BZ #15215]
45142 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
45143 __PTHREAD_ONCE_FORK_GEN_INCR): New.
45144 * sysdeps/nptl/fork.c (__libc_fork): Use them.
45145 * nptl/pthread_once.c (__pthread_once): Likewise.
45146 Update comments.
45147
45148 2014-10-20 Joseph Myers <joseph@codesourcery.com>
45149
45150 [BZ #14138]
45151 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
45152 name.
45153 (writev): Use __libc_writev as strong name.
45154 * sysdeps/unix/sysv/linux/readv.c: Remove file.
45155 * sysdeps/unix/sysv/linux/writev.c: Likewise.
45156
45157 2014-10-17 Roland McGrath <roland@hack.frob.com>
45158
45159 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
45160
45161 * sysdeps/i386/nptl/tls.h
45162 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
45163 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
45164 New macros.
45165 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
45166 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
45167 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
45168 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
45169 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
45170 Call CHECK_THREAD_SYSINFO instead of doing an assert.
45171
45172 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
45173 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
45174 on [__NR_futex].
45175 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
45176 broken out of ...
45177 (__pthread_mutex_init): ... here. Call it.
45178 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
45179 Conditionalize PI cases on [__NR_futex].
45180 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
45181 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
45182 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
45183
45184 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
45185 conditional on [SIGSETXID].
45186 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
45187 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
45188 is defined. Likewise for SIGSETXID.
45189 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
45190 Conditionalize definitions on [SIGSETXID].
45191 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
45192 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
45193 unblocking on [SIGCANCEL].
45194
45195 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
45196 [__NR_set_robust_list].
45197
45198 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
45199
45200 * string/strcoll_l.c (get_next_seq): Fix up formatting.
45201 (do_compare): Likewise.
45202
45203 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
45204
45205 [BZ #15884]
45206 * string/strcoll_l.c: Don't include stdio.h.
45207 (coll_seq): Remove members idxarr and rulearr.
45208 (get_next_seq_cached): Remove function.
45209 (get_next_seq): Likewise.
45210 (get_next_seq_nocache): Rename to get_next_seq.
45211 (do_compare): Remove function.
45212 (do_compare_nocache): Rename to do_compare.
45213 (STRCOLL): Remove weight and rules cache.
45214
45215 2014-10-16 Roland McGrath <roland@hack.frob.com>
45216
45217 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
45218 * sysdeps/arm/sfp-machine.h: ... to here.
45219 * sysdeps/arm/Implies: Remove arm/soft-fp.
45220
45221 2014-10-14 Joseph Myers <joseph@codesourcery.com>
45222
45223 * conform/data/sys/utsname.h-data (*_t): Allow.
45224 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
45225 [POSIX] (WEXITED): Do not expect constant.
45226 [POSIX] (WSTOPPED): Likewise.
45227 [POSIX] (WNOHANG): Likewise.
45228 [POSIX] (WNOWAIT): Likewise.
45229 [POSIX] (siginfo_t): Do not expect type or elements.
45230 [POSIX] (pid_t): Do not expect type.
45231 [POSIX] (signal.h): Do not allow header.
45232 [POSIX] (sys/resource.h): Likewise.
45233 [POSIX] (si_*): Do not allow pattern.
45234 [POSIX] (W*): Likewise.
45235 [POSIX] (P_*): Likewise.
45236 [POSIX] (BUS_*): Likewise.
45237 [POSIX] (CLD_*): Likewise.
45238 [POSIX] (FPE_*): Likewise.
45239 [POSIX] (ILL_*): Likewise.
45240 [POSIX] (POLL_*): Likewise.
45241 [POSIX] (SEGV_*): Likewise.
45242 [POSIX] (SI_*): Likewise.
45243 [POSIX] (TRAP_*): Likewise.
45244 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
45245 variable.
45246
45247 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
45248
45249 [BZ #12926]
45250 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
45251 infinite loop when __recvmsg returns 0.
45252
45253 2014-10-10 Joseph Myers <joseph@codesourcery.com>
45254
45255 * CANCEL-FCT-WAIVE: Remove file.
45256 * CANCEL-FILE-WAIVE: Likewise.
45257
45258 [BZ #14132]
45259 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
45260 instead of INTVARDEF.
45261 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45262 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
45263 rtld_hidden_data_def instead of INTVARDEF.
45264 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45265 * elf/dl-deps.c (expand_dst): Likewise.
45266 * elf/dl-load.c (_dl_dst_count): Likewise.
45267 (_dl_dst_substitute): Likewise.
45268 (decompose_rpath): Likewise.
45269 (_dl_init_paths): Likewise.
45270 (open_path): Likewise.
45271 (_dl_map_object): Likewise.
45272 * elf/rtld.c (dl_main): Likewise.
45273 (process_dl_audit): Likewise.
45274 (process_envvars): Likewise.
45275 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
45276 Remove declaration.
45277 (__libc_enable_secure): Use rtld_hidden_proto.
45278
45279 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45280
45281 * elf/dl-load.c
45282 (add_path): New function broken out of _dl_rtld_di_serinfo.
45283 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
45284
45285 2014-10-09 Joseph Myers <joseph@codesourcery.com>
45286
45287 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
45288 parentheses around macro arguments.
45289 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
45290 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
45291 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
45292 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
45293 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
45294 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45295 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45296 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
45297 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
45298 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
45299 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
45300 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
45301 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
45302 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
45303 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
45304 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
45305 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
45306 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
45307 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
45308 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
45309 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
45310 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
45311 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
45312 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45313 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45314 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
45315 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
45316 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
45317 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
45318 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
45319 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
45320 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
45321 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
45322 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
45323 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
45324 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
45325 Likewise.
45326 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
45327 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45328 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45329 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
45330 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
45331 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
45332 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
45333 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
45334 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
45335 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
45336 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
45337 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
45338 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
45339 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
45340 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
45341 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45342 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45343 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
45344 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
45345 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
45346 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
45347 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
45348 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
45349 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
45350 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
45351 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
45352 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
45353 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
45354 (_FP_FRAC_SRS_1): Likewise.
45355 (_FP_FRAC_CLZ_1): Likewise.
45356 (_FP_MUL_MEAT_1_imm): Likewise.
45357 (_FP_MUL_MEAT_1_wide): Likewise.
45358 (_FP_MUL_MEAT_1_hard): Likewise.
45359 (_FP_SQRT_MEAT_1): Likewise.
45360 (_FP_FRAC_ASSEMBLE_1): Likewise.
45361 (_FP_FRAC_DISASSEMBLE_1): Likewise.
45362 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
45363 (__FP_CLZ_2): Likewise.
45364 (_FP_MUL_MEAT_2_wide): Likewise.
45365 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
45366 (_FP_MUL_MEAT_2_gmp): Likewise.
45367 (_FP_MUL_MEAT_2_120_240_double): Likewise.
45368 (_FP_SQRT_MEAT_2): Likewise.
45369 (_FP_FRAC_ASSEMBLE_2): Likewise.
45370 (_FP_FRAC_DISASSEMBLE_2): Likewise.
45371 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
45372 (_FP_FRAC_CLZ_4): Likewise.
45373 (_FP_MUL_MEAT_4_wide): Likewise.
45374 (_FP_MUL_MEAT_4_gmp): Likewise.
45375 (_FP_SQRT_MEAT_4): Likewise.
45376 (_FP_FRAC_ASSEMBLE_4): Likewise.
45377 (_FP_FRAC_DISASSEMBLE_4): Likewise.
45378 * soft-fp/op-common.h (_FP_CMP): Likewise.
45379 (_FP_CMP_EQ): Likewise.
45380 (_FP_CMP_UNORD): Likewise.
45381 (_FP_TO_INT): Likewise.
45382 (_FP_FROM_INT): Likewise.
45383 [!__FP_CLZ] (__FP_CLZ): Likewise.
45384 (_FP_DIV_HELP_imm): Likewise.
45385 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
45386 Likewise.
45387 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
45388 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
45389 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
45390 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
45391 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
45392 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45393 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45394 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
45395 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
45396 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
45397 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
45398 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
45399 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
45400 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
45401 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
45402 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
45403 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
45404 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
45405 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
45406 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
45407 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
45408 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
45409 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
45410 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45411 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45412 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
45413 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
45414 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
45415 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
45416 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
45417 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
45418 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
45419 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
45420 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
45421 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
45422 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
45423 (FP_UNPACK_RAW_SP): Likewise.
45424 (FP_PACK_RAW_S): Likewise.
45425 (FP_PACK_RAW_SP): Likewise.
45426 (FP_UNPACK_S): Likewise.
45427 (FP_UNPACK_SP): Likewise.
45428 (FP_UNPACK_SEMIRAW_S): Likewise.
45429 (FP_UNPACK_SEMIRAW_SP): Likewise.
45430 (FP_PACK_S): Likewise.
45431 (FP_PACK_SP): Likewise.
45432 (FP_PACK_SEMIRAW_S): Likewise.
45433 (FP_PACK_SEMIRAW_SP): Likewise.
45434 (_FP_SQRT_MEAT_S): Likewise.
45435 (FP_CMP_S): Likewise.
45436 (FP_CMP_EQ_S): Likewise.
45437 (FP_CMP_UNORD_S): Likewise.
45438 (FP_TO_INT_S): Likewise.
45439 (FP_FROM_INT_S): Likewise.
45440
45441 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
45442
45443 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
45444 (FP_EX_INVALID_IMZ): Likewise.
45445 (FP_EX_INVALID_IMZ_FMA): Likewise.
45446 (FP_EX_INVALID_ISI): Likewise.
45447 (FP_EX_INVALID_ZDZ): Likewise.
45448 (FP_EX_INVALID_IDI): Likewise.
45449 (FP_EX_INVALID_SQRT): Likewise.
45450 (FP_EX_INVALID_CVI): Likewise.
45451 (FP_EX_INVALID_VC): Likewise.
45452 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
45453 "invalid" exceptions.
45454 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
45455 (_FP_ADD_INTERNAL): Likewise.
45456 (_FP_MUL): Likewise.
45457 (_FP_FMA): Likewise.
45458 (_FP_DIV): Likewise.
45459 (_FP_CMP_CHECK_NAN): Likewise.
45460 (_FP_SQRT): Likewise.
45461 (_FP_TO_INT): Likewise.
45462 (FP_EXTEND): Likewise.
45463
45464 2014-10-09 Allan McRae <allan@archlinux.org>
45465
45466 * po/fr.po: Update French translation from translation project.
45467
45468 2014-10-09 Joseph Myers <joseph@codesourcery.com>
45469
45470 [BZ #14132]
45471 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
45472 of INTDEF.
45473 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
45474 (__cxa_atexit): Use libc_hidden_proto.
45475 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
45476
45477 [BZ #14132]
45478 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
45479 declaration.
45480 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
45481 [!_ISOMAC] (__iswspace_l_internal): Likewise.
45482 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
45483 [!_ISOMAC] (__iswctype_internal): Likewise.
45484 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
45485 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
45486 alias.
45487 (fcntl): Remove __fcntl_internal alias.
45488 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
45489 __connect_internal alias.
45490 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
45491 Likewise.
45492
45493 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
45494 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
45495 FP_DENORM_ZERO.
45496 (_FP_CHECK_FLUSH_ZERO): New macro.
45497 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
45498 (_FP_CMP): Likewise.
45499 (_FP_CMP_EQ): Likewise.
45500 (_FP_TO_INT): Do not set inexact for subnormal arguments if
45501 FP_DENORM_ZERO.
45502 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
45503 (FP_TRUNC): Likewise.
45504
45505 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
45506 treated as invalid conversion, not as normal exponent.
45507
45508 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
45509 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
45510 (_FP_CMP_EQ): Likewise.
45511 (_FP_CMP_UNORD): Likewise.
45512 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
45513 (FP_CMP_EQ_D): Likewise.
45514 (FP_CMP_UNORD_D): Likewise.
45515 * soft-fp/extended.h (FP_CMP_E): Likewise.
45516 (FP_CMP_EQ_E): Likewise.
45517 (FP_CMP_UNORD_E): Likewise.
45518 * soft-fp/quad.h (FP_CMP_Q): Likewise.
45519 (FP_CMP_EQ_Q): Likewise.
45520 (FP_CMP_UNORD_Q): Likewise.
45521 * soft-fp/single.h (FP_CMP_S): Likewise.
45522 (FP_CMP_EQ_S): Likewise.
45523 (FP_CMP_UNORD_S): Likewise.
45524 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
45525 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
45526 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
45527 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
45528 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
45529 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
45530 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
45531 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
45532 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
45533 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
45534 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
45535 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
45536 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
45537 to FP_CMP_Q.
45538 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
45539 FP_CMP_Q.
45540 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
45541 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
45542 FP_CMP_EQ_Q.
45543 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
45544 FP_CMP_Q.
45545 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
45546 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
45547 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
45548 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
45549 FP_CMP_EQ_Q.
45550 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
45551 FP_CMP_Q.
45552 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
45553 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
45554 FP_CMP_EQ_Q.
45555 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
45556 FP_CMP_Q.
45557 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
45558 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
45559 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
45560 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
45561 FP_CMP_EQ_Q.
45562
45563 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
45564 a subnormal result, set the underflow exception if trapping on
45565 underflow is enabled.
45566 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
45567 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
45568 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
45569 redefine to 0.
45570 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
45571 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45572 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45573 * soft-fp/extendxftf2.c (__extendxftf2): Use
45574 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
45575
45576 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
45577 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
45578 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45579 FP_HANDLE_EXCEPTIONS.
45580 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
45581 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45582 FP_HANDLE_EXCEPTIONS.
45583 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
45584 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45585 FP_HANDLE_EXCEPTIONS.
45586 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
45587 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45588 FP_HANDLE_EXCEPTIONS.
45589
45590 2014-10-08 Joseph Myers <joseph@codesourcery.com>
45591
45592 [BZ #14132]
45593 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
45594 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
45595 use INTUSE.
45596 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
45597 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
45598 Remove alias.
45599 (__adjtimex): Define using libc_hidden_ver.
45600 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
45601 Remove declaration.
45602 (ntp_gettime): Call __adjtimex directly.
45603 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
45604 Remove declaration.
45605 (ntp_gettimex): Call __adjtimex directly.
45606 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
45607 __adjtimex_internal alias.
45608
45609 2014-10-08 Roland McGrath <roland@hack.frob.com>
45610
45611 [BZ #17460]
45612 * nscd/nscd.c (more_help): Rewrite list of tables collection
45613 using xstrdup and asprintf.
45614
45615 * nscd/nscd_conf.c: Remove local xstrdup declaration.
45616
45617 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45618 Roland McGrath <roland@hack.frob.com>
45619
45620 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
45621 (do_lookup_unique): ... local function 'enter' here; update callers.
45622
45623 2014-10-06 Joseph Myers <joseph@codesourcery.com>
45624
45625 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
45626 compat_symbol calls on [SHARED].
45627 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
45628 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
45629 Remove.
45630 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45631 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
45632 (oldsetrlimit): Remove.
45633 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
45635 (lchown): New syscall entry.
45636 (oldsetrlimit): Remove.
45637 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45638 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
45639 (oldsetrlimit): Remove.
45640 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45641
45642 [BZ #14138]
45643 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
45644 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
45645 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
45646 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
45647 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
45648 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
45649 (fchown): Likewise.
45650 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
45651 (fchown): Likewise.
45652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
45653 Likewise.
45654
45655 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45656
45657 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
45658 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
45659 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
45660 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
45661 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
45662 Likewise.
45663 (__old_sem_post): Likewise.
45664
45665 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
45666
45667 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
45668 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
45669 HAVE_CLOCK_GETTIME_VSYSCALL macros.
45670 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
45671 Use INLINE_VSYSCALL macro.
45672 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
45673 __vdso_clock_gettime.
45674 * sysdeps/unix/sysv/linux/tile/init-first.c
45675 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
45676 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
45677 __vdso_clock_gettime.
45678
45679 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
45680 to set up frame more cleanly.
45681
45682 * sysdeps/tile/memcmp.c: New file.
45683
45684 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
45685
45686 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
45687 * sysdeps/tile/tilegx/strcasestr.c: New file.
45688 * sysdeps/tile/tilegx/strnlen.c: New file.
45689 * sysdeps/tile/tilegx/strstr.c: New file.
45690
45691 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
45692
45693 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
45694
45695 * nptl/tst-setuid3.c: Write errors to stdout.
45696
45697 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45698
45699 * elf/dl-deps.c
45700 (preload): New functions broken out of _dl_map_object_deps.
45701 (_dl_map_object_deps): Remove a nested function. Update call sites.
45702
45703 2014-10-01 Joseph Myers <joseph@codesourcery.com>
45704
45705 [BZ #14138]
45706 * sysdeps/unix/sysv/linux/execve.c: Remove file.
45707 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
45708
45709 2014-10-01 Steve Ellcey <sellcey@mips.com>
45710
45711 * sysdeps/mips/strcmp.S: New.
45712
45713 2014-09-30 Joseph Myers <joseph@codesourcery.com>
45714
45715 [BZ #14138]
45716 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
45717 (linkat): Likewise.
45718 (mkdirat): Likewise.
45719 (readlinkat): Likewise.
45720 (renameat): Likewise.
45721 (symlinkat): Likewise.
45722 (unlinkat): Likewise.
45723 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
45724 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
45725 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
45726 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
45727 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
45728 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
45729 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
45730
45731 2014-09-30 Will Newton <will.newton@linaro.org>
45732
45733 * math/math.h: Define long double math functions if
45734 _LIBC_TEST is defined.
45735 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
45736
45737 * localedata/Makefile: Move assignment to tests-special
45738 into an ifdef testing run-built-tests.
45739 * timezone/Makefile: Likewise.
45740
45741 2014-09-29 Joseph Myers <joseph@codesourcery.com>
45742
45743 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
45744 with $(BASH) not $(SHELL).
45745
45746 2014-09-29 Carlos O'Donell <carlos@redhat.com>
45747 Matthew LeGendre <legendre1@llnl.gov>
45748
45749 [BZ #17411]
45750 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
45751 l_reloc_result.
45752
45753 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45754
45755 * stdio-common/printf_fp.c
45756 (hack_digit): New function, broken out of ...
45757 (__printf_fp): ... local function here. Update call sites.
45758 hack_digit now takes an additional parameter that is a pointer
45759 to a struct of the referenced locals. Those locals moved inside
45760 the struct and references updated.
45761
45762 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
45763
45764 * aclocal.m4: Require autoconf 2.69.
45765 * configure: Regenerated.
45766 * sysdeps/aarch64/configure: Likewise.
45767 * sysdeps/alpha/configure: Likewise.
45768 * sysdeps/arm/armv7/configure: Likewise.
45769 * sysdeps/arm/configure: Likewise.
45770 * sysdeps/ia64/configure: Likewise.
45771 * sysdeps/mach/configure: Likewise.
45772 * sysdeps/mips/configure: Likewise.
45773 * sysdeps/s390/configure: Likewise.
45774 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
45775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
45776
45777 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
45778 file.
45779 * sysdeps/ia64/configure.ac: Likewise.
45780
45781 2014-09-26 Joseph Myers <joseph@codesourcery.com>
45782
45783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
45784 specify symbol version for ld.so. Do not include entry for
45785 libpthread.
45786 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
45787 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
45788 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
45789
45790 [BZ #14171]
45791 * Makeconfig [$(build-shared) = yes]
45792 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
45793 makefiles.
45794 [$(build-shared) = yes && $(soversions.mk-done) = t]
45795 ($(common-objpfx)gnu/lib-names.h): Remove rule.
45796 [$(build-shared) = yes && $(soversions.mk-done) = t]
45797 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
45798 to Makerules.
45799 [$(build-shared) = yes && $(soversions.mk-done) = t]
45800 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
45801 here.
45802 [$(build-shared) = yes && $(soversions.mk-done) = t]
45803 (common-generated): Don't append gnu/lib-names.h and
45804 gnu/lib-names.stmp here.
45805 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
45806 (lib-names-h-abi): New variable.
45807 [$(build-shared) = yes && $(soversions.mk-done) = t]
45808 (lib-names-stmp-abi): Likewise.
45809 [$(build-shared) = yes && $(soversions.mk-done) = t &&
45810 abi-variants] (before-compile): Append
45811 $(common-objpfx)$(lib-names-h-abi).
45812 [$(build-shared) = yes && $(soversions.mk-done) = t &&
45813 abi-variants] (common-generated): Append gnu/lib-names.h.
45814 [$(build-shared) = yes && $(soversions.mk-done) = t &&
45815 abi-variants] (install-others-nosubdir): Depend on
45816 $(inst_includedir)/$(lib-names-h-abi).
45817 [$(build-shared) = yes && $(soversions.mk-done) = t &&
45818 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
45819 [$(build-shared) = yes && $(soversions.mk-done) = t]
45820 ($(common-objpfx)$(lib-names-h-abi)): New rule.
45821 [$(build-shared) = yes && $(soversions.mk-done) = t]
45822 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
45823 [$(build-shared) = yes && $(soversions.mk-done) = t]
45824 (common-generated): Append $(lib-names-h-abi) and
45825 $(lib-names-stmp-abi).
45826 * scripts/lib-names.awk: Do not handle multi being set.
45827 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
45828 Remove variable.
45829 (abi-lp64_be-ld-soname): Likewise.
45830 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
45831 Likewise.
45832 (abi-hard-ld-soname): Likewise.
45833 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
45834 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
45835 Remove variable.
45836 (abi-o32_hard-ld-soname): Likewise.
45837 (abi-o32_soft_2008-ld-soname): Likewise.
45838 (abi-o32_hard_2008-ld-soname): Likewise.
45839 (abi-n32_soft-ld-soname): Likewise.
45840 (abi-n32_hard-ld-soname): Likewise.
45841 (abi-n32_soft_2008-ld-soname): Likewise.
45842 (abi-n32_hard_2008-ld-soname): Likewise.
45843 (abi-n64_soft-ld-soname): Likewise.
45844 (abi-n64_hard-ld-soname): Likewise.
45845 (abi-n64_soft_2008-ld-soname): Likewise.
45846 (abi-n64_hard_2008-ld-soname): Likewise.
45847 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
45848 Likewise.
45849 (abi-64-v2-ld-soname): Likewise.
45850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
45851 ld.so entries.
45852 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
45853 variable.
45854 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
45855 entry.
45856 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
45857 variable.
45858 (abi-64-ld-soname): Likewise.
45859 (abi-x32-ld-soname): Likewise.
45860 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
45861 entry.
45862 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
45863
45864 2014-09-23 Joseph Myers <joseph@codesourcery.com>
45865
45866 [BZ #14138]
45867 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
45868 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
45869 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
45870 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
45871 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
45872 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
45873 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
45874 syscall entry for GLIBC_2.2 symbol version.
45875 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
45876 Likewise.
45877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
45878 (setrlimit): Likewise.
45879 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
45880 Likewise.
45881
45882 2014-09-23 Will Newton <will.newton@linaro.org>
45883
45884 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
45885 _LINUX_ARM_SYSDEP_H include guard too.
45886 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
45887 define.
45888
45889 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
45890
45891 * sysdeps/unix/sysv/linux/eventfd.c:
45892 Make first argument unsigned.
45893 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
45894 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
45895
45896 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
45897
45898 [BZ #16852]
45899 * socket/recvmmsg.c (recvmmsg): Drop const argument.
45900 * socket/sys/socket.h: Likewise.
45901 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
45902
45903 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45904
45905 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
45906
45907 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
45908
45909 * time/tst-ftime.c: New test.
45910 * time/Makefile (tests): Add tst-ftime.
45911
45912 2014-09-17 Joseph Myers <joseph@codesourcery.com>
45913
45914 * soft-fp/extended.h: Fix comment formatting.
45915 * soft-fp/op-1.h: Likewise.
45916 * soft-fp/op-2.h: Likewise.
45917 * soft-fp/op-4.h: Likewise.
45918 * soft-fp/op-8.h: Likewise.
45919 * soft-fp/op-common.h: Likewise.
45920 * soft-fp/soft-fp.h: Likewise.
45921
45922 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
45923
45924 2014-09-16 Joseph Myers <joseph@codesourcery.com>
45925
45926 [BZ #6652]
45927 * Makeconfig (soversions-default-setname): Remove variable.
45928 ($(common-objpfx)soversions.i): Don't pass default_setname to
45929 soversions.awk.
45930 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
45931 oldest_abi to abi-versions.awk.
45932 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
45933 * config.make.in (oldest-abi): Remove variable.
45934 * configure.ac (--enable-oldest-abi): Remove configure option.
45935 * configure: Regenerated.
45936 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
45937 text.
45938 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
45939 * scripts/soversions.awk: Do not handle default_setname variable.
45940 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
45941 variable.
45942 * sysdeps/mach/hurd/configure: Regenerated.
45943 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
45944 variable.
45945 * sysdeps/unix/sysv/linux/configure: Regenerated.
45946
45947 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
45948
45949 * elf/Makefile (CFLAGS-interp.c): Remove.
45950 ($(elf-objpfx)runtime-linker.h): Generate header with linker
45951 path string.
45952 * elf/interp.c: Include generated runtime-linker.h
45953
45954 * Makerules (lib%.so): Don't include $(+interp) in
45955 prerequisites.
45956 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
45957 * dlfcn/eval.c: Remove file.
45958
45959 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
45960 macros.
45961
45962 [BZ #17266]
45963 * misc/sys/cdefs.h: Define __extern_always_inline for clang
45964 4.2 and newer.
45965
45966 [BZ #17370]
45967 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
45968
45969 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
45970 Jakub Jelinek <jakub@redhat.com>
45971
45972 [BZ #17266]
45973 * libio/stdio.h: Check definition of __fortify_function
45974 instead of __extern_always_inline to include bits/stdio2.h.
45975 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
45976 check if __extern_always_inline is defined.
45977 [__USE_MISC || __USE_XOPEN]: Likewise.
45978 [__USE_ISOC99] Likewise.
45979 * misc/sys/cdefs.h (__fortify_function): Define only if
45980 __extern_always_inline is defined.
45981 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
45982 __extern_always_inline and __extern_inline only for g++-4.3
45983 and newer or a compatible gcc.
45984
45985 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
45986
45987 [BZ #17371]
45988 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
45989 last change to handle zero prefix length.
45990
45991 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
45992
45993 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
45994 _SC_REGEX_VERSION.
45995
45996 * posix/getconf.c (vars): Add _POSIX_IPV6 and
45997 _POSIX_RAW_SOCKETS.
45998
45999 2014-09-13 Allan McRae <allan@archlinux.org>
46000
46001 * po/ru.po: Update Russian translation from translation project.
46002
46003 2014-09-12 Roland McGrath <roland@hack.frob.com>
46004
46005 * locale/programs/locale.c (show_locale_vars): Inline local function
46006 into its sole call site. Clean up some style nits.
46007 (print_item): New function, broken out of ...
46008 (show_info): ... local function here. Clean up style nits.
46009
46010 * locale/programs/ld-ctype.c (set_one_default): New function, broken
46011 out of ...
46012 (set_class_defaults): ... local function set_default here.
46013 Define set_default as a macro locally to pass constant parameters.
46014 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
46015 rather than a shared local.
46016
46017 * stdlib/rpmatch.c (try): New function, broken out of ...
46018 (rpmatch): ... local function here. Also, prototypify definition.
46019
46020 2014-09-12 Joseph Myers <joseph@codesourcery.com>
46021
46022 * scripts/soversions.awk: Do not handle configuration names.
46023 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
46024 vendor and os variables to soversions.awk.
46025 * configure.ac: Do not modify gnu-* host_os.
46026 * configure: Regenerated
46027 * shlib-versions: Remove first column with configuration names.
46028 * nptl/shlib-versions: Likewise.
46029 * nptl_db/shlib-versions: Likewise.
46030 * sysdeps/hppa/shlib-versions: Likewise.
46031 * sysdeps/m68k/shlib-versions: Likewise.
46032 * sysdeps/mach/hurd/shlib-versions: Likewise.
46033 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
46034 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
46035 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
46036 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
46037 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
46038 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
46039 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
46040 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
46041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46042 Likewise.
46043 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46044 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46045 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46046 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46047 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46048 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
46049 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
46050 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46051
46052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
46053 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
46054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
46055 Regenerated.
46056 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
46057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46058 Condition symbol version definitions on [HAVE_ELFV2_ABI].
46059
46060 * shlib-versions: Remove OS-specific entries. Moved to files in
46061 sysdeps.
46062 * sysdeps/mach/hurd/shlib-versions: New file.
46063 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46064
46065 * nptl/shlib-versions: Remove architecture-specific entries.
46066 Moved to files in sysdeps.
46067 * shlib-versions: Likewise.
46068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
46069 file.
46070 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46071 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46072 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46073 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46074
46075 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
46076 (UDP_NO_CHECK6_RX): Likewise.
46077
46078 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
46079
46080 * sysdeps/posix/sysconf.c (__sysconf): Spell
46081 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
46082
46083 2014-08-12 Florian Weimer <fweimer@redhat.com>
46084
46085 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
46086 loading.
46087 * iconv/Versions (__gconv_transliterate): Export for use from
46088 gconv modules.
46089 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
46090 (struct __gconv_trans_data, __gconv_trans_fct,
46091 __gconv_trans_context_fct, __gconv_trans_query_fct,
46092 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
46093 definitions.
46094 (struct __gconv_step_data): Remove __trans member.
46095 (__gconv_transliterate): Declaration moved from gconv_int.h. No
46096 longer hidden. Remove unused trans_data argument.
46097 * iconv/gconv_int.h (struct trans_struct): Remove definition.
46098 (__gconv_translit_find): Remove declaration.
46099 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
46100 prototype.
46101 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
46102 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
46103 trans_data argument. Add hidden definition.
46104 (__gconv_translit_find): Remove.
46105 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
46106 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
46107 * iconv/skeleton.c: Remove transliteration initialization.
46108 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
46109 __gconv_step_data initialization.
46110 * libio/iofwide.c (__libio_translit_): Remove.
46111 (_IO_fwide): Adjust struct __gconv_step_data initialization.
46112 * wcsmbs/btowc.c (__btowc): Likewise.
46113 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
46114 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
46115 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
46116 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
46117 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
46118 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
46119 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
46120 * wcsmbs/wctob.c (wctob): Likewise.
46121
46122 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
46123
46124 [BZ #16194]
46125 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
46126 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
46127 register usage.
46128 * sysdeps/x86/Makefile: Adjust.
46129
46130 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
46131 Roland McGrath <roland@hack.frob.com>
46132
46133 * locale/weight.h: Add include guard.
46134 (findidx): Make static rather than auto; take new parameters
46135 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
46136 * locale/weightwc.h: Likewise.
46137 * posix/fnmatch_loop.c
46138 (FCT): Change type of EXTRA from int32_t to wint_t.
46139 Don't include either header inside the function.
46140 Call FINDIDX rather than findidx, and pass new arguments.
46141 #undef FINDIDX at the end of the file.
46142 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
46143 FINDIDX before including fnmatch_loop.c for the non-wide version.
46144 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
46145 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
46146 for the wide version.
46147 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
46148 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
46149 Pass new arguments to findidx.
46150 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
46151 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
46152 Don't #include it inside the function. Pass new arguments to findidx.
46153 * posix/regex_internal.h
46154 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
46155 (re_string_elem_size_at): Don't #include it inside the function.
46156 Pass new arguments to findidx.
46157 * string/strcoll_l.c: #include WEIGHT_H at top level.
46158 (get_next_seq): Don't #include it inside the function.
46159 Pass new arguments to findidx.
46160 (get_next_seq_nocache): Likewise.
46161 * string/strxfrm_l.c: #include WEIGHT_H at top level.
46162 (STRXFRM): Don't #include it inside the function.
46163 Pass new arguments to findidx.
46164
46165 2014-09-11 Florian Weimer <fweimer@redhat.com>
46166
46167 [BZ #17344]
46168 * malloc/malloc.c (unlink): Turn asserts into a call to
46169 malloc_printerr.
46170
46171 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
46172
46173 [BZ #17370]
46174 * libio/wfileops (do_ftell_wide): Free OUT.
46175
46176 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
46177
46178 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
46179
46180 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46181
46182 [BZ #17363]
46183 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
46184 group if the current group is empty.
46185
46186 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46187
46188 * benchtests/bench-memset.c (test_main): Add more test from size
46189 from 32 to 512 bytes.
46190 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46191 Add POWER8 memset object.
46192 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46193 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
46194 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
46195 implementation.
46196 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
46197 Likewise.
46198 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
46199 multiarch POWER8 memset optimization.
46200 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
46201 POWER8 memset optimization.
46202
46203 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46204 Remove bzero multiarch objects.
46205 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
46206 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
46207 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
46208 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
46209 Remove define.
46210 [__bzero]: Redefine to specific name.
46211 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
46212 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
46213 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
46214 define.
46215 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46216 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46217
46218 2014-09-10 Florian Weimer <fweimer@redhat.com>
46219
46220 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
46221 warnings into errors.
46222
46223 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
46224 __cxa_thread_atexit_impl prototype.
46225
46226 2014-09-09 Steve Ellcey <sellcey@mips.com>
46227
46228 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
46229 Fix capitalization of error message.
46230
46231 2014-09-09 Steve Ellcey <sellcey@mips.com>
46232
46233 * sysdeps/mips/preconfigure: Modify ABI tests.
46234
46235 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
46236
46237 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
46238
46239 2014-09-07 Roland McGrath <roland@hack.frob.com>
46240 Carlos O'Donell <carlos@systemhalted.org>
46241
46242 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
46243 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
46244 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
46245 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
46246 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
46247 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
46248 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
46249 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
46250 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
46251 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
46252 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
46253 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
46254 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
46255 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
46256 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
46257 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
46258 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
46259 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
46260 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
46261 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
46262 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
46263 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
46264 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
46265 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
46266 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
46267 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
46268 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
46269 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
46270 Deconditionalize the code that was previously under [RESET_PID].
46271 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
46272 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
46273 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
46274 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
46275 include sysdep.h.
46276
46277 2014-09-08 Allan McRae <allan@archlinux.org>
46278
46279 * version.h (RELEASE): Set to "development".
46280 (VERSION): Set to "2.20.90"
46281
46282 2014-09-07 Allan McRae <allan@archlinux.org
46283
46284 * version.h (RELEASE): Set to "stable".
46285 (VERSION): Set to "2.20"
46286 * include/features.h (__GLIBC_MINOR__): Set to 20.
46287
46288 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
46289 Liebler.
46290
46291 * po/ko.po: Update Korean translation from translation project.
46292
46293 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
46294
46295 [BZ #17354]
46296 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
46297 macro for handling signed relocations.
46298
46299 2014-09-03 Florian Weimer <fweimer@redhat.com>
46300
46301 [BZ #17325]
46302 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
46303 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
46304 assert.
46305 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
46306 * iconvdata/ibm935.c (BODY): Likewise.
46307 * iconvdata/ibm937.c (BODY): Likewise.
46308 * iconvdata/ibm939.c (BODY): Likewise.
46309 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
46310 assert.
46311 * iconvdata/Makefile (iconv-test.out): Pass module list to test
46312 script.
46313 * iconvdata/run-iconv-test.sh: New test loop for checking for
46314 decoder crashers.
46315
46316 2014-09-02 Khem Raj <raj.khem@gmail.com>
46317
46318 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
46319 libm_hidden_ver.
46320
46321 2014-09-01 Allan McRae <allan@archlinux.org>
46322
46323 * po/eo.po: Update Esperanto translation from translation project.
46324
46325 * po/ca.po: Update Catalan translation from translation project.
46326
46327 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
46328
46329 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
46330 __proc_dostop call.
46331
46332 2014-08-27 Mark Wielaard <mjw@redhat.com>
46333
46334 [BZ #17319]
46335 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
46336 to call set_thread_area instead of hand written asm.
46337 (__NR_set_thread_area): Removed define.
46338 (TLS_FLAG_WRITABLE): Likewise.
46339 (__ASSUME_SET_THREAD_AREA): Remove check.
46340 (TLS_EBX_ARG): Remove define.
46341 (TLS_LOAD_EBX): Likewise.
46342
46343 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
46344
46345 Simplify atomicity of socket creation in bind.
46346
46347 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
46348 looking up the name after linking the file.
46349
46350 2014-08-27 Allan McRae <allan@archlinux.org>
46351
46352 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46353
46354 2014-08-26 Florian Weimer <fweimer@redhat.com>
46355
46356 [BZ #17187]
46357 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
46358 trans_compare, open_translit, __gconv_translit_find):
46359 Remove module loading code.
46360
46361 2014-08-26 Allan McRae <allan@archlinux.org>
46362
46363 * po/vi.po: Update Vietnamese translation from translation project.
46364
46365 * po/uk.po: Update Ukrainian translation from translation project.
46366
46367 * po/fr.po: Update French translation from translation project.
46368
46369 * po/ru.po: Update Russian translation from translation project.
46370
46371 * po/pl.po: Update Polish translation from translation project.
46372
46373 * po/cs.po: Update Czech translation from translation project.
46374
46375 * po/de.po: Update German translation from translation project.
46376
46377 * po/bg.po: Update Bulgarian translation from translation project.
46378
46379 * po/sv.po: Update Sweedish translation from translation project.
46380
46381 * po/nl.po: Update Dutch translation from translation project.
46382
46383 * po/es.po: Update Spanish translation from translation project.
46384
46385 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46386
46387 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
46388
46389 * catgets/Makefile (CPPFLAGS-gencat): Remove.
46390 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
46391 (CPPFLAGS-iconvconfig): Likewise.
46392 * timezone/Makefile (CPPFLAGS-zic): Likewise.
46393
46394 * include/libc-symbols.h: Remove unnecessary check for
46395 NOT_IN_libc.
46396 * nptl/pthreadP.h: Likewise.
46397 * sysdeps/aarch64/setjmp.S: Likewise.
46398 * sysdeps/alpha/setjmp.S: Likewise.
46399 * sysdeps/arm/sysdep.h: Likewise.
46400 * sysdeps/i386/setjmp.S: Likewise.
46401 * sysdeps/m68k/setjmp.c: Likewise.
46402 * sysdeps/posix/getcwd.c: Likewise.
46403 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
46404 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
46405 * sysdeps/s390/s390-32/setjmp.S: Likewise.
46406 * sysdeps/s390/s390-64/setjmp.S: Likewise.
46407 * sysdeps/sh/sh3/setjmp.S: Likewise.
46408 * sysdeps/sh/sh4/setjmp.S: Likewise.
46409 * sysdeps/unix/alpha/sysdep.h: Likewise.
46410 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
46411 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46412 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
46413 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
46414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46416 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46417 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46418 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46419 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46420 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46421 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
46422 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46423 * sysdeps/x86_64/setjmp.S: Likewise.
46424
46425 2014-08-13 Joseph Myers <joseph@codesourcery.com>
46426
46427 [BZ #17263]
46428 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
46429 <stdint.h>.
46430 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
46431 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
46432
46433 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
46434
46435 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
46436
46437 [BZ #17262]
46438 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
46439 and __x86_64__ when disabling x87 inline functions.
46440
46441 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
46442
46443 [BZ #17259]
46444 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
46445 asm statement with __cpuid_count.
46446
46447 2014-08-12 Mike Frysinger <vapier@gentoo.org>
46448
46449 * configure.ac: Change __ehdr_start code to dereference the struct.
46450 Run readelf on the output to look for relocations.
46451 * configure: Regenerated.
46452
46453 2014-08-12 Joseph Myers <joseph@codesourcery.com>
46454
46455 [BZ #17261]
46456 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
46457 value to 0.
46458 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
46459
46460 2014-08-12 Roland McGrath <roland@hack.frob.com>
46461
46462 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
46463
46464 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
46465
46466 [BZ #16892]
46467 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
46468 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
46469
46470 2014-08-12 Sean Anderson <seanga2@gmail.com>
46471
46472 * malloc/malloc.c: Fix typo in comment.
46473
46474 2014-08-09 Allan McRae <allan@archlinux.org>
46475
46476 * Regenerate libc.po.
46477
46478 2014-08-08 Mike Frysinger <vapier@gentoo.org>
46479
46480 * intl/tst-gettext2.sh: Check every lang file for creation.
46481
46482 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
46483
46484 * sysdeps/aarch64/fpu/math_private.h
46485 (libc_feholdsetround_noex_aarch64_ctx): New function.
46486
46487 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
46488
46489 * sysdeps/arm/armv6/strcpy.S (strcpy):
46490 Fix performance issue in misaligned cases.
46491
46492 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46493
46494 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
46495 Move definition from termios.h.
46496 (struct termio): Likewise.
46497 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46498 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46499 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46500 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46501 Likewise.
46502 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
46503 Move definition to ioctl-types.h
46504 (struct termio): Likewise.
46505 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46506 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46507 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46508 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46509 Likewise.
46510
46511 2014-08-05 Richard Henderson <rth@redhat.com>
46512
46513 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
46514 exceptions.
46515 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
46516 Add fraiseexcpt.
46517 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
46518 Use __feraiseexcept.
46519 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
46520 Protect libm symbols with IS_IN_libm.
46521
46522 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
46523
46524 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
46525
46526 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
46527
46528 2014-08-04 Will Newton <will.newton@linaro.org>
46529
46530 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
46531 file.
46532
46533 2014-08-04 Mike Frysinger <vapier@gentoo.org>
46534
46535 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
46536 variants for each function.
46537
46538 2014-08-04 Roland McGrath <roland@hack.frob.com>
46539
46540 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
46541 appended ...
46542 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
46543 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
46544 appended ...
46545 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
46546 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
46547 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
46548 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
46549 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
46550 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
46551 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
46552 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
46553 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
46554 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
46555 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
46556 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
46557 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
46558 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
46559 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
46560 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
46561 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
46562 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
46563 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
46564 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
46565 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
46566 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
46567 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
46568 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
46569 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
46570 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
46571 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
46572 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
46573 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
46574 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
46575 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
46576 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
46577 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
46578 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
46579 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
46580 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
46581 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
46582 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
46583 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
46584 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
46585 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
46586 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
46587 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
46588 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
46589 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
46590 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
46591 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
46592 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
46593 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
46594 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
46595 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
46596 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
46597 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
46598 Update #include.
46599 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
46600 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
46601
46602 2014-08-04 Roland McGrath <roland@hack.frob.com>
46603
46604 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
46605 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
46606 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
46607 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
46608 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
46609 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
46610
46611 2014-08-04 Roland McGrath <roland@hack.frob.com>
46612
46613 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
46614 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
46615 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46616 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
46617
46618 2014-08-04 Roland McGrath <roland@hack.frob.com>
46619
46620 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
46621 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
46622 (__libc_vfork): Define function under this name.
46623 (__vfork): Define as an alias.
46624 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
46625 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
46626
46627 2014-08-04 Roland McGrath <roland@hack.frob.com>
46628
46629 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
46630 that was previously under [RESET_PID].
46631 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
46632
46633 2014-08-04 Andreas Schwab <schwab@suse.de>
46634
46635 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
46636
46637 2014-08-03 Mike Frysinger <vapier@gentoo.org>
46638
46639 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
46640 (main): Likewise.
46641
46642 2014-08-01 Roland McGrath <roland@hack.frob.com>
46643
46644 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
46645
46646 2014-08-01 Richard Henderon <rth@redhat.com>
46647
46648 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
46649 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
46650 typo in exact zero test.
46651 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46652 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46653 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46654
46655 2014-08-01 Roland McGrath <roland@hack.frob.com>
46656
46657 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
46658 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
46659 * sysdeps/arm/sysdep.h: ... here.
46660 [!__ASSEMBLER__]: Include <stdint.h>.
46661
46662 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
46663
46664 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
46665 (HAVE_WCTYPE_H): Likewise.
46666 (HAVE_ISWCTYPE): Likewise.
46667 (ENABLE_NLS): Likewise.
46668 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
46669 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
46670
46671 * posix/regex_internal.c: Check if DEBUG is defined and is
46672 set.
46673
46674 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
46675 (HAVE_MBSRTOWCS): Likewise.
46676 * posix/fnmatch.c: Include string.h unconditionally.
46677
46678 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
46679
46680 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
46681 reversal.
46682
46683 2014-07-31 Roland McGrath <roland@hack.frob.com>
46684
46685 * sysdeps/generic/safe-fatal.h: New file.
46686 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
46687 * nptl/forward.c: Include it.
46688 (__pthread_unwind): Use __safe_fatal as default action, rather
46689 than a bogus use of INTERNAL_SYSCALL that could never work.
46690
46691 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
46692 * configure.ac (libc_cv_builtin_trap): New test.
46693 * configure: Regenerated.
46694 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
46695 (ABORT_INSTRUCTION): Define using __builtin_trap.
46696
46697 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
46698 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
46699 * sysdeps/nptl/nptl-signals.h: New file.
46700 * nptl/pthreadP.h: Include <nptl-signals.h>.
46701
46702 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
46703
46704 * sysdeps/s390/s390-64/utf16-utf32-z9.c
46705 (ONE_DIRECTION): Define.
46706 * sysdeps/s390/s390-64/utf8-utf16-z9.c
46707 (ONE_DIRECTION): Define.
46708 * sysdeps/s390/s390-64/utf8-utf32-z9.c
46709 (ONE_DIRECTION): Define.
46710
46711 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
46712
46713 * sysdeps/s390/Makefile: Delete file.
46714 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
46715 * sysdeps/s390/__longjmp.c: Delete file.
46716 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
46717 Remove fields __flags and __reserved.
46718 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
46719 and add versioning.
46720 * sysdeps/s390/rtld-__longjmp.c: Delete file.
46721 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
46722 * sysdeps/s390/rtld-setjmp.S: Likewise.
46723 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
46724 * sysdeps/s390/s390-32/__longjmp.c: ... here.
46725 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
46726 * sysdeps/s390/s390-32/setjmp.S: ... here.
46727 Add versioning.
46728 (__sigsetjmp): Remove setting __flags field.
46729 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
46730 * sysdeps/s390/s390-64/__longjmp.c: ... here.
46731 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
46732 * sysdeps/s390/s390-64/setjmp.S: ... here.
46733 Add versioning.
46734 (__sigsetjmp): Remove setting __flags field.
46735 * sysdeps/s390/setjmp.S: Delete file.
46736 * sysdeps/s390/sigjmp.c: Likewise.
46737 * sysdeps/s390/v1-longjmp.c: Likewise.
46738 * sysdeps/s390/v1-setjmp.h: Likewise.
46739 * sysdeps/s390/v1-sigjmp.c: Likewise.
46740 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
46741 Remove v1-longjmp_chk.
46742 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
46743 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
46744 Include debug/longjmp_chk.c and add versioning.
46745 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
46746 Include nptl/pt-longjmp.c and add versioning.
46747 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
46748 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
46749 Include __longjmp.c.
46750 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
46751 Move to ...
46752 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
46753 (__getcontext): Remove setting __flags field.
46754 Add versioning.
46755 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
46756 Don't restore upper high grps.
46757 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
46758 Likewise.
46759 (__swapcontext): Remove setting uc_flags field.
46760 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
46761 Delete file.
46762 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
46763 Include __longjmp.c.
46764 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
46765 Move to ...
46766 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
46767 (__getcontext): Remove setting __flags field.
46768 Add versioning.
46769 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
46770 (__swapcontext): Remove setting uc_flags field.
46771 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
46772 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
46773 Remove fields uc_high_gprs and __reserved.
46774 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
46775 New file with reverted content.
46776 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
46777 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
46778 Regenerated.
46779 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
46780 Regenerated.
46781
46782 2014-07-31 Andreas Schwab <schwab@suse.de>
46783
46784 * config.h.in (HAVE_IFUNC): Define to 0.
46785 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
46786 definedness.
46787
46788 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
46789
46790 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46791 memmove-avx-unaligned, memcpy-avx-unaligned and
46792 mempcpy-avx-unaligned.
46793 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46794 Add tests for AVX memcpy functions.
46795 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
46796 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
46797 memcpy_chk.
46798 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
46799 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
46800 memmove_chk.
46801 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
46802 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
46803 mempcpy_chk.
46804 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
46805 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
46806 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
46807
46808 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46809
46810 [BZ #17213]
46811 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
46812 powerpc64le.
46813
46814 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
46815
46816 [BZ #16839]
46817 * manual/llio.texi: Add section about open file description locks.
46818 * manual/examples/ofdlocks.c: Example of open file description
46819 lock usage.
46820 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
46821 F_OFD_SETLK, and F_OFD_SETLKW.
46822
46823 2014-07-23 Allan McRae <allan@archlinux.org>
46824
46825 * po/es.po: Update Spanish translation from translation project.
46826
46827 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
46828
46829 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
46830
46831 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
46832
46833 [BZ #17078]
46834 * sysdeps/arm/dl-machine.h (elf_machine_rela)
46835 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
46836 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
46837
46838 2014-07-17 Joseph Myers <joseph@codesourcery.com>
46839
46840 [BZ #17088]
46841 * math/fesetenv.c (__fesetenv)
46842 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
46843 * math/feupdateenv.c (__feupdateenv)
46844 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
46845
46846 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
46847 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
46848 (__ASSUME_SOCKETCALL): Do not define.
46849
46850 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
46851 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
46852 (__ASSUME_SOCKETCALL): Do not define.
46853 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
46854 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
46855 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46856 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
46857 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46858 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
46859 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46860 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46861
46862 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
46863 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
46864 (__ASSUME_SOCKETCALL): Do not define.
46865 (__ASSUME_IPC64): Define unconditionally.
46866 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
46867 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46868 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
46869 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46870 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
46871 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46872 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
46873 Likewise.
46874
46875 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
46876 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
46877 (__ASSUME_SOCKETCALL): Do not define.
46878 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
46879 (__ASSUME_FUTEX_LOCK_PI): Likewise.
46880 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46881 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
46882 (__ASSUME_REQUEUE_PI): Define unconditionally.
46883 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
46884 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
46885 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46886 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
46887 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46888 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46889
46890 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
46891 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
46892 (__ASSUME_SOCKETCALL): Do not define.
46893 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
46894 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46895 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46896 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
46897 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46898 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46899
46900 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
46901 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
46902 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46903 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
46904 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46905 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
46906 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46907 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
46908 (__ASSUME_GETCPU_SYSCALL): Likewise.
46909
46910 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
46911 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
46912 cases for individual architectures.
46913 * sysdeps/gnu/configure: Regenerated.
46914 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
46915 LIBC_SLIBDIR_RTLDDIR.
46916 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
46917 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
46918 LIBC_SLIBDIR_RTLDDIR.
46919 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
46920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
46921 LIBC_SLIBDIR_RTLDDIR.
46922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
46923 Regenerated.
46924 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
46925 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
46926 file.
46927 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
46928 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
46929 file.
46930 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
46931 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
46932 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
46933 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
46934
46935 * sysdeps/aarch64/shlib-versions: Move to ...
46936 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
46937 * sysdeps/alpha/shlib-versions: Move to ...
46938 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
46939 * sysdeps/arm/shlib-versions: Move to ...
46940 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
46941 * sysdeps/hppa/shlib-versions: Move all contents except for
46942 libgcc_s entry to ...
46943 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
46944 entry from ...
46945 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
46946 * sysdeps/ia64/shlib-versions: Move to ...
46947 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
46948 entry from ...
46949 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
46950 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
46951 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
46952 * sysdeps/microblaze/shlib-versions: Move to ...
46953 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
46954 * sysdeps/mips/shlib-versions: Move to ...
46955 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
46956 entry from ...
46957 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
46958 * sysdeps/tile/shlib-versions: Move to ...
46959 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
46960 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
46961 from ...
46962 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
46963 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
46964 entry from ...
46965 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
46966
46967 2014-07-17 Will Newton <will.newton@linaro.org>
46968
46969 * sysdeps/arm/bits/atomic.h
46970 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
46971 (__arch_compare_and_exchange_bool_16_int): Likewise.
46972 (__arch_compare_and_exchange_bool_64_int): Likewise.
46973
46974 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
46975 into an #else block.
46976
46977 2014-07-16 Roland McGrath <roland@hack.frob.com>
46978
46979 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
46980 just Linux configurations. Test empirically that the compiler sets
46981 __ARM_EABI__, rather than using the tuple to decide.
46982 * sysdeps/arm/preconfigure: Regenerated.
46983 * sysdeps/unix/sysv/linux/arm/configure: File removed.
46984 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
46985 contents appended ...
46986 * sysdeps/arm/configure.ac: ... here.
46987 * sysdeps/arm/configure: Regenerated.
46988
46989 2014-07-15 Roland McGrath <roland@hack.frob.com>
46990
46991 * nptl/pthread_kill.c: New file.
46992 * nptl/pthread_sigmask.c: New file.
46993 * nptl/pthread_sigqueue.c: New file.
46994
46995 * sysdeps/nptl/lowlevellock.h: New file.
46996 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
46997 * sysdeps/nptl/lowlevellock-futex.h: New file.
46998
46999 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
47000 Remove dead declarations.
47001
47002 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
47003
47004 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
47005 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
47006 config-cflags-avx2.
47007 * sysdeps/x86_64/configure.ac: Likewise.
47008 * sysdeps/i386/configure: Regenerated.
47009 * sysdeps/x86_64/configure: Likewise.
47010 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47011 memset-avx2 only if config-cflags-avx2 is yes.
47012 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47013 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
47014 defined.
47015 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
47016 only if HAVE_AVX2_SUPPORT is defined.
47017 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47018
47019 2014-07-14 Alan Modra <amodra@gmail.com>
47020
47021 [BZ #17153]
47022 * elf/elf.h (DT_PPC64_NUM): Correct value.
47023 * NEWS: Add to fixed bug list.
47024
47025 2014-07-13 Jim Meyering <meyering@fb.com>
47026
47027 [BZ 17150]
47028 regex: don't deref NULL upon heap allocation failure
47029 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
47030 failure in one more place.
47031 To trigger the segfault, configure grep -with-included-regex,
47032 build it, and run these commands:
47033 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
47034
47035 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
47036
47037 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
47038
47039 2014-07-11 Richard Henderson <rth@redhat.com>
47040
47041 * sysdeps/aarch64/libm-test-ulps: Update.
47042
47043 2014-07-10 Florian Weimer <fweimer@redhat.com>
47044
47045 [BZ #17135]
47046 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
47047 * nptl/allocatestack.c (__nptl_setxid_error): New function.
47048 (__nptl_setxid): Initialize error member. Call
47049 __nptl_setxid_error.
47050 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
47051 * nptl/descr.h (struct xid_command): Add error member.
47052 * nptl/tst-setuid3.c: New file.
47053 * nptl/Makefile (tests): Add it.
47054
47055 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47056
47057 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
47058 New define.
47059 (__lll_trylock): Use __lll_base_trylock.
47060 (__lll_cond_trylock): Likewise.
47061
47062 2014-07-10 Roland McGrath <roland@hack.frob.com>
47063
47064 * nptl/pthread_create.c (start_thread): Use atomic_or and
47065 lll_futex_wake directly rather than lll_robust_dead.
47066 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47067 (lll_robust_dead): Macro removed.
47068 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
47069 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47070 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47071 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47072 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47073 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47074 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47075 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47076 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47077 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47078 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47079 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47080 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47081 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47082 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47083
47084 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
47085 Use atomic_compare_and_exchange_val_acq directly rather than
47086 lll_robust_trylock.
47087 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47088 (__lll_robust_trylock, lll_robust_trylock): Removed.
47089 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47090 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47091 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47092 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47093 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47094 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47095 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47096 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47097 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47098 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47099 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47100 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47101 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47102 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47103
47104 2014-07-02 Florian Weimer <fweimer@redhat.com>
47105
47106 * manual/locale.texi (Locale Names): New section documenting
47107 locale name syntax. Adjust menu and node chaining accordingly.
47108 (Choosing Locale): Reference Locale Names, Locale Categories.
47109 Mention setting LC_ALL=C. Reflect that name syntax is now
47110 documented.
47111 (Locale Categories): New section title. Reference Locale Names.
47112 LC_ALL is an environment variable, but not a category.
47113 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
47114 description, now in Locale Name. Reference that section. Locale
47115 name syntax is now documented.
47116
47117 2014-07-02 Florian Weimer <fweimer@redhat.com>
47118
47119 [BZ #17137]
47120 * locale/findlocale.c (name_present, valid_locale_name): New
47121 functions.
47122 (_nl_find_locale): Use the loc_name variable to store name
47123 candidates. Call name_present and valid_locale_name to check and
47124 validate locale names. Return an error if the locale is invalid.
47125
47126 2014-07-02 Florian Weimer <fweimer@redhat.com>
47127
47128 * locale/setlocale.c (setlocale): Use strdup for allocating
47129 composite name copy.
47130
47131 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
47132
47133 Sync up with gnulib.
47134 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
47135 [!_LIBC && ENABLE_NLS]: Include gettext.h.
47136 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
47137 and _GL_ARG_NONNULL.
47138 [USE_UNLOCKED_IO]: Include unlocked-io.h.
47139 [!_LIBC]: Include code for Windows and Cygwin.
47140 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
47141 Include prototype for int strerror_r.
47142 [!_LIBC] (is_open): New function.
47143 (flush_stdout): New function.
47144 (print_errno_message): Use it.
47145 (error): Likewise.
47146 (error_at_line): Likewise.
47147 (error_tail) Add function attribute macros. Use
47148 __builtin_expect.
47149
47150 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
47151
47152 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
47153
47154 * io/ftw.c: Include sys/param.h unconditionally.
47155
47156 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
47157
47158 [BZ #17125]
47159 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
47160 libc_freeres_ptr.
47161 (freecache): New function to free CACHE on exit.
47162
47163 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
47164 initialization.
47165
47166 2014-07-09 David S. Miller <davem@davemloft.net>
47167
47168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47169
47170 * sysdeps/sparc/nptl/internaltypes.h: Delete.
47171 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
47172 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
47173 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
47174 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
47175 * sysdeps/sparc/nptl/sem_init.c: Likewise.
47176 * sysdeps/sparc/nptl/sem_post.c: Likewise.
47177 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
47178 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
47179 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
47180 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
47181 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
47182 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
47183
47184 2014-07-09 Andreas Schwab <schwab@suse.de>
47185
47186 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
47187 output.
47188 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
47189 (do_test): Likewise.
47190
47191 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47192
47193 2014-07-09 Will Newton <will.newton@linaro.org>
47194
47195 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
47196 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
47197 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
47198 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
47199 * sysdeps/hppa/start.S (_start): Likewise.
47200
47201 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
47202
47203 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
47204
47205 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
47206 defined.
47207
47208 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
47209
47210 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
47211 after checking that it is non-NULL.
47212
47213 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
47214
47215 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47216
47217 * sysdeps/powerpc/memmove.c: Remove file.
47218 * sysdeps/powerpc/powerpc32/power4/memcopy.h
47219 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
47220 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
47221 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
47222 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
47223 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
47224 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
47225 string memmove instead of removed powerpc one.
47226
47227 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
47228 [weak_alias]: Fix compiler warning due trailing data.
47229 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
47230 [weak_alias]: Likewise.
47231 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
47232 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
47233
47234 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47235 (__libc_ifunc_impl_list): Add memmove functions.
47236
47237 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
47238
47239 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
47240 Remove code.
47241 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
47242 Likewise.
47243 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
47244 Likewise.
47245 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
47246 Likewise.
47247 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
47248 Likewise.
47249 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
47250 Likewise.
47251 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
47252 Likewise.
47253 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
47254 Likewise.
47255 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
47256 Likewise.
47257 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
47258 Likewise.
47259 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
47260 Likewise.
47261 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
47262 Likewise.
47263 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
47264 Likewise.
47265 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
47266 Likewise.
47267 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
47268 Likewise.
47269 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
47270 Likewise.
47271 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
47272 Likewise.
47273
47274 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47275
47276 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
47277 to avoid alignment traps in non-cacheable memory.
47278 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47279
47280 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
47281 multiarch objects.
47282 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
47283 file: multiarch power7 memmove.
47284 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
47285 multiarch default memmove.
47286 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
47287 multiarch memove for powerpc32/power4.
47288
47289 * string/bcopy.c: Use full path to include memmove.c.
47290 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
47291 multiarch objects.
47292 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
47293 bcopy for powerpc64.
47294 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
47295 bcopy for powerpc64.
47296 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
47297 and memmove implementations.
47298 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
47299 optimized multiarch memmove for POWER7/powerpc64.
47300 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
47301 default multiarch memmove for powerpc64.
47302 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
47303 multiarch for powerpc64.
47304 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
47305 for POWER7/powerpc64.
47306 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
47307 memmove for POWER7/powerpc64.
47308
47309 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
47310 glibc default one.
47311
47312 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
47313 __ELF_NATIVE_CLASS equal to 64.
47314
47315 2014-07-07 Roland McGrath <roland@hack.frob.com>
47316
47317 * sysdeps/nptl/lowlevellock.h: File removed.
47318
47319 * NEWS: NPTL is no longer an add-on!
47320 * nptl/internaltypes.h: Moved ...
47321 * sysdeps/nptl/internaltypes.h: ... here.
47322 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
47323 * sysdeps/nptl/fork.c: Likewise.
47324 * sysdeps/nptl/gai_misc.h: Likewise.
47325 * sysdeps/nptl/librt-cancellation.c: Likewise.
47326 * sysdeps/nptl/jmp-unwind.c: Likewise.
47327 * sysdeps/nptl/setxid.h: Likewise.
47328 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
47329 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
47330 * sysdeps/unix/sysv/linux/arm/Implies: New file.
47331 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
47332 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
47333 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
47334 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
47335 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
47336 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
47337 * sysdeps/unix/sysv/linux/mips/Implies: New file.
47338 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
47339 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
47340 * sysdeps/unix/sysv/linux/sh/Implies: New file.
47341 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
47342 * sysdeps/unix/sysv/linux/tile/Implies: New file.
47343 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
47344 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
47345 * nptl/Makeconfig: Moved ...
47346 * sysdeps/nptl/Makeconfig: ... here.
47347 * nptl/configure: File removed.
47348 * nptl/ANNOUNCE: File removed.
47349 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
47350 * sysdeps/unix/sysv/linux/configure: Regenerated.
47351
47352 * nptl/Makefile (routines): Add libc_pthread_init,
47353 libc_multiple_threads, register-atfork and unregister-atfork.
47354 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
47355 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
47356 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
47357 pthread-pi-defines.sym, structsem.sym.
47358 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
47359 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
47360 [$(subdir) = nptl] (tests): Add tst-setgetname.
47361 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
47362 * sysdeps/unix/sysv/linux/sigaction.c: Just include
47363 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
47364 [!LIBC_SIGACTION]: Remove aliases.
47365 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
47366 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
47367 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
47368 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
47369 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
47370 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
47371 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47372 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47373 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
47374 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
47375 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
47376 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
47377 __libc_allocate_rtsig_private.
47378 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
47379 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
47380 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
47381 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
47382 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
47383 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
47384 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
47385 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
47386 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
47387 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
47388 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
47389 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
47390 * nptl/internaltypes.h: ... here.
47391 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
47392 * sysdeps/nptl/jmp-unwind.c: ... here.
47393 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
47394 * nptl/libc-lowlevellock.c: ... here.
47395 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
47396 * nptl/libc_multiple_threads.c: ... here.
47397 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
47398 * nptl/libc_pthread_init.c: ... here.
47399 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
47400 * nptl/lowlevelbarrier.sym: ... here.
47401 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
47402 * nptl/lowlevelcond.sym: ... here.
47403 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
47404 * nptl/lowlevellock.c: ... here.
47405 * nptl/lowlevellock.h: Moved ...
47406 * sysdeps/nptl/lowlevellock.h: ... here.
47407 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
47408 * nptl/lowlevelrobustlock.c: ... here.
47409 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
47410 * nptl/lowlevelrobustlock.sym: ... here.
47411 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
47412 * nptl/lowlevelrwlock.sym: ... here.
47413 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
47414 * nptl/pt-fork.c: ... here.
47415 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
47416 * nptl/pthread-pi-defines.sym: ... here.
47417 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
47418 * nptl/pthread_attr_getaffinity.c: ... here.
47419 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
47420 * nptl/pthread_attr_setaffinity.c: ... here.
47421 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
47422 * nptl/pthread_mutex_cond_lock.c: ... here.
47423 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
47424 Update #include.
47425 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
47426 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
47427 * nptl/pthread_once.c: ... here, replacing old file.
47428 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
47429 * nptl/pthread_yield.c: ... here.
47430 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
47431 * nptl/register-atfork.c: ... here.
47432 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
47433 * nptl/sem_post.c: ... here.
47434 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
47435 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
47436 * nptl/sem_timedwait.c: ... here.
47437 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
47438 * nptl/sem_trywait.c: ... here.
47439 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
47440 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
47441 * nptl/sem_wait.c: ... here.
47442 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
47443 * nptl/structsem.sym: ... here.
47444 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
47445 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
47446 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
47447 * nptl/unregister-atfork.c: ... here.
47448 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
47449 * nptl/unwindbuf.sym: ... here.
47450 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
47451 * sysdeps/nptl/fork.c: ... here.
47452 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
47453 * sysdeps/nptl/fork.h: ... here.
47454 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
47455 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
47456 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
47457 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
47458 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
47459 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
47460 * sysdeps/unix/sysv/linux/getpid.c: ... here.
47461 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
47462 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
47463 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
47464 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
47465 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
47466 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
47467 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
47468 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
47469 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
47470 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
47471 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
47472 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
47473 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
47474 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
47475 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
47476 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
47477 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
47478 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
47479 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
47480 * sysdeps/unix/sysv/linux/raise.c: ... here.
47481 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
47482 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
47483 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
47484 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
47485 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
47486 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
47487 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
47488 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
47489 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
47490 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
47491 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
47492 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
47493 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
47494 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
47495 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
47496
47497 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
47498
47499 * sysdeps/generic/memcopy.h: Add comment for
47500 MEMCPY_OK_FOR_FWD_MEMMOVE.
47501
47502 2014-07-04 Will Newton <will.newton@linaro.org>
47503
47504 * string/memchr.c: Merge from gnulib.
47505 [_LIBC]: Remove conditionals.
47506 (__ptr_t): Remove define.
47507 (LONG_MAX_32_BITS): Likewise.
47508 (LONG_MAX): Likewise.
47509 (MEMCHR): Use ANSI prototype and optimize algorithm.
47510
47511 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
47512
47513 2014-07-03 Roland McGrath <roland@hack.frob.com>
47514
47515 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
47516 (lll_futex_timed_wait_bitset): Fix syscall argument count.
47517
47518 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
47519 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
47520 in a bare environment with no <stdlib.h> installed.
47521 * sysdeps/nptl/configure: Regenerated.
47522
47523 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
47524
47525 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
47526 AC_EGREP_CPP for kernel header checks, so they only succeed if
47527 including <linux/version.h> actually works right.
47528 * sysdeps/unix/sysv/linux/configure: Regenerated.
47529
47530 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
47531 value so it's not diagnosed as unused.
47532
47533 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
47534 thing) with "ifeq ($(subdir),rt)".
47535
47536 2014-07-03 Richard Henderson <rth@redhat.com>
47537
47538 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
47539 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
47540 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
47541
47542 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
47543 (math_force_eval): New.
47544
47545 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
47546 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
47547
47548 * sysdeps/alpha/fpu/s_round.c: Remove file.
47549 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
47550
47551 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
47552 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
47553 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
47554 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
47555 (_dl_start, print_statistics): Likewise.
47556 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
47557 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
47558
47559 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47560 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47561 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47562 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47563 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47564 (HP_SMALL_TIMING_AVAIL): Define.
47565 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47566 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47567 (HP_SMALL_TIMING_AVAIL): Define.
47568 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47569 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47570
47571 * sysdeps/aarch64/hp-timing.h: New file.
47572
47573 * sysdeps/generic/hp-timing.h: Remove dead comment.
47574 * sysdeps/generic/hp-timing-common.h: New file.
47575 * sysdeps/alpha/hp-timing.h: Include it.
47576 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
47577 * sysdeps/i386/i686/hp-timing.h: Likewise.
47578 * sysdeps/ia64/hp-timing.h: Likewise.
47579 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47580 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47581 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47582 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47583 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
47584 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
47585 (hp_timing_t): New.
47586
47587 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
47588 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
47589 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
47590 * elf/rtld.c (_dl_start_final): Likewise.
47591 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
47592 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47593 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47594 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47595 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47596 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47597 (HP_TIMING_DIFF_INIT): Remove.
47598 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47599 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47600 (HP_TIMING_DIFF_INIT): Remove.
47601 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47602 * sysdeps/i386/i686/hp-timing.c: Remove file.
47603 * sysdeps/x86_64/hp-timing.c: Remove file.
47604 * sysdeps/ia64/hp-timing.c: Remove file.
47605 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
47606 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
47607 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
47608 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
47609
47610 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
47611 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
47612 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
47613 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47614 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47615 (HP_TIMING_ACCUM): Remove.
47616 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47617 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
47618 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47619
47620 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
47621 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
47622 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
47623 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
47624 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
47625 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47626 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
47627 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47628
47629 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
47630
47631 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
47632
47633 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
47634
47635 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47636
47637 Sync up with gettext.
47638 * intl/loadmsgcat.c: Define O_BINARY if not defined.
47639 [_MSC_VER]: Include malloc.h
47640 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
47641 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
47642 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
47643 TEMP_FAILURE_RETRY. Cast return of alloca.
47644 [!_LIBC] Call gl_rwlock_init.
47645 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
47646
47647 2014-07-02 Roland McGrath <roland@hack.frob.com>
47648
47649 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
47650 before checking its value.
47651
47652 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47653
47654 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
47655
47656 * debug/memcpy_chk.c: Don't include pagecopy.h.
47657 * debug/mempcpy_chk.c: Likewise.
47658 * string/memcpy.c: Likewise.
47659 * string/memmove.c: Likewise.
47660 * sysdeps/powerpc/memmove.c: Likewise.
47661 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
47662 definition of PAGE_COPY_FWD_MAYBE here...
47663 * sysdeps/generic/pagecopy.h: ... from here.
47664 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
47665
47666 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
47667 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47668
47669 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
47670 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
47671 optimizations.
47672 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47673 (__libc_ifunc_impl_list): Likewise.
47674 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
47675 multiarch strcat for PPC64.
47676 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
47677 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
47678
47679 2014-07-02 Roland McGrath <roland@hack.frob.com>
47680
47681 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
47682
47683 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47684
47685 * intl/loadmsgcat.c: Remove declaration of
47686 get_sysdep_segment_value.
47687 (get_sysdep_segment_value): Use ISO C style.
47688 (_nl_load_domain): Use ISO C style. Get rid of redundant
47689 semicolon. Fix typo and formatting in comment.
47690 (_nl_unload_domain): Use ISO C style.
47691
47692 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
47693
47694 2014-07-02 Will Newton <will.newton@linaro.org>
47695
47696 * malloc/obstack.c: Merge from gnulib master.
47697 [HAVE_CONFIG_H]: Remove conditional code.
47698 [!_LIBC]: Include config.h.
47699 [!ELIDE_CODE]: Don't include inttypes.h, include
47700 stdint.h unconditionally.
47701 (print_and_abort): Mark as _Noreturn.
47702 (_obstack_allocated_p): Mark as __attribute_pure__.
47703 (obstack_free): Rename to __obstack_free.
47704 [!__attribute__]: Remove conditional code.
47705 * malloc/obstack.h: Merge from gnulib master.
47706 [__cplusplus]: Move conditional down.
47707 [!__attribute_pure__]: Define __attribute_pure__ here
47708 if it is not already defined.
47709 (_obstack_memory_used): Mark as __attribute_pure__.
47710 [!__obstack_free]: Define as obstack_free.
47711 [__GNUC__]: Remove check for ancient NeXT gcc.
47712
47713 2014-07-02 Will Newton <will.newton@linaro.org>
47714 Paul Eggert <eggert@cs.ucla.edu>
47715
47716 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
47717
47718 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47719
47720 * resolv/gethnamaddr.c: Add comment warning that the file is
47721 not maintained.
47722
47723 2014-07-01 Carlos O'Donell <carlos@redhat.com>
47724
47725 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
47726 entries.
47727
47728 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
47729 entry for aio_cancel and aio_cancel64.
47730 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
47731 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
47732 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
47733 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
47734 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
47735 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
47736 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
47737 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
47738 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
47739 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
47740 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
47741 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
47742 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
47743
47744 2014-07-01 Roland McGrath <roland@hack.frob.com>
47745
47746 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
47747 * nptl/pthread_mutex_lock.c: Likewise.
47748 * nptl/pthread_mutex_timedlock.c: Likewise.
47749 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
47750
47751 2014-07-01 Richard henderson <rth@redhat.com>
47752
47753 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
47754 (__isnan, __isnanl): Remove.
47755 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
47756
47757 * sysdeps/alpha/fpu/libm-test-ulps: Update.
47758
47759 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
47760
47761 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47762
47763 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
47764
47765 * resolv/nss_dns/dns-host.c (getanswer_r)
47766 [MULTI_PTRS_ARE_ALIASES]: Remove code.
47767
47768 2014-07-01 Joseph Myers <joseph@codesourcery.com>
47769
47770 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47771 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
47772 undefine.
47773 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
47774 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
47775
47776 2014-07-01 Roland McGrath <roland@hack.frob.com>
47777
47778 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
47779 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
47780
47781 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
47782 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
47783
47784 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
47785 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
47786 ... here.
47787 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
47788 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
47789
47790 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
47791 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
47792 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
47793 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
47794
47795 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
47796 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
47797 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
47798 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
47799 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
47800 Moved ...
47801 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
47802 ... here.
47803 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
47804 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
47805 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
47806 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
47807 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
47808 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
47809 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
47810 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
47811 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
47812 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
47813 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
47814 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
47815 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
47816 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
47817 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
47818 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
47819 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
47820 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
47821 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
47822 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
47823 ... here.
47824 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
47825 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
47826 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
47827 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
47828 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
47829 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
47830 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
47831 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
47832
47833 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
47834
47835 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
47836 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
47837 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
47838 Add sysdep.
47839
47840 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47841
47842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47843
47844 2014-06-30 Joseph Myers <joseph@codesourcery.com>
47845
47846 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
47847 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
47848
47849 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47850
47851 * sysdeps/arm/libm-test-ulps: Regenerated.
47852
47853 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
47854 Roland McGrath <roland@hack.frob.com>
47855
47856 * test-skeleton.c (signal_handler): Kill the whole process group
47857 before killing the child individually.
47858 (main): Report any failure on `setpgid'.
47859
47860 2014-06-30 Roland McGrath <roland@hack.frob.com>
47861
47862 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
47863 from _TLS_H to _ARM_NPTL_TLS_H.
47864 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
47865 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
47866
47867 2014-06-30 Joseph Myers <joseph@codesourcery.com>
47868
47869 [BZ #16539]
47870 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
47871 (__expm1l): Return argument unchanged when small but not
47872 subnormal.
47873
47874 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
47875 include macro name.
47876 (_FP_UNPACK_RAW_1_P): Likewise.
47877 (_FP_PACK_RAW_1): Likewise.
47878 (_FP_PACK_RAW_1_P): Likewise.
47879 (_FP_MUL_MEAT_1_wide): Likewise.
47880 (_FP_MUL_MEAT_DW_1_hard): Likewise.
47881 (_FP_MUL_MEAT_1_hard): Likewise.
47882 (_FP_DIV_MEAT_1_imm): Likewise.
47883 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
47884 (_FP_DIV_MEAT_1_udiv): Likewise.
47885 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
47886 (_FP_UNPACK_RAW_2): Likewise.
47887 (_FP_UNPACK_RAW_2_P): Likewise.
47888 (_FP_PACK_RAW_2): Likewise.
47889 (_FP_PACK_RAW_2_P): Likewise.
47890 (_FP_MUL_MEAT_DW_2_wide): Likewise.
47891 (_FP_MUL_MEAT_2_wide): Likewise.
47892 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
47893 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
47894 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
47895 (_FP_MUL_MEAT_2_gmp): Likewise.
47896 (_FP_DIV_MEAT_2_udiv): Likewise.
47897 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
47898 (_FP_FRAC_SRL_4): Likewise.
47899 (_FP_FRAC_SRST_4): Likewise.
47900 (_FP_FRAC_SRS_4): Likewise.
47901 (_FP_UNPACK_RAW_4): Likewise.
47902 (_FP_UNPACK_RAW_4_P): Likewise.
47903 (_FP_PACK_RAW_4): Likewise.
47904 (_FP_PACK_RAW_4_P): Likewise.
47905 (_FP_MUL_MEAT_DW_4_wide): Likewise.
47906 (_FP_MUL_MEAT_4_wide): Likewise.
47907 (_FP_MUL_MEAT_4_gmp): Likewise.
47908 (umul_ppppmnnn): Likewise.
47909 (_FP_DIV_MEAT_4_udiv): Likewise.
47910 (__FP_FRAC_ADD_4): Likewise.
47911 (__FP_FRAC_SUB_3): Likewise.
47912 (__FP_FRAC_SUB_4): Likewise.
47913 (__FP_FRAC_DEC_3): Likewise.
47914 (__FP_FRAC_DEC_4): Likewise.
47915 (__FP_FRAC_ADDI_4): Likewise.
47916 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
47917 (_FP_FRAC_SRL_8): Likewise.
47918 (_FP_FRAC_SRS_8): Likewise.
47919
47920 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
47921 include macro name.
47922 (FP_UNPACK_RAW_EP): Likewise.
47923 (FP_PACK_RAW_E): Likewise.
47924 (FP_PACK_RAW_EP): Likewise.
47925 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
47926 (_FP_ISSIGNAN): Likewise.
47927 (_FP_ADD_INTERNAL): Likewise.
47928 (_FP_FMA): Likewise.
47929 (_FP_CMP): Likewise.
47930 (_FP_SQRT): Likewise.
47931 (_FP_TO_INT): Likewise.
47932 (_FP_FROM_INT): Likewise.
47933 (FP_EXTEND): Likewise.
47934 (_FP_DIV_MEAT_N_loop): Likewise.
47935
47936 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
47937
47938 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
47939 throughout.
47940
47941 2014-06-29 Joseph Myers <joseph@codesourcery.com>
47942
47943 [BZ #17097]
47944 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
47945 result with correct sign in case of exponents that produce
47946 overflow except for X very close to 1.
47947
47948 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
47949
47950 mktime: merge #if/#ifdef usage from glibc
47951 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
47952 as that works with both Glibc's and Gnulib's style.
47953 See thread starting at Siddhesh Poyarekar's bug report at:
47954 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
47955
47956 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
47957
47958 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
47959 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
47960 * sysdeps/tile/tilegx/memmove.c: Remove file.
47961
47962 2014-06-27 Joseph Myers <joseph@codesourcery.com>
47963
47964 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
47965 abi-name definition.
47966 * scripts/soversions.awk: Do not handle or generate ABI lines.
47967 * shlib-versions: Remove ABI entries.
47968 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
47969 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
47970
47971 2014-06-27 Roland McGrath <roland@hack.frob.com>
47972
47973 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
47974 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
47975 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
47976 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
47977 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
47978 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
47979 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
47980 Moved ...
47981 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
47982 ... here.
47983 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
47984 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
47985 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
47986 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
47987 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
47988 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
47989 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
47990 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
47991 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
47992 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
47993 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
47994 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
47995 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
47996 Moved ...
47997 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
47998 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
47999 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
48000 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
48001 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
48002 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
48003 Moved ...
48004 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
48005 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
48006 Moved ...
48007 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
48008 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
48009 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
48010 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
48011 Moved ...
48012 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
48013 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
48014 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
48015 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
48016 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
48017 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
48018 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
48019 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
48020 Moved ...
48021 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
48022 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
48023 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
48024 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
48025 Moved ...
48026 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
48027 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
48028 Moved ...
48029 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
48030 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
48031 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
48032 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
48033 Moved ...
48034 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
48035 ... here.
48036 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
48037 Identical file removed.
48038 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
48039 Moved ...
48040 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
48041 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
48042 Identical file removed.
48043 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
48044 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
48045 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
48046 Moved ...
48047 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
48048 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
48049 Identical file removed.
48050 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
48051 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
48052 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
48053 Identical file removed.
48054 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
48055 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
48056 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
48057 Identical file removed.
48058 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
48059 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
48060 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
48061 Identical file removed.
48062 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
48063 Moved ...
48064 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
48065 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
48066 Identical file removed.
48067 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
48068 Moved ...
48069 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
48070 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
48071 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
48072 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
48073 Identical file removed.
48074 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
48075 Moved ...
48076 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
48077 ... here.
48078 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
48079 Identical file removed.
48080 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
48081 Moved ...
48082 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
48083 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
48084 Identical file removed.
48085 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
48086 Moved ...
48087 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
48088 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
48089 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
48090 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
48091 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
48092 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
48093 Moved ...
48094 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
48095 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
48096 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
48097
48098 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
48099 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
48100 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
48101 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
48102 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
48103
48104 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
48105
48106 [BZ #17092]
48107 * nscd/nscd.c (monitor_child): Return exit status of child
48108 instead of return value from wait syscall.
48109
48110 2014-06-27 Joseph Myers <joseph@codesourcery.com>
48111
48112 * configure.ac (libc_commonpagesize): Remove variable.
48113 (libc_relro_required): Likewise.
48114 (libc_cv_z_relro): Remove configure test.
48115 * configure: Regenerated.
48116 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
48117 variable.
48118 (libc_relro_required): Likewise.
48119 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
48120 (libc_relro_required): Likewise.
48121 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
48122 (libc_relro_required): Likewise.
48123 * sysdeps/arm/preconfigure: Regenerated.
48124 * sysdeps/ia64/preconfigure: Remove file.
48125 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
48126 variable.
48127 (libc_relro_required): Likewise.
48128
48129 [BZ #16561]
48130 [BZ #16562]
48131 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
48132 (__ieee754_yn): Set FE_TONEAREST mode internally and then
48133 recompute overflowing results in original rounding mode.
48134 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
48135 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
48136 recompute overflowing results in original rounding mode.
48137 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
48138 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48139 recompute overflowing results in original rounding mode.
48140 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
48141 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48142 recompute overflowing results in original rounding mode.
48143 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
48144 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48145 recompute overflowing results in original rounding mode.
48146 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
48147 (libc_feholdsetround_ctx): New macro.
48148 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
48149 * sysdeps/i386/fpu/libm-test-ulps: Update.
48150 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
48151
48152 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48153
48154 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
48155 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
48156 corresponding .cpsetup call.
48157
48158 2014-06-26 Roland McGrath <roland@hack.frob.com>
48159
48160 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
48161 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
48162 * sysdeps/arm/Makefile [$(subdir) = csu]
48163 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
48164 (static-only-routines): Add aeabi_read_tp here.
48165 (shared-only-routines): Add libc-aeabi_read_tp here.
48166 (CFLAGS-libc-start.c): Add -fexceptions here.
48167 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
48168 (sysdep_routines, static-only-routines, shared-only-routines):
48169 Don't add to these here.
48170 (CFLAGS-libc-start.c): Likewise.
48171
48172 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
48173 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
48174 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
48175 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
48176 * sysdeps/arm/Makefile [$(subdir) = rt]
48177 (librt-sysdep_routines, librt-shared-only-routines):
48178 Append rt-aeabi_unwind_cpp_pr1 here.
48179 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
48180 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
48181 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
48182 (libpthread-sysdep_routines, libpthread-shared-only-routines):
48183 Append nptl-aeabi_unwind_cpp_pr1 here.
48184 (tests): Filter out tst-cleanupx4 here.
48185 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
48186 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
48187 Don't do those here.
48188
48189 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48190
48191 * scripts/list-sources.sh: Do not handle ports specially.
48192
48193 2014-06-26 Roland McGrath <roland@hack.frob.com>
48194
48195 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
48196 * sysdeps/arm/feupdateenv.c: Likewise.
48197
48198 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
48199
48200 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48201
48202 * manual/texinfo.tex: Update to version 2014-05-05.10 with
48203 trailing whitespace removed.
48204 * scripts/config.guess: Update to version 2014-03-23.
48205 * scripts/config.sub: Update to version 2014-05-01
48206 * scripts/install-sh: Update to version 2013-12-25.23.
48207 * scripts/move-if-change: Update from gnulib.
48208
48209 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48210
48211 * debug/memmove_chk.c: Remove pagecopy.h include.
48212
48213 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
48214
48215 * time/mktime.c (leapyear): Remove inline keyword. The code is now
48216 identical to gnulib mktime.
48217
48218 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48219
48220 * configure.ac: Do not test for machine being rs6000. Do not test
48221 for powerpc*-*soft.
48222 * configure: Regenerated.
48223
48224 [BZ #11505]
48225 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
48226 test.
48227 * configure: Regenerated.
48228 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
48229 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
48230 Remove configure test.
48231 * sysdeps/arm/configure: Regenerated.
48232 * sysdeps/nptl/configure.ac: Do not check
48233 libc_cv_asm_cfi_directives.
48234 * sysdeps/nptl/configure: Regenerated.
48235 * sysdeps/x86_64/nptl/configure.ac: Remove file.
48236 * sysdeps/x86_64/nptl/configure: Remove generated file.
48237 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
48238 unconditional.
48239 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
48240
48241 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48242
48243 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
48244 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
48245 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
48246 it is defined.
48247
48248 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
48249 instead of whether it is defined.
48250 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
48251 * sysdeps/hppa/dl-machine.h: Likewise.
48252 * sysdeps/ia64/dl-machine.h: Likewise.
48253 * sysdeps/m68k/dl-machine.h: Likewise.
48254 * sysdeps/microblaze/dl-machine.h: Likewise.
48255 * sysdeps/mips/dl-machine.: Likewise.
48256 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48257 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48258 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48259 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48260 * sysdeps/sh/dl-machine.h: Likewise.
48261 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48262 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48263 * sysdeps/tile/dl-machine.h: Likewise.
48264 * sysdeps/x86_64/dl-machine.h: Likewise.
48265
48266 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
48267 code.
48268 (verify_persistent_db): Likewise.
48269
48270 2014-06-26 Roland McGrath <roland@hack.frob.com>
48271
48272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
48273 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
48274 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
48275 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
48276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48277 Moved ...
48278 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
48279 ... here.
48280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
48281 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
48282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
48283 Identical file removed.
48284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
48285 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
48286 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
48287 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
48288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
48289 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
48290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
48291 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
48292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
48293 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
48294 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48295 Moved ...
48296 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
48297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
48298 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
48299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
48300 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
48301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48302 Moved ...
48303 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
48304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
48305 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
48306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
48307 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
48308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48309 Identical file removed.
48310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
48311 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
48312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
48313 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
48314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48315 Moved ...
48316 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
48317 ... here.
48318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
48319 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
48320 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
48321 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
48322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
48323 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
48324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
48325 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
48326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
48327 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
48328 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48329 Moved ...
48330 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
48331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
48332 Moved ...
48333 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
48334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
48335 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
48336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48337 Moved ...
48338 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
48339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
48340 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
48341
48342 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
48343 folded into ...
48344 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
48345 * sysdeps/unix/sysv/linux/s390/Versions
48346 (libpthread: GLIBC_2.19): New version set.
48347 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
48348 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
48349 (librt: GLIBC_2.3.3): New version set.
48350 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
48351 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
48352 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
48353 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
48354 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
48355 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
48356 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
48357 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
48358 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
48359 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
48360 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
48361 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
48362 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
48363 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
48364 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
48365 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
48366 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
48367 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
48368 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
48369 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
48370 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
48371 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
48372 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
48373 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
48374 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
48375 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
48376 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
48377 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
48378 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
48379 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
48380 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
48381 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
48382 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
48383 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
48384 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
48385 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
48386 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
48387 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
48388 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
48389 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
48390 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
48391 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
48392 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
48393 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
48394 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
48395
48396 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
48397 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
48398 (__libc_vfork): Define the function under this name.
48399 [!NOT_IN_libc] (__vfork): Make this an alias.
48400 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48401 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
48402 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
48403 (__libc_vfork): Define the function under this name.
48404 [!NOT_IN_libc] (__vfork): Make this an alias.
48405 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48406 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
48407 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
48408 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
48409 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
48410 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48411
48412 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
48413 code that was previously under [RESET_PID].
48414 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
48415 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
48416 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
48417
48418 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
48419 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
48420 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
48421 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
48422 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
48423 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
48424 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
48425 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
48426 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
48427 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
48428 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
48429 Moved ...
48430 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
48431 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
48432 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
48433 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
48434 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
48435 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
48436 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
48437 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
48438 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
48439 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
48440 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
48441 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
48442 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
48443 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
48444 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
48445 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
48446 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
48447 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
48448 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
48449 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
48450 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
48451 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
48452 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
48453 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
48454 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
48455 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
48456 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
48457 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
48458 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
48459
48460 2014-06-25 Roland McGrath <roland@hack.frob.com>
48461
48462 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
48463 that was previously under [RESET_PID].
48464 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
48465
48466 2014-06-25 Joseph Myers <joseph@codesourcery.com>
48467
48468 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
48469 not undefine and redefine.
48470 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
48471 [O_CLOEXEC]: Make code unconditional.
48472 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
48473 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
48474 <kernel-features.h>.
48475 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
48476 conditional variable definition.
48477 (shm_open) [O_CLOEXEC]: Make code unconditional.
48478 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
48479 code.
48480
48481 * configure.ac (USE_REGPARMS): Don't define here.
48482 * configure: Regenerated.
48483 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
48484 * sysdeps/i386/configure: Regenerated.
48485
48486 * nptl/createthread.c: Don't include kernel-features.h.
48487 * nptl/pthread_cancel.c: Likewise.
48488 * nptl/pthread_condattr_setclock.c: Likewise.
48489 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
48490 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
48491 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
48492 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
48493 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
48494 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
48495 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
48496 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
48497 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
48498 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
48499 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
48500 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
48501 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
48502 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
48503 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
48504 * nscd/gai.c: Likewise.
48505 * nss/nss_db/db-open.c: Likewise.
48506 * sysdeps/generic/ldsodefs.h: Likewise.
48507 * sysdeps/sh/nptl/tls.h: Likewise.
48508 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
48509 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
48510 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
48511 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
48512 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
48513 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
48514 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
48515 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48516 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
48517 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
48518 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
48519 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
48520 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
48521 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
48522 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
48523 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
48524 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
48525 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
48526 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
48527 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
48528 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
48529 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
48530 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
48531 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
48532 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
48533 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
48534 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
48535 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
48536 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
48537 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
48538 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
48539 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
48540 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
48541 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48542 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48543 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
48544 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48545 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
48546 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
48547 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
48548 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48549 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
48550 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
48551 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48552 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
48553 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
48554 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
48555 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
48556 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
48557 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
48558 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
48559 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
48560 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
48561 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
48562 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
48563 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48564 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
48565 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
48566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
48567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
48568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
48569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
48570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
48571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
48572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
48573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
48574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
48575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
48576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
48577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
48578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
48579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
48580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
48581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
48586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
48587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
48588 * sysdeps/unix/sysv/linux/pread.c: Likewise.
48589 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
48590 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
48591 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
48592 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
48593 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
48594 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
48595 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
48596 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
48597 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
48598 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
48599 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
48600 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
48601 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
48602 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
48603 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
48604 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
48605 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
48606 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
48607 * sysdeps/unix/sysv/linux/system.c: Likewise.
48608 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
48609 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
48610 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
48611 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
48612 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
48613 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
48614 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
48615
48616 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
48617 * configure: Regenerated.
48618 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
48619
48620 * configure.ac (base_machine): Do not set specially for particular
48621 machines here.
48622 * configure: Regenerated.
48623 * sysdeps/powerpc/preconfigure: Move machine and base_machine
48624 settings from configure.ac.
48625 * sysdeps/i386/preconfigure: New file.
48626 * sysdeps/s390/preconfigure: Likewise.
48627 * sysdeps/sh/preconfigure: Likewise.
48628 * sysdeps/sparc/preconfigure: Likewise.
48629
48630 2014-06-25 Roland McGrath <roland@hack.frob.com>
48631
48632 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
48633 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
48634 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
48635 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
48636 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
48637 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
48638 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
48639 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
48640 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
48641 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
48642 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
48643 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
48644 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
48645 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
48646 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
48647 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
48648 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
48649 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
48650 * sysdeps/sparc/sparc64/Makefile: ... appended here.
48651
48652 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
48653 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
48654 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
48655 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
48656 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
48657 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
48658 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
48659 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
48660 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
48661 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
48662 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
48663 * sysdeps/sparc/sparc32/sem_post.c: ... here.
48664 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
48665 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
48666 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
48667 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
48668 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
48669 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
48670 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
48671 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
48672 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
48673 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
48674 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
48675 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
48676 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
48677 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
48678 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
48679 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
48680 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
48681 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
48682 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
48683 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
48684 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
48685 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
48686 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
48687 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
48688 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
48689 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
48690
48691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
48692 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
48693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
48694 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
48695 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
48696 Moved ...
48697 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
48698 ... here.
48699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
48700 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
48701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
48702 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
48703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
48704 Moved ...
48705 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
48706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
48707 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
48708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
48709 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
48710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
48711 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
48712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48713 Moved ...
48714 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
48715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
48716 Moved ...
48717 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
48718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
48719 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
48720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
48721 Moved ...
48722 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
48723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
48724 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
48725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
48726 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
48727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
48728 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
48729 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
48730 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
48731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
48732 Moved ...
48733 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
48734 ... here.
48735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
48736 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
48737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
48738 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
48739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
48740 Moved ...
48741 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
48742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
48743 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
48744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
48745 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
48746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
48747 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
48748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48749 Moved ...
48750 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
48751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
48752 Moved ...
48753 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
48754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
48755 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
48756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
48757 Moved ...
48758 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
48759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
48760 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
48761 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
48762 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
48763
48764 2014-06-25 Joseph Myers <joseph@codesourcery.com>
48765
48766 * timezone/checktab.awk: Update from tzcode 2014e.
48767 * timezone/private.h: Likewise.
48768 * timezone/tzfile.h: Likewise.
48769 * timezone/zdump.c: Likewise.
48770 * timezone/zic.c: Likewise.
48771
48772 * sysdeps/unix/sysv/linux/kernel-features.h
48773 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
48774 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
48775 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
48776 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
48777 Remove conditional code.
48778
48779 2014-06-25 Will Newton <will.newton@linaro.org>
48780
48781 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
48782 (_dl_arm_cap_flags): Add HWCAP2 values.
48783 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
48784 (_DL_HWCAP_COUNT): Increase to 37.
48785 (_DL_HWCAP_LAST): New define.
48786 (_DL_HWCAP2_LAST): New define.
48787 (_dl_procinfo): Add support for printing
48788 AT_HWCAP2 entries.
48789 (_dl_string_hwcap): Use _dl_hwcap_string.
48790
48791 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48792
48793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48794
48795 2014-06-25 Joseph Myers <joseph@codesourcery.com>
48796
48797 * README: Do not mention ports directory.
48798
48799 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
48800 Remove macro.
48801 * sysdeps/unix/sysv/linux/futimes.c: Do not include
48802 <kernel-features.h>.
48803 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
48804 conditional variable definition.
48805 (__futimes): Update comment.
48806 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
48807 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
48808
48809 [BZ #16560]
48810 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
48811 arguments close to 0.
48812 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
48813 Likewise.
48814 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
48815 Likewise.
48816 * math/auto-libm-test-in: Add more tests of exp10.
48817 * math/auto-libm-test-out: Regenerated.
48818 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48819
48820 * sysdeps/unix/sysv/linux/kernel-features.h
48821 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
48822 * sysdeps/unix/sysv/linux/readv.c: Do not include
48823 <kernel-features.h>.
48824 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
48825 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
48826 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
48827 unconditional.
48828 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
48829 conditional code.
48830 * sysdeps/unix/sysv/linux/writev.c: Do not include
48831 <kernel-features.h>.
48832 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
48833 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
48834 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
48835 unconditional.
48836 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
48837 conditional code.
48838
48839 2014-06-25 Will Newton <will.newton@linaro.org>
48840
48841 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
48842 comment changes throughout the file. Remove checks
48843 for HAVE_*_H definitions that are not required.
48844 (__gen_tempname): Call abort if an unknown kind value is
48845 passed.
48846
48847 2014-06-25 Andreas Schwab <schwab@suse.de>
48848
48849 [BZ #17086]
48850 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
48851 scalbln, scalblnf, scalblnl in libc.
48852
48853 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
48854
48855 [BZ #17086]
48856 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
48857 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
48858 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
48859
48860 2014-06-24 Roland McGrath <roland@hack.frob.com>
48861
48862 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
48863 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
48864 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
48865 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
48866 Update #include.
48867 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
48868 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
48869 Update #include.
48870 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
48871 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
48872 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
48873 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
48874 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
48875 * sysdeps/x86/bits/pthreadtypes.h: ... here.
48876 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
48877 * sysdeps/x86/bits/semaphore.h: ... here.
48878 * sysdeps/x86/nptl/elide.h: Moved ...
48879 * sysdeps/x86/elide.h: ... here.
48880 * sysdeps/x86_64/nptl/Implies: File removed.
48881 * sysdeps/i386/nptl/Implies: File removed.
48882
48883 2014-06-24 Joseph Myers <joseph@codesourcery.com>
48884
48885 [BZ #16539]
48886 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
48887 return the argument for normal arguments with exponent below -64.
48888 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
48889 Likewise.
48890 * math/auto-libm-test-in: Add another test of expm1.
48891 * math/auto-libm-test-out: Regenerated.
48892
48893 [BZ #16287]
48894 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
48895 calling __erfcl for arguments at least 16.
48896 * math/auto-libm-test-in: Add more tests of erf.
48897 * math/auto-libm-test-out: Regenerated.
48898
48899 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
48900 individual architectures.
48901 * sysdeps/unix/sysv/linux/configure: Regenerated.
48902 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
48903 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
48904 * sysdeps/unix/sysv/linux/powerpc/configure.ac
48905 (ldd_rewrite_script): Define variable.
48906 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
48907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
48908 file.
48909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
48910 generated file.
48911 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
48912 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
48913 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
48914 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
48915 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
48916 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
48917 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
48918 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
48919
48920 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
48921
48922 [BZ #17084]
48923 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
48924 Rename member __data.d to __data.__elision_data.
48925
48926 2014-06-24 Wilco <wdijkstr@arm.com>
48927
48928 * NEWS: Add 16918 to fixed bug list.
48929
48930 2014-06-24 Wilco <wdijkstr@arm.com>
48931
48932 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
48933
48934 2014-06-24 Wilco <wdijkstr@arm.com>
48935
48936 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
48937 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
48938 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
48939 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
48940 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
48941 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
48942 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
48943 Use _FPU_MASK_RM.
48944
48945 2014-06-24 Wilco <wdijkstr@arm.com>
48946
48947 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
48948
48949 2014-06-24 Wilco <wdijkstr@arm.com>
48950
48951 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
48952 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
48953 * sysdeps/arm/fesetround.c (fesetround): Remove space.
48954 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
48955
48956 2014-06-24 Wilco <wdijkstr@arm.com>
48957
48958 [BZ #16918]
48959 * sysdeps/arm/feupdateenv.c (feupdateenv):
48960 Rewrite to reduce FPSCR accesses and fix return value.
48961
48962 2014-06-24 Wilco <wdijkstr@arm.com>
48963
48964 * sysdeps/arm/fclrexcpt.c (feclearexcept):
48965 Optimize to avoid unnecessary FPSCR writes.
48966 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
48967 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
48968 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
48969 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
48970
48971 2014-06-24 Wilco <wdijkstr@arm.com>
48972
48973 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
48974 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
48975 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
48976 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
48977 Call libc_fetestexcept_vfp.
48978 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
48979 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
48980 __SOFTFP__ ifdef so that they can be built for softfp.
48981
48982 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
48983
48984 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
48985 argument type signed char.
48986
48987 * Makerules (check-abi): Dump diff of symlist if the test
48988 fails.
48989
48990 2014-06-23 Roland McGrath <roland@hack.frob.com>
48991
48992 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
48993 using abort.
48994
48995 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
48996 Remove unused variable ST.
48997
48998 2014-06-23 Joseph Myers <joseph@codesourcery.com>
48999
49000 [BZ #16354]
49001 [BZ #17061]
49002 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
49003 small arguments before calling __expm1.
49004 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
49005 small arguments before calling __expm1f.
49006 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
49007 small arguments before calling __expm1l.
49008 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
49009 Likewise.
49010 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
49011 * math/auto-libm-test-in: Add more cosh tests. Do not allow
49012 spurious underflow for some cosh tests.
49013 * math/auto-libm-test-out: Regenerated.
49014 * sysdeps/i386/fpu/libm-test-ulps: Update.
49015
49016 [BZ #17050]
49017 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
49018 (__ieee754_y1): Set errno if return value overflows.
49019 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
49020 (__ieee754_y1f): Set errno if return value overflows.
49021 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
49022 (__ieee754_y1l): Set errno if return value overflows.
49023 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
49024 (__ieee754_y1l): Set errno if return value overflows.
49025 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
49026 * math/auto-libm-test-out: Regenerated.
49027
49028 * math/gen-auto-libm-tests.c: Document use of
49029 ignore-zero-inf-sign.
49030 (input_flag_type): Add value flag_ignore_zero_inf_sign.
49031 (input_flags): Add ignore-zero-inf-sign.
49032 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
49033 * math/gen-libm-test.pl (generate_testfile): Handle
49034 ignore-zero-inf-sign.
49035 * math/auto-libm-test-in: Mark some cpow tests with
49036 ignore-zero-inf-sign and some with xfail-rounding.
49037 * math/auto-libm-test-out: Regenerated.
49038 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
49039 * sysdeps/i386/fpu/libm-test-ulps: Update.
49040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49041
49042 [BZ #16315]
49043 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
49044 overflowing or underflowing operations take place with sign of
49045 result.
49046 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49047 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
49048 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
49049 (__ieee754_pow): Recompute overflowing and underflowing results in
49050 original rounding mode.
49051 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
49052 (__powl_helper): Allow negative argument X and scale negated value
49053 as needed. Avoid passing value outside [-1, 1] to f2xm1.
49054 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
49055 overflowing or underflowing operations take place with sign of
49056 result.
49057 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
49058 Include <math.h>.
49059 * math/auto-libm-test-in: Add more tests of pow.
49060 * math/auto-libm-test-out: Regenerated.
49061 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
49062 (pow_tonearest_test_data): Remove.
49063 (pow_test_tonearest): Likewise.
49064 (pow_towardzero_test_data): Likewise.
49065 (pow_test_towardzero): Likewise.
49066 (pow_downward_test_data): Likewise.
49067 (pow_test_downward): Likewise.
49068 (pow_upward_test_data): Likewise.
49069 (pow_test_upward): Likewise.
49070 (main): Don't call removed functions.
49071 * sysdeps/i386/fpu/libm-test-ulps: Update.
49072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49073
49074 2014-06-23 Roland McGrath <roland@hack.frob.com>
49075
49076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
49077 Moved ...
49078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
49079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49080 Moved ...
49081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
49082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49083 Moved ...
49084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
49085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49086 Moved ...
49087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
49088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49089 File removed.
49090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49091 File removed.
49092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
49093 File removed.
49094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
49095 File removed.
49096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
49097 File removed.
49098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
49099 File removed.
49100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
49101 File removed.
49102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49103 File removed.
49104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
49105 File removed.
49106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49107 File removed.
49108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
49109 File removed.
49110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
49111 File removed.
49112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
49113 Moved ...
49114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
49115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
49116 Moved ...
49117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
49118 ... here.
49119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
49120 Moved ...
49121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
49122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
49123 Moved ...
49124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
49125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
49126 Moved ...
49127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
49128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
49129 Moved ...
49130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
49131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
49132 Moved ...
49133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
49134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
49135 Moved ...
49136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
49137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
49138 Moved ...
49139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
49140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
49141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
49142 ... here.
49143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
49144 Moved ...
49145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
49146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
49147 Moved ...
49148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
49149 ... here.
49150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
49151 Moved ...
49152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
49153 ... here.
49154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
49155 Moved ...
49156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
49157 ... here.
49158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49159 Moved ...
49160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
49161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
49162 Moved ...
49163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
49164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
49165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
49166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
49167 Moved ...
49168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
49169 ... here.
49170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49171 Moved ...
49172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
49173 ... here.
49174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
49175 Moved ...
49176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
49177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49178 Moved ...
49179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
49180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
49181 Moved ...
49182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
49183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49184 Moved ...
49185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
49186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
49187 Moved ...
49188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
49189 ... here.
49190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49191 Moved ...
49192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
49193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
49194 Moved ...
49195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
49196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49197 Moved ...
49198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
49199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
49200 Moved ...
49201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
49202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
49203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
49204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
49205 Moved ...
49206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
49207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49208 Moved ...
49209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
49210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
49211 Moved ...
49212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
49213 ... here.
49214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49215 Moved ...
49216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
49217 ... here.
49218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
49219 Moved ...
49220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
49221 ... here.
49222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49223 Moved ...
49224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
49225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
49226 Moved ...
49227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
49228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49229 Moved ...
49230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
49231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
49232 Moved ...
49233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
49234 ... here.
49235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49236 Moved ...
49237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
49238 ... here.
49239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
49240 Moved ...
49241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
49242 ... here.
49243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49244 Moved ...
49245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
49246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49247 Moved ...
49248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
49249
49250 2014-06-23 Will Newton <will.newton@linaro.org>
49251 Wilco <wdijkstr@arm.com>
49252
49253 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
49254 implementation. Include get-rounding-mode.h.
49255 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
49256 [!libc_feholdsetround_noex_ctx]: Define
49257 libc_feholdsetround_noex_ctx.
49258 [!libc_feholdsetround_noexf_ctx]: Define
49259 libc_feholdsetround_noexf_ctx.
49260 [!libc_feholdsetround_noexl_ctx]: Define
49261 libc_feholdsetround_noexl_ctx.
49262 (libc_feholdsetround_ctx): New function.
49263 (libc_feresetround_ctx): New function.
49264 (libc_feholdsetround_noex_ctx): New function.
49265 (libc_feresetround_noex_ctx): New function.
49266
49267 2014-06-23 Roland McGrath <roland@hack.frob.com>
49268
49269 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
49270 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
49271 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
49272 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
49273 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
49274 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
49275
49276 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
49277 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
49278 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
49279 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
49280 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
49281 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
49282 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
49283 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
49284 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
49285 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
49286 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
49287 Moved ...
49288 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
49289 ... here.
49290 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
49291 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
49292 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
49293 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
49294 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
49295 Moved ...
49296 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
49297 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
49298 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
49299 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
49300 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
49301 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
49302 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
49303 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
49304 Moved ...
49305 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
49306 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
49307 Moved ...
49308 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
49309 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
49310 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
49311 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
49312 Moved ...
49313 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
49314 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
49315 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
49316 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
49317 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
49318 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
49319 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
49320 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
49321 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
49322 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
49323 Moved ...
49324 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
49325 ... here.
49326 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
49327 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
49328 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
49329 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
49330 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
49331 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
49332 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
49333 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
49334 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
49335 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
49336 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
49337 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
49338 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
49339 Moved ...
49340 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
49341 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
49342 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
49343 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
49344 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
49345 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
49346 Moved ...
49347 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
49348 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
49349 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
49350 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
49351 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
49352
49353 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
49354 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
49355 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
49356 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
49357 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
49358 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
49359 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
49360 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
49361 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
49362 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
49363 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
49364 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
49365 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
49366 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
49367 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
49368 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
49369 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
49370 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
49371 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
49372 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
49373 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
49374 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
49375 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
49376 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
49377 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
49378 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
49379 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
49380 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
49381
49382 2014-06-23 Joseph Myers <joseph@codesourcery.com>
49383
49384 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
49385 (FALLOC_FL_COLLAPSE_RANGE): New macro.
49386 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
49387 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
49388 (IPV6_PMTUDISC_INTERFACE): Likewise.
49389 (IPV6_PMTUDISC_OMIT): Likewise.
49390
49391 2014-06-23 Andreas Schwab <schwab@suse.de>
49392
49393 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
49394 Remove unused errout label.
49395
49396 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49397
49398 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
49399 macro: hardware supports Vector Crypto instructions.
49400
49401 2014-06-23 Will Newton <will.newton@linaro.org>
49402
49403 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
49404 rather than __builtin_expect.
49405
49406 * elf/dl-lookup.c (undefined_msg): Remove variable.
49407 (_dl_lookup_symbol_x): Replace undefined_msg with string
49408 literal.
49409
49410 * elf/dl-lookup.c (do_lookup_unique): New function.
49411 (do_lookup_x): Move STB_GNU_UNIQUE handling code
49412 to a separate function.
49413
49414 2014-06-23 Andreas Schwab <schwab@suse.de>
49415
49416 [BZ #17079]
49417 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
49418 before reading the next line.
49419
49420 2014-06-23 Will Newton <will.newton@linaro.org>
49421
49422 * test-skeleton.c (signal_handler): Use printf and %m
49423 rather than perror. Use printf rather than fprintf to
49424 stderr. Use puts rather than fputs to stderr.
49425 (main): Likewise.
49426
49427 2014-06-22 Ludovic Courtès <ludo@gnu.org>
49428
49429 * nscd/nscd.c (thread_info_t): Remove typedef.
49430 (thread_info): Remove variable.
49431
49432 2014-06-21 Allan McRae <allan@archlinux.org>
49433
49434 * NEWS: Mention CVE-2014-4043.
49435
49436 2014-06-20 Roland McGrath <roland@hack.frob.com>
49437
49438 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
49439 * nptl/smp.h: ... here.
49440
49441 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
49442
49443 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
49444 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
49445 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
49446 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
49447
49448 * nptl/allocatestack.c: Include <stack-aliasing.h>.
49449 * nptl/stack-aliasing.h: New file.
49450 * sysdeps/i386/i686/stack-aliasing.h: New file.
49451 * sysdeps/i386/i686/nptl/Makefile: File removed.
49452 * sysdeps/x86_64/stack-aliasing.h: New file.
49453 * sysdeps/x86_64/nptl/Makefile
49454 (CFLAGS-pthread_create.c): Variable removed.
49455
49456 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
49457 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
49458 old file.
49459 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
49460 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
49461 old file.
49462
49463 2014-06-21 Joseph Myers <joseph@codesourcery.com>
49464
49465 * sysdeps/unix/sysv/linux/arm/kernel-features.h
49466 (__ASSUME_SIGFRAME_V2): Remove macro.
49467 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
49468 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
49469 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
49470 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
49471 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
49472 Declare as function. Remove conditional macro definitions.
49473 (__default_rt_sa_restorer): Likewise.
49474 (__default_sa_restorer_v1): Remove declaration.
49475 (__default_sa_restorer_v2): Likewise.
49476 (__default_rt_sa_restorer_v1): Likewise.
49477 (__default_rt_sa_restorer_v2): Likewise.
49478 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
49479 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
49480 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
49481
49482 2014-06-20 Roland McGrath <roland@hack.frob.com>
49483
49484 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
49485 (libpthread-routines): Add sysdep.
49486 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
49487 * sysdeps/unix/sysv/linux/sparc/Versions
49488 (libpthread: GLIBC_2.3.3): New version set.
49489 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
49490 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
49491 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
49492 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
49493 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
49494 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
49495 Moved ...
49496 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
49497 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
49498 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
49499 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
49500 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
49501 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
49502 * sysdeps/sparc/nptl/sem_init.c: ... here.
49503 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
49504 * sysdeps/sparc/nptl/sem_post.c: ... here.
49505 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
49506 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
49507 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
49508 * sysdeps/sparc/nptl/sem_wait.c: ... here.
49509 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
49510 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
49511 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
49512 (libpthread-routines): Add cpu_relax.
49513 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
49514 File removed.
49515 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
49516 (librt: GLIBC_2.3.3): New version set.
49517 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
49518 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
49519 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
49520 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
49521 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
49522 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
49523 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
49524 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
49525 Moved ...
49526 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
49527 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
49528 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
49529 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
49530 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
49531 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
49532 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
49533 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
49534 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
49535 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
49536 Moved ...
49537 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
49538 Update #include.
49539 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
49540 Moved ...
49541 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
49542 Update #include.
49543 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
49544 Moved ...
49545 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
49546 Update #include.
49547 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
49548 Moved ...
49549 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
49550 Update #include.
49551 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
49552 Moved ...
49553 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
49554 Update #include.
49555 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
49556 Moved ...
49557 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
49558 Update #include.
49559 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
49560 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
49561 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
49562 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
49563 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
49564 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
49565 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
49566 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
49567 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
49568 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
49569 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
49570 Moved ...
49571 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
49572 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
49573 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
49574 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
49575 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
49576
49577 2014-06-20 Joseph Myers <joseph@codesourcery.com>
49578
49579 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
49580 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
49581 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
49582 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
49583 * nscd/nscd.c: Likewise.
49584 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
49585 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
49586 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
49587 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
49588
49589 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
49590 <kernel-features.h>.
49591 (init_mq_netlink): Remove conditional have_sock_cloexec
49592 definitions. Remove code conditional on have_sock_cloexec < 0.
49593 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
49594 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
49595 * sysdeps/unix/sysv/linux/opensock.c: Do not include
49596 <kernel-features.h>.
49597 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
49598 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
49599
49600 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
49601
49602 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49603 Add tests for memset_chk and memset.
49604
49605 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
49606 with AVX2_Usable.
49607
49608 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
49609
49610 [BZ #16046]
49611 * elf/tst-dl-iter-static.c: New file.
49612 * elf/Makefile (tests-static): Add tst-dl-iter-static.
49613
49614 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
49615 error.
49616
49617 2014-06-20 Joseph Myers <joseph@codesourcery.com>
49618
49619 * sysdeps/unix/sysv/linux/kernel-features.h
49620 (__ASSUME_F_GETOWN_EX): Remove macro.
49621 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
49622 <kernel-features.h>.
49623 (miss_F_GETOWN_EX): Remove variable or macro.
49624 (do_fcntl): Do not check miss_F_GETOWN_EX.
49625 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
49626
49627 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
49628 Remove macro.
49629 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
49630 [!__ASSUME_AT_RANDOM]: Remove conditional code.
49631 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
49632
49633 * sysdeps/unix/sysv/linux/kernel-features.h
49634 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
49635 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
49636 [ADJ_OFFSET_SS_READ]: Make code unconditional.
49637 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
49638
49639 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
49640
49641 [BZ #17075]
49642 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
49643 Fix calculation of the symbol's value.
49644 * sysdeps/arm/tst-armtlsdescloc.c: New file.
49645 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
49646 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
49647 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
49648 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
49649 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
49650 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
49651 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
49652 (modules-names): Add `tst-armtlsdescmod',
49653 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
49654 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
49655 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
49656 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
49657 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
49658 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
49659 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
49660 ($(objpfx)tst-armtlsdescloc): New dependency.
49661 ($(objpfx)tst-armtlsdescextnow): Likewise.
49662 ($(objpfx)tst-armtlsdescextlazy): Likewise.
49663 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
49664 TLS scheme support.
49665 * sysdeps/arm/configure: Regenerate.
49666
49667 2014-06-20 Joseph Myers <joseph@codesourcery.com>
49668
49669 * include/fcntl.h (__atfct_seterrno): Remove prototype.
49670 (__atfct_seterrno_2): Likewise.
49671 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
49672 <kernel-features.h>.
49673 (__ASSUME_ATFCTS): Do not undefine and redefine.
49674 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
49675 (__have_atfcts): Remove conditional definition.
49676 (__fxstatat([__NR_fstatat64]: Make code unconditional.
49677 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
49678 unreachable if [__ASSUME_ATFCTS].
49679 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
49680 not undefine and redefine.
49681 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
49682 <kernel-features.h>.
49683 (faccessat) [__NR_faccessat]: Make code unconditional.
49684 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
49685 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
49686 <kernel-features.h>.
49687 (fchmodat) [__NR_fchmodat]: Make code unconditional.
49688 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
49689 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
49690 <kernel-features.h>.
49691 (fchownat) [__NR_fchownat]: Make code unconditional.
49692 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
49693 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
49694 <kernel-features.h>.
49695 (futimesat) [__NR_futimesat]: Make code unconditional.
49696 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
49697 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
49698 <kernel-features.h>.
49699 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
49700 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49701 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
49702 <kernel-features.h>.
49703 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
49704 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
49705 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
49706 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
49707 <kernel-features.h>.
49708 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
49709 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49710 * sysdeps/unix/sysv/linux/linkat.c: Do not include
49711 <kernel-features.h>.
49712 (linkat) [__NR_linkat]: Make code unconditional.
49713 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49714 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
49715 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
49716 <kernel-features.h>.
49717 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
49718 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
49719 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
49720 <kernel-features.h>.
49721 (mkdirat) [__NR_mkdirat]: Make code unconditional.
49722 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
49723 * sysdeps/unix/sysv/linux/openat.c: Do not include
49724 <kernel-features.h>.
49725 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
49726 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
49727 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
49728 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
49729 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
49730 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
49731 <kernel-features.h>.
49732 (readlinkat) [__NR_readlinkat]: Make code unconditional.
49733 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
49734 result of INLINE_SYSCALL directly, not via int variable.
49735 * sysdeps/unix/sysv/linux/renameat.c: Do not include
49736 <kernel-features.h>.
49737 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
49738 (renameat) [__NR_renameat]: Make code unconditional.
49739 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
49740 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
49741 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
49742 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
49743 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
49744 (__ASSUME_ATFCTS): Do not undefine and redefine.
49745 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
49746 <kernel-features.h>.
49747 (symlinkat) [__NR_symlinkat]: Make code unconditional.
49748 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49749 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
49750 <kernel-features.h>.
49751 (unlinkat) [__NR_unlinkat]: Make code unconditional.
49752 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49753 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
49754 (__ASSUME_ATFCTS): Do not undefine and redefine.
49755 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
49756 <kernel-features.h>.
49757 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
49758 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49759 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
49760 <kernel-features.h>.
49761 (__xmknodat) [__NR_mknodat]: Make code unconditional.
49762 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
49763
49764 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
49765
49766 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
49767
49768 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
49769
49770 [BZ #17069]
49771 * posix/regcomp.c (parse_reg_exp): Deallocate partially
49772 constructed tree before returning error.
49773 * posix/bug-regexp36.c: Expand test case.
49774
49775 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
49776
49777 [BZ #6803]
49778 * math/libm-test.inc (scalbln_test_date):
49779 Add errno expectations.
49780 * math/w_scalblnf.c: New File.
49781 Add wrapper which checks for setting errno to ERANGE.
49782 Add weak_alias for corresponding scalbln function.
49783 * math/w_scalbln.c: Likewise.
49784 * math/w_scalblnl.c: Likewise.
49785 * math/Makefile (libm-calls): Add w_scalbln.
49786 * sysdeps/ieee754/flt-32/s_scalblnf.c:
49787 Remove weak_alias for corresponding scalbln function.
49788 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49789 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
49790 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49791 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49792 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
49793 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
49794 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
49795 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
49796 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
49797 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
49798 Remove long_double_symbol for scalblnl function in libm, libc.
49799 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
49800 Add wrapper which checks for setting errno to ERANGE.
49801 Add long_double_symbol for scalblnl function in libm, libc.
49802 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
49803 Remove long_double_symbol for scalblnl in libm.
49804 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
49805 Add wrapper which checks for setting errno to ERANGE.
49806 Add long_double_symbol for scalblnl function in libm.
49807 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
49808 Do not use wrapper because of own implementation.
49809
49810 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
49811
49812 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
49813 3 bytes for __pad1 for x32.
49814 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
49815
49816 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
49817 H.J. Lu <hongjiu.lu@intel.com>
49818
49819 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
49820 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
49821 * sysdeps/x86_64/multiarch/memset.S: Likewise.
49822 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
49823 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
49824
49825 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
49826
49827 [BZ #17069]
49828 * posix/regcomp.c (parse_expression): Deallocate partially
49829 constructed tree before returning error.
49830 * posix/Makefile.c (tests): Add bug-regex36.
49831 (generated): Add bug-regex36.mtrace.
49832 (tests-special): Add $(objpfx)bug-regex36-mem.out
49833 (bug-regex36-ENV): New variable.
49834 ($(objpfx)bug-regex36-mem.out): New rule.
49835 * posix/bug-regex36.c: New file.
49836
49837 2014-06-19 Will Newton <will.newton@linaro.org>
49838
49839 * malloc/malloc.c (systrim): If extra is zero then return
49840 early.
49841
49842 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
49843
49844 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
49845
49846 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
49847
49848 * sysdeps/aarch64/strchr.S: New file.
49849
49850 2014-06-18 Joseph Myers <joseph@codesourcery.com>
49851
49852 [BZ #17022]
49853 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
49854 from arguments -2 or below.
49855 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
49856 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
49857
49858 2014-06-18 Andreas Schwab <schwab@suse.de>
49859
49860 [BZ #17062]
49861 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
49862 of a bracket expr not to run off the end of the string.
49863 * posix/Makefile (tests): Add tst-fnmatch3.
49864 * posix/tst-fnmatch3.c: New file.
49865
49866 2014-06-18 Joseph Myers <joseph@codesourcery.com>
49867
49868 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
49869 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
49870 [$(cross-compiling) = no]: Likewise.
49871 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
49872 [$(cross-compiling) = no]: Likewise.
49873
49874 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
49875
49876 [BZ #17031]
49877 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
49878 double, adjusted for any remainder from the high double.
49879 * math/libm-test.inc (nearbyint): Add tests.
49880 (rint): Likewise.
49881
49882 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49883
49884 * nptl/sysdeps/powerpc/Makefile: Moved ...
49885 * sysdeps/powerpc/nptl/Makefile: ... here.
49886 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
49887 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
49888 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
49889 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
49890 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
49891 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
49892 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
49893 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
49894 * nptl/sysdeps/powerpc/tls.h: Moved ...
49895 * sysdeps/powerpc/nptl/tls.h: ... here.
49896
49897 2014-06-16 Joseph Myers <joseph@codesourcery.com>
49898
49899 [BZ #16681]
49900 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
49901 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
49902 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
49903 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
49904 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
49905 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
49906 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
49907 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
49908 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
49909
49910 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
49911
49912 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
49913
49914 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
49915
49916 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
49917 defined operator.
49918
49919 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
49920 $TIMEOUTFACTOR.
49921
49922 2014-06-16 Florian Weimer <fweimer@redhat.com>
49923
49924 [BZ #17058]
49925 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
49926 non-executed part of the test.
49927
49928 2014-06-16 Andreas Schwab <schwab@suse.de>
49929
49930 * string/bits/string2.h (strdup, strndup): Update feature guard.
49931
49932 2014-06-14 David S. Miller <davem@davemloft.net>
49933
49934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49935
49936 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
49937
49938 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
49939 that was previously under [RESET_PID].
49940 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
49941
49942 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
49943 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
49944 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
49945 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49946 (__libc_vfork): New strong alias.
49947 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
49948
49949 2014-06-14 Andi Kleen <ak@linux.intel.com>
49950
49951 * sysdeps/generic/elide.h: New file.
49952
49953 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
49954
49955 * Makefile (installed-headers): Adjust path of pthread.h header.
49956
49957 2014-06-13 Roland McGrath <roland@hack.frob.com>
49958
49959 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
49960 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
49961 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
49962 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
49963
49964 * nptl/sysdeps/s390/Makefile: Moved ...
49965 * sysdeps/s390/nptl/Makefile: ... here.
49966 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
49967 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
49968 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
49969 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
49970 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
49971 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
49972 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
49973 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
49974 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
49975 * sysdeps/s390/nptl/pthreaddef.h: ... here.
49976 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
49977 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
49978 * nptl/sysdeps/s390/tls.h: Moved ...
49979 * sysdeps/s390/nptl/tls.h: ... here.
49980
49981 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
49982 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
49983
49984 2014-06-13 David S. Miller <davem@davemloft.net>
49985
49986 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
49987 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
49988 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
49989 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
49990 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
49991 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
49992 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
49993 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
49994 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
49995 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
49996 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
49997 Remove RESET_PID cpp guards.
49998 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
49999 Remove RESET_PID cpp guards.
50000 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
50001
50002 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
50003
50004 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
50005 __sp to uintptr_t.
50006
50007 2014-06-13 Andi Kleen <ak@linux.intel.com>
50008
50009 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
50010 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
50011 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
50012 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
50013 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
50014 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
50015 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
50016 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
50017 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
50018 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
50019 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
50020 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
50021 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
50022 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
50023 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
50024 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
50025 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
50026 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
50027 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
50028 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
50029
50030 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
50031 (pthread_rwlock_rdlock): Add elision.
50032 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
50033 (pthread_rwlock_wrlock): Add elision.
50034 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
50035 (pthread_rwlock_trywrlock): Add elision.
50036 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
50037 (pthread_rwlock_tryrdlock): Add elision.
50038 * nptl/pthread_rwlock_unlock.c: Include elide.h.
50039 (pthread_rwlock_tryrdlock): Add elision unlock.
50040 * nptl/sysdeps/pthread/pthread.h:
50041 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
50042 (PTHREAD_RWLOCK_INITIALIZER,
50043 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
50044 Handle new elision field.
50045 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
50046 * sysdeps/arm/nptl/bits/pthreadtypes.h
50047 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50048 * sysdeps/sh/nptl/bits/pthreadtypes.h
50049 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50050 * sysdeps/tile/nptl/bits/pthreadtypes.h
50051 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50052 * sysdeps/a/nptl/bits/pthreadtypes.h
50053 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50054 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
50055 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50056 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
50057 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50058 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
50059 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50060 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
50061 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50062 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
50063 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50064 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
50065 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50066 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
50067 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50068 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
50069 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50070 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
50071 (elision_init): Set try_xbegin to zero when no RTM.
50072 * sysdeps/x86/nptl/bits/pthreadtypes.h
50073 (pthread_rwlock_t): Change __pad1 to __rwelision.
50074 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50075
50076 2014-06-13 Andi Kleen <ak@linux.intel.com>
50077
50078 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
50079 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
50080 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
50081 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
50082
50083 2014-06-13 Meador Inge <meadori@codesourcery.com>
50084
50085 [BZ #16996]
50086 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
50087 that the cached result has been set before returning it.
50088
50089 2014-06-12 Roland McGrath <roland@hack.frob.com>
50090
50091 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
50092 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
50093 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
50094 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
50095 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
50096 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
50097
50098 * nptl/sysdeps/sparc/Makefile: Moved ...
50099 * sysdeps/sparc/nptl/Makefile: ... here.
50100 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
50101 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
50102 * nptl/sysdeps/sparc/tls.h: Moved ...
50103 * sysdeps/sparc/nptl/tls.h: ... here.
50104 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
50105 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
50106 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
50107 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
50108 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
50109 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
50110 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
50111 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
50112 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
50113 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
50114 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
50115 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
50116 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
50117 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
50118 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
50119 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
50120 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
50121 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
50122 Update #include.
50123 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
50124 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
50125 Update #include.
50126 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
50127 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
50128 Update #include.
50129 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
50130 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
50131 Update #include.
50132
50133 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50134
50135 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
50136 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
50137
50138 * sysdeps/pthread/posix-timer.h: Include <list.h>.
50139 (struct list_links): Type removed.
50140 (struct thread_node, struct timer_node): Replace struct list_links
50141 with struct list_head.
50142 (list_unlink_ip): Likewise.
50143 * sysdeps/pthread/timer_routines.c
50144 (timer_free_list, thread_free_list, thread_active_list): Likewise.
50145 (list_append, list_insbefore): Likewise.
50146 (list_init): Function removed.
50147 (thread_init, init_module): Use INIT_LIST_HEAD instead.
50148 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
50149 * sysdeps/pthread/Makefile: ... here, new file.
50150
50151 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
50152 * sysdeps/nptl/Implies: ... here.
50153 * sysdeps/unix/sysv/linux/Implies: Add nptl.
50154 * nptl/sysdeps/pthread/list.h: Moved ...
50155 * include/list.h: ... here.
50156 * nptl/sysdeps/pthread/createthread.c: Moved ...
50157 * nptl/createthread.c: ... here.
50158 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
50159 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
50160 * nptl/pt-longjmp.c: ... here.
50161 * nptl/sysdeps/pthread/Makefile: Moved ...
50162 * sysdeps/nptl/Makefile: ... here.
50163 * nptl/sysdeps/pthread/Subdirs: Moved ...
50164 * sysdeps/nptl/Subdirs: ... here.
50165 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
50166 * sysdeps/nptl/aio_misc.h: ... here.
50167 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
50168 * sysdeps/nptl/bits/libc-lock.h: ... here.
50169 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
50170 * sysdeps/nptl/bits/libc-lockP.h: ... here.
50171 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
50172 * sysdeps/nptl/bits/stdio-lock.h: ... here.
50173 * nptl/sysdeps/pthread/configure: Moved ...
50174 * sysdeps/nptl/configure: ... here.
50175 * nptl/sysdeps/pthread/configure.ac: Moved ...
50176 * sysdeps/nptl/configure.ac: ... here.
50177 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
50178 * sysdeps/nptl/gai_misc.h: ... here.
50179 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
50180 * sysdeps/nptl/librt-cancellation.c: ... here.
50181 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
50182 * sysdeps/nptl/malloc-machine.h: ... here.
50183 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
50184 * sysdeps/nptl/pthread-functions.h: ... here.
50185 * nptl/sysdeps/pthread/pthread.h: Moved ...
50186 * sysdeps/nptl/pthread.h: ... here.
50187 * nptl/sysdeps/pthread/setxid.h: Moved ...
50188 * sysdeps/nptl/setxid.h: ... here.
50189 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
50190 * sysdeps/nptl/sigfillset.c: ... here.
50191 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
50192 * sysdeps/nptl/tcb-offsets.h: ... here.
50193 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
50194 * sysdeps/nptl/tst-mqueue8x.c: ... here.
50195 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
50196 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
50197 * nptl/sysdeps/pthread/allocalim.h: Moved ...
50198 * sysdeps/pthread/allocalim.h: ... here.
50199 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
50200 * sysdeps/pthread/bits/sigthread.h: ... here.
50201 * nptl/sysdeps/pthread/flockfile.c: Moved ...
50202 * sysdeps/pthread/flockfile.c: ... here.
50203 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
50204 * sysdeps/pthread/ftrylockfile.c: ... here.
50205 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
50206 * sysdeps/pthread/funlockfile.c: ... here.
50207 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
50208 * sysdeps/pthread/posix-timer.h: ... here.
50209 * nptl/sysdeps/pthread/timer_create.c: Moved ...
50210 * sysdeps/pthread/timer_create.c: ... here.
50211 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
50212 * sysdeps/pthread/timer_delete.c: ... here.
50213 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
50214 * sysdeps/pthread/timer_getoverr.c: ... here.
50215 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
50216 * sysdeps/pthread/timer_gettime.c: ... here.
50217 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
50218 * sysdeps/pthread/timer_routines.c: ... here.
50219 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
50220 * sysdeps/pthread/timer_settime.c: ... here.
50221 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
50222 * sysdeps/pthread/tst-timer.c: ... here.
50223 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
50224 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
50225
50226 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
50227 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
50228
50229 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
50230 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
50231 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
50232 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
50233 Update #include target.
50234 * nptl/sysdeps/i386/i686/Makefile: Moved ...
50235 * sysdeps/i386/i686/nptl/Makefile: ... here.
50236 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
50237 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
50238 Update #include target.
50239 * nptl/sysdeps/i386/i686/tls.h: Moved ...
50240 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
50241 * nptl/sysdeps/i386/Makefile: Moved ...
50242 * sysdeps/i386/nptl/Makefile: ... here.
50243 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
50244 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
50245 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
50246 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
50247 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
50248 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
50249 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
50250 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
50251 * sysdeps/i386/nptl/pthreaddef.h: ... here.
50252 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
50253 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
50254 * nptl/sysdeps/i386/tls.h: Moved ...
50255 * sysdeps/i386/nptl/tls.h: ... here.
50256
50257 * sysdeps/sh/Makefile [$(subdir) = csu]
50258 (gen-as-const-headers): Add tcb-offsets.sym.
50259 * nptl/sysdeps/sh/Makefile: File removed.
50260 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
50261 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
50262 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
50263 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
50264 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
50265 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
50266 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
50267 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
50268 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
50269 * sysdeps/sh/nptl/pthreaddef.h: ... here.
50270 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
50271 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
50272 * nptl/sysdeps/sh/tls.h: Moved ...
50273 * sysdeps/sh/nptl/tls.h: ... here.
50274 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
50275 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
50276 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
50277 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
50278 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
50279 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
50280 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
50281 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
50282 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
50283 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
50284 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
50285 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
50286 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
50287 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
50288 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
50289 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
50290 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
50291 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
50292 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
50293 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
50294 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
50295 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
50296 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
50297 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
50298 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
50299 Moved ...
50300 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
50301 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
50302 Moved ...
50303 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
50304 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
50305 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
50306 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
50307 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
50308 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
50309 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
50310 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
50311 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
50312 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
50313 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
50314 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
50315 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
50316 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
50317 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
50318 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
50319 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
50320 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
50321 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
50322
50323 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
50324
50325 * posix/spawn_faction_addopen.c: Include string.h.
50326
50327 2014-06-11 Roland McGrath <roland@hack.frob.com>
50328
50329 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
50330 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
50331 * nptl/sysdeps/x86_64/Makefile: Moved ...
50332 * sysdeps/x86_64/nptl/Makefile: ... here.
50333 * nptl/sysdeps/x86_64/configure: Moved ...
50334 * sysdeps/x86_64/nptl/configure: ... here.
50335 * nptl/sysdeps/x86_64/configure.ac: Moved ...
50336 * sysdeps/x86_64/nptl/configure.ac: ... here.
50337 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
50338 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
50339 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
50340 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
50341 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
50342 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
50343 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
50344 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
50345 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
50346 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
50347 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
50348 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
50349 * nptl/sysdeps/x86_64/tls.h: Moved ...
50350 * sysdeps/x86_64/nptl/tls.h: ... here.
50351 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
50352 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
50353 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
50354 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
50355
50356 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
50357
50358 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50359
50360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50361
50362 2014-06-11 Joseph Myers <joseph@codesourcery.com>
50363
50364 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
50365 type.
50366 [POSIX] (off_t): Likewise.
50367 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
50368 [POSIX] (S_ISBLK): Require macro.
50369 [POSIX] (S_ISCHR): Likewise.
50370 [POSIX] (S_ISDIR): Likewise.
50371 [POSIX] (S_ISFIFO): Likewise.
50372 [POSIX] (S_ISREG): Likewise.
50373 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
50374 optional-macro.
50375 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
50376 type.
50377 [POSIX] (time_t): Likewise.
50378 [POSIX] (timer_t): Likewise.
50379
50380 2014-06-11 Florian Weimer <fweimer@redhat.com>
50381
50382 [BZ #17048]
50383 * posix/spawn_int.h (struct __spawn_action): Make the path string
50384 non-const to support deallocation.
50385 * posix/spawn_faction_addopen.c
50386 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
50387 * posix/spawn_faction_destroy.c
50388 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
50389 path in all spawn_do_open actions.
50390 * posix/tst-spawn.c (do_test): Exercise the copy operation in
50391 posix_spawn_file_actions_addopen.
50392
50393 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
50394
50395 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
50396 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
50397 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
50398 conditional code always true.
50399 (__libc_vfork): New alias.
50400
50401 2014-06-11 Roland McGrath <roland@hack.frob.com>
50402
50403 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50404 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
50405
50406 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
50407
50408 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50409 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
50410
50411 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50412 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
50413
50414 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50415 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
50416
50417 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
50418
50419 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
50420 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
50421 multiarch strcmp for PPC64.
50422 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
50423 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
50424 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
50425 multiarch optimizations.
50426 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50427 (__libc_ifunc_impl_list): Likewise.
50428
50429 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
50430
50431 * benchtests/scripts/validate_benchout.py: New script.
50432 * benchtests/Makefile (bench-func): Call it.
50433 * benchtests/scripts/benchout.schema.json: New file.
50434
50435 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
50436
50437 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
50438 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
50439 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
50440 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
50441 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
50442 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
50443 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
50444 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
50445 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
50446 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
50447 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
50448 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
50449 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
50450 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
50451 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
50452 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
50453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
50454 Moved ...
50455 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
50456 ... here.
50457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
50458 Moved ...
50459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
50460 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
50461 Moved ...
50462 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
50463 ... here.
50464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
50465 Moved ...
50466 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
50467 ... here.
50468 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
50469 Moved ...
50470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
50471 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
50472 Moved ...
50473 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
50474 ... here.
50475 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
50476 Moved ...
50477 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
50478 ... here.
50479 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
50480 Moved ...
50481 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
50482 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
50483 Moved ...
50484 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
50485 ... here.
50486 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
50487 Moved ...
50488 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
50489 ... here.
50490 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
50491 Moved ...
50492 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
50493 ... here.
50494 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
50495 Moved ...
50496 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
50497 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
50498 Moved ...
50499 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
50500 ... here.
50501 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
50502 Moved ...
50503 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
50504 ... here.
50505 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
50506 Moved ...
50507 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
50508 ... here.
50509 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
50510 Moved ...
50511 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
50512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
50513 Moved ...
50514 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
50515 ... here.
50516 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
50517 Moved ...
50518 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
50519 ... here.
50520 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
50521 Moved ...
50522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
50523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
50524 Moved ...
50525 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
50526 ... here.
50527 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
50528 Moved ...
50529 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
50530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
50531 Moved ...
50532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
50533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
50534 Moved ...
50535 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
50536 ... here.
50537 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
50538 Moved ...
50539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
50540 ... here.
50541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
50542 Moved ...
50543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
50544 ... here.
50545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
50546 Moved ...
50547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
50548 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
50549 Moved ...
50550 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
50551 ... here.
50552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
50553 Moved ...
50554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
50555 ... here.
50556 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
50557 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
50558 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
50559 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
50560 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
50561 Moved ...
50562 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
50563 ... here.
50564 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
50565 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
50566 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
50567 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
50568 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
50569 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
50570 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
50571 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
50572 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
50573 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
50574 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
50575 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
50576 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
50577 Moved ...
50578 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
50579 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
50580 Moved ...
50581 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
50582 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
50583 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
50584 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
50585 Moved ...
50586 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
50587 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
50588 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
50589 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
50590 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
50591 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
50592 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
50593
50594 2014-06-10 Wilco <wdijkstr@arm.com>
50595
50596 * math/test-fenv-return.c: New file.
50597 * math/Makefile: Add new test test-fenv-return.
50598
50599 2014-06-10 Joseph Myers <joseph@codesourcery.com>
50600
50601 [BZ #17042]
50602 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
50603 when x - 1 is zero.
50604 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
50605 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
50606 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
50607 0.0L for an argument of 1.0L.
50608 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
50609 Likewise.
50610 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
50611 value when x - 1 is zero.
50612 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
50613 * sysdeps/i386/fpu/libm-test-ulps: Update.
50614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50615
50616 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
50617
50618 [BZ #15119]
50619 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
50620
50621 2014-06-09 Roland McGrath <roland@hack.frob.com>
50622
50623 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
50624 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
50625
50626 2014-06-09 Roland McGrath <roland@hack.frob.com>
50627
50628 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50629 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
50630
50631 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50632 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
50633
50634 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50635 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
50636
50637 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50638 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
50639
50640 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
50641 if not already defined.
50642 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
50643 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
50644 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
50645 (TLS_INIT_TP): Use it.
50646 (TLS_DEFINE_INIT_TP): New macro.
50647 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
50648
50649 2014-06-09 Joseph Myers <joseph@codesourcery.com>
50650
50651 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
50652 constant.
50653 [POSIX] (IXANY): Likewise.
50654 [POSIX] (OLCUC): Likewise.
50655 [POSIX || POSIX2008] (CBAUD): Do not allow.
50656 [POSIX || POSIX2008] (DEFECHO): Likewise.
50657 [POSIX || POSIX2008] (ECHOCTL): Likewise.
50658 [POSIX || POSIX2008] (ECHOKE): Likewise.
50659 [POSIX || POSIX2008] (ECHOPRT): Likewise.
50660 [POSIX || POSIX2008] (EXTA): Likewise.
50661 [POSIX || POSIX2008] (EXTB): Likewise.
50662 [POSIX || POSIX2008] (FLUSHO): Likewise.
50663 [POSIX || POSIX2008] (LOBLK): Likewise.
50664 [POSIX || POSIX2008] (PENDIN): Likewise.
50665 [POSIX || POSIX2008] (SWTCH): Likewise.
50666 [POSIX || POSIX2008] (VDISCARD): Likewise.
50667 [POSIX || POSIX2008] (VDSUSP): Likewise.
50668 [POSIX || POSIX2008] (VLNEXT): Likewise.
50669 [POSIX || POSIX2008] (VREPRINT): Likewise.
50670 [POSIX || POSIX2008] (VSTATUS): Likewise.
50671 [POSIX || POSIX2008] (VWERASE): Likewise.
50672 (B*): Change to B[0123456789]*.
50673 * conform/data/time.h-data [POSIX || UNIX98]
50674 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
50675 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
50676 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
50677 [POSIX] (tm_*): Do not allow.
50678
50679 2014-06-07 Joseph Myers <joseph@codesourcery.com>
50680
50681 * Makefile (install): Don't set LANGUAGE.
50682 * Makefile.in (install): Likewise.
50683 * assert/Makefile (test-assert-ENV): Remove variable.
50684 (test-assert-perr-ENV): Likewise.
50685 * elf/Makefile (neededtest4-ENV): Likewise.
50686 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50687 [$(cross-compiling) = no]: Don't set LANGUAGE.
50688 * io/ftwtest-sh (LANG): Remove variable.
50689 * libio/Makefile (tst-widetext-ENV): Likewise.
50690 * manual/install.texi (Running make install): Don't refer to
50691 environment settings for make install.
50692 * INSTALL: Regenerated.
50693 * nptl/tst-tls6.sh: Don't set LANG.
50694 * posix/globtest.sh (LANG): Remove variable.
50695 * string/Makefile (tester-ENV): Likewise.
50696 (inl-tester-ENV): Likewise.
50697 (noinl-tester-ENV): Likewise.
50698 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50699 [$(cross-compiling) = no]: Don't set LANGUAGE.
50700 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
50701 without explicit environment settings.
50702
50703 2014-06-06 Roland McGrath <roland@hack.frob.com>
50704
50705 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
50706 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
50707 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
50708 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
50709
50710 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
50711
50712 * crypt/crypt-private.h [DOS]: Add some includes taken from the
50713 other files in the crypt directory.
50714 * crypt/crypt.c: Remove duplicate includes.
50715 * crypt/crypt-entry.c: Likewise.
50716 * crypt/crypt_util.c: Likewise.
50717
50718 2014-06-06 Joseph Myers <joseph@codesourcery.com>
50719
50720 * Makeconfig (run-program-env): New variable.
50721 (run-program-prefix-before-env): Likewise.
50722 (run-program-prefix-after-env): Likewise.
50723 (run-program-prefix): Define in terms of new variables.
50724 (built-program-cmd-before-env): New variable.
50725 (built-program-cmd-after-env): Likewise.
50726 (built-program-cmd): Define in terms of new variables.
50727 (test-program-prefix-before-env): New variable.
50728 (test-program-prefix-after-env): Likewise.
50729 (test-program-prefix): Define in terms of new variables.
50730 (test-program-cmd-before-env): New variable.
50731 (test-program-cmd-after-env): Likewise.
50732 (test-program-cmd): Define in terms of new variables.
50733 * Rules (make-test-out): Use $(run-program-env).
50734 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
50735 (help): Do not mention environment variables. Mention
50736 --timeoutfactor option.
50737 (timeoutfactor): New variable.
50738 (blacklist_exports): Remove function.
50739 (exports): Remove variable.
50740 (command): Do not include ${exports}.
50741 * manual/install.texi (Configuring and compiling): Do not mention
50742 test wrappers preserving environment variables. Mention that last
50743 assignment to a variable must take precedence.
50744 * INSTALL: Regenerated.
50745 * benchtests/Makefile (run-bench): Use $(run-program-env).
50746 * catgets/Makefile ($(objpfx)test1.cat): Use
50747 $(built-program-cmd-before-env), $(run-program-env) and
50748 $(built-program-cmd-after-env).
50749 ($(objpfx)test2.cat): Do not specify environment variables
50750 explicitly.
50751 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
50752 $(run-program-env) and $(built-program-cmd-after-env).
50753 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
50754 $(run-program-env) and $(test-program-cmd-after-env).
50755 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
50756 explicitly.
50757 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
50758 run_program_env and test_program_cmd_after_env arguments.
50759 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
50760 * elf/tst-pathopt.sh: Use run_program_env argument.
50761 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
50762 $(test-wrapper-env) and $(run-program-env).
50763 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
50764 run_program_env arguments.
50765 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
50766 * intl/Makefile ($(objpfx)tst-gettext.out): Use
50767 $(test-program-prefix-before-env), $(run-program-env) and
50768 $(test-program-prefix-after-env).
50769 ($(objpfx)tst-gettext2.out): Likewise.
50770 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
50771 run_program_env and test_program_prefix_after_env arguments.
50772 * intl/tst-gettext2.sh: Likewise.
50773 * intl/tst-gettext4.sh: Do not set environment variables
50774 explicitly.
50775 * intl/tst-gettext6.sh: Likewise.
50776 * intl/tst-translit.sh: Likewise.
50777 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
50778 $(test-program-prefix-before-env), $(run-program-env) and
50779 $(test-program-prefix-after-env).
50780 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
50781 run_program_env and test_program_prefix_after_env arguments.
50782 * math/Makefile (run-regen-ulps): Use $(run-program-env).
50783 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
50784 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
50785 explicitly with each use of ${test_wrapper_env}.
50786 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
50787 $(test-program-prefix-before-env), $(run-program-env) and
50788 $(test-program-prefix-after-env).
50789 * posix/tst-getconf.sh: Do not set environment variables
50790 explicitly.
50791 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
50792 run_program_env and test_program_prefix_after_env arguments.
50793 * stdio-common/tst-printf.sh: Do not set environment variables
50794 explicitly.
50795 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
50796 $(test-program-prefix-before-env), $(run-program-env) and
50797 $(test-program-prefix-after-env).
50798 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
50799 run_program_env and test_program_prefix_after_env arguments.
50800 Split $test calls into $test_pre and $test.
50801 * timezone/Makefile (build-testdata): Use
50802 $(built-program-cmd-before-env), $(run-program-env) and
50803 $(built-program-cmd-after-env).
50804
50805 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50806
50807 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
50808 strlen for non SHARED builds.
50809
50810 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
50811
50812 * nptl/allocatestack.c (check_list): Inlined function...
50813 (__reclaim_stacks): ... here.
50814
50815 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
50816
50817 [BZ #15698]
50818 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
50819 memory overrun.
50820
50821 2014-06-05 Joseph Myers <joseph@codesourcery.com>
50822
50823 * Rules (make-test-out): Include
50824 LOCPATH=$(common-objpfx)localedata in default environment.
50825 * debug/Makefile (tst-chk1-ENV): Remove variable.
50826 (tst-chk2-ENV): Likewise.
50827 (tst-chk3-ENV): Likewise.
50828 (tst-chk4-ENV): Likewise.
50829 (tst-chk5-ENV): Likewise.
50830 (tst-chk6-ENV): Likewise.
50831 (tst-lfschk1-ENV): Likewise.
50832 (tst-lfschk2-ENV): Likewise.
50833 (tst-lfschk3-ENV): Likewise.
50834 (tst-lfschk4-ENV): Likewise.
50835 (tst-lfschk5-ENV): Likewise.
50836 (tst-lfschk6-ENV): Likewise.
50837 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
50838 (tst-iconv7-ENV): Likewise.
50839 * intl/Makefile (LOCPATH-ENV): Likewise.
50840 (tst-codeset-ENV): Likewise.
50841 (tst-gettext3-ENV): Likewise.
50842 (tst-gettext5-ENV): Likewise.
50843 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
50844 (tst-fopenloc-ENV): Likewise.
50845 (tst-fgetws-ENV): Remove variable.
50846 (tst-ungetwc1-ENV): Likewise.
50847 (tst-ungetwc2-ENV): Likewise.
50848 (bug-ungetwc2-ENV): Likewise.
50849 (tst-swscanf-ENV): Likewise.
50850 (bug-ftell-ENV): Likewise.
50851 (tst-fgetwc-ENV): Likewise.
50852 (tst-fseek-ENV): Likewise.
50853 (tst-ftell-partial-wide-ENV): Likewise.
50854 (tst-ftell-active-handler-ENV): Likewise.
50855 (tst-ftell-append-ENV): Likewise.
50856 * posix/Makefile (tst-fnmatch-ENV): Likewise.
50857 (tst-regexloc-ENV): Likewise.
50858 (bug-regex1-ENV): Likewise.
50859 (tst-regex-ENV): Likewise.
50860 (tst-regex2-ENV): Likewise.
50861 (bug-regex5-ENV): Likewise.
50862 (bug-regex6-ENV): Likewise.
50863 (bug-regex17-ENV): Likewise.
50864 (bug-regex18-ENV): Likewise.
50865 (bug-regex19-ENV): Likewise.
50866 (bug-regex20-ENV): Likewise.
50867 (bug-regex22-ENV): Likewise.
50868 (bug-regex23-ENV): Likewise.
50869 (bug-regex25-ENV): Likewise.
50870 (bug-regex26-ENV): Likewise.
50871 (bug-regex30-ENV): Likewise.
50872 (bug-regex32-ENV): Likewise.
50873 (bug-regex33-ENV): Likewise.
50874 (bug-regex34-ENV): Likewise.
50875 (bug-regex35-ENV): Likewise.
50876 (tst-rxspencer-ENV): Likewise.
50877 (tst-rxspencer-no-utf8-ENV): Likewise.
50878 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
50879 (tst-sscanf-ENV): Likewise.
50880 (tst-swprintf-ENV): Likewise.
50881 (tst-swscanf-ENV): Likewise.
50882 (test-vfprintf-ENV): Likewise.
50883 (scanf13-ENV): Likewise.
50884 (bug14-ENV): Likewise.
50885 (tst-grouping-ENV): Likewise.
50886 * stdlib/Makefile (tst-strtod-ENV): Likewise.
50887 (tst-strtod3-ENV): Likewise.
50888 (tst-strtod4-ENV): Likewise.
50889 (tst-strtod5-ENV): Likewise.
50890 (testmb2-ENV): Likewise./
50891 * string/Makefile (tst-strxfrm-ENV): Likewise.
50892 (tst-strxfrm2-ENV): Likewise.
50893 (bug-strcoll1-ENV): Likewise.
50894 (test-strcasecmp-ENV): Likewise.
50895 (test-strncasecmp-ENV): Likewise.
50896 * time/Makefile (tst-strptime-ENV): Likewise.
50897 (tst-ftime_l-ENV): Likewise.
50898 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
50899 (tst-mbrtowc-ENV): Likewise.
50900 (tst-wcrtomb-ENV): Likewise.
50901 (tst-mbrtowc2-ENV): Likewise.
50902 (tst-c16c32-1-ENV): Likewise.
50903 (tst-mbsnrtowcs-ENV): Likewise.
50904
50905 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
50906
50907 * manual/resource.texi (How to get information about the memory
50908 subsystem?): Fix typo.
50909 Reported by Peon de la Parra Ivan <peon@keba.com>
50910
50911 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
50912
50913 [BZ #16882]
50914 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
50915 (pthread_spin_lock): Branch out of spin loop to proper location.
50916 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
50917 (pthread_spin_lock): Likewise.
50918
50919 * nptl/tst-spin4.c: New test.
50920 * nptl/Makefile (tests): Add tst-spin4.
50921
50922 2014-06-03 Andreas Schwab <schwab@suse.de>
50923
50924 [BZ #15946]
50925 * resolv/res_send.c (send_dg): Reload file descriptor after
50926 calling reopen.
50927
50928 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
50929
50930 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50931
50932 2014-06-03 Richard Henderson <rth@redhat.com>
50933
50934 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
50935 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
50936 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
50937 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
50938 in the SAVE_PID block.
50939 (__libc_vfork): New alias.
50940 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
50941
50942 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
50943 child in registers, not on the stack. Remove RESET_PID conditionals.
50944 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
50945
50946 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
50947
50948 * sysdeps/aarch64/libm-test-ulps: Regenerate.
50949
50950 2014-06-03 Wilco <wdijkstr@arm.com>
50951
50952 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
50953 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
50954 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
50955 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
50956 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
50957 Likewise.
50958
50959 2014-06-03 Wilco <wdijkstr@arm.com>
50960
50961 * sysdeps/aarch64/fpu/math_private.h
50962 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
50963 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
50964 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
50965 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
50966 Fix declarations.
50967
50968 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
50969
50970 * crypt/crypt-private.h: Include ufc-crypt.h.
50971 (__b64_from_24bit): Declare extern.
50972 * crypt/crypt_util.c(__b64_from_24bit): New function.
50973 (b64t): New static const variable.
50974 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
50975 (b64t): Remove variable.
50976 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
50977 * crypt/sha256-crypt.c: Include crypt-private.h.
50978 (b64t): Remove variable.
50979 (__sha256_crypt_r): Remove b64_from_24bit and replace
50980 with __b64_from_24bit.
50981 * crypt/sha512-crypt.c: Likewise.
50982
50983 2014-06-02 Roland McGrath <roland@hack.frob.com>
50984
50985 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
50986 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
50987 Label the code __libc_vfork rather than __vfork.
50988 [!NOT_IN_libc] (vfork): Define as weak alias.
50989 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
50990 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
50991 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
50992
50993 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
50994
50995 * malloc/malloc.c (malloc_info): Fix format specifier for
50996 n_mmaps.
50997
50998 2014-06-02 Wilco <wdijkstr@arm.com>
50999
51000 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
51001 FPCR write.
51002
51003 2014-06-02 Wilco <wdijkstr@arm.com>
51004
51005 [BZ #17009]
51006 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
51007 Rewrite to reduce FPCR/FPSR accesses.
51008
51009 2014-06-01 David S. Miller <davem@davemloft.net>
51010
51011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51012
51013 2014-05-31 David S. Miller <davem@davemloft.net>
51014
51015 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
51016 to occur in round to nearest mode when |x| >= 2.0
51017
51018 2014-05-30 Richard Henderson <rth@twiddle.net>
51019
51020 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
51021 (PSEUDO_RET_NOERRNO): Remove.
51022 (ret): Don't redefine.
51023 (ret_NOERRNO): Define in terms of ret.
51024 (ret_ERRVAL): Likewise.
51025
51026 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
51027 use of PSEUDO_RET; perform the error check directly.
51028
51029 2014-05-30 Marko Myllynen <myllynen@redhat.com>
51030
51031 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
51032 with __int128_t.
51033
51034 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51035
51036 * malloc/malloc (malloc_info): Fix formatting.
51037
51038 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51039 Roland McGrath <roland@hack.frob.com>
51040
51041 * malloc/malloc (malloc_info): Also print mmapped statistics.
51042
51043 2014-05-30 Roland McGrath <roland@hack.frob.com>
51044
51045 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
51046 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
51047
51048 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
51049
51050 * malloc/malloc.c (malloc_info): Inline mi_arena.
51051
51052 2014-05-29 Richard Henderson <rth@twiddle.net>
51053
51054 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
51055 Remove comma before expanding ASM_ARGS_##nr.
51056 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
51057 Make _x0 a strict output; make _x8 a strict input; adjust expansion
51058 of ASM_ARGS_##nr.
51059 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
51060 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
51061 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
51062 (ASM_ARGS_1): Add leading comma.
51063
51064 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
51065 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
51066 to __errno_location.
51067 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
51068 Remove the expected plt for __errno_location.
51069
51070 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51071 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
51072 call to __read_tp.
51073
51074 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51075 Always allocate 64 bytes of stack frame. Use ldp/stp to create
51076 it and break it down.
51077 (DOCARGS_0, DOCARGS_1): Do nothing.
51078 (DOCARGS_2): Update to store into the new stack frame.
51079 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
51080 (UNDOCARGS_1): Update to restore from the new stack frame.
51081 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
51082 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
51083
51084 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51085 (SINGLE_THREAD_P): New parameter for result regno.
51086 (PSEUDO): Update to match; use cbz instead of beq.
51087
51088 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51089 Use ENTRY to define the _nocancel entry point. Share the syscall
51090 and syscall error check paths with the cancel path.
51091 (PSEUDO_END): New.
51092
51093 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
51094 whitespace; tabs before and after asm mnemonics.
51095
51096 2014-05-29 Eric Wong <normalperson@yhbt.net>
51097
51098 [BZ #15132]
51099 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51100 Call fstat64 or stat64 internally, depending on arguments passed.
51101 Replace stat buffer argument with file descriptor argument.
51102 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
51103 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
51104 Pass fd to __internal_statvfs instead of calling fstat64.
51105 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
51106 Pass fd to __internal_statvfs64 instead of calling fstat64.
51107 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
51108 Pass -1 to __internal_statvfs instead of calling stat64.
51109 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
51110 Pass -1 to __internal_statvfs64 instead of calling stat64.
51111
51112 2014-05-28 Roland McGrath <roland@hack.frob.com>
51113
51114 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
51115 that was previously under [RESET_PID].
51116 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
51117
51118 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
51119 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
51120
51121 2014-05-27 Roland McGrath <roland@hack.frob.com>
51122
51123 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
51124
51125 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
51126 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
51127
51128 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
51129
51130 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
51131
51132 2014-05-27 Andreas Schwab <schwab@suse.de>
51133
51134 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
51135 TLS_INIT_TP macro.
51136 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
51137 * elf/rtld.c (init_tls, dl_main): Likewise.
51138 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
51139 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
51140 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
51141 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
51142 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
51143 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
51144 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
51145 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
51146 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
51147 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
51148 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
51149 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
51150 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
51151 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
51152 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
51153 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
51154 * sysdeps/generic/tls.h: Update description.
51155
51156 2014-05-27 Will Newton <will.newton@linaro.org>
51157
51158 [BZ #16990]
51159 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
51160 and restore r2 rather than just restoring.
51161
51162 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
51163
51164 [BZ #16724]
51165 * libio/tst-ftell-append.c: New test case.
51166 * libio/Makefile (tests): Add test case.
51167 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
51168 append mode.
51169 * libio/wfileops.c (do_ftell_wide): Likewise.
51170
51171 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51172
51173 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51174
51175 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
51176 ...
51177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
51178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
51179 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
51180 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
51181 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
51182 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
51183 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
51184 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
51185 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
51186 Moved ...
51187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
51188 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
51189 Moved ...
51190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
51191 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
51192 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
51193 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
51194 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
51195 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
51196 ...
51197 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
51198 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
51199 Moved ...
51200 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
51201 here.
51202 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
51203 ...
51204 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
51205 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
51206 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
51207
51208 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
51209 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
51210 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
51211 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
51212
51213 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
51214 merge into ...
51215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
51216 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
51217 ...
51218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
51219 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
51220 ...
51221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
51222 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
51223 Moved ...
51224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
51225 here.
51226 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
51227 Moved ...
51228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
51229 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
51230 Moved ...
51231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
51232
51233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
51234 conditional [RESET_PID].
51235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
51236 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
51237 removed.
51238 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
51239 removed.
51240
51241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
51242 <tcb-offsets.h>.
51243 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51244 (__libc_vfork): New strong alias.
51245 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
51246 removed.
51247 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
51248 Removed.
51249
51250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
51251 <tcb-offsets.h>.
51252 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
51253 (__libc_vfork): New strong alias.
51254 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
51255 removed.
51256 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
51257 removed.
51258
51259 2014-05-26 Carlos O'Donell <carlos@redhat.com>
51260
51261 * malloc/malloc.c (mi_arena): New function.
51262 (malloc_info): Remove nested function mi_arena. Call non-nosted
51263 function mi_arena.
51264
51265 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51266
51267 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
51268 by insrwi.
51269 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
51270 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
51271 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
51272 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
51273 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
51274 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
51275 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
51276
51277 2014-05-26 Andreas Schwab <schwab@suse.de>
51278
51279 [BZ #16984]
51280 * locale/programs/repertoire.c (repertoire_read): Add slash
51281 between I18NPATH element and file name.
51282 * locale/programs/locfile.c (locfile_read): Likewise.
51283
51284 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
51285
51286 * nptl/pthread_mutexattr_settype.c
51287 (__pthread_mutexattr_settype):
51288 Disable lock elision for PTHREAD_MUTEX_NORMAL.
51289
51290 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
51291
51292 * nptl/tst-mutex5 (do_test):
51293 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
51294
51295 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51296
51297 * benchtests/README: Document 'init' directive.
51298 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
51299 BENCH_INIT.
51300 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
51301 (parse_file): Recognize 'init' directive.
51302
51303 2014-05-26 Kyle McMartin <kyle@redhat.com>
51304
51305 [BZ #16796]
51306 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
51307 alignment of struct pthread.
51308
51309 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51310
51311 [BZ #16878]
51312 * nscd/netgroupcache.c (addgetnetgrentX): Look for
51313 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51314 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
51315 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51316
51317 2014-05-25 Richard Henderson <rth@twiddle.net>
51318
51319 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51320 (SINGLE_THREAD_P_PIC): Remove.
51321 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
51322 (SINGLE_THREAD_P_PIC): Remove.
51323
51324 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
51325 branch to syscall error ...
51326 (PSEUDO): ... here.
51327 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
51328 from __local_syscall_error to .Lsyscall_error.
51329 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
51330 (SYSCALL_ERROR): Update label name.
51331
51332 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51333 Do not use DOARGS/UNDOARGS.
51334 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
51335 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
51336 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
51337 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
51338 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
51339
51340 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
51341 block comment.
51342
51343 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
51344 define if !NOT_IN_libc.
51345 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
51346 define with non-default symbol versions.
51347
51348 2014-05-23 Richard Henderson <rth@twiddle.net>
51349
51350 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
51351 (vfork, __vfork): Define via compat_symbol.
51352
51353 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
51354 [!HAVE_IFUNC] (vfork_compat): Remove.
51355 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
51356
51357 2014-05-23 Joseph Myers <joseph@codesourcery.com>
51358
51359 [BZ #16978]
51360 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
51361 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
51362 variable.
51363
51364 2014-05-23 Richard Henderson <rth@twiddle.net>
51365
51366 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
51367 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
51368 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
51369 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
51370
51371 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
51372 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
51373 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
51374 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
51375 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
51376 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
51377 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
51378 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
51379 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
51380 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
51381 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
51382 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
51383 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
51384 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
51385 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
51386 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
51387 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
51388 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
51389 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
51390 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
51391 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
51392 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
51393 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
51394 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
51395 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
51396 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
51397 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
51398 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
51399 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
51400 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
51401 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
51402 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
51403 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
51404 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
51405 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
51406 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
51407 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
51408 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
51409 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
51410 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
51411 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
51412 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
51413 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
51414 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
51415 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
51416 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
51417 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
51418 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
51419 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
51420 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
51421 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
51422 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
51423 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
51424 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
51425 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
51426 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
51427
51428 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
51429 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
51430 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
51431 before exiting on error.
51432 (__libc_vfork): New strong alias.
51433 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
51434 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
51435
51436 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
51437 that was previously under [RESET_PID].
51438 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
51439
51440 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
51441
51442 2014-05-23 Joseph Myers <joseph@codesourcery.com>
51443
51444 [BZ #16977]
51445 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
51446 value when x - 1 is zero.
51447 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
51448 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
51449 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
51450 0.0L for an argument of 1.0L.
51451 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
51452 Likewise.
51453 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
51454 value when x - 1 is zero.
51455 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
51456 * sysdeps/i386/fpu/libm-test-ulps: Update.
51457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51458
51459 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
51460
51461 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
51462 alphasort and versionsort.
51463
51464 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51465
51466 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
51467 macro.
51468 [copysignf]: Likewise.
51469
51470 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
51471
51472 * crypt/md5-crypt.c: Fix formatting.
51473
51474 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
51475
51476 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
51477 (b64_from_24bit): New function.
51478
51479 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51480
51481 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
51482 libc_hidden_builtin_def to ifunc.
51483 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
51484 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
51485
51486 2014-05-21 Roland McGrath <roland@hack.frob.com>
51487
51488 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
51489 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
51490
51491 2014-05-21 Joseph Myers <joseph@codesourcery.com>
51492
51493 * nscd/Depend (linuxthreads): Remove.
51494 (nptl): Add.
51495 * resolv/Depend (linuxthreads): Remove.
51496 * rt/Depend (linuxthreads): Remove.
51497
51498 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
51499 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
51500 $(common-objpfx)elf/.
51501 (link-libc-before-gnulib): Likewise.
51502 (elfobjdir): Remove variable.
51503 * Makefile (install): Use $(elf-objpfx) instead of
51504 $(common-objpfx)elf/.
51505 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
51506 $(elfobjdir)/.
51507 (link-libc-deps): Likewise.
51508 ($(common-objpfx)libc.so): Likewise.
51509 ($(common-objpfx)linkobj/libc.so): Likewise.
51510 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
51511 instead of $(common-objpfx)elf/.
51512 (symbolic-link-list): Likewise.
51513 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
51514 [$(cross-compiling) = no]: Likewise.
51515 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
51516 $(elfobjdir)/.
51517 (static-gnulib-arch): Likewise.
51518 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
51519 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
51520 $(common-objpfx)elf/.
51521
51522 2014-05-21 Richard Henderson <rth@redhat.com>
51523
51524 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51525 (SINGLE_THREAD_P): Use the correct width load. Fold
51526 into the ldr offset.
51527
51528 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
51529 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
51530
51531 2014-05-20 Joseph Myers <joseph@codesourcery.com>
51532
51533 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
51534 (libgcc_s_resume): Use __attribute_used__.
51535 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
51536 Likewise.
51537
51538 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51539
51540 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
51541 optimization when used with float constants.
51542
51543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51544
51545 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
51546
51547 [BZ #16915]
51548 * locale/nl_langinfo_l.c: Make direct reference to every
51549 _nl_current_CATEGORY symbol.
51550 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
51551 (tests-static): Add tst-langinfo-static.
51552 (tests-special): Add tst-langinfo-static.out.
51553 ($(objpfx)tst-langinfo.out): Redirect output.
51554 ($(objpfx)tst-langinfo-static.out): New.
51555 * localedata/tst-langinfo.sh: Send output to stdout.
51556 * localedata/tst-langinfo-static.c: New file.
51557
51558 [BZ #16965]
51559 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
51560 when the shift amount is modulo the limb size.
51561
51562 2014-05-20 Richard Henderson <rth@redhat.com>
51563
51564 [BZ #16967]
51565 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
51566 Change type of sa_flags from unsigned int to int.
51567
51568 [BZ #16966]
51569 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
51570
51571 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
51572
51573 2014-05-20 Will Newton <will.newton@linaro.org>
51574
51575 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51576 Test the return value of the system call in the nocancel case.
51577
51578 2014-05-20 Will Newton <will.newton@linaro.org>
51579 Yvan Roux <yvan.roux@linaro.org>
51580
51581 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
51582 #include of asm/ptrace.h.
51583 (PTRACE_GET_THREAD_AREA): Remove #undef.
51584 (PTRACE_GETHBPREGS): Likewise.
51585 (PTRACE_SETHBPREGS): Likewise.
51586 (struct user_regs_struct): New structure.
51587 (struct user_fpsimd_struct): New structure.
51588 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
51589 #include of asm/ptrace.h and second #include of sys/user.h.
51590 (PTRACE_GET_THREAD_AREA): Remove #undef.
51591 (PTRACE_GETHBPREGS): Likewise.
51592 (PTRACE_SETHBPREGS): Likewise.
51593 (ELF_NGREG): Use new struct user_regs_struct.
51594 (elf_fpregset_t): Use new struct user_fpsimd_struct.
51595
51596 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51597
51598 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
51599 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
51600
51601 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
51602
51603 [BZ #16958]
51604 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
51605 membar to avoid block loads/stores to overlap previous stores.
51606
51607 2014-05-17 Richard Henderson <rth@redhat.com>
51608
51609 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
51610 Create the __##syscall_name##_nocancel entry point.
51611 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
51612 Remove; let the sysdep-cancel.h code create it.
51613
51614 2014-05-17 David S. Miller <davem@davemloft.net>
51615
51616 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
51617 Protect with __USE_GNU.
51618 (TIOCSET_TEMPT): Likewise.
51619 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
51620 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
51621 these are already provided in bits/ioctl-types.h
51622
51623 2014-05-16 Roland McGrath <roland@hack.frob.com>
51624
51625 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
51626 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
51627
51628 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
51629 Use wait4 regardless of [__NR_waitpid].
51630
51631 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
51632
51633 PR libgcc/60166
51634 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
51635 (_FP_NANSIGN_Q): Set the quiet bit.
51636
51637 2014-05-16 Joseph Myers <joseph@codesourcery.com>
51638
51639 * benchtests/Makefile
51640 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
51641 not $(common-objpfx)math/libm.so.
51642 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
51643 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
51644 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
51645 $(common-objpfx)dlfcn/libdl.so.
51646 ($(objpfx)tst-audit8): Depend on $(libm), not
51647 $(common-objpfx)math/libm.so.
51648 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
51649 not $(common-objpfx)dlfcn/libdl.so.
51650 * math/Makefile
51651 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
51652 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
51653 [$(build-shared) = yes].
51654 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
51655 $(common-objpfx)nptl/libpthread.so.
51656 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
51657 $(common-objpfx)math/libm.so$(libm.so-version) or
51658 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
51659 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
51660 $(common-objpfx)dlfcn/libdl.so.
51661 * setjmp/Makefile (link-libm): Remove variable.
51662 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
51663 * stdio-common/Makefile (link-libm): Remove variable.
51664 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
51665 * stdlib/Makefile (link-libm): Remove variable.
51666 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
51667 ($(objpfx)tst-strtod-round): Likewise.
51668 ($(objpfx)tst-tininess): Likewise.
51669 ($(objpfx)tst-strtod-underflow): Likewise.
51670 ($(objpfx)tst-strtod6): Likewise.
51671 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
51672 $(libdl), not $(common-objpfx)nptl/libpthread.so and
51673 $(common-objpfx)dlfcn/libdl.so.
51674
51675 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51676
51677 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
51678 BSD terminal modes definitions.
51679
51680 2014-05-16 Roland McGrath <roland@hack.frob.com>
51681
51682 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
51683 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
51684
51685 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
51686 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
51687 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
51688 Don't do #include_next.
51689 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
51690 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
51691 Don't do #include_next.
51692 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
51693 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
51694 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
51695 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
51696
51697 2014-05-16 Allan McRae <allan@archlinux.org>
51698
51699 * po/sv.po: Update Swedish translation from translation project.
51700
51701 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
51702 in sed expression.
51703
51704 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
51705
51706 [BZ #16917]
51707 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
51708 errno if the TIOCGPTN ioctl fails with an error different than
51709 EINVAL.
51710 * login/tst-ptsname.c: New file.
51711 * login/Makefile (tests): Add tst-ptsname.
51712
51713 [BZ #16943]
51714 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
51715 and prlimit64.
51716
51717 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
51718
51719 [BZ #16849]
51720 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
51721 herrno to return EAI_AGAIN.
51722
51723 2014-05-14 Roland McGrath <roland@hack.frob.com>
51724
51725 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
51726 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
51727 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
51728 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
51729 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
51730 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
51731 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
51732 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
51733 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
51734 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
51735 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
51736 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
51737 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
51738 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
51739 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
51740 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
51741 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
51742 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
51743 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
51744 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
51745 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
51746 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
51747 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
51748 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
51749 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
51750 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
51751 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
51752 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
51753 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
51754 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
51755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
51756 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
51757 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
51758 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
51759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
51760 Moved ...
51761 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
51762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
51763 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
51764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
51765 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
51766 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
51767 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
51768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
51769 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
51770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
51771 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
51772 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
51773 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
51774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
51775 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
51776 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
51777 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
51778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
51779 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
51780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
51781 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
51782 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
51783 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
51784 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
51785 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
51786 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
51787 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
51788 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
51789 Moved ...
51790 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
51791 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
51792 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
51793 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
51794 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
51795 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
51796 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
51797 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
51798 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
51799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
51800 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
51801 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
51802 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
51803 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
51804 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
51805 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
51806 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
51807 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
51808 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
51809 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
51810 Moved ...
51811 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
51812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
51813 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
51814
51815 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
51816 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
51817 (libpthread-sysdep_routines): Add elision-related stuff here instead.
51818 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
51819 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
51820 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
51821 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
51822 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
51823 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
51824 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
51825 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
51826 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
51827 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
51828 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
51829 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
51830 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
51831 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
51832 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
51833 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
51834 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
51835 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
51836 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
51837 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
51838 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
51839 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
51840 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
51841 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
51842 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
51843 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
51844 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
51845 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
51846
51847 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
51848 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
51849
51850 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
51851 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
51852 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
51853 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
51854 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
51855 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
51856 Moved ...
51857 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
51858 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
51859 Moved ...
51860 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
51861 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
51862 Moved ...
51863 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
51864 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
51865 Moved ...
51866 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
51867 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
51868 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
51869 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
51870 Moved ...
51871 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
51872 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
51873 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
51874 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
51875 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
51876 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
51877 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
51878 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
51879 Moved ...
51880 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
51881 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
51882 Moved ...
51883 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
51884 ... here.
51885 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
51886 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
51887 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
51888 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
51889 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
51890 Moved ...
51891 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
51892 ... here.
51893 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
51894 Moved ...
51895 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
51896 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
51897 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
51898 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
51899 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
51900 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
51901 Moved ...
51902 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
51903 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
51904 Moved ...
51905 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
51906 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
51907 Moved ...
51908 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
51909 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
51910 Moved ...
51911 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
51912 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
51913 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
51914 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
51915 Moved ...
51916 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
51917 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
51918 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
51919 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
51920 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
51921 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
51922 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
51923 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
51924 Moved ...
51925 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
51926 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
51927 Moved ...
51928 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
51929 ... here.
51930 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
51931 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
51932 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
51933 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
51934 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
51935 Moved ...
51936 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
51937 ... here.
51938 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
51939 Moved ...
51940 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
51941 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
51942 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
51943 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
51944 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
51945 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
51946 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
51947 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
51948 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
51949 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
51950 Moved ...
51951 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
51952 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
51953 Moved ...
51954 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
51955 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
51956 Moved ...
51957 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
51958 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
51959 Moved ...
51960 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
51961 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
51962 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
51963 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
51964 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
51965 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
51966 Moved ...
51967 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
51968 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
51969 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
51970 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
51971 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
51972 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
51973 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
51974 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
51975 Moved ...
51976 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
51977 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
51978 Moved ...
51979 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
51980 ... here.
51981 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
51982 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
51983 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
51984 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
51985 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
51986 Moved ...
51987 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
51988 ... here.
51989 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
51990 Moved ...
51991 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
51992 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
51993 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
51994 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
51995 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
51996 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
51997 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
51998 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
51999 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
52000 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
52001 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
52002
52003 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
52004 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
52005
52006 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
52007 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
52008
52009 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
52010 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
52011 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
52012 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
52013 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
52014 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
52015 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
52016 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
52017 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
52018 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
52019 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
52020 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
52021 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
52022 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
52023 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
52024 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
52025 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
52026 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
52027 Moved ...
52028 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
52029 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
52030 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
52031 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
52032 Moved ...
52033 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
52034 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
52035 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
52036 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
52037 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
52038 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
52039 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
52040 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
52041 Moved ...
52042 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
52043 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
52044 Moved ...
52045 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
52046 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
52047 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
52048 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
52049 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
52050 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
52051 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
52052 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
52053 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
52054 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
52055 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
52056 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
52057 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
52058 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
52059 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
52060 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
52061 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
52062
52063 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
52064 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
52065 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
52066 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
52067 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
52068
52069 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
52070 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
52071 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
52072 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
52073 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
52074 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
52075 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
52076 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
52077 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
52078 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
52079
52080 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
52081 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
52082
52083 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
52084 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
52085 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
52086 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
52087 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
52088 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
52089 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
52090 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
52091 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
52092 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
52093 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
52094 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
52095 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
52096 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
52097 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
52098 Update #include.
52099 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
52100 Likewise.
52101 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
52102 Likewise.
52103 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
52104 Likewise.
52105 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
52106 Likewise.
52107 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
52108 Likewise.
52109 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
52110 Likewise.
52111 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
52112 Likewise.
52113 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
52114 Likewise.
52115 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
52116 Likewise.
52117 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
52118 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
52119 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
52120 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
52121 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
52122 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
52123 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
52124 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
52125 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
52126 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
52127 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
52128 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
52129 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
52130 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
52131 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
52132
52133 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
52134 that was previously under [RESET_PID].
52135 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
52136 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
52137 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
52138
52139 * sysdeps/i386/nptl/Implies: New file.
52140 * sysdeps/x86_64/nptl/Implies: New file.
52141 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
52142 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
52143 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
52144 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
52145
52146 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
52147 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52148 (__libc_vfork): New strong alias.
52149 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
52150 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
52151
52152 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
52153 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52154 (__libc_vfork): New strong alias.
52155 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
52156 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
52157
52158 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
52159 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52160 (__libc_vfork): New strong alias.
52161 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
52162 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
52163 * nptl/pt-vfork.c: New file.
52164 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
52165 (libpthread: GLIBC_2.20): New version set (empty).
52166
52167 2014-05-14 Will Newton <will.newton@linaro.org>
52168
52169 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
52170 rather than #if.
52171
52172 2014-05-14 Joseph Myers <joseph@codesourcery.com>
52173
52174 [BZ #16564]
52175 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
52176 arguments with exponent 65 or above.
52177 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
52178 arguments 0x1p113L or above.
52179 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
52180 to arguments 0x1p107L or above.
52181 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
52182 positive arguments with exponent 65 or above.
52183 * math/auto-libm-test-in: Add more tests of log1p.
52184 * math/auto-libm-test-out: Regenerated.
52185
52186 [BZ #16928]
52187 * math/s_cacos.c (__cacos): Ensure zero real part of result from
52188 non-finite arguments is +0.
52189 * math/s_cacosf.c (__cacosf): Likewise.
52190 * math/s_cacosl.c (__cacosl): Likewise.
52191 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
52192 * sysdeps/i386/fpu/libm-test-ulps: Update.
52193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52194
52195 [BZ #16927]
52196 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
52197 value.
52198 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
52199 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
52200 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
52201 for explicit high bit of mantissa when testing for argument equal
52202 to 1.
52203 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
52204 * sysdeps/i386/fpu/libm-test-ulps: Update.
52205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52206
52207 [BZ #16516]
52208 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
52209 (__erf): Scale by 16 instead of 8 in potentially underflowing
52210 case. Ensure exception if result actually underflows.
52211 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
52212 (__erff): Scale by 16 instead of 8 in potentially underflowing
52213 case. Ensure exception if result actually underflows.
52214 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
52215 (efx8): Remove variable.
52216 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52217 case. Ensure exception if result actually underflows.
52218 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
52219 (efx8): Remove variable.
52220 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52221 case. Ensure exception if result actually underflows.
52222 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
52223 (efx8): Remove variable.
52224 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52225 case. Ensure exception if result actually underflows.
52226 * math/auto-libm-test-in: Add more tests of erf.
52227 * math/auto-libm-test-out: Regenerated.
52228
52229 2014-05-14 Andreas Schwab <schwab@suse.de>
52230
52231 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
52232 Remove code conditionalized on USE___THREAD.
52233
52234 * config.h.in (HAVE_PT_CHOWN): Define as 0.
52235 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
52236 not definedness.
52237
52238 2014-05-14 Joseph Myers <joseph@codesourcery.com>
52239
52240 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
52241 Define unconditionally.
52242 (__ASSUME_O_CLOEXEC): Likewise.
52243 (__ASSUME_SOCK_CLOEXEC): Likewise.
52244 (__ASSUME_IN_NONBLOCK): Likewise.
52245 (__ASSUME_PIPE2): Likewise.
52246 (__ASSUME_EVENTFD2): Likewise.
52247 (__ASSUME_SIGNALFD4): Likewise.
52248 (__ASSUME_DUP3): Likewise.
52249 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52250 (__ASSUME_DUP3): Do not define.
52251 (__ASSUME_EVENTFD2): Likewise.
52252 (__ASSUME_IN_NONBLOCK): Likewise.
52253 (__ASSUME_O_CLOEXEC): Likewise.
52254 (__ASSUME_PIPE2): Likewise.
52255 (__ASSUME_SIGNALFD4): Likewise.
52256 (__ASSUME_SOCK_CLOEXEC): Likewise.
52257 (__ASSUME_UTIMES): Undefine.
52258 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52259 (__ASSUME_UTIMES): Do not define.
52260 (__ASSUME_O_CLOEXEC): Likewise.
52261 (__ASSUME_SOCK_CLOEXEC): Likewise.
52262 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
52263 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
52264 0x020621].
52265 (__ASSUME_PIPE2): Likewise.
52266 (__ASSUME_EVENTFD2): Likewise.
52267 (__ASSUME_SIGNALFD4): Likewise.
52268 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
52269 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
52270 Do not define.
52271 (__ASSUME_EVENTFD2): Likewise.
52272 (__ASSUME_SIGNALFD4): Likewise.
52273 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
52274 (__ASSUME_32BITUIDS): Likewise.
52275 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
52276 (__ASSUME_IPC64): Likewise.
52277 (__ASSUME_ST_INO_64_BIT): Likewise.
52278 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
52279 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
52280 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52281 (__ASSUME_UTIMES): Do not define.
52282 (__ASSUME_PSELECT): Likewise.
52283 (__ASSUME_PPOLL): Likewise.
52284 (__ASSUME_O_CLOEXEC): Likewise.
52285 (__ASSUME_SOCK_CLOEXEC): Likewise.
52286 (__ASSUME_IN_NONBLOCK): Likewise.
52287 (__ASSUME_PIPE2): Likewise.
52288 (__ASSUME_EVENTFD2): Likewise.
52289 (__ASSUME_SIGNALFD4): Likewise.
52290 (__ASSUME_DUP3): Likewise.
52291 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52292 (__ASSUME_UTIMES): Likewise.
52293 (__ASSUME_O_CLOEXEC): Likewise.
52294 (__ASSUME_SOCK_CLOEXEC): Likewise.
52295 (__ASSUME_IN_NONBLOCK): Likewise.
52296 (__ASSUME_PIPE2): Likewise.
52297 (__ASSUME_EVENTFD2): Likewise.
52298 (__ASSUME_SIGNALFD4): Likewise.
52299 (__ASSUME_DUP3): Likewise.
52300 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52301 (__ASSUME_UTIMES): Likewise.
52302 (__ASSUME_O_CLOEXEC): Likewise.
52303 (__ASSUME_SOCK_CLOEXEC): Likewise.
52304 (__ASSUME_IN_NONBLOCK): Likewise.
52305 (__ASSUME_PIPE2): Likewise.
52306 (__ASSUME_EVENTFD2): Likewise.
52307 (__ASSUME_SIGNALFD4): Likewise.
52308 (__ASSUME_DUP3): Likewise.
52309 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
52310 Likewise.
52311 (__ASSUME_UTIMES): Likewise.
52312 (__ASSUME_EVENTFD2): Likewise.
52313 (__ASSUME_SIGNALFD4): Likewise.
52314 * sysdeps/unix/sysv/linux/tile/kernel-features.h
52315 (__ASSUME_O_CLOEXEC): Likewise.
52316 (__ASSUME_SOCK_CLOEXEC): Likewise.
52317 (__ASSUME_IN_NONBLOCK): Likewise.
52318 (__ASSUME_PIPE2): Likewise.
52319 (__ASSUME_EVENTFD2): Likewise.
52320 (__ASSUME_SIGNALFD4): Likewise.
52321 (__ASSUME_DUP3): Likewise.
52322 (__ASSUME_UTIMES): Undefine.
52323
52324 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
52325 feclearexcept. Remove symbol versioning code.
52326 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
52327 symbol versioning code.
52328 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
52329 symbol versioning code.
52330 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
52331 feupdateenv. Remove symbol versioning code.
52332 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
52333 fegetexceptflag. Remove symbol versioning code.
52334 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
52335 fesetexceptflag. Remove symbol versioning code.
52336 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
52337 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
52338 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
52339 (__posix_fadvise64_l32): Remove prototype.
52340 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
52341 code.
52342
52343 2014-05-13 Roland McGrath <roland@hack.frob.com>
52344
52345 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
52346 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
52347 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
52348 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
52349
52350 2014-05-13 Sami Kerola <kerolasa@iki.fi>
52351
52352 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
52353 current working directory
52354
52355 2014-05-13 Roland McGrath <roland@hack.frob.com>
52356
52357 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
52358 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
52359 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
52360 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
52361 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
52362 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
52363 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
52364 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
52365 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
52366 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
52367 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
52368 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
52369 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
52370 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
52371 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
52372 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
52373 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
52374 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
52375 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
52376 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
52377 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
52378 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
52379 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
52380 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
52381 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
52382 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
52383 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
52384 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
52385 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
52386 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
52387 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
52388 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
52389 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
52390 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
52391 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
52392 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
52393 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
52394 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
52395 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
52396 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
52397 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
52398 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
52399
52400 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
52401 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
52402
52403 * sysdeps/unix/sysv/linux/arm/Makefile
52404 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
52405 Add rt-aeabi_unwind_cpp_pr1.
52406 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
52407 Add nptl-aeabi_unwind_cpp_pr1.
52408 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
52409 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
52410 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
52411 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
52412 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
52413 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
52414
52415 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
52416 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
52417 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
52418 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
52419
52420 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
52421 Deconditionalize the code that was previously under [RESET_PID].
52422 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
52423
52424 * sysdeps/generic/exit-thread.h: New file.
52425 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
52426 * include/unistd.h (__exit_thread): Remove declaration.
52427 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
52428 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
52429 * csu/libc-start.c: Include <exit-thread.h>.
52430 (LIBC_START_MAIN): Pass no argument to __exit_thread.
52431 * nptl/pthread_create.c: Include <exit-thread.h>.
52432 (start_thread): Call __exit_thread in place of __exit_thread_inline.
52433 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
52434 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
52435 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
52436 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
52437 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
52438 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
52439 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
52440 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
52441 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
52442 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
52443 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
52444 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
52445 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
52446 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
52447 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
52448 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
52449
52450 2014-05-13 Andreas Schwab <schwab@suse.de>
52451
52452 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
52453
52454 2014-05-12 Joseph Myers <joseph@codesourcery.com>
52455
52456 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
52457 (__ASSUME_UTIMES): Do not condition on kernel version.
52458 (__ASSUME_PSELECT): Define unconditionally.
52459 (__ASSUME_PPOLL): Likewise.
52460 (__ASSUME_ATFCTS): Likewise.
52461 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
52462 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
52463 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
52464 (__ASSUME_UTIMENSAT): Define unconditionally.
52465 (__ASSUME_PRIVATE_FUTEX): Likewise.
52466 (__ASSUME_FALLOCATE): Likewise.
52467 (__ASSUME_O_CLOEXEC): Likewise.
52468 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
52469 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
52470 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
52471 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
52472 (__ASSUME_IN_NONBLOCK): Likewise.
52473 (__ASSUME_PIPE2): Likewise.
52474 (__ASSUME_EVENTFD2): Likewise.
52475 (__ASSUME_SIGNALFD4): Likewise.
52476 (__ASSUME_DUP3): Likewise.
52477 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52478 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
52479 (__ASSUME_AT_RANDOM): Likewise.
52480 (__ASSUME_PREADV): Likewise.
52481 (__ASSUME_PWRITEV): Likewise.
52482 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
52483 (__ASSUME_F_GETOWN_EX): Define unconditionally.
52484 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
52485 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
52486 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
52487 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52488 (__ASSUME_O_CLOEXEC): Define unconditionally.
52489 (__ASSUME_PSELECT): Do not undefine conditionally.
52490 (__ASSUME_PPOLL): Likewise.
52491 (__ASSUME_ATFCTS): Likewise.
52492 (__ASSUME_SET_ROBUST_LIST): Likewise.
52493 (__ASSUME_UTIMENSAT): Likewise.
52494 (__ASSUME_FDATASYNC): Define unconditionally.
52495 * sysdeps/unix/sysv/linux/arm/kernel-features.h
52496 (__ASSUME_SIGFRAME_V2): Likewise.
52497 )__ASSUME_EVENTFD2): Likewise.
52498 (__ASSUME_SIGNALFD4): Likewise.
52499 (__ASSUME_PSELECT): Do not undefine conditionally.
52500 (__ASSUME_PPOLL): Likewise.
52501 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52502 (__ASSUME_PSELECT): Define unconditionally.
52503 (__ASSUME_PPOLL): Likewise.
52504 (__ASSUME_O_CLOEXEC): Likewise.
52505 (__ASSUME_SOCK_CLOEXEC): Likewise.
52506 (__ASSUME_IN_NONBLOCK): Likewise.
52507 (__ASSUME_PIPE2): Likewise.
52508 (__ASSUME_EVENTFD2): Likewise.
52509 (__ASSUME_SIGNALFD4): Likewise.
52510 (__ASSUME_DUP3): Likewise.
52511 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52512 (__ASSUME_O_CLOEXEC): Likewise.
52513 (__ASSUME_SOCK_CLOEXEC): Likewise.
52514 (__ASSUME_IN_NONBLOCK): Likewise.
52515 (__ASSUME_PIPE2): Likewise.
52516 (__ASSUME_EVENTFD2): Likewise.
52517 (__ASSUME_SIGNALFD4): Likewise.
52518 (__ASSUME_DUP3): Likewise.
52519 * sysdeps/unix/sysv/linux/mips/kernel-features.h
52520 (__ASSUME_EVENTFD2): Likewise.
52521 (__ASSUME_SIGNALFD4): Likewise.
52522 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52523
52524 2014-05-12 Andreas Schwab <schwab@suse.de>
52525
52526 [BZ #16932]
52527 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
52528 (_nss_nis_gethostbyname4_r): Return error if item length is larger
52529 than maximum RPC packet size.
52530 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
52531 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
52532 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
52533 (_nss_nis_getservbyport_r): Likewise.
52534
52535 2014-05-12 Will Newton <will.newton@linaro.org>
52536
52537 * malloc/Makefile (tests): Add tst-mallopt.
52538 * malloc/tst-mallopt.c: New file.
52539
52540 2014-05-09 Roland McGrath <roland@hack.frob.com>
52541
52542 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
52543 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
52544
52545 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52546
52547 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
52548 (tst-tlsmod6.so): Likewise.
52549
52550 2014-05-09 Roland McGrath <roland@hack.frob.com>
52551
52552 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
52553
52554 2014-05-09 Joseph Myers <joseph@codesourcery.com>
52555
52556 [BZ #16064]
52557 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
52558 and <dl-procinfo.h>.
52559 (__fegetenv): Save SSE state in envp->__eip if supported.
52560 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
52561 envp->__eip if supported.
52562 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
52563 and <dl-procinfo.h>.
52564 (__fesetenv): Always set __eip, __cs_selector, __opcode,
52565 __data_offset and __data_selector in environment to 0. Set SSE
52566 state if supported.
52567 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
52568 test-fenv-sse.
52569 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
52570 -mfpmath=sse.
52571 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
52572
52573 2014-05-09 Will Newton <will.newton@linaro.org>
52574
52575 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
52576 and libc_relro_required for ARM.
52577 * sysdeps/arm/preconfigure: Regenerate.
52578
52579 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
52580 Stefan Liebler <stli@linux.vnet.ibm.com>
52581
52582 * config.make.in (enable-lock-elision): New Makefile variable.
52583 * configure.ac: Likewise.
52584 * configure: Regenerate.
52585 * sysdeps/s390/configure.ac:
52586 Add check for gcc transactions support.
52587 * sysdeps/s390/configure: Regenerate.
52588 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
52589 Build elision files if enabled.
52590 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
52591 Add lock elision support for s390.
52592 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
52593 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
52594 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
52595 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
52596 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
52597 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
52598 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
52599 Likewise.
52600 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
52601 Likewise.
52602 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
52603 Likewise.
52604 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
52605 Likewise.
52606 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
52607 (__lll_timedlock_elision, __lll_lock_elision)
52608 (__lll_unlock_elision, __lll_trylock_elision)
52609 (lll_timedlock_elision, lll_lock_elision)
52610 (lll_unlock_elision, lll_trylock_elision): Add.
52611 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52612 (pthread_mutex_t): Add lock elision support for s390.
52613
52614 2014-05-14 Wilco <wdijkstr@arm.com>
52615
52616 * sysdeps/arm/fclrexcpt.c: Cleanup.
52617 * sysdeps/arm/fedisblxcpt.c: Cleanup.
52618 * sysdeps/arm/feenablxcpt.c: Cleanup.
52619 * sysdeps/arm/fegetenv.c: Cleanup.
52620 * sysdeps/arm/fegetexcept.c: Cleanup.
52621 * sysdeps/arm/fegetround.c: Cleanup.
52622 * sysdeps/arm/feholdexcpt.c: Cleanup.
52623 * sysdeps/arm/fesetenv.c: Cleanup.
52624 * sysdeps/arm/fesetround.c: Cleanup.
52625 * sysdeps/arm/feupdateenv.c: Cleanup.
52626 * sysdeps/arm/fgetexcptflg.c: Cleanup.
52627 * sysdeps/arm/fraiseexcpt.c: Cleanup.
52628 * sysdeps/arm/fsetexcptflg.c: Cleanup.
52629 * sysdeps/arm/ftestexcept.c: Cleanup.
52630 * sysdeps/arm/get-rounding-mode.h: Cleanup.
52631 * sysdeps/arm/setfpucw.c: Cleanup.
52632
52633 2014-05-09 Will Newton <will.newton@linaro.org>
52634
52635 * sysdeps/arm/armv7/strcmp.S: New file.
52636 * NEWS: Mention addition of ARMv7 optimized strcmp.
52637
52638 2014-05-08 Roland McGrath <roland@hack.frob.com>
52639
52640 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
52641 look for %.ac rather than %.in.
52642
52643 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
52644 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
52645 * sysdeps/mach/hurd/configure: Regenerated.
52646 * sysdeps/unix/sysv/linux/configure: Regenerated.
52647
52648 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
52649
52650 2014-05-07 Steve Ellcey <sellcey@mips.com>
52651
52652 [BZ #16922]
52653 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
52654 (LONG_SUB): Ditto.
52655 (PTR_SUB): Ditto.
52656
52657 2014-05-07 Andreas Schwab <schwab@suse.de>
52658
52659 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
52660 when skipping over non-matching result from nscd.
52661
52662 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
52663
52664 [BZ #16876]
52665 * nptl/sockperf.c (client): Check socket return value.
52666
52667 [BZ #16877]
52668 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
52669 nscd security class.
52670
52671 2014-05-06 Roland McGrath <roland@hack.frob.com>
52672
52673 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
52674 * sysdeps/arm/unwind.h: ... here.
52675
52676 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
52677
52678 [BZ #16916]
52679 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
52680 Define.
52681
52682 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
52683
52684 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
52685 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
52686 multiarch strncpy for PPC64.
52687 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
52688 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
52689 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
52690 multiarch optimizations.
52691 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52692 (__libc_ifunc_impl_list): Likewise.
52693 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
52694 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
52695 multiarch stpncpy for PPC64.
52696 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
52697 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
52698
52699 2014-05-06 Andreas Schwab <schwab@suse.de>
52700
52701 [BZ #16912]
52702 * gmon/mcount.c (_MCOUNT_DECL): Use
52703 atomic_compare_and_exchange_bool_acq instead of
52704 catomic_compare_and_exchange_bool_acq.
52705
52706 2014-05-05 Roland McGrath <roland@hack.frob.com>
52707
52708 * elf/Makefile (others, install-bin): Remove pldd.
52709 (pldd-modules): Variable removed.
52710 ($(objpfx)pldd): Target removed.
52711 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
52712 (others, install-bin): Append pldd here.
52713 ($(objpfx)pldd): New target.
52714
52715 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
52716 to 0, so the first #if test emitted later doesn't see it undefined.
52717 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
52718 * sysdeps/gnu/errlist.c: Regenerated.
52719
52720 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52721
52722 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
52723 [libc_hidden_builtin_def]: Define to empty value.
52724 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
52725 [libc_hidden_builtin_def]: Likewise.
52726 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
52727 [libc_hidden_builtin_def]: Likewise.
52728 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
52729 [libc_hidden_builtin_def]: Likewise.
52730 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
52731 __redirect_memcpy and define ifunc as default hidden symbol.
52732 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
52733 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
52734
52735 2014-05-04 Adam Conrad <adconrad@0c3.net>
52736
52737 * locale/iso-4217.def: Reintroduce XDR currency.
52738
52739 2014-05-04 Allan McRae <allan@archlinux.org>
52740
52741 * po/eo.po: Update Esperanto translation from translation project.
52742
52743 2014-05-02 Carlos O'Donell <carlos@redhat.com>
52744
52745 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
52746 and FEATURE_INDEX_MAX to 1.
52747 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
52748
52749 2014-05-01 Steve Ellcey <sellcey@mips.com>
52750
52751 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
52752 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
52753 * iconvdata/big5.c (ONE_DIRECTION): Define.
52754 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
52755 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
52756 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
52757 * iconvdata/cp932.c (ONE_DIRECTION): Define.
52758 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
52759 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
52760 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
52761 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
52762 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
52763 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
52764 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
52765 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
52766 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
52767 * iconvdata/gbk.c (ONE_DIRECTION): Define.
52768 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
52769 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
52770 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
52771 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
52772 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
52773 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
52774 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
52775 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
52776 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
52777 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
52778 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
52779 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
52780 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
52781 * iconvdata/iso646.c (ONE_DIRECTION): Define.
52782 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
52783 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
52784 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
52785 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
52786 * iconvdata/johab.c (ONE_DIRECTION): Define.
52787 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
52788 * iconvdata/sjis.c (ONE_DIRECTION): Define.
52789 * iconvdata/t.61.c (ONE_DIRECTION): Define.
52790 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
52791 * iconvdata/tscii.c (ONE_DIRECTION): Define.
52792 * iconvdata/uhc.c (ONE_DIRECTION): Define.
52793 * iconvdata/unicode.c (ONE_DIRECTION): Define.
52794 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
52795 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
52796 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
52797
52798 2014-05-01 Roland McGrath <roland@hack.frob.com>
52799
52800 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
52801 (_IO_JUMPS_OFFSET): Define to 0.
52802
52803 * nptl/sysdeps/pthread/bits/libc-lock.h
52804 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
52805 (__libc_lock_define_initialized_recursive): Always define using
52806 initializer. Modern compilers treat uninitialized (implicit zero) and
52807 explicit zero initializers the same (i.e. put the datum in bss).
52808
52809 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
52810
52811 * nscd/nscd-client.h: Include <string.h>.
52812
52813 2014-05-01 David S. Miller <davem@davemloft.net>
52814
52815 [BZ #16885]
52816 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
52817 multiple zero bytes exist at the end of a string.
52818 Reported by Aurelien Jarno <aurelien@aurel32.net>
52819
52820 * string/test-strcmp.c (check): Add explicit test for situations where
52821 there are multiple zero bytes after the first.
52822
52823 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
52824
52825 [BZ #16890]
52826 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
52827 when compiling wprintf.
52828 * stdio-common/tstdiomisc.c (t3): New function.
52829 (main): Call it.
52830
52831 2014-05-01 Steve Ellcey <sellcey@mips.com>
52832
52833 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
52834 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
52835 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
52836 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
52837
52838 2014-05-01 Steve Ellcey <sellcey@mips.com>
52839
52840 * stdlib/longlong.h: Updated from GCC.
52841
52842 2014-05-01 Will Newton <will.newton@linaro.org>
52843 Bernard Ogden <bernie.ogden@linaro.org>
52844
52845 * NEWS: Update fixed bug list.
52846
52847 [BZ #15119]
52848 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
52849
52850 2014-04-30 David S. Miller <davem@davemloft.net>
52851
52852 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
52853 (libc_feholdexcept_setround_sparc_ctx): New function.
52854 (libc_fesetenv_sparc_ctx): Likewise.
52855 (libc_feupdateenv_sparc_ctx): Likewise.
52856 (libc_feholdsetround_sparc_ctx): Likewise.
52857 (libc_feholdexcept_setround_ctx): Define.
52858 (libc_feholdexcept_setroundf_ctx): Likewise.
52859 (libc_feholdexcept_setroundl_ctx): Likewise.
52860 (libc_fesetenv_ctx): Likewise.
52861 (libc_fesetenvf_ctx): Likewise.
52862 (libc_fesetenvl_ctx): Likewise.
52863 (libc_feupdateenv_ctx): Likewise.
52864 (libc_feupdateenvf_ctx): Likewise.
52865 (libc_feupdateenvl_ctx): Likewise.
52866 (libc_feresetround_ctx): Likewise.
52867 (libc_feresetroundf_ctx): Likewise.
52868 (libc_feresetroundl_ctx): Likewise.
52869 (libc_feholdsetround_ctx): Likewise.
52870 (libc_feholdsetroundf_ctx): Likewise.
52871 (libc_feholdsetroundl_ctx): Likewise.
52872
52873 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
52874 with __USE_GNU instead of XOPEN cpp guards.
52875
52876 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
52877 0.
52878
52879 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
52880 with XOPEN cpp guards.
52881
52882 2014-04-30 Julian Brown <julian@codesourcery.com>
52883
52884 [BZ #16888]
52885 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
52886 handling.
52887
52888 2014-04-30 Joseph Myers <joseph@codesourcery.com>
52889
52890 [BZ #9894]
52891 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
52892 Change to 2.6.32.
52893 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
52894 * sysdeps/unix/sysv/linux/configure: Regenerated.
52895 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
52896 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
52897 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
52898 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
52899 * README: Update reference to required Linux kernel version.
52900 * manual/install.texi (Linux): Update reference to required Linux
52901 kernel headers version.
52902 * INSTALL: Regenerated.
52903
52904 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
52905 header inclusion.
52906 [POSIX] (limits.h): Likewise.
52907 [POSIX] (math.h): Likewise.
52908 [POSIX] (sys/wait.h): Likewise.
52909 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
52910 function.
52911 [POSIX] (stddef.h): Do not allow header inclusion.
52912
52913 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52914
52915 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
52916
52917 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
52918
52919 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
52920 Return immediately after lll_futex_wake.
52921
52922 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
52923
52924 [BZ #16791]
52925 * nscd/nscd-client.h (datahead_init_common): Initialize entire
52926 structure.
52927 (datahead_init_pos): Call datahead_init_common early.
52928 (datahead_init_neg): Likewise.
52929
52930 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
52931 datahead_init_neg): New functions.
52932 * nscd/aicache.c (addhstaiX): Use them.
52933 * nscd/grpcache.c (cache_addgr): Likewise.
52934 * nscd/hstcache.c (cache_addhst): Likewise.
52935 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52936 * nscd/netgroupcache.c (do_notfound): Likewise.
52937 (addgetnetgrentX): Likewise.
52938 (addinnetgrX): Likewise.
52939 * nscd/pwdcache.c (cache_addpw): Likewise.
52940 * nscd/servicescache.c (cache_addserv): Likewise.
52941
52942 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
52943 Atsushi Onoe <atsushi@onoe.org>
52944
52945 [BZ #14308]
52946 [BZ #12994]
52947 [BZ #13651]
52948 * resolv/res_query.c (__libc_res_nsearch): Return if at least
52949 one response is valid.
52950 * resolv/res_send.c (send_dg): Check for validity of other
52951 response if the current response is a referral.
52952
52953 2014-04-29 Steve Ellcey <sellcey@mips.com>
52954
52955 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
52956
52957 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
52958
52959 [BZ #16823]
52960 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
52961 Always divide by positive zero when computing -Inf result.
52962 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
52963 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
52964
52965 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52966
52967 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
52968 FPSCR if value do not change.
52969 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
52970 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
52971 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
52972 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
52973 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
52974 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
52975 function.
52976
52977 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
52978
52979 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
52980 * sysdeps/unix/sysv/linux/hppa: Move directory from
52981 ports/systeps/unix/sysv/linux/hppa.
52982 * README: Update listing for hppa-*-linux-gnu.
52983
52984 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
52985
52986 [BZ #16754]
52987 * manual/stdio.texi (Hook functions): Fix types of stream hook
52988 functions.
52989 [BZ #16854]
52990 * socket/sys/socket.h: Fix typo in comment.
52991
52992 2014-04-28 Wilco <wdijkstr@arm.com>
52993
52994 * sysdeps/arm/fenv_private.h: New file.
52995 * sysdeps/arm/math_private.h: New file.
52996 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
52997
52998 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
52999
53000 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
53001 with __int128_t.
53002 (La_x86_64_retval): Likewise.
53003
53004 2014-04-24 Ian Bolton <ian.bolton@arm.com>
53005
53006 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
53007 fpsr if value didn't change.
53008 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
53009 to fpcr if value didn't change.
53010 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
53011 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
53012 fpsr or fpcr if value didn't change.
53013 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
53014 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
53015 fpcr if value didn't change.
53016 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
53017 to fpsr if value didn't change.
53018
53019 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
53020
53021 * nptl/tst-sem3.c: Use test-skeleton.c
53022 (main): Rename to do_test. Use return instead of
53023 exit.
53024 * nptl/tst-sem4.c: Use test-skeleton.c
53025 (main): Rename to do_test.
53026
53027 2014-04-22 David S. Miller <davem@davemloft.net>
53028
53029 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
53030 (struct sigaction): New struct member __glibc_reserved0, change
53031 type of sa_flags to int.
53032
53033 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
53034
53035 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
53036 (COUNT_LEADING_ZEROS_0): Define for AArch64.
53037
53038 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
53039
53040 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
53041 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
53042
53043 2014-04-22 Will Newton <will.newton@linaro.org>
53044 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
53045
53046 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
53047 (__longjmp): Add longjmp and longjmp_target SystemTap
53048 probes.
53049 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
53050 (__sigsetjmp): Add setjmp SystemTap probe.
53051
53052 2014-04-17 Carlos O'Donell <carlos@redhat.com>
53053
53054 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
53055 match manual order.
53056
53057 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53058
53059 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
53060
53061 * sysdeps/powerpc/fpu/fenv_private.h
53062 (libc_feholdexcept_setroundl_ctx): Define to
53063 libc_feholdexcept_setround_ppc_ctx.
53064 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
53065 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
53066 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
53067 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
53068
53069 2014-04-17 Ian Bolton <ian.bolton@arm.com>
53070
53071 * sysdeps/aarch64/math-tests.h: New file.
53072
53073 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
53074
53075 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
53076 New.
53077 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53078 Check and set bit_AVX2_Usable.
53079 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
53080 macro.
53081 (bit_AVX2): Likewise.
53082 (index_AVX2_Usable): Likewise.
53083 (CPUID_AVX2): Likewise.
53084 (HAS_AVX2): Likewise.
53085
53086 2014-04-17 Will Newton <will.newton@linaro.org>
53087
53088 * manual/setjmp.texi (System V contexts): Add note that
53089 calling setcontext on a context created by a call to a
53090 signal handler is undefined. Update text to note that
53091 setcontext from a signal handler is possible but not
53092 recommended.
53093
53094 [BZ #16629]
53095 * stdlib/tst-setcontext.c: Include signal.h.
53096 (main): Check that the signal stack before and
53097 after swapcontext is the same.
53098
53099 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
53100 Re-implement to restore registers in user code and avoid
53101 rt_sigreturn system call.
53102
53103 2014-04-17 Wilco <wdijkstr@arm.com>
53104
53105 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
53106 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
53107 * math/test-fenv.c: Skip exception trap tests on targets which only
53108 support non-stop mode.
53109
53110 2014-04-17 Ian Bolton <ian.bolton@arm.com>
53111 Wilco Dijkstra <wilco.dijkstra@arm.com>
53112
53113 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
53114 (libc_feholdsetround_aarch64_ctx)
53115 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
53116 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
53117 (libc_feresetround_ctx, libc_feresetroundf_ctx)
53118 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
53119 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
53120 (libc_feresetround_noexl_ctx): Define.
53121
53122 2014-04-16 Richard Henderson <rth@redhat.com>
53123
53124 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
53125
53126 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
53127 unwind tables.
53128
53129 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
53130 const from the non-libc, non-ldso copy.
53131
53132 * sysdeps/alpha/libm-test-ulps: Regenerate.
53133
53134 2014-04-16 Ian Bolton <ian.bolton@arm.com>
53135 Wilco Dijkstra <wilco.dijkstra@arm.com>
53136
53137 * sysdeps/aarch64/fpu/math_private.h: New file.
53138
53139 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
53140
53141 * sysdeps/aarch64/libm-test-ulps: Regenerate.
53142
53143 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
53144
53145 [BZ #16275]
53146 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
53147 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
53148 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
53149 Intel MPX bound registers before _dl_profile_fixup.
53150 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
53151 registers after _dl_profile_fixup. Save and restore bound
53152 registers bnd0/bnd1 when calling _dl_call_pltexit.
53153 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
53154 (LR_BND_OFFSET): Likewise.
53155 (LRV_BND0_OFFSET): Likewise.
53156 (LRV_BND1_OFFSET): Likewise.
53157
53158 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53159
53160 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
53161 to...
53162 * sysdeps/mach/hurd/i386/tls.h: ... here.
53163 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
53164 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
53165 fields.
53166
53167 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53168
53169 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
53170
53171 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
53172
53173 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53174
53175 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
53176
53177 [BZ #14770]
53178 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
53179 * sysdeps/s390/configure: Regenerate.
53180
53181 [BZ #16824]
53182 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
53183 Set round-to-nearest internally to reduce error accumulation.
53184
53185 2014-04-16 Alan Modra <amodra@gmail.com>
53186
53187 [BZ #16740]
53188 [BZ #16619]
53189 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
53190 * math/libm-test.inc (frexp_test_data): Add tests.
53191 * NEWS: Update fixed bug list.
53192
53193 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
53194
53195 * benchtests/Makefile: Depend on libraries in build directory.
53196 (bench-math): Separate out math tests.
53197 (bench-pthread): Separate out pthread tests.
53198 (bench): Include math and pthread tests.
53199
53200 2014-04-14 Carlos O'Donell <carlos@redhat.com>
53201
53202 [BZ #16831]
53203 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
53204 _dl_debug_initialize.
53205
53206 * configure.ac: Remove SELinux header check.
53207 * configure: Regenerate.
53208 * nscd/selinux.c (perms): Array of const char* to permission names.
53209 (nscd_request_avc_has_perm): Call security_deny_unknown to find
53210 default policy. Call string_to_security_class and string_to_av_perm to
53211 translate strings. Enforce default policy and call avs_has_perm with
53212 results of translated strings.
53213
53214 2014-04-13 David S. Miller <davem@davemloft.net>
53215
53216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53217
53218 2014-04-12 Allan McRae <allan@archlinux.org>
53219
53220 [BZ #16838]
53221 * manual/string.texi (Collation Functions): Fix qsort argument
53222 order in example.
53223 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
53224
53225 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
53226
53227 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
53228 Make the test a no-op if there are no exceptions defined.
53229
53230 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
53231
53232 * elf/Makefile (tests): make tst-dlopen-aout conditional on
53233 enable-hardcoded-path-in-tests
53234
53235 2014-04-11 Will Newton <will.newton@linaro.org>
53236
53237 * benchtests/Makefile (extra-objs): Add json-lib.o.
53238 (bench-func): Tidy up JSON output.
53239 * benchtests/bench-skeleton.c: Include json-lib.h.
53240 (main): Use JSON library functions to do output of
53241 benchmark results.
53242 * benchtests/bench-timing-type.c (main): Output the
53243 timing type simply, leaving formatting to the user.
53244 * benchtests/json-lib.c: New file.
53245 * benchtests/json-lib.h: Likewise.
53246
53247 2014-04-11 Torvald Riegel <triegel@redhat.com>
53248
53249 [BZ #15215]
53250 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
53251 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
53252 memory barriers. Add comments.
53253 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
53254 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
53255 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
53256 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
53257 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
53258 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
53259
53260 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
53261
53262 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
53263 * sysdeps/s390/s390-64/configure.ac: ... this ...
53264 * sysdeps/s390/configure.ac: ... to here.
53265 * sysdeps/s390/s390-32/configure: Delete file.
53266 * sysdeps/s390/s390-64/configure: Delete file.
53267 * sysdeps/s390/configure: Regenerate.
53268
53269 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
53270
53271 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
53272
53273 2014-04-11 Will Newton <will.newton@linaro.org>
53274
53275 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
53276 to zero if it is not defined elsewhere. (mtrim): Test
53277 the value of MALLOC_DEBUG with #if rather than #ifdef.
53278
53279 2014-04-10 Torvald Riegel <triegel@redhat.com>
53280
53281 * benchtests/pthread_once-inputs: New file.
53282 * benchtests/pthread_once-source.c: New file.
53283 * benchtests/README: Update documentation.
53284
53285 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
53286 H.J. Lu <hongjiu.lu@intel.com>
53287
53288 [BZ #16275]
53289 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
53290 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
53291 * sysdeps/x86_64/configure: Regenerated.
53292 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
53293 macro.
53294 (REGISTER_SAVE_RAX): Likewise.
53295 (REGISTER_SAVE_RCX): Likewise.
53296 (REGISTER_SAVE_RDX): Likewise.
53297 (REGISTER_SAVE_RSI): Likewise.
53298 (REGISTER_SAVE_RDI): Likewise.
53299 (REGISTER_SAVE_R8): Likewise.
53300 (REGISTER_SAVE_R9): Likewise.
53301 (REGISTER_SAVE_BND0): Likewise.
53302 (REGISTER_SAVE_BND1): Likewise.
53303 (REGISTER_SAVE_BND2): Likewise.
53304 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
53305 bound registers when calling _dl_fixup.
53306
53307 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53308
53309 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
53310 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
53311 of its definition.
53312 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
53313 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
53314 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
53315 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
53316 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
53317 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
53318 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
53319
53320 2014-04-09 Peter Brett <peter@peter-b.co.uk>
53321
53322 [BZ #15514]
53323 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
53324 pathconf(_PC_NAME_MAX).
53325
53326 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53327
53328 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
53329 Remove macro usage.
53330 (__PTHREAD_SPINS): Move definition to ...
53331 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53332 (__PTHREAD_SPINS): ... here.
53333 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53334 (__PTHREAD_SPIN): Likewise.
53335 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
53336 (__PTHREAD_SPIN): Likewise.
53337 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
53338 (__PTHREAD_SPIN): Likewise.
53339 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
53340 (__PTHREAD_SPIN): Likewise.
53341 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
53342 (__PTHREAD_SPIN): Likewise.
53343 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
53344 (__PTHREAD_SPIN): Likewise.
53345 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
53346 (__PTHREAD_SPIN): Likewise.
53347 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
53348 (__PTHREAD_SPIN): Likewise.
53349 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
53350 (__PTHREAD_SPIN): Likewise.
53351 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
53352 (__PTHREAD_SPIN): Likewise.
53353 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
53354 (__PTHREAD_SPIN): Likewise.
53355 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
53356 (__PTHREAD_SPIN): Likewise.
53357
53358 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
53359 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
53360 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
53361 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
53362 imply folder.
53363 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
53364 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
53365 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
53366 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
53367 correct imply path.
53368 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
53369 strlen symbol for non multi-arch builds.
53370 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
53371 missing hidden_def and weak_alias.
53372
53373 2014-04-08 Carlos O'Donell <carlos@redhat.com>
53374
53375 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
53376
53377 2014-04-07 Will Newton <will.newton@linaro.org>
53378
53379 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
53380 and contents. [!_LIBC] Remove #ifndef and contents.
53381 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
53382 * string/memccpy.c (__memccpy): Use ANSI prototype.
53383 * string/memfrob.c (memfrob): Likewise.
53384 * string/strcoll.c (STRCOLL): Likewise.
53385 * string/strlen.c (strlen): Likewise.
53386 * string/strtok.c (STRTOK): Likewise.
53387 * string/strcat.c: Remove unused #include of memcopy.h.
53388 (strcat): Use ANSI prototype.
53389 * string/strchr.c: Remove unused #include of memcopy.h.
53390 (strchr): Use ANSI prototype.
53391 * string/strcmp.c: Remove unused #include of memcopy.h.
53392 (strcmp): Use ANSI prototype.
53393 * string/strcpy.c: Remove unused #include of memcopy.h.
53394 (strcpy): Use ANSI prototype.
53395
53396 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53397
53398 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
53399 * config.make.in (config-extra-cppflags): Set it from
53400 libc_extra_cppflags.
53401 * configure.ac (libc_extra_cflags): Make it accumulate over
53402 configure fragments.
53403 (libc_extra_cppflags): New flag.
53404 * configure. Regenerate.
53405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
53406 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
53407 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
53408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
53409
53410 [BZ #16815]
53411 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
53412 result for FE_DOWNWARD rounding mode.
53413 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
53414 Likewise.
53415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53416
53417 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
53418
53419 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
53420 in function argument name.
53421
53422 2014-04-03 David Svoboda <svoboda@cert.org>
53423
53424 [BZ #5666]
53425 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
53426 explicitly.
53427
53428 2014-04-03 Roland McGrath <roland@hack.frob.com>
53429
53430 * elf/dl-unmap-segments.h: New file.
53431 * sysdeps/generic/ldsodefs.h
53432 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
53433 * elf/dl-close.c: Include <dl-unmap-segments.h>.
53434 * elf/dl-fptr.c: Likewise.
53435 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
53436 * sysdeps/aarch64/tlsdesc.c: Likewise.
53437 * sysdeps/arm/tlsdesc.c: Likewise.
53438 * sysdeps/i386/tlsdesc.c: Likewise.
53439 * sysdeps/tile/dl-runtime.c: Likewise.
53440 * sysdeps/x86_64/tlsdesc.c: Likewise.
53441 * elf/dl-load.h: New file.
53442 * elf/dl-load.c: Include it.
53443 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
53444 Macros moved to dl-load.h.
53445 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
53446 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
53447 Use _dl_unmap_segments in place of __munmap.
53448 Break out segment-mapping loop into ...
53449 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
53450
53451 2014-04-03 Will Newton <will.newton@linaro.org>
53452
53453 * elf/dl-lookup.c (do_lookup_x): Remove comment
53454 referring to nested function and move variable
53455 declarations down to before first use.
53456
53457 2014-04-02 Joseph Myers <joseph@codesourcery.com>
53458
53459 [BZ #16799]
53460 [BZ #16800]
53461 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
53462 with 0 numerator.
53463 * math/s_catanf.c (__catanf): Likewise.
53464 * math/s_catanh.c (__catanh): Likewise.
53465 * math/s_catanhf.c (__catanhf): Likewise.
53466 * math/s_catanhl.c (__catanhl): Likewise.
53467 * math/s_catanl.c (__catanl): Likewise.
53468 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
53469 by positive zero when computing -Inf result.
53470 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
53471 (catanh_test): Likewise.
53472 * sysdeps/i386/fpu/libm-test-ulps: Update.
53473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53474
53475 [BZ #16789]
53476 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
53477 instead of using underflowing value in computing result.
53478 * math/s_clog10.c (__clog10): Likewise.
53479 * math/s_clog10f.c (__clog10f): Likewise.
53480 * math/s_clog10l.c (__clog10l): Likewise.
53481 * math/s_clogf.c (__clogf): Likewise.
53482 * math/s_clogl.c (__clogl): Likewise.
53483 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
53484 (clog10_test): Likewise.
53485 * sysdeps/i386/fpu/libm-test-ulps: Update.
53486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53487
53488 2014-04-02 Alan Modra <amodra@gmail.com>
53489
53490 [BZ #16739]
53491 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
53492 output when value is near a power of two. Use int64_t for lx and
53493 remove casts. Use decimal rather than hex exponent constants.
53494 Don't use long double multiplication when double will suffice.
53495 * math/libm-test.inc (nextafter_test_data): Add tests.
53496 * NEWS: Add 16739 and 16786 to bug list.
53497
53498 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
53499
53500 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
53501
53502 2014-04-01 Will Newton <will.newton@linaro.org>
53503
53504 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
53505 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
53506
53507 2014-04-01 Florian Weimer <fweimer@redhat.com>
53508
53509 [BZ #13347]
53510 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
53511 * nptl/tst-setuid2.c: New file.
53512 * nptl/Makefile (xtests): Add tst-setuid2.
53513
53514 2014-04-01 Alan Modra <amodra@gmail.com>
53515
53516 [BZ #16786]
53517 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
53518
53519 2014-03-31 Joseph Myers <joseph@codesourcery.com>
53520
53521 [BZ #6803]
53522 [BZ #6804]
53523 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
53524 set errno as appropriate.
53525 * math/w_scalbf.c (__scalbf): Likewise.
53526 * math/w_scalbl.c (__scalbl): Likewise.
53527 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
53528 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
53529 * math/libm-test.inc (scalb_test_data): Add errno expectations.
53530 Add more NaN tests.
53531
53532 [BZ #16349]
53533 * math/w_atan2.c: Include <errno.h>.
53534 (__atan2): Set errno for result underflowing to zero.
53535 * math/w_atan2f.c: Include <errno.h>.
53536 (__atan2f): Set errno for result underflowing to zero.
53537 * math/w_atan2l.c: Include <errno.h>.
53538 (__atan2l): Set errno for result underflowing to zero.
53539 * math/auto-libm-test-in: Don't allow missing errno for some atan2
53540 tests.
53541 * math/auto-libm-test-out: Regenerated.
53542
53543 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53544
53545 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
53546 Encode instruction correctly in little endian.
53547 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
53548 Likewise.
53549 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
53550 Likewise.
53551 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
53552 Likewise.
53553 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
53554 Likewise.
53555
53556 2014-03-31 Joseph Myers <joseph@codesourcery.com>
53557
53558 [BZ #9894]
53559 * sysdeps/unix/sysv/linux/kernel-features.h
53560 [__sparc__ && !__arch64__ && !__sparc_v9__]
53561 (__ASSUME_SET_ROBUST_LIST): Do not define.
53562 [__sparc__ && !__arch64__ && !__sparc_v9__]
53563 (__ASSUME_FUTEX_LOCK_PI): Likewise.
53564 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
53565 Likewise.
53566 * sysdeps/unix/sysv/linux/arm/kernel-features.h
53567 (__ASSUME_FUTEX_LOCK_PI): Undefine.
53568 (__ASSUME_REQUEUE_PI): Likewise.
53569 (__ASSUME_SET_ROBUST_LIST): Likewise.
53570 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53571 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
53572 Undefine.
53573 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53574 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
53575 Likewise.
53576 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
53577 Likewise.
53578 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
53579 Likewise.
53580 * sysdeps/unix/sysv/linux/mips/kernel-features.h
53581 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
53582 Undefine.
53583 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
53584 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
53585 Likewise.
53586
53587 [BZ #16648]
53588 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53589 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
53590 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
53591
53592 2014-03-31 Will Newton <will.newton@linaro.org>
53593
53594 * benchtests/Makefile (bench): Add ffs and ffsll to list
53595 of tests.
53596 * benchtests/ffs-inputs: New file.
53597 * benchtests/ffsll-inputs: Likewise.
53598
53599 2014-03-29 Joseph Myers <joseph@codesourcery.com>
53600
53601 [BZ #16770]
53602 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
53603 too large before casting to int.
53604 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
53605 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
53606 * math/libm-test.inc (scalb_test_data): Add more tests.
53607
53608 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
53609
53610 * benchtests/Makefile (DETAILED_OPT): New make option.
53611 (bench-func): Run benchmark program with -d if DETAILED_OPT is
53612 set.
53613 * benchtests/bench-skeleton.c: Include stdbool.h.
53614 (main): Store and print timings per input.
53615 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
53616 member to each argument value.
53617 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
53618 (_print_arg_data): Initialize per-input timing to 0.
53619
53620 * benchtests/Makefile (timing-type): New binary.
53621 (bench-clean): Also remove bench-timing-type.
53622 (bench): New target for timing-type.
53623 (bench-func): Print output in JSON format.
53624 * benchtests/bench-skeleton.c (main): Print output in JSON
53625 format.
53626 * benchtests/bench-timing-type.c: New file.
53627 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
53628 (TIMING_PRINT_STATS): Remove.
53629 * benchtests/scripts/bench.py (_print_arg_data): Store variant
53630 name separately.
53631
53632 * benchtests/bench-modf.c: Remove.
53633 * benchtests/modf-inputs: New inputs file.
53634
53635 2014-03-28 Joseph Myers <joseph@codesourcery.com>
53636
53637 [BZ #16362]
53638 * math/s_clog10.c (M_PI_LOG10E): New macro.
53639 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
53640 imaginary parts are 0.
53641 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
53642 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
53643 imaginary parts are 0.
53644 * math/s_clog10l.c (M_PI_LOG10El): New macro.
53645 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
53646 imaginary parts are 0.
53647 * math/libm-test.inc (clog10_test_data): Update expected results
53648 for when real and imaginary parts are 0.
53649
53650 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
53651
53652 * elf/dl-load.c: Finish conversion of __builtin_expect into
53653 __glibc_{un}likely.
53654
53655 2014-03-27 Joseph Myers <joseph@codesourcery.com>
53656
53657 [BZ #16348]
53658 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
53659 1+x for argument with exponent below -67.
53660 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
53661 Likewise.
53662 * math/auto-libm-test-in: Add more tests of exp.
53663 * math/auto-libm-test-out: Regenerated.
53664
53665 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
53666
53667 [BZ #16759]
53668 * inet/getnetgrent_r.c (get_nonempty_val): New function.
53669 (nscd_getnetgrent): Use it.
53670
53671 [BZ #16760]
53672 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
53673 of stpcpy.
53674
53675 2014-03-27 Andi Kleen <ak@linux.intel.com>
53676
53677 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
53678 (lll_robust_lock, lll_cond_lock, lll_timedlock)
53679 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
53680 (lll_robust_unlock): Remove out of line section. Use cfi
53681 intrinsics.
53682 (LLL_STUB_UNWIND_INFO*): Remove.
53683 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
53684 (lll_robust_lock, lll_cond_lock, lll_timedlock)
53685 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
53686 (lll_robust_unlock): Remove out of line section. Use cfi
53687 intrinsics.
53688 (LLL_STUB_UNWIND_INFO*): Remove.
53689
53690 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
53691
53692 [BZ #16758]
53693 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
53694 blank values.
53695
53696 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
53697
53698 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
53699
53700 2014-03-26 Joseph Myers <joseph@codesourcery.com>
53701
53702 [BZ #16198]
53703 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
53704 fnstenv.
53705 * math/test-fenv-preserve.c: New file.
53706 * math/Makefile (tests): Add test-fenv-preserve.
53707
53708 2014-03-26 Will Newton <will.newton@linaro.org>
53709
53710 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
53711
53712 2014-03-25 Roland McGrath <roland@hack.frob.com>
53713
53714 * scripts/versionlist.awk: Partition the version sets and emit all
53715 GLIBC_* (sorted) before all others (sorted).
53716
53717 2014-03-25 Joseph Myers <joseph@codesourcery.com>
53718
53719 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
53720 GLIBC_2.2.5 version.
53721
53722 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53723
53724 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
53725 calls.
53726
53727 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
53728 previous change.
53729
53730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53731
53732 2014-03-25 Andreas Schwab <schwab@suse.de>
53733
53734 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
53735 label to be used after in6ailist is initialized.
53736
53737 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53738
53739 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53740 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
53741
53742 2014-03-25 Joseph Myers <joseph@codesourcery.com>
53743
53744 [BZ #16357]
53745 [BZ #16599]
53746 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
53747 min_plus_half.
53748 (fp_formats): Update initializers.
53749 (init_fp_formats): Initialize new field.
53750 (output_for_one_input_case): Allow underflow for results up to
53751 min_plus_half.
53752 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
53753 * math/auto-libm-test-in: Don't mark some underflows from asin and
53754 atanh as spurious.
53755 * math/auto-libm-test-out: Regenerated.
53756 * sysdeps/i386/fpu/libm-test-ulps: Update.
53757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53758
53759 2014-03-25 Andreas Schwab <schwab@suse.de>
53760
53761 * libio/Makefile (tst-ftell-partial-wide-ENV)
53762 (tst-ftell-active-handler-ENV): Define.
53763
53764 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
53765
53766 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
53767
53768 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
53769
53770 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
53771
53772 2014-03-24 Joseph Myers <joseph@codesourcery.com>
53773
53774 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
53775 * sysdeps/x86_64/fpu/multiarch/e_exp.c
53776 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
53777
53778 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
53779
53780 [BZ #16634]
53781 * elf/dl-load.c (open_verify): Add mode parameter.
53782 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
53783 (open_path): Change from boolean 'secure' to complete flag 'mode'
53784 (_dl_map_object): Adjust.
53785 * elf/Makefile (tests): Add tst-dlopen-aout.
53786 * elf/tst-dlopen-aout.c: New test.
53787
53788 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
53789
53790 [BZ #16714]
53791 * sysdeps/unix/sysv/linux/s390/bits/stat.h
53792 (struct stat): Rename member pad0 to __glibc_reserved0.
53793
53794 [BZ #16712]
53795 * sysdeps/s390/s390-32/bits/wordsize.h
53796 (__WORDSIZE32_SIZE_ULONG): New define.
53797 * sysdeps/s390/s390-64/bits/wordsize.h
53798 (__WORDSIZE32_SIZE_ULONG): Likewise.
53799 * sysdeps/generic/stdint.h (SIZE_MAX):
53800 Define as UL if __WORDSIZE32_SIZE_ULONG.
53801
53802 [BZ #16713]
53803 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
53804 (__glibc_reserved0): New variable.
53805 (sa_flags): Change type to int.
53806
53807 * posix/Makefile (before-compile): Use += before-compile instead
53808 of a :=.
53809
53810 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53811 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
53812
53813 2014-03-20 Andreas Schwab <schwab@suse.de>
53814
53815 [BZ #16743]
53816 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
53817 non-matching result from nscd.
53818
53819 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
53820
53821 * scripts/bench.py: Moved to ...
53822 * benchtests/scripts/bench.py: ... here.
53823 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
53824
53825 2014-03-24 Andreas Schwab <schwab@suse.de>
53826
53827 [BZ #16002]
53828 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
53829 alloca_account and account alloca use for struct in6ailist.
53830
53831 2014-03-24 Joseph Myers <joseph@codesourcery.com>
53832
53833 [BZ #16284]
53834 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
53835 rounding mode to recompute results that overflow to infinity or
53836 underflow to zero.
53837 * math/auto-libm-test-in: Don't mark tests as expected to fail for
53838 bug 16284.
53839 * math/auto-libm-test-out: Regenerated.
53840 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
53841 (ccosh_test): Likewise.
53842 (csin_test_data): Use plus_oflow.
53843 (csin_test): Use ALL_RM_TEST.
53844 (csinh_test_data): Use plus_oflow.
53845 (csinh_test): Use ALL_RM_TEST.
53846 * sysdeps/i386/fpu/libm-test-ulps: Update.
53847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53848
53849 2014-03-21 Joseph Myers <joseph@codesourcery.com>
53850
53851 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
53852 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
53853 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
53854
53855 [BZ #16731]
53856 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
53857 when x - 1 is zero.
53858 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
53859 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
53860 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
53861 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
53862 argument is 1.
53863 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
53864 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
53865 zero.
53866 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
53867 * sysdeps/i386/fpu/libm-test-ulps: Update.
53868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53869
53870 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
53871
53872 * scripts/bench.pl: Remove file.
53873 * scripts/bench.py: New benchmark script.
53874 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
53875 * benchtests/README: Mention python dependency.
53876 * scripts/pylintrc: New file.
53877 * scripts/pylint: New file.
53878
53879 * bits/mathdef.h: Use #ifdef instead of #if.
53880 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
53881 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
53882 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
53883 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
53884 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
53885 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
53886
53887 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53888 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
53889
53890 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
53891 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
53892 and strpbrk-ppc64 objects.
53893 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53894 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
53895 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
53896 multiarch strpbrk for POWER7.
53897 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
53898 multiarch strpbrk for PPC64.
53899 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
53900 ifunc selector.
53901 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
53902 strpbrk for POWER7.
53903
53904 2014-03-20 Joseph Myers <joseph@codesourcery.com>
53905
53906 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
53907 (atan_test): Likewise.
53908 (atanh_test_data): Use NO_TEST_INLINE for two tests.
53909 (atanh_test): Use ALL_RM_TEST.
53910 (atan2_test_data): Likewise.
53911 (cabs_test): Likewise.
53912 (cacosh_test): Likewise.
53913 (carg_test): Likewise.
53914 (casin_test): Likewise.
53915 (casinh_test): Likewise.
53916 (cbrt_test): Likewise.
53917 (csqrt_test): Likewise.
53918 (erf_test): Likewise.
53919 (erfc_test): Likewise.
53920 (pow10_test): Likewise.
53921 (exp2_test): Likewise.
53922 (hypot_test): Likewise.
53923 (j0_test): Likewise.
53924 (j1_test): Likewise.
53925 (lgamma_test): Likewise.
53926 (gamma_test): Likewise.
53927 (sincos_test): Likewise.
53928 (tanh_test): Likewise.
53929 (y0_test): Likewise.
53930 (y1_test): Likewise.
53931 * sysdeps/i386/fpu/libm-test-ulps: Update.
53932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53933
53934 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53935
53936 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
53937 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
53938 and strcspn-ppc64 objects.
53939 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53940 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
53941 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
53942 multiarch strcspn for POWER7.
53943 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
53944 multiarch strcspn for PPC64.
53945 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
53946 ifunc selector.
53947 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
53948 strcspn for POWER7.
53949
53950 2014-03-20 Joseph Myers <joseph@codesourcery.com>
53951
53952 * math/gen-libm-test.pl (generate_testfile): Expect only function
53953 name as argument to AUTO_TESTS_* and pass results for all rounding
53954 modes to parse_args.
53955 (parse_auto_input): Separate inputs of automatic tests from
53956 outputs before storing in %auto_tests.
53957 * math/libm-test.inc (acos_test_data): Update call to
53958 AUTO_TESTS_f_f.
53959 (acos_test): Use ALL_RM_TEST.
53960 (acos_tonearest_test_data): Remove.
53961 (acos_test_tonearest): Likewise.
53962 (acos_towardzero_test_data): Likewise.
53963 (acos_test_towardzero): Likewise.
53964 (acos_downward_test_data): Likewise.
53965 (acos_test_downward): Likewise.
53966 (acos_upward_test_data): Likewise.
53967 (acos_test_upward): Likewise.
53968 (acosh_test_data): Update call to AUTO_TESTS_f_f.
53969 (asin_test_data): Likewise.
53970 (asin_test): Use ALL_RM_TEST.
53971 (asin_tonearest_test_data): Remove.
53972 (asin_test_tonearest): Likewise.
53973 (asin_towardzero_test_data): Likewise.
53974 (asin_test_towardzero): Likewise.
53975 (asin_downward_test_data): Likewise.
53976 (asin_test_downward): Likewise.
53977 (asin_upward_test_data): Likewise.
53978 (asin_test_upward): Likewise.
53979 (asinh_test_data): Update call to AUTO_TESTS_f_f.
53980 (atan_test_data): Likewise.
53981 (atanh_test_data): Likewise.
53982 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
53983 (cabs_test_data): Update call to AUTO_TESTS_c_f.
53984 (carg_test_data): Likewise.
53985 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
53986 (ccos_test_data): Update call to AUTO_TESTS_c_c.
53987 (ccosh_test_data): Likewise.
53988 (cexp_test_data): Likewise.
53989 (clog_test_data): Likewise.
53990 (clog10_test_data): Likewise.
53991 (cos_test_data): Update call to AUTO_TESTS_f_f.
53992 (cos_test): Use ALL_RM_TEST.
53993 (cos_tonearest_test_data): Remove.
53994 (cos_test_tonearest): Likewise.
53995 (cos_towardzero_test_data): Likewise.
53996 (cos_test_towardzero): Likewise.
53997 (cos_downward_test_data): Likewise.
53998 (cos_test_downward): Likewise.
53999 (cos_upward_test_data): Likewise.
54000 (cos_test_upward): Likewise.
54001 (cosh_test_data): Update call to AUTO_TESTS_f_f.
54002 (cosh_test): Use ALL_RM_TEST.
54003 (cosh_tonearest_test_data): Remove.
54004 (cosh_test_tonearest): Likewise.
54005 (cosh_towardzero_test_data): Likewise.
54006 (cosh_test_towardzero): Likewise.
54007 (cosh_downward_test_data): Likewise.
54008 (cosh_test_downward): Likewise.
54009 (cosh_upward_test_data): Likewise.
54010 (cosh_test_upward): Likewise.
54011 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
54012 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
54013 (ctan_test_data): Likewise.
54014 (ctan_test): Use ALL_RM_TEST.
54015 (ctan_tonearest_test_data): Remove.
54016 (ctan_test_tonearest): Likewise.
54017 (ctan_towardzero_test_data): Likewise.
54018 (ctan_test_towardzero): Likewise.
54019 (ctan_downward_test_data): Likewise.
54020 (ctan_test_downward): Likewise.
54021 (ctan_upward_test_data): Likewise.
54022 (ctan_test_upward): Likewise.
54023 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
54024 (ctanh_test): Use ALL_RM_TEST.
54025 (ctanh_tonearest_test_data): Remove.
54026 (ctanh_test_tonearest): Likewise.
54027 (ctanh_towardzero_test_data): Likewise.
54028 (ctanh_test_towardzero): Likewise.
54029 (ctanh_downward_test_data): Likewise.
54030 (ctanh_test_downward): Likewise.
54031 (ctanh_upward_test_data): Likewise.
54032 (ctanh_test_upward): Likewise.
54033 (erf_test_data): Update call to AUTO_TESTS_f_f.
54034 (erfc_test_data): Likewise.
54035 (exp_test_data): Likewise.
54036 (exp_test): Use ALL_RM_TEST.
54037 (exp_tonearest_test_data): Remove.
54038 (exp_test_tonearest): Likewise.
54039 (exp_towardzero_test_data): Likewise.
54040 (exp_test_towardzero): Likewise.
54041 (exp_downward_test_data): Likewise.
54042 (exp_test_downward): Likewise.
54043 (exp_upward_test_data): Likewise.
54044 (exp_test_upward): Likewise.
54045 (exp10_test_data): Update call to AUTO_TESTS_f_f.
54046 (exp10_test): Use ALL_RM_TEST.
54047 (exp10_tonearest_test_data): Remove.
54048 (exp10_test_tonearest): Likewise.
54049 (exp10_towardzero_test_data): Likewise.
54050 (exp10_test_towardzero): Likewise.
54051 (exp10_downward_test_data): Likewise.
54052 (exp10_test_downward): Likewise.
54053 (exp10_upward_test_data): Likewise.
54054 (exp10_test_upward): Likewise.
54055 (exp2_test_data): Update call to AUTO_TESTS_f_f.
54056 (expm1_test_data): Likewise.
54057 (expm1_test): Use ALL_RM_TEST.
54058 (expm1_tonearest_test_data): Remove.
54059 (expm1_test_tonearest): Likewise.
54060 (expm1_towardzero_test_data): Likewise.
54061 (expm1_test_towardzero): Likewise.
54062 (expm1_downward_test_data): Likewise.
54063 (expm1_test_downward): Likewise.
54064 (expm1_upward_test_data): Likewise.
54065 (expm1_test_upward): Likewise.
54066 (fma_test_data): Update call to AUTO_TESTS_fff_f.
54067 (fma_test): Use ALL_RM_TEST.
54068 (fma_towardzero_test_data): Remove.
54069 (fma_test_towardzero): Likewise.
54070 (fma_downward_test_data): Likewise.
54071 (fma_test_downward): Likewise.
54072 (fma_upward_test_data): Likewise.
54073 (fma_test_upward): Likewise.
54074 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
54075 (j0_test_data): Update call to AUTO_TESTS_f_f.
54076 (j1_test_data): Likewise.
54077 (jn_test_data): Update call to AUTO_TESTS_if_f.
54078 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
54079 (log_test_data): Update call to AUTO_TESTS_f_f.
54080 (log10_test_data): Likewise.
54081 (log1p_test_data): Likewise.
54082 (log2_test_data): Likewise.
54083 (pow_test_data): Update call to AUTO_TESTS_ff_f.
54084 (pow_tonearest_test_data): Likewise.
54085 (sin_test_data): Update call to AUTO_TESTS_f_f.
54086 (sin_test): Use ALL_RM_TEST.
54087 (sin_tonearest_test_data): Remove.
54088 (sin_test_tonearest): Likewise.
54089 (sin_towardzero_test_data): Likewise.
54090 (sin_test_towardzero): Likewise.
54091 (sin_downward_test_data): Likewise.
54092 (sin_test_downward): Likewise.
54093 (sin_upward_test_data): Likewise.
54094 (sin_test_upward): Likewise.
54095 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
54096 (sinh_test_data): Update call to AUTO_TESTS_f_f.
54097 (sinh_test): Use ALL_RM_TEST.
54098 (sinh_tonearest_test_data): Remove.
54099 (sinh_test_tonearest): Likewise.
54100 (sinh_towardzero_test_data): Likewise.
54101 (sinh_test_towardzero): Likewise.
54102 (sinh_downward_test_data): Likewise.
54103 (sinh_test_downward): Likewise.
54104 (sinh_upward_test_data): Likewise.
54105 (sinh_test_upward): Likewise.
54106 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
54107 (sqrt_test): Use ALL_RM_TEST.
54108 (sqrt_tonearest_test_data): Remove.
54109 (sqrt_test_tonearest): Likewise.
54110 (sqrt_towardzero_test_data): Likewise.
54111 (sqrt_test_towardzero): Likewise.
54112 (sqrt_downward_test_data): Likewise.
54113 (sqrt_test_downward): Likewise.
54114 (sqrt_upward_test_data): Likewise.
54115 (sqrt_test_upward): Likewise.
54116 (tan_test_data): Update call to AUTO_TESTS_f_f.
54117 (tan_test): Use ALL_RM_TEST.
54118 (tan_tonearest_test_data): Remove.
54119 (tan_test_tonearest): Likewise.
54120 (tan_towardzero_test_data): Likewise.
54121 (tan_test_towardzero): Likewise.
54122 (tan_downward_test_data): Likewise.
54123 (tan_test_downward): Likewise.
54124 (tan_upward_test_data): Likewise.
54125 (tan_test_upward): Likewise.
54126 (tanh_test_data): Update call to AUTO_TESTS_f_f.
54127 (tgamma_test_data): Likewise.
54128 (y0_test_data): Likewise.
54129 (y1_test_data): Likewise.
54130 (yn_test_data): Update call to AUTO_TESTS_if_f.
54131 (main): Do not call removed functions.
54132
54133 2014-03-19 Joseph Myers <joseph@codesourcery.com>
54134
54135 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
54136 (ldexp_test_data): Remove.
54137 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
54138 scalbn_test_data.
54139 (scalb_test): Use ALL_RM_TEST.
54140
54141 2014-03-19 Andreas Schwab <schwab@suse.de>
54142
54143 * nscd/nscd.service: Also invalidate netgroup cache on reload.
54144
54145 2014-03-19 Joseph Myers <joseph@codesourcery.com>
54146
54147 [BZ #16649]
54148 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54149 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
54150 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
54151 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54152 (__ASSUME_PREADV): Undefine.
54153 (__ASSUME_PWRITEV): Likewise.
54154
54155 2014-03-18 Roland McGrath <roland@hack.frob.com>
54156
54157 * bits/mman-linux.h: Add comment about non-Linux use.
54158 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
54159 bits/mman-linux.h resting place.
54160
54161 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
54162 * bits/mman-linux.h: ... here.
54163
54164 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54165
54166 * conform/conformtest.pl: Add standard definition when calling C
54167 preprocessor on data files.
54168 (checknamespace): Remove unused variable.
54169
54170 2014-03-18 Joseph Myers <joseph@codesourcery.com>
54171
54172 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
54173 minus_oflow, plus_uflow and minus_uflow in expected results.
54174 * math/libm-test.inc (scalbn_test_data): Add more tests of
54175 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
54176 minus_uflow.
54177 (scalbn_test): Use ALL_RM_TEST.
54178 (scalbln_test_data): Add more tests of negative arguments. Use
54179 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
54180 (scalbln_test): Use ALL_RM_TEST.
54181
54182 2014-03-18 Roland McGrath <roland@hack.frob.com>
54183
54184 * scripts/abilist.awk: Ignore symbols marked with .hidden.
54185
54186 2014-03-18 Will Newton <will.newton@linaro.org>
54187
54188 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
54189 inaccurate comment.
54190
54191 2014-03-18 Joseph Myers <joseph@codesourcery.com>
54192
54193 * Makerules [!subdir] (check-abi): Exit with error status if a
54194 test failed.
54195
54196 2014-03-17 Joseph Myers <joseph@codesourcery.com>
54197
54198 * math/libm-test.inc (nearbyint_test_data): Include all tests used
54199 for rint. Include results for all rounding modes.
54200 (nearbyint_test): Use ALL_RM_TEST.
54201 (rint_test_data): Include all tests used for nearbyint.
54202
54203 2014-03-17 Will Newton <will.newton@linaro.org>
54204
54205 * nptl/sysdeps/pthread/pthread.h: Revert previous
54206 change.
54207
54208 * sysdeps/generic/ldsodefs.h: Revert previous
54209 change.
54210
54211 * libio/genops.c: Revert previous change.
54212 * libio/libioP.h: Likewise.
54213 * stdio-common/vfprintf.c: Likewise.
54214
54215 * sysdeps/generic/math_private.h: Revert previous
54216 change.
54217
54218 * sysdeps/generic/math_private.h: Check whether
54219 HAVE_RM_CTX is defined with #ifdef rather
54220 than #if.
54221
54222 * argp/argp-fmtstream.h: Check whether
54223 __STRICT_ANSI__ is defined with #ifdef rather
54224 than #if.
54225 * argp/argp.h: Likewise.
54226
54227 * libio/genops.c: Check whether
54228 _IO_JUMPS_OFFSET is defined with #ifdef rather
54229 than #if.
54230 * libio/libioP.h: Likewise.
54231 * stdio-common/vfprintf.c: Likewise.
54232
54233 * sysdeps/generic/ldsodefs.h: Check whether
54234 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
54235 than #if.
54236
54237 * nptl/sysdeps/pthread/pthread.h: Check
54238 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
54239 its value.
54240
54241 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
54242
54243 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
54244 setting O_APPEND.
54245 * libio/tst-ftell-active-handler.c (do_append_test): Add a
54246 test case.
54247
54248 [BZ #16680]
54249 * libio/fileops.c (_IO_file_open): Seek to end of file but
54250 don't cache the offset.
54251 (get_file_offset): Remove function.
54252 (do_ftell): Use cached offset when available.
54253 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
54254 don't cache the offset.
54255 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
54256 case.
54257 (do_one_test): Call it.
54258 (do_ftell_test): Fix up expected old offset for a+ mode.
54259 * libio/wfileops.c (do_ftell_wide): Used cached offset when
54260 available.
54261
54262 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
54263 up test status with function return status.
54264 (do_write_test): Likewise.
54265 (do_append_test): Likewise.
54266
54267 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
54268 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
54269 Remove.
54270
54271 2014-03-17 Joseph Myers <joseph@codesourcery.com>
54272
54273 * math/gen-libm-test.pl (parse_args): Handle results specified for
54274 each rounding mode separately.
54275 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
54276 tests and results from lrint_tonearest_test_data,
54277 lrint_towardzero_test_data, lrint_downward_test_data and
54278 lrint_upward_test_data.
54279 (lrint_test): Use ALL_RM_TEST.
54280 (lrint_tonearest_test_data): Remove.
54281 (lrint_test_tonearest): Likewise.
54282 (lrint_towardzero_test_data): Likewise.
54283 (lrint_test_towardzero): Likewise.
54284 (lrint_downward_test_data): Likewise.
54285 (lrint_test_downward): Likewise.
54286 (lrint_upward_test_data): Likewise.
54287 (lrint_test_upward): Likewise.
54288 (llrint_test_data): Merge in per-rounding-mode tests and results
54289 from llrint_tonearest_test_data, llrint_towardzero_test_data,
54290 llrint_downward_test_data and llrint_upward_test_data.
54291 (llrint_test): Use ALL_RM_TEST.
54292 (llrint_tonearest_test_data): Remove.
54293 (llrint_test_tonearest): Likewise.
54294 (llrint_towardzero_test_data): Likewise.
54295 (llrint_test_towardzero): Likewise.
54296 (llrint_downward_test_data): Likewise.
54297 (llrint_test_downward): Likewise.
54298 (llrint_upward_test_data): Likewise.
54299 (llrint_test_upward): Likewise.
54300 (rint_test_data): Merge in per-rounding-mode tests and results
54301 from rint_tonearest_test_data, rint_towardzero_test_data,
54302 rint_downward_test_data and rint_upward_test_data. Add
54303 per-rounding-mode results for tests not in those arrays.
54304 (rint_test): Use ALL_RM_TEST.
54305 (rint_tonearest_test_data): Remove.
54306 (rint_test_tonearest): Likewise.
54307 (rint_towardzero_test_data): Likewise.
54308 (rint_test_towardzero): Likewise.
54309 (rint_downward_test_data): Likewise.
54310 (rint_test_downward): Likewise.
54311 (rint_upward_test_data): Likewise.
54312 (rint_test_upward): Likewise.
54313 (main): Don't call removed functions.
54314
54315 2014-03-14 Roland McGrath <roland@hack.frob.com>
54316
54317 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
54318 "Compiled on ..." crapola. It is anti-useful.
54319
54320 2014-03-14 Joseph Myers <joseph@codesourcery.com>
54321
54322 * scripts/evaluate-test.sh: Handle fourth argument to determine
54323 whether test run should stop on failure.
54324 * Makeconfig (stop-on-test-failure): New variable.
54325 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
54326 $(stop-on-test-failure).
54327 * Makefile (tests): Give a summary of results from testing and
54328 exit with failure status if they include an ERROR or FAIL.
54329 (xtests): Likewise.
54330 * manual/install.texi (Configuring and compiling): Mention
54331 stop-on-test-failure=y.
54332 * INSTALL: Regenerated.
54333
54334 2014-03-14 Roland McGrath <roland@hack.frob.com>
54335
54336 * scripts/versionlist.awk: New file.
54337 * Makerules [$(build-shared) = yes]
54338 (postclean-generated): Add Versions.def, not Versions.def.v and
54339 Versions.def.v.i.
54340 ($(common-objpfx)Versions.def.v.i): Target removed.
54341 ($(common-objpfx)Versions.def): New target.
54342 ($(common-objpfx)Versions.all): Depend on that rather that
54343 $(common-objpfx)Versions.def.v.
54344 * Versions.def: File removed.
54345
54346 * Makeconfig (+gccwarn): Add -Wundef.
54347 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
54348 a dl-sysdep.h breaking its contract.
54349 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
54350 * include/stackinfo.h: New file.
54351 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
54352 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
54353 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
54354 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
54355 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
54356 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
54357 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54358 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54359 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54360 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54361 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54362 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
54363 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54364 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54365 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54366
54367 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54368
54369 [BZ #16707]
54370 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
54371 implementation.
54372 * math/libm-test.inc (round_test_data): Add more tests.
54373
54374 [BZ #16706]
54375 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
54376 implementation.
54377 * math/libm-test.inc (nearbyint_test_data): Add more tests.
54378
54379 [BZ #16701]
54380 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
54381 implementation.
54382 * math/libm-test.inc (ceil_test_data): Add more tests.
54383
54384 * math/libm-test.inc (trunc_test_data): Add more tests related to
54385 BZ#16414.
54386
54387 2014-03-14 Roland McGrath <roland@hack.frob.com>
54388
54389 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
54390 with #if rather than #ifdef.
54391 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
54392
54393 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
54394
54395 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
54396 first. Disable AVX-512 GCC support if assembler doesn't support
54397 it.
54398 * sysdeps/x86_64/configure: Regenerated.
54399
54400 2014-03-13 Carlos O'Donell <carlos@redhat.com>
54401
54402 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
54403 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
54404 (__old_pthread_attr_setstack): Likewise.
54405 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
54406 [!_STACK_GROWS_DOWN]: Likewise.
54407
54408 2014-03-13 Mike Frysinger <vapier@gentoo.org>
54409
54410 * config.make.in (have-bash2): Delete.
54411 * configure.ac (libc_cv_have_bash2): Delete.
54412 * configure: Regenerate.
54413 * elf/Makefile (common-ldd-rewrite): Rename to ...
54414 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
54415 (sh-ldd-rewrite): Delete.
54416 (bash-ldd-rewrite): Delete.
54417 (have-bash2): Delete checks.
54418 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
54419 ldd-rewrite.
54420
54421 * config.make.in (have-ksh): Delete.
54422 (KSH): Delete.
54423 * configure.ac (libc_cv_have_ksh): Delete.
54424 * configure: Regenerate.
54425
54426 * elf/Makefile: Delete $(have-ksh) check.
54427 ($(objpfx)sotruss): Change KSH to BASH.
54428 * elf/sotruss.ksh: Rename to ...
54429 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
54430 function style to match POSIX. Drop ksh vim mode setting.
54431
54432 * manual/time.texi (Specifying the Time Zone with TZ): Change
54433 Tuesday to Thursday.
54434
54435 * debug/tst-longjmp_chk2.c: Update header comment.
54436 (stackoverflow_handler): Add comment. Call assert on pass value.
54437
54438 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
54439
54440 [BZ #16194]
54441 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
54442 (HAVE_AVX512_ASM_SUPPORT): Likewise.
54443 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
54444 (La_x86_64_vector): Add zmm.
54445 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
54446 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
54447 ($(objpfx)tst-audit10): New target.
54448 ($(objpfx)tst-audit10.out): Likewise.
54449 (tst-audit10-ENV): New.
54450 (AVX512-CFLAGS): Likewise.
54451 (CFLAGS-tst-audit10.c): Likewise.
54452 (CFLAGS-tst-auditmod10a.c): Likewise.
54453 (CFLAGS-tst-auditmod10b.c): Likewise.
54454 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
54455 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
54456 * sysdeps/x86_64/configure: Regenerated.
54457 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
54458 AVX-512 zmm register support.
54459 (_dl_x86_64_save_sse): Likewise.
54460 (_dl_x86_64_restore_sse): Likewise.
54461 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
54462 size vector registers.
54463 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
54464 (ZMM_SIZE): Likewise.
54465 * sysdeps/x86_64/tst-audit10.c: New file.
54466 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
54467 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
54468
54469 2014-03-13 Roland McGrath <roland@hack.frob.com>
54470
54471 * configure.ac (HAVE_EHDR_START): New check.
54472 * configure: Regenerated.
54473 * config.h.in (HAVE_EHDR_START): New #undef.
54474 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
54475 assuming the lowest-addressed segment maps the start of the file.
54476
54477 2014-03-13 Joseph Myers <joseph@codesourcery.com>
54478
54479 * INSTALL: Regenerated.
54480
54481 2014-03-13 Will Newton <will.newton@linaro.org>
54482
54483 * manual/setjmp.texi (System V contexts): Improve
54484 clarity and grammar of documentation.
54485
54486 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
54487
54488 [BZ #16381]
54489 * elf/Makefile (tests): Add tst-pie2.
54490 (tests-pie): Add tst-pie2.
54491 * elf/tst-pie2.c: New file.
54492 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
54493 for ET_EXEC.
54494 * elf/rtld.c (map_doit): Load executable as lt_executable.
54495 (dl_main): Likewise.
54496
54497 2014-03-12 Joseph Myers <joseph@codesourcery.com>
54498
54499 [BZ #16642]
54500 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54501 (__ASSUME_PSELECT): Undefine.
54502
54503 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54504
54505 [BZ #16689]
54506 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
54507 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
54508 static build.
54509 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
54510 selector for static builds.
54511
54512 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
54513
54514 [BZ #16695]
54515 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
54516 key in the buffer.
54517
54518 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54519
54520 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
54521 IFUNC selector for static builds.
54522
54523 2014-03-11 Joseph Myers <joseph@codesourcery.com>
54524
54525 * sysdeps/mips/math_private.h [__mips_hard_float]
54526 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
54527 libc_feresetround_mips_ctx.
54528 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
54529 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
54530 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
54531
54532 [BZ #16677]
54533 * math/s_nextafter.c (__nextafter): Do not return value from
54534 overflowing computation.
54535 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
54536 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
54537 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
54538 Likewise.
54539 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
54540 Likewise.
54541 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
54542 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
54543
54544 2014-03-11 Roland McGrath <roland@hack.frob.com>
54545
54546 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
54547 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
54548 Move sfi_sp use from the load-multiple (that no longer sets sp) to
54549 the new mov targetting sp.
54550
54551 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54552
54553 [BZ #16683]
54554 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
54555 Define it for static builds as well.
54556 (NO_BZERO_IMPL): Likewise.
54557
54558 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
54559
54560 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
54561 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
54562 multiarch strspn for PPC64.
54563 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
54564 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
54565 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54566 (__libc_ifunc_impl_list): Likewise.
54567 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
54568 multiarch optimizations
54569 * string/strspn.c (strspn): Using macro to redefine symbol name.
54570
54571 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
54572 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54573
54574 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
54575 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
54576 multiarch strncat for PPC64.
54577 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
54578 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
54579 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54580 (__libc_ifunc_impl_list): Likewise.
54581 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
54582 multiarch optimizations
54583
54584 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54585
54586 [BZ #16639]
54587 * nscd/nscd.service: Make service type forking.
54588
54589 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54590
54591 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
54592 sign in non default rounding modes.
54593 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
54594
54595 2014-03-08 Joseph Myers <joseph@codesourcery.com>
54596
54597 * math/libm-test.inc (ALL_RM_TEST): New macro.
54598 (ceil_test): Use ALL_RM_TEST.
54599 (cimag_test): Likewise.
54600 (conj_test): Likewise.
54601 (copysign_test): Likewise.
54602 (cproj_test): Likewise.
54603 (creal_test): Likewise.
54604 (fabs_test): Likewise.
54605 (floor_test): Likewise.
54606 (fmax_test): Likewise.
54607 (fmin_test): Likewise.
54608 (fmod_test): Likewise.
54609 (fpclassify_test): Likewise.
54610 (frexp_test): Likewise.
54611 (ilogb_test): Likewise.
54612 (isfinite_test): Likewise.
54613 (finite_test): Likewise.
54614 (isgreater_test): Likewise.
54615 (isgreaterequal_test): Likewise.
54616 (isinf_test): Likewise.
54617 (isless_test): Likewise.
54618 (islessequal_test): Likewise.
54619 (islessgreater_test): Likewise.
54620 (isnan_test): Likewise.
54621 (isnormal_test): Likewise.
54622 (issignaling_test): Likewise.
54623 (isunordered_test): Likewise.
54624 (logb_test): Likewise.
54625 (logb_downward_test_data): Remove.
54626 (logb_test_downward): Likewise.
54627 (lround_test): Use ALL_RM_TEST.
54628 (llround_test): Likewise.
54629 (modf_test): Likewise.
54630 (nexttoward_test): Likewise.
54631 (remainder_test): Likewise.
54632 (drem_test): Likewise.
54633 (remainder_tonearest_test_data): Likewise.
54634 (remainder_test_tonearest): Likewise.
54635 (drem_test_tonearest): Likewise.
54636 (remainder_towardzero_test_data): Likewise.
54637 (remainder_test_towardzero): Likewise.
54638 (drem_test_towardzero): Likewise.
54639 (remainder_downward_test_data): Likewise.
54640 (remainder_test_downward): Likewise.
54641 (drem_test_downward): Likewise.
54642 (remainder_upward_test_data): Likewise.
54643 (remainder_test_upward): Likewise.
54644 (drem_test_upward): Likewise.
54645 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
54646 (round_test): Use ALL_RM_TEST.
54647 (signbit_test): Likewise.
54648 (trunc_test): Likewise.
54649 (significand_test): Likewise.
54650 (main): Don't call removed functions.
54651
54652 2014-03-07 Joseph Myers <joseph@codesourcery.com>
54653
54654 [BZ #16674]
54655 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
54656 || __USE_XOPEN2K8].
54657 (ILL_ILLOPN): Likewise.
54658 (ILL_ILLADR): Likewise.
54659 (ILL_ILLTRP): Likewise.
54660 (ILL_PRVOPC): Likewise.
54661 (ILL_PRVREG): Likewise.
54662 (ILL_COPROC): Likewise.
54663 (ILL_BADSTK): Likewise.
54664 (FPE_INTDIV): Likewise.
54665 (FPE_INTOVF): Likewise.
54666 (FPE_FLTDIV): Likewise.
54667 (FPE_FLTOVF): Likewise.
54668 (FPE_FLTUND): Likewise.
54669 (FPE_FLTRES): Likewise.
54670 (FPE_FLTINV): Likewise.
54671 (FPE_FLTSUB): Likewise.
54672 (SEGV_MAPERR): Likewise.
54673 (SEGV_ACCERR): Likewise.
54674 (BUS_ADRALN): Likewise.
54675 (BUS_ADRERR): Likewise.
54676 (BUS_OBJERR): Likewise.
54677 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54678 (TRAP_TRACE): Likewise.
54679 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54680 __USE_XOPEN2K8].
54681 (CLD_KILLED): Likewise.
54682 (CLD_DUMPED): Likewise.
54683 (CLD_TRAPPED): Likewise.
54684 (CLD_STOPPED): Likewise.
54685 (CLD_CONTINUED): Likewise.
54686 (POLL_IN): Likewise.
54687 (POLL_OUT): Likewise.
54688 (POLL_MSG): Likewise.
54689 (POLL_ERR): Likewise.
54690 (POLL_PRI): Likewise.
54691 (POLL_HUP): Likewise.
54692 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
54693 Likewise.
54694 (ILL_ILLOPN): Likewise.
54695 (ILL_ILLADR): Likewise.
54696 (ILL_ILLTRP): Likewise.
54697 (ILL_PRVOPC): Likewise.
54698 (ILL_PRVREG): Likewise.
54699 (ILL_COPROC): Likewise.
54700 (ILL_BADSTK): Likewise.
54701 (FPE_INTDIV): Likewise.
54702 (FPE_INTOVF): Likewise.
54703 (FPE_FLTDIV): Likewise.
54704 (FPE_FLTOVF): Likewise.
54705 (FPE_FLTUND): Likewise.
54706 (FPE_FLTRES): Likewise.
54707 (FPE_FLTINV): Likewise.
54708 (FPE_FLTSUB): Likewise.
54709 (SEGV_MAPERR): Likewise.
54710 (SEGV_ACCERR): Likewise.
54711 (BUS_ADRALN): Likewise.
54712 (BUS_ADRERR): Likewise.
54713 (BUS_OBJERR): Likewise.
54714 (BUS_MCEERR_AR): Likewise.
54715 (BUS_MCEERR_AO): Likewise.
54716 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54717 (TRAP_TRACE): Likewise.
54718 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54719 __USE_XOPEN2K8].
54720 (CLD_KILLED): Likewise.
54721 (CLD_DUMPED): Likewise.
54722 (CLD_TRAPPED): Likewise.
54723 (CLD_STOPPED): Likewise.
54724 (CLD_CONTINUED): Likewise.
54725 (POLL_IN): Likewise.
54726 (POLL_OUT): Likewise.
54727 (POLL_MSG): Likewise.
54728 (POLL_ERR): Likewise.
54729 (POLL_PRI): Likewise.
54730 (POLL_HUP): Likewise.
54731 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
54732 (ILL_ILLOPN): Likewise.
54733 (ILL_ILLADR): Likewise.
54734 (ILL_ILLTRP): Likewise.
54735 (ILL_PRVOPC): Likewise.
54736 (ILL_PRVREG): Likewise.
54737 (ILL_COPROC): Likewise.
54738 (ILL_BADSTK): Likewise.
54739 (FPE_INTDIV): Likewise.
54740 (FPE_INTOVF): Likewise.
54741 (FPE_FLTDIV): Likewise.
54742 (FPE_FLTOVF): Likewise.
54743 (FPE_FLTUND): Likewise.
54744 (FPE_FLTRES): Likewise.
54745 (FPE_FLTINV): Likewise.
54746 (FPE_FLTSUB): Likewise.
54747 (SEGV_MAPERR): Likewise.
54748 (SEGV_ACCERR): Likewise.
54749 (BUS_ADRALN): Likewise.
54750 (BUS_ADRERR): Likewise.
54751 (BUS_OBJERR): Likewise.
54752 (BUS_MCEERR_AR): Likewise.
54753 (BUS_MCEERR_AO): Likewise.
54754 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54755 (TRAP_TRACE): Likewise.
54756 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54757 __USE_XOPEN2K8].
54758 (CLD_KILLED): Likewise.
54759 (CLD_DUMPED): Likewise.
54760 (CLD_TRAPPED): Likewise.
54761 (CLD_STOPPED): Likewise.
54762 (CLD_CONTINUED): Likewise.
54763 (POLL_IN): Likewise.
54764 (POLL_OUT): Likewise.
54765 (POLL_MSG): Likewise.
54766 (POLL_ERR): Likewise.
54767 (POLL_PRI): Likewise.
54768 (POLL_HUP): Likewise.
54769 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
54770 Likewise.
54771 (ILL_ILLOPN): Likewise.
54772 (ILL_ILLADR): Likewise.
54773 (ILL_ILLTRP): Likewise.
54774 (ILL_PRVOPC): Likewise.
54775 (ILL_PRVREG): Likewise.
54776 (ILL_COPROC): Likewise.
54777 (ILL_BADSTK): Likewise.
54778 (ILL_BADIADDR): Likewise.
54779 (ILL_BREAK): Likewise.
54780 (FPE_INTDIV): Likewise.
54781 (FPE_INTOVF): Likewise.
54782 (FPE_FLTDIV): Likewise.
54783 (FPE_FLTOVF): Likewise.
54784 (FPE_FLTUND): Likewise.
54785 (FPE_FLTRES): Likewise.
54786 (FPE_FLTINV): Likewise.
54787 (FPE_FLTSUB): Likewise.
54788 (FPE_DECOVF): Likewise.
54789 (FPE_DECDIV): Likewise.
54790 (FPE_DECERR): Likewise.
54791 (FPE_INVASC): Likewise.
54792 (FPE_INVDEC): Likewise.
54793 (SEGV_MAPERR): Likewise.
54794 (SEGV_ACCERR): Likewise.
54795 (SEGV_PSTKOVF): Likewise.
54796 (BUS_ADRALN): Likewise.
54797 (BUS_ADRERR): Likewise.
54798 (BUS_OBJERR): Likewise.
54799 (BUS_MCEERR_AR): Likewise.
54800 (BUS_MCEERR_AO): Likewise.
54801 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54802 (TRAP_TRACE): Likewise.
54803 (TRAP_BRANCH): Likewise.
54804 (TRAP_HWBKPT): Likewise.
54805 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54806 __USE_XOPEN2K8].
54807 (CLD_KILLED): Likewise.
54808 (CLD_DUMPED): Likewise.
54809 (CLD_TRAPPED): Likewise.
54810 (CLD_STOPPED): Likewise.
54811 (CLD_CONTINUED): Likewise.
54812 (POLL_IN): Likewise.
54813 (POLL_OUT): Likewise.
54814 (POLL_MSG): Likewise.
54815 (POLL_ERR): Likewise.
54816 (POLL_PRI): Likewise.
54817 (POLL_HUP): Likewise.
54818 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
54819 (ILL_ILLOPN): Likewise.
54820 (ILL_ILLADR): Likewise.
54821 (ILL_ILLTRP): Likewise.
54822 (ILL_PRVOPC): Likewise.
54823 (ILL_PRVREG): Likewise.
54824 (ILL_COPROC): Likewise.
54825 (ILL_BADSTK): Likewise.
54826 (FPE_INTDIV): Likewise.
54827 (FPE_INTOVF): Likewise.
54828 (FPE_FLTDIV): Likewise.
54829 (FPE_FLTOVF): Likewise.
54830 (FPE_FLTUND): Likewise.
54831 (FPE_FLTRES): Likewise.
54832 (FPE_FLTINV): Likewise.
54833 (FPE_FLTSUB): Likewise.
54834 (SEGV_MAPERR): Likewise.
54835 (SEGV_ACCERR): Likewise.
54836 (BUS_ADRALN): Likewise.
54837 (BUS_ADRERR): Likewise.
54838 (BUS_OBJERR): Likewise.
54839 (BUS_MCEERR_AR): Likewise.
54840 (BUS_MCEERR_AO): Likewise.
54841 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54842 (TRAP_TRACE): Likewise.
54843 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54844 __USE_XOPEN2K8].
54845 (CLD_KILLED): Likewise.
54846 (CLD_DUMPED): Likewise.
54847 (CLD_TRAPPED): Likewise.
54848 (CLD_STOPPED): Likewise.
54849 (CLD_CONTINUED): Likewise.
54850 (POLL_IN): Likewise.
54851 (POLL_OUT): Likewise.
54852 (POLL_MSG): Likewise.
54853 (POLL_ERR): Likewise.
54854 (POLL_PRI): Likewise.
54855 (POLL_HUP): Likewise.
54856 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
54857 (ILL_ILLOPN): Likewise.
54858 (ILL_ILLADR): Likewise.
54859 (ILL_ILLTRP): Likewise.
54860 (ILL_PRVOPC): Likewise.
54861 (ILL_PRVREG): Likewise.
54862 (ILL_COPROC): Likewise.
54863 (ILL_BADSTK): Likewise.
54864 (FPE_INTDIV): Likewise.
54865 (FPE_INTOVF): Likewise.
54866 (FPE_FLTDIV): Likewise.
54867 (FPE_FLTOVF): Likewise.
54868 (FPE_FLTUND): Likewise.
54869 (FPE_FLTRES): Likewise.
54870 (FPE_FLTINV): Likewise.
54871 (FPE_FLTSUB): Likewise.
54872 (SEGV_MAPERR): Likewise.
54873 (SEGV_ACCERR): Likewise.
54874 (BUS_ADRALN): Likewise.
54875 (BUS_ADRERR): Likewise.
54876 (BUS_OBJERR): Likewise.
54877 (BUS_MCEERR_AR): Likewise.
54878 (BUS_MCEERR_AO): Likewise.
54879 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54880 (TRAP_TRACE): Likewise.
54881 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54882 __USE_XOPEN2K8].
54883 (CLD_KILLED): Likewise.
54884 (CLD_DUMPED): Likewise.
54885 (CLD_TRAPPED): Likewise.
54886 (CLD_STOPPED): Likewise.
54887 (CLD_CONTINUED): Likewise.
54888 (POLL_IN): Likewise.
54889 (POLL_OUT): Likewise.
54890 (POLL_MSG): Likewise.
54891 (POLL_ERR): Likewise.
54892 (POLL_PRI): Likewise.
54893 (POLL_HUP): Likewise.
54894 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
54895 (ILL_ILLOPN): Likewise.
54896 (ILL_ILLADR): Likewise.
54897 (ILL_ILLTRP): Likewise.
54898 (ILL_PRVOPC): Likewise.
54899 (ILL_PRVREG): Likewise.
54900 (ILL_COPROC): Likewise.
54901 (ILL_BADSTK): Likewise.
54902 (FPE_INTDIV): Likewise.
54903 (FPE_INTOVF): Likewise.
54904 (FPE_FLTDIV): Likewise.
54905 (FPE_FLTOVF): Likewise.
54906 (FPE_FLTUND): Likewise.
54907 (FPE_FLTRES): Likewise.
54908 (FPE_FLTINV): Likewise.
54909 (FPE_FLTSUB): Likewise.
54910 (SEGV_MAPERR): Likewise.
54911 (SEGV_ACCERR): Likewise.
54912 (BUS_ADRALN): Likewise.
54913 (BUS_ADRERR): Likewise.
54914 (BUS_OBJERR): Likewise.
54915 (BUS_MCEERR_AR): Likewise.
54916 (BUS_MCEERR_AO): Likewise.
54917 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54918 (TRAP_TRACE): Likewise.
54919 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54920 __USE_XOPEN2K8].
54921 (CLD_KILLED): Likewise.
54922 (CLD_DUMPED): Likewise.
54923 (CLD_TRAPPED): Likewise.
54924 (CLD_STOPPED): Likewise.
54925 (CLD_CONTINUED): Likewise.
54926 (POLL_IN): Likewise.
54927 (POLL_OUT): Likewise.
54928 (POLL_MSG): Likewise.
54929 (POLL_ERR): Likewise.
54930 (POLL_PRI): Likewise.
54931 (POLL_HUP): Likewise.
54932 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
54933 (ILL_ILLOPN): Likewise.
54934 (ILL_ILLADR): Likewise.
54935 (ILL_ILLTRP): Likewise.
54936 (ILL_PRVOPC): Likewise.
54937 (ILL_PRVREG): Likewise.
54938 (ILL_COPROC): Likewise.
54939 (ILL_BADSTK): Likewise.
54940 (ILL_DBLFLT): Likewise.
54941 (ILL_HARDWALL): Likewise.
54942 (FPE_INTDIV): Likewise.
54943 (FPE_INTOVF): Likewise.
54944 (FPE_FLTDIV): Likewise.
54945 (FPE_FLTOVF): Likewise.
54946 (FPE_FLTUND): Likewise.
54947 (FPE_FLTRES): Likewise.
54948 (FPE_FLTINV): Likewise.
54949 (FPE_FLTSUB): Likewise.
54950 (SEGV_MAPERR): Likewise.
54951 (SEGV_ACCERR): Likewise.
54952 (BUS_ADRALN): Likewise.
54953 (BUS_ADRERR): Likewise.
54954 (BUS_OBJERR): Likewise.
54955 (BUS_MCEERR_AR): Likewise.
54956 (BUS_MCEERR_AO): Likewise.
54957 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54958 (TRAP_TRACE): Likewise.
54959 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54960 __USE_XOPEN2K8].
54961 (CLD_KILLED): Likewise.
54962 (CLD_DUMPED): Likewise.
54963 (CLD_TRAPPED): Likewise.
54964 (CLD_STOPPED): Likewise.
54965 (CLD_CONTINUED): Likewise.
54966 (POLL_IN): Likewise.
54967 (POLL_OUT): Likewise.
54968 (POLL_MSG): Likewise.
54969 (POLL_ERR): Likewise.
54970 (POLL_PRI): Likewise.
54971 (POLL_HUP): Likewise.
54972 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
54973 (ILL_ILLOPN): Likewise.
54974 (ILL_ILLADR): Likewise.
54975 (ILL_ILLTRP): Likewise.
54976 (ILL_PRVOPC): Likewise.
54977 (ILL_PRVREG): Likewise.
54978 (ILL_COPROC): Likewise.
54979 (ILL_BADSTK): Likewise.
54980 (FPE_INTDIV): Likewise.
54981 (FPE_INTOVF): Likewise.
54982 (FPE_FLTDIV): Likewise.
54983 (FPE_FLTOVF): Likewise.
54984 (FPE_FLTUND): Likewise.
54985 (FPE_FLTRES): Likewise.
54986 (FPE_FLTINV): Likewise.
54987 (FPE_FLTSUB): Likewise.
54988 (SEGV_MAPERR): Likewise.
54989 (SEGV_ACCERR): Likewise.
54990 (BUS_ADRALN): Likewise.
54991 (BUS_ADRERR): Likewise.
54992 (BUS_OBJERR): Likewise.
54993 (BUS_MCEERR_AR): Likewise.
54994 (BUS_MCEERR_AO): Likewise.
54995 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54996 (TRAP_TRACE): Likewise.
54997 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54998 __USE_XOPEN2K8].
54999 (CLD_KILLED): Likewise.
55000 (CLD_DUMPED): Likewise.
55001 (CLD_TRAPPED): Likewise.
55002 (CLD_STOPPED): Likewise.
55003 (CLD_CONTINUED): Likewise.
55004 (POLL_IN): Likewise.
55005 (POLL_OUT): Likewise.
55006 (POLL_MSG): Likewise.
55007 (POLL_ERR): Likewise.
55008 (POLL_PRI): Likewise.
55009 (POLL_HUP): Likewise.
55010 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
55011 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55012
55013 [BZ #16670]
55014 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
55015 before #include of <time.h>.
55016 [!__USE_XOPEN2K] (__need_timespec): Likewise.
55017 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
55018 (test-xfail-UNIX98/sched.h/conform): Likewise.
55019
55020 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
55021
55022 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
55023 error absence of trapping exception support.
55024 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
55025
55026 2014-03-07 Joseph Myers <joseph@codesourcery.com>
55027
55028 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
55029 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
55030 * timezone/Makefile (testdata): Move definition above include of
55031 Rules.
55032 (test-zones): New variable.
55033 (tests-special): Add zone files.
55034 (build-testdata): Use $(evaluate-test).
55035
55036 * elf/Makefile (tests-special): Rename tests to end with .out.
55037 ($(objpfx)noload-mem): Likewise.
55038 ($(objpfx)tst-leaks1-mem): Likewise.
55039 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
55040 * iconv/Makefile (xtests-special): Change test-iconvconfig to
55041 $(objpfx)test-iconvconfig.out.
55042 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
55043 set -e inside subshell and redirect output to file.
55044 * iconvdata/Makefile (generated): Rename tests to end with .out.
55045 Correct type.
55046 (tests-special): Rename tests to end with .out.
55047 ($(objpfx)mtrace-tst-loading): Likewise.
55048 * intl/Makefile (generated): Likewise.
55049 (tests-special): Likewise.
55050 ($(objpfx)mtrace-tst-gettext): Likewise.
55051 * misc/Makefile (generated): Likewise.
55052 (tests-special): Likewise.
55053 ($(objpfx)tst-error1-mem): Likewise.
55054 * nptl/Makefile (tests-special): Likewise.
55055 ($(objpfx)tst-stack3-mem): Likewise.
55056 (generated): Likewise.
55057 * posix/Makefile (generated): Likewise.
55058 (tests-special): Likewise.
55059 (xtests-special): Likewise.
55060 ($(objpfx)tst-fnmatch-mem): Likewise.
55061 ($(objpfx)bug-regex2-mem): Likewise.
55062 ($(objpfx)bug-regex14-mem): Likewise.
55063 ($(objpfx)bug-regex21-mem): Likewise.
55064 ($(objpfx)bug-regex31-mem): Likewise.
55065 ($(objpfx)tst-vfork3-mem): Likewise.
55066 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
55067 ($(objpfx)tst-pcre-mem): Likewise.
55068 ($(objpfx)tst-boost-mem): Likewise.
55069 ($(objpfx)bug-ga2-mem): Likewise.
55070 ($(objpfx)bug-glob2-mem): Likewise.
55071 * resolv/Makefile (generate): Likewise.
55072 (tests-special): Likewise.
55073 (xtests-special): Likewise.
55074 (generated): Likewise.
55075 ($(objpfx)mtrace-tst-leaks): Likewise.
55076 ($(objpfx)mtrace-tst-leaks2): Likewise.
55077
55078 * scripts/merge-test-results.sh: New file.
55079 * Makefile (tests-special-notdir): New variable.
55080 (tests): Run merge-test-results.sh.
55081 (xtests): Likewise.
55082 * Rules (tests-special-notdir): New variable.
55083 (xtests-special-notdir): Likewise.
55084 (tests): Run merge-test-results.sh
55085 (xtests): Likewise.
55086
55087 * Makeconfig (test-xfail-name): New variable.
55088 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
55089 compute variable name for expected failures.
55090 * conform/Makefile (conformtest-headers-data): New variable.
55091 (conformtest-standards): Likewise.
55092 (conformtest-headers-ISO): Likewise.
55093 (conformtest-headers-ISO99): Likewise.
55094 (conformtest-headers-ISO11): Likewise.
55095 (conformtest-headers-POSIX): Likewise.
55096 (conformtest-headers-XPG3): Likewise.
55097 (conformtest-headers-XPG4): Likewise.
55098 (conformtest-headers-UNIX98): Likewise.
55099 (conformtest-headers-XOPEN2K): Likewise.
55100 (conformtest-headers-POSIX2008): Likewise.
55101 (conformtest-headers-XOPEN2K8): Likewise.
55102 (conformtest-header-list-base): Likewise.
55103 (conformtest-header-list-tests): Likewise.
55104 (conformtest-header-base): Likewise.
55105 (conformtest-header-tests): Likewise.
55106 (tests-special): Add $(conformtest-header-list-tests). If
55107 [$(fast-check) && !$(cross-compiling)], add
55108 $(conformtest-header-tests) instead of
55109 $(objpfx)run-conformtest.out.
55110 (generated): Add $(conformtest-header-list-base). If
55111 [$(fast-check) && !$(cross-compiling)], add
55112 $(conformtest-header-base). Remove previous setting.
55113 ($(conformtest-header-list-tests)): New target.
55114 (test-xfail-run-conformtest): Remove variable.
55115 ($(objpfx)run-conformtest.out): Remove target.
55116 (test-xfail-ISO11/complex.h/conform): New variable.
55117 (test-xfail-ISO11/stdalign.h/conform): Likewise.
55118 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
55119 (test-xfail-XPG3/varargs.h/conform): Likewise.
55120 (test-xfail-XPG4/varargs.h/conform): Likewise.
55121 (test-xfail-UNIX98/varargs.h/conform): Likewise.
55122 (test-xfail-XPG4/ndbm.h/conform): Likewise.
55123 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
55124 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
55125 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
55126 (test-xfail-XPG3/fcntl.h/conform): Likewise.
55127 (test-xfail-XPG3/ftw.h/conform): Likewise.
55128 (test-xfail-XPG3/grp.h/conform): Likewise.
55129 (test-xfail-XPG3/langinfo.h/conform): Likewise.
55130 (test-xfail-XPG3/limits.h/conform): Likewise.
55131 (test-xfail-XPG3/pwd.h/conform): Likewise.
55132 (test-xfail-XPG3/search.h/conform): Likewise.
55133 (test-xfail-XPG3/signal.h/conform): Likewise.
55134 (test-xfail-XPG3/stdio.h/conform): Likewise.
55135 (test-xfail-XPG3/stdlib.h/conform): Likewise.
55136 (test-xfail-XPG3/string.h/conform): Likewise.
55137 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
55138 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
55139 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
55140 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
55141 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
55142 (test-xfail-XPG3/sys/types.h/conform): Likewise.
55143 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
55144 (test-xfail-XPG3/termios.h/conform): Likewise.
55145 (test-xfail-XPG3/time.h/conform): Likewise.
55146 (test-xfail-XPG3/unistd.h/conform): Likewise.
55147 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
55148 (test-xfail-XPG4/fcntl.h/conform): Likewise.
55149 (test-xfail-XPG4/langinfo.h/conform): Likewise.
55150 (test-xfail-XPG4/netdb.h/conform): Likewise.
55151 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
55152 (test-xfail-XPG4/signal.h/conform): Likewise.
55153 (test-xfail-XPG4/stdio.h/conform): Likewise.
55154 (test-xfail-XPG4/stdlib.h/conform): Likewise.
55155 (test-xfail-XPG4/stropts.h/conform): Likewise.
55156 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
55157 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
55158 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
55159 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
55160 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
55161 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
55162 (test-xfail-XPG4/sys/time.h/conform): Likewise.
55163 (test-xfail-XPG4/sys/types.h/conform): Likewise.
55164 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
55165 (test-xfail-XPG4/termios.h/conform): Likewise.
55166 (test-xfail-XPG4/ucontext.h/conform): Likewise.
55167 (test-xfail-XPG4/unistd.h/conform): Likewise.
55168 (test-xfail-XPG4/utmpx.h/conform): Likewise.
55169 (test-xfail-POSIX/sched.h/conform): Likewise.
55170 (test-xfail-POSIX/signal.h/conform): Likewise.
55171 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55172 (test-xfail-POSIX/tar.h/conform): Likewise.
55173 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
55174 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
55175 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
55176 (test-xfail-UNIX98/netdb.h/conform): Likewise.
55177 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
55178 (test-xfail-UNIX98/sched.h/conform): Likewise.
55179 (test-xfail-UNIX98/signal.h/conform): Likewise.
55180 (test-xfail-UNIX98/stdio.h/conform): Likewise.
55181 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
55182 (test-xfail-UNIX98/stropts.h/conform): Likewise.
55183 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
55184 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
55185 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
55186 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
55187 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
55188 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
55189 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
55190 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
55191 (test-xfail-UNIX98/unistd.h/conform): Likewise.
55192 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
55193 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
55194 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
55195 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
55196 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
55197 (test-xfail-XOPEN2K/math.h/conform): Likewise.
55198 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
55199 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
55200 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
55201 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
55202 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
55203 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
55204 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
55205 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
55206 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
55207 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
55208 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
55209 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
55210 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
55211 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
55212 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
55213 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
55214 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
55215 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
55216 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
55217 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
55218 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
55219 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
55220 (test-xfail-POSIX2008/signal.h/conform): Likewise.
55221 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
55222 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
55223 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
55224 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
55225 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
55226 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
55227 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
55228 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
55229 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
55230 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
55231 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
55232 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
55233 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
55234 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
55235 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
55236 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
55237 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
55238 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
55239 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
55240 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
55241 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
55242 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
55243 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
55244 (conformtest-cc-flags): Likewise.
55245 ($(conformtest-header-tests): New target.
55246 * conform/check-header-lists.sh: New file.
55247 * conform/run-conformtest.sh: Remove.
55248
55249 * conform/conformtest.pl: Allow ' and \ in values given for
55250 constants.
55251 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
55252 inclusion.
55253 [POSIX] (sys/types.h): Likewise.
55254 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
55255 inclusion.
55256 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
55257 inclusion.
55258 * conform/data/signal.h-data (SIGIO): Remove expectation.
55259 [XPG3] (SIGBUS): Do not expect.
55260 [POSIX || XPG3] (SIGPOLL): Likewise.
55261 [POSIX || XPG3] (SIGPROF): Likewise.
55262 [POSIX || XPG3] (SIGSYS): Likewise.
55263 [XPG3] (SIGTRAP): Likewise.
55264 [POSIX || XPG3] (SIGURG): Likewise.
55265 [POSIX || XPG3] (SIGVTALRM): Likewise.
55266 [POSIX || XPG3] (SIGXCPU): Likewise.
55267 [POSIX || XPG3] (SIGXFSZ): Likewise.
55268 [POSIX] (SA_SIGINFO): Expect.
55269 [XPG3] (siginfo_t): Do not expect type or contents.
55270 [POSIX] (si_pid): Do not expect element.
55271 [POSIX] (si_uid): Likewise.
55272 [POSIX] (si_addr): Likewise.
55273 [POSIX] (si_status): Likewise.
55274 [POSIX] (si_band): Likewise.
55275 [XPG4] (si_value): Likewise.
55276 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
55277 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
55278 [POSIX || XPG3] (ILL_ILLADR): Likewise.
55279 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
55280 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
55281 [POSIX || XPG3] (ILL_PRVREG): Likewise.
55282 [POSIX || XPG3] (ILL_COPROC): Likewise.
55283 [POSIX || XPG3] (ILL_BADSTK): Likewise.
55284 [POSIX || XPG3] (FPE_INTDIV): Likewise.
55285 [POSIX || XPG3] (FPE_INTOVF): Likewise.
55286 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
55287 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
55288 [POSIX || XPG3] (FPE_FLTUND): Likewise.
55289 [POSIX || XPG3] (FPE_FLTRES): Likewise.
55290 [POSIX || XPG3] (FPE_FLTINV): Likewise.
55291 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
55292 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
55293 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
55294 [POSIX || XPG3] (BUS_ADRALN): Likewise.
55295 [POSIX || XPG3] (BUS_ADRERR): Likewise.
55296 [POSIX || XPG3] (BUS_OBJERR): Likewise.
55297 [POSIX || XPG3] (CLD_EXITED): Likewise.
55298 [POSIX || XPG3] (CLD_KILLED): Likewise.
55299 [POSIX || XPG3] (CLD_DUMPED): Likewise.
55300 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
55301 [POSIX || XPG3] (CLD_STOPPED): Likewise.
55302 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
55303 [POSIX || XPG3] (POLL_IN): Likewise.
55304 [POSIX || XPG3] (POLL_OUT): Likewise.
55305 [POSIX || XPG3] (POLL_MSG): Likewise.
55306 [POSIX || XPG3] (POLL_ERR): Likewise.
55307 [POSIX || XPG3] (POLL_PRI): Likewise.
55308 [POSIX || XPG3] (POLL_HUP): Likewise.
55309 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
55310 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
55311 (SIG*): Do not allow.
55312 [XPG3] (si_*): Likewise.
55313 [XPG3] (SI_*): Likewise.
55314 [XPG3 || XPG4] (sigev_*): Likewise.
55315 [XPG3 || XPG4] (SIGEV_*): Likewise.
55316 [XPG3 || XPG4] (sival_*): Likewise.
55317 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
55318 [POSIX || XPG3] (BUS_*): Likewise.
55319 [POSIX || XPG3] (CLD_*): Likewise.
55320 [POSIX || XPG3] (FPE_*): Likewise.
55321 [POSIX || XPG3] (ILL_*): Likewise.
55322 [POSIX || XPG3] (POLL_*): Likewise.
55323 [POSIX || XPG3] (SEGV_*): Likewise.
55324 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
55325 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
55326 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
55327 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
55328 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
55329 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
55330 Specify type and value.
55331 (TVERSLEN): Likewise.
55332 (REGTYPE): Likewise.
55333 (AREGTYPE): Likewise.
55334 (LNKTYPE): Likewise.
55335 (SYMTYPE): Likewise.
55336 (CHRTYPE): Likewise.
55337 (BLKTYPE): Likewise.
55338 (DIRTYPE): Likewise.
55339 (FIFOTYPE): Likewise.
55340 (CONTTYPE): Likewise.
55341 (TSUID): Likewise.
55342 (TSGID): Likewise.
55343 (TSVTX): Likewise.
55344 (TUREAD): Likewise.
55345 (TUWRITE): Likewise.
55346 (TUEXEC): Likewise.
55347 (TGREAD): Likewise.
55348 (TGWRITE): Likewise.
55349 (TGEXEC): Likewise.
55350 (TOREAD): Likewise.
55351 (TOWRITE): Likewise.
55352 (TOEXEC): Likewise.
55353 [POSIX] (TSVTX): Expect constant.
55354
55355 2014-03-06 Joseph Myers <joseph@codesourcery.com>
55356
55357 * Makefile (tests): Change dependencies to ....
55358 (tests-special): ... additions to this variable.
55359 (tests): Depend on $(tests-special).
55360 * Makerules (check-abi-list): New variable.
55361 (check-abi): Depend on $(check-abi-list).
55362 [$(subdir) = elf] (tests-special): Add
55363 $(objpfx)check-abi-libc.out.
55364 [$(build-shared) = yes && subdir] (tests-special): Add
55365 $(check-abi-list).
55366 [$(build-shared) = yes && subdir] (tests): Do not depend on
55367 check-abi.
55368 * Rules (tests): Depend on $(tests-special).
55369 (xtests): Depend on $(xtests-special).
55370 * catgets/Makefile (tests): Change dependencies to ....
55371 (tests-special): ... additions to this variable.
55372 * conform/Makefile (tests): Change dependencies to ....
55373 (tests-special): ... additions to this variable.
55374 * elf/Makefile (tests): Change dependencies to ....
55375 (tests-special): ... additions to this variable.
55376 * grp/Makefile (tests): Change dependencies to ....
55377 (tests-special): ... additions to this variable.
55378 * iconv/Makefile (xtests): Change dependencies to ....
55379 (xtests-special): ... additions to this variable.
55380 * iconvdata/Makefile (tests): Change dependencies to ....
55381 (tests-special): ... additions to this variable.
55382 * intl/Makefile (tests): Change dependencies to ....
55383 (tests-special): ... additions to this variable. Also add
55384 $(objpfx)tst-gettext.out.
55385 * io/Makefile (tests): Change dependencies to ....
55386 (tests-special): ... additions to this variable.
55387 * libio/Makefile (tests): Change dependencies to ....
55388 (tests-special): ... additions to this variable.
55389 * malloc/Makefile (tests): Change dependencies to ....
55390 (tests-special): ... additions to this variable.
55391 * misc/Makefile (tests): Change dependencies to ....
55392 (tests-special): ... additions to this variable.
55393 * nptl/Makefile (tests): Change dependencies to ....
55394 (tests-special): ... additions to this variable.
55395 * nptl_db/Makefile (tests): Change dependencies to ....
55396 (tests-special): ... additions to this variable.
55397 * posix/Makefile (tests): Change dependencies to ....
55398 (tests-special): ... additions to this variable.
55399 (xtests): Change dependencies to ....
55400 (xtests-special): ... additions to this variable.
55401 * resolv/Makefile (tests): Change dependencies to ....
55402 (tests-special): ... additions to this variable.
55403 (xtests): Change dependencies to ....
55404 (xtests-special): ... additions to this variable.
55405 * stdio-common/Makefile (tests): Change dependencies to ....
55406 (tests-special): ... additions to this variable.
55407 (do-tst-unbputc): Remove target.
55408 (do-tst-printf): Likewise.
55409 * stdlib/Makefile (tests): Change dependencies to ....
55410 (tests-special): ... additions to this variable.
55411 * string/Makefile (tests): Change dependencies to ....
55412 (tests-special): ... additions to this variable.
55413 * sysdeps/x86/Makefile (tests): Change dependencies to ....
55414 (tests-special): ... additions to this variable.
55415
55416 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
55417 whole file.
55418 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
55419 whole file.
55420 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
55421 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
55422
55423 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
55424 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
55425 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
55426 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
55427 * conform/data/libgen.h-data [XPG3]: Likewise.
55428 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
55429 * conform/data/ndbm.h-data [XPG3]: Likewise.
55430 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55431 * conform/data/netdb.h-data [XPG3]: Likewise.
55432 * conform/data/netinet/in.h-data [XPG3]: Likewise.
55433 * conform/data/poll.h-data [XPG3]: Likewise.
55434 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55435 * conform/data/strings.h-data [XPG3]: Likewise.
55436 * conform/data/stropts.h-data [XPG3]: Likewise.
55437 * conform/data/sys/mman.h-data [XPG3]: Likewise.
55438 * conform/data/sys/resource.h-data [XPG3]: Likewise.
55439 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
55440 Likewise.
55441 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
55442 * conform/data/sys/time.h-data [XPG3]: Likewise.
55443 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
55444 * conform/data/sys/uio.h-data [XPG3]: Likewise.
55445 * conform/data/sys/un.h-data [XPG3]: Likewise.
55446 * conform/data/syslog.h-data [XPG3]: Likewise.
55447 * conform/data/ucontext.h-data [XPG3]: Likewise.
55448 * conform/data/utmpx.h-data [XPG3]: Likewise.
55449 * conform/data/varargs.h-data [UNIX98]: Enable file.
55450
55451 * manual/Makefile (INSTALL_INFO): Remove variable setting.
55452
55453 * math/libm-test.inc (struct test_f_f_data): Move expected results
55454 into structure for each rounding mode.
55455 (struct test_ff_f_data): Likewise.
55456 (struct test_ff_f_data_nexttoward): Likewise.
55457 (struct test_fi_f_data): Likewise.
55458 (struct test_fl_f_data): Likewise.
55459 (struct test_if_f_data): Likewise.
55460 (struct test_fff_f_data): Likewise.
55461 (struct test_c_f_data): Likewise.
55462 (struct test_f_f1_data): Likewise.
55463 (struct test_fF_f1_data): Likewise.
55464 (struct test_ffI_f1_data): Likewise.
55465 (struct test_c_c_data): Likewise.
55466 (struct test_cc_c_data): Likewise.
55467 (struct test_f_i_data): Likewise.
55468 (struct test_ff_i_data): Likewise.
55469 (struct test_f_l_data): Likewise.
55470 (struct test_f_L_data): Likewise.
55471 (struct test_fFF_11_data): Likewise.
55472 (RM_): New macro.
55473 (RM_FE_DOWNWARD): Likewise.
55474 (RM_FE_TONEAREST): Likewise.
55475 (RM_FE_TOWARDZERO): Likewise.
55476 (RM_FE_UPWARD): Likewise.
55477 (RUN_TEST_LOOP_f_f): Update references to expected results.
55478 (RUN_TEST_LOOP_2_f): Likewise.
55479 (RUN_TEST_LOOP_fff_f): Likewise.
55480 (RUN_TEST_LOOP_c_f): Likewise.
55481 (RUN_TEST_LOOP_f_f1): Likewise.
55482 (RUN_TEST_LOOP_fF_f1): Likewise.
55483 (RUN_TEST_LOOP_fI_f1): Likewise.
55484 (RUN_TEST_LOOP_ffI_f1): Likewise.
55485 (RUN_TEST_LOOP_c_c): Likewise.
55486 (RUN_TEST_LOOP_cc_c): Likewise.
55487 (RUN_TEST_LOOP_f_i): Likewise.
55488 (RUN_TEST_LOOP_f_i_tg): Likewise.
55489 (RUN_TEST_LOOP_ff_i_tg): Likewise.
55490 (RUN_TEST_LOOP_f_b): Likewise.
55491 (RUN_TEST_LOOP_f_b_tg): Likewise.
55492 (RUN_TEST_LOOP_f_l): Likewise.
55493 (RUN_TEST_LOOP_f_L): Likewise.
55494 (RUN_TEST_LOOP_fFF_11): Likewise.
55495 * math/gen-libm-test.pl (parse_args): Output four copies of
55496 expected results for each test.
55497
55498 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55499 (__ASSUME_UTIMES): Remove.
55500 * sysdeps/unix/sysv/linux/tile/kernel-features.h
55501 (__ASSUME_UTIMES): Likewise.
55502
55503 * math/gen-auto-libm-tests.c: Update comment on output format.
55504 (output_for_one_input_case): Generate before-rounding and
55505 after-rounding information as conditions on output flags not
55506 floating-point format.
55507 * math/auto-libm-test-out: Regenerated.
55508 * math/gen-libm-test.pl (cond_value): New function.
55509 (or_cond_value): Use cond_value.
55510 (generate_testfile): Handle conditional exceptions.
55511
55512 2014-03-05 Joseph Myers <joseph@codesourcery.com>
55513
55514 * math/libm-test.inc (max_valid_error): New variable.
55515 (init_max_error): Take new argument specifying whether function
55516 results are exactly determined. Set max_valid_error and bound
55517 other variables for errors based on this argument.
55518 (set_max_error): Do not record results above max_valid_error.
55519 (check_float_internal): Only accept errors of up to 0.5ulps if
55520 also at most max_valid_error.
55521 (START): Take new argument EXACT and pass it to init_max_error.
55522 (acos_test): Update call to START.
55523 (acos_test_tonearest): Likewise.
55524 (acos_test_towardzero): Likewise.
55525 (acos_test_downward): Likewise.
55526 (acos_test_upward): Likewise.
55527 (acosh_test): Likewise.
55528 (asin_test): Likewise.
55529 (asin_test_tonearest): Likewise.
55530 (asin_test_towardzero): Likewise.
55531 (asin_test_downward): Likewise.
55532 (asin_test_upward): Likewise.
55533 (asinh_test): Likewise.
55534 (atan_test): Likewise.
55535 (atanh_test): Likewise.
55536 (atan2_test): Likewise.
55537 (cabs_test): Likewise.
55538 (cacos_test): Likewise.
55539 (cacosh_test): Likewise.
55540 (carg_test): Likewise.
55541 (casin_test): Likewise.
55542 (casinh_test): Likewise.
55543 (catan_test): Likewise.
55544 (catanh_test): Likewise.
55545 (cbrt_test): Likewise.
55546 (ccos_test): Likewise.
55547 (ccosh_test): Likewise.
55548 (ceil_test): Likewise.
55549 (cexp_test): Likewise.
55550 (cimag_test): Likewise.
55551 (clog_test): Likewise.
55552 (clog10_test): Likewise.
55553 (conj_test): Likewise.
55554 (copysign_test): Likewise.
55555 (cos_test): Likewise.
55556 (cos_test_tonearest): Likewise.
55557 (cos_test_towardzero): Likewise.
55558 (cos_test_downward): Likewise.
55559 (cos_test_upward): Likewise.
55560 (cosh_test): Likewise.
55561 (cosh_test_tonearest): Likewise.
55562 (cosh_test_towardzero): Likewise.
55563 (cosh_test_downward): Likewise.
55564 (cosh_test_upward): Likewise.
55565 (cpow_test): Likewise.
55566 (cproj_test): Likewise.
55567 (creal_test): Likewise.
55568 (csin_test): Likewise.
55569 (csinh_test): Likewise.
55570 (csqrt_test): Likewise.
55571 (ctan_test): Likewise.
55572 (ctan_test_tonearest): Likewise.
55573 (ctan_test_towardzero): Likewise.
55574 (ctan_test_downward): Likewise.
55575 (ctan_test_upward): Likewise.
55576 (ctanh_test): Likewise.
55577 (ctanh_test_tonearest): Likewise.
55578 (ctanh_test_towardzero): Likewise.
55579 (ctanh_test_downward): Likewise.
55580 (ctanh_test_upward): Likewise.
55581 (erf_test): Likewise.
55582 (erfc_test): Likewise.
55583 (exp_test): Likewise.
55584 (exp_test_tonearest): Likewise.
55585 (exp_test_towardzero): Likewise.
55586 (exp_test_downward): Likewise.
55587 (exp_test_upward): Likewise.
55588 (exp10_test): Likewise.
55589 (exp10_test_tonearest): Likewise.
55590 (exp10_test_towardzero): Likewise.
55591 (exp10_test_downward): Likewise.
55592 (exp10_test_upward): Likewise.
55593 (pow10_test): Likewise.
55594 (exp2_test): Likewise.
55595 (expm1_test): Likewise.
55596 (expm1_test_tonearest): Likewise.
55597 (expm1_test_towardzero): Likewise.
55598 (expm1_test_downward): Likewise.
55599 (expm1_test_upward): Likewise.
55600 (fabs_test): Likewise.
55601 (fdim_test): Likewise.
55602 (floor_test): Likewise.
55603 (fma_test): Likewise.
55604 (fma_test_towardzero): Likewise.
55605 (fma_test_downward): Likewise.
55606 (fma_test_upward): Likewise.
55607 (fmax_test): Likewise.
55608 (fmin_test): Likewise.
55609 (fmod_test): Likewise.
55610 (fpclassify_test): Likewise.
55611 (frexp_test): Likewise.
55612 (hypot_test): Likewise.
55613 (ilogb_test): Likewise.
55614 (isfinite_test): Likewise.
55615 (finite_test): Likewise.
55616 (isgreater_test): Likewise.
55617 (isgreaterequal_test): Likewise.
55618 (isinf_test): Likewise.
55619 (isless_test): Likewise.
55620 (islessequal_test): Likewise.
55621 (islessgreater_test): Likewise.
55622 (isnan_test): Likewise.
55623 (isnormal_test): Likewise.
55624 (issignaling_test): Likewise.
55625 (isunordered_test): Likewise.
55626 (j0_test): Likewise.
55627 (j1_test): Likewise.
55628 (jn_test): Likewise.
55629 (ldexp_test): Likewise.
55630 (lgamma_test): Likewise.
55631 (gamma_test): Likewise.
55632 (lrint_test): Likewise.
55633 (lrint_test_tonearest): Likewise.
55634 (lrint_test_towardzero): Likewise.
55635 (lrint_test_downward): Likewise.
55636 (lrint_test_upward): Likewise.
55637 (llrint_test): Likewise.
55638 (llrint_test_tonearest): Likewise.
55639 (llrint_test_towardzero): Likewise.
55640 (llrint_test_downward): Likewise.
55641 (llrint_test_upward): Likewise.
55642 (log_test): Likewise.
55643 (log10_test): Likewise.
55644 (log1p_test): Likewise.
55645 (log2_test): Likewise.
55646 (logb_test): Likewise.
55647 (logb_test_downward): Likewise.
55648 (lround_test): Likewise.
55649 (llround_test): Likewise.
55650 (modf_test): Likewise.
55651 (nearbyint_test): Likewise.
55652 (nextafter_test): Likewise.
55653 (nexttoward_test): Likewise.
55654 (pow_test): Likewise.
55655 (pow_test_tonearest): Likewise.
55656 (pow_test_towardzero): Likewise.
55657 (pow_test_downward): Likewise.
55658 (pow_test_upward): Likewise.
55659 (remainder_test): Likewise.
55660 (drem_test): Likewise.
55661 (remainder_test_tonearest): Likewise.
55662 (drem_test_tonearest): Likewise.
55663 (remainder_test_towardzero): Likewise.
55664 (drem_test_towardzero): Likewise.
55665 (remainder_test_downward): Likewise.
55666 (drem_test_downward): Likewise.
55667 (remainder_test_upward): Likewise.
55668 (drem_test_upward): Likewise.
55669 (remquo_test): Likewise.
55670 (rint_test): Likewise.
55671 (rint_test_tonearest): Likewise.
55672 (rint_test_towardzero): Likewise.
55673 (rint_test_downward): Likewise.
55674 (rint_test_upward): Likewise.
55675 (round_test): Likewise.
55676 (scalb_test): Likewise.
55677 (scalbn_test): Likewise.
55678 (scalbln_test): Likewise.
55679 (signbit_test): Likewise.
55680 (sin_test): Likewise.
55681 (sin_test_tonearest): Likewise.
55682 (sin_test_towardzero): Likewise.
55683 (sin_test_downward): Likewise.
55684 (sin_test_upward): Likewise.
55685 (sincos_test): Likewise.
55686 (sinh_test): Likewise.
55687 (sinh_test_tonearest): Likewise.
55688 (sinh_test_towardzero): Likewise.
55689 (sinh_test_downward): Likewise.
55690 (sinh_test_upward): Likewise.
55691 (sqrt_test): Likewise.
55692 (sqrt_test_tonearest): Likewise.
55693 (sqrt_test_towardzero): Likewise.
55694 (sqrt_test_downward): Likewise.
55695 (sqrt_test_upward): Likewise.
55696 (tan_test): Likewise.
55697 (tan_test_tonearest): Likewise.
55698 (tan_test_towardzero): Likewise.
55699 (tan_test_downward): Likewise.
55700 (tan_test_upward): Likewise.
55701 (tanh_test): Likewise.
55702 (tgamma_test): Likewise.
55703 (trunc_test): Likewise.
55704 (y0_test): Likewise.
55705 (y1_test): Likewise.
55706 (yn_test): Likewise.
55707 (significand_test): Likewise.
55708
55709 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
55710 individual tests in comment.
55711 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
55712 (prev_max_error): New variable.
55713 (prev_real_max_error): Likewise.
55714 (prev_imag_max_error): Likewise.
55715 (compare_ulp_data): Don't refer to test names in comment.
55716 (find_test_ulps): Remove function.
55717 (find_function_ulps): Likewise.
55718 (find_complex_function_ulps): Likewise.
55719 (init_max_error): Take function name as argument. Look up ulps
55720 for that function.
55721 (print_ulps): Remove function.
55722 (print_max_error): Use prev_max_error instead of calling
55723 find_function_ulps.
55724 (print_complex_max_error): Use prev_real_max_error and
55725 prev_imag_max_error instead of calling find_complex_function_ulps.
55726 (check_float_internal): Take max_ulp parameter instead of calling
55727 find_test_ulps. Don't call print_ulps.
55728 (check_float): Update call to check_float_internal.
55729 (check_complex): Update calls to check_float_internal.
55730 (START): Pass argument to init_max_error.
55731 * math/gen-libm-test.pl (%results): Don't include "kind"
55732 information.
55733 (parse_ulps): Don't handle ulps of individual tests.
55734 (print_ulps_file): Likewise.
55735 (output_ulps): Likewise.
55736 * math/README.libm-test: Update.
55737 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
55738 individual tests.
55739 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
55740 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
55741 * sysdeps/arm/libm-test-ulps: Likewise.
55742 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
55743 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
55744 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
55745 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
55746 * sysdeps/microblaze/libm-test-ulps: Likewise.
55747 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
55748 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
55749 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55750 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
55751 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55752 * sysdeps/sh/libm-test-ulps: Likewise.
55753 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55754 * sysdeps/tile/libm-test-ulps: Likewise.
55755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55756
55757 2014-03-04 Joseph Myers <joseph@codesourcery.com>
55758
55759 * math/libm-test.inc (print_complex_max_error): Check separately
55760 whether real and imaginary errors are within allowed range and
55761 pass 0 to print_complex_function_ulps instead of value within
55762 allowed range.
55763
55764 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
55765
55766 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
55767 formatting.
55768 (get_handles_fopen): Likewise.
55769 (do_write_test): Likewise.
55770
55771 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
55772
55773 * libio/fileops.c (do_ftell): Use cached offset when
55774 available.
55775 * libio/iofwide.c (do_ftell_wide): Likewise.
55776 * libio/iofdopen.c (_IO_new_fdopen): Don't use
55777 _IO_file_attach.
55778 * libio/wfileops.c (_IO_fwide): Don't cache offset.
55779
55780 [BZ #16532]
55781 * libio/libioP.h (get_file_offset): New function.
55782 * libio/fileops.c (get_file_offset): Likewise.
55783 (do_ftell): Likewise.
55784 (_IO_new_file_seekoff): Split out ftell logic.
55785 * libio/wfileops.c (do_ftell_wide): Likewise.
55786 (_IO_wfile_seekoff): Split out ftell logic.
55787 * libio/tst-ftell-active-handler.c: New test case.
55788 * libio/Makefile (tests): Add it.
55789
55790 2014-03-03 Roland McGrath <roland@hack.frob.com>
55791
55792 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
55793 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
55794
55795 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
55796
55797 [BZ #16639]
55798 * nscd/connections.c (nscd_init): Call do_exit.
55799 (start_threads): Call do_exit and notify_parent.
55800 (begin_drop_privileges): Call do_exit.
55801 (finish_drop_privileges): Likewise.
55802 * nscd/selinux.c (preserve_capabilities): Likewise.
55803 (install_real_capabilities): Likewise.
55804 (nscd_selinux_enabled): Likewise.
55805 (avc_create_thread): Likewise.
55806 (avc_alloc_lock): Likewise.
55807 (nscd_avc_init): Likewise.
55808 * nscd/nscd.c (parent_fd): New static variable.
55809 (main): Create a pipe between parent and child processes.
55810 Skip closing parent_fd.
55811 (monitor_child): New function.
55812 (do_exit): Likewise.
55813 (notify_parent): Likewise.
55814 * nscd/nscd.h (notify_parent): Likewise.
55815 (do_exit): Likewise.
55816
55817 2014-03-03 Carlos O'Donell <carlos@redhat.com>
55818
55819 * malloc/malloc.c (__libc_calloc): Revert last change.
55820
55821 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55822
55823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55824
55825 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
55826
55827 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
55828 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
55829 implementation.
55830 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55831 (__libc_ifunc_impl_list): Likewise.
55832 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
55833 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
55834 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
55835 * string/strrchr.c: Define STRRCHR.
55836
55837 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
55838
55839 * benchtest/bench-strtok.c (simple_strtok): Delete.
55840 (strtok_string): Use as benchmark.
55841 * string/strtok (STRTOK): New macro.
55842
55843 2014-02-28 Carlos O'Donell <carlos@redhat.com>
55844
55845 * manual/threads.texi: Add header and standard comments to all
55846 functions.
55847
55848 * elf/dl-lookup.c (check_match): New function.
55849 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
55850 (do_lookup_x): Remove nested function check_match. Use non-nested
55851 function check_match.
55852
55853 2014-02-28 Roland McGrath <roland@hack.frob.com>
55854
55855 * csu/Makefile (generated, before-compile): Use += rather than =.
55856 * catgets/Makefile (generated, generated-dirs): Likewise.
55857 * debug/Makefile (generated): Likewise.
55858 * dlfcn/Makefile (generated): Likewise.
55859 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
55860 * iconvdata/Makefile (before-compile, generated): Likewise.
55861 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
55862 * libio/Makefile (generated): Likewise.
55863 * malloc/Makefile (generated): Likewise.
55864 * manual/Makefile (generated, generated-dirs): Likewise.
55865 * misc/Makefile (generated): Likewise.
55866 * posix/Makefile (generated): Likewise.
55867 * resolv/Makefile (generated): Likewise.
55868 * sunrpc/Makefile (generated, generated-dirs): Likewise.
55869 * timezone/Makefile (generated, generated-dirs): Likewise.
55870
55871 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
55872
55873 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55874
55875 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
55876 power8 implementation.
55877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
55878 file: POWER8 llround ifunc implementation.
55879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
55880 (__lllround): Add POWER8 implementation.
55881 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
55882 POWER8 llround implementation.
55883
55884 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
55885 power8 implementation.
55886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
55887 file: POWER8 llrint ifunc implementation.
55888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
55889 Add POWER8 implementation.
55890 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
55891 POWER8 llrint implementation.
55892
55893 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
55894 power8 implementation.
55895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
55896 file: POWER8 finite ifunc implementation.
55897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
55898 Add POWER8 implementation.
55899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
55900 Likewise.
55901 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
55902 POWER8 finite implementation.
55903 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
55904
55905 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
55906 power8 implementation.
55907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
55908 file: POWER8 isinf ifunc implementation.
55909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
55910 POWER8 implementation.
55911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
55912 Likewise.
55913 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
55914 isinf implementation.
55915 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
55916
55917 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
55918 (INIT_ARCH): Add hwcap2 initialization.
55919 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
55920 power8 implementation.
55921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
55922 file: POWER8 isnan ifunc implementation.
55923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
55924 POWER8 implementation.
55925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
55926 Likewise.
55927 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
55928 isnan implementation.
55929 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
55930
55931 2014-02-27 Joey Ye <joey.ye@arm.com>
55932
55933 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
55934 (_FP_NANFRAC_Q): Set to zero.
55935
55936 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
55937
55938 [BZ #16623]
55939 * math/auto-libm-test-in: New test inputs.
55940 * math/auto-libm-test-out: Regenerate.
55941 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
55942 and DA.
55943 (__cos): Likewise.
55944 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
55945
55946 2014-02-27 Joseph Myers <joseph@codesourcery.com>
55947
55948 * scripts/evaluate-test.sh: Take new argument indicating whether
55949 failure is expected.
55950 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
55951 indicating whether failure is expected.
55952 * conform/Makefile (test-xfail-run-conformtest): New variable.
55953 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
55954 level.
55955 * posix/Makefile (test-xfail-annexc): New variable.
55956 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
55957
55958 2014-02-26 Joseph Myers <joseph@codesourcery.com>
55959
55960 * argp/Makefile: Include Makeconfig immediately after defining
55961 subdir.
55962 * assert/Makefile: Likewise.
55963 * benchtests/Makefile: Likewise.
55964 * catgets/Makefile: Likewise.
55965 * conform/Makefile: Likewise.
55966 * crypt/Makefile: Likewise.
55967 * csu/Makefile: Likewise.
55968 (all): Remove target.
55969 * ctype/Makefile: Include Makeconfig immediately after defining
55970 subdir.
55971 * debug/Makefile: Likewise.
55972 * dirent/Makefile: Likewise.
55973 * dlfcn/Makefile: Likewise.
55974 * gmon/Makefile: Likewise.
55975 * gnulib/Makefile: Likewise.
55976 * grp/Makefile: Likewise.
55977 * gshadow/Makefile: Likewise.
55978 * hesiod/Makefile: Likewise.
55979 * hurd/Makefile: Likewise.
55980 (all): Remove target.
55981 * iconvdata/Makefile: Include Makeconfig immediately after
55982 defining subdir.
55983 * inet/Makefile: Likewise.
55984 * intl/Makefile: Likewise.
55985 * io/Makefile: Likewise.
55986 * libio/Makefile: Likewise.
55987 (all): Remove target.
55988 * locale/Makefile: Include Makeconfig immediately after defining
55989 subdir.
55990 * login/Makefile: Likewise.
55991 * mach/Makefile: Likewise.
55992 (all): Remove target.
55993 * malloc/Makefile: Include Makeconfig immediately after defining
55994 subdir.
55995 (all): Remove target.
55996 * manual/Makefile: Include Makeconfig immediately after defining
55997 subdir.
55998 * math/Makefile: Likewise.
55999 * misc/Makefile: Likewise.
56000 * nis/Makefile: Likewise.
56001 * nss/Makefile: Likewise.
56002 * po/Makefile: Likewise.
56003 (all): Remove target.
56004 * posix/Makefile: Include Makeconfig immediately after defining
56005 subdir.
56006 * pwd/Makefile: Likewise.
56007 * resolv/Makefile: Likewise.
56008 * resource/Makefile: Likewise.
56009 * rt/Makefile: Likewise.
56010 * setjmp/Makefile: Likewise.
56011 * shadow/Makefile: Likewise.
56012 * signal/Makefile: Likewise.
56013 * socket/Makefile: Likewise.
56014 * soft-fp/Makefile: Likewise.
56015 * stdio-common/Makefile: Likewise.
56016 * stdlib/Makefile: Likewise.
56017 * streams/Makefile: Likewise.
56018 * string/Makefile: Likewise.
56019 * sunrpc/Makefile: Likewise.
56020 (all): Remove target.
56021 * sysvipc/Makefile: Include Makeconfig immediately after defining
56022 subdir.
56023 * termios/Makefile: Likewise.
56024 * time/Makefile: Likewise.
56025 * timezone/Makefile: Likewise.
56026 (all): Remove target.
56027 * wcsmbs/Makefile: Include Makeconfig immediately after defining
56028 subdir.
56029 * wctype/Makefile: Likewise.
56030
56031 2014-02-26 Steve Ellcey <sellcey@mips.com>
56032
56033 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
56034 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
56035 (libc_feholdexcept_setround_mips): Ditto.
56036 (libc_feholdsetround): New.
56037 (libc_feholdsetroundf): New.
56038 (libc_feholdsetroundl): New.
56039 (libc_feupdateenv_test_mips): New.
56040 (libc_feupdateenv_test): New.
56041 (libc_feupdateenv_testf): New.
56042 (libc_feupdateenv_testl): New.
56043 (libc_feresetround): New.
56044 (libc_feresetroundf): New.
56045 (libc_feresetroundl): New.
56046 (libc_fetestexcept_mips): New.
56047 (libc_fetestexcept): New.
56048 (libc_fetestexceptf): New.
56049 (libc_fetestexceptl): New.
56050 (HAVE_RM_CTX): New.
56051 (libc_feholdexcept_setround_mips_ctx): New.
56052 (libc_feholdexcept_setround_ctx): New.
56053 (libc_feholdexcept_setroundf_ctx): New.
56054 (libc_feholdexcept_setroundl_ctx): New.
56055 (libc_fesetenv_mips_ctx): New.
56056 (libc_fesetenv_ctx): New.
56057 (libc_fesetenv_ctxf): New.
56058 (libc_fesetenv_ctxl): New.
56059 (libc_feupdateenv_mips_ctx): New.
56060 (libc_feupdateenv_ctx): New.
56061 (libc_feupdateenvf_ctx): New.
56062 (libc_feupdateenvl_ctx): New.
56063 (libc_feholdsetround_mips_ctx): New.
56064 (libc_feholdsetround_ctx): New.
56065 (libc_feholdsetroundf_ctx): New.
56066 (libc_feholdsetroundl_ctx): New.
56067 (libc_feresetround_mips_ctx): New.
56068 (libc_feresetround_ctx): New.
56069 (libc_feresetroundf_ctx): New.
56070 (libc_feresetroundl_ctx): New.
56071
56072 2014-02-26 Carlos O'Donell <carlos@redhat.com>
56073
56074 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
56075
56076 * manual/ipc.texi: New file.
56077 * manual/Makefile (chapters): Add ipc.
56078 * manual/job.texi: Add "Inter-Process Communication" to next.
56079 * manual/process.texi: Add "Inter-Process Communication" to prev.
56080
56081 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56082
56083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56084
56085 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
56086
56087 * malloc/malloc.c (__libc_calloc): Simplify implementation.
56088
56089 * manual/arith.texi: Fix spaces after sentences.
56090 * manual/charset.texi: Likewise.
56091 * manual/errno.texi: Likewise.
56092 * manual/install.texi: Likewise.
56093 * manual/llio.texi: Likewise.
56094 * manual/locale.texi: Likewise.
56095 * manual/maint.texi: Likewise.
56096 * manual/math.texi: Likewise.
56097 * manual/memory.texi: Likewise.
56098 * manual/message.texi: Likewise.
56099 * manual/probes.texi: Likewise.
56100 * manual/resource.texi: Likewise.
56101 * manual/signal.texi: Likewise.
56102 * manual/socket.texi: Likewise.
56103 * manual/stdio.texi: Likewise.
56104 * manual/string.texi: Likewise.
56105 * manual/time.texi: Likewise.
56106 * manual/users.texi: Likewise.
56107
56108 2014-02-25 Carlos O'Donell <carlos@redhat.com>
56109
56110 [BZ #16632]
56111 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
56112 _DEFAULT_SOURCE is defined.
56113
56114 2014-02-25 Ulrich Drepper <drepper@gmail.com>
56115 Carlos O'Donell <carlos@redhat.com>
56116
56117 [BZ #16613]
56118 * elf/dl-tls.c (_dl_count_modids): New function.
56119 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
56120 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
56121 audit library and increment generation counter.
56122 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
56123 * elf/tst-audit9.c: New file.
56124 * elf/tst-auditmod9a.c: New file.
56125 * elf/tst-auditmod9b.c: New file.
56126 * elf/Makefile: Add rules to build and run tst-audit9.
56127
56128 2014-02-25 Florian Weimer <fweimer@redhat.com>
56129
56130 [BZ #15347]
56131 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
56132
56133 2014-02-25 Will Newton <will.newton@linaro.org>
56134
56135 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
56136 (__longjmp): Restore sp and lr before restoring callee
56137 saved registers. Add longjmp and longjmp_target
56138 SystemTap probe point.
56139 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
56140 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
56141 Define to zero to match jmpbuf layout.
56142 * sysdeps/arm/setjmp.S: Include stap-probe.h.
56143 (__sigsetjmp): Save sp and lr before saving callee
56144 saved registers. Add setjmp SystemTap probe point.
56145
56146 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
56147
56148 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
56149
56150 2014-02-24 Andreas Schwab <schwab@suse.de>
56151
56152 [BZ #15804]
56153 * elf/pldd.c (wait_for_ptrace_stop): New function.
56154 (main): Call it after attaching.
56155
56156 2014-02-22 Roland McGrath <roland@hack.frob.com>
56157
56158 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
56159 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
56160 Versions files is now verboten.
56161 * hurd/Versions (libc: GLIBC_2.0):
56162 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
56163 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
56164 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
56165 * mach/Versions: Likewise.
56166
56167 * csu/Versions: Remove unused %include.
56168 * resolv/Versions: Likewise.
56169
56170 2014-02-21 Joseph Myers <joseph@codesourcery.com>
56171
56172 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
56173 ($(objpfx)check-local-headers.out): Likewise.
56174 ($(objpfx)begin-end-check.out): Likewise.
56175 * Makerules (check-abi-%.out): Likewise.
56176 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
56177 ($(objpfx)test2.cat): Likewise.
56178 ($(objpfx)de/libc.cat): Likewise.
56179 ($(objpfx)test-gencat.out): Likewise.
56180 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
56181 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
56182 ($(objpfx)noload-mem): Likewise.
56183 ($(objpfx)tst-pathopt.out): Likewise.
56184 ($(objpfx)tst-rtld-load-self.out): Likewise.
56185 ($(objpfx)tst-array1-cmp.out): Likewise.
56186 ($(objpfx)tst-array1-static-cmp.out): Likewise.
56187 ($(objpfx)tst-array2-cmp.out): Likewise.
56188 ($(objpfx)tst-array3-cmp.out): Likewise.
56189 ($(objpfx)tst-array4-cmp.out): Likewise.
56190 ($(objpfx)tst-array5-cmp.out): Likewise.
56191 ($(objpfx)tst-array5-static-cmp.out): Likewise.
56192 ($(objpfx)check-textrel.out): Likewise.
56193 ($(objpfx)check-execstack.out): Likewise.
56194 ($(objpfx)check-localplt.out): Likewise.
56195 ($(objpfx)order2-cmp.out): Likewise.
56196 ($(objpfx)tst-leaks1-mem): Likewise.
56197 ($(objpfx)tst-leaks1-static-mem): Likewise.
56198 ($(objpfx)tst-initorder-cmp.out): Likewise.
56199 ($(objpfx)tst-initorder2-cmp.out): Likewise.
56200 ($(objpfx)tst-unused-dep.out): Likewise.
56201 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
56202 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
56203 * iconv/Makefile (test-iconvconfig): Likewise.
56204 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
56205 ($(objpfx)iconv-test.out): Likewise.
56206 ($(objpfx)tst-tables.out): Likewise.
56207 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
56208 ($(objpfx)tst-gettext.out): Likewise.
56209 ($(objpfx)tst-translit.out): Likewise.
56210 ($(objpfx)tst-gettext2.out): Likewise.
56211 ($(objpfx)tst-gettext4.out): Likewise.
56212 ($(objpfx)tst-gettext6.out): Likewise.
56213 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
56214 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
56215 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
56216 ($(objpfx)tst-fopenloc-mem.out): Likewise.
56217 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
56218 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
56219 * posix/Makefile ($(objpfx)globtest.out): Likewise.
56220 ($(objpfx)wordexp-tst.out): Likewise.
56221 ($(objpfx)annexc.out): Likewise.
56222 ($(objpfx)tst-fnmatch-mem): Likewise.
56223 ($(objpfx)bug-regex2-mem): Likewise.
56224 ($(objpfx)bug-regex14-mem): Likewise.
56225 ($(objpfx)bug-regex21-mem): Likewise.
56226 ($(objpfx)bug-regex31-mem): Likewise.
56227 ($(objpfx)tst-vfork3-mem): Likewise.
56228 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
56229 ($(objpfx)tst-pcre-mem): Likewise.
56230 ($(objpfx)tst-boost-mem): Likewise.
56231 ($(objpfx)tst-getconf.out): Likewise.
56232 ($(objpfx)bug-ga2-mem): Likewise.
56233 ($(objpfx)bug-glob2-mem): Likewise.
56234 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
56235 ($(objpfx)mtrace-tst-leaks2): Likewise.
56236 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
56237 ($(objpfx)tst-printf.out): Likewise.
56238 ($(objpfx)tst-setvbuf1.out): Likewise.
56239 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
56240 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
56241 ($(objpfx)tst-fmtmsg.out): Likewise.
56242 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
56243 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
56244
56245 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
56246 * bits/sigaction.h [__USE_MISC]: Likewise.
56247 * bits/waitstatus.h: Update #endif comments.
56248 * ctype/ctype.h: Likewise.
56249 * dirent/dirent.h: Likewise.
56250 [__USE_MISC]: Remove redundant conditionals.
56251 * grp/grp.h: Update #endif comments.
56252 [__USE_GNU]: Remove redundant conditionals.
56253 [__USE_MISC]: Likewise.
56254 * inet/netinet/in.h [__USE_GNU]: Likewise.
56255 * io/sys/stat.h [__USE_MISC]: Likewise.
56256 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
56257 * libio/bits/stdio.h: Update #endif comments.
56258 [__USE_MISC]: Remove redundant conditionals.
56259 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
56260 * libio/stdio.h: Update #endif comments.
56261 [__USE_MISC]: Remove redundant conditionals.
56262 * math/bits/math-finite.h [__USE_MISC]: Likewise.
56263 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
56264 * math/math.h: Update #else and #endif comments.
56265 [__USE_MISC]: Remove redundant conditionals.
56266 * misc/sys/uio.h: Update #endif comments.
56267 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
56268 * posix/glob.h [__USE_MISC]: Likewise.
56269 * posix/sys/types.h: Update #endif comments.
56270 [__USE_MISC]: Remove redundant conditionals.
56271 * posix/sys/wait.h: Update #endif comments.
56272 [__USE_MISC]: Remove redundant conditionals.
56273 * posix/unistd.h: Update #endif comments.
56274 [__USE_MISC]: Remove redundant conditionals.
56275 * pwd/pwd.h [__USE_GNU]: Likewise.
56276 [__USE_MISC]: Likewise.
56277 * resolv/netdb.h [__USE_GNU]: Likewise.
56278 * signal/signal.h: Update #endif comments.
56279 [__USE_MISC]: Remove redundant conditionals.
56280 * stdlib/stdlib.h: Update #else and #endif comments.
56281 [__USE_MISC]: Remove redundant conditionals.
56282 [__USE_GNU]: Likewise.
56283 * string/bits/string2.h [__USE_MISC]: Likewise.
56284 * string/string.h: Update #endif comments.
56285 [__USE_MISC]: Remove redundant conditionals.
56286 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
56287 Likewise.
56288 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
56289 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
56290 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
56291 Likewise.
56292 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
56293 Likewise.
56294 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
56295 comments.
56296 [__USE_MISC]: Remove redundant conditionals.
56297 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
56298 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
56299 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
56300 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
56301 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
56302 Likewise.
56303 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
56304 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
56305 Likewise.
56306 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
56307 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
56308 Likewise.
56309 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
56310 Likewise.
56311 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
56312 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
56313 Likewise.
56314 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
56315 Likewise.
56316 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
56317 * sysdeps/x86/bits/string.h: Update #endif comments.
56318 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
56319 conditionals.
56320 * time/sys/time.h: Update #endif comments.
56321 * time/time.h: Likewise.
56322 [__USE_MISC]: Remove redundant conditionals.
56323
56324 2014-02-21 Yury Gribov <y.gribov@samsung.com>
56325
56326 [BZ #16600]
56327 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
56328
56329 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
56330
56331 * Versions.def (librt): Add GLIBC_2.17.
56332
56333 2014-02-21 Adam Conrad <adconrad@0c3.net>
56334
56335 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
56336 synonym for _SYS_AUXV_H to allow direct inclusion.
56337 * sysdeps/sparc/bits/hwcap.h: Likewise.
56338 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
56339 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
56340 * sysdeps/sparc/sysdep.h: Likewise.
56341
56342 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
56343
56344 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
56345
56346 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
56347
56348 * benchtests/bench-strrchr.c: Print length instead of position.
56349
56350 2014-02-20 Joseph Myers <joseph@codesourcery.com>
56351
56352 [BZ #16611]
56353 * sysdeps/unix/sysv/linux/kernel-features.h
56354 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
56355 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
56356 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
56357 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
56358 Likewise.
56359 [__i386__ || __powerpc__ || __sh__ || __sparc__]
56360 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56361 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
56362 (__ASSUME_SENDMMSG): Define instead of using previous
56363 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
56364 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56365 (__ASSUME_SENDMMSG_SYSCALL): Define.
56366 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56367 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
56368 Likewise.
56369 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56370 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56371 Likewise.
56372 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56373 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56374 Likewise.
56375 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
56376 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56377 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56378 [__ASSUME_SENDMMSG]: Change conditionals to
56379 [__ASSUME_SENDMMSG_SOCKETCALL].
56380 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56381 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
56382 Define.
56383 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56384 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
56385 Likewise.
56386 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
56387 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56388 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56389 [!__ASSUME_SENDMMSG]: Change conditional to
56390 [!__ASSUME_SENDMMSG_SOCKETCALL].
56391 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56392 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56393 Define.
56394
56395 [BZ #16610]
56396 * sysdeps/unix/sysv/linux/kernel-features.h
56397 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
56398 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
56399 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
56400 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
56401 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
56402 [__i386__ || __sparc__]
56403 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56404 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
56405 (__ASSUME_RECVMMSG): Define instead of using previous
56406 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
56407 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56408 (__ASSUME_RECVMMSG_SYSCALL): Define.
56409 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56410 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56411 Likewise.
56412 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56413 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56414 Likewise.
56415 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56416 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56417 Likewise.
56418 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
56419 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56420 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56421 [__ASSUME_RECVMMSG]: Change condition to
56422 [__ASSUME_RECVMMSG_SOCKETCALL].
56423 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56424 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56425 Define.
56426 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56427 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56428 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56429 Likewise.
56430 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
56431 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56432 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56433 [!__ASSUME_RECVMMSG]: Change condition to
56434 [!__ASSUME_RECVMMSG_SOCKETCALL].
56435 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56436 (__ASSUME_RECVMMSG_SYSCALL): Define.
56437
56438 [BZ #16609]
56439 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
56440 __powerpc__ || __s390__ || __sh__ || __sparc__]
56441 (__ASSUME_SOCKETCALL): Define.
56442 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
56443 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
56444 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
56445 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
56446 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
56447 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
56448 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
56449 (__ASSUME_ACCEPT4): Define instead of using previous
56450 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
56451 __powerpc__ || __sparc__ || __s390__)] condition.
56452 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56453 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56454 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
56455 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56456 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56457 [!__ASSUME_ACCEPT4]: Change condition to
56458 [!__ASSUME_ACCEPT4_SOCKETCALL].
56459 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56460 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
56461 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
56462 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56463 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
56464 __ASSUME_ACCEPT4_SYSCALL.
56465 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
56466 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
56467 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56468 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
56469 __ASSUME_ACCEPT4_SYSCALL.
56470 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
56471 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56472 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56473 [__ASSUME_ACCEPT4]: Change condition to
56474 [__ASSUME_ACCEPT4_SOCKETCALL].
56475 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
56476 (__ASSUME_SOCKETCALL): Define.
56477 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
56478 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56479 (__ASSUME_SOCKETCALL): Define.
56480 (__ASSUME_ACCEPT4): Remove.
56481 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
56482 Define.
56483 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56484 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
56485 Likewise.
56486 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56487 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56488
56489 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
56490 macro.
56491 (HWCAP_ARM_LPAE): Likewise.
56492 (HWCAP_ARM_EVTSTRM): Likewise.
56493 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
56494 Add vpfd32, lpae and evtstrm.
56495 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
56496 Increase to 22.
56497
56498 2014-02-19 Joseph Myers <joseph@codesourcery.com>
56499
56500 * math/auto-libm-test-in: Add tests of clog10.
56501 * math/auto-libm-test-out: Regenerated.
56502 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
56503 * sysdeps/i386/fpu/libm-test-ulps: Update.
56504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56505
56506 2014-02-18 Andreas Schwab <schwab@suse.de>
56507
56508 [BZ #16574]
56509 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
56510 Store non-zero if the second buffer was newly allocated.
56511 (send_dg): Likewise.
56512 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
56513 to send_vc and send_dg.
56514 (res_nsend): Pass NULL for ansp2_malloced.
56515 * resolv/res_query.c (__libc_res_nquery): Add parameter
56516 answerp2_malloced and pass it down to __libc_res_nsend.
56517 (res_nquery): Pass additional NULL to __libc_res_nquery.
56518 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
56519 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
56520 second answer buffer if answerp2_malloced was set.
56521 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
56522 (__libc_res_nquerydomain): Add parameter
56523 answerp2_malloced and pass it down to __libc_res_nquery.
56524 (res_nquerydomain): Pass additional NULL to
56525 __libc_res_nquerydomain.
56526 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
56527 additional NULL to __libc_res_nsend and __libc_res_nquery.
56528 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
56529 additional NULL to __libc_res_nsearch.
56530 (_nss_dns_gethostbyname4_r): Revert last change. Use new
56531 parameter of __libc_res_nsearch to check for separately allocated
56532 second buffer.
56533 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
56534 __libc_res_nquery.
56535 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
56536 additional NULL to __libc_res_nquery.
56537 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
56538 __libc_res_nsearch.
56539 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
56540 * include/resolv.h: Update prototypes of __libc_res_nquery,
56541 __libc_res_nsearch, __libc_res_nsend.
56542
56543 2014-02-18 Joseph Myers <joseph@codesourcery.com>
56544
56545 * math/auto-libm-test-in: Add tests of fma.
56546 * math/auto-libm-test-out: Regenerated.
56547 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
56548 (fma_towardzero_test_data): Likewise.
56549 (fma_downward_test_data): Likewise.
56550 (fma_upward_test_data): Likewise.
56551 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
56552 mpc_mode.
56553 (rounding_modes): Add values for new field.
56554 (func_calc_method): Add value mpfr_fff_f.
56555 (func_calc_desc): Add mpfr_fff_f union field.
56556 (test_function): Add field exact_args.
56557 (FUNC): Add macro argument EXACT_ARGS.
56558 (FUNC_mpfr_f_f): Update call to FUNC.
56559 (FUNC_mpfr_f_f): Likewise.
56560 (FUNC_mpfr_ff_f): Likewise.
56561 (FUNC_mpfr_if_f): Likewise.
56562 (FUNC_mpc_c_f): Likewise.
56563 (FUNC_mpc_c_c): Likewise.
56564 (test_functions): Add fma. Update calls to FUNC.
56565 (handle_input_arg): Add argument exact_args.
56566 (add_test): Update call to handle_input_arg.
56567 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
56568 (output_for_one_input_case): Update call to calc_generic_results.
56569 Recalculate exact zero results in each rounding mode.
56570
56571 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
56572 non-negative before setting low bit.
56573 * math/auto-libm-test-in: Mark one asin test possibly having
56574 spurious underflow.
56575 * math/auto-libm-test-out: Regenerated.
56576 * sysdeps/i386/fpu/libm-test-ulps: Update.
56577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56578
56579 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
56580
56581 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
56582 * sysdeps/unix/sysv/linux/microblaze: Move directory from
56583 ports/sysdeps/unix/sysv/linux/microblaze.
56584 * README: Add missing listing for microblaze*-*-linux-gnu.
56585
56586 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
56587
56588 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
56589 duplicate code
56590
56591 2014-02-16 Mike Frysinger <vapier@gentoo.org>
56592
56593 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
56594 * sysdeps/unix/sysv/linux/ia64: Move directory from
56595 ports/sysdeps/unix/sysv/linux/ia64.
56596 * README: Update listing for ia64-*-linux-gnu.
56597
56598 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
56599 Joseph Myers <joseph@codesourcery.com>
56600
56601 * Makeconfig (test-name): New variable.
56602 (evaluate-test): Likewise.
56603 * Makerules (do-test-clean): Remove .test-result files.
56604 (common-mostlyclean): Likewise.
56605 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
56606 * scripts/evaluate-test.sh: New file.
56607
56608 2014-02-14 Joseph Myers <joseph@codesourcery.com>
56609
56610 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
56611 separate $(objpfx)tst-fopenloc-cmp.out and
56612 $(objpfx)tst-fopenloc-mem.out targets.
56613 (tests): Update dependencies.
56614 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
56615 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
56616 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
56617 (tst-rxspencer-no-utf8-ARGS): New variable.
56618 (tst-rxspencer-no-utf8-ENV): Likewise.
56619 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
56620 instead of $(objpfx)tst-rxspencer-mem.
56621 ($(objpfx)tst-rxspencer-mem): Change target to
56622 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
56623 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
56624 * posix/tst-rxspencer-no-utf8.c: New file.
56625
56626 * elf/Makefile ($(objpfx)order.out): Remove rule.
56627 [$(run-built-tests) = yes] (tests): Depend on
56628 $(objpfx)order-cmp.out.
56629 ($(objpfx)order-cmp.out): New rule.
56630 [$(run-built-tests) = yes] (tests): Depend on
56631 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
56632 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
56633 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
56634 $(objpfx)tst-array5-static-cmp.out.
56635 ($(objpfx)tst-array1.out): Remove rule.
56636 ($(objpfx)tst-array1-cmp.out): New rule.
56637 ($(objpfx)tst-array1-static.out): Remove rule.
56638 ($(objpfx)tst-array1-static-cmp.out): New rule.
56639 ($(objpfx)tst-array2.out): Remove rule.
56640 ($(objpfx)tst-array2-cmp.out): New rule.
56641 ($(objpfx)tst-array3.out): Remove rule.
56642 ($(objpfx)tst-array3-cmp.out): New rule.
56643 ($(objpfx)tst-array4.out): Remove rule.
56644 ($(objpfx)tst-array4-cmp.out): New rule.
56645 ($(objpfx)tst-array5.out): Remove rule.
56646 ($(objpfx)tst-array5-cmp.out): New rule.
56647 ($(objpfx)tst-array5-static.out): Remove rule.
56648 ($(objpfx)tst-array5-static-cmp.out): New rule.
56649 [$(run-built-tests) = yes] (tests): Depend on
56650 $(objpfx)order2-cmp.out.
56651 ($(objpfx)order2.out): Remove rule.
56652 ($(objpfx)order2-cmp.out): New rule.
56653 ($(objpfx)tst-initorder.out): Remove rule.
56654 [$(run-built-tests) = yes] (tests): Depend on
56655 $(objpfx)tst-initorder-cmp.out.
56656 ($(objpfx)tst-initorder-cmp.out): New rule.
56657 ($(objpfx)tst-initorder2.out): Remove rule.
56658 [$(run-built-tests) = yes] (tests): Depend on
56659 $(objpfx)tst-initorder2-cmp.out.
56660 ($(objpfx)tst-initorder2-cmp.out): New rule.
56661 [$(run-built-tests) = yes] (tests): Depend on
56662 $(objpfx)tst-unused-dep-cmp.out.
56663 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
56664 ($(objpfx)tst-unused-dep-cmp.out): New rule.
56665 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
56666 on $(objpfx)tst-setvbuf1-cmp.out.
56667 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
56668 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
56669 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
56670 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
56671 ($(objpfx)tst-svc.out): Remove rule.
56672 ($(objpfx)tst-svc-cmp.out): New rule.
56673
56674 2014-02-13 Joseph Myers <joseph@codesourcery.com>
56675
56676 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
56677 * ctype/ctype.h [__USE_MISC]: Likewise.
56678 * dirent/dirent.h [__USE_MISC]: Likewise.
56679 * grp/grp.h [__USE_MISC]: Likewise.
56680 * io/fcntl.h [__USE_MISC]: Likewise.
56681 * io/sys/stat.h [__USE_MISC]: Likewise.
56682 * libio/stdio.h [__USE_MISC]: Likewise.
56683 * posix/unistd.h [__USE_MISC]: Likewise.
56684 * pwd/pwd.h [__USE_MISC]: Likewise.
56685 * stdlib.h [__USE_MISC]: Likewise.
56686 * string/bits/string2.h [__USE_MISC]: Likewise.
56687 * string/string.h [__USE_MISC]: Likewise.
56688 * time/time.h [__USE_MISC]: Likewise.
56689
56690 2014-02-13 Andreas Schwab <schwab@suse.de>
56691
56692 [BZ #16574]
56693 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
56694 second answer buffer if it was separately allocated.
56695
56696 2014-02-12 Joseph Myers <joseph@codesourcery.com>
56697
56698 * sysdeps/mips/math-tests.h: Include <features.h>.
56699 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
56700 (ROUNDING_TESTS_long_double): Do not define.
56701 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
56702 (EXCEPTION_TESTS_long_double): Likewise.
56703 * sysdeps/mips/mips64/libm-test-ulps: Update.
56704
56705 * include/features.h (__USE_BSD): Remove macro definitions.
56706 (__USE_SVID): Likewise.
56707 (_BSD_SOURCE): Likewise.
56708 (_SVID_SOURCE): Likewise.
56709 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
56710 from definition of _DEFAULT_SOURCE.
56711 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
56712 [_DEFAULT_SOURCE].
56713 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
56714 * bits/mman.h [__USE_BSD]: Likewise.
56715 * bits/termios.h [__USE_BSD]: Likewise.
56716 * bits/waitstatus.h [__USE_BSD]: Likewise.
56717 * ctype/ctype.h [__USE_SVID]: Likewise.
56718 * dirent/dirent.h [__USE_BSD]: Likewise.
56719 * grp/grp.h [__USE_SVID]: Likewise.
56720 [__USE_BSD]: Likewise.
56721 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
56722 * io/fcntl.h [__USE_BSD]: Likewise.
56723 * io/ftw.h [__USE_BSD]: Likewise.
56724 * io/sys/stat.h [__USE_BSD]: Likewise.
56725 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
56726 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
56727 * libio/stdio.h [__USE_SVID]: Likewise.
56728 [__USE_BSD]: Likewise.
56729 * math/math.h [__USE_SVID]: Likewise.
56730 [__USE_BSD]: Likewise.
56731 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
56732 * misc/bits/syslog.h [__USE_BSD]: Likewise.
56733 * misc/search.h [__USE_SVID]: Likewise.
56734 * misc/sys/mman.h [__USE_BSD]: Likewise.
56735 * misc/sys/syslog.h [__USE_BSD]: Likewise.
56736 * misc/sys/uio.h [__USE_BSD]: Likewise.
56737 * posix/bits/unistd.h [__USE_BSD]: Likewise.
56738 * posix/glob.h [__USE_BSD]: Likewise.
56739 * posix/regex.h [__USE_BSD]: Likewise.
56740 * posix/sys/types.h [__USE_BSD]: Likewise.
56741 [__USE_SVID]: Likewise.
56742 * posix/sys/utsname.h [__USE_SVID]: Likewise.
56743 * posix/sys/wait.h [__USE_BSD]: Likewise.
56744 [__USE_SVID]: Likewise.
56745 * posix/unistd.h [__USE_BSD]: Likewise.
56746 [__USE_SVID]: Likewise.
56747 * pwd/pwd.h [__USE_SVID]: Likewise.
56748 * resolv/netdb.h [__USE_BSD]: Likewise.
56749 * setjmp/setjmp.h [__USE_BSD]: Likewise.
56750 * signal/signal.h [__USE_BSD]: Likewise.
56751 [__USE_SVID]: Likewise.
56752 * socket/sys/socket.h [__USE_BSD]: Likewise.
56753 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
56754 * stdlib/stdlib.h [__USE_BSD]: Likewise.
56755 [__USE_SVID]: Likewise.
56756 * string/bits/string2.h [__USE_BSD]: Likewise.
56757 [__USE_SVID]: Likewise.
56758 * string/bits/string3.h [__USE_BSD]: Likewise.
56759 * string/endian.h [__USE_BSD]: Likewise.
56760 * string/string.h [__USE_SVID]: Likewise.
56761 [__USE_BSD]: Likewise.
56762 * string/strings.h [__USE_BSD]: Likewise.
56763 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
56764 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
56765 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
56766 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
56767 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
56768 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
56769 Likewise.
56770 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
56771 Likewise.
56772 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
56773 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
56774 Likewise.
56775 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
56776 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
56777 Likewise.
56778 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
56779 Likewise.
56780 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
56781 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
56782 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
56783 Likewise.
56784 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
56785 Likewise.
56786 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
56787 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
56788 * termios/termios.h [__USE_BSD]: Likewise.
56789 * time/sys/time.h [__USE_BSD]: Likewise.
56790 * time/time.h [__USE_BSD]: Likewise.
56791 [__USE_SVID]: Likewise.
56792
56793 * Makefile (subdir_targets): Remove subdir_lint.out.
56794
56795 * stdio-common/Makefile (do-tst-unbputc): Remove target.
56796 (do-tst-printf): Likewise.
56797 (tests): Depend directly on $(objpfx)tst-unbputc.out and
56798 $(objpfx)tst-printf.out.
56799
56800 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
56801
56802 * Makerules (check-abi-%): Change target to
56803 $(objpfx)check-abi-%.out.
56804 (check-abi target): Update dependencies.
56805 (check-abi-pattern variable): Redirect output of diff to $@.
56806 (check-abi variable): Likewise.
56807 * elf/Makefile (check-abi): Update dependencies.
56808
56809 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
56810 unused.
56811 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
56812 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
56813 subnormal range.
56814 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
56815 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
56816 value has largest subnormal exponent.
56817 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
56818 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
56819 * sysdeps/aarch64/soft-fp/sfp-machine.h
56820 (_FP_TININESS_AFTER_ROUNDING): New macro.
56821 * sysdeps/alpha/soft-fp/sfp-machine.h
56822 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56823 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56824 Likewise.
56825 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
56826 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56827 * sysdeps/mips/soft-fp/sfp-machine.h
56828 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56829 * sysdeps/powerpc/soft-fp/sfp-machine.h
56830 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56831 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56832 Likewise.
56833 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
56834 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56835 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
56836 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56837 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56838 Likewise.
56839
56840 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
56841
56842 [BZ #16545]
56843 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
56844 model 1.
56845
56846 2014-02-12 Richard Henderson <rth@redhat.com>
56847
56848 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
56849 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
56850 * sysdeps/unix/sysv/linux/alpha: Move directory from
56851 ports/sysdeps/unix/sysv/linux/alpha.
56852 * README: Update listing for alpha-*-linux-gnu.
56853
56854 2014-02-11 Joseph Myers <joseph@codesourcery.com>
56855
56856 * include/features.h: Update comment documenting feature test
56857 macros.
56858 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
56859 _DEFAULT_SOURCE.
56860 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
56861 (_SVID_SOURCE): Likewise.
56862 (_DEFAULT_SOURCE): Update description of default features.
56863 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
56864 with _GNU_SOURCE.
56865 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
56866 (S_ISVTX): Likewise.
56867 * manual/math.texi (Mathematical Constants): Likewise.
56868 * manual/signal.texi (Interrupted Primitives): Likewise.
56869 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
56870 * math/test-matherr.c (_SVID_SOURCE): Do not define.
56871 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
56872 Don't refer to _SVID_SOURCE in warning text.
56873
56874 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56875
56876 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
56877 already defined.
56878 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
56879 * sysdeps/mips/dl-lookup.c: Remove.
56880 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
56881
56882 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
56883
56884 [BZ #16447]
56885 * math/auto-libm-test-in: Add testcase for expl.
56886 * math/auto-libm-test-out: Regenerate.
56887 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
56888 calculation of unsafe.
56889 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
56890
56891 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
56892
56893 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
56894 * sysdeps/unix/sysv/linux/aarch64: Move directory from
56895 ports/sysdeps/unix/sysv/linux/aarch64.
56896 * README: Update listing for aarch64*-*-linux-gnu.
56897
56898 2014-02-11 Will Newton <will.newton@linaro.org>
56899
56900 * manual/probes.texi (Mathematical Function Probes): Use
56901 "triggered" instead of "hit".
56902
56903 * manual/probes.texi (Internal Probes): Add documentation
56904 of setjmp, longjmp and longjmp_target probes.
56905
56906 * include/stap-probe.h: Add comment about probe argument
56907 format.
56908
56909 * malloc/mtrace.c (attribute_hidden): Remove unused macro
56910 definition. (tr_where, tr_freehook, tr_mallochook,
56911 tr_reallochook, tr_memalignhook): Use ANSI protoype.
56912
56913 2014-02-11 David S. Miller <davem@davemloft.net>
56914
56915 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
56916 processing int_tests.
56917
56918 2014-02-10 Joseph Myers <joseph@codesourcery.com>
56919
56920 * sysdeps/mips: Move directory from ports/sysdeps/mips.
56921 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
56922 * sysdeps/unix/sysv/linux/mips: Move directory from
56923 ports/sysdeps/unix/sysv/linux/mips.
56924 * README: Update listing for mips-*-linux-gnu and
56925 mips64-*-linux-gnu.
56926
56927 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
56928
56929 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
56930 * sysdeps/unix/sysv/linux/m68k: Move directory from
56931 ports/sysdeps/unix/sysv/linux/m68k.
56932 * README: Update listing for m68k-*-linux-gnu.
56933
56934 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
56935
56936 * sysdeps/tile: Move directory from ports/sysdeps/tile.
56937 * sysdeps/unix/sysv/linux/generic: Move directory from
56938 ports/sysdeps/unix/sysv/linux/generic.
56939 * sysdeps/unix/sysv/linux/tile: Move directory from
56940 ports/sysdeps/unix/sysv/linux/tile.
56941 * README: Update listing for tile*-*-linux-gnu.
56942
56943 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
56944
56945 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
56946 __builtin_expect.
56947 * benchtests/bench-memmem.c (simple_memmem): Likewise.
56948 * catgets/open_catalog.c (__open_catalog): Likewise.
56949 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
56950 * debug/confstr_chk.c: Likewise.
56951 * debug/fread_chk.c (__fread_chk): Likewise.
56952 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
56953 * debug/getgroups_chk.c: Likewise.
56954 * debug/mbsnrtowcs_chk.c: Likewise.
56955 * debug/mbsrtowcs_chk.c: Likewise.
56956 * debug/mbstowcs_chk.c: Likewise.
56957 * debug/memcpy_chk.c: Likewise.
56958 * debug/memmove_chk.c: Likewise.
56959 * debug/mempcpy_chk.c: Likewise.
56960 * debug/memset_chk.c: Likewise.
56961 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
56962 * debug/strcat_chk.c (__strcat_chk): Likewise.
56963 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
56964 * debug/strncat_chk.c (__strncat_chk): Likewise.
56965 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
56966 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
56967 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
56968 * debug/wcpncpy_chk.c: Likewise.
56969 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
56970 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
56971 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
56972 * debug/wcsncpy_chk.c: Likewise.
56973 * debug/wcsnrtombs_chk.c: Likewise.
56974 * debug/wcsrtombs_chk.c: Likewise.
56975 * debug/wcstombs_chk.c: Likewise.
56976 * debug/wmemcpy_chk.c: Likewise.
56977 * debug/wmemmove_chk.c: Likewise.
56978 * debug/wmempcpy_chk.c: Likewise.
56979 * debug/wmemset_chk.c: Likewise.
56980 * dirent/scandirat.c (SCANDIRAT): Likewise.
56981 * dlfcn/dladdr1.c (dladdr1): Likewise.
56982 * dlfcn/dladdr.c (dladdr): Likewise.
56983 * dlfcn/dlclose.c (dlclose_doit): Likewise.
56984 * dlfcn/dlerror.c (__dlerror): Likewise.
56985 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
56986 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
56987 * dlfcn/dlopen.c (dlopen_doit): Likewise.
56988 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
56989 * dlfcn/dlsym.c (dlsym_doit): Likewise.
56990 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
56991 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
56992 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
56993 Likewise.
56994 * elf/dl-conflict.c: Likewise.
56995 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
56996 * elf/dl-dst.h: Likewise.
56997 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
56998 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
56999 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
57000 * elf/dl-init.c (call_init, _dl_init): Likewise.
57001 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57002 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
57003 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
57004 Likewise.
57005 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
57006 Likewise.
57007 * elf/dl-minimal.c (__libc_memalign): Likewise.
57008 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
57009 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
57010 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
57011 * elf/dl-sym.c (do_sym): Likewise.
57012 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
57013 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
57014 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
57015 * elf/dl-writev.h (_dl_writev): Likewise.
57016 * elf/ldconfig.c (search_dir): Likewise.
57017 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
57018 (dl_main): Likewise.
57019 * elf/setup-vdso.h (setup_vdso): Likewise.
57020 * grp/compat-initgroups.c (compat_call): Likewise.
57021 * grp/fgetgrent.c (fgetgrent): Likewise.
57022 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
57023 * grp/putgrent.c (putgrent): Likewise.
57024 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
57025 Likewise.
57026 * hurd/hurdinit.c: Likewise.
57027 * iconvdata/8bit-gap.c (struct): Likewise.
57028 * iconvdata/ansi_x3.110.c : Likewise.
57029 * iconvdata/big5.c : Likewise.
57030 * iconvdata/big5hkscs.c : Likewise.
57031 * iconvdata/cp1255.c: Likewise.
57032 * iconvdata/cp1258.c : Likewise.
57033 * iconvdata/cp932.c : Likewise.
57034 * iconvdata/euc-cn.c: Likewise.
57035 * iconvdata/euc-jisx0213.c : Likewise.
57036 * iconvdata/euc-jp.c: Likewise.
57037 * iconvdata/euc-jp-ms.c : Likewise.
57038 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
57039 * iconvdata/gb18030.c : Likewise.
57040 * iconvdata/gbbig5.c (const): Likewise.
57041 * iconvdata/gbgbk.c: Likewise.
57042 * iconvdata/gbk.c : Likewise.
57043 * iconvdata/ibm1364.c : Likewise.
57044 * iconvdata/ibm930.c : Likewise.
57045 * iconvdata/ibm932.c: Likewise.
57046 * iconvdata/ibm933.c : Likewise.
57047 * iconvdata/ibm935.c : Likewise.
57048 * iconvdata/ibm937.c : Likewise.
57049 * iconvdata/ibm939.c : Likewise.
57050 * iconvdata/ibm943.c: Likewise.
57051 * iconvdata/iso_11548-1.c: Likewise.
57052 * iconvdata/iso-2022-cn.c : Likewise.
57053 * iconvdata/iso-2022-cn-ext.c : Likewise.
57054 * iconvdata/iso-2022-jp-3.c: Likewise.
57055 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
57056 * iconvdata/iso-2022-kr.c : Likewise.
57057 * iconvdata/iso646.c (gconv_end): Likewise.
57058 * iconvdata/iso_6937-2.c : Likewise.
57059 * iconvdata/iso_6937.c : Likewise.
57060 * iconvdata/iso8859-1.c: Likewise.
57061 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
57062 * iconvdata/shift_jisx0213.c : Likewise.
57063 * iconvdata/sjis.c : Likewise.
57064 * iconvdata/t.61.c : Likewise.
57065 * iconvdata/tcvn5712-1.c : Likewise.
57066 * iconvdata/tscii.c: Likewise.
57067 * iconvdata/uhc.c : Likewise.
57068 * iconvdata/unicode.c (gconv_end): Likewise.
57069 * iconvdata/utf-16.c (gconv_end): Likewise.
57070 * iconvdata/utf-32.c (gconv_end): Likewise.
57071 * iconvdata/utf-7.c (base64): Likewise.
57072 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
57073 * iconv/gconv_close.c (__gconv_close): Likewise.
57074 * iconv/gconv_open.c (__gconv_open): Likewise.
57075 * iconv/gconv_simple.c (internal_ucs4_loop_single)
57076 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
57077 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
57078 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
57079 (ucs4le_internal_loop_single): Likewise.
57080 * iconv/iconv.c (iconv): Likewise.
57081 * iconv/iconv_close.c: Likewise.
57082 * iconv/loop.c (SINGLE): Likewise.
57083 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
57084 * include/atomic.h: Likewise.
57085 * inet/inet6_option.c (option_alloc): Likewise.
57086 * intl/bindtextdom.c (set_binding_values): Likewise.
57087 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
57088 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
57089 * intl/localealias.c (read_alias_file): Likewise.
57090 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57091 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
57092 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
57093 * libio/fmemopen.c (fmemopen): Likewise.
57094 * libio/iofgets.c (_IO_fgets): Likewise.
57095 * libio/iofgets_u.c (fgets_unlocked): Likewise.
57096 * libio/iofgetws.c (fgetws): Likewise.
57097 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
57098 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57099 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
57100 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
57101 * locale/findlocale.c (_nl_find_locale): Likewise.
57102 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
57103 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
57104 Likewise.
57105 * locale/setlocale.c (setlocale): Likewise.
57106 * login/programs/pt_chown.c (main): Likewise.
57107 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
57108 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57109 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
57110 (mmap, mmap64, mremap, munmap): Likewise.
57111 * math/e_exp2l.c: Likewise.
57112 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
57113 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
57114 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
57115 * math/s_catan.c (__catan): Likewise.
57116 * math/s_catanf.c (__catanf): Likewise.
57117 * math/s_catanh.c (__catanh): Likewise.
57118 * math/s_catanhf.c (__catanhf): Likewise.
57119 * math/s_catanhl.c (__catanhl): Likewise.
57120 * math/s_catanl.c (__catanl): Likewise.
57121 * math/s_ccosh.c (__ccosh): Likewise.
57122 * math/s_ccoshf.c (__ccoshf): Likewise.
57123 * math/s_ccoshl.c (__ccoshl): Likewise.
57124 * math/s_cexp.c (__cexp): Likewise.
57125 * math/s_cexpf.c (__cexpf): Likewise.
57126 * math/s_cexpl.c (__cexpl): Likewise.
57127 * math/s_clog10.c (__clog10): Likewise.
57128 * math/s_clog10f.c (__clog10f): Likewise.
57129 * math/s_clog10l.c (__clog10l): Likewise.
57130 * math/s_clog.c (__clog): Likewise.
57131 * math/s_clogf.c (__clogf): Likewise.
57132 * math/s_clogl.c (__clogl): Likewise.
57133 * math/s_csin.c (__csin): Likewise.
57134 * math/s_csinf.c (__csinf): Likewise.
57135 * math/s_csinh.c (__csinh): Likewise.
57136 * math/s_csinhf.c (__csinhf): Likewise.
57137 * math/s_csinhl.c (__csinhl): Likewise.
57138 * math/s_csinl.c (__csinl): Likewise.
57139 * math/s_csqrt.c (__csqrt): Likewise.
57140 * math/s_csqrtf.c (__csqrtf): Likewise.
57141 * math/s_csqrtl.c (__csqrtl): Likewise.
57142 * math/s_ctan.c (__ctan): Likewise.
57143 * math/s_ctanf.c (__ctanf): Likewise.
57144 * math/s_ctanh.c (__ctanh): Likewise.
57145 * math/s_ctanhf.c (__ctanhf): Likewise.
57146 * math/s_ctanhl.c (__ctanhl): Likewise.
57147 * math/s_ctanl.c (__ctanl): Likewise.
57148 * math/w_pow.c: Likewise.
57149 * math/w_powf.c: Likewise.
57150 * math/w_powl.c: Likewise.
57151 * math/w_scalb.c (sysv_scalb): Likewise.
57152 * math/w_scalbf.c (sysv_scalbf): Likewise.
57153 * math/w_scalbl.c (sysv_scalbl): Likewise.
57154 * misc/error.c (error_tail): Likewise.
57155 * misc/pselect.c (__pselect): Likewise.
57156 * nis/nis_callback.c (__nis_create_callback): Likewise.
57157 * nis/nis_call.c (__nisfind_server): Likewise.
57158 * nis/nis_creategroup.c (nis_creategroup): Likewise.
57159 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
57160 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
57161 * nis/nis_getservlist.c (nis_getservlist): Likewise.
57162 * nis/nis_lookup.c (nis_lookup): Likewise.
57163 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57164 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
57165 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
57166 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57167 * nis/nss_compat/compat-grp.c (getgrent_next_file)
57168 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
57169 * nis/nss_compat/compat-initgroups.c (add_group)
57170 (internal_getgrent_r): Likewise.
57171 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
57172 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
57173 * nis/nss_compat/compat-spwd.c (getspent_next_file)
57174 (internal_getspnam_r): Likewise.
57175 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
57176 (_nss_nis_getaliasbyname_r): Likewise.
57177 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
57178 (_nss_nis_getntohost_r): Likewise.
57179 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
57180 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
57181 (_nss_nis_getgrgid_r): Likewise.
57182 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
57183 (internal_nis_gethostent_r, internal_gethostbyname2_r)
57184 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
57185 (_nss_nis_gethostbyname4_r): Likewise.
57186 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
57187 (initgroups_netid): Likewise.
57188 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57189 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
57190 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
57191 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
57192 (_nss_nis_getprotobynumber_r): Likewise.
57193 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
57194 (_nss_nis_getsecretkey): Likewise.
57195 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
57196 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
57197 (_nss_nis_getpwuid_r): Likewise.
57198 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
57199 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
57200 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
57201 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
57202 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
57203 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
57204 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
57205 Likewise.
57206 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
57207 (_nss_nisplus_getntohost_r): Likewise.
57208 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
57209 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
57210 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
57211 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
57212 Likewise.
57213 * nis/nss_nisplus/nisplus-initgroups.c
57214 (_nss_nisplus_initgroups_dyn): Likewise.
57215 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
57216 (_nss_nisplus_getnetbyaddr_r): Likewise.
57217 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
57218 (_nss_nisplus_getprotobynumber_r): Likewise.
57219 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
57220 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
57221 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
57222 Likewise.
57223 * nis/nss_nisplus/nisplus-service.c
57224 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
57225 (_nss_nisplus_getservbyport_r): Likewise.
57226 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
57227 (_nss_nisplus_getspnam_r): Likewise.
57228 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
57229 Likewise.
57230 * nscd/aicache.c (addhstaiX): Likewise.
57231 * nscd/cache.c (cache_search, prune_cache): Likewise.
57232 * nscd/connections.c (register_traced_file, send_ro_fd)
57233 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
57234 (main_loop_epoll): Likewise.
57235 * nscd/grpcache.c (addgrbyX): Likewise.
57236 * nscd/hstcache.c (addhstbyX): Likewise.
57237 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57238 * nscd/mem.c (gc, mempool_alloc): Likewise.
57239 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
57240 (addinnetgrX): Likewise.
57241 * nscd/nscd-client.h (__nscd_acquire_maplock)
57242 (__nscd_drop_map_ref): Likewise.
57243 * nscd/nscd_getai.c (__nscd_getai): Likewise.
57244 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
57245 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
57246 Likewise.
57247 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
57248 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57249 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
57250 (__nscd_get_map_ref): Likewise.
57251 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57252 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
57253 Likewise.
57254 * nscd/pwdcache.c (addpwbyX): Likewise.
57255 * nscd/selinux.c (preserve_capabilities): Likewise.
57256 * nscd/servicescache.c (addservbyX): Likewise.
57257 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
57258 * posix/fnmatch.c (fnmatch): Likewise.
57259 * posix/getopt.c (_getopt_internal_r): Likewise.
57260 * posix/glob.c (glob, glob_in_dir): Likewise.
57261 * posix/wordexp.c (exec_comm_child): Likewise.
57262 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
57263 (getanswer_r, gaih_getanswer_slice): Likewise.
57264 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
57265 * resolv/res_init.c: Likewise.
57266 * resolv/res_mkquery.c (res_nmkquery): Likewise.
57267 * resolv/res_query.c (__libc_res_nquery): Likewise.
57268 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
57269 Likewise.
57270 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
57271 * stdio-common/perror.c (perror): Likewise.
57272 * stdio-common/printf_fp.c (___printf_fp): Likewise.
57273 * stdio-common/tmpnam.c (tmpnam): Likewise.
57274 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
57275 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57276 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
57277 Likewise.
57278 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
57279 * stdlib/putenv.c (putenv): Likewise.
57280 * stdlib/setenv.c (__add_to_environ): Likewise.
57281 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
57282 * stdlib/strtol_l.c (INTERNAL): Likewise.
57283 * string/memmem.c (memmem): Likewise.
57284 * string/strerror.c (strerror): Likewise.
57285 * string/strnlen.c (__strnlen): Likewise.
57286 * string/test-memmem.c (simple_memmem): Likewise.
57287 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
57288 * sunrpc/pm_getport.c (__get_socket): Likewise.
57289 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
57290 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57291 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
57292 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
57293 Likewise.
57294 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
57295 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
57296 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
57297 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
57298 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57299 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
57300 Likewise.
57301 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
57302 Likewise.
57303 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
57304 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
57305 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57306 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
57307 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
57308 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
57309 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
57310 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
57311 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
57312 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
57313 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57314 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
57315 Likewise.
57316 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
57317 Likewise.
57318 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
57319 Likewise.
57320 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
57321 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57322 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
57323 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
57324 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
57325 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
57326 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57327 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
57328 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
57329 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
57330 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
57331 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57332 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
57333 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
57334 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57335 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
57336 Likewise.
57337 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
57338 Likewise.
57339 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
57340 Likewise.
57341 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
57342 Likewise.
57343 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57344 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57345 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
57346 Likewise.
57347 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
57348 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
57349 * sysdeps/posix/opendir.c (__opendirat): Likewise.
57350 * sysdeps/posix/sleep.c: Likewise.
57351 * sysdeps/posix/tempname.c: Likewise.
57352 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
57353 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57354 Likewise.
57355 * sysdeps/powerpc/powerpc32/dl-machine.h
57356 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
57357 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
57358 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57359 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
57360 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
57361 Likewise.
57362 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57363 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
57364 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57365 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
57366 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57367 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
57368 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
57369 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
57370 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57371 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57372 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
57373 (elf_machine_lazy_rel): Likewise.
57374 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57375 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
57376 (elf_machine_lazy_rel): Likewise.
57377 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
57378 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
57379 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
57380 * sysdeps/unix/grantpt.c (grantpt): Likewise.
57381 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
57382 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
57383 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
57384 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57385 Likewise.
57386 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
57387 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
57388 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
57389 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
57390 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57391 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
57392 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
57393 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
57394 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
57395 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
57396 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57397 Likewise.
57398 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
57399 (__posix_fallocate64_l64): Likewise.
57400 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
57401 (posix_fallocate): Likewise.
57402 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
57403 Likewise.
57404 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57405 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
57406 (getifaddrs_internal): Likewise.
57407 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
57408 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
57409 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
57410 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
57411 * sysdeps/unix/sysv/linux/posix_fallocate64.c
57412 (__posix_fallocate64_l64): Likewise.
57413 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
57414 Likewise.
57415 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57416 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
57417 (__get_clockfreq): Likewise.
57418 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
57419 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
57420 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
57421 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57422 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57423 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
57424 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
57425 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
57426 Likewise.
57427 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
57428 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
57429 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
57430 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
57431 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57432 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
57433 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
57434 Likewise.
57435 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57436 (posix_fallocate): Likewise.
57437 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57438 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
57439 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57440 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
57441 (elf_machine_rela, elf_machine_rela_relative)
57442 (elf_machine_lazy_rel): Likewise.
57443 * time/asctime.c (asctime_internal): Likewise.
57444 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
57445 * time/tzset.c (__tzset_parse_tz): Likewise.
57446 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
57447 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
57448 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
57449 * wcsmbs/wcsmbsload.h: Likewise.
57450
57451 [BZ #15894]
57452 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
57453
57454 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
57455 (arena_get2): Remove THREAD_STATS conditionals.
57456 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
57457 (__malloc_stats, int): Likewise.
57458
57459 2014-02-08 Mike Frysinger <vapier@gentoo.org>
57460
57461 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
57462 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
57463
57464 * manual/setjmp.texi: Fix typos/grammar errors.
57465
57466 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
57467 Only return early when n is <= 0. Delete unused return statement.
57468
57469 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
57470 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
57471 * debug/tst-longjmp_chk3.c: New file.
57472
57473 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
57474 (test_main): Replace code with set_fortify_handler call.
57475 * debug/test-strcpy_chk.c: Likewise.
57476 * debug/tst-chk1.c: Likewise.
57477 * debug/tst-longjmp_chk.c: Likewise.
57478 * test-skeleton.c: Include fcntl.h & paths.h
57479 (set_fortify_handler): Define.
57480
57481 * debug/tst-longjmp_chk.c: Add header comment and include
57482 ../test-skeleton.c.
57483 (do_test): Mark static.
57484 (TEST_FUNCTION): Define.
57485
57486 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
57487 (IP_PMTUDISC_INTERFACE): Likewise.
57488 (IP_MULTICAST_IF): Likewise.
57489 (IP_MULTICAST_TTL): Likewise.
57490 (IP_MULTICAST_LOOP): Likewise.
57491 (IP_ADD_MEMBERSHIP): Likewise.
57492 (IP_DROP_MEMBERSHIP): Likewise.
57493 (IP_UNBLOCK_SOURCE): Likewise.
57494 (IP_BLOCK_SOURCE): Likewise.
57495 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
57496 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
57497 (IP_MSFILTER): Likewise.
57498 (MCAST_JOIN_GROUP): Likewise.
57499 (MCAST_BLOCK_SOURCE): Likewise.
57500 (MCAST_UNBLOCK_SOURCE): Likewise.
57501 (MCAST_LEAVE_GROUP): Likewise.
57502 (MCAST_JOIN_SOURCE_GROUP): Likewise.
57503 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
57504 (MCAST_MSFILTER): Likewise.
57505 (IP_MULTICAST_ALL): Likewise.
57506 (IP_UNICAST_IF): Likewise.
57507
57508 * timezone/Makefile: Delete $(have-ksh) check.
57509 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
57510 * timezone/tzselect.ksh: Add +x mode bits.
57511
57512 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
57513 (ANON_INODE_FS_MAGIC): Likewise.
57514 (BDEVFS_MAGIC): Likewise.
57515 (BINFMTFS_MAGIC): Likewise.
57516 (BTRFS_TEST_MAGIC): Likewise.
57517 (CRAMFS_MAGIC_WEND): Likewise.
57518 (DEBUGFS_MAGIC): Likewise.
57519 (ECRYPTFS_SUPER_MAGIC): Likewise.
57520 (EXT3_SUPER_MAGIC): Likewise.
57521 (EXT4_SUPER_MAGIC): Likewise.
57522 (FUTEXFS_SUPER_MAGIC): Likewise.
57523 (HOSTFS_SUPER_MAGIC): Likewise.
57524 (HUGETLBFS_MAGIC): Likewise.
57525 (MINIX3_SUPER_MAGIC): Likewise.
57526 (MTD_INODE_FS_MAGIC): Likewise.
57527 (NILFS_SUPER_MAGIC): Likewise.
57528 (OPENPROM_SUPER_MAGIC): Likewise.
57529 (PIPEFS_MAGIC): Likewise.
57530 (PSTOREFS_MAGIC): Likewise.
57531 (QNX6_SUPER_MAGIC): Likewise.
57532 (RAMFS_MAGIC): Likewise.
57533 (REISERFS_SUPER_MAGIC_STRING): Likewise.
57534 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
57535 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
57536 (SECURITYFS_MAGIC): Likewise.
57537 (SELINUX_MAGIC): Likewise.
57538 (SMACK_MAGIC): Likewise.
57539 (SOCKFS_MAGIC): Likewise.
57540 (SQUASHFS_MAGIC): Likewise.
57541 (STACK_END_MAGIC): Likewise.
57542 (TMPFS_MAGIC): Likewise.
57543 (USBDEVICE_SUPER_MAGIC): Likewise.
57544 (V9FS_MAGIC): Likewise.
57545 (XENFS_SUPER_MAGIC): Likewise.
57546 (CRAMFS_MAGIC): Fix typo in comment.
57547 (EXT2_SUPER_MAGIC): Update comment.
57548 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
57549
57550 2014-02-08 Joseph Myers <joseph@codesourcery.com>
57551
57552 * sysdeps/arm: Move directory from ports/sysdeps/arm.
57553 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
57554 * sysdeps/unix/sysv/linux/arm: Move directory from
57555 ports/sysdeps/unix/sysv/linux/arm.
57556 * README: Update listing for arm-*-linux-gnueabi.
57557
57558 * README: Remove mention of am33.
57559
57560 2014-02-07 Roland McGrath <roland@hack.frob.com>
57561
57562 * bits/sigset.h (__sigemptyset): Use a statement expression rather
57563 than the comma operator, to avoid "rhs of comma has no effect"
57564 compiler warnings.
57565 (__sigfillset, __sigandset, __sigorset): Likewise.
57566 * include/signal.h (__sigemptyset): Likewise.
57567 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
57568
57569 2014-02-07 Allan McRae <allan@archlinux.org>
57570
57571 * version.h (RELEASE): Set to "development".
57572 (VERSION): Set to "2.19.90"
57573 * NEWS: Add 2.20 section.
57574
57575 2014-02-06 Carlos O'Donell <carlos@redhat.com>
57576
57577 [BZ #16529]
57578 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
57579
57580 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
57581
57582 * manual/contrib.texi: Update entry for Carlos O'Donell,
57583 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
57584
57585 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
57586
57587 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
57588
57589 * sysdeps/unix/sysv/linux/kernel-features.h
57590 [__LINUX_KERNEL_VERSION >= 0x020621]
57591 (__ASSUME_PROC_PID_TASK_COMM): Define.
57592
57593 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
57594
57595 [BZ #16398]
57596 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
57597 conversion when destination buffer does not have enough space.
57598 * libio/tst-ftell-partial-wide.c: New test case.
57599 * libio/Makefile (tests): Add tst-ftell-partial-wide.
57600
57601 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
57602 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
57603 Leonard and Allan McRae.
57604
57605 2014-02-04 David S. Miller <davem@davemloft.net>
57606
57607 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
57608 32-bit.
57609
57610 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57611
57612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
57613 New file
57614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
57615 New file
57616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
57617 New file.
57618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
57619 New file.
57620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
57621 New file.
57622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
57623 New file.
57624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
57625 New file.
57626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
57627 New file.
57628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
57629 New file.
57630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
57631 New file.
57632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
57633 New file.
57634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
57635 New file.
57636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
57637 New file.
57638
57639 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57640
57641 * nptl/shlib-versions: Change powerpc*le start to 2.17.
57642 * shlib-versions: Likewise.
57643
57644 2014-02-04 Roland McGrath <roland@hack.frob.com>
57645 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57646
57647 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
57648 (abilist-pattern): New variable, set to %-le.abilist.
57649
57650 * Makerules (abilist-pattern): New variable.
57651 (vpath): Use $(abilist-pattern) in place of %.abilist.
57652 (check-abi-% pattern rule): Likewise.
57653 (check-abi, update-abi): Likewise.
57654
57655 2014-02-04 Eric Wong <normalperson@yhbt.net>
57656
57657 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57658
57659 2014-02-03 Carlos O'Donell <carlos@redhat.com>
57660
57661 * manual/startup.texi: Add next, previous, and top entries for
57662 the `Program Arguments' and `Environment Variables' nodes.
57663
57664 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
57665
57666 * manual/macros.texi: Add comments before MTASC-safety macros.
57667
57668 * manual/users.texi: Document MTASC-safety properties.
57669
57670 * manual/threads.texi (pthread_key_create, pthread_key_delete)
57671 (pthread_getspecific, pthread_setspecific): Format with
57672 @deftypefun, and add @safety note.
57673 * manual/signal.texi: Move comments that analyze the above
57674 functions to their home place.
57675
57676 2014-02-03 Allan McRae <allan@archlinux.org>
57677
57678 * po/sl.po: Update Slovenian translation from translation project.
57679
57680 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
57681
57682 * manual/time.texi (timegm): Add missing blank after @c.
57683 Reported by Joseph Myers <joseph@codesourcery.com>.
57684
57685 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
57686
57687 * manual/check-safety.sh: New.
57688 * manual/Makefile ($(objpfx)stamp-summary): Run it.
57689
57690 * manual/terminal.texi: Document MTASC-safety properties.
57691
57692 * manual/filesys.texi: Document MTASC-safety properties.
57693
57694 * manual/errno.texi: Document MTASC-safety properties.
57695
57696 * manual/intro.texi: Document safety identifiers and
57697 conditionals.
57698
57699 * manual/string.texi (wcstok): Fix prototype.
57700 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
57701
57702 * manual/time.texi: Document MTASC-safety properties.
57703
57704 * manual/string.texi: Document MTASC-safety properties.
57705
57706 * manual/threads.texi: Document MTASC-safety properties.
57707
57708 * manual/stdio.texi: Document MTASC-safety properties.
57709
57710 * manual/syslog.texi: Document MTASC-safety properties.
57711
57712 * manual/sysinfo.texi: Document MTASC-safety properties.
57713
57714 * manual/startup.texi: Document MTASC-safety properties.
57715
57716 * manual/socket.texi: Document MTASC-safety properties.
57717
57718 * manual/signal.texi: Document MTASC-safety properties.
57719
57720 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
57721
57722 * manual/setjmp.texi: Document MTASC-safety properties.
57723
57724 * manual/search.texi: Document MTASC-safety properties.
57725
57726 * manual/resource.texi: Document MTASC-safety properties.
57727
57728 * manual/process.texi: Document MTASC-safety properties.
57729
57730 * manual/platform.texi: Document MTASC-safety properties.
57731
57732 * manual/pipe.texi: Document MTASC-safety properties.
57733
57734 * manual/pattern.texi: Document MTASC-safety properties.
57735
57736 * manual/message.texi: Document MTASC-safety properties.
57737
57738 [BZ #12751]
57739 * manual/memory.texi: Document MTASC-safety properties.
57740
57741 * manual/math.texi: Document MTASC-safety properties.
57742
57743 * manual/locale.texi: Document MTASC-safety properties.
57744
57745 * manual/llio.texi: Document MTASC-safety properties.
57746
57747 * manual/libdl.texi: New.
57748
57749 * manual/lang.texi: Document MTASC-safety properties.
57750
57751 * manual/job.texi: Document MTASC-safety properties.
57752
57753 * manual/getopt.texi: Document MTASC-safety properties.
57754
57755 * manual/ctype.texi: Document MTASC-safety properties.
57756
57757 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
57758
57759 [BZ #16046]
57760 * csu/libc-tls.c (static_map): Remove variable.
57761 (__libc_setup_tls): Use main executable's link map for TLS data.
57762 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
57763 casing for LM_ID_BASE and GL(dl_nns).
57764 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
57765 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
57766 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
57767 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
57768 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
57769 member.
57770 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
57771 l_phnum members.
57772
57773 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
57774
57775 * manual/debug.texi: Document MTASC-safety properties.
57776
57777 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
57778
57779 [BZ #16510]
57780 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
57781 of __x86_64__ when disabling x87 inline functions.
57782
57783 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
57784
57785 * manual/charset.texi: Document MTASC-safety properties.
57786
57787 * manual/crypt.texi: Document MTASC-safety properties.
57788
57789 * manual/conf.texi: Document MTASC-safety properties.
57790
57791 * manual/arith.texi: Document MTASC-safety properties.
57792
57793 * manual/argp.texi: Document MTASC-safety properties.
57794
57795 * manual/macros.texi: Introduce macros to document multi
57796 thread, asynchronous signal and asynchronous cancellation
57797 safety properties.
57798 * manual/intro.texi: Introduce the properties themselves.
57799
57800 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57801
57802 * sysdeps/sh/sh4/Makefile: New file.
57803
57804 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
57805
57806 * math/gen-libm-test.pl ($srcdir): New variable.
57807 ($auto_input): Use it.
57808
57809 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
57810
57811 [BZ #16506]
57812 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
57813 access beyond array bounds when parsing netgroups file.
57814
57815 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
57816 the old buffer before realloc.
57817
57818 2014-01-27 Allan McRae <allan@archlinux.org>
57819
57820 * po/fr.po: Update French translation from translation project.
57821
57822 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57823
57824 * sysdeps/sh/libm-test-ulps: Regenerate.
57825
57826 2014-01-24 David S. Miller <davem@davemloft.net>
57827
57828 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
57829
57830 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57831
57832 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
57833 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
57834
57835 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
57836
57837 [BZ #16474]
57838 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
57839 string pointers after reallocation.
57840
57841 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57842
57843 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
57844 __SH4A__ instead of __SH_FPU_ANY__.
57845
57846 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57847
57848 * sysdeps/sh/fpu_control.h: New file.
57849 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
57850 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
57851 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
57852 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
57853 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
57854 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
57855 * sysdeps/sh/sys/ucontext.h: Remove.
57856 * sysdeps/sh/sys: Remove directory.
57857
57858 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57859
57860 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
57861 s390/sys/ucontext.h.
57862 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
57863 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
57864
57865 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
57866
57867 [BZ #15605]
57868 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
57869
57870 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57871
57872 [BZ #16431]
57873 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
57874 Adjust the vDSO correctly for internal calls.
57875 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
57876
57877 2014-01-20 Allan McRae <allan@archlinux.org>
57878
57879 * po/ca.po: Update Catalan translation from translation project.
57880
57881 2014-01-16 Mike Frysinger <vapier@gentoo.org>
57882
57883 * sysdeps/s390/sotruss-lib.c: New file.
57884
57885 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57886
57887 [BZ #16430]
57888 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
57889 (__GI___gettimeofday): Alias for a different internal symbol to avoid
57890 local calls issues by not having a PLT stub required for IFUNC calls.
57891 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
57892
57893 2014-01-16 Joseph Myers <joseph@codesourcery.com>
57894
57895 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
57896 * math/test-fpucw-static.c: Likewise.
57897
57898 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
57899
57900 [BZ #16453]
57901 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
57902
57903 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57904
57905 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
57906 implementation for powerpc.
57907
57908 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
57909
57910 [BZ #14782]
57911 * sysdeps/posix/system.c (__libc_system): Do not enable
57912 asynchronous cancellation.
57913
57914 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57915
57916 [BZ #16427]
57917 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
57918 handling only for numbers special also in the IEEE case.
57919
57920 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57921
57922 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
57923
57924 2014-01-11 Allan McRae <allan@archlinux.org>
57925
57926 * po/bg.po: Update Bulgarian translation from translation project.
57927
57928 * po/de.po: Update German translation from translation project.
57929
57930 2014-01-10 Roland McGrath <roland@hack.frob.com>
57931
57932 * sysdeps/generic/gcc-compat.h: New file.
57933
57934 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
57935
57936 * benchtests/asin-inputs: Correct slow inputs.
57937 * benchtests/acos-inputs: Likewise.
57938
57939 2014-01-10 Allan McRae <allan@archlinux.org>
57940
57941 * po:sv.po: Update Swedish translation from translation project.
57942
57943 * po/vi.po: Update Vietnamese translation from translation project.
57944
57945 * po/eo.po: Update Esperanto translation from translation project.
57946
57947 * po/cs.po: Update Czech translation from translation project.
57948
57949 * po/nl.po: Update Dutch translation from translation project.
57950
57951 * po/pl.po: Update Polish translation from translation project.
57952
57953 * po/ru.po: Update Russian translation from translation project.
57954
57955 * po/uk.po: Update Ukrainian translation from translation project.
57956
57957 2014-01-08 Brooks Moses <bmoses@google.com>
57958
57959 * elf/dl-load.c: Fix comment typo.
57960
57961 2014-01-08 Carlos O'Donell <carlos@redhat.com>
57962
57963 * po/header.pot: Rename to...
57964 * po/pot.header: ... this.
57965 * po/Makefile: Use pot.header.
57966
57967 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
57968 Maxim Kuvyrkov <maxim@kugelworks.com>
57969
57970 [BZ #16394]
57971 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
57972 SRC and DEST against LEN.
57973
57974 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57975
57976 [BZ #16414]
57977 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
57978 implementation.
57979 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
57980
57981 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57982
57983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57984
57985 2014-01-08 Joseph Myers <joseph@codesourcery.com>
57986
57987 [BZ #16408]
57988 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
57989 for large positive arguments.
57990
57991 2014-01-07 Joseph Myers <joseph@codesourcery.com>
57992
57993 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
57994
57995 * math/auto-libm-test-in: Mark various tests with
57996 xfail-rounding:ldbl-128ibm.
57997 * math/auto-libm-test-out: Regenerated.
57998
57999 [BZ #16407]
58000 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
58001 Increase overflow threshold.
58002
58003 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
58004
58005 [BZ #14286]
58006 * stdio-common/vfprintf.c: Check for integer overflow.
58007
58008 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58009
58010 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
58011 the first argument and return value of __tls_get_addr_internal.
58012
58013 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58014
58015 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
58016 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
58017
58018 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58019
58020 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
58021 * sysdeps/s390/rtld-global-offsets.sym: New file.
58022 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
58023 GLIBC_2.19 symbol.
58024 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
58025 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
58026 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
58027 ... this.
58028 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
58029 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
58030 ... this.
58031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58032 Regenerate.
58033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58034 Regenerate.
58035 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
58036 halfs of GPRs for high_gprs contexts.
58037 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
58038 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
58039 field.
58040 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
58041 uc_flags field.
58042 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
58043 64 bit versions:
58044 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
58045 for high GPRs (uc_high_gprs) and for future extensions
58046 (__reserved).
58047 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
58048 for future extensions (__reserved).
58049 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
58050 64 bit versions:
58051 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
58052 SC_HIGHGPRS offset definition.
58053 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
58054 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
58055
58056 * Versions.def: Add GLIBC_2.19 for libpthread.
58057 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
58058 siglongjmp for libpthread with GLIBC_2.19 symver.
58059 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
58060 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
58061 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
58062 * sysdeps/s390/__longjmp.c: New file.
58063 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
58064 * sysdeps/s390/longjmp.c: New file.
58065 * sysdeps/s390/setjmp.S: New file.
58066 * sysdeps/s390/sigjmp.S: New file.
58067 * sysdeps/s390/v1-longjmp.c: New file.
58068 * sysdeps/s390/v1-setjmp.h: New file.
58069 * sysdeps/s390/v1-sigjmp.c: New file.
58070 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
58071 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
58072 GLIBC_2.19 version.
58073 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
58074 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
58075 versioned symbols for ____longjmp_chk.
58076 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
58077 Likewise.
58078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58079 Regenerate.
58080 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58081 Regenerate.
58082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58083 Regenerate.
58084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58085 Regenerate.
58086 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
58087 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
58088 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
58089 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
58090 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
58091 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
58092 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
58093 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
58094 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
58095 * sysdeps/s390/rtld-__longjmp.c: New file.
58096 * sysdeps/s390/rtld-setjmp.S: New file.
58097
58098 2014-01-06 Joseph Myers <joseph@codesourcery.com>
58099
58100 [BZ #16400]
58101 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58102 Return -__logl (x) for small positive arguments without evaluating
58103 a polynomial.
58104
58105 2014-01-06 Mike Frysinger <vapier@gentoo.org>
58106
58107 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
58108 Rename to ...
58109 (__ptrace_peeksiginfo_args): ... this.
58110 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58111 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58112 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58113
58114 2014-01-06 Allan McRae <allan@archlinux.org>
58115
58116 * inet/netinet/in.h: Fix typo in comment.
58117
58118 2014-01-05 Andreas Jaeger <aj@suse.de>
58119
58120 * sysdeps/i386/fpu/libm-test-ulps: Update.
58121
58122 2014-01-05 Allan McRae <allan@archlinux.org>
58123
58124 * po/libc.pot: Regenerated.
58125
58126 * malloc/memusagestat.c: Fix gettext call formatting.
58127
58128 2014-01-04 Sami Kerola <kerolasa@iki.fi>
58129
58130 * nscd/nscd.c: Improve usage() output.
58131
58132 2014-01-04 Mike Frysinger <vapier@gentoo.org>
58133
58134 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
58135 * sysdeps/unix/sysv/linux/configure: Regenerated.
58136 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
58137 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
58138
58139 2014-01-03 Joseph Myers <joseph@codesourcery.com>
58140
58141 [BZ #16390]
58142 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
58143 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
58144
58145 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58146
58147 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
58148 extra tokens at end of #undef directive.
58149 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
58150 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
58151 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
58152
58153 2014-01-03 Joseph Myers <joseph@codesourcery.com>
58154
58155 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58156
58157 * math/auto-libm-test-in: Mark various tests with
58158 xfail-rounding:ldbl-128ibm.
58159 * math/auto-libm-test-out: Regenerated.
58160
58161 2014-01-02 Joseph Myers <joseph@codesourcery.com>
58162
58163 [BZ #16386]
58164 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
58165 numbers with subnormal high part when calculating exponent.
58166
58167 [BZ #16385]
58168 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
58169 fabs.
58170
58171 [BZ #16384]
58172 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
58173 M_LN2l.
58174 (__ieee754_acoshl): Use __log1pl not __log1p.
58175
58176 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
58177
58178 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
58179 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
58180 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
58181 (grow_heap, heap_trim, _int_new_arena, get_free_list)
58182 (reused_arena, arena_get2): Convert to GNU style.
58183 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
58184 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
58185 (memalign_check, __malloc_set_state): Likewise.
58186 * malloc/mallocbug.c (main): Likewise.
58187 * malloc/malloc.c (__malloc_assert, malloc_init_state)
58188 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
58189 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
58190 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
58191 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
58192 (__posix_memalign, malloc_info): Likewise.
58193 * malloc/malloc.h: Likewise.
58194 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
58195 (mallochook, memalignhook, reallochook, mabort): Likewise.
58196 * malloc/mcheck.h: Likewise.
58197 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
58198 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
58199 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
58200 * malloc/morecore.c (__default_morecore): Likewise.
58201 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
58202 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
58203 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
58204 (print_and_abort): Likewise.
58205 * malloc/obstack.h: Likewise.
58206 * malloc/set-freeres.c (__libc_freeres): Likewise.
58207 * malloc/tst-mallocstate.c (main): Likewise.
58208 * malloc/tst-mtrace.c (main): Likewise.
58209 * malloc/tst-realloc.c (do_test): Likewise.
58210
58211 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
58212
58213 [BZ #16366]
58214 * nscd/netgroupcache.c (do_notfound): New function.
58215 (addgetnetgrentX): Use it.
58216
58217 [BZ # 16365]
58218 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
58219 NSS_STATUS_NOTFOUND.
58220
58221 2014-01-01 Joseph Myers <joseph@codesourcery.com>
58222
58223 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
58224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58225
58226 2014-01-01 Allan McRae <allan@archlinux.org>
58227
58228 * scripts/update-copyrights: Update configure input file suffix.
58229
58230 * NEWS: Update copyright year.
58231 * catgets/gencat.c: Likewise.
58232 * csu/version.c: Likewise.
58233 * debug/catchsegv.sh: Likewise.
58234 * debug/pcprofiledump.c: Likewise.
58235 * debug/xtrace.sh: Likewise.
58236 * elf/ldconfig.c: Likewise.
58237 * elf/ldd.bash.in: Likewise.
58238 * elf/pldd.c: Likewise.
58239 * elf/sotruss.ksh: Likewise.
58240 * elf/sprof.c: Likewise.
58241 * iconv/iconv_prog.c: Likewise.
58242 * iconv/iconvconfig.c: Likewise.
58243 * locale/programs/locale.c: Likewise.
58244 * locale/programs/localedef.c: Likewise.
58245 * login/programs/pt_chown.c: Likewise.
58246 * malloc/memusage.sh: Likewise.
58247 * malloc/memusagestat.c: Likewise.
58248 * malloc/mtrace.pl: Likewise.
58249 * manual/libc.texinfo: Likewise.
58250 * nscd/nscd.c: Likewise.
58251 * nss/getent.c: Likewise.
58252 * nss/makedb.c: Likewise.
58253 * posix/getconf.c: Likewise.
58254 * scripts/test-installation.pl: Likewise.
58255
58256 * All files with FSF copyright notices: Update copyright dates
58257 using scripts/update-copyrights.
58258 * intl/plural.c: Regenerated.
58259 * locale/programs/charmap-kw.h: Likewise.
58260 * locale/programs/locfile-kw.h: Likewise.
58261
58262 2013-12-31 Mike Frysinger <vapier@gentoo.org>
58263
58264 * sysdeps/unix/sysv/linux/configure: Regenerated.
58265 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
58266 the linux/fanotify.h header.
58267 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
58268 HAVE_LINUX_FANOTIFY_H is defined.
58269
58270 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
58271
58272 * benchtests/cos-inputs: New inputs.
58273 * benchtests/sin-inputs: Likewise.
58274
58275 * benchtests/atan-inputs: New inputs. Fix name of multiple
58276 precision fallback inputs.
58277
58278 * benchtests/atanh-inputs: New inputs.
58279 * benchtests/tanh-inputs: Likewise.
58280
58281 * benchtests/acosh-inputs: New inputs.
58282 * benchtests/asinh-inputs: Likewise.
58283
58284 * benchtests/cosh-inputs: New inputs.
58285 * benchtests/sinh-inputs: Likewise.
58286
58287 * benchtests/acos-inputs: Add more inputs.
58288 * benchtests/asin-inputs: Likewise.
58289
58290 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
58291
58292 [BZ #16375]
58293 * manual/arith.texi: Fix spelling.
58294 * manual/charset.texi: Likewise.
58295 * manual/errno.texi: Likewise.
58296 * manual/filesys.texi: Likewise.
58297 * manual/lang.texi: Likewise.
58298 * manual/llio.texi: Likewise.
58299 * manual/locale.texi: Likewise.
58300 * manual/message.texi: Likewise.
58301 * manual/resource.texi: Likewise.
58302 * manual/search.texi: Likewise.
58303 * manual/setjmp.texi: Likewise.
58304 * manual/stdio.texi: Likewise.
58305 * manual/string.texi: Likewise.
58306 * manual/sysinfo.texi: Likewise.
58307 * manual/time.texi: Likewise.
58308
58309 2013-12-27 Carlos O'Donell <carlos@redhat.com>
58310
58311 * po/sl.po: New file.
58312
58313 2013-12-27 Mike Frysinger <vapier@gentoo.org>
58314
58315 * .gitignore: Add core/.gdbinit/.gdb_history.
58316
58317 2013-12-27 Allan McRae <allan@archlinux.org>
58318
58319 [BZ #16369]
58320 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
58321 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
58322
58323 2013-12-24 Brooks Moses <bmoses@google.com>
58324
58325 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
58326 all compilers that claim C++98 compliance, not just GCC.
58327 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
58328 Likewise.
58329
58330 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
58331
58332 * NEWS: Restore accidentally deleted bug-fix entries.
58333
58334 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
58335 Ondřej Bílka <neleai@seznam.cz>
58336
58337 [BZ #15073]
58338 * malloc/malloc.c (_int_free): Perform sanity check only if we
58339 have_lock.
58340
58341 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
58342
58343 [BZ #12986]
58344 * manual/stdio.texi (String Input Conversions): Clarify that character
58345 classes are not supported.
58346
58347 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58348
58349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58350
58351 2013-12-22 Joseph Myers <joseph@codesourcery.com>
58352
58353 [BZ #16337]
58354 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58355 Calculate results for small negative arguments directly rather
58356 than using reflection formula with special underflow handling.
58357
58358 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
58359 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
58360 sysdeps/unix/bsd/bsd4.4/syscalls.list.
58361 (fchflags): Likewise.
58362 (revoke): Likewise.
58363 (setlogin): Likewise.
58364 (sigaltstack): Likewise.
58365 (wait4): Likewise.
58366 (sigblock): Remove.
58367 (sigsetmask): Likewise.
58368 (wait3): Likewise.
58369 (waitpid): Likewise.
58370 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
58371 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
58372 file.
58373 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
58374 * sysdeps/unix/bsd/Makefile: ... here.
58375 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
58376 * sysdeps/unix/bsd/Versions: ... here.
58377 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
58378 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
58379 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
58380 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
58381 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
58382 * sysdeps/unix/bsd/sigblock.c: ... here.
58383 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
58384 * sysdeps/unix/bsd/sigsetmask.c: ... here.
58385 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
58386 * sysdeps/unix/bsd/sigvec.c: ... here.
58387 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
58388 * sysdeps/unix/bsd/tcdrain.c: ... here.
58389 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
58390 * sysdeps/unix/bsd/tcgetattr.c: ... here.
58391 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
58392 * sysdeps/unix/bsd/tcsetattr.c: ... here.
58393 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
58394 * sysdeps/unix/bsd/wait.c: ... here.
58395 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
58396 * sysdeps/unix/bsd/wait3.c: ... here.
58397 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
58398 * sysdeps/unix/bsd/waitpid.c: ... here.
58399
58400 2013-12-21 Joseph Myers <joseph@codesourcery.com>
58401
58402 [BZ #16356]
58403 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
58404 round-to-nearest for [!USE_AS_EXPM1L].
58405 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
58406 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
58407 more tests of exp and exp10. Expect some exp10 tests to miss
58408 exceptions or fail in directed rounding modes.
58409 * math/auto-libm-test-out: Regenerated.
58410 * math/libm-test.inc (exp10_tonearest_test_data): New array.
58411 (exp10_test_tonearest): New function.
58412 (exp10_towardzero_test_data): New array.
58413 (exp10_test_towardzero): New function.
58414 (exp10_downward_test_data): New array.
58415 (exp10_test_downward): New function.
58416 (exp10_upward_test_data): New array.
58417 (exp10_test_upward): New function.
58418 (main): Call the new functions.
58419 * sysdeps/i386/fpu/libm-test-ulps: Update.
58420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58421
58422 2013-12-20 Joseph Myers <joseph@codesourcery.com>
58423
58424 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
58425 asinh, atan, atan2, atanh, cbrt, cos and cosh.
58426 * math/auto-libm-test-out: Regenerated.
58427 * math/libm-test.inc (acosh_test_data): Add more tests.
58428 (atanh_test_data): Likewise.
58429 (ceil_test_data): Likewise.
58430 (copysign_test_data): Likewise.
58431 * sysdeps/i386/fpu/libm-test-ulps: Update.
58432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58433
58434 * timezone/checktab.awk: Update from tzcode 2013i.
58435 * timezone/private.h: Likewise.
58436 * timezone/scheck.c: Likewise.
58437 * timezone/tzfile.h: Likewise.
58438 * timezone/tzselect.ksh: Likewise.
58439 * timezone/zdump.c: Likewise.
58440 * timezone/zic.c: Likewise.
58441
58442 * math/auto-libm-test-in: Add tests of cpow.
58443 * math/auto-libm-test-out: Regenerated.
58444 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
58445 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58446 mpc_cc_c.
58447 (func_calc_desc): Add mpc_cc_c union field.
58448 (test_functions): Add cpow.
58449 (special_fill_2pi): New function.
58450 (special_real_inputs): Add 2pi.
58451 (calc_generic_results): Handle mpc_cc_c.
58452 * sysdeps/i386/fpu/libm-test-ulps: Update.
58453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58454
58455 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
58456 csqrt, ctan and ctanh.
58457 * math/auto-libm-test-out: Regenerated.
58458 * math/libm-test.inc (TEST_COND_x86_64): New macro.
58459 (TEST_COND_x86): Likewise.
58460 (ccos_test_data): Use AUTO_TESTS_c_c.
58461 (ccosh_test_data): Likewise.
58462 (cexp_test_data): Likewise.
58463 (clog_test_data): Likewise.
58464 (csqrt_test_data): Likewise.
58465 (ctan_test_data): Likewise.
58466 (ctan_tonearest_test_data): Likewise.
58467 (ctan_towardzero_test_data): Likewise.
58468 (ctan_downward_test_data): Likewise.
58469 (ctan_upward_test_data): Likewise.
58470 (ctanh_test_data): Likewise.
58471 (ctanh_tonearest_test_data): Likewise.
58472 (ctanh_towardzero_test_data): Likewise.
58473 (ctanh_downward_test_data): Likewise.
58474 (ctanh_upward_test_data): Likewise.
58475 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58476 mpc_c_c.
58477 (func_calc_desc): Add mpc_c_c union field.
58478 (FUNC_mpc_c_c): New macro.
58479 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
58480 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
58481 ctanh.
58482 (special_fill_min_subnorm_p120): New function.
58483 (special_real_inputs): Add min_subnorm_p120.
58484 (calc_generic_results): Handle mpc_c_c.
58485 * sysdeps/i386/fpu/libm-test-ulps: Update.
58486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58487
58488 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
58489
58490 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
58491 (do_sin_slow): New functions.
58492 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
58493 (cslow2, csloww1, csloww2): Use the new functions.
58494
58495 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
58496 Use M to change sign of result instead of X. Assume X is
58497 positive.
58498 (csloww1): Likewise.
58499 (__sin): Adjust.
58500 (__cos): Adjust.
58501
58502 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
58503 arguments A and DA.
58504 (__sin): Adjust.
58505 (__cos): Likewise.
58506
58507 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
58508 (__cos): Likewise.
58509 (sloww1): Don't adjust sign of DX.
58510 (csloww1): Likewise.
58511 (sloww2): Use X directly and don't adjust sign of DX.
58512 (csloww2): Likewise.
58513
58514 2013-12-19 Joseph Myers <joseph@codesourcery.com>
58515
58516 * math/auto-libm-test-in: Add tests of cabs and carg.
58517 * math/auto-libm-test-out: Regenerated.
58518 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
58519 (carg_test_data): Likewise.
58520 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58521 mpc_c_f.
58522 (func_calc_desc): Add mpc_c_f union field.
58523 (test_functions): Add cabs and carg.
58524 (calc_generic_results): Handle mpc_c_f.
58525
58526 * sysdeps/powerpc/powerpc32/libgcc-compat.S
58527 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
58528 as a macro and a compat symbol.
58529 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
58530 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
58531 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
58532 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
58533 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
58534 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
58535 not use .hidden.
58536 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
58537 Likewise.
58538 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
58539 Likewise.
58540 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
58541 Likewise.
58542 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
58543 Likewise.
58544 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
58545 Likewise.
58546 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
58547 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
58548 from GLIBC_2.3.2.
58549
58550 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58551
58552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58553
58554 2013-12-19 Joseph Myers <joseph@codesourcery.com>
58555
58556 * manual/texinfo.tex: Update to version 2013-11-26.10 with
58557 trailing whitespace removed.
58558 * scripts/config.guess: Update to version 2013-11-29.
58559 * scripts/config.sub: Update to version 2013-10-01.
58560
58561 * math/auto-libm-test-in: Add tests of sincos.
58562 * math/auto-libm-test-out: Regenerated.
58563 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
58564 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58565 mpfr_f_11.
58566 (func_calc_desc): Add mpfr_f_11 union field.
58567 (test_functions): Add sincos.
58568 (calc_generic_results): Handle mpfr_f_11.
58569 * sysdeps/i386/fpu/libm-test-ulps: Update.
58570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58571
58572 2013-12-19 Andreas Schwab <schwab@suse.de>
58573
58574 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
58575 CALL_MCOUNT.
58576 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
58577 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
58578 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
58579
58580 2013-12-19 Joseph Myers <joseph@codesourcery.com>
58581
58582 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
58583 * sysdeps/i386/fpu/libm-test-ulps: Update.
58584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58585
58586 [BZ #16293]
58587 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
58588 round-to-nearest mode when using frndint.
58589 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
58590 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
58591 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
58592 Likewise.
58593 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
58594 sinh test to fail.
58595 * math/auto-libm-test-out: Regenerated.
58596 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
58597 (TEST_COND_x86): Likewise.
58598 (expm1_tonearest_test_data): New array.
58599 (expm1_test_tonearest): New function.
58600 (expm1_towardzero_test_data): New array.
58601 (expm1_test_towardzero): New function.
58602 (expm1_downward_test_data): New array.
58603 (expm1_test_downward): New function.
58604 (expm1_upward_test_data): New array.
58605 (expm1_test_upward): New function.
58606 (main): Run the new test functions.
58607 * sysdeps/i386/fpu/libm-test-ulps: Update.
58608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58609
58610 * include/features.h: Update comment documenting feature test
58611 macros. Mention _DEFAULT_SOURCE in comment.
58612 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
58613 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
58614 _BSD_SOURCE and _SVID_SOURCE.
58615 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
58616 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
58617 !_SVID_SOURCE]: Likewise.
58618 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58619 (__USE_POSIX_IMPLICITLY): Define.
58620 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58621 (_POSIX_SOURCE): Undefine and redefine.
58622 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58623 (_POSIX_C_SOURCE): Likewise.
58624 * manual/creature.texi (_DEFAULT_SOURCE): Document.
58625 (Feature Test Macros): Update documentation of default features.
58626
58627 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
58628
58629 * benchtests/Makefile: Add bench-strtok.
58630 * benchtests/bench-strtok.c: New file: strtok benchtest.
58631
58632 2013-12-19 Allan McRae <allan@archlinux.org>
58633
58634 * manual/install.texi: Suppress menu for plain text output.
58635 * INSTALL: Regenerated.
58636
58637 2013-12-18 Brooks Moses <bmoses@google.com>
58638
58639 [BZ #15846]
58640 * misc/getauxval.c: Include errno.h.
58641 (__getauxval): Set errno to ENOENT if the requested type is not
58642 found.
58643 * misc/sys/auxv.h (getauxval): Document that it may set errno;
58644 don't declare with __attribute_const__.
58645 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
58646 * manual/startup.texi: Document that getauxval sets errno.
58647
58648 2013-12-18 Joseph Myers <joseph@codesourcery.com>
58649
58650 * math/auto-libm-test-in: Add tests of jn and yn.
58651 * math/auto-libm-test-out: Regenerated.
58652 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
58653 (yn_test_data): Likewise.
58654 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58655 mpfr_if_f.
58656 (func_calc_desc): Add mpfr_if_f union field.
58657 (FUNC_mpfr_if_f): New macro.
58658 (test_functions): Add jn and yn.
58659 (calc_generic_results): Assert type of second input for
58660 mpfr_ff_f. Handle mpfr_if_f.
58661 (output_for_one_input_case): Disable all checking for arguments
58662 fitting floating-point types in case of an integer argument.
58663 * sysdeps/i386/fpu/libm-test-ulps: Update.
58664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58665
58666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
58667 Don't expect fegetround reference in libm.so.
58668
58669 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
58670
58671 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
58672 $(config-cflags-nofma).
58673
58674 2013-12-18 Joseph Myers <joseph@codesourcery.com>
58675
58676 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
58677 * math/auto-libm-test-out: Regenerated.
58678
58679 [BZ #16338]
58680 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
58681 to determine exponent and adjust argument to have exponent of -1.
58682 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
58683 log2.
58684 * math/auto-libm-test-out: Regenerated.
58685 * sysdeps/i386/fpu/libm-test-ulps: Update.
58686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58687
58688 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
58689
58690 * manual/probes.texi: Remove cases when per-thread arenas are
58691 disabled.
58692
58693 2013-12-18 Andreas Schwab <schwab@suse.de>
58694
58695 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
58696 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
58697 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
58698 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
58699 * sysdeps/i386/i686/multiarch/Makefile: Update.
58700 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
58701
58702 2013-12-17 Joseph Myers <joseph@codesourcery.com>
58703
58704 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
58705 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
58706
58707 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
58708
58709 [BZ #15968]
58710 Support TZ transition times < 00:00:00.
58711 This is needed for version-3 tz-format files; it supports time
58712 stamps past 2037 for America/Godthab (the only entry in the tz
58713 database for which this change is relevant).
58714 * manual/time.texi (TZ Variable): Document transition times
58715 from -167:59:59 through -00:00:01.
58716 * time/tzset.c (tz_rule): Time of day is now signed.
58717 (__tzset_parse_tz): Parse negative time of day.
58718
58719 Document TZ transition times >= 25:00:00.
58720 * manual/time.texi (TZ Variable): Document transition times from
58721 25:00:00 through 167:59:59. These are already supported, and this
58722 support will help with version-3 tz-format files.
58723
58724 * manual/time.texi (TZ Variable): Modernize North America example
58725 to reflect current (i.e., 2007-and-later) daylight saving rules.
58726
58727 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
58728
58729 2013-12-17 Joseph Myers <joseph@codesourcery.com>
58730
58731 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
58732 * sysdeps/unix/bsd/bits/stat.h: Likewise.
58733 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
58734 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
58735 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
58736 * sysdeps/unix/bsd/bsdstat.h: Likewise.
58737 * sysdeps/unix/bsd/clock.c: Likewise.
58738 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
58739 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
58740 * sysdeps/unix/bsd/init-posix.c: Likewise.
58741 * sysdeps/unix/bsd/poll.c: Likewise.
58742 * sysdeps/unix/bsd/ptsname.c: Likewise.
58743 * sysdeps/unix/bsd/seekdir.c: Likewise.
58744 * sysdeps/unix/bsd/setegid.c: Likewise.
58745 * sysdeps/unix/bsd/seteuid.c: Likewise.
58746 * sysdeps/unix/bsd/setgid.c: Likewise.
58747 * sysdeps/unix/bsd/setrgid.c: Likewise.
58748 * sysdeps/unix/bsd/setruid.c: Likewise.
58749 * sysdeps/unix/bsd/setsid.c: Likewise.
58750 * sysdeps/unix/bsd/setuid.c: Likewise.
58751 * sysdeps/unix/bsd/sigaction.c: Likewise.
58752 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
58753 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
58754 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
58755 * sysdeps/unix/bsd/telldir.c: Likewise.
58756 * sysdeps/unix/bsd/times.c: Likewise.
58757 * sysdeps/unix/bsd/usleep.c: Likewise.
58758
58759 * misc/Makefile (install-lib): Remove libbsd-compat.a.
58760 ($(objpfx)libbsd-compat.a): Remove rule.
58761
58762 * include/features.h (__FAVOR_BSD): Do not define.
58763 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
58764 features conflicting with POSIX.
58765 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
58766 (_BSD_SOURCE): Remove description of not being a subset of other
58767 feature test macros.
58768 * manual/job.texi (getpgrp): Do not document BSD version.
58769 (getpgid): Do not document by reference to BSD getpgrp.
58770 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
58771 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
58772 * signal/signal.h [__FAVOR_BSD]: Likewise.
58773 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
58774 instead of making contents conditional on [__FAVOR_BSD].
58775 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
58776
58777 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58778
58779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58780
58781 2013-12-17 Joseph Myers <joseph@codesourcery.com>
58782
58783 [BZ #16314]
58784 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
58785 values below 2**-450, not 2**-500.
58786 * math/auto-libm-test-in: Don't allow spurious underflow from
58787 hypot.
58788 * math/auto-libm-test-out: Regenerated.
58789
58790 [BZ #16316]
58791 [BZ #16330]
58792 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
58793 values of ha and hb and sort them after adjusting subnormal
58794 arguments.
58795 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
58796 Likewise.
58797 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
58798 values of ea and eb and sort them after adjusting subnormal
58799 arguments.
58800 * math/auto-libm-test-in: Do not expect some hypot tests of
58801 subnormals to fail. Add more hypot tests.
58802 * math/auto-libm-test-out: Regenerated.
58803
58804 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58805
58806 [BZ #13304]
58807 * sysdeps/sh/s_fma.c: New file.
58808 * sysdeps/sh/s_fmaf.c: New file.
58809 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
58810 version.
58811 * sysdeps/sh/Implies: Add sh/soft-fp.
58812
58813 2013-12-16 Roland McGrath <roland@hack.frob.com>
58814
58815 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
58816 level of indirection to members `objname', `errstring', `malloced'.
58817 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
58818 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
58819 it as the __longjmp argument (just pass 1 instead).
58820 (_dl_catch_error): Initialize C with argument pointers and address of
58821 volatile local ERRCODE rather than copying values out of C at return.
58822
58823 2013-12-16 Joseph Myers <joseph@codesourcery.com>
58824
58825 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
58826 * math/auto-libm-test-out: Regenerated.
58827 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
58828 (hypot_test_data): Likewise.
58829 (pow_test_data): Likewise.
58830 (pow_tonearest_test_data): Likewise.
58831 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58832 mpfr_ff_f.
58833 (func_calc_desc): Add mpfr_ff_f union field.
58834 (FUNC_mpfr_ff_f): New macro.
58835 (test_functions): Add atan2, hypot and pow.
58836 (special_fill_min): New function.
58837 (special_fill_minus_min): Likewise.
58838 (special_fill_min_subnorm): Likewise.
58839 (special_fill_minus_min_subnorm): Likewise.
58840 (special_real_inputs): Add min, -min, min_subnorm and
58841 -min_subnorm.
58842 (calc_generic_results): Handle mpfr_ff_f.
58843 * sysdeps/i386/fpu/libm-test-ulps: Update.
58844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58845
58846 2013-12-16 Will Newton <will.newton@linaro.org>
58847
58848 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
58849 (Aligned Memory Blocks): Add documentation for aligned_alloc
58850 and suggest it as an alternative to posix_memalign.
58851 (Hooks for Malloc): Document __memalign_hook is also called
58852 for aligned_alloc. (Summary of Malloc): Add summary for
58853 aligned alloc. Document __memalign_hook is also called
58854 for aligned_alloc.
58855
58856 2013-12-16 Will Newton <will.newton@linaro.org>
58857
58858 * manual/memory.texi (Malloc Examples): Clarify default
58859 alignment documentation. Suggest posix_memalign rather
58860 than memalign or valloc.
58861 (Aligned Memory Blocks): Remove suggestion to use memalign
58862 or valloc. Remove obsolete comment about BSD.
58863 Document memalign errno values and mark the function obsolete.
58864 Document posix_memalign returned error codes. Mark valloc
58865 as obsolete. (Hooks for Malloc): __memalign_hook is also
58866 called for posix_memalign and valloc.
58867 (Summary of Malloc): Add posix_memalign to function summary.
58868 __memalign_hook is also called for posix_memalign and valloc.
58869
58870 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
58871
58872 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
58873 TAYLOR_SIN.
58874 (__sin): Adjust.
58875 (__cos): Likewise.
58876 (sloww): Use mynumber union. Expand ternary operator into
58877 if-else statements.
58878 (cslow): use mynumber union.
58879
58880 2013-12-16 Allan McRae <allan@archlinux.org>
58881
58882 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
58883 * configure: Regenerated.
58884
58885 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
58886
58887 [BZ #14120]
58888 * configure.ac: Added --enable-maintainer-mode. Check for
58889 autoconf when enabled.
58890 * configure: Regenerated.
58891
58892 * nscd/nscd.service: New file.
58893 * nscd/nscd.tmpfiles: New file.
58894
58895 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
58896
58897 [BZ #12100]
58898 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
58899 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
58900 * sysdeps/x86_64/multiarch/strstr.c: ... here.
58901 (strstr): Add __strstr_sse2_unaligned ifunc.
58902 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
58903 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
58904 (strcasestr): Remove __strcasestr_sse42 ifunc.
58905 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
58906 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
58907 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
58908
58909 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58910
58911 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
58912 * sysdeps/sh/bits/fenv.h: ... here.
58913 * sysdeps/sh/sh4/fpu/bits: Remove directory.
58914
58915 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58916
58917 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
58918
58919 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
58920 hypotf multiarch implementations.
58921 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
58922 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
58923 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
58924 multiarch hypot for PPC64.
58925 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
58926 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
58927 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
58928 multiarch hypotf for PPC64.
58929
58930 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
58931 modff multiarch implementations.
58932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
58933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
58934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
58935 multiarch modf for PPC64.
58936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
58937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
58938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
58939 multiarch modff for PPC64.
58940
58941 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
58942 and logl multiarch implementations.
58943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
58944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
58945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
58946 multiarch logb for PPC64.
58947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
58948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
58949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
58950 multiarch logb for PPC64.
58951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
58952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
58953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
58954 multiarch logb for PPC64.
58955
58956 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
58957 isinff multiarch implementation.
58958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
58959 file.
58960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
58961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
58962 multiarch isinf for PPC64.
58963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
58964 file.
58965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
58966 multiarch isinff for PPC64.
58967
58968 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
58969 finitef multiarch implementation.
58970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
58971 file.
58972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
58973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
58974 multiarch finite for PPC64.
58975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
58976 file.
58977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
58978 multiarch finitef for PPC64.
58979
58980 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
58981 lrint multiarch implementation.
58982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
58983 file.
58984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
58985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
58986 multiarch llrint for PPC64.
58987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
58988 multiarch lrint for PPC64.
58989
58990 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
58991 copysignf multiarch implementation.
58992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
58993 file.
58994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
58995 file.
58996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
58997 multiarch copysign for PPC64.
58998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
58999 multiarch copysignf for PPC64.
59000
59001 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
59002 multiarch implementation.
59003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
59004 file.
59005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
59006 file.
59007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
59008 file.
59009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
59010 file.
59011 multiarch llround for PPC64.
59012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
59013 multiarch trunc for PPC64.
59014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
59015 multiarch truncf for PPC64.
59016
59017 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
59018 multiarch implementation.
59019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
59020 file.
59021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
59022 file.
59023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
59024 file.
59025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
59026 file.
59027 multiarch llround for PPC64.
59028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
59029 multiarch round for PPC64.
59030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
59031 multiarch roundf for PPC64.
59032
59033 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
59034 multiarch implementation.
59035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
59036 file.
59037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
59038 file.
59039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
59040 file.
59041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
59042 file.
59043 multiarch llround for PPC64.
59044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
59045 multiarch floor for PPC64.
59046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
59047 multiarch floorf for PPC64.
59048
59049 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
59050 multiarch implementation.
59051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
59052 file.
59053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
59054 file.
59055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
59056 file.
59057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
59058 file.
59059 multiarch llround for PPC64.
59060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
59061 multiarch ceil for PPC64.
59062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
59063 multiarch ceilf for PPC64.
59064
59065 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
59066 multiarch implementation.
59067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
59068 file.
59069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
59070 file.
59071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
59072 file.
59073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
59074 multiarch llround for PPC64.
59075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
59076 multiarch lround for PPC64.
59077
59078 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
59079 multiarch implementation.
59080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
59081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
59082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
59083 file.
59084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
59085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
59086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
59087 multiarch isnan for PPC64.
59088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
59089 multiarch isnanf for PPC64.
59090
59091 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
59092 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
59093 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
59094 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
59095 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
59096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
59097
59098 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
59099 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59100 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59101 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59102
59103 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
59104 multiarch implementations.
59105 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59106 (__libc_ifunc_impl_list): Likewise.
59107 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
59108 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
59109 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
59110 multiarch stpcpy for PPC64.
59111
59112 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
59113 multiarch implementations.
59114 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59115 (__libc_ifunc_impl_list): Likewise.
59116 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
59117 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
59118 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
59119 multiarch strcpy for PPC64.
59120
59121 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
59122 redefine function name.
59123 (_wordcopy_fwd_dest_aligned): Likewise.
59124 (_wordcopy_bwd_aligned): Likewise.
59125 (_wordcopy_bwd_dest_aligned): Likewise.
59126 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
59127 multiarch implementations.
59128 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59129 (__libc_ifunc_impl_list): Likewise.
59130 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
59131 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
59132 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
59133 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
59134 multiarch wcscpy for PPC64.
59135
59136 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
59137 multiarch implementations.
59138 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59139 (__libc_ifunc_impl_list): Likewise.
59140 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
59141 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
59142 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
59143 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
59144 multiarch wcscpy for PPC64.
59145
59146 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
59147 multiarch implementations.
59148 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59149 (__libc_ifunc_impl_list): Likewise.
59150 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
59151 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
59152 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
59153 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
59154 multiarch wcsrchr for PPC64.
59155
59156 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
59157 multiarch implementations.
59158 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59159 (__libc_ifunc_impl_list): Likewise.
59160 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
59161 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
59162 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
59163 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
59164 multiarch wcschr for PPC64.
59165
59166 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
59167 multiarch implementations.
59168 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59169 (__libc_ifunc_impl_list): Likewise.
59170 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
59171 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
59172 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
59173 multiarch strchrnul for PPC64.
59174
59175 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
59176 implementations.
59177 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59178 (__libc_ifunc_impl_list): Likewise.
59179 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
59180 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
59181 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
59182 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
59183 strchr for PPC64.
59184
59185 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
59186 implementations.
59187 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59188 (__libc_ifunc_impl_list): Likewise.
59189 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
59190 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
59191 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
59192 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
59193 strncmp for PPC64.
59194
59195 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
59196 multiarch implementations.
59197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59198 (__libc_ifunc_impl_list): Likewise.
59199 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
59200 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
59201 strncasecmp for PPC64.
59202 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
59203 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
59204 multiarch strncasecmp_l for PPC64.
59205
59206 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
59207 multiarch implementations.
59208 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
59209 (__libc_ifunc_impl_list): Likewise.
59210 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
59211 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
59212 multiarch strcasecmp for PPC64.
59213 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
59214 file.
59215 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
59216 multiarch strcasecmp_l for PPC64.
59217
59218 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
59219 implementations.
59220 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59221 (__libc_ifunc_impl_list): Likewise.
59222 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
59223 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
59224 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
59225 strnlen for PPC64.
59226
59227 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
59228 implementations.
59229 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59230 (__libc_ifunc_impl_list): Likewise.
59231 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
59232 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
59233 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
59234 strlen for PPC64.
59235
59236 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
59237 implementations.
59238 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59239 (__libc_ifunc_impl_list): Likewise.
59240 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
59241 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
59242 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
59243 rawmemrchr for PPC64.
59244
59245 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
59246 implementation.
59247 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59248 (__libc_ifunc_impl_list): Likewise.
59249 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
59250 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
59251 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
59252 memrchr for PPC64.
59253
59254 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
59255 implementation.
59256 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59257 (__libc_ifunc_impl_list): Likewise.
59258 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
59259 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
59260 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
59261 memchr for PPC64.
59262
59263 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
59264 implementation.
59265 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59266 (__libc_ifunc_impl_list): Likewise.
59267 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
59268 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
59269 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
59270 mempcpy for PPC64.
59271
59272 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
59273 avoid cretion of __bzero symbol.
59274 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
59275 Likewise.
59276 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
59277 Likewise.
59278 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
59279 Likewise.
59280 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
59281 multiarch implementations.
59282 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59283 (__libc_ifunc_impl_list): Likewise.
59284 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
59285 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
59286 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
59287 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
59288 bzero for PPC32.
59289 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
59290 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
59291 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
59292 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
59293 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
59294 memset for PPC64.
59295 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
59296
59297 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
59298 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
59299 implementations.
59300 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59301 (__libc_ifunc_impl_list): Likewise.
59302 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
59303 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
59304 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
59305 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
59306 memcmp for PPC64.
59307
59308 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
59309 multiarch for POWER/PPC64.
59310 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
59311 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
59312 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
59313 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
59314 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
59315 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
59316 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
59317 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
59318 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
59319 memcpy for PPC64.
59320
59321 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
59322 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
59323 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
59324 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
59325 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
59326 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
59327 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
59328 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
59329 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
59330 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
59331 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
59332 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
59333 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
59334 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
59335 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
59336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
59337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
59338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
59339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
59340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
59341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
59342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
59343
59344 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
59345
59346 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
59347
59348 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
59349
59350 * benchtests/Makefile (bench): Add exp2 and log2.
59351 (LDLIBS-bench-exp2): Add -lm.
59352 (LDLIBS-bench-log2): Likewise.
59353 * benchtests/exp2-inputs: New inputs file.
59354 * benchtests/log2-inputs: New inputs file.
59355 * benchtests/log-inputs: Add new inputs.
59356 * benchtests/tan-inputs: Likewise.
59357
59358 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
59359
59360 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
59361 definition...
59362 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
59363 (csloww2): ... from here.
59364
59365 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
59366 instead of structures.
59367 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
59368 (POLYNOMIAL): Likewise.
59369 (TAYLOR_SLOW): Likewise.
59370 (__sin): Likewise.
59371 (__cos): Likewise.
59372 (slow1): Likewise.
59373 (slow2): Likewise.
59374 (sloww): Likewise.
59375 (sloww1); Likewise.
59376 (sloww2): Likewise.
59377 (bsloww1): Likewise.
59378 (bsloww2): Likewise.
59379 (cslow2): Likewise.
59380 (csloww): Likewise.
59381 (csloww1): Likewise.
59382 (csloww2): Likewise.
59383
59384 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
59385
59386 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
59387 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
59388 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
59389 * malloc/hooks.c (realloc_check): Likewise.
59390
59391 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
59392 * malloc/arena.c: Remove PER_THREAD conditional.
59393 [!PER_THREAD]: Remove code.
59394 (ptmalloc_unlock_all2): Likewise.
59395 (ptmalloc_init): Likewise.
59396 (_int_new_arena): Likewise.
59397 (arena_get2): Likewise.
59398 * malloc/hooks.c (__malloc_get_state): Likewise.
59399 (__malloc_set_state): Likewise.
59400 * malloc/malloc.c: Likewise.
59401 (struct malloc_state): Likewise.
59402 (struct malloc_par): Likewise.
59403 (__libc_realloc): Likewise.
59404 (__libc_mallopt): Likewise.
59405
59406 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59407
59408 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
59409
59410 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
59411
59412 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
59413 macro to a function. Check for zero perturb_byte.
59414 (_int_malloc, _int_free): Remove zero perturb_byte checks.
59415
59416 * malloc/malloc.c: (force_reg): Remove.
59417 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
59418 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
59419 force_reg by atomic_forced_read.
59420 * malloc/arena.c (ptmalloc_init): Likewise.
59421 * malloc/hooks.c (top_check): Likewise.
59422
59423 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59424
59425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59426
59427 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
59428
59429 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59430
59431 2013-12-08 Joseph Myers <joseph@codesourcery.com>
59432
59433 * math/auto-libm-test-in: Add tests of lgamma.
59434 * math/auto-libm-test-out: Regenerated.
59435 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
59436 (M_LOG_2_SQRT_PIl): Likewise.
59437 (lgamma_test_data): Use AUTO_TESTS_f_f1.
59438 * math/gen-auto-libm-tests.c (func_calc_method): Add value
59439 mpfr_f_f1.
59440 (func_calc_desc): Add mpfr_f_f1 union field.
59441 (ARGS1): New macro.
59442 (ARGS2): Likewise.
59443 (ARGS3): Likewise.
59444 (ARGS4): Likewise.
59445 (RET1): Likewise.
59446 (RET2): Likewise.
59447 (CALC): Likewise.
59448 (FUNC): Likewise.
59449 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
59450 (test_functions): Add lgamma.
59451 (calc_generic_results): Handle mpfr_f_f1.
59452 * sysdeps/i386/fpu/libm-test-ulps: Update.
59453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59454
59455 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59456
59457 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
59458 __mpn_add_n for PowerPC64/POWER7.
59459 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
59460 __mpn_sub_n for PowerPC64/POWER7.
59461
59462 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
59463 __mpn_addmul_1 for PowerPC64.
59464 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
59465 __mpn_submul_1 for PowerPC64.
59466 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
59467 for PowerPC64.
59468 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
59469 for PowerPC64.
59470
59471 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
59472
59473 [BZ #15089]
59474 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
59475
59476 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59477
59478 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
59479
59480 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
59481 add multiarch folders.
59482 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
59483 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
59484 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
59485 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
59486 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
59487 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
59488 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
59489 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
59490 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
59491 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
59492 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
59493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
59494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
59495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
59496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
59497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
59498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
59499
59500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59501 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
59502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
59503 New file.
59504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
59505 New file.
59506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
59507 multiarch __ieee754_hypot for PowerPC32.
59508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
59509 New file.
59510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
59511 New file.
59512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
59513 multiarch __ieee754_hypotf for PowerPC32.
59514
59515 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
59516 long_double_symbol only if __logbl is defined.
59517 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
59518 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
59519 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
59520 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
59521 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
59522 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
59523 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
59524 path for implementation.
59525 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
59526 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
59527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
59528 logb, and logbl multiarch implementations for PowerPC32.
59529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
59530 file.
59531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
59532 file.
59533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
59534 multiarch logb for PowerPC32.
59535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
59536 file.
59537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
59538 file.
59539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
59540 multiarch logbf for PowerPC32.
59541 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
59542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
59543 file.
59544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
59545 multiarch logbl implementation for PowerPC32.
59546
59547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
59548 and modff multiarch implementations.
59549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
59550 New file.
59551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
59552 New file.
59553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
59554 multiarch modf for PowerPC32.
59555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
59556 New file.
59557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
59558 New file.
59559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
59560 multiarch modff for PowerPC32.
59561
59562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
59563 and lrintf multiarch implementations.
59564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
59565 New file.
59566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
59567 New file.
59568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
59569 multiarch lrint for PowerPC32.
59570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
59571 file: multiarch lrintf for PowerPC32.
59572
59573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
59574 and lroundf multiarch implementations.
59575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
59576 New file.
59577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
59578 New file.
59579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
59580 New file.
59581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
59582 multiarch lround for PowerPC32.
59583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
59584 file: multiarch lroundf for PowerPC32.
59585
59586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59587 copysign and copysignf multiarch implementations.
59588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
59589 New file.
59590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
59591 New file.
59592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
59593 file: multiarch copysign for PowerPC32.
59594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
59595 file: multiarch copysignf for PowerPC32.
59596
59597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
59598 and truncf multiarch implementations.
59599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
59600 New file.
59601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
59602 file.
59603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
59604 multiarch trunc for PowerPC32.
59605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
59606 New file.
59607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
59608 New file.
59609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
59610 multiarch truncf for PowerPC32.
59611
59612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
59613 and roundf multiarch implementations.
59614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
59615 New file.
59616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
59617 file.
59618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
59619 multiarch round for PowerPC32.
59620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
59621 New file.
59622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
59623 New file.
59624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
59625 multiarch roundf for PowerPC32.
59626
59627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
59628 and floorf multiarch implementations.
59629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
59630 New file.
59631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
59632 file.
59633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
59634 multiarch floor for PowerPC32.
59635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
59636 New file.
59637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
59638 New file.
59639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
59640 multiarch floorf for PowerPC32.
59641
59642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
59643 and ceilf multiarch implementations.
59644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
59645 New file.
59646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
59647 file.
59648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
59649 multiarch ceil for PowerPC32.
59650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
59651 New file.
59652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
59653 file.
59654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
59655 multiarch ceilf for PowerPC32.
59656
59657 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
59658 is defined.
59659 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
59660 FINITEF is defined.
59661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
59662 and finitef multiarch implementations.
59663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
59664 New file.
59665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
59666 file.
59667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
59668 multiarch finite for PowerPC32.
59669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
59670 New file.
59671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
59672 file: multiarch finitef for PowerPC32.
59673
59674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
59675 and isinff multiarch implementations.
59676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
59677 file.
59678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
59679 file.
59680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
59681 multiarch isinf for PowerPC32.
59682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
59683 New file.
59684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
59685 multiarch isinff for PowerPC32.
59686
59687 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
59688 alias when __isnan is defined.
59689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
59690 and isnanf multiarch implementations.
59691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
59692 file.
59693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
59694 file.
59695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
59696 file.
59697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
59698 file.
59699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
59700 multiarch isnan for PowerPC32.
59701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
59702 New file.
59703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
59704 New file.
59705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
59706 multiarch isnanf for PowerPC32.
59707
59708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
59709 and sqrtf multiarch implementations.
59710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
59711 file.
59712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
59713 file.
59714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
59715 multiarch sqrt for PowerPC32.
59716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
59717 file.
59718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
59719 file.
59720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
59721 multiarch sqrtf for PowerPC32.
59722
59723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
59724 and llroundf multiarch implementations.
59725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
59726 New file.
59727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
59728 New file.
59729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
59730 New file.
59731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
59732 file: multiarch llround for PowerPC32.
59733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
59734 file: multiarch llroundf for PowerPC32.
59735
59736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
59737 multiarch PowerPC32 fpu implementations.
59738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
59739 New file.
59740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
59741 New file.
59742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
59743 multiarch llrint for PowerPC32.
59744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
59745 New file.
59746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
59747 New file.
59748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
59749 file.
59750
59751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
59752
59753 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
59754 file.
59755 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
59756 file.
59757 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
59758 file.
59759 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
59760 multiarch wordcopy for PPC32.
59761 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
59762 wordcopy objects.
59763 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59764 (__libc_ifunc_impl_list): Likewise.
59765 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
59766 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
59767 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
59768 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
59769 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
59770 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
59771
59772 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
59773 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
59774 file.
59775 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
59776 file.
59777 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
59778 file.
59779 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
59780 multiarch wcscpy for PPC32.
59781 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
59782 multiarch objects.
59783 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59784 (__libc_ifunc_impl_list): Likewise.
59785 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
59786 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
59787 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
59788 sysdeps/powerpc/power6/wcscpy.c.
59789
59790 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
59791 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
59792 file.
59793 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
59794 file.
59795 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
59796 file.
59797 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
59798 multiarch wcsrchr for PPC32.
59799 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
59800 multiarch objects.
59801 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59802 (__libc_ifunc_impl_list): Likewise.
59803 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
59804 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
59805 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
59806 sysdeps/powerpc/power6/wcsrchr.c.
59807
59808 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
59809 file.
59810 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
59811 file.
59812 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
59813 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
59814 multiarch wcschr for PPc32.
59815 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
59816 multiarch objects.
59817 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59818 (__libc_ifunc_impl_list): Likewise.
59819 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
59820 * sysdeps/powerpc/power6/wcschr.c: ... to here.
59821 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
59822 sysdeps/powerpc/power6/wcschr.c.
59823
59824 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
59825 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
59826 file.
59827 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
59828 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
59829 file: multiarch strchr for PPC32.
59830 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
59831 multiarch objects.
59832 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59833 (__libc_ifunc_impl_list): Likewise.
59834
59835 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
59836 name.
59837 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
59838 file.
59839 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
59840 file.
59841 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
59842 multiarch strchrnul for PPC32.
59843 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
59844 multiarch objects.
59845 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59846 (__libc_ifunc_impl_list): Likewise.
59847
59848 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
59849 file.
59850 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
59851 multiarch strncasecmp for PPC32.
59852 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
59853 file.
59854 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
59855 multiarch strncasecmp_l for PPC32.
59856 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
59857 strncasecmp multiarch objects.
59858 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59859 (__libc_ifunc_impl_list): Likewise.
59860
59861 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
59862 file.
59863 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
59864 multiarch strncasecmp for PPC32.
59865 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
59866 New file.
59867 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
59868 multiarch strcasecmp_l for PPC32.
59869 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
59870 multiarch objects.
59871 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59872 (__libc_ifunc_impl_list): Likewise.
59873
59874 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
59875 file.
59876 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
59877 file.
59878 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
59879 multiarch strncmp for PPC32.
59880 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
59881 multiarch objects.
59882 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59883 (__libc_ifunc_impl_list): Likewise.
59884
59885 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
59886 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
59887 file.
59888 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
59889 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
59890 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
59891 multiarch objects.
59892 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59893 (__libc_ifunc_impl_list): Likewise.
59894
59895 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
59896 file.
59897 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
59898 file.
59899 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
59900 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
59901 multiarch objects.
59902 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59903 (__libc_ifunc_impl_list): Likewise.
59904
59905 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
59906 file.
59907 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
59908 file.
59909 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
59910 multiarch rawmemchr for PPC32.
59911 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
59912 multiarch objects.
59913 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59914 (__libc_ifunc_impl_list): Likewise.
59915
59916 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
59917 file.
59918 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
59919 file.
59920 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
59921 file: memrchr multiarch for PPC32.
59922 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
59923 multiarch objects.
59924 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59925 (__libc_ifunc_impl_list): Likewise.
59926
59927 * string/memchr.c (__memchr): Using macro to redefine symbol name.
59928 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
59929 file.
59930 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
59931 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
59932 multiarch memchr for PPC32.
59933 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
59934 multiarch objects.
59935 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59936 (__libc_ifunc_impl_list): Likewise.
59937
59938 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
59939 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
59940 file.
59941 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
59942 file.
59943 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
59944 file: multiarch mempcpy for PPC32.
59945 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
59946 multiarch objects.
59947 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59948 (__libc_ifunc_impl_list): Likewise.
59949
59950 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
59951 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
59952 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
59953 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
59954 multiarch bzero for PPC32.
59955 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
59956 file.
59957 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
59958 file.
59959 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
59960 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
59961 file: multiarch memset for PPC32.
59962 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
59963 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
59964 memset multiarch objects.
59965 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59966 (__libc_ifunc_impl_list): Likewise.
59967
59968 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
59969 file.
59970 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
59971 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
59972 memcmp for PPC32.
59973 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
59974 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
59975 multiarch objects.
59976 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59977 (__libc_ifunc_impl_list): Likewise.
59978
59979 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
59980 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
59981 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
59982 file.
59983 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
59984 file.
59985 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
59986 file.
59987 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
59988 multiarch memcpy for PPC32.
59989 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
59990 multiarch objects.
59991 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59992 (__libc_ifunc_impl_list): Likewise.
59993
59994 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
59995 support multiarch for POWER/PPC32.
59996 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
59997 Likewise.
59998 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
59999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
60000 Implies file to make multiarch folder appers before the fpu and
60001 default folder for power4 configuration.
60002
60003 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
60004
60005 * scripts/bench.pl: Append volatile keyword to type.
60006
60007 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
60008
60009 * sysdeps/sh/sotruss-lib.c: New file.
60010 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
60011
60012 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60013
60014 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60015
60016 2013-12-05 Joseph Myers <joseph@codesourcery.com>
60017
60018 [BZ #6810]
60019 * math/w_tgamma.c: Include <errno.h>.
60020 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
60021 * math/w_tgammaf.c: Include <errno.h>.
60022 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
60023 * math/w_tgammal.c: Include <errno.h>.
60024 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
60025 * math/auto-libm-test-in: Do not allow missing errno on tgamma
60026 underflow. Add more tgamma tests.
60027 * math/auto-libm-test-out: Regenerated.
60028 * sysdeps/i386/fpu/libm-test-ulps: Update.
60029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60030
60031 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
60032 sin, sinh, tan, tanh, tgamma, y0 and y1.
60033 * math/auto-libm-test-out: Regenerated.
60034 * math/libm-test.inc (TEST_COND_x86_64): New macro.
60035 (TEST_COND_x86): Likewise.
60036 (M_E2l): Remove macro.
60037 (M_E3l): Likewise.
60038 (M_2_SQRT_PIl): Likewise.
60039 (M_SQRT_PIl): Likewise.
60040 (M_1_DIV_El): Likewise.
60041 (log_test_data): Use AUTO_TESTS_f_f.
60042 (log10_test_data): Likewise.
60043 (log1p_test_data): Likewise.
60044 (log2_test_data): Likewise.
60045 (sin_test_data): Likewise.
60046 (sin_tonearest_test_data): Likewise.
60047 (sin_towardzero_test_data): Likewise.
60048 (sin_downward_test_data): Likewise.
60049 (sin_upward_test_data): Likewise.
60050 (sinh_test_data): Likewise.
60051 (sinh_tonearest_test_data): Likewise.
60052 (sinh_towardzero_test_data): Likewise.
60053 (sinh_downward_test_data): Likewise.
60054 (sinh_upward_test_data): Likewise.
60055 (tan_test_data): Likewise.
60056 (tan_tonearest_test_data): Likewise.
60057 (tan_towardzero_test_data): Likewise.
60058 (tan_downward_test_data): Likewise.
60059 (tan_upward_test_data): Likewise.
60060 (tanh_test_data): Likewise.
60061 (tgamma_test_data): Likewise.
60062 (y0_test_data): Likewise.
60063 (y1_test_data): Likewise.
60064 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
60065 (special_real_inputs): Add pi/4.
60066 * sysdeps/i386/fpu/libm-test-ulps: Update.
60067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60068
60069 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60070
60071 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
60072 "longjmp_target" static probes.
60073 (__longjmp): Rename to __longjmp_symbol.
60074 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
60075 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
60076 on which longjmp to generate.
60077 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
60078 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
60079 probe.
60080 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60081 (__sigjmp_save): Rename to __sigjmp_save_symbol.
60082 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
60083 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
60084 and __sigjmp_save_symbol based on which sigsetjmp to generated.
60085 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
60087 __longjmp_symbol based on which __longjmp to generate.
60088 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
60089 probe.
60090 (setjmp): Rename to setjmp_symbol.
60091 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60092 (_setjmp): Rename to _setjmp_symbol.
60093 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60094 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
60095 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
60096 which setjmp to generate.
60097 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
60098 "longjmp_target" static probes.
60099
60100 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
60101
60102 * benchtests/README: Add note about output arguments.
60103 * benchtests/bench-sincos.c: Remove file.
60104 * benchtests/sincos-inputs: New file.
60105 * scripts/bench.pl: Identify output arguments and define
60106 static variables for them.
60107
60108 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
60109
60110 [BZ #15941]
60111 * Makefile (INSTALL): Add install-plain.texi as the primary
60112 dependency.
60113 * manual/install-plain.texi: New file.
60114 * manual/install.texi: Include node directive only for
60115 non-plaintext output.
60116
60117 2013-12-04 Joseph Myers <joseph@codesourcery.com>
60118
60119 * stdlib/longlong.h: Update from GCC.
60120
60121 [BZ #6807]
60122 [BZ #15901]
60123 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
60124 * math/w_j0f.c (y0f): Likewise.
60125 * math/w_j0l.c (__y0l): Likewise.
60126 * math/w_j1.c (y1): Likewise.
60127 * math/w_j1f.c (y1f): Likewise.
60128 * math/w_j1l.c (__y1l): Likewise.
60129 * math/w_jn.c (yn): Likewise.
60130 * math/w_jnf.c (ynf): Likewise.
60131 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
60132 Bessel function pole errors in _POSIX_ mode. Use NAN as return
60133 value for Bessel function domain errors outside _SVID_ mode.
60134 Adjust sign of return value for yn (negative integer, 0).
60135 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
60136 by zero in return for negative x and set sign appropriately for
60137 negative n.
60138 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
60139 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60140 * math/libm-test.inc (y0_test_data): Add more tests and adjust
60141 expectations in error cases.
60142 (y1_test_data): Likewise.
60143 (yn_test_data): Likewise.
60144 * sysdeps/i386/fpu/libm-test-ulps: Update.
60145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60146
60147 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60148
60149 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
60150 "64" to "64-v1". Add "64-v2".
60151 (abi-64-options): Rename to ...
60152 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
60153 (abi-64-condition): Rename to ...
60154 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
60155 (abi-64-ld-soname): Rename to ...
60156 (abi-64-v1-ld-soname): ... this.
60157 (abi-64-v2-options): Define.
60158 (abi-64-v2-condition): Likewise.
60159 (abi-64-v2-ld-soname): Likewise.
60160 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
60161 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
60162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
60163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
60164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
60165
60166 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60167 Alan Modra <amodra@gmail.com>
60168
60169 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
60170 New versions for use with the ELFv2 ABI.
60171 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
60172 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
60173 declaration.
60174 (struct La_ppc64v2_retval): Likewise.
60175 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
60176 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
60177 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
60178 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
60179 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
60180 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60181 Do not save or restore CR.
60182 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
60183 (_dl_profile_resolve): Do no save or restore CR. Support extended
60184 return values for ELFv2 ABI. Fix location of FPR return registers.
60185 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
60186 updated values for _CALL_ELF == 2.
60187 (La_regs, La_retval, int_retval): Likewise.
60188
60189 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60190
60191 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
60192 (FRAME_MIN_SIZE_PARM): Likewise.
60193 (FRAME_BACKCHAIN): Likewise.
60194 (FRAME_CR_SAVE): Likewise.
60195 (FRAME_LR_SAVE): Likewise.
60196 (FRAME_TOC_SAVE): Likewise.
60197 (FRAME_PARM_SAVE): Likewise.
60198 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
60199 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
60200 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60201 (call_mcount_parm_offset): New macro.
60202 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
60203 (PROF): Use symbolic stack frame offsets.
60204 (TAIL_CALL_SYSCALL_ERROR): Likewise.
60205 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
60206 Redefine in terms of FRAME_MIN_SIZE.
60207 (_dl_runtime_resolve): Use symbolic stack frame offsets.
60208 (_dl_profile_resolve): Likewise. Update comment.
60209 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
60210 symbols stack frame offsets.
60211 (__sigsetjmp): Likewise.
60212 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
60213 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
60214 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
60215 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
60216
60217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
60218 (FRAME_BACKCHAIN): Remove.
60219 (FRAME_CR_SAVE): Likewise.
60220 (FRAME_LR_SAVE): Likewise.
60221 (FRAME_COMPILER_DW): Likewise.
60222 (FRAME_LINKER_DW): Likewise.
60223 (FRAME_TOC_SAVE): Likewise.
60224 (FRAME_PARM_SAVE): Likewise.
60225 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
60226 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
60227 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
60229 (CHECK_SP): Use symbolic stack frame offsets.
60230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
60231 zone" instead of caller's parameter save area for temp storage.
60232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60233 Likewise. Also, use symbolic stack frame offsets.
60234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
60235 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
60236 our own stack frame instead of the caller's.
60237 (__socket): Use symbolic stack frame offsets.
60238
60239 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60240 Alan Modra <amodra@gmail.com>
60241
60242 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
60243 Define.
60244 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
60245 (PPC64_LOCAL_ENTRY_OFFSET): Define.
60246 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
60247 New function.
60248 (elf_machine_fixup_plt): Call it.
60249 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
60250 reloc arguments.
60251 (elf_machine_rela): Update call to elf_machine_plt_conflict.
60252 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60253 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
60254 r2 before calling target.
60255
60256 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60257 Alan Modra <amodra@gmail.com>
60258
60259 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
60260 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
60261 versions of macros to support ELFv2 ABI.
60262 (LOCALENTRY): New macro.
60263 (ENTRY, EALIGN): Use it.
60264 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
60265 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
60266 fall through into ENTRY entry point.
60267 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
60268 Only define if _CALL_ELF != 2.
60269
60270 (elf_machine_matches_host): Verify ABI version matches.
60271 (RTLD_START): Use LOCALENTRY.
60272 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
60273 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
60274 (PLT_ENTRY_WORDS): New macro.
60275 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
60276 (elf_machine_runtime_setup): Support ELFv2 ABI.
60277 (elf_machine_fixup_plt): Likewise.
60278 (elf_machine_plt_conflict): Likewise.
60279 (resolve_ifunc): Likewise.
60280 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
60281 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
60282 Likewise.
60283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
60284 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
60285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60286 (makecontext): Support ELFv2 ABI.
60287 * elf/elf.h (EF_PPC64_ABI): Define.
60288
60289 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60290
60291 * sysdeps/powerpc/powerpc64/sysdep.h
60292 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
60293 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
60294 (ENTRY) [ASSEMBLER]: ... but instead here ...
60295 (EALIGN) [ASSEMBLER]: ... and here.
60296 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
60297 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
60298 (ENTRY_2) [!ASSEMBLER]: Use it.
60299 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
60300 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
60301 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60302 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
60303 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
60304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
60305 Use PPC64_LOAD_FUNCPTR.
60306
60307 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
60308
60309 2013-12-04 Alan Modra <amodra@gmail.com>
60310
60311 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
60312 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
60313 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
60314 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
60315
60316 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
60317 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
60318 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
60319 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
60320 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
60321 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
60322
60323 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60324
60325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60326 (__makecontext): Fix incorrect CFI when backtracing out of
60327 context created via makecontext.
60328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
60329 (__setcontext): Fix incorrect CFI during switch to new context.
60330 (__novec_setcontext): Likewise.
60331
60332 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
60333
60334 [BZ #4772]
60335 * time/strptime_l.c (__strptime_internal): Allow modifiers
60336 in strptime.
60337 * time/tst-strptime.c (day_tests): Add testcase.
60338
60339 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
60340
60341 * scripts/bench.pl: Skip over blank lines.
60342
60343 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
60344
60345 [BZ #926]
60346 * manual/time.texi (Calendar Time): Clarify what timezone functions
60347 use.
60348
60349 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60350
60351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60352
60353 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
60354
60355 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
60356 implementation.
60357 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
60358 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
60359 * debug/memset_chk.c (__memset_chk): Likewise.
60360 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
60361 * debug/strncpy_chk.c: Likewise.
60362
60363 2013-12-03 Joseph Myers <joseph@codesourcery.com>
60364
60365 [BZ #15268]
60366 [BZ #15425]
60367 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
60368 (__ieee754_exp): For possibly underflowing results, check size of
60369 result and force underflow exception if required.
60370 * math/auto-libm-test-in: Add more tests of exp.
60371 * math/auto-libm-test-out: Regenerated.
60372 * sysdeps/i386/fpu/libm-test-ulps: Update.
60373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60374
60375 [BZ #16283]
60376 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
60377 * math/w_exp2f.c (__exp2f): Likewise.
60378 * math/w_exp2l.c (__exp2l): Likewise.
60379 * math/auto-libm-test-in: Do not allow missing errno on exp2
60380 underflow.
60381 * math/auto-libm-test-out: Regenerated.
60382
60383 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
60384
60385 [BZ #16274]
60386 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
60387 handle filename validation.
60388 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
60389 (do_open): Delete.
60390
60391 2013-12-03 Joseph Myers <joseph@codesourcery.com>
60392
60393 [BZ #6786]
60394 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
60395 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
60396 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
60397 <float.h>.
60398 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
60399 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
60400 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60401 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
60402 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60403 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
60404 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60405 * math/auto-libm-test-in: Don't allow missing errno from erfc.
60406 Add more erfc tests.
60407 * math/auto-libm-test-out: Regenerated.
60408 * sysdeps/i386/fpu/libm-test-ulps: Update.
60409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60410
60411 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
60412 exp2, expm1, j0 and j1.
60413 * math/auto-libm-test-out: Regenerated.
60414 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
60415 (erfc_test_data): Likewise.
60416 (exp_test_data): Likewise.
60417 (exp_tonearest_test_data): Likewise.
60418 (exp_towardzero_test_data): Likewise.
60419 (exp_downward_test_data): Likewise.
60420 (exp_upward_test_data): Likewise.
60421 (exp10_test_data): Likewise.
60422 (exp2_test_data): Likewise.
60423 (expm1_test_data): Likewise.
60424 (j0_test_data): Likewise.
60425 (j1_test_data): Likewise.
60426 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
60427 (input_flag_type): Add flag_xfail_rounding.
60428 (input_flags): Add xfail-rounding.
60429 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
60430 (output_for_one_input_case): Handle flag_xfail_rounding.
60431 * sysdeps/i386/fpu/libm-test-ulps: Update.
60432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60433
60434 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
60435
60436 [BZ #16289]
60437 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
60438 division by 0.
60439
60440 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
60441
60442 [BZ #16195]
60443 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
60444 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
60445 (STAP_PROBE0): New macro.
60446 (STAP_PROBE1): Likewise.
60447 (STAP_PROBE2): Likewise.
60448 (STAP_PROBE3): Likewise.
60449 (STAP_PROBE4): Likewise.
60450
60451 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
60452
60453 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
60454
60455 2013-12-02 Steve Ellcey <sellcey@mips.com>
60456
60457 * benchtests/Makefile (bench): Add sqrt.
60458 (LDLIBS-bench-sqrt): New.
60459 * benchtests/sqrt-input: New.
60460
60461 2013-12-02 Pavel Simerda <psimerda@redhat.com>
60462
60463 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
60464 (GAIH_EAI): Likewise.
60465 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
60466 (gaih_inet): Likewise.
60467 (getaddrinfo): Don't use GAIH_EAI.
60468
60469 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
60470 (struct gaih): Remove definition.
60471
60472 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
60473
60474 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
60475 Use HERRNOP directly.
60476
60477 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60478
60479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60480
60481 2013-11-30 Joseph Myers <joseph@codesourcery.com>
60482
60483 * math/gen-auto-libm-tests.c (test_functions): Add more
60484 single-argument functions.
60485 (special_fill_pi_2): New function.
60486 (special_fill_minus_pi_2): Likewise.
60487 (special_fill_pi_6): Likewise.
60488 (special_fill_minus_pi_6): Likewise.
60489 (special_fill_pi_3): Likewise.
60490 (special_fill_2pi_3): Likewise.
60491 (special_fill_e): Likewise.
60492 (special_fill_1_e): Likewise.
60493 (special_fill_e_minus_1): Likewise.
60494 (special_real_inputs): Add more special inputs.
60495 (output_for_one_input_case): Do not require ERANGE on underflow to
60496 zero if round-to-nearest result does not underflow to zero, unless
60497 exact results required.
60498 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
60499 atan, atanh, cbrt, cos and cosh.
60500 * math/auto-libm-test-out: Regenerated.
60501 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
60502 (acos_tonearest_test_data): Likewise.
60503 (acos_towardzero_test_data): Likewise.
60504 (acos_downward_test_data): Likewise.
60505 (acos_upward_test_data): Likewise.
60506 (acosh_test_data): Likewise.
60507 (asin_test_data): Likewise.
60508 (asin_tonearest_test_data): Likewise.
60509 (asin_towardzero_test_data): Likewise.
60510 (asin_upward_test_data): Likewise.
60511 (asinh_test_data): Likewise.
60512 (atan_test_data): Likewise.
60513 (atanh_test_data): Likewise.
60514 (cbrt_test_data): Likewise.
60515 (cos_test_data): Likewise.
60516 (cos_tonearest_test_data): Likewise.
60517 (cos_towardzero_test_data): Likewise.
60518 (cos_downward_test_data): Likewise.
60519 (cos_upward_test_data): Likewise.
60520 (cosh_test_data): Likewise.
60521 (cosh_tonearest_test_data): Likewise.
60522 (cosh_towardzero_test_data): Likewise.
60523 (cosh_downward_test_data): Likewise.
60524 (cosh_upward_test_data): Likewise.
60525 * sysdeps/i386/fpu/libm-test-ulps: Update.
60526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60527
60528 2013-11-29 Joseph Myers <joseph@codesourcery.com>
60529
60530 [BZ #6787]
60531 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
60532 * math/w_exp10f.c (__exp10f): Likewise.
60533 * math/w_exp10l.c (__exp10l): Likewise.
60534 * math/libm-test.inc (exp10_test_data): Add more tests and expect
60535 errno settings in existing tests.
60536
60537 [BZ #14032]
60538 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
60539 precision control set to double precision.
60540 * sysdeps/i386/fpu/w_sqrt.c: New file.
60541 * math/auto-libm-test-in: Add more tests.
60542 * math/auto-libm-test-out: Update.
60543
60544 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
60545 (sqrt_test_tonearest): New function.
60546 (sqrt_towardzero_test_data): New variable.
60547 (sqrt_test_towardzero): New function.
60548 (sqrt_downward_test_data): New variable.
60549 (sqrt_test_downward): New function.
60550 (sqrt_upward_test_data): New variable.
60551 (sqrt_test_upward): New function.
60552 (main): Call the new functions.
60553
60554 * math/gen-auto-libm-tests.c: New file.
60555 * math/auto-libm-test-in: Likewise.
60556 * math/auto-libm-test-out: New generated file.
60557 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
60558 variables.
60559 (%beautify): Add generated representations of zero.
60560 (top level): Set $auto_input and call parse_auto_input.
60561 (beautify): Remove trailing "f" from hex float constants.
60562 (parse_args): Handle XFAIL_TEST.
60563 (convert_condition): New function.
60564 (or_value): Likewise.
60565 (or_cond_value): Likewise.
60566 (generate_testfile): Handle AUTO_TESTS_* lines.
60567 (parse_auto_input): New function.
60568 * math/libm-test.inc (XFAIL_TEST): New macro.
60569 (ERRNO_UNCHANGED): Update value.
60570 (ERRNO_EDOM): Likewise.
60571 (ERRNO_ERANGE): Likewise.
60572 (IGNORE_RESULT): Likewise.
60573 (TEST_COND_flt_32): New macro.
60574 (TEST_COND_dbl_64): Likewise.
60575 (TEST_COND_ldbl_96_intel): Likewise.
60576 (TEST_COND_ldbl_96_m68k): Likewise.
60577 (TEST_COND_ldbl_128): Likewise.
60578 (TEST_COND_ldbl_128ibm): Likewise.
60579 (TEST_COND_long32): Likewise.
60580 (TEST_COND_long64): Likewise.
60581 (TEST_COND_before_rounding): Likewise.
60582 (TEST_COND_after_rounding): Likewise.
60583 (enable_test): Handle XFAIL_TEST flag.
60584 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
60585 with finite results.
60586 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
60587 auto-libm-test-out.
60588
60589 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
60590 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60591
60592 [BZ #16214]
60593 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
60594 __tls_get_addr_internal instead of __tls_get_offset in order to
60595 avoid GOT pointer dependency. Make rtld export
60596 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
60597 __tls_get_addr since we are a __tls_get_offset platform.
60598 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
60599 GOT pointer being set up before.
60600 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
60601
60602 2013-11-28 Joseph Myers <joseph@codesourcery.com>
60603
60604 * manual/math.texi (Errors in Math Functions): Document accuracy
60605 goals.
60606
60607 [BZ #15004]
60608 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
60609 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
60610 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60611 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
60612 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
60613 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
60614 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
60615 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
60616 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
60617 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
60618 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
60619 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
60620 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
60621 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
60622 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
60623 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
60624
60625 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
60626 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
60627 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
60628 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
60629 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
60630 Likewise.
60631 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
60632 Likewise.
60633 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
60634 Likewise.
60635 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
60636 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
60637 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
60638 atomic-feupdateenv and flt-rounds.
60639 * sysdeps/powerpc/nofpu/Versions (libc): Add
60640 __atomic_feholdexcept, __atomic_feclearexcept,
60641 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
60642 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
60643 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
60644 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
60645 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
60646 here.
60647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
60648 Update.
60649
60650 * manual/arith.texi (FP Exceptions): Document that exceptions may
60651 not be raised when matherr is used.
60652 (Math Error Reporting): Document overflow in directed rounding
60653 modes. Document that errno may not be set when finite values are
60654 returned on overflow. Document intent to set errno on underflow
60655 only for underflow to zero.
60656
60657 [BZ #16271]
60658 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
60659 round-to-nearest then adjust result for other rounding modes.
60660 * include/fenv.h (fegetround): Use libm_hidden_proto.
60661 * math/fegetround.c (fegetround): Use libm_hidden_def.
60662 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
60663 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
60664 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
60665 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
60666 Likewise.
60667 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
60668 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
60669 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
60670 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
60671
60672 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
60673
60674 [BZ #16077]
60675 * nss/Versions (libnss_files): Add
60676 _nss_files_gethostbyname3_r.
60677 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
60678 New function.
60679 (HOST_DB_LOOKUP): Remove macro.
60680 (_nss_files_gethostbyname_r): Implement function without the
60681 HOST_DB_LOOKUP macro.
60682 (_nss_files_gethostbyname2_r): Likewise.
60683
60684 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
60685
60686 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
60687
60688 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
60689
60690 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
60691 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
60692 warning.
60693
60694 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60695
60696 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
60697 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
60698 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
60699 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
60700 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
60701 __fe_nomask_env_priv and attribute_hidden.
60702 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
60703 (libc_feupdateenv_test_ppc): Likewise.
60704 (libc_feresetround_ppc): Likewise.
60705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60706 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
60707 compat_symbol macro.
60708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60709 (__fe_nomask_env): Likewise.
60710 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
60711
60712 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
60713
60714 * string/Makefile: Remove ifunc tests.
60715 * string/test-string.h: Define TEST_IFUNC.
60716 * string/test-bcopy-ifunc.c: Remove.
60717 * string/test-bzero-ifunc.c: Likewise.
60718 * string/test-memccpy-ifunc.c: Likewise.
60719 * string/test-memchr-ifunc.c: Likewise.
60720 * string/test-memcmp-ifunc.c: Likewise.
60721 * string/test-memcpy-ifunc.c: Likewise.
60722 * string/test-memmem-ifunc.c: Likewise.
60723 * string/test-memmove-ifunc.c: Likewise.
60724 * string/test-mempcpy-ifunc.c: Likewise.
60725 * string/test-memrchr-ifunc.c: Likewise.
60726 * string/test-memset-ifunc.c: Likewise.
60727 * string/test-rawmemchr-ifunc.c: Likewise.
60728 * string/test-stpcpy-ifunc.c: Likewise.
60729 * string/test-stpncpy-ifunc.c: Likewise.
60730 * string/test-strcasecmp-ifunc.c: Likewise.
60731 * string/test-strcasestr-ifunc.c: Likewise.
60732 * string/test-strcat-ifunc.c: Likewise.
60733 * string/test-strchr-ifunc.c: Likewise.
60734 * string/test-strchrnul-ifunc.c: Likewise.
60735 * string/test-strcmp-ifunc.c: Likewise.
60736 * string/test-strcpy-ifunc.c: Likewise.
60737 * string/test-strcspn-ifunc.c: Likewise.
60738 * string/test-strlen-ifunc.c: Likewise.
60739 * string/test-strncasecmp-ifunc.c: Likewise.
60740 * string/test-strncat-ifunc.c: Likewise.
60741 * string/test-strncmp-ifunc.c: Likewise.
60742 * string/test-strncpy-ifunc.c: Likewise.
60743 * string/test-strnlen-ifunc.c: Likewise.
60744 * string/test-strpbrk-ifunc.c: Likewise.
60745 * string/test-strrchr-ifunc.c: Likewise.
60746 * string/test-strspn-ifunc.c: Likewise.
60747 * string/test-strstr-ifunc.c: Likewise.
60748
60749 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
60750
60751 * benchtests/Makefile: Remove ifunc tests.
60752 * benchtests/bench-string.h: Define TEST_IFUNC.
60753 * benchtests/bench-bcopy-ifunc.c: Remove.
60754 * benchtests/bench-bzero-ifunc.c: Likewise.
60755 * benchtests/bench-memccpy-ifunc.c: Likewise.
60756 * benchtests/bench-memchr-ifunc.c: Likewise.
60757 * benchtests/bench-memcmp-ifunc.c: Likewise.
60758 * benchtests/bench-memcpy-ifunc.c: Likewise.
60759 * benchtests/bench-memmem-ifunc.c: Likewise.
60760 * benchtests/bench-memmove-ifunc.c: Likewise.
60761 * benchtests/bench-mempcpy-ifunc.c: Likewise.
60762 * benchtests/bench-memrchr-ifunc.c: Likewise.
60763 * benchtests/bench-memset-ifunc.c: Likewise.
60764 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
60765 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
60766 * benchtests/bench-stpcpy-ifunc.c: Likewise.
60767 * benchtests/bench-stpncpy-ifunc.c: Likewise.
60768 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
60769 * benchtests/bench-strcasestr-ifunc.c: Likewise.
60770 * benchtests/bench-strcat-ifunc.c: Likewise.
60771 * benchtests/bench-strchr-ifunc.c: Likewise.
60772 * benchtests/bench-strchrnul-ifunc.c: Likewise.
60773 * benchtests/bench-strcmp-ifunc.c: Likewise.
60774 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
60775 * benchtests/bench-strcpy-ifunc.c: Likewise.
60776 * benchtests/bench-strcspn-ifunc.c: Likewise.
60777 * benchtests/bench-strlen-ifunc.c: Likewise.
60778 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
60779 * benchtests/bench-strncat-ifunc.c: Likewise.
60780 * benchtests/bench-strncmp-ifunc.c: Likewise.
60781 * benchtests/bench-strncpy-ifunc.c: Likewise.
60782 * benchtests/bench-strnlen-ifunc.c: Likewise.
60783 * benchtests/bench-strpbrk-ifunc.c: Likewise.
60784 * benchtests/bench-strrchr-ifunc.c: Likewise.
60785 * benchtests/bench-strsep-ifunc.c: Likewise.
60786 * benchtests/bench-strspn-ifunc.c: Likewise.
60787 * benchtests/bench-strstr-ifunc.c: Likewise.
60788
60789 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
60790
60791 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
60792
60793 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
60794
60795 * resolv/netdb.h: Use __glibc_reserved instead __unused.
60796 * rt/aio.h: Likewise.
60797 * sysdeps/gnu/bits/utmp.h: Likewise.
60798 * sysdeps/gnu/bits/utmpx.h: Likewise.
60799 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
60800 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
60801 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
60802 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
60803 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
60804 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
60805 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
60806 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
60807 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
60808 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
60809 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
60810 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
60811 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
60812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
60813 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
60814 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
60815 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
60816 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
60817 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
60818 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
60819 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
60820 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
60821 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
60822 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
60823 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
60824 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60825 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
60826 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
60827 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
60828 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
60829 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
60830 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
60831 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
60832 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
60833 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
60834 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
60835 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
60836 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
60837 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
60838 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
60839 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
60840 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
60841
60842 2013-11-25 Carlos O'Donell <carlos@redhat.com>
60843
60844 [BZ #16245]
60845 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
60846 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
60847
60848 2013-11-25 Joseph Myers <joseph@codesourcery.com>
60849
60850 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
60851 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
60852 Likewise.
60853
60854 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60855
60856 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
60857 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
60858 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
60859 (__fesetround): Remove define.
60860 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
60861 rounding and exceptions handling.
60862 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
60863 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
60864 (__fe_nomask_env): Likewise.
60865 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
60866 __fegetround instead of fegetround.
60867 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
60868 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
60869
60870 2013-11-21 Roland McGrath <roland@hack.frob.com>
60871
60872 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
60873 it's there.
60874
60875 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
60876
60877 2013-11-21 Meador Inge <meadori@codesourcery.com>
60878
60879 [BZ #11157]
60880 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
60881 (encrypt_r): Likewise.
60882 * malloc/obstack.h (obstack_free): Likewise.
60883 * posix/unistd.h (encrypt): Likewise.
60884
60885 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
60886
60887 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
60888 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
60889 DL_CALL_DT_FINI() that call the functions directly.
60890 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
60891 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
60892 * elf/dl-fini.c: Likewise.
60893
60894 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
60895
60896 * malloc/hooks.c (memalign_check): Add alignment rounding.
60897 * malloc/malloc.c (_mid_memalign): New function.
60898 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
60899 Implement by calling _mid_memalign.
60900 * manual/probes.texi (Memory Allocation Probes): Remove
60901 memory_valloc_retry and memory_pvalloc_retry.
60902
60903 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
60904
60905 * locale/programs/locarchive.c (open_archive): Add const
60906 qualifier to ARCHIVEFNAME and copy default fname to
60907 DEFAULT_FNAME.
60908
60909 [BZ #15601]
60910 * libio/tst-widetext.input: Rename Oriya to Odia.
60911 * locale/iso-639.def: Likewise.
60912
60913 * manual/probes.texi (Mathematical Function Probes): Add
60914 documentation for sin, cos, asin and acos probes.
60915 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
60916 (__sin32): Add slowasin probe.
60917 (__cos32): Add slowacos probe.
60918 (__mpsin): Add slowsin probe.
60919 (__mpcos): Add slowcos probe.
60920
60921 2013-11-19 Joseph Myers <joseph@codesourcery.com>
60922
60923 [BZ #15483]
60924 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
60925 thread-local __sim_exceptions_thread and global
60926 __sim_exceptions_global.
60927 (__sim_disabled_exceptions): Change to thread-local
60928 __sim_disabled_exceptions_thread and global
60929 __sim_disabled_exceptions_global.
60930 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
60931 and global __sim_round_mode_global.
60932 (__simulate_exceptions): Use thread-local floating-point state and
60933 set global state from it as needed.
60934 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
60935 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
60936 __sim_round_mode_thread.
60937 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
60938 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
60939 and global __sim_exceptions_global.
60940 (__sim_disabled_exceptions): Change to thread-local
60941 __sim_disabled_exceptions_thread and global
60942 __sim_disabled_exceptions_global.
60943 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
60944 and global __sim_round_mode_global.
60945 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
60946 (SIM_SET_GLOBAL): Likewise.
60947 * sysdeps/powerpc/soft-fp/sfp-machine.h
60948 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
60949 __sim_round_mode_thread.
60950 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
60951 __sim_disabled_exceptions_thread.
60952 (__sim_exceptions): Change to __sim_exceptions_thread.
60953 (__sim_disabled_exceptions): Change to
60954 __sim_disabled_exceptions_thread.
60955 (__sim_round_mode): Change to __sim_round_mode_thread.
60956 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
60957 thread-local floating-point state and set global state from it as
60958 needed.
60959 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
60960 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
60961 (__sim_disabled_exceptions): Remove extern declaration.
60962 (feenableexcept): Use thread-local floating-point state and set
60963 global state from it as needed.
60964 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
60965 extern declaration.
60966 (__sim_disabled_exceptions): Likewise.
60967 (__sim_round_mode): Likewise.
60968 (__fegetenv): Use thread-local floating-point state.
60969 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
60970 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
60971 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
60972 floating-point state and set global state from it as needed.
60973 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
60974 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
60975 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
60976 Likewise.
60977 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
60978 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
60979 Likewise.
60980 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
60981 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
60982 Use __sim_round_mode_thread.
60983 * math/test-fenv-tls.c: New file.
60984 * math/Makefile (tests): Add test-fenv-tls.
60985 ($(objpfx)test-fenv-tls): Depend on
60986 $(common-objpfx)nptl/libpthread.so.
60987
60988 2013-11-19 Andreas Schwab <schwab@suse.de>
60989
60990 * locale/programs/locale.c (show_info): Decode wordarray elements.
60991 * locale/categories.def (LC_MONETARY): Add element for
60992 _NL_MONETARY_CRNCYSTR.
60993 * locale/C-monetary.c (conversion_rate): New variable.
60994 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
60995 element.
60996
60997 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
60998
60999 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
61000 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
61001
61002 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
61003
61004 * elf/Makefile (tst-auxv): New test.
61005 * elf/tst-auxv.c: New
61006 * elf/rtld.c (dl_main): Adjust AT_EXECFN
61007
61008 2013-11-18 Joseph Myers <joseph@codesourcery.com>
61009
61010 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
61011 (hidden_proto): Caller changed.
61012 (hidden_tls_proto): New macro.
61013 (libc_hidden_tls_proto): Likewise.
61014 (rtld_hidden_tls_proto): Likewise.
61015 (libm_hidden_tls_proto): Likewise.
61016 (libresolv_hidden_tls_proto): Likewise.
61017 (librt_hidden_tls_proto): Likewise.
61018 (libdl_hidden_tls_proto): Likewise.
61019 (libnss_files_hidden_tls_proto): Likewise.
61020 (libnsl_hidden_tls_proto): Likewise.
61021 (libnss_nisplus_hidden_tls_proto): Likewise.
61022 (libutil_hidden_tls_proto): Likewise.
61023
61024 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
61025
61026 [BZ #10253]
61027 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
61028 (decompose_rpath): Defer expansion to fillin_rpath.
61029 (_dl_init_paths): Pass linkmap to fillin_rpath.
61030
61031 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
61032
61033 * benchtests/Makefile: Add strsep.
61034 * benchtests/bench-strsep.c: New file: strsep benchtest.
61035 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
61036
61037 2013-11-18 Andreas Schwab <schwab@suse.de>
61038
61039 * locale/programs/locale.c (show_info) [case byte]: Check for
61040 '\377' instead of '\177'.
61041 * locale/C-monetary.c (not_available): Always use "\377".
61042 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
61043 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
61044 detect unavailable sign_posn locale elements.
61045 * locale/localeconv.c (__localeconv): For grouping and
61046 mon_grouping handle "\177" and "\377" like no grouping.
61047 (INT_ELEM): New macro. Use it to set all numeric members.
61048 * locale/programs/ld-monetary.c (monetary_read)
61049 <tok_mon_grouping>: Normalize single -1 to the empty string.
61050 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
61051 Likewise.
61052
61053 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
61054
61055 [BZ #16055]
61056 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
61057 when we match (nil).
61058 * stdio-common/tst-sscanf.c (struct test): Add testcase.
61059
61060 2013-11-16 Joseph Myers <joseph@codesourcery.com>
61061
61062 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
61063 (NO_TEST_INLINE): Update value.
61064 (ERRNO_UNCHANGED): Likewise.
61065 (ERRNO_EDOM): Likewise.
61066 (ERRNO_ERANGE): Likewise.
61067 (IGNORE_RESULT): Likewise.
61068 (check_float_internal): Check signs of NaN results if
61069 TEST_NAN_SIGN used.
61070 (check_complex): Pass TEST_NAN_SIGN flag through to second
61071 check_float_internal call.
61072 (copysign_test_data): Add tests with quiet NaNs as second
61073 argument. Use TEST_NAN_SIGN.
61074 (fabs_test_data): Add test of negative quiet NaN argument. Use
61075 TEST_NAN_SIGN.
61076 (signbit_test_data): Add tests of quiet NaN argument.
61077 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
61078
61079 * math/gen-libm-test.pl (show_exceptions): Take extra argument
61080 $ignore_result.
61081 (parse_args): Handle function results specified as IGNORE.
61082 * math/libm-test.inc (IGNORE_RESULT): New macro.
61083 (check_float_internal): Do not check numerical result if flag
61084 IGNORE_RESULT set.
61085 (check_complex): Pass through IGNORE_RESULT to second
61086 check_float_internal call.
61087 (check_int): Do not check numerical result if flag IGNORE_RESULT
61088 set.
61089 (check_long): Likewise.
61090 (check_bool): Likewise.
61091 (check_longlong): Likewise.
61092 (lrint_test_data): Add tests of infinite and NaN arguments.
61093 (lrint_tonearest_test_data): Likewise.
61094 (lrint_towardzero_test_data): Likewise.
61095 (lrint_downward_test_data): Likewise.
61096 (lrint_upward_test_data): Likewise.
61097 (llrint_test_data): Likewise.
61098 (llrint_tonearest_test_data): Likewise.
61099 (llrint_towardzero_test_data): Likewise.
61100 (llrint_downward_test_data): Likewise.
61101 (llrint_upward_test_data): Likewise.
61102 (lround_test_data): Likewise.
61103 (llround_test_data): Likewise.
61104
61105 * math/libm-test.inc (NO_TEST_INLINE): New macro.
61106 (ERRNO_UNCHANGED): Update value.
61107 (ERRNO_EDOM): Likewise.
61108 (ERRNO_ERANGE): Likewise.
61109 (NO_TEST_INLINE_FLOAT): New macro.
61110 (NO_TEST_INLINE_DOUBLE): Likewise.
61111 (enable_test): New function.
61112 (RUN_TEST_f_f): Check enable_test before running test.
61113 (RUN_TEST_2_f): Likewise.
61114 (RUN_TEST_fff_f): Likewise.
61115 (RUN_TEST_c_f): Likewise.
61116 (RUN_TEST_f_f1): Likewise.
61117 (RUN_TEST_fF_f1): Likewise.
61118 (RUN_TEST_fI_f1): Likewise.
61119 (RUN_TEST_ffI_f1): Likewise.
61120 (RUN_TEST_c_c): Likewise.
61121 (RUN_TEST_cc_c): Likewise.
61122 (RUN_TEST_f_i): Likewise.
61123 (RUN_TEST_f_i_tg): Likewise.
61124 (RUN_TEST_ff_i_tg): Likewise.
61125 (RUN_TEST_f_b): Likewise.
61126 (RUN_TEST_f_b_tg): Likewise.
61127 (RUN_TEST_f_l): Likewise.
61128 (RUN_TEST_f_L): Likewise.
61129 (RUN_TEST_fFF_11): Likewise.
61130 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
61131 conditionals.
61132 (cosh_test_data): Likewise.
61133 (exp_test_data): Likewise.
61134 (expm1_test_data): Likewise.
61135 (hypot_test_data): Likewise.
61136 (pow_test_data): Likewise.
61137 (sinh_test_data): Likewise.
61138 (tanh_test_data): Likewise.
61139 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
61140 flags argument.
61141
61142 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
61143 tests with quiet NaN input and output.
61144 (acosh_test_data): Likewise.
61145 (asin_test_data): Likewise.
61146 (asinh_test_data): Likewise.
61147 (atan_test_data): Likewise.
61148 (atanh_test_data): Likewise.
61149 (atan2_test_data): Likewise.
61150 (cbrt_test_data): Likewise.
61151 (cos_test_data): Likewise.
61152 (cosh_test_data): Likewise.
61153 (erf_test_data): Likewise.
61154 (erfc_test_data): Likewise.
61155 (exp_test_data): Likewise.
61156 (exp10_test_data): Likewise.
61157 (exp2_test_data): Likewise.
61158 (expm1_test_data): Likewise.
61159 (hypot_test_data): Likewise.
61160 (j0_test_data): Likewise.
61161 (j1_test_data): Likewise.
61162 (jn_test_data): Likewise.
61163 (lgamma_test_data): Likewise.
61164 (log_test_data): Likewise.
61165 (log10_test_data): Likewise.
61166 (log1p_test_data): Likewise.
61167 (log2_test_data): Likewise.
61168 (pow_test_data): Likewise.
61169 (scalb_test_data): Likewise.
61170 (sin_test_data): Likewise.
61171 (sincos_test_data): Likewise.
61172 (sinh_test_data): Likewise.
61173 (tan_test_data): Likewise.
61174 (tanh_test_data): Likewise.
61175 (tgamma_test_data): Likewise.
61176 (y0_test_data): Likewise.
61177 (y1_test_data): Likewise.
61178 (yn_test_data): Likewise.
61179
61180 [BZ #16167]
61181 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
61182 argument being NaN and avoid computations with second argument in
61183 that case.
61184 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61185 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
61186 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
61187
61188 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
61189
61190 * locale/iso-639.def: Add Chitwani Tharu (the).
61191
61192 2013-11-14 Andreas Schwab <schwab@suse.de>
61193
61194 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
61195 word instead of empty string.
61196
61197 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61198
61199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61200 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
61201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61202 (__fe_nomask_env): Likewise.
61203
61204 2013-11-13 Steve Ellcey <sellcey@mips.com>
61205
61206 * benchtests/bench-timing.h: Include time.h.
61207
61208 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
61209
61210 [BZ #15997]
61211 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
61212 to 3.4.0 for x32.
61213 * sysdeps/unix/sysv/linux/configure: Regenerated.
61214
61215 2013-11-13 Joseph Myers <joseph@codesourcery.com>
61216
61217 [BZ #16151]
61218 * stdlib/strtod_l.c (round_and_return): Do not consider
61219 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
61220 exponent one less than half the least subnormal exponent.
61221 * stdlib/test-strtod-round-data: Add more tests.
61222 * stdlib/tst-strtod-round.c (tests): Regenerated.
61223
61224 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61225
61226 [BZ #14143]
61227 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
61228 (__fe_mask_env): Likewise.
61229 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
61230 libm_hidden_proto and add function prototype.
61231 (__fe_mask_env): Add function prototype.
61232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61233 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
61234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61235 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
61236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61237 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
61238
61239 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61240
61241 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
61242 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
61243
61244 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61245
61246 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
61247 of htab_find_slot().
61248
61249 2013-11-11 David S. Miller <davem@davemloft.net>
61250
61251 [BZ #16150]
61252 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
61253 symbol in the non-vis3 case in static builds.
61254 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
61255 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
61256 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
61257 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
61258
61259 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
61260
61261 [BZ #387]
61262 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
61263 it is empty.
61264
61265 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61266
61267 * benchtests/Makefile: Add bench-strtod.
61268 * benchtests/bench-strtod.c: New file: strtod benchtest
61269
61270 2013-11-11 Andreas Schwab <schwab@suse.de>
61271
61272 [BZ #16153]
61273 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
61274 terminating NUL in key length.
61275
61276 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61277
61278 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
61279 Add artificial ODP entry for vDSO symbol for PPC64.
61280 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
61281 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
61282
61283 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
61284
61285 [BZ #15374]
61286 * nss/getent.c (services_keys): Recognize services starting with digit.
61287
61288 2013-11-06 David S. Miller <davem@davemloft.net>
61289
61290 [BZ #15985]
61291 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
61292 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
61293
61294 2013-11-06 Will Newton <will.newton@linaro.org>
61295
61296 * manual/memory.texi (Malloc Examples): Remove register
61297 keyword from examples.
61298
61299 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
61300
61301 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
61302
61303 2013-11-04 Joseph Myers <joseph@codesourcery.com>
61304
61305 [BZ #6981]
61306 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
61307 depending on [__GCC_IEC_559 > 0].
61308 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
61309 depending on [__GCC_IEC_559_COMPLEX > 0].
61310
61311 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
61312
61313 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
61314 to iso-639.def.
61315
61316 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
61317
61318 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
61319
61320 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
61321
61322 [BZ #16112]
61323 * malloc/malloc (malloc_info): Do not handle first bin as
61324 special case.
61325
61326 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
61327
61328 * locale/iso-639.def: Add Central Nahuatl (nhn).
61329
61330 2013-11-01 Bruno Haible <bruno@clisp.org>
61331
61332 [BZ #7003]
61333 * manual/math.texi (BSD Random): Specify range upper bound as
61334 in POSIX.
61335
61336 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
61337
61338 * locale/iso-639.def: Add Meadow Mari (mhr).
61339
61340 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
61341
61342 [BZ #14752], [BZ #15763]
61343 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
61344 Validate name.
61345 * rt/tst_shm.c: Add test for escaping directory.
61346
61347 2013-10-31 Andreas Schwab <schwab@suse.de>
61348
61349 [BZ #15917]
61350 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
61351 followed by 'x' as part of digit sequence.
61352 * stdio-common/tst-sscanf.c (double_tests2): New tests.
61353
61354 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
61355
61356 [BZ #16037]
61357 * configure.ac: allow GNU Make 4.0 and greater.
61358 * configure: Regenerated.
61359
61360 2013-10-30 Will Newton <will.newton@linaro.org>
61361
61362 [BZ #16038]
61363 * malloc/hooks.c (memalign_check): Limit alignment to the
61364 maximum representable power of two.
61365 * malloc/malloc.c (__libc_memalign): Likewise.
61366 * malloc/tst-memalign.c (do_test): Add test for very
61367 large alignment values.
61368 * malloc/tst-posix_memalign.c (do_test): Likewise.
61369
61370 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
61371
61372 [BZ #11087]
61373 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
61374 (munmap_chunk): Likewise.
61375 (mremap_chunk): Likewise.
61376
61377 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
61378
61379 [BZ #15799]
61380 * stdlib/div.c (div): Remove obsolete code.
61381 * stdlib/ldiv.c (ldiv): Likewise.
61382 * stdlib/lldiv.c (lldiv): Likewise.
61383
61384 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
61385
61386 [BZ #16071]
61387 * nss/nss_files/files-XXX.c (get_contents_ret): New
61388 enumerator.
61389 (get_contents): New function.
61390 (internal_getent): Use it. Expand size of LINEBUFLEN.
61391
61392 2013-10-30 Mike Frysinger <vapier@gentoo.org>
61393
61394 * configure.in: Moved to ...
61395 * configure.ac: ... here. Change reference to configure.in
61396 to configure.ac.
61397 * sysdeps/arm/preconfigure.ac: ... here.
61398 configure.in to configure.ac.
61399 * sysdeps/gnu/configure.in: Moved to ...
61400 * sysdeps/gnu/configure.ac: ... here.
61401 * sysdeps/i386/configure.in: Moved to ...
61402 * sysdeps/i386/configure.ac: ... here.
61403 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
61404 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
61405 * sysdeps/mach/configure.in: Moved to ...
61406 * sysdeps/mach/configure.ac: ... here.
61407 * sysdeps/mach/hurd/configure.in: Moved to ...
61408 * sysdeps/mach/hurd/configure.ac: ... here.
61409 * sysdeps/powerpc/configure.in: Moved to ...
61410 * sysdeps/powerpc/configure.ac: ... here.
61411 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
61412 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
61413 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
61414 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
61415 * sysdeps/s390/s390-32/configure.in: Moved to ...
61416 * sysdeps/s390/s390-32/configure.ac: ... here.
61417 * sysdeps/s390/s390-64/configure.in: Moved to ...
61418 * sysdeps/s390/s390-64/configure.ac: ... here.
61419 * sysdeps/sh/configure.in: Moved to ...
61420 * sysdeps/sh/configure.ac: ... here.
61421 * sysdeps/sparc/configure.in: Moved to ...
61422 * sysdeps/sparc/configure.ac: ... here.
61423 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
61424 * sysdeps/unix/sysv/linux/configure.ac: ... here.
61425 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
61426 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
61427 * sysdeps/x86_64/configure.in: Moved to ...
61428 * sysdeps/x86_64/configure.ac: ... here.
61429 * sysdeps/x86_64/preconfigure.in: Moved to ...
61430 * sysdeps/x86_64/preconfigure.ac: ... here.
61431 * aclocal.m4: Change reference to configure.in to configure.ac.
61432 * config.h.in: Likewise.
61433 * manual/install.texi: Likewise.
61434 * manual/maint.texi: Likewise.
61435 * Makefile: Likewise.
61436 * malloc/Makefile: Likewise.
61437 * nscd/Makefile: Likewise.
61438 * Makeconfig: Change reference to configure.in and
61439 preconfigure.in to configure.ac and preconfigure.ac
61440 respectively.
61441 * INSTALL: Regenerated.
61442 * configure: Likewise.
61443 * sysdeps/gnu/configure: Likewise.
61444 * sysdeps/i386/configure: Likewise.
61445 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
61446 * sysdeps/mach/configure: Likewise.
61447 * sysdeps/mach/hurd/configure: Likewise.
61448 * sysdeps/powerpc/configure: Likewise.
61449 * sysdeps/powerpc/powerpc32/configure: Likewise.
61450 * sysdeps/powerpc/powerpc64/configure: Likewise.
61451 * sysdeps/s390/s390-32/configure: Likewise.
61452 * sysdeps/s390/s390-64/configure: Likewise.
61453 * sysdeps/sh/configure: Likewise.
61454 * sysdeps/sparc/configure: Likewise.
61455 * sysdeps/unix/sysv/linux/configure: Likewise.
61456 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
61457 * sysdeps/x86_64/configure: Likewise.
61458 * sysdeps/x86_64/preconfigure: Likewise.
61459
61460 2013-10-29 Andreas Schwab <schwab@suse.de>
61461
61462 * stdio-common/Makefile (tst-swscanf-ENV): Define.
61463
61464 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61465
61466 * benchtests/pow-inputs: Add new inputs.
61467
61468 * benchtests/exp-inputs: Add new inputs.
61469
61470 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
61471 conditional check for return value.
61472 (__cos32): Likewise.
61473
61474 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61475
61476 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
61477 to provide a boost for large inputs with word alignment.
61478 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
61479 implementation based on optimized PPC64 strcpy.
61480 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
61481 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
61482 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
61483 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
61484
61485 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
61486
61487 [BZ #2801]
61488 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
61489
61490 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
61491
61492 [BZ #14876]
61493 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
61494 * time/tst-strptime.c (day_tests): Add testcase.
61495
61496 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
61497
61498 [BZ #14029]
61499 * manual/pattern.texi: Acknowledge that fnmatch can fail.
61500
61501 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
61502
61503 [BZ #16074]
61504 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
61505 MAP_FAILED on error.
61506
61507 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
61508
61509 [BZ #16072]
61510 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
61511 heap for large requests.
61512
61513 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
61514
61515 [BZ #9954]
61516 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
61517 result if the result has no associated interface.
61518 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
61519 interface for all 127.X.Y.Z addresses.
61520
61521 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
61522
61523 * locale/iso-639.def: Add Ligurian (lij)
61524
61525 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
61526
61527 [BZ #15825]
61528 * sunrpc/rpc_main.c: Document rpcgen -5.
61529
61530 2013-10-19 Michael Stahl <mstahl@redhat.com>
61531
61532 * elf/rtld.c (do_preload): Print the reason why preloading failed.
61533
61534 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
61535
61536 [BZ #10278]
61537 * posix/glob.c: Match only directories when trailing slash is present.
61538 * posix/tst-gnuglob.c (my_opendir): Do not open files.
61539 (main): Add testcase.
61540
61541 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
61542
61543 [BZ #15670]
61544 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
61545
61546 2013-10-18 Carlos O'Donell <carlos@redhat.com>
61547
61548 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
61549 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
61550 AUTH_DES and cindex for FIPS 140-2.
61551 (DES Encryption): Add cindex FIPS 46-3.
61552
61553 * locale/locarchive.h (struct locarhandle): Add fname.
61554 * locale/programs/localedef.c (main): Pass ARGV[remaining]
61555 if an optional argument was specified to --list-archive,
61556 otherwise NULL.
61557 * locale/programs/locarchive.c (show_archive_content): Take new
61558 argument fname and pass it via ah.fname to open_archive.
61559 * locale/programs/localedef.h: Update decl.
61560 (open_archive): If AH->fname is non-null, open that file
61561 rather than the default file name, and don't ignore ENOENT.
61562 (create_archive): Set AH.fname to NULL.
61563 (delete_locales_from_archive): Likewise.
61564 (add_locales_to_archive): Likewise.
61565 * locale/programs/locfile.c (write_all_categories): Likewise.
61566
61567 2013-10-18 Joseph Myers <joseph@codesourcery.com>
61568 Aldy Hernandez <aldyh@redhat.com>
61569
61570 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
61571 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
61572 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
61573 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
61574 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
61575 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
61576 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
61577 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
61578 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
61579 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
61580 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
61581 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
61582 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
61583 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
61584 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
61585 Likewise.
61586 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
61587 Likewise.
61588 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
61589 Likewise.
61590 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
61591 Likewise.
61592 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
61593 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
61594 Likewise.
61595 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
61596 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
61597 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
61598 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
61599 Likewise.
61600 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
61601 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
61602 * sysdeps/powerpc/preconfigure: Likewise.
61603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
61604 Likewise.
61605 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
61606 Replace contents of file by #include of <fenv_libc.h>.
61607 * sysdeps/powerpc/soft-fp/sfp-machine.h
61608 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
61609 and <sys/prctl.h>.
61610 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
61611 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
61612 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
61613 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
61614 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
61615 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
61616 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
61617 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
61618 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
61619 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
61620 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
61621 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
61622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
61623 Allow copysignl PLT reference to be missing.
61624
61625 2013-10-18 Richard Sandiford <richard@codesourcery.com>
61626 Joseph Myers <joseph@codesourcery.com
61627
61628 [BZ #15948]
61629 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
61630 single character.
61631 (add_to_tablewc): Assert sequence of wide characters is nonempty.
61632
61633 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
61634
61635 * elf/tst-tls-dlinfo.c: Don't include tls.h.
61636 * elf/tst-tls1.c: Likewise.
61637 * elf/tst-tls10.h: Likewise.
61638 * elf/tst-tls14.c: Likewise.
61639 * elf/tst-tls2.c: Likewise.
61640 * elf/tst-tls3.c: Likewise.
61641 * elf/tst-tls4.c: Likewise.
61642 * elf/tst-tls5.c: Likewise.
61643 * elf/tst-tls6.c: Likewise.
61644 * elf/tst-tls7.c: Likewise.
61645 * elf/tst-tls8.c: Likewise.
61646 * elf/tst-tls9.c: Likewise.
61647 * elf/tst-tlsmod1.c: Likewise.
61648 * elf/tst-tlsmod13.c: Likewise.
61649 * elf/tst-tlsmod13a.c: Likewise.
61650 * elf/tst-tlsmod14a.c: Likewise.
61651 * elf/tst-tlsmod16a.c: Likewise.
61652 * elf/tst-tlsmod16b.c: Likewise.
61653 * elf/tst-tlsmod2.c: Likewise.
61654 * elf/tst-tlsmod3.c: Likewise.
61655 * elf/tst-tlsmod4.c: Likewise.
61656 * elf/tst-tlsmod5.c: Likewise.
61657 * elf/tst-tlsmod6.c: Likewise.
61658
61659 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
61660
61661 [BZ #12486]
61662 * malloc/malloc.c: remove checks for statistics.
61663
61664 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
61665
61666 [BZ #15277]
61667 * inet/inet_net.c (inet_network): Detect additional invalid strings.
61668 * inet/tst-network.c: Add testcase.
61669
61670 2013-10-17 Andreas Schwab <schwab@suse.de>
61671
61672 [BZ #15218]
61673 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
61674 to determine canonical name.
61675
61676 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
61677
61678 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
61679 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
61680 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61681 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61682 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61683 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61684 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61685 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61686 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
61687 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61688 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
61689 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61690 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61691 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61692 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61693 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61694 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61695 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61696 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
61697 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61698 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61699 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61700 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61701 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
61702 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
61703 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
61704 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
61705 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
61706 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
61707 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
61708 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61709 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61710 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
61711 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
61712 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61713 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61714 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61715 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61716 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61717 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61718 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61719 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
61720 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
61721 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61722 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
61723 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61724 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61725 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
61726 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
61727 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61728 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
61729 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61730 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
61731 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
61732 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61733 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
61734 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61735 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
61736
61737 2013-10-17 Joseph Myers <joseph@codesourcery.com>
61738
61739 [BZ #16041]
61740 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
61741 make result into a quiet NaN.
61742
61743 2013-10-16 Joseph Myers <joseph@codesourcery.com>
61744
61745 * soft-fp/adddf3.c: Fix horizontal whitespace.
61746 * soft-fp/addsf3.c: Likewise.
61747 * soft-fp/addtf3.c: Likewise.
61748 * soft-fp/divdf3.c: Likewise.
61749 * soft-fp/divsf3.c: Likewise.
61750 * soft-fp/divtf3.c: Likewise.
61751 * soft-fp/double.h: Likewise.
61752 * soft-fp/eqdf2.c: Likewise.
61753 * soft-fp/eqsf2.c: Likewise.
61754 * soft-fp/eqtf2.c: Likewise.
61755 * soft-fp/extenddftf2.c: Likewise.
61756 * soft-fp/extended.h: Likewise.
61757 * soft-fp/extendsfdf2.c: Likewise.
61758 * soft-fp/extendsftf2.c: Likewise.
61759 * soft-fp/extendxftf2.c: Likewise.
61760 * soft-fp/fixdfdi.c: Likewise.
61761 * soft-fp/fixdfsi.c: Likewise.
61762 * soft-fp/fixdfti.c: Likewise.
61763 * soft-fp/fixsfdi.c: Likewise.
61764 * soft-fp/fixsfsi.c: Likewise.
61765 * soft-fp/fixsfti.c: Likewise.
61766 * soft-fp/fixtfdi.c: Likewise.
61767 * soft-fp/fixtfsi.c: Likewise.
61768 * soft-fp/fixtfti.c: Likewise.
61769 * soft-fp/fixunsdfdi.c: Likewise.
61770 * soft-fp/fixunsdfsi.c: Likewise.
61771 * soft-fp/fixunsdfti.c: Likewise.
61772 * soft-fp/fixunssfdi.c: Likewise.
61773 * soft-fp/fixunssfsi.c: Likewise.
61774 * soft-fp/fixunssfti.c: Likewise.
61775 * soft-fp/fixunstfdi.c: Likewise.
61776 * soft-fp/fixunstfsi.c: Likewise.
61777 * soft-fp/fixunstfti.c: Likewise.
61778 * soft-fp/floatdidf.c: Likewise.
61779 * soft-fp/floatdisf.c: Likewise.
61780 * soft-fp/floatditf.c: Likewise.
61781 * soft-fp/floatsidf.c: Likewise.
61782 * soft-fp/floatsisf.c: Likewise.
61783 * soft-fp/floatsitf.c: Likewise.
61784 * soft-fp/floattidf.c: Likewise.
61785 * soft-fp/floattisf.c: Likewise.
61786 * soft-fp/floattitf.c: Likewise.
61787 * soft-fp/floatundidf.c: Likewise.
61788 * soft-fp/floatundisf.c: Likewise.
61789 * soft-fp/floatunditf.c: Likewise.
61790 * soft-fp/floatunsidf.c: Likewise.
61791 * soft-fp/floatunsisf.c: Likewise.
61792 * soft-fp/floatunsitf.c: Likewise.
61793 * soft-fp/floatuntidf.c: Likewise.
61794 * soft-fp/floatuntisf.c: Likewise.
61795 * soft-fp/floatuntitf.c: Likewise.
61796 * soft-fp/fmadf4.c: Likewise.
61797 * soft-fp/fmasf4.c: Likewise.
61798 * soft-fp/fmatf4.c: Likewise.
61799 * soft-fp/gedf2.c: Likewise.
61800 * soft-fp/gesf2.c: Likewise.
61801 * soft-fp/getf2.c: Likewise.
61802 * soft-fp/ledf2.c: Likewise.
61803 * soft-fp/lesf2.c: Likewise.
61804 * soft-fp/letf2.c: Likewise.
61805 * soft-fp/muldf3.c: Likewise.
61806 * soft-fp/mulsf3.c: Likewise.
61807 * soft-fp/multf3.c: Likewise.
61808 * soft-fp/negdf2.c: Likewise.
61809 * soft-fp/negsf2.c: Likewise.
61810 * soft-fp/negtf2.c: Likewise.
61811 * soft-fp/op-1.h: Likewise.
61812 * soft-fp/op-2.h: Likewise.
61813 * soft-fp/op-4.h: Likewise.
61814 * soft-fp/op-8.h: Likewise.
61815 * soft-fp/op-common.h: Likewise.
61816 * soft-fp/quad.h: Likewise.
61817 * soft-fp/single.h: Likewise.
61818 * soft-fp/soft-fp.h: Likewise.
61819 * soft-fp/sqrtdf2.c: Likewise.
61820 * soft-fp/sqrtsf2.c: Likewise.
61821 * soft-fp/sqrttf2.c: Likewise.
61822 * soft-fp/subdf3.c: Likewise.
61823 * soft-fp/subsf3.c: Likewise.
61824 * soft-fp/subtf3.c: Likewise.
61825 * soft-fp/truncdfsf2.c: Likewise.
61826 * soft-fp/trunctfdf2.c: Likewise.
61827 * soft-fp/trunctfsf2.c: Likewise.
61828 * soft-fp/trunctfxf2.c: Likewise.
61829 * soft-fp/unorddf2.c: Likewise.
61830 * soft-fp/unordsf2.c: Likewise.
61831 * soft-fp/unordtf2.c: Likewise.
61832
61833 2013-10-15 Joseph Myers <joseph@codesourcery.com>
61834
61835 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
61836 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
61837
61838 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
61839
61840 * elf/dl-libc.c: Clear initfini list after freeing.
61841
61842 2013-10-14 Joseph Myers <joseph@codesourcery.com>
61843
61844 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
61845 * soft-fp/addsf3.c: Likewise.
61846 * soft-fp/addtf3.c: Likewise.
61847 * soft-fp/divdf3.c: Likewise.
61848 * soft-fp/divsf3.c: Likewise.
61849 * soft-fp/divtf3.c: Likewise.
61850 * soft-fp/double.h: Likewise.
61851 * soft-fp/eqdf2.c: Likewise.
61852 * soft-fp/eqsf2.c: Likewise.
61853 * soft-fp/eqtf2.c: Likewise.
61854 * soft-fp/extenddftf2.c: Likewise.
61855 * soft-fp/extended.h: Likewise.
61856 * soft-fp/extendsfdf2.c: Likewise.
61857 * soft-fp/extendsftf2.c: Likewise.
61858 * soft-fp/extendxftf2.c: Likewise.
61859 * soft-fp/fixdfdi.c: Likewise.
61860 * soft-fp/fixdfsi.c: Likewise.
61861 * soft-fp/fixdfti.c: Likewise.
61862 * soft-fp/fixsfdi.c: Likewise.
61863 * soft-fp/fixsfsi.c: Likewise.
61864 * soft-fp/fixsfti.c: Likewise.
61865 * soft-fp/fixtfdi.c: Likewise.
61866 * soft-fp/fixtfsi.c: Likewise.
61867 * soft-fp/fixtfti.c: Likewise.
61868 * soft-fp/fixunsdfdi.c: Likewise.
61869 * soft-fp/fixunsdfsi.c: Likewise.
61870 * soft-fp/fixunsdfti.c: Likewise.
61871 * soft-fp/fixunssfdi.c: Likewise.
61872 * soft-fp/fixunssfsi.c: Likewise.
61873 * soft-fp/fixunssfti.c: Likewise.
61874 * soft-fp/fixunstfdi.c: Likewise.
61875 * soft-fp/fixunstfsi.c: Likewise.
61876 * soft-fp/fixunstfti.c: Likewise.
61877 * soft-fp/floatdidf.c: Likewise.
61878 * soft-fp/floatdisf.c: Likewise.
61879 * soft-fp/floatditf.c: Likewise.
61880 * soft-fp/floatsidf.c: Likewise.
61881 * soft-fp/floatsisf.c: Likewise.
61882 * soft-fp/floatsitf.c: Likewise.
61883 * soft-fp/floattidf.c: Likewise.
61884 * soft-fp/floattisf.c: Likewise.
61885 * soft-fp/floattitf.c: Likewise.
61886 * soft-fp/floatundidf.c: Likewise.
61887 * soft-fp/floatundisf.c: Likewise.
61888 * soft-fp/floatunsidf.c: Likewise.
61889 * soft-fp/floatunsisf.c: Likewise.
61890 * soft-fp/floatuntidf.c: Likewise.
61891 * soft-fp/floatuntisf.c: Likewise.
61892 * soft-fp/floatuntitf.c: Likewise.
61893 * soft-fp/fmadf4.c: Likewise.
61894 * soft-fp/fmasf4.c: Likewise.
61895 * soft-fp/fmatf4.c: Likewise.
61896 * soft-fp/gedf2.c: Likewise.
61897 * soft-fp/gesf2.c: Likewise.
61898 * soft-fp/getf2.c: Likewise.
61899 * soft-fp/ledf2.c: Likewise.
61900 * soft-fp/lesf2.c: Likewise.
61901 * soft-fp/letf2.c: Likewise.
61902 * soft-fp/muldf3.c: Likewise.
61903 * soft-fp/mulsf3.c: Likewise.
61904 * soft-fp/multf3.c: Likewise.
61905 * soft-fp/negdf2.c: Likewise.
61906 * soft-fp/negsf2.c: Likewise.
61907 * soft-fp/negtf2.c: Likewise.
61908 * soft-fp/op-1.h: Likewise.
61909 * soft-fp/op-2.h: Likewise.
61910 * soft-fp/op-4.h: Likewise.
61911 * soft-fp/op-8.h: Likewise.
61912 * soft-fp/op-common.h: Likewise.
61913 * soft-fp/quad.h: Likewise.
61914 * soft-fp/single.h: Likewise.
61915 * soft-fp/soft-fp.h: Likewise.
61916 * soft-fp/sqrtdf2.c: Likewise.
61917 * soft-fp/sqrtsf2.c: Likewise.
61918 * soft-fp/sqrttf2.c: Likewise.
61919 * soft-fp/subdf3.c: Likewise.
61920 * soft-fp/subsf3.c: Likewise.
61921 * soft-fp/subtf3.c: Likewise.
61922 * soft-fp/truncdfsf2.c: Likewise.
61923 * soft-fp/trunctfdf2.c: Likewise.
61924 * soft-fp/trunctfsf2.c: Likewise.
61925 * soft-fp/trunctfxf2.c: Likewise.
61926 * soft-fp/unorddf2.c: Likewise.
61927 * soft-fp/unordsf2.c: Likewise.
61928 * soft-fp/unordtf2.c: Likewise.
61929
61930 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
61931
61932 [BZ #15672]
61933 * misc/error.c (error_tail): Fix possible buffer overflow.
61934
61935 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
61936
61937 [BZ #13028]
61938 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
61939 address.
61940
61941 2013-10-14 P. J. McDermott <pj@pehjota.net>
61942
61943 [BZ #832]
61944 * elf/ldd.bash.in (try_trace): New function. Delete previous code
61945 testing pipefail option.
61946
61947 2013-10-12 Joseph Myers <joseph@codesourcery.com>
61948
61949 * soft-fp/double.h: Indent preprocessor directives inside #if.
61950 * soft-fp/extended.h: Likewise.
61951 * soft-fp/op-2.h: Likewise.
61952 * soft-fp/op-4.h: Likewise.
61953 * soft-fp/op-common.h: Likewise.
61954 * soft-fp/quad.h: Likewise.
61955 * soft-fp/single.h: Likewise.
61956 * soft-fp/soft-fp.h: Likewise.
61957
61958 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
61959
61960 * iconv/iconv_prog.c: Fix typos.
61961 * stdio-common/psiginfo-data.h: Likewise.
61962
61963 2013-10-12 Reuben Thomas <rrt@sc3d.org>
61964
61965 [BZ #15764]
61966 * locale/setlocale.c: Fix typo.
61967
61968 2013-10-12 Joseph Myers <joseph@codesourcery.com>
61969
61970 [BZ #16036]
61971 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
61972 signaling NaN arguments.
61973 * soft-fp/unordsf2.c (__unordsf2): Likewise.
61974 * soft-fp/unordtf2.c (__unordtf2): Likewise.
61975
61976 [BZ #14910]
61977 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
61978 unordered operands.
61979 * soft-fp/gesf2.c (__gesf2): Likewise.
61980 * soft-fp/getf2.c (__getf2): Likewise.
61981 * soft-fp/ledf2.c (__ledf2): Likewise.
61982 * soft-fp/lesf2.c (__lesf2): Likewise.
61983 * soft-fp/letf2.c (__letf2): Likewise.
61984
61985 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
61986 * soft-fp/eqsf2.c (__eqsf2): Likewise.
61987 * soft-fp/eqtf2.c (__eqtf2): Likewise.
61988 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
61989 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
61990 * soft-fp/fixdfti.c (__fixdfti): Likewise.
61991 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
61992 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
61993 * soft-fp/fixsfti.c (__fixsfti): Likewise.
61994 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
61995 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
61996 * soft-fp/fixtfti.c (__fixtfti): Likewise.
61997 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
61998 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
61999 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
62000 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
62001 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
62002 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
62003 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
62004 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
62005 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
62006 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
62007 * soft-fp/floatdisf.c (__floatdisf): Likewise.
62008 * soft-fp/floatsisf.c (__floatsisf): Likewise.
62009 * soft-fp/floattidf.c (__floattidf): Likewise.
62010 * soft-fp/floattisf.c (__floattisf): Likewise.
62011 * soft-fp/floattitf.c (__floattitf): Likewise.
62012 * soft-fp/floatundidf.c (__floatundidf): Likewise.
62013 * soft-fp/floatundisf.c (__floatundisf): Likewise.
62014 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
62015 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
62016 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
62017 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
62018 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
62019 * soft-fp/gesf2.c (__gesf2): Likewise.
62020 * soft-fp/getf2.c (__getf2): Likewise.
62021 * soft-fp/ledf2.c (__ledf2): Likewise.
62022 * soft-fp/lesf2.c (__lesf2): Likewise.
62023 * soft-fp/letf2.c (__letf2): Likewise.
62024
62025 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
62026 Undefine and redefine.
62027 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
62028 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
62029 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
62030 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
62031 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62032 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
62033 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62034 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
62035 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62036 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
62037 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62038 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
62039 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62040 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
62041 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62042
62043 [BZ #16032]
62044 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
62045 without decrementing exponent if mantissa >= that for the
62046 denominator, not >.
62047 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
62048 denominator, not >. Decrement exponent in < case instead of
62049 incrementing in >= case.
62050 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
62051 without decrementing exponent if mantissa >= that for the
62052 denominator, not >.
62053
62054 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
62055 computing saturated result for unsigned overflow.
62056
62057 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
62058 Jeff Law <law@redhat.com>
62059
62060 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
62061 (atan2Mp): Add systemtap probe marker.
62062 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
62063 (__ieee754_log): Add systemtap probe marker.
62064 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
62065 (atanMp): Add systemtap probe marker.
62066 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
62067 (tanMp): Add systemtap probe marker.
62068 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
62069 (__slowexp): Add systemtap probe marker.
62070 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
62071 (__slowpow): Add systemtap probe marker.
62072 * manual/probes.texi: Document probes.
62073
62074 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
62075
62076 [BZ #15362]
62077 * libio/fileops.c (_IO_new_file_write): Return count of bytes
62078 written.
62079 (_IO_new_file_xsputn): Don't return EOF if nothing has been
62080 written.
62081 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
62082 written to buffer but not flushed.
62083 * libio/iofwrite_u.c: Likewise.
62084 * libio/iopadn.c: Return bytes returned even if EOF was
62085 encountered.
62086 * libio/iowpadn.c: Likewise.
62087 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
62088 if _IO_padn does not write the whole buffer.
62089 [!COMPILE_WPRINTF] (PAD): Likewise.
62090
62091 2013-10-10 David S. Miller <davem@davemloft.net>
62092
62093 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
62094 directory block.
62095
62096 2013-10-10 Joseph Myers <joseph@codesourcery.com>
62097
62098 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
62099 instead of FSF address.
62100 * soft-fp/fixdfti.c: Likewise.
62101 * soft-fp/fixsfti.c: Likewise.
62102 * soft-fp/fixtfti.c: Likewise.
62103 * soft-fp/fixunsdfti.c: Likewise.
62104 * soft-fp/fixunssfti.c: Likewise.
62105 * soft-fp/fixunstfti.c: Likewise.
62106 * soft-fp/floattidf.c: Likewise.
62107 * soft-fp/floattisf.c: Likewise.
62108 * soft-fp/floattitf.c: Likewise.
62109 * soft-fp/floatuntidf.c: Likewise.
62110 * soft-fp/floatuntisf.c: Likewise.
62111 * soft-fp/floatuntitf.c: Likewise.
62112 * soft-fp/trunctfxf2.c: Likewise.
62113
62114 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
62115 * soft-fp/fixdfti.c: Likewise.
62116 * soft-fp/fixsfti.c: Likewise.
62117 * soft-fp/fixtfti.c: Likewise.
62118 * soft-fp/fixunsdfti.c: Likewise.
62119 * soft-fp/fixunssfti.c: Likewise.
62120 * soft-fp/fixunstfti.c: Likewise.
62121 * soft-fp/floattidf.c: Likewise.
62122 * soft-fp/floattisf.c: Likewise.
62123 * soft-fp/floattitf.c: Likewise.
62124 * soft-fp/floatuntidf.c: Likewise.
62125 * soft-fp/floatuntisf.c: Likewise.
62126 * soft-fp/floatuntitf.c: Likewise.
62127 * soft-fp/trunctfxf2.c: Likewise.
62128
62129 2013-10-10 David S. Miller <davem@davemloft.net>
62130
62131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62132
62133 2013-10-10 Joseph Myers <joseph@codsourcery.com>
62134
62135 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
62136 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
62137 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
62138 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
62139 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
62140 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
62141 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
62142
62143 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
62144 for NaNs before doing comparisons on argument.
62145 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
62146 Likewise.
62147
62148 2013-10-10 Will Newton <will.newton@linaro.org>
62149
62150 * malloc/hooks.c (memalign_check): Ensure the value of bytes
62151 passed to _int_memalign does not overflow.
62152
62153 2013-10-10 Torvald Riegel <triegel@redhat.com>
62154
62155 * scripts/bench.pl: Add include-sources directive.
62156 * benchtests/README: Update documentation.
62157
62158 2013-10-10 Joseph Myers <joseph@codesourcery.com>
62159
62160 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
62161 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
62162 instead of FP_INIT_ROUNDMODE.
62163 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
62164 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
62165
62166 [BZ #16034]
62167 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
62168 copy class of input value.
62169 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
62170 not handle exceptions.
62171 * soft-fp/negsf2.c (__negsf2): Likewise.
62172 * soft-fp/negtf2.c (__negtf2): Likewise.
62173 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
62174
62175 2013-10-09 Joseph Myers <joseph@codesourcery.com>
62176
62177 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
62178 semicolon. From Linux kernel.
62179
62180 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
62181
62182 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
62183
62184 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
62185
62186 [BZ #156]
62187 * manual/socket.texi: Added statement about buffer
62188 for gethostbyname2_r.
62189
62190 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
62191
62192 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
62193 Use .p2align directive instead, throughout.
62194 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62195 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
62196 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
62197 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62198 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62199 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
62200 * sysdeps/x86_64/strchr.S: Likewise.
62201 * sysdeps/x86_64/strrchr.S: Likewise.
62202
62203 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
62204
62205 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
62206
62207 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
62208
62209 * sysdeps/generic/math_private.h (__mpsin1): Remove
62210 declaration.
62211 (__mpcos1): Likewise.
62212 (__mpsin): New argument __range_reduce.
62213 (__mpcos): Likewise.
62214 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62215 (slow): Use __mpsin and __mpcos.
62216 (slow1): Likewise.
62217 (slow2): Likewise.
62218 (sloww): Likewise.
62219 (sloww1): Likewise.
62220 (sloww2): Likewise.
62221 (bsloww): Likewise.
62222 (bsloww1): Likewise.
62223 (bsloww2): Likewise.
62224 (cslow2): Likewise.
62225 (csloww): Likewise.
62226 (csloww1): Likewise.
62227 (csloww2): Likewise.
62228 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
62229 range_reduce. Merge in __mpsin1.
62230 (__mpcos): Likewise.
62231 (__mpsin1): Remove.
62232 (__mpcos1): Likewise.
62233
62234 2013-10-07 Joseph Myers <joseph@codesourcery.com>
62235
62236 * locale/loadlocale.c (_nl_intern_locale_data): Use
62237 LOCFILE_ALIGNED_P.
62238 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
62239 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
62240 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
62241 obstack data is appropriately aligned.
62242 (obstack_int32_grow_fast): Likewise.
62243 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
62244 * locale/programs/locfile.c (add_locale_uint32): Likewise.
62245 (add_locale_uint32_array): Likewise.
62246
62247 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
62248
62249 * benchtests/Makefile: Remove ARGLIST and RET variables.
62250 ($(objpfx)bench-%.c): Pass only function name to the script.
62251 * benchtests/README: Update documentation.
62252 * benchtests/acos-inputs: Add new directives.
62253 * benchtests/acosh-inputs: Likewise.
62254 * benchtests/asin-inputs: Likewise.
62255 * benchtests/asinh-inputs: Likewise.
62256 * benchtests/atan-inputs: Likewise.
62257 * benchtests/atanh-inputs: Likewise.
62258 * benchtests/cos-inputs: Likewise.
62259 * benchtests/cosh-inputs: Likewise.
62260 * benchtests/exp-inputs: Likewise.
62261 * benchtests/log-inputs: Likewise.
62262 * benchtests/pow-inputs: Likewise.
62263 * benchtests/rint-inputs: Likewise.
62264 * benchtests/sin-inputs: Likewise.
62265 * benchtests/sinh-inputs: Likewise.
62266 * benchtests/tan-inputs: Likewise.
62267 * benchtests/tanh-inputs: Likewise.
62268 * scripts/bench.pl: Add support for new directives.
62269
62270 2013-10-07 Alan Modra <amodra@gmail.com>
62271
62272 * README: Fix careless merge.
62273
62274 2013-10-05 Alan Modra <amodra@gmail.com>
62275
62276 * NEWS: Mention powerpc64le support and bugs fixed.
62277 * README: Both big-endian and little-endian powerpc64 supported.
62278
62279 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
62280
62281 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
62282 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
62283 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
62284 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
62285
62286 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
62287
62288 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
62289 match prototype.
62290
62291 2013-10-04 Joseph Myers <joseph@codesourcery.com>
62292
62293 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
62294 Move -mhard-float appending from
62295 ports/sysdeps/powerpc/powerpc32/Makefile.
62296 [$(with-fp) = yes] (ASFLAGS): Likewise.
62297 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
62298 * sysdeps/powerpc/nofpu: Move directory from
62299 ports/sysdeps/powerpc/nofpu.
62300 * sysdeps/powerpc/soft-fp: Move directory from
62301 ports/sysdeps/powerpc/soft-fp.
62302 * sysdeps/powerpc/powerpc32/405: Move directory from
62303 ports/sysdeps/powerpc/powerpc32/405.
62304 * sysdeps/powerpc/powerpc32/440: Move directory from
62305 ports/sysdeps/powerpc/powerpc32/440.
62306 * sysdeps/powerpc/powerpc32/464: Move directory from
62307 ports/sysdeps/powerpc/powerpc32/464.
62308 * sysdeps/powerpc/powerpc32/476: Move directory from
62309 ports/sysdeps/powerpc/powerpc32/476.
62310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
62311 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
62312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
62313 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
62314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
62315 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
62316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
62317 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
62318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
62319 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
62320 * README: Update for powerpc-*-linux-gnu software floating point
62321 support in libc.
62322
62323 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
62324 case to powerpc/powerpc32*.
62325 * sysdeps/unix/sysv/linux/configure: Regenerated.
62326
62327 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
62328 (_FPU_MASK_OM): Define as 0x04.
62329 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
62330 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
62331 0x00c10080.
62332 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
62333 0x0000003c.
62334 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
62335
62336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
62337 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62338 getcontext_e500.
62339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
62340 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62341 setcontext_e500.
62342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
62343 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
62344 and setcontext_e500.
62345
62346 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
62347
62348 * locale/iso-3166.def: Update iso-1366.def and related occurrences
62349
62350 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
62351
62352 * manual/threads.texi (Default Thread Attributes): Fix typo.
62353
62354 2013-10-04 Will Newton <will.newton@linaro.org>
62355
62356 * malloc/Makefile: Add tst-memalign.
62357 * malloc/tst-memalign.c: New file.
62358
62359 * malloc/tst-posix_memalign.c: Add comments.
62360 (do_test): Add comments and call free on all potentially
62361 allocated pointers. Add space after cast.
62362
62363 * malloc/tst-pvalloc.c: Add comments.
62364 (do_test): Add comments and call free on all potentially
62365 allocated pointers. Remove duplicate check for NULL pointer.
62366 Add space after cast.
62367
62368 * malloc/tst-valloc.c: Add comments.
62369 (do_test): Add comments and call free on all potentially
62370 allocated pointers. Remove duplicate check for NULL pointer.
62371 Add space after cast.
62372
62373 2013-10-04 Alan Modra <amodra@gmail.com>
62374
62375 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62376 Use stdint types in rather than __attribute__((mode())).
62377 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62378
62379 2013-10-04 Alan Modra <amodra@gmail.com>
62380
62381 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62382 Correct handling of unaligned relocs for little-endian.
62383 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62384
62385 2013-10-04 Alan Modra <amodra@gmail.com>
62386
62387 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
62388 * configure: Regenerate.
62389 * nptl/shlib-versions: Powerpc*le starts at 2.18.
62390 * shlib-versions: Likewise.
62391
62392 2013-10-04 Alan Modra <amodra@gmail.com>
62393
62394 * string/tester.c (test_memrchr): Increment reported test cycle.
62395
62396 2013-10-04 Alan Modra <amodra@gmail.com>
62397
62398 * string/test-memcpy.c (do_one_test): When reporting errors, print
62399 string address and don't overrun end of string.
62400
62401 2013-10-04 Alan Modra <amodra@gmail.com>
62402
62403 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
62404 insrdi. Make better use of reg selection to speed exit slightly.
62405 Schedule entry path a little better. Remove useless "are we done"
62406 checks on entry to main loop. Handle wrapping around zero address.
62407 Correct main loop count. Handle single left-over word from main
62408 loop inline rather than by using loop_small. Remove extra word
62409 case in loop_small caused by wrong loop count. Add little-endian
62410 support.
62411 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62412 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
62413 cache hint.
62414 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62415 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
62416 support. Avoid rlwimi.
62417 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
62418
62419 2013-10-04 Alan Modra <amodra@gmail.com>
62420
62421 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
62422 insrdi. Formatting.
62423 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
62424 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
62425 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
62426 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62427 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
62428 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
62429
62430 2013-10-04 Alan Modra <amodra@gmail.com>
62431
62432 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
62433 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62434 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
62435 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
62436 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62437 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62438 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62439 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62440 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
62441 use of regs. Use power7 mtocrf. Tidy function tails.
62442
62443 2013-10-04 Alan Modra <amodra@gmail.com>
62444
62445 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
62446 Formatting. Consistently use rXXX register defines or rN defines.
62447 Use early exit labels that avoid restoring unused non-volatile regs.
62448 Make cr field use more consistent with rWORDn compares. Rename
62449 regs used as shift registers for unaligned loop, using rN defines
62450 for short lifetime/multiple use regs.
62451 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62452 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
62453 addi 1,1,64 to pop stack frame. Simplify return value code.
62454 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62455
62456 2013-10-04 Alan Modra <amodra@gmail.com>
62457
62458 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
62459 support. Correct typos, formatting. Optimize tail. Use insrdi
62460 rather than rlwimi.
62461 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
62462 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
62463 little-endian support. Correct typos.
62464 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
62465 rather than rlwimi.
62466 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
62467 in loop and entry code to keep "and." results.
62468 (strchr): Add little-endian support. Comment. Move cntlzd
62469 earlier in tail.
62470 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
62471
62472 2013-10-04 Alan Modra <amodra@gmail.com>
62473
62474 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
62475 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
62476 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
62477 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
62478
62479 2013-10-04 Alan Modra <amodra@gmail.com>
62480
62481 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
62482 (rTMP): Define as r11.
62483 (strcmp): Add little-endian support. Optimise tail.
62484 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
62485 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62486 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
62487 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62488 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
62489 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62490 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62491
62492 2013-10-04 Alan Modra <amodra@gmail.com>
62493
62494 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
62495 little-endian support. Remove unnecessary "are we done" tests.
62496 Handle "s" wrapping around zero and extremely large "size".
62497 Correct main loop count. Handle single left-over word from main
62498 loop inline rather than by using small_loop. Correct comments.
62499 Delete "zero" tail, use "end_max" instead.
62500 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
62501
62502 2013-10-04 Alan Modra <amodra@gmail.com>
62503
62504 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
62505 support. Don't branch over align.
62506 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
62507 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
62508 support. Rearrange tmp reg use to suit. Comment.
62509 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
62510
62511 2013-10-04 Alan Modra <amodra@gmail.com>
62512
62513 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
62514
62515 2013-10-04 Alan Modra <amodra@gmail.com>
62516
62517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
62518 conditional form of branch and link when obtaining pc.
62519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
62520
62521 2013-10-04 Alan Modra <amodra@gmail.com>
62522
62523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
62524 HIWORD/LOWORD.
62525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
62526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
62527
62528 2013-10-04 Alan Modra <amodra@gmail.com>
62529
62530 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
62531 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
62532 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
62533 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
62534 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
62535 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
62536 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
62537 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
62538 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
62539 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
62540
62541 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62542 Alistair Popple <alistair@ozlabs.au.ibm.com>
62543 Alan Modra <amodra@gmail.com>
62544
62545 [BZ #15723]
62546 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
62547 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
62548 _dl_hwcap access for little-endian.
62549 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
62550 destroy vmx regs when saving unaligned.
62551 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
62552 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
62553 destroy vmx regs when saving unaligned.
62554
62555 2013-10-04 Alan Modra <amodra@gmail.com>
62556
62557 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
62558 Don't use a union to pack hi/low value.
62559
62560 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62561
62562 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
62563 for little-endian.
62564 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
62565 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
62566 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
62567 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
62568 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
62569
62570 2013-10-04 Alan Modra <amodra@gmail.com>
62571
62572 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
62573 constants to usual value for .cst8 section, and remove redundant
62574 high address load.
62575 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
62576 constant for 0x1p52. Load little-endian words of double from
62577 correct stack offsets.
62578
62579 2013-10-04 Alan Modra <amodra@gmail.com>
62580
62581 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
62582 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
62583 words of double from correct stack offsets.
62584 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
62585 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
62586 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
62587 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
62588 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
62589 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
62590 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
62591 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
62592 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
62593 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
62594 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
62595 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
62596 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
62597 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
62598 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
62599 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
62600 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
62601
62602 2013-10-04 Alan Modra <amodra@gmail.com>
62603
62604 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
62605 64-bit int/double union.
62606 (_FPU_SETCW): Likewise.
62607 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
62608 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
62609
62610 2013-10-04 Alan Modra <amodra@gmail.com>
62611
62612 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
62613 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
62614
62615 2013-10-04 Alan Modra <amodra@gmail.com>
62616
62617 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
62618 use vector int constants.
62619 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
62620
62621 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62622
62623 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
62624 array with long long.
62625 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
62626 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
62627 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
62628 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
62629 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
62630 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
62631 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
62632 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
62633 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
62634 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
62635 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
62636 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
62637 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
62638
62639 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62640
62641 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
62642 (__signbit): Likewise. Correct for little-endian.
62643 (__signbitl): Call __signbit.
62644 (lrint): Correct for little-endian.
62645 (lrintf): Call lrint.
62646
62647 2013-10-04 Alan Modra <amodra@gmail.com>
62648
62649 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
62650 union 32-bit int array member with 64-bit int array.
62651 (t515, tm256): Double rather than long double.
62652 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
62653
62654 2013-10-04 Alan Modra <amodra@gmail.com>
62655
62656 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
62657 Delete.
62658 (IEEE854_LONG_DOUBLE_BIAS): Delete.
62659 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
62660 version of math_ldbl.h.
62661
62662 2013-10-04 Alan Modra <amodra@gmail.com>
62663
62664 [BZ #15734], [BZ #15735]
62665 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
62666 all uses of ieee875 long double macros and unions. Simplify test
62667 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
62668 ldbl_extract_mantissa value for ix,iy exponents. Properly
62669 normalize after ldbl_extract_mantissa, and don't add hidden bit
62670 already handled. Don't treat low word of ieee854 mantissa like
62671 low word of IBM long double and mask off bit when testing for
62672 zero.
62673 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
62674 all uses of ieee875 long double macros and unions. Simplify tests
62675 for 0.0L and inf. Correct double adjustment of k. Delete dead code
62676 adjusting ha,hb. Simplify code setting kld. Delete two600 and
62677 two1022, instead use their values. Recognise that tests for large
62678 "a" and small "b" are mutually exclusive. Rename vars. Comment.
62679 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
62680 Rewrite all uses of ieee875 long double macros and unions. Simplify
62681 test for 0.0L and nan. Correct negation.
62682 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
62683 ieee875 long double macros and unions. Correct output for large
62684 magnitude x. Correct absolute value calculation.
62685 (__erfcl): Likewise.
62686 * math/libm-test.inc: Add tests for errors discovered in IBM long
62687 double versions of fmodl, remainderl, erfl and erfcl.
62688
62689 2013-10-04 Alan Modra <amodra@gmail.com>
62690
62691 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
62692 all uses of ieee854 long double macros and unions. Simplify tests
62693 for long doubles that are fully specified by the high double.
62694 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
62695 Likewise.
62696 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
62697 Remove dead code too.
62698 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
62699 (__ieee754_ynl): Likewise.
62700 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
62701 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
62702 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
62703 Remove dead code too.
62704 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
62705 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
62706 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
62707 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
62708 Simplify.
62709 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
62710 Simplify.
62711 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
62712 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
62713 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
62714 Comment on variable precision.
62715 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
62716 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
62717 Likewise.
62718 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
62719 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
62720 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
62721 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
62722 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
62723
62724 2013-10-04 Alan Modra <amodra@gmail.com>
62725
62726 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
62727 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
62728 all uses of ieee854 long double macros and unions.
62729 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
62730 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
62731 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
62732 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
62733 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
62734 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
62735 Likewise.
62736 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
62737 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
62738 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
62739 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
62740 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
62741 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
62742 Simplify sign and nan test too.
62743 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
62744 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
62745 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
62746 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
62747 Likewise.
62748 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
62749 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
62750 Likewise.
62751 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62752 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
62753 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
62754 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
62755 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
62756 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
62757
62758 2013-10-04 Alan Modra <amodra@gmail.com>
62759
62760 * stdio-common/printf_size.c (__printf_size): Don't use
62761 union ieee854_long_double in fpnum union.
62762 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
62763 signbit macro to retrieve sign from long double.
62764 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
62765 retrieve sign from long double.
62766 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
62767 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
62768 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
62769 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
62770 * math/test-misc.c (main): Don't use union ieee854_long_double.
62771
62772 2013-10-04 Alan Modra <amodra@gmail.com>
62773
62774 [BZ #15680]
62775 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
62776 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
62777 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
62778 calculation. Remove unnecessary test for denormal exponent.
62779 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
62780 Correct handling of denormals. Avoid undefined shift behaviour.
62781 Correct normalisation of low mantissa when low double is denormal.
62782 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
62783 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
62784 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
62785 Correct normalisation of low mantissa. Test for overflow of high
62786 mantissa and normalise.
62787 (ldbl_nearbyint): Use more readable constant for two52.
62788 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
62789 (__mpn_construct_long_double): Fix test for overflow of high
62790 mantissa and correct normalisation. Avoid undefined shift.
62791
62792 2013-10-04 Alan Modra <amodra@gmail.com>
62793
62794 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
62795 (union ibm_extended_long_double): Define as an array of ieee754_double.
62796 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
62797 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
62798 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
62799 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
62800 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
62801 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
62802 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
62803 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
62804 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
62805 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
62806 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
62807
62808 2013-10-03 Joseph Myers <joseph@codesourcery.com>
62809
62810 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
62811 page size instead of calling getpagesize.
62812
62813 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
62814 (LOCFILE_ALIGN_MASK): Likewise.
62815 (LOCFILE_ALIGN_UP): Likewise.
62816 (LOCFILE_ALIGNED_P): Likewise.
62817 * locale/programs/ld-collate.c (collate_output): Use the new
62818 macros instead of __alignof__ (int32_t).
62819 * locale/weight.h (findidx): Likewise.
62820
62821 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
62822
62823 [BZ #431]
62824 * manual/string.texi: Fix strncat and wcsncat.
62825
62826 2013-10-03 Brooks Moses <bmoses@google.com>
62827
62828 [BZ #15915]
62829 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
62830 * Makerules: ...here, and adjust associated comments.
62831
62832 2013-10-02 Will Newton <will.newton@linaro.org>
62833
62834 * malloc/Makefile: Add tst-pvalloc.
62835 * malloc/tst-pvalloc.c: New file.
62836
62837 2013-10-02 Will Newton <will.newton@linaro.org>
62838
62839 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
62840 improve test coverage.
62841
62842 2013-10-02 Will Newton <will.newton@linaro.org>
62843
62844 * malloc/Makefile: Add tst-posix_memalign.
62845 * malloc/tst-posix_memalign.c: New file.
62846
62847 2013-10-01 Eric Blake <eblake@redhat.com>
62848
62849 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
62850 Use __THROWNL rather than __THROW on static functions.
62851
62852 2013-09-30 Petr Machata <pmachata@redhat.com>
62853
62854 * elf/elf.h (R_AARCH64_ABS16): New macro.
62855 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
62856 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
62857 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
62858 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
62859 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
62860 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
62861 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
62862 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
62863 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
62864 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
62865 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
62866 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
62867 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
62868 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
62869 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
62870 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
62871 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
62872 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
62873 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
62874 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
62875 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
62876 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
62877 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
62878 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
62879 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
62880 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
62881 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
62882 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
62883 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
62884 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
62885 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
62886 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
62887 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
62888 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
62889 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
62890 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
62891 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
62892 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
62893 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
62894 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
62895 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
62896 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
62897 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
62898 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
62899 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
62900 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
62901 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
62902 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
62903 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
62904 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
62905 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
62906 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
62907 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
62908 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
62909 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
62910 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
62911 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
62912 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
62913 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
62914 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
62915 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
62916 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
62917 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
62918 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
62919 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
62920 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
62921 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
62922 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
62923 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
62924 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
62925 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
62926 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
62927 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
62928 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
62929 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
62930 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
62931 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
62932 (R_AARCH64_TLSDESC_LDR): Likewise.
62933 (R_AARCH64_TLSDESC_ADD): Likewise.
62934 (R_AARCH64_TLSDESC_CALL): Likewise.
62935
62936 2013-09-30 Andreas Schwab <schwab@suse.de>
62937
62938 [BZ #15048]
62939 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
62940 the nss database lookup.
62941 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62942 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62943
62944 2013-09-28 Mike Frysinger <vapier@gentoo.org>
62945
62946 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
62947
62948 2013-09-28 P. J. McDermott <pj@pehjota.net>
62949
62950 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
62951 ${Bash-specific parameter/pattern/string} parameter expansion.
62952 * sysdeps/unix/make-syscalls.sh: Likewise.
62953
62954 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
62955
62956 * sysdeps/sh/stackguard-macros.h: New file.
62957
62958 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
62959
62960 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
62961 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
62962 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
62963 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
62964 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62965 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
62966
62967 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62968
62969 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
62970 Fix thread ID register.
62971
62972 2013-09-25 Joseph Myers <joseph@codesourcery.com>
62973
62974 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
62975 [POSIX || UNIX98]: Require rather than permitting all symbols from
62976 <time.h>.
62977 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
62978 element of struct sched_param.
62979 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
62980 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
62981 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
62982 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
62983 constant.
62984
62985 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
62986
62987 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
62988 argument calculation.
62989
62990 2013-09-24 Joseph Myers <joseph@codesourcery.com>
62991
62992 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
62993 Expect macro.
62994 [POSIX] (pthread_attr_t): Do not require type.
62995 [POSIX] (pthread_cond_t): Likewise.
62996 [POSIX] (pthread_condattr_t): Likewise.
62997 [POSIX] (pthread_key_t): Likewise.
62998 [POSIX] (pthread_mutex_t): Likewise.
62999 [POSIX] (pthread_mutexattr_t): Likewise.
63000 [POSIX] (pthread_once_t): Likewise.
63001 [POSIX] (pthread_t): Likewise.
63002 [POSIX-based standards] (pthread_atfork): Expect function.
63003
63004 2013-09-24 Joseph Myers <joseph@codesourcery.com>
63005 Richard Sandiford <richard@codesourcery.com>
63006
63007 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
63008 (swap_endianness_p): New extern variable.
63009 (set_big_endian): New inline function.
63010 (maybe_swap_uint32): Likewise.
63011 (maybe_swap_uint32_array): Likewise.
63012 (maybe_swap_uint32_obstack): Likewise.
63013 * locale/programs/locfile.c: Include <stdbool.h>.
63014 (swap_endianness_p): New variable.
63015 (add_locale_uint32): Call maybe_swap_uint32.
63016 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
63017 (write_locale_data): Call maybe_swap_uint32_array.
63018 * locale/programs/ld-collate.c (obstack_int32_grow): Call
63019 maybe_swap_uint32.
63020 (obstack_int32_grow_fast): Likewise.
63021 (output_weightwc): Call maybe_swap_uint32_obstack.
63022 (collate_output): Likewise.
63023 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
63024 (OPT_LITTLE_ENDIAN): Likewise.
63025 (options): Add --little-endian and --big-endian options.
63026 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
63027 * locale/programs/locarchive.c: Include "locfile.h".
63028 (GET): New macro.
63029 (SET): Likewise.
63030 (INC): Likewise.
63031 (create_archive): Use the new macros to access fields of
63032 structures directly mapped from or written to locale archives.
63033 (oldlocrecentcmp): Likewise.
63034 (enlarge_archive): Likewise.
63035 (insert_name): Likewise.
63036 (add_alias): Likewise.
63037 (add_locale): Likewise.
63038 (delete_locales_from_archive): Likewise.
63039 (show_archive_content): Likewise.
63040 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
63041 locale data.
63042
63043 2013-09-24 Roland McGrath <roland@hack.frob.com>
63044
63045 * manual/freemanuals.texi: Updated from (newly) canonical copy at
63046 http://www.gnu.org/doc/freemanuals.texi.
63047 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
63048
63049 2013-09-24 Will Newton <will.newton@linaro.org>
63050
63051 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
63052 macro.
63053
63054 2013-09-23 Joseph Myers <joseph@codesourcery.com>
63055
63056 * locale/hashval.h (compute_hashval): Interpret bytes of key as
63057 unsigned char.
63058
63059 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
63060
63061 * manual/threads.texi (POSIX Threads): Fix a typo.
63062
63063 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
63064
63065 [BZ #14547]
63066 * string/tst-strcoll-overflow.c: New test case.
63067 * string/Makefile (xtests): Add tst-strcoll-overflow.
63068 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
63069 cache if string sizes may cause integer overflow.
63070
63071 [BZ #14547]
63072 * string/strcoll_l.c (coll_seq): New members rule, idx,
63073 save_idx and back_us.
63074 (get_next_seq_nocache): New function.
63075 (do_compare_nocache): New function.
63076 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
63077 when malloc fails.
63078
63079 2013-09-23 Carlos O'Donell <carlos@redhat.com>
63080
63081 [BZ #15754]
63082 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
63083 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
63084 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
63085
63086 [BZ #15754]
63087 * elf/Makefile (tests): Add tst-ptrguard1.
63088 (tests-static): Add tst-ptrguard1-static.
63089 (tst-ptrguard1-ARGS): Define.
63090 (tst-ptrguard1-static-ARGS): Define.
63091 * elf/tst-ptrguard1.c: New file.
63092 * elf/tst-ptrguard1-static.c: New file.
63093 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
63094 * sysdeps/i386/stackguard-macros.h: Likewise.
63095 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63096 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63097 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63098 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63099 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63100 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63101
63102 2013-09-23 Hector Marco <hecmargi@upv.es>
63103 Ismael Ripoll <iripoll@disca.upv.es>
63104 Carlos O'Donell <carlos@redhat.com>
63105
63106 [BZ #15754]
63107 * sysdeps/generic/stackguard-macros.h: Define
63108 __pointer_chk_guard_local and POINTER_CHK_GUARD.
63109 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
63110 Define __pointer_chk_guard_local.
63111 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
63112 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
63113
63114 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
63115
63116 [BZ #15859]
63117 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
63118
63119 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
63120
63121 * include/string.h (__ffs): Declare as hidden.
63122 * string/ffs.c (__ffs): Define as hidden.
63123 * sysdeps/i386/ffs.c (__ffs): Likewise.
63124 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
63125 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
63126 * sysdeps/s390/ffs.c (__ffs): Likewise.
63127 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
63128
63129 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
63130
63131 * NEWS: Mention malloc probes.
63132
63133 * malloc/arena.c (new_heap): New memory_heap_new probe.
63134 (grow_heap): New memory_heap_more probe.
63135 (shrink_heap): New memory_heap_less probe.
63136 (heap_trim): New memory_heap_free probe.
63137 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
63138 (systrim): New memory_sbrk_less probe.
63139 * manual/probes.texi: Document them.
63140
63141 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
63142 * manual/probes.texi: Document it.
63143
63144 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
63145 (__libc_realloc): Add memory_realloc_retry probe.
63146 (__libc_memalign): Add memory_memalign_retry probe.
63147 (__libc_valloc): Add memory_valloc_retry probe.
63148 (__libc_pvalloc): Add memory_pvalloc_retry probe.
63149 (__libc_calloc): Add memory_calloc_retry probe.
63150 * manual/probes.texi: Document them.
63151
63152 * malloc/arena.c (get_free_list): Add probe
63153 memory_arena_reuse_free_list.
63154 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
63155 and memory_arena_reuse.
63156 (arena_get2) [!PER_THREAD]: Likewise.
63157 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
63158 memory_arena_reuse_realloc.
63159 * manual/probes.texi: Document them.
63160
63161 * malloc/malloc.c (__libc_free): Add
63162 memory_mallopt_free_dyn_thresholds probe.
63163 (__libc_mallopt): Add multiple memory_mallopt probes.
63164 * manual/probes.texi: Document them.
63165
63166 * malloc/malloc.c: Include stap-probe.h.
63167 (__libc_mallopt): Add memory_mallopt probe.
63168 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
63169 * manual/probes.texi: New.
63170 * manual/Makefile (chapters): Add probes.
63171 * manual/threads.texi: Set next node.
63172
63173 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
63174
63175 [BZ #15963, #13985]
63176 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
63177 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
63178 Add `Chinese' to `nan' entry name.
63179
63180 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
63181
63182 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
63183 (POLYNOMIAL): Likewise.
63184 (TAYLOR_SINCOS): Likewise.
63185 (TAYLOR_SLOW): Likewise.
63186 (__sin): Use TAYLOR_SINCOS.
63187 (__cos): Likewise.
63188 (slow): Use TAYLOR_SLOW.
63189 (sloww): Likewise.
63190 (bsloww): Likewise.
63191 (csloww): Likewise.
63192
63193 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
63194
63195 * stdlib/strtod_l.c: Fix buffer overrun.
63196
63197 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
63198
63199 * benchtests/Makefile (bench): Add sincos.
63200 * benchtests/bench-sincos.c: New file.
63201
63202 * math/libm-test.inc (cos_test_data): New test inputs.
63203 (sin_test_data): Likewise.
63204
63205 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
63206 macro.
63207 (__sin): Use it.
63208 (__cos): Likewise.
63209 (slow1): Likewise.
63210 (slow2): Likewise.
63211 (sloww1): Likewise.
63212 (sloww2): Likewise.
63213 (bsloww1): Likewise.
63214 (bsloww2): Likewise.
63215 (cslow2): Likewise.
63216 (csloww1): Likewise.
63217 (csloww2): Likewise.
63218
63219 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
63220 function.
63221 (__sin): Use it.
63222 (__cos): Likewise.
63223
63224 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
63225 gotos.
63226 (__cos): Likewise.
63227
63228 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
63229
63230 * config.h.in (HAVE_MIPS_NAN2008): New macro.
63231 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
63232 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
63233 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
63234 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
63235 * elf/cache.c (print_entry): Handle the new cache flags.
63236
63237 2013-09-18 Joseph Myers <joseph@codesourcery.com>
63238 Aldy Hernandez <aldyh@redhat.com>
63239
63240 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
63241 Change condition to [_SOFT_FLOAT].
63242 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
63243 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
63244 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
63245 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
63246 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
63247 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
63248 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
63249 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
63250 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
63251 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
63252 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
63253 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
63254 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
63255 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
63256 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
63257 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
63258 declaration.
63259
63260 2013-09-18 Joseph Myers <joseph@codesourcery.com>
63261
63262 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
63263 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63264 (__longjmp): Use LOAD_GP to load saved GPRs.
63265 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
63266 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63267 (__sigsetjmp): Use SAVE_GP to save GPRs.
63268
63269 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
63270 Do not append -msoft-float.
63271 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
63272
63273 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
63274
63275 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
63276
63277 2013-09-17 Joseph Myers <joseph@codesourcery.com>
63278
63279 [BZ #15966]
63280 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
63281 (_FPU_GETCW): Use initial "__" on variable and field names but not
63282 on macro parameter name.
63283 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
63284 parentheses around reference to macro parameter.
63285
63286 2013-09-13 Richard Sandiford <richard@codesourcery.com>
63287
63288 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
63289 prototype.
63290 (ctype_startup): Use uint32_t in cast and sizeof for
63291 ctype->charnames.
63292
63293 2013-09-11 Jia Liu <proljc@gmail.com>
63294
63295 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
63296 __daddr_t_defined.
63297 [__FreeBSD__]: Likewise.
63298
63299 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
63300
63301 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
63302 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
63303 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
63304 (strchr): Remove __strchr_sse42 ifunc selection.
63305 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
63306 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
63307
63308 2013-09-11 Will Newton <will.newton@linaro.org>
63309
63310 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
63311 parameter to RES. Remove hardcoded 1000 value.
63312 * benchtests/bench-skeleton.c (main): Pass RES parameter
63313 to TIMING_INIT and multiply result by 1000.
63314
63315 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63316
63317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63318
63319 2013-09-11 Andreas Schwab <schwab@suse.de>
63320
63321 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
63322 if not defined.
63323 (O_TMPFILE) [__USE_GNU]: Define.
63324 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
63325 Define.
63326
63327 2013-09-11 Will Newton <will.newton@linaro.org>
63328
63329 [BZ #15857]
63330 * malloc/malloc.c (__libc_memalign): Check the value of bytes
63331 does not overflow.
63332
63333 2013-09-11 Will Newton <will.newton@linaro.org>
63334
63335 [BZ #15856]
63336 * malloc/malloc.c (__libc_valloc): Check the value of bytes
63337 does not overflow.
63338
63339 2013-09-11 Will Newton <will.newton@linaro.org>
63340
63341 [BZ #15855]
63342 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
63343 does not overflow.
63344
63345 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
63346
63347 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
63348 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63349 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63350 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63351 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63352
63353 2013-09-10 Allan McRae <allan@archlinux.org>
63354
63355 [BZ #15748]
63356 * manual/arith.texi (Parsing of Floats): Clarify
63357 cross-reference.
63358
63359 [BZ #15849]
63360 * manual/install.texi (Running make install): Mention
63361 --enable-pt-chown.
63362 * INSTALL: Regenerated.
63363
63364 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
63365
63366 * csu/init-first.c (_init): Remove the !SHARED condition around
63367 FPU control word initialization.
63368 * elf/dl-support.c (_dl_fpu_control): New variable.
63369 (_dl_aux_init) <AT_FPUCW>: Initialize it.
63370 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
63371 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
63372 * math/test-fpucw-static.c: New file.
63373 * math/test-fpucw-ieee.c: New file.
63374 * math/test-fpucw-ieee-static.c: New file.
63375 * math/Makefile (tests): Add `test-fpucw-ieee' and
63376 `$(tests-static)'.
63377 (tests-static): New variable.
63378 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
63379 dependency to...
63380 [($(build-shared),yes)]
63381 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
63382 ... this.
63383 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
63384 New dependency.
63385
63386 2013-09-09 Allan McRae <allan@archlinux.org>
63387
63388 [BZ #15939]
63389 * manual/string.texi (Collation Functions): Fix typo in
63390 strcoll example.
63391 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
63392
63393 [BZ #15893]
63394 * stdlib/isomac.c (get_null_defines): Fix memory leak.
63395
63396 [BZ #15892]
63397 * libio/memstream.c (open_memstream): Fix memory leak.
63398 * libio/wmemstream.c (open_wmemstream): Likewise.
63399
63400 [BZ #15895]
63401 * nscd/netgroupcache.c: Fix nesting of ifdefs.
63402
63403 2013-09-09 Will Newton <will.newton@linaro.org>
63404
63405 * malloc/Makefile: Add tst-realloc to tests.
63406 * malloc/tst-realloc.c: New file.
63407
63408 2013-09-09 Allan McRae <allan@archlinux.org>
63409
63410 [BZ #15844]
63411 * COPYING: Update from GNU website to fix FSF address.
63412 * COPYING.LIB: Likewise.
63413
63414 2013-09-06 David S. Miller <davem@davemloft.net>
63415
63416 * po/zh_TW.po: Update Chinese (traditional) translation from
63417 translation project.
63418
63419 2013-09-06 Richard Sandiford <richard@codesourcery.com>
63420 Joseph Myers <joseph@codesourcery.com>
63421
63422 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
63423 "localeinfo.h".
63424 (obstack_chunk_alloc): New macro.
63425 (obstack_chunk_free): Likewise.
63426 (record_offset): New function.
63427 (init_locale_data): Likewise.
63428 (align_locale_data): Likewise.
63429 (add_locale_empty): Likewise.
63430 (add_locale_raw_data): Likewise.
63431 (add_locale_raw_obstack): Likewise.
63432 (add_locale_string): Likewise.
63433 (add_locale_wstring): Likewise.
63434 (add_locale_uint32): Likewise.
63435 (add_locale_uint32_array): Likewise.
63436 (add_locale_char): Likewise.
63437 (start_locale_structure): Likewise.
63438 (end_locale_structure): Likewise.
63439 (start_locale_prelude): Likewise.
63440 (end_locale_prelude): Likewise.
63441 (write_locale_data): Take locale_file structure rather than an
63442 iovec.
63443 * locale/programs/locfile.h: Include "obstack.h".
63444 (struct locale_file): Change to store locale file contents instead
63445 of header.
63446 (init_locale_data): New prototype.
63447 (align_locale_data): Likewise.
63448 (add_locale_empty): Likewise.
63449 (add_locale_raw_data): Likewise.
63450 (add_locale_raw_obstack): Likewise.
63451 (add_locale_string): Likewise.
63452 (add_locale_wstring): Likewise.
63453 (add_locale_uint32): Likewise.
63454 (add_locale_uint32_array): Likewise.
63455 (add_locale_char): Likewise.
63456 (start_locale_structure): Likewise.
63457 (end_locale_structure): Likewise.
63458 (start_locale_prelude): Likewise.
63459 (end_locale_prelude): Likewise.
63460 (write_locale_data): Update prototype.
63461 * locale/programs/3level.h (struct TABLE): Remove result field.
63462 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
63463 Use new locale_file interface.
63464 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
63465 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
63466 * locale/programs/ld-address.c (address_output): Use new
63467 locale_file interface.
63468 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
63469 NO_ADD_LOCALE.
63470 (collate_finish): Don't call collseq_table_finalize.
63471 (collate_output): Use new locale_file interface.
63472 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
63473 in file.
63474 (NO_FINALIZE): Change to NO_ADD_LOCALE.
63475 (TABLE): Move defines earlier in file.
63476 (ELEMENT): Likewise.
63477 (DEFAULT): Likewise.
63478 (wctrans_table_add): Move macro and inline function earlier in
63479 file.
63480 (struct wctype_table): Move type earlier in file.
63481 (add_locale_wctype_table): New static prototype.
63482 (struct locale_ctype_t): Use logical types instead of struct iovec
63483 pointers for members.
63484 (ctype_output): Use new locale_file interface.
63485 (wctype_table_finalize): Change to add_locale_wctype_table. Use
63486 new locale_file interface.
63487 (allocate_arrays): Update for use of new locale_file interface.
63488 * locale/programs/ld-identification.c (identification_output): Use
63489 new locale_file interface.
63490 * locale/programs/ld-measurement.c (measurement_output): Likewise.
63491 * locale/programs/ld-messages.c (messages_output): Likewise.
63492 * locale/programs/ld-monetary.c (monetary_output): Likewise.
63493 * locale/programs/ld-name.c (name_output): Likewise.
63494 * locale/programs/ld-numeric.c (numeric_output): Likewise.
63495 * locale/programs/ld-paper.c (paper_output): Likewise.
63496 * locale/programs/ld-telephone.c (telephone_output): Likewise.
63497 * locale/programs/ld-time.c (time_output): Likewise.
63498
63499 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63500
63501 * benchtests/Makefile: Add memrchr benchmark.
63502 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
63503 benchmark as memrchr.
63504 * benchtests/bench-memrchr-ifunc.c: New file.
63505 * benchtests/bench-memrchr.c: New file.
63506
63507 2013-09-06 Will Newton <will.newton@linaro.org>
63508
63509 * benchtests/Makefile (string-bench): Add memcpy.
63510
63511 2013-09-05 Carlos O'Donell <carlos@redhat.com>
63512 Cong Wang <amwang@redhat.com>
63513
63514 [BZ #15850]
63515 * sysdeps/unix/sysv/linux/bits/in.h
63516 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
63517 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
63518 before __USE_KERNEL_IPV6_DEFS uses.
63519 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
63520 IPPROTO_BEETPH.
63521 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
63522 sockaddr_in6, or ipv6_mreq.
63523
63524 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63525
63526 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
63527 memory access for final bytes in some large inputs.
63528 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
63529
63530 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63531
63532 * string/test-memrchr.c: New file.
63533 * string/test-memrchr-ifunc.c: New file.
63534 * string/Makefile: Add new memrchr testcase.
63535
63536 2013-09-05 Mike Frysinger <vapier@gentoo.org>
63537
63538 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
63539 fanotify_init returns EPERM.
63540
63541 2013-09-04 Joseph Myers <joseph@codesourcery.com>
63542
63543 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
63544 errors.
63545 (top level): Treat second token from macro or constant entries for
63546 allowed headers as allowed.
63547 * include/complex.h: Condition internal declarations on
63548 [!_ISOMAC].
63549 * include/fenv.h: Condition include of <stdbool.h> and internal
63550 declarations on [!_ISOMAC].
63551
63552 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
63553
63554 [BZ #15923]
63555 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
63556
63557 2013-09-04 Joseph Myers <joseph@codesourcery.com>
63558
63559 * configure.in (--enable-versioning): Remove configure option.
63560 (libc_cv_asm_symver_directive): Remove configure test.
63561 (libc_cv_ld_version_script_option): Likewise.
63562 (VERSIONING): Remove variable and AC_SUBST.
63563 (DO_VERSIONING): Remove AC_DEFINE.
63564 * configure: Regenerated.
63565 * config.h.in (DO_VERSIONING): Remove macro.
63566 * Makerules [$(versioning) = yes]: Change conditionals to
63567 [$(build-shared) = yes].
63568 * config.make.in (versioning): Remove variable.
63569 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
63570 [$(build-shared) = yes].
63571 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
63572 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
63573 * elf/Makefile [$(versioning) = yes]: Change conditionals to
63574 [$(build-shared) = yes].
63575 * extra-lib.mk [$(versioning) = yes]: Likewise.
63576 * hurd/Makefile [$(versioning) = yes]: Likewise.
63577 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
63578 [SHARED].
63579 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
63580 [SHARED].
63581 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63582 [SHARED && !NO_HIDDEN].
63583 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
63584 [SHARED].
63585 [SHARED && DO_VERSIONING]: Likewise..
63586 * libio/Makefile [$(versioning) = yes]: Change conditionals to
63587 [$(build-shared) = yes].
63588 * manual/install.texi (--disable-versioning): Remove
63589 documentation.
63590 * INSTALL: Regenerated.
63591 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
63592 to [SHARED].
63593 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
63594 [$(build-shared) = yes].
63595 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
63596 * sysdeps/i386/i686/multiarch/strstr-c.c
63597 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63598 [SHARED && !NO_HIDDEN].
63599 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
63600 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
63601 * sysdeps/powerpc/powerpc32/dl-machine.c
63602 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
63603 * sysdeps/powerpc/powerpc32/sysdep.h
63604 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
63605 to [SHARED && PIC && !NO_HIDDEN].
63606 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
63607 conditional to [SHARED].
63608
63609 2013-09-04 Will Newton <will.newton@linaro.org>
63610
63611 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
63612 * benchtests/bench-string.h: Include bench-timing.h instead
63613 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
63614 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
63615 call to HP_TIMING_DIFF_INIT.
63616 * benchtests/bench-memccpy.c: Use bench-timing.h macros
63617 instead of hp-timing.h macros.
63618 * benchtests/bench-memchr.c: Likewise.
63619 * benchtests/bench-memcmp.c: Likewise.
63620 * benchtests/bench-memcpy.c: Likewise.
63621 * benchtests/bench-memmem.c: Likewise.
63622 * benchtests/bench-memmove.c: Likewise.
63623 * benchtests/bench-memset.c: Likewise.
63624 * benchtests/bench-rawmemchr.c: Likewise.
63625 * benchtests/bench-strcasecmp.c: Likewise.
63626 * benchtests/bench-strcasestr.c: Likewise.
63627 * benchtests/bench-strcat.c: Likewise.
63628 * benchtests/bench-strchr.c: Likewise.
63629 * benchtests/bench-strcmp.c: Likewise.
63630 * benchtests/bench-strcpy.c: Likewise.
63631 * benchtests/bench-strcpy_chk.c: Likewise.
63632 * benchtests/bench-strlen.c: Likewise.
63633 * benchtests/bench-strncasecmp.c: Likewise.
63634 * benchtests/bench-strncat.c: Likewise.
63635 * benchtests/bench-strncmp.c: Likewise.
63636 * benchtests/bench-strncpy.c: Likewise.
63637 * benchtests/bench-strnlen.c: Likewise.
63638 * benchtests/bench-strpbrk.c: Likewise.
63639 * benchtests/bench-strrchr.c: Likewise.
63640 * benchtests/bench-strspn.c: Likewise.
63641 * benchtests/bench-strstr.c: Likewise.
63642
63643 2013-09-04 Will Newton <will.newton@linaro.org>
63644
63645 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
63646
63647 2013-09-03 Joseph Myers <joseph@codesourcery.com>
63648
63649 [BZ #15427]
63650 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
63651 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
63652 * math/libm-test.inc (lgamma_test_data): Add more tests.
63653 * sysdeps/i386/fpu/libm-test-ulps: Update.
63654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63655
63656 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
63657
63658 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
63659 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63660 Add ifunc.
63661 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63662 Add strcmp-sse2-unaligned
63663 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
63664
63665 2013-09-02 Mike Frysinger <vapier@gentoo.org>
63666
63667 * Versions.def (libc): Add GLIBC_2.19.
63668
63669 2013-09-02 Mike Frysinger <vapier@gentoo.org>
63670
63671 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
63672 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
63673
63674 2013-09-02 Joseph Myers <joseph@codesourcery.com>
63675
63676 [BZ #14155]
63677 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
63678 intermediate calculations in recurrence.
63679 (__ieee754_ynf): Likewise.
63680 * math/libm-test.inc (jn_test_data): Do not allow spurious
63681 underflow exception. Add more tests.
63682 (yn_test_data): Add more tests.
63683 * sysdeps/i386/fpu/libm-test-ulps: Update.
63684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63685
63686 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
63687
63688 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
63689
63690 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
63691
63692 * csu/init-first.c: Fix then/than typos.
63693 * locale/programs/ld-collate.c: Likewise.
63694 * locale/programs/linereader.h: Likewise.
63695 * manual/charset.texi: Likewise.
63696 * manual/filesys.texi: Likewise.
63697 * manual/stdio.texi: Likewise.
63698 * manual/string.texi: Likewise.
63699 * stdlib/fmtmsg.c: Likewise.
63700 * sysdeps/i386/stpncpy.S: Likewise.
63701 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
63702 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
63703 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
63704 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
63705
63706 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
63707
63708 * elf/dl-open.c: Fix typos.
63709 * iconvdata/gbbig5.c: Likewise.
63710 * iconvdata/iso-2022-jp.c: Likewise.
63711 * iconv/gconv_int.h: Likewise.
63712 * iconv/loop.c: Likewise.
63713 * nis/rpcsvc/nis.h: Likewise.
63714 * resolv/ns_name.c: Likewise.
63715 * stdio-common/vfscanf.c: Likewise.
63716 * streams/stropts.h: Likewise.
63717 * sunrpc/rpc_thread.c: Likewise.
63718 * sysdeps/i386/strpbrk.S: Likewise.
63719 * sysdeps/ieee754/k_standard.c: Likewise.
63720 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
63721 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63722 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
63723 * sysdeps/mach/hurd/profil.c: Likewise.
63724 * sysdeps/s390/dl-procinfo.h: Likewise.
63725 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
63726 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
63727 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
63728 * sysdeps/x86_64/dl-trampoline.S: Likewise.
63729 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
63730
63731 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
63732
63733 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
63734 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
63735
63736 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
63737
63738 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
63739 aix specific files.
63740 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
63741 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
63742 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
63743 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
63744 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
63745 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
63746 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
63747 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
63748
63749 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
63750 Roland McGrath <roland@hack.frob.com>
63751
63752 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
63753 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
63754
63755 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
63756
63757 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
63758 __executable_start symbol instead of _start.
63759
63760 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
63761
63762 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
63763 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
63764 Move macros to...
63765 * sysdeps/gnu/ldsodefs.h: ... this new file.
63766
63767 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
63768 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
63769 instead of ELFOSABI_LINUX.
63770
63771 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
63772 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
63773 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
63774 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
63775 Likewise.
63776 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
63777 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
63778 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
63779 Likewise.
63780 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
63781 (ibm_extended_long_double): Add ieee_nan member.
63782 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
63783 (do_test): New function.
63784
63785 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
63786 TEST_TRUNC.
63787 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
63788 functions, renamed from truncdfsf_test, trunctfsf_test,
63789 trunctfdf_test.
63790 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
63791 functions.
63792 (do_test): Run all these.
63793
63794 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
63795
63796 * argp/argp-help.c: Fix typos.
63797 * argp/argp-parse.c: Likewise.
63798 * debug/backtracesyms.c: Likewise.
63799 * elf/elf.h: Likewise.
63800 * malloc/malloc.c: Likewise.
63801 * nis/nis_print.c: Likewise.
63802 * resolv/res_comp.c: Likewise.
63803 * stdlib/stdlib.h: Likewise.
63804 * sunrpc/clnt_tcp.c: Likewise.
63805 * sunrpc/clnt_udp.c: Likewise.
63806 * sunrpc/clnt_unix.c: Likewise.
63807 * sysdeps/unix/bsd/ptsname.c: Likewise.
63808 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
63809 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
63810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
63811 Likewise.
63812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
63813 Likewise.
63814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
63815 Likewise.
63816 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
63817
63818 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
63819
63820 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
63821 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63822
63823 2013-08-27 Mike Frysinger <vapier@gentoo.org>
63824
63825 [BZ #15897]
63826 * dlfcn/Makefile (tests): Add bug-dl-leaf.
63827 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
63828 ($(objpfx)bug-dl-leaf): New rule.
63829 ($(objpfx)bug-dl-leaf.so): Likewise.
63830 ($(objpfx)bug-dl-leaf.out): Likewise.
63831 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
63832 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
63833 * dlfcn/bug-dl-leaf.c: New test.
63834 * dlfcn/bug-dl-leaf-lib.c: Likewise.
63835 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
63836 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
63837 (dlclose): Likewise.
63838 (dlmopen): Likewise.
63839
63840 2013-08-27 Roland McGrath <roland@hack.frob.com>
63841
63842 * include/netdb.h [!_ISOMAC]:
63843 Don't include <tls.h>.
63844 (h_errno, __libc_h_errno): Move declaration and macros out of
63845 [_LIBC_REENTRANT].
63846
63847 * include/resolv.h [_RESOLV_H_]:
63848 Don't include <tls.h>.
63849 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
63850 * resolv/res_libc.c: Don't include <tls.h>.
63851 (_res): Use __attribute__ ((nocommon)) in place of
63852 __attribute__ ((section (".bss"))).
63853
63854 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
63855 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
63856
63857 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
63858
63859 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
63860 only under [SIOCGIFCONF && SIOCGIFNETMASK].
63861
63862 * resolv/res_mkquery.c: Include <sys/time.h>.
63863
63864 * inet/ifreq.c: Moved to ...
63865 * sysdeps/unix/ifreq.c: ... here.
63866 * inet/ifreq.c: New file, true stub version.
63867
63868 * socket/sa_len.c: New file.
63869 * socket/Makefile (aux): Add it.
63870 * sysdeps/unix/sysv/linux/Makefile
63871 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
63872 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
63873 and #include <socket/sa_len.c>.
63874 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
63875 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
63876
63877 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
63878 * bits/socket.h: ... here.
63879
63880 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
63881 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
63882 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
63883
63884 2013-08-27 Andreas Schwab <schwab@suse.de>
63885
63886 [BZ #15736]
63887 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
63888 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
63889 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
63890 * string/test-strcasecmp.c (test_main): Run tests in several
63891 locales.
63892 * string/test-strncasecmp.c (test_main): Likewise.
63893
63894 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
63895 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
63896 to __strcasecmp_nonascii and __strncasecmp_nonascii.
63897 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
63898 (__strncasecmp_ssse3) [PIC]: Likewise.
63899
63900 2013-08-26 Roland McGrath <roland@hack.frob.com>
63901
63902 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
63903
63904 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
63905 instead of explicitly declaring xdecrypt.
63906 * nis/nss_nis/nis-publickey.c: Likewise.
63907
63908 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
63909
63910 [BZ #15890]
63911 * nscd/aicache.c: Include res_hconf.h.
63912 (addhstaiX): Initialize res_hconf.
63913
63914 2013-08-26 Andreas Schwab <schwab@suse.de>
63915
63916 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
63917 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
63918
63919 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
63920
63921 * nscd/aicache.c (addhstaiX): Fix indentation.
63922
63923 2013-08-25 Mike Frysinger <vapier@gentoo.org>
63924
63925 * configure.ac: Quote $build_pt_chown test.
63926 * configure: Regenerated.
63927
63928 2013-08-23 Joseph Myers <joseph@codesourcery.com>
63929
63930 [BZ #15532]
63931 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
63932 * math/s_cexpf.c (__cexpf): Likewise.
63933 * math/s_cexpl.c (__cexpl): Likewise.
63934 * math/libm-test.inc (cexp_test_data): Correct expected return
63935 value for NaN + i0. Add another test.
63936
63937 2013-08-22 David S. Miller <davem@davemloft.net>
63938
63939 * po/ca.po: Update Catalan translation from translation project.
63940 * po/uk.po: Add Ukrainian translations from translation project.
63941
63942 2013-08-21 Joseph Myers <joseph@codesourcery.com>
63943
63944 [BZ #15797]
63945 * math/s_fdim.c (__fdim): Check for infinite arguments if result
63946 is infinite, not alongside NaN test.
63947 * math/s_fdimf.c (__fdimf): Likewise.
63948 * math/s_fdiml.c (__fdiml): Likewise.
63949 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
63950 errno is unchanged.
63951
63952 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
63953
63954 * argp/argp-help.c: Fix typos.
63955 * crypt/speeds.c: Likewise.
63956 * csu/check_fds.c: Likewise.
63957 * elf/dl-load.c: Likewise.
63958 * elf/dl-open.c: Likewise.
63959 * elf/reldep3.c: Likewise.
63960 * elf/reldep.c: Likewise.
63961 * elf/sprof.c: Likewise.
63962 * iconv/iconv_charmap.c: Likewise.
63963 * iconv/skeleton.c: Likewise.
63964 * iconv/strtab.c: Likewise.
63965 * io/lockf64.c: Likewise.
63966 * libio/libioP.h: Likewise.
63967 * resolv/gai_notify.c: Likewise.
63968 * resolv/ns_name.c: Likewise.
63969 * resolv/ns_samedomain.c: Likewise.
63970 * resolv/res_send.c: Likewise.
63971 * stdlib/random.c: Likewise.
63972 * sunrpc/rpc/xdr.h: Likewise.
63973 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
63974 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
63975 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
63976 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
63977 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
63978 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
63979 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
63980 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
63981 * sysdeps/mach/hurd/check_fds.c: Likewise.
63982 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
63983 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
63984 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
63985 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
63986 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
63987 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
63988 * sysdeps/pthread/aio_notify.c: Likewise.
63989 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
63990 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
63991 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
63992 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
63993 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
63994
63995 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
63996
63997 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
63998 version if bit_Slow_SSE4_2 is set.
63999 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64000 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64001
64002 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64003
64004 [BZ #15867]
64005 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
64006 trampoline stack frame information.
64007 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
64008 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
64009 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
64010 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
64011 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
64012 * sysdeps/unix/sysv/linux/powerpc/init-first.c
64013 (_libc_vdso_platform_setup): Initialize the signal trampolines.
64014 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
64015 sa_flags value.
64016 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
64017 interrupting a syscall and set with option SA_SIGINFO.
64018
64019 2013-08-20 Joseph Myers <joseph@codesourcery.com>
64020
64021 [BZ #15531]
64022 * math/s_cproj.c (__cproj): Only return an infinity if one part of
64023 argument is infinite.
64024 * math/s_cprojf.c (__cprojf): Likewise.
64025 * math/s_cprojl.c (__cprojl): Likewise.
64026 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
64027 * math/libm-test.inc (cproj_test_data): Add more tests.
64028
64029 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
64030
64031 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
64032 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
64033 size. Use __ffs to determine corresponding shift.
64034
64035 2013-08-20 Joseph Myers <joseph@codesourcery.com>
64036 Roland McGrath <roland@hack.frob.com>
64037
64038 * Makefile (INSTALL): Remove trailing blank lines from output of
64039 makeinfo.
64040
64041 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64042
64043 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
64044 Align 32 bit compat elf_greg to 8 bytes.
64045
64046 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
64047
64048 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
64049
64050 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
64051
64052 * string/strcoll_l.c (coll_seq): New structure.
64053 (get_next_seq_cached): New function.
64054 (get_next_seq): New function.
64055 (do_compare): New function.
64056 (STRCOLL): Use GNU style definition. Simplify implementation
64057 by using get_next_seq, get_next_seq_cached and do_compare.
64058
64059 2013-08-16 Florian Weimer <fweimer@redhat.com>
64060
64061 [BZ #14699]
64062 CVE-2013-4237
64063 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
64064 member.
64065 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
64066 member.
64067 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
64068 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
64069 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
64070 conditional.
64071 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
64072 GETDENTS_64BIT_ALIGNED.
64073 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
64074 * manual/filesys.texi (Reading/Closing Directory): Document
64075 ENAMETOOLONG return value of readdir_r. Recommend readdir more
64076 strongly.
64077 * manual/conf.texi (Limits for Files): Add portability note to
64078 NAME_MAX, PATH_MAX.
64079 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
64080
64081 2013-08-13 Andreas Schwab <schwab@suse.de>
64082
64083 [BZ #15749]
64084 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
64085 of fabs.
64086 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
64087 LDBL_MAX_EXP >= 16384]: Add tests for it.
64088
64089 2013-08-12 David S. Miller <davem@davemloft.net>
64090
64091 * version.h (RELEASE): Set to "development".
64092 (VERSION): Set to "2.18.90".
64093 * NEWS: Add 2.19 section.
64094
64095 2013-08-03 David S. Miller <davem@davemloft.net>
64096
64097 * po/ko.po: Update Korean translation from translation project.
64098
64099 2013-08-01 David S. Miller <davem@davemloft.net>
64100
64101 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
64102 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
64103 Bilka.
64104
64105 2013-07-30 David S. Miller <davem@davemloft.net>
64106
64107 * po/fr.po: Update French translation from translation project.
64108
64109 2013-07-28 David S. Miller <davem@davemloft.net>
64110
64111 * po/cs.po: Update Czech translation from translation project.
64112
64113 * po/sv.po: Update Swedish translation from translation project.
64114
64115 2013-07-27 David S. Miller <davem@davemloft.net>
64116
64117 * po/eo.po: Update Esperanto translation from translation project.
64118
64119 * po/vi.po: Update Vietnamese translation from translation project.
64120
64121 * po/de.po: Update German translation from translation project.
64122
64123 2013-07-26 David S. Miller <davem@davemloft.net>
64124
64125 * po/bg.po: Update Bulgarian translation from translation project.
64126
64127 * po/nl.po: Update Dutch translation from translation project.
64128 * po/pl.po: Update Polish translation from translation project.
64129 * po/ru.po: Update Russian translation from translation project.
64130
64131 2013-07-24 David S. Miller <davem@davemloft.net>
64132
64133 * po/libc.pot: Update.
64134
64135 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64136
64137 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
64138 variable page size.
64139 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
64140 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
64141 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
64142
64143 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64144
64145 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
64146
64147 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
64148 Andreas Schwab <schwab@suse.de>
64149 Roland McGrath <roland@hack.frob.com>
64150 Joseph Myers <joseph@codesourcery.com>
64151 Carlos O'Donell <carlos@redhat.com>
64152
64153 [BZ #15755]
64154 * config.h.in: Define HAVE_PT_CHOWN.
64155 * config.make.in (build-pt-chown): New variable.
64156 * configure.in (--enable-pt_chown): New configure option.
64157 * configure: Regenerate.
64158 * login/Makefile: Include Makeconfig. Build pt_chown only if
64159 build-pt-chown is enabled.
64160 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
64161 pt_chown to fix pty ownership.
64162 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
64163 CLOSE_ALL_FDS.
64164 * manual/install.texi (Configuring and compiling): Mention
64165 --enable-pt_chown. Add @findex for grantpt.
64166 * INSTALL: Regenerate.
64167
64168 2013-07-20 David S. Miller <davem@davemloft.net>
64169
64170 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
64171 difference between 32-bit and 64-bit.
64172
64173 2013-07-15 Carlos O'Donell <carlos@redhat.com>
64174
64175 [BZ #15711]
64176 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
64177 Avoid system header dependency with -ffreestanding.
64178 ($(objpfx)bits/syscall%d): Likewise.
64179
64180 2013-07-13 David S. Miller <davem@davemloft.net>
64181
64182 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
64183 underflows from atanl/atan2l due to bug 15319.
64184 (casinh_test_data): Likewise.
64185
64186 2013-07-07 David S. Miller <davem@davemloft.net>
64187
64188 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
64189
64190 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
64191
64192 * sysdeps/i386/fpu/libm-test-ulps: Update.
64193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64194
64195 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
64196
64197 * configure.in (--enable-lock-elision): Fix message text.
64198 * INSTALL: Regenerate.
64199 * configure: Regenerate.
64200
64201 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64202
64203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64204
64205 2013-07-03 Andreas Jaeger <aj@suse.de>
64206
64207 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
64208 define.
64209 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
64210 (ptrace_peeksiginfo_args): Add.
64211 (__ptrace_peeksiginfo_flags): Add.
64212 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
64213 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
64214 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
64215
64216 2013-07-03 Allan McRae <allan@archlinux.org>
64217
64218 * sysdeps/i386/fpu/libm-test-ulps: Update.
64219
64220 2013-07-02 David S. Miller <davem@davemloft.net>
64221
64222 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64223
64224 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
64225
64226 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64227
64228 2013-07-02 Joseph Myers <joseph@codesourcery.com>
64229
64230 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
64231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64232
64233 2013-07-02 Andi Kleen <ak@linux.intel.com>
64234
64235 * config.h.in (ENABLE_LOCK_ELISION): Add.
64236 * configure.in (--enable-lock-elision): Add option.
64237 * manual/install.texi: Document --enable lock elision.
64238 * configure: Regenerate
64239 * INSTALL: Regenerate.
64240
64241 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
64242
64243 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
64244 SSE4.2 strcasecmp for libc.a.
64245 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
64246
64247 2013-07-02 Joseph Myers <joseph@codesourcery.com>
64248
64249 [BZ #13304]
64250 * soft-fp/op-common.h (_FP_FMA): New macro.
64251 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
64252 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
64253 (_FP_MUL_MEAT_1_imm): ... here.
64254 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
64255 (_FP_MUL_MEAT_1_wide): ... here.
64256 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
64257 (_FP_MUL_MEAT_1_hard): ... here.
64258 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
64259 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
64260 (_FP_MUL_MEAT_2_wide): ... here.
64261 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
64262 (_FP_MUL_MEAT_2_wide_3mul): ... here.
64263 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
64264 (_FP_MUL_MEAT_2_gmp): ... here.
64265 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
64266 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
64267 (_FP_MUL_MEAT_4_wide): ... here.
64268 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
64269 (_FP_MUL_MEAT_4_gmp): ... here.
64270 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
64271 (_FP_WFRACBITS_DW_S): Likewise.
64272 (_FP_WFRACXBITS_DW_S): Likewise.
64273 (_FP_HIGHBIT_DW_S): Likewise.
64274 (FP_FMA_S): Likewise.
64275 (_FP_FRAC_HIGH_DW_S): Likewise.
64276 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
64277 (_FP_WFRACBITS_DW_D): Likewise.
64278 (_FP_WFRACXBITS_DW_D): Likewise.
64279 (_FP_HIGHBIT_DW_D): Likewise.
64280 (FP_FMA_D): Likewise.
64281 (_FP_FRAC_HIGH_DW_D): Likewise.
64282 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
64283 (_FP_WFRACBITS_DW_E): Likewise.
64284 (_FP_WFRACXBITS_DW_E): Likewise.
64285 (_FP_HIGHBIT_DW_E): Likewise.
64286 (FP_FMA_E): Likewise.
64287 (_FP_FRAC_HIGH_DW_E): Likewise.
64288 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
64289 (_FP_WFRACBITS_DW_Q): Likewise.
64290 (_FP_WFRACXBITS_DW_Q): Likewise.
64291 (_FP_HIGHBIT_DW_Q): Likewise.
64292 (FP_FMA_Q): Likewise.
64293 (_FP_FRAC_HIGH_DW_Q): Likewise.
64294 * soft-fp/fmasf4.c: New file.
64295 * soft-fp/fmadf4.c: Likewise.
64296 * soft-fp/fmatf4.c: Likewise.
64297
64298 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64299
64300 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64301 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
64302 Silvermont.
64303 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
64304 macro.
64305 (index_Slow_SSE4_2): Likewise.
64306 (index_Prefer_PMINUB_for_stringop): Likewise.
64307 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
64308 bit_Slow_SSE4_2 is set.
64309 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
64310 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
64311
64312 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64313
64314 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
64315 rtld_global._dl_hwcap2.
64316 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
64317 POWER8.
64318 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
64319 POWER8 feature descriptions defined in _dl_hwcap2.
64320 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
64321 string handling for POWER8 feature bits.
64322 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
64323 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
64324 _dl_powerpc_cap_flags.
64325 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
64326 * sysdeps/powerpc/rtld-global-offsets.sym
64327 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
64328 _dl_hwcap2 in the rtld_global_ro structure.
64329
64330 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64331
64332 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
64333 hardware capabilities in support of AT_HWCAP2.
64334 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
64335 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
64336 GLRO(dl_hwcap2).
64337 (_dl_show_auxv): Add support for calling _dl_procinfo to display
64338 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
64339 explicitly the unknown a_type display mechanism is used.
64340 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
64341 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
64342 struct member.
64343 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
64344 to macro prototype for AT_HWCAP2 support.
64345 * sysdeps/i386/dl-procinfo.h: Likewise.
64346 * sysdeps/s390/dl-procinfo.h: Likewise.
64347 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
64348 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
64349 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
64350 return -1 for unknown a_type display fallback.
64351 * sysdeps/sparc/dl-procinfo.h: Likewise.
64352 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
64353 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
64354
64355 2013-06-28 Joseph Myers <joseph@codesourcery.com>
64356
64357 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
64358 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
64359
64360 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
64361
64362 [BZ #12492]
64363 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
64364 mprotect making __stack_prot writable.
64365
64366 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
64367 Joseph Myers <joseph@codesourcery.com>
64368
64369 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
64370 as being properly aligned.
64371
64372 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
64373
64374 * dlfcn/modstatic5.c: New file.
64375 * dlfcn/tststatic5.c: New file.
64376 * dlfcn/Makefile (tests): Add tststatic5.
64377 (tests-static): Likewise.
64378 (modules-names): Add modstatic5.
64379 (tststatic5-ENV): New variable.
64380 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
64381
64382 [BZ #15022]
64383 * elf/dl-support.c (_dl_main_map): New variable.
64384 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
64385 (_dl_nns, _dl_load_adds): Set to 1.
64386 (_dl_initial_searchlist): Refer to _dl_main_map.
64387 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
64388 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
64389 call to _dl_get_origin.
64390 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
64391 around call_map.
64392 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
64393 * dlfcn/modstatic3.c: New file.
64394 * dlfcn/tststatic3.c: New file.
64395 * dlfcn/tststatic4.c: New file.
64396 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
64397 (tests-static): Likewise.
64398 (modules-names): Add modstatic3.
64399 (tststatic3-ENV, tststatic4-ENV): New variables.
64400 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
64401 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
64402
64403 2013-06-26 Joseph Myers <joseph@codesourcery.com>
64404
64405 * configure.in (CC): Require GCC version 4.4 or later.
64406 * configure: Regenerated.
64407 * manual/install.texi (Tools for Compilation): Update GCC version
64408 requirement.
64409 * INSTALL: Regenerated.
64410
64411 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64412
64413 [BZ #15674]
64414 * string/test-memcmp.c (check2): New.
64415 (main): Call check2.
64416
64417 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
64418
64419 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
64420
64421 [BZ #15022]
64422 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
64423 over to...
64424 (dl_open_worker) [!SHARED]: ... here.
64425
64426 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64427
64428 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
64429
64430 2013-06-25 Richard Henderson <rth@redhat.com>
64431
64432 * locale/programs/locarchive.c: Include <libc-internal.h>
64433
64434 2013-06-25 Joseph Myers <joseph@codesourcery.com>
64435
64436 * manual/texinfo.tex: Update to version 2013-06-21.17, with
64437 trailing whitespace removed.
64438
64439 2013-06-24 Mike Frysinger <vapier@gentoo.org>
64440
64441 [BZ #10283]
64442 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
64443 * locale/programs/locarchive.c: Include libc-mmap.h.
64444 (prepare_address_space): Take two new outputs (the mmap base and len).
64445 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
64446 values.
64447 (create_archive): Declare new mmap base and len values for
64448 prepare_address_space, and store the result in ah.
64449 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
64450 (enlarge_archive): If ah->mmap_base is not NULL, use that and
64451 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64452 Declare new mmap base and len values for
64453 prepare_address_space, and store the result in new_ah.
64454 (open_archive): Declare new mmap base and len values for
64455 prepare_address_space, and store the result in ah.
64456 (close_archive): If ah->mmap_base is not NULL, use that and
64457 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64458 * sysdeps/generic/libc-mmap.h: New file.
64459
64460 2013-06-24 Mike Frysinger <vapier@gentoo.org>
64461
64462 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
64463 (ALIGN_UP): Likewise.
64464 (PTR_ALIGN_DOWN): Likewise.
64465 (PTR_ALIGN_UP): Likewise.
64466
64467 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64468
64469 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
64470 entry mapped to PPC_PLATFORM_POWER8.
64471 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
64472 POWER8.
64473 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
64474 (_dl_string_platform): Add case for exporting platform position for
64475 POWER8.
64476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
64477 search path to sysdeps/powerpc/powerpc32/power8 directory.
64478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
64479 search path to sysdeps/powerpc/powerpc64/power8 directory.
64480 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
64481 power7 directories.
64482 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
64483 power7 directories.
64484
64485 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
64486
64487 * INSTALL: Regenerate.
64488
64489 * nscd/connections.c (nscd_init): Fix comment.
64490
64491 2013-06-22 Joseph Myers <joseph@codesourcery.com>
64492
64493 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
64494
64495 [BZ #15667]
64496 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
64497 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
64498
64499 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
64500
64501 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
64502 DL_DST_REQ_STATIC.
64503 (DL_DST_REQ_STATIC): Remove macro.
64504
64505 2013-06-21 Joseph Myers <joseph@codesourcery.com>
64506
64507 [BZ #7006]
64508 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
64509 with a shift of 0 bits.
64510
64511 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
64512
64513 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
64514 $(tststatic-ENV).
64515
64516 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
64517
64518 [BZ #15655]
64519 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
64520
64521 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64522
64523 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
64524 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
64525 accepts -fno-tree-loop-distribute-patterns.
64526 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
64527 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
64528 recursive call.
64529 * string/memset.c (memset): Likewise.
64530 * string/test-memmove.c (simple_memmove): Disable loop transformation
64531 to library calls.
64532 * string/test-memset.c (simple_memset): Likewise.
64533 * benchtests/bench-memmove.c (simple_memmove): Likewise.
64534 * benchtests/bench-memset.c (simple_memset): Likewise.
64535 * configure: Regenerated.
64536
64537 2013-06-20 Joseph Myers <joseph@codesourcery.com>
64538
64539 * math/test-misc.c (main): Ignore fesetround failure when failures
64540 of subsequent rounding tests would be ignored.
64541
64542 [BZ #15654]
64543 * math/fedisblxcpt.c (fedisableexcept): Return 0.
64544 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
64545 * math/fegetenv.c (__fegetenv): Return 0.
64546 * math/fegetexcept.c (fegetexcept): Return 0.
64547 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
64548 FE_TONEAREST.
64549 * math/feholdexcpt.c (feholdexcept): Return 0.
64550 * math/fesetenv.c (__fesetenv): Return 0.
64551 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
64552 argument FE_TONEAREST.
64553 * math/feupdateenv.c (__feupdateenv): Return 0.
64554 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
64555
64556 2013-06-18 Roland McGrath <roland@hack.frob.com>
64557
64558 * elf/rtld-Rules (rtld-compile-command.S): New variable.
64559 (rtld-compile-command.s, rtld-compile-command.c): New variables.
64560 ($(objpfx)rtld-%.os rules): Use them.
64561
64562 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64563
64564 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
64565 fields.
64566
64567 2013-06-17 Roland McGrath <roland@hack.frob.com>
64568
64569 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
64570 length of target pattern, then descending length of dependency pattern.
64571 * configure.in (AWK): Require gawk 3.1.2 or newer.
64572 * manual/install.texi (Tools for Compilation): Say that we do.
64573 * configure: Regenerated.
64574
64575 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
64576 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
64577 * scripts/sysd-rules.awk: ... this new script.
64578 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
64579 than a glob-style pattern.
64580
64581 2013-06-17 Joseph Myers <joseph@codesourcery.com>
64582
64583 * math/test-misc.c (main): Do not treat incorrectly rounded
64584 conversions as failure unless ROUNDING_TESTS passes.
64585
64586 2013-06-15 Joseph Myers <joseph@codesourcery.com>
64587
64588 [BZ #15631]
64589 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
64590 restore exception state around main square root computation, then
64591 check for inexactness explicitly.
64592
64593 * math/libm-test.inc (fma_test_data): Add another test.
64594
64595 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
64596
64597 * manual/threads.texi (Non-POSIX Extensions): New document
64598 node. Document pthread_getattr_default_np and
64599 pthread_setattr_default_np.
64600
64601 * Versions.def (libpthread): Add GLIBC_2.18.
64602 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
64603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64604 Likewise.
64605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64606 Likewise.
64607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64608 Likewise.
64609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64610 Likewise.
64611 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
64612 Likewise.
64613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
64614 Likewise.
64615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
64616 Likewise.
64617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64618 Likewise.
64619 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64620 Likewise.
64621
64622 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64623
64624 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64625 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
64626
64627 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
64628 H.J. Lu <hjl.tools@gmail.com>
64629
64630 [BZ #15627]
64631 * sysdeps/x86_64/rtld-memset.c: Remove file.
64632 * sysdeps/x86_64/rtld-memset.S: New file.
64633
64634 2013-06-14 Joseph Myers <joseph@codesourcery.com>
64635
64636 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
64637 (test_in_one_mode): Take arguments for whether the rounding mode
64638 is supported for each floating-point type.
64639 (do_test): Pass new arguments to test_in_one_mode using
64640 ROUNDING_TESTS.
64641
64642 2013-06-13 Roland McGrath <roland@hack.frob.com>
64643
64644 * posix/tst-waitid.c (do_test): Distinguish different instances of
64645 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
64646 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
64647 before entering the kernel for waitpid.
64648
64649 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
64650
64651 * NEWS: Fix note on clock function precision. Text by Roland
64652 McGrath.
64653
64654 2013-06-13 Roland McGrath <roland@hack.frob.com>
64655
64656 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
64657 it into place only when and if the sanity check passes.
64658
64659 2013-06-13 Joseph Myers <joseph@codesourcery.com>
64660
64661 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
64662 output for whether conversion result is exact. Take argument
64663 indicating whether type is IBM long double.
64664 (round_for_all): Change need_exact field to ibm_ld.
64665 * stdlib/tst-strtod-round.c (struct exactness): New type.
64666 (struct test): Change bool ld_ok field to struct exactness exact.
64667 (TEST): Update all definitions for change to field.
64668 (tests): Regenerate array contents.
64669 (test_in_one_mode): Take pointer to new field instead of old ld_ok
64670 field value. Check for IBM long double here.
64671 (do_test): Update calls to test_in_one_mode.
64672
64673 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
64674
64675 [BZ #12515]
64676 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
64677 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
64678
64679 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64680
64681 [BZ #15605]
64682 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
64683 generated by the compiler on loop optimizations.
64684 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
64685 general definitions.
64686
64687 2013-06-12 Joseph Myers <joseph@codesourcery.com>
64688
64689 * math/bug-nextafter.c: Include <math-tests.h>.
64690 (main): Only test for exceptions if EXCEPTION_TESTS is true for
64691 the relevant type.
64692 * math/bug-nexttoward.c: Include <math-tests.h>.
64693 (main): Only test for exceptions if EXCEPTION_TESTS is true for
64694 the relevant type.
64695 * math/test-misc.c: Include <math-tests.h>.
64696 (main): Only test for exceptions if EXCEPTION_TESTS is true for
64697 the relevant type.
64698
64699 2013-06-12 Andreas Jaeger <aj@suse.de>
64700
64701 * po/ia.po: Update Interlingua translation from translation
64702 project.
64703
64704 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
64705
64706 * include/fenv.h: Include stdbool.h.
64707 (struct rm_ctx): New structure.
64708 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
64709 Define macro.
64710 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
64711 (SET_RESTORE_ROUNDF): Likewise.
64712 (SET_RESTORE_ROUNDL): Likewise.
64713 (SET_RESTORE_ROUND_NOEX): Likewise.
64714 (SET_RESTORE_ROUND_NOEXF): Likewise.
64715 (SET_RESTORE_ROUND_NOEXL): Likewise.
64716 (SET_RESTORE_ROUND_53BIT): Likewise.
64717 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
64718 (libc_feresetround_noexf_ctx): Likewise.
64719 (libc_feresetround_noexl_ctx): Likewise.
64720 (libc_feholdsetround_53bit_ctx): Likewise.
64721 (libc_feresetround_53bit_ctx): Likewise.
64722 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
64723 (libc_feholdexcept_setround_sse_ctx): New function.
64724 (libc_fesetenv_sse_ctx): Likewise.
64725 (libc_feupdateenv_sse_ctx): Likewise.
64726 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
64727 (libc_feholdexcept_setround_387_ctx): Likewise.
64728 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
64729 (libc_feholdsetround_387_prec_ctx): Likewise.
64730 (libc_feholdsetround_387_ctx): Likewise.
64731 (libc_feholdsetround_387_53bit_ctx): Likewise.
64732 (libc_feholdsetround_sse_ctx): Likewise.
64733 (libc_feresetround_sse_ctx): Likewise.
64734 (libc_feresetround_387_ctx): Likewise.
64735 (libc_feupdateenv_387_ctx): Likewise.
64736 (libc_feholdexcept_setroundf_ctx): Define macro.
64737 (libc_fesetenvf_ctx): Likewise.
64738 (libc_feupdateenvf_ctx): Likewise.
64739 (libc_feholdsetroundf_ctx): Likewise.
64740 (libc_feresetroundf_ctx): Likewise.
64741 (libc_feholdexcept_setround_ctx): Likewise.
64742 (libc_fesetenv_ctx): Likewise.
64743 (libc_feupdateenv_ctx): Likewise.
64744 (libc_feholdsetround_ctx): Likewise.
64745 (libc_feresetround_ctx): Likewise.
64746 (libc_feholdexcept_setroundl_ctx): Likewise.
64747 (libc_feupdateenvl_ctx): Likewise.
64748 (libc_feholdsetroundl_ctx): Likewise.
64749 (libc_feresetroundl_ctx): Likewise.
64750 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
64751 (libc_feresetround_53bit_ctx): Likewise.
64752
64753 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
64754
64755 * locale/iso-639.def: Convert to UTF-8.
64756
64757 2013-06-11 Joseph Myers <joseph@codesourcery.com>
64758
64759 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
64760 (EXCEPTION_TESTS_double): Likewise.
64761 (EXCEPTION_TESTS_long_double): Likewise.
64762 (EXCEPTION_TESTS): Likewise.
64763 * math/libm-test.inc (test_exceptions): Only test exceptions if
64764 EXCEPTION_TESTS (FLOAT).
64765
64766 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
64767
64768 * benchtests/Makefile (string-bench): Add strcpy_chk and
64769 stpcpy_chk.
64770 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
64771 * benchtests/bench-stpcpy_chk.c: New file.
64772 * benchtests/bench-strcpy_chk-ifunc.c: New file.
64773 * benchtests/bench-strcpy_chk.c: New file.
64774 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
64775 code.
64776 (do_test): Likewise.
64777
64778 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64779
64780 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
64781 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
64782 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
64783 with tabs where appropriate.
64784 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
64785 dl-procinfo.h.
64786 [PPC_PLATFORM_PPC440]: Likewise.
64787 [PPC_PLATFORM_PPC464]: Likewise.
64788 [PPC_PLATFORM_PPC476]: Likewise.
64789 (_dl_string_platform): Add support for detecting ppc405, ppc440,
64790 ppc464, and ppc476 platform strings merging from ports/
64791 dl-procinfo.h.
64792
64793 2013-06-11 Andreas Schwab <schwab@suse.de>
64794
64795 [BZ #14991]
64796 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
64797 (from_ucs4_idx): Regenerate.
64798 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
64799 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
64800 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
64801 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
64802 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
64803 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
64804 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
64805 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
64806 from FROM_LOOP and TO_LOOP specific macros.
64807 (BODY): Handle combining characters.
64808 * iconvdata/BIG5HKSCS.irreversible: Update.
64809 * iconvdata/BIG5HKSCS.precomposed: New file.
64810 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
64811 characters.
64812 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
64813
64814 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
64815
64816 * include/sys/time.h: Fix indentation and add copyright header.
64817
64818 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
64819 (do_test): Likewise.
64820 * string/test-memchr.c (do_one_test): Likewise.
64821 (do_test): Likewise.
64822 * string/test-memcmp.c (do_one_test): Likewise.
64823 (do_test): Likewise.
64824 * string/test-memcpy.c (do_one_test): Likewise.
64825 (do_test): Likewise.
64826 * string/test-memmem.c (do_one_test): Likewise.
64827 (do_test): Likewise.
64828 (do_random_tests): Likewise.
64829 * string/test-memmove.c (do_one_test): Likewise.
64830 (do_test): Likewise.
64831 * string/test-memset.c (do_one_test): Likewise.
64832 (do_test): Likewise.
64833 * string/test-rawmemchr.c (do_one_test): Likewise.
64834 (do_test): Likewise.
64835 * string/test-strcasecmp.c (do_one_test): Likewise.
64836 (do_test): Likewise.
64837 * string/test-strcasestr.c (do_one_test): Likewise.
64838 (do_test): Likewise.
64839 * string/test-strcat.c (do_one_test): Likewise.
64840 (do_test): Likewise.
64841 * string/test-strchr.c (do_one_test): Likewise.
64842 (do_test): Likewise.
64843 * string/test-strcmp.c (do_one_test): Likewise.
64844 (do_test): Likewise.
64845 * string/test-strcpy.c (do_one_test): Likewise.
64846 (do_test): Likewise.
64847 * string/test-string.h: Likewise.
64848 (test_init): Likewise.
64849 * string/test-strlen.c (do_one_test): Likewise.
64850 (do_test): Likewise.
64851 * string/test-strncasecmp.c (do_one_test): Likewise.
64852 (do_test): Likewise.
64853 * string/test-strncat.c (do_one_test): Likewise.
64854 (do_test): Likewise.
64855 * string/test-strncmp.c (do_one_test): Likewise.
64856 (do_test_limit): Likewise.
64857 (do_test): Likewise.
64858 * string/test-strncpy.c (do_one_test): Likewise.
64859 (do_test): Likewise.
64860 * string/test-strnlen.c (do_one_test): Likewise.
64861 (do_test): Likewise.
64862 * string/test-strpbrk.c (do_one_test): Likewise.
64863 (do_test): Likewise.
64864 * string/test-strrchr.c (do_one_test): Likewise.
64865 (do_test): Likewise.
64866 * string/test-strspn.c (do_one_test): Likewise.
64867 (do_test): Likewise.
64868 * string/test-strstr.c (do_one_test): Likewise.
64869 (do_test): Likewise.
64870
64871 * benchtests/Makefile (string-bench): Add string benchmarks.
64872 * benchtests/bench-bcopy-ifunc.c: New file.
64873 * benchtests/bench-bcopy.c: New file.
64874 * benchtests/bench-bzero-ifunc.c: New file.
64875 * benchtests/bench-bzero.c: New file.
64876 * benchtests/bench-memccpy-ifunc.c: New file.
64877 * benchtests/bench-memccpy.c: New file.
64878 * benchtests/bench-memchr-ifunc.c: New file.
64879 * benchtests/bench-memchr.c: New file.
64880 * benchtests/bench-memcmp-ifunc.c: New file.
64881 * benchtests/bench-memcmp.c: New file.
64882 * benchtests/bench-memmem-ifunc.c: New file.
64883 * benchtests/bench-memmem.c: New file.
64884 * benchtests/bench-memmove-ifunc.c: New file.
64885 * benchtests/bench-memmove.c: New file.
64886 * benchtests/bench-mempcpy-ifunc.c: New file.
64887 * benchtests/bench-mempcpy.c: New file.
64888 * benchtests/bench-memset-ifunc.c: New file.
64889 * benchtests/bench-memset.c: New file.
64890 * benchtests/bench-rawmemchr-ifunc.c: New file.
64891 * benchtests/bench-rawmemchr.c: New file.
64892 * benchtests/bench-stpcpy-ifunc.c: New file.
64893 * benchtests/bench-stpcpy.c: New file.
64894 * benchtests/bench-stpncpy-ifunc.c: New file.
64895 * benchtests/bench-stpncpy.c: New file.
64896 * benchtests/bench-strcasecmp-ifunc.c: New file.
64897 * benchtests/bench-strcasecmp.c: New file.
64898 * benchtests/bench-strcasestr-ifunc.c: New file.
64899 * benchtests/bench-strcasestr.c: New file.
64900 * benchtests/bench-strcat-ifunc.c: New file.
64901 * benchtests/bench-strcat.c: New file.
64902 * benchtests/bench-strchr-ifunc.c: New file.
64903 * benchtests/bench-strchr.c: New file.
64904 * benchtests/bench-strchrnul-ifunc.c: New file.
64905 * benchtests/bench-strchrnul.c: New file.
64906 * benchtests/bench-strcmp-ifunc.c: New file.
64907 * benchtests/bench-strcmp.c: New file.
64908 * benchtests/bench-strcpy-ifunc.c: New file.
64909 * benchtests/bench-strcpy.c: New file.
64910 * benchtests/bench-strcspn-ifunc.c: New file.
64911 * benchtests/bench-strcspn.c: New file.
64912 * benchtests/bench-strlen-ifunc.c: New file.
64913 * benchtests/bench-strlen.c: New file.
64914 * benchtests/bench-strncasecmp-ifunc.c: New file.
64915 * benchtests/bench-strncasecmp.c: New file.
64916 * benchtests/bench-strncat-ifunc.c: New file.
64917 * benchtests/bench-strncat.c: New file.
64918 * benchtests/bench-strncmp-ifunc.c: New file.
64919 * benchtests/bench-strncmp.c: New file.
64920 * benchtests/bench-strncpy-ifunc.c: New file.
64921 * benchtests/bench-strncpy.c: New file.
64922 * benchtests/bench-strnlen-ifunc.c: New file.
64923 * benchtests/bench-strnlen.c: New file.
64924 * benchtests/bench-strpbrk-ifunc.c: New file.
64925 * benchtests/bench-strpbrk.c: New file.
64926 * benchtests/bench-strrchr-ifunc.c: New file.
64927 * benchtests/bench-strrchr.c: New file.
64928 * benchtests/bench-strspn-ifunc.c: New file.
64929 * benchtests/bench-strspn.c: New file.
64930 * benchtests/bench-strstr-ifunc.c: New file.
64931 * benchtests/bench-strstr.c: New file.
64932
64933 * benchtests/Makefile: Disable parallel execution of targets.
64934 (string-bench): Add memcpy.
64935 (benchset): New variable to store a list of benchmark sets.
64936 (bench-func): Renamed from bench.
64937 (bench-set): New target.
64938 (bench): Depend on bench-func and bench-set.
64939 * benchtests/README: Add section on benchmark sets.
64940 * benchtests/bench-memcpy-ifunc.c: New file.
64941 * benchtests/bench-memcpy.c: New file.
64942 * benchtests/bench-string.h: New file.
64943
64944 2013-06-11 Andreas Schwab <schwab@suse.de>
64945
64946 [BZ #15577]
64947 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
64948 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
64949 values in the triple.
64950 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
64951 terminator in the group key.
64952
64953 2013-06-11 Andreas Jaeger <aj@suse.de>
64954
64955 * po/zh_TW.po: Update Chinese (traditional) translation from
64956 translation project.
64957
64958 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
64959
64960 * include/time.h (__clock_gettime): Add libc_hidden_proto.
64961 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
64962 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
64963 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
64964 (clock_getcpuclockid): Likewise.
64965 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
64966 Add weak_alias and libc_hidden_def.
64967 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
64968 * rt/clock_gettime.c (clock_gettime): Rename to
64969 __clock_gettime. Add weak_alias and libc_hidden_def.
64970 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
64971 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
64972 __clock_nanosleep. Add weak_alias and libc_hidden_def.
64973 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
64974 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
64975 Likewise.
64976 * rt/clock_settime.c (clock_settime): Rename to
64977 __clock_settime. Add weak_alias and libc_hidden_def.
64978 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
64979
64980 2013-06-10 Joseph Myers <joseph@codesourcery.com>
64981
64982 * mach/err_boot.sub: Remove trailing whitespace.
64983 * mach/err_ipc.sub: Likewise.
64984 * mach/err_mach.sub: Likewise.
64985
64986 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
64987 (ROUNDING_TESTS_double): Likewise.
64988 (ROUNDING_TESTS_long_double): Likewise.
64989 (ROUNDING_TESTS): Likewise.
64990 * math/libm-test.inc: Include <math-tests.h>.
64991 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
64992 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
64993 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
64994 (IF_ROUND_INIT_FE_UPWARD): Likewise.
64995
64996 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
64997
64998 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
64999 of assigning.
65000
65001 2013-06-08 Joseph Myers <joseph@codesourcery.com>
65002
65003 * sysdeps/gnu/errlist.awk: Do not generate space at end of
65004 otherwise empty TRANS lines.
65005 * sysdeps/gnu/errlist.c: Regenerated.
65006
65007 * catgets/gencat.c (error_print): Use (void) in function
65008 definition.
65009 * crypt/crypt_util.c (__init_des): Likewise.
65010 * crypt/speeds.c (Stop): Likewise.
65011 (main): Likewise.
65012 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
65013 * inet/ruserpass.c (token): Likewise.
65014 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
65015 * intl/localealias.c (extend_alias_table): Likewise.
65016 * intl/plural-exp.c (init_germanic_plural): Likewise.
65017 * libio/fcloseall.c (__fcloseall): Likewise.
65018 * libio/genops.c (_IO_flush_all): Likewise.
65019 (_IO_flush_all_linebuffered): Likewise.
65020 (_IO_cleanup): Likewise.
65021 (_IO_iter_begin): Likewise.
65022 (_IO_iter_end): Likewise.
65023 (_IO_list_lock): Likewise.
65024 (_IO_list_unlock): Likewise.
65025 (_IO_list_resetlock): Likewise.
65026 * libio/getchar.c (getchar): Likewise.
65027 * libio/getchar_u.c (getchar_unlocked): Likewise.
65028 * libio/getwchar.c (getwchar): Likewise.
65029 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
65030 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
65031 * login/getpt.c (__getpt): Likewise.
65032 * login/tst-utmp.c (main): Likewise.
65033 * malloc/hooks.c (__malloc_check_init): Likewise.
65034 * malloc/malloc.c (__malloc_stats): Likewise.
65035 * malloc/mtrace.c (tr_break): Likewise.
65036 (mtrace): Likewise.
65037 (muntrace): Likewise.
65038 * misc/fstab.c (endfsent): Likewise.
65039 * misc/getclktck.c (__getclktck): Likewise.
65040 * misc/getdtsz.c (__getdtablesize): Likewise.
65041 * misc/gethostid.c (gethostid): Likewise.
65042 * misc/getpagesize.c (__getpagesize): Likewise.
65043 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
65044 (__get_nprocs): Likewise.
65045 (__get_phys_pages): Likewise.
65046 (__get_avphys_pages): Likewise.
65047 * misc/getttyent.c (getttyent): Likewise.
65048 (setttyent): Likewise.
65049 (endttyent): Likewise.
65050 * misc/getusershell.c (getusershell): Likewise.
65051 (endusershell): Likewise.
65052 (setusershell): Likewise.
65053 (initshells): Likewise.
65054 * misc/hsearch.c (__hdestroy): Likewise.
65055 * misc/sync.c (sync): Likewise.
65056 * misc/syslog.c (closelog_internal): Likewise.
65057 (closelog): Likewise.
65058 * misc/ttyslot.c (ttyslot): Likewise.
65059 * misc/vhangup.c (vhangup): Likewise.
65060 * posix/fork.c (__fork): Likewise.
65061 * posix/getegid.c (__getegid): Likewise.
65062 * posix/geteuid.c (__geteuid): Likewise.
65063 * posix/getgid.c (__getgid): Likewise.
65064 * posix/getpid.c (__getpid): Likewise.
65065 * posix/getppid.c (__getppid): Likewise.
65066 * posix/getuid.c (__getuid): Likewise.
65067 * posix/pause.c (pause): Likewise.
65068 * posix/setpgrp.c (setpgrp): Likewise.
65069 * posix/setsid.c (__setsid): Likewise.
65070 * posix/test-vfork.c (noop): Likewise.
65071 * resolv/gethnamaddr.c (_endhtent): Likewise.
65072 (_gethtent): Likewise.
65073 (ht_endhostent): Likewise.
65074 (gethostent): Likewise.
65075 (dns_service): Likewise.
65076 * stdlib/drand48.c (drand48): Likewise.
65077 * stdlib/lrand48.c (lrand48): Likewise.
65078 * stdlib/mrand48.c (mrand48): Likewise.
65079 * stdlib/rand.c (rand): Likewise.
65080 * stdlib/random.c (__random): Likewise.
65081 * stdlib/setenv.c (clearenv): Likewise.
65082 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
65083 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
65084 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
65085 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
65086 (__get_nprocs): Likewise.
65087 (__get_phys_pages): Likewise.
65088 (__get_avphys_pages): Likewise.
65089 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
65090 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
65091 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
65092 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
65093 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
65094 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
65095 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
65096 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
65097 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
65098 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
65099 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
65100 * sysdeps/mach/hurd/sync.c (sync): Likewise.
65101 * sysdeps/posix/clock.c (clock): Likewise.
65102 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
65103 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
65104 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
65105 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
65106 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
65107 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
65108 (__get_nprocs_conf): Likewise.
65109 (__get_phys_pages): Likewise.
65110 (__get_avphys_pages): Likewise.
65111 * time/clock.c (clock): Likewise.
65112 * time/tzset.c (__tzname_max): Likewise.
65113
65114 2013-06-07 Joseph Myers <joseph@codesourcery.com>
65115
65116 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
65117 (__bswap_32): Do not use "register".
65118 * crypt/crypt.c (_ufc_doit_r): Likewise.
65119 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
65120 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
65121 * gmon/gmon.c (__monstartup): Likewise.
65122 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
65123 * hurd/hurdmalloc.c (more_memory): Likewise.
65124 (malloc): Likewise.
65125 (free): Likewise.
65126 (realloc): Likewise.
65127 (malloc_fork_prepare): Likewise.
65128 (malloc_fork_parent): Likewise.
65129 (malloc_fork_child): Likewise.
65130 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
65131 (_svcauth_des): Likewise.
65132 * inet/inet_lnaof.c (inet_lnaof): Likewise.
65133 * inet/inet_net.c (inet_network): Likewise.
65134 * inet/inet_netof.c (inet_netof): Likewise.
65135 * inet/rcmd.c (__validuser2_sa): Likewise.
65136 * io/fts.c (fts_open): Likewise.
65137 (fts_load): Likewise.
65138 (fts_close): Likewise.
65139 (fts_read): Likewise.
65140 (fts_children): Likewise.
65141 (fts_build): Likewise.
65142 (fts_stat): Likewise.
65143 (fts_sort): Likewise.
65144 (fts_alloc): Likewise.
65145 (fts_lfree): Likewise.
65146 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
65147 (_IO_file_xsgetn): Likewise.
65148 (_IO_file_xsgetn_mmap): Likewise.
65149 * libio/iofopncook.c (_IO_cookie_read): Likewise.
65150 (_IO_cookie_write): Likewise.
65151 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
65152 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
65153 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
65154 * malloc/obstack.c (_obstack_begin): Likewise.
65155 (_obstack_begin_1): Likewise.
65156 (_obstack_newchunk): Likewise.
65157 (_obstack_allocated_p): Likewise.
65158 (obstack_free): Likewise.
65159 (_obstack_memory_used): Likewise.
65160 * misc/getttyent.c (getttynam): Likewise.
65161 (getttyent): Likewise.
65162 (skip): Likewise.
65163 (value): Likewise.
65164 * misc/getusershell.c (initshells): Likewise.
65165 * misc/syslog.c (__vsyslog_chk): Likewise.
65166 * misc/ttyslot.c (ttyslot): Likewise.
65167 * nis/nis_hash.c (__nis_hash): Likewise.
65168 * posix/fnmatch_loop.c (FCT): Likewise.
65169 * posix/getconf.c (print_all): Likewise.
65170 (main): Likewise.
65171 * posix/getopt.c (exchange): Likewise.
65172 * posix/glob.c (globfree): Likewise.
65173 (prefix_array): Likewise.
65174 (__glob_pattern_type): Likewise.
65175 * resolv/arpa/nameser.h (NS_GET16): Likewise.
65176 (NS_GET32): Likewise.
65177 (NS_PUT16): Likewise.
65178 (NS_PUT32): Likewise.
65179 * resolv/gethnamaddr.c (getanswer): Likewise.
65180 (gethostbyname2): Likewise.
65181 (gethostbyaddr): Likewise.
65182 (_gethtent): Likewise.
65183 (_gethtbyname2): Likewise.
65184 (_gethtbyaddr): Likewise.
65185 * resolv/ns_print.c (dst_s_get_int16): Likewise.
65186 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
65187 * resolv/res_init.c (__res_vinit): Likewise.
65188 (net_mask): Likewise.
65189 * resolv/res_mkquery.c (outchar): Likewise.
65190 (PRINT): Likewise.
65191 * stdio-common/printf_fp.c (outchar): Likewise.
65192 (PRINT): Likewise.
65193 * stdio-common/printf_fphex.c (outchar): Likewise.
65194 (PRINT): Likewise.
65195 * stdio-common/printf_size.c (outchar): Likewise.
65196 (PRINT): Likewise.
65197 * stdio-common/test_rdwr.c (main): Likewise.
65198 * stdio-common/tfformat.c (matches): Likewise.
65199 * stdio-common/vfprintf.c (outchar): Likewise.
65200 (printf_unknown): Likewise.
65201 (buffered_vfprintf): Likewise.
65202 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
65203 * stdio-common/xbug.c (AppendToBuffer): Likewise.
65204 (ReadFile): Likewise.
65205 * stdlib/qsort.c (SWAP): Likewise.
65206 (_quicksort): Likewise.
65207 * stdlib/setenv.c (__add_to_environ): Likewise.
65208 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
65209 * stdlib/strtol_l.c (__strtol_l): Likewise.
65210 * stdlib/tst-strtod.c (main): Likewise.
65211 * stdlib/tst-strtol.c (main): Likewise.
65212 * stdlib/tst-strtoll.c (main): Likewise.
65213 * string/bits/string2.h (__strcmp_cc): Likewise.
65214 (__strcmp_cg): Likewise.
65215 (__strcspn_c1): Likewise.
65216 (__strcspn_c2): Likewise.
65217 (__strcspn_c3): Likewise.
65218 (__strspn_c1): Likewise.
65219 (__strspn_c2): Likewise.
65220 (__strspn_c3): Likewise.
65221 (__strsep_1c): Likewise.
65222 (__strsep_2c): Likewise.
65223 (__strsep_3c): Likewise.
65224 * string/memccpy.c (__memccpy): Likewise.
65225 * string/stpcpy.c (__stpcpy): Likewise.
65226 * string/strcmp.c (strcmp): Likewise.
65227 * string/strrchr.c (strrchr): Likewise.
65228 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
65229 Likewise.
65230 * sysdeps/mach/hurd/getcwd.c
65231 (_hurd_canonicalize_directory_name_internal): Likewise.
65232 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
65233 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
65234 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
65235 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
65236 Likewise, in both definitions.
65237 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
65238 definitions.
65239 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
65240 64] (__bswap_64): Likewise.
65241 * time/test_time.c (main): Likewise.
65242 * time/tzfile.c (__tzfile_read): Likewise.
65243 (__tzfile_compute): Likewise.
65244 * time/tzset.c (__tzset_parse_tz): Likewise.
65245 (tzset_internal): Likewise.
65246 (compute_change): Likewise.
65247 * wcsmbs/wcscat.c (__wcscat): Likewise.
65248 * wcsmbs/wcschr.c (wcschr): Likewise.
65249 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
65250 * wcsmbs/wcscspn.c (wcscspn): Likewise.
65251 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
65252 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
65253 * wcsmbs/wcsspn.c (wcsspn): Likewise.
65254 * wcsmbs/wcsstr.c (wcsstr): Likewise.
65255 * wcsmbs/wmemchr.c (wmemchr): Likewise.
65256 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
65257 * wcsmbs/wmemset.c (wmemset): Likewise.
65258
65259 2013-06-06 Joseph Myers <joseph@codesourcery.com>
65260
65261 * scripts/config.guess: Update to version 2013-05-16.
65262 * scripts/config.sub: Update to version 2013-04-24.
65263 * scripts/install-sh: Update to version 2011-11-20.07.
65264 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
65265 * scripts/move-if-change: Update to version 2012-01-06 07:23.
65266
65267 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
65268
65269 * debug/fgetws_u_chk.c: Fix leading whitespaces.
65270 * elf/sln.c: Likewise.
65271 * hurd/hurd/ioctl.h: Likewise.
65272 * hurd/hurdmalloc.c: Likewise.
65273 * hurd/xattr.c: Likewise.
65274 * include/shlib-compat.h: Likewise.
65275 * inet/ruserpass.c: Likewise.
65276 * libio/iofgets_u.c: Likewise.
65277 * libio/iofgetws_u.c: Likewise.
65278 * locale/programs/ld-identification.c: Likewise.
65279 * locale/programs/ld-time.c: Likewise.
65280 * mach/msg-destroy.c: Likewise.
65281 * nss/nss_files/files-netgrp.c: Likewise.
65282 * resolv/res_data.c: Likewise.
65283 * soft-fp/op-1.h: Likewise.
65284 * soft-fp/op-2.h: Likewise.
65285 * soft-fp/op-4.h: Likewise.
65286 * soft-fp/op-common.h: Likewise.
65287 * stdio-common/printf_fphex.c: Likewise.
65288 * stdlib/strtod_l.c: Likewise.
65289 * sunrpc/rpc/clnt.h: Likewise.
65290 * sysdeps/generic/framestate.c: Likewise.
65291 * sysdeps/i386/bsd-_setjmp.S: Likewise.
65292 * sysdeps/i386/bsd-setjmp.S: Likewise.
65293 * sysdeps/i386/__longjmp.S: Likewise.
65294 * sysdeps/i386/setjmp.S: Likewise.
65295 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65296 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65297 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65298 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
65299 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
65300 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
65301 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65302 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65303 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65304 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
65305 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
65306 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
65307 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
65308 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
65309 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
65310 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65311 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
65312 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
65313 * sysdeps/ieee754/support.c: Likewise.
65314 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65315 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
65316 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
65317 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
65318 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
65319 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
65320 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
65321 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
65322 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
65323 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
65324 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
65325 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
65326 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
65327 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
65328 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
65329 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
65330 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
65331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
65332
65333 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
65334
65335 * posix/transbug.c: Remove executable mode.
65336
65337 2013-06-05 Joseph Myers <joseph@codesourcery.com>
65338
65339 * crypt/speeds.c: Remove trailing whitespace.
65340 * dlfcn/default.c: Likewise.
65341 * elf/ifuncdep2.c: Likewise.
65342 * elf/ifuncmain1.c: Likewise.
65343 * elf/ifuncmain1vis.c: Likewise.
65344 * elf/testobj.h: Likewise.
65345 * elf/tst-stackguard1.c: Likewise.
65346 * gmon/sys/gmon.h: Likewise.
65347 * hurd/hurdmsg.c: Likewise.
65348 * hurd/new-fd.c: Likewise.
65349 * hurd/ports-get.c: Likewise.
65350 * iconvdata/ibm1008_420.c: Likewise.
65351 * inet/tst-getni1.c: Likewise.
65352 * inet/tst-getni2.c: Likewise.
65353 * libio/ioungetc.c: Likewise.
65354 * libio/wfiledoalloc.c: Likewise.
65355 * manual/libm-err-tab.pl: Likewise.
65356 * math/w_dremf.c: Likewise.
65357 * misc/ftruncate.c: Likewise.
65358 * posix/bug-glob2.c: Likewise.
65359 * posix/tst-pcre.c: Likewise.
65360 * posix/wait4.c: Likewise.
65361 * resolv/README: Likewise.
65362 * resolv/res_debug.h: Likewise.
65363 * resolv/tst-inet_ntop.c: Likewise.
65364 * setjmp/bug269-setjmp.c: Likewise.
65365 * soft-fp/extended.h: Likewise.
65366 * soft-fp/op-1.h: Likewise.
65367 * soft-fp/op-2.h: Likewise.
65368 * soft-fp/op-4.h: Likewise.
65369 * soft-fp/op-8.h: Likewise.
65370 * soft-fp/testit.c: Likewise.
65371 * stdio-common/bug16.c: Likewise.
65372 * stdlib/random.c: Likewise.
65373 * sunrpc/rpcsvc/rquota.x: Likewise.
65374 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
65375 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65376 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65377 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65378 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65379 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65380 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65381 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65382 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65383 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65384 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65385 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
65386 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65387 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
65388 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65389 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
65390 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
65391 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65392 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
65393 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65394 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65395 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65396 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
65397 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
65398 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
65399 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
65400 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65401 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65402 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65403 * sysdeps/ieee754/s_lib_version.c: Likewise.
65404 * sysdeps/mach/hurd/check_fds.c: Likewise.
65405 * sysdeps/mach/hurd/getsockname.c: Likewise.
65406 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
65407 * sysdeps/mach/hurd/recvfrom.c: Likewise.
65408 * sysdeps/powerpc/bits/link.h: Likewise.
65409 * sysdeps/powerpc/dl-procinfo.c: Likewise.
65410 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
65411 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
65412 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
65413 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65414 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
65415 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
65416 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65417 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
65418 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65419 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
65420 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
65421 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
65422 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65423 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65424 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65425 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
65426 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
65427 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65428 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65429 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65430 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
65431 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65432 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
65433 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
65434 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
65435 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
65436 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65437 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65438 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
65439 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
65440 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
65441 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
65442 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65443 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
65444 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65445 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
65446 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
65447 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
65448 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
65449 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
65450 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
65451 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
65452 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
65453 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
65454 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
65455 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
65456 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
65457 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
65458 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
65459 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65460 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65461 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65462 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65463 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
65464 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
65465 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
65466 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
65467 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
65468 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
65469 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
65470 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
65471 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
65472 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
65473 * sysdeps/powerpc/sysdep.h: Likewise.
65474 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65475 * sysdeps/s390/s390-64/sub_n.S: Likewise.
65476 * sysdeps/sh/dl-trampoline.S: Likewise.
65477 * sysdeps/sh/memset.S: Likewise.
65478 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
65479 * sysdeps/sh/strlen.S: Likewise.
65480 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
65481 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
65482 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
65483 * sysdeps/sparc/sparc32/rem.S: Likewise.
65484 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
65485 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
65486 * sysdeps/sparc/sparc32/strchr.S: Likewise.
65487 * sysdeps/sparc/sparc32/udiv.S: Likewise.
65488 * sysdeps/sparc/sparc32/urem.S: Likewise.
65489 * sysdeps/sparc/sparc64/add_n.S: Likewise.
65490 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65491 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
65492 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
65493 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
65494 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
65495 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
65496 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
65497 * sysdeps/unix/bsd/times.c: Likewise.
65498 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
65499 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
65500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
65501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
65502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
65503 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
65504 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
65505 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
65506 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
65507 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
65508 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
65509 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
65510 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
65511 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65512 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
65513 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
65514 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
65515 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
65516 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
65517 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
65518 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
65519 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
65520 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65521 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
65522 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
65523 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
65524 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
65525 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65526 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
65527 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
65528 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
65529 * sysdeps/x86_64/strcspn.S: Likewise.
65530
65531 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
65532
65533 * locale/C-translit.h: Revert #include <stdint.h> because this is a
65534 generated file. Regenerate properly from gen-translit.pl.
65535 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
65536 locale/C-translit.h.
65537
65538 2013-06-05 Andreas Schwab <schwab@suse.de>
65539
65540 [BZ #15100]
65541 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
65542 week as 6 instead of -1.
65543 * time/tst-strptime.c (day_tests): Add test case.
65544
65545 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
65546
65547 * sysdeps/generic/math_private.h
65548 (libc_feholdexcept_setround_53bit): Replace with
65549 libc_feholdsetround_53bit.
65550 (libc_feupdateenv_53bit): Replace with
65551 libc_feresetround_53bit.
65552 (SET_RESTORE_ROUND_53BIT): Adjust.
65553
65554 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
65555
65556 * string/test-strchrnul.c: Add copyright header.
65557
65558 * posix/tst-getaddrinfo4.c: Increase test timeout.
65559
65560 2013-06-03 Carlos O'Donell <carlos@redhat.com>
65561
65562 [BZ #15536]
65563 * math/libm-test.inc (MAX_EXP): Remove
65564 (MIN_EXP): Define.
65565 (ulp): Use MIN_EXP - MANT_DIG.
65566 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
65567
65568 2013-05-31 Carlos O'Donell <carlos@redhat.com>
65569
65570 * po/be.po: Revert last change.
65571 * po/zh_CN.po: Likewise.
65572 * po/header.pot: Likewise.
65573
65574 2013-05-31 Joseph Myers <joseph@codesourcery.com>
65575
65576 * Makefile ($(common-objpfx)linkobj/libc.so): Define
65577 link-libc-deps to empty as target-specific variable.
65578 * Makerules (link-libc-args): New variable.
65579 (libc-for-link): Likewise.
65580 (link-libc-deps): Likewise.
65581 (lib%.so): Depend on $(link-libc-deps). Link with
65582 $(link-libc-args).
65583 (build-module): Link with $(link-libc-args).
65584 (build-module-asneeded): Likewise.
65585 (build-module-helper-objlist): Filter out $(link-libc-deps) from
65586 list of objects.
65587 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
65588 target-specific variable.
65589 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
65590 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
65591 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
65592 libc.
65593 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
65594 libc and ld.so.
65595 ($(objpfx)libpcprofile.so): Likewise.
65596 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
65597 libc_nonshared.a.
65598 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
65599 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
65600 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
65601 $(link-libc-deps).
65602 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
65603 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
65604 * login/Makefile ($(objpfx)libutil.so): Likewise.
65605 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
65606 * math/Makefile ($(objpfx)libm.so): Likewise.
65607 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
65608 $(objpfx)libnsl.so): Define libc-for-link as target-specific
65609 variable instead of depending directly on libc.
65610 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
65611 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
65612 $(link-libc-deps).
65613 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
65614 libc.
65615 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
65616 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
65617 ($(objpfx)libanl.so): Likewise.
65618 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
65619 ld.so.
65620 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
65621 $(link-libc-deps).
65622 * sysdeps/i386/fpu/Makefile: Remove file.
65623 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
65624 ($(objpfx)libm.so): Remove dependency on ld.so.
65625
65626 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
65627
65628 [BZ # 15553]
65629 * nis/yp_xdr.c (XDRMAXNAME): Define.
65630 (XDRMAXRECORD): Define.
65631 (xdr_domainname): Use XDRMAXNAME.
65632 (xdr_mapname): Likewise.
65633 (xdr_peername): Likewise.
65634 (xdr_keydat): Use XDRMAXRECORD.
65635 (xdr_valdat): Likewise.
65636
65637 2013-05-30 Jeff Law <law@redhat.com>
65638
65639 [BZ #14256]
65640 * manual/errno.texi (ESTALE): Update to account for more than
65641 just NFS file systems.
65642 * sysdeps/gnu/errlist.c: Regenerated.
65643
65644 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
65645
65646 [BZ #15465]
65647 * elf/Makefile (tests): Add tst-null-argv.
65648 (modules-names): Add tst-null-argv-lib.
65649 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
65650 (tst-null-argv-ENV): Set environment for tst-null-argv.
65651 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
65652 (RTLD_PROGNAME): New macro.
65653 * elf/tst-null-argv.c: New test case.
65654 * elf/tst-null-argv-lib.c: Library for test case.
65655 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
65656 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
65657 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
65658 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
65659 * elf/dl-init.c (call_init): Likewise.
65660 (_dl_init): Likewise.
65661 * elf/dl-load.c (print_search_path): Likewise.
65662 (_dl_map_object): Likewise.
65663 * elf/dl-lookup.c (do_lookup_x): Likewise.
65664 (add_dependency): Likewise.
65665 (_dl_lookup_symbol_x): Likewise.
65666 (_dl_debug_bindings): Likewise.
65667 * elf/dl-open.c (_dl_show_scope): Likewise.
65668 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
65669 * elf/dl-version.c (match_symbol): Likewise.
65670 (_dl_check_map_versions): Likewise.
65671 * elf/rtld.c (dl_main): Likewise.
65672 (print_unresolved): Use RTLD_PROGNAME.
65673 (print_missing_version): Likewise.
65674 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
65675 (elf_machine_rela): Likewise.
65676 * sysdeps/powerpc/powerpc32/dl-machine.c
65677 (__process_machine_rela): Likewise.
65678 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65679 Likewise.
65680 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
65681 Likewise.
65682 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
65683 Likewise.
65684 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
65685 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
65686 Likewise.
65687 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
65688 Likewise.
65689 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
65690
65691 2013-05-28 Carlos O'Donell <carlos@redhat.com>
65692
65693 * po/be.po: Add descriptive title.
65694 * po/zh_CN.po: Likewise.
65695 * po/header.pot: Likewise.
65696
65697 2013-05-28 Mike Frysinger <vapier@gentoo.org>
65698
65699 * locale/programs/locarchive.c (create_archive): Inlucde fname in
65700 error message.
65701 (enlarge_archive): Likewise.
65702
65703 2013-05-28 Ben North <ben@redfrontdoor.org>
65704
65705 * manual/arith.texi (frexp): It is the magnitude of the return
65706 value which lies in [0.5, 1), not the return value itself.
65707
65708 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65709
65710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65711
65712 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
65713
65714 * stdio-common/bug26.c (main): Correct fscanf template.
65715
65716 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
65717 declare _dl_skip_args.
65718
65719 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
65720 Don't declare.
65721
65722 * manual/platform.texi: Add missing @end deftypefun.
65723
65724 2013-05-24 Joseph Myers <joseph@codesourcery.com>
65725
65726 [BZ #15529]
65727 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
65728 bit of mantissa of 2^16382.
65729 * math/libm-test.inc (hypot_test_data): Add more tests.
65730
65731 * math/libm-test.inc: Add drem and pow10 to list of tested
65732 functions.
65733 (pow10_test): New function.
65734 (drem_test): Likewise.
65735 (drem_test_tonearest): Likewise.
65736 (drem_test_towardzero): Likewise.
65737 (drem_test_downward): Likewise.
65738 (drem_test_upward): Likewise.
65739 (main): Call the new functions.
65740
65741 * math/libm-test.inc (finite_test_data): Remove.
65742 (finite_test): Run tests from isfinite_test_data.
65743 (gamma_test_data): Remove.
65744 (gamma_test): Run tests from lgamma_test_data.
65745 * sysdeps/i386/fpu/libm-test-ulps: Update.
65746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65747
65748 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65749
65750 * manual/platform.texi: Add PowerPC PPR function set documentation.
65751 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
65752 implementation.
65753
65754 2013-05-24 Carlos O'Donell <carlos@redhat.com>
65755
65756 * math/libm-test.inc (MAX_EXP): Define.
65757 (ULPDIFF): Define.
65758 (ulp): New function.
65759 (check_float_internal): Use ULPDIFF.
65760 (cpow_test): Disable failing test.
65761 (check_ulp): Test ulp() implementation.
65762 (main): Call check_ulp before starting tests.
65763
65764 2013-05-24 Joseph Myers <joseph@codesourcery.com>
65765
65766 * math/gen-libm-test.pl (generate_testfile): Do not handle
65767 START_DATA and END_DATA.
65768 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
65769 END_DATA.
65770 (acos_tonearest_test_data): Likewise.
65771 (acos_towardzero_test_data): Likewise.
65772 (acos_downward_test_data): Likewise.
65773 (acos_upward_test_data): Likewise.
65774 (acosh_test_data): Likewise.
65775 (asin_test_data): Likewise.
65776 (asin_tonearest_test_data): Likewise.
65777 (asin_towardzero_test_data): Likewise.
65778 (asin_downward_test_data): Likewise.
65779 (asin_upward_test_data): Likewise.
65780 (asinh_test_data): Likewise.
65781 (atan_test_data): Likewise.
65782 (atanh_test_data): Likewise.
65783 (atan2_test_data): Likewise.
65784 (cabs_test_data): Likewise.
65785 (cacos_test_data): Likewise.
65786 (cacosh_test_data): Likewise.
65787 (carg_test_data): Likewise.
65788 (casin_test_data): Likewise.
65789 (casinh_test_data): Likewise.
65790 (catan_test_data): Likewise.
65791 (catanh_test_data): Likewise.
65792 (cbrt_test_data): Likewise.
65793 (ccos_test_data): Likewise.
65794 (ccosh_test_data): Likewise.
65795 (ceil_test_data): Likewise.
65796 (cexp_test_data): Likewise.
65797 (cimag_test_data): Likewise.
65798 (clog_test_data): Likewise.
65799 (clog10_test_data): Likewise.
65800 (conj_test_data): Likewise.
65801 (copysign_test_data): Likewise.
65802 (cos_test_data): Likewise.
65803 (cos_tonearest_test_data): Likewise.
65804 (cos_towardzero_test_data): Likewise.
65805 (cos_downward_test_data): Likewise.
65806 (cos_upward_test_data): Likewise.
65807 (cosh_test_data): Likewise.
65808 (cosh_tonearest_test_data): Likewise.
65809 (cosh_towardzero_test_data): Likewise.
65810 (cosh_downward_test_data): Likewise.
65811 (cosh_upward_test_data): Likewise.
65812 (cpow_test_data): Likewise.
65813 (cproj_test_data): Likewise.
65814 (creal_test_data): Likewise.
65815 (csin_test_data): Likewise.
65816 (csinh_test_data): Likewise.
65817 (csqrt_test_data): Likewise.
65818 (ctan_test_data): Likewise.
65819 (ctan_tonearest_test_data): Likewise.
65820 (ctan_towardzero_test_data): Likewise.
65821 (ctan_downward_test_data): Likewise.
65822 (ctan_upward_test_data): Likewise.
65823 (ctanh_test_data): Likewise.
65824 (ctanh_tonearest_test_data): Likewise.
65825 (ctanh_towardzero_test_data): Likewise.
65826 (ctanh_downward_test_data): Likewise.
65827 (ctanh_upward_test_data): Likewise.
65828 (erf_test_data): Likewise.
65829 (erfc_test_data): Likewise.
65830 (exp_test_data): Likewise.
65831 (exp_tonearest_test_data): Likewise.
65832 (exp_towardzero_test_data): Likewise.
65833 (exp_downward_test_data): Likewise.
65834 (exp_upward_test_data): Likewise.
65835 (exp10_test_data): Likewise.
65836 (exp2_test_data): Likewise.
65837 (expm1_test_data): Likewise.
65838 (fabs_test_data): Likewise.
65839 (fdim_test_data): Likewise.
65840 (finite_test_data): Likewise.
65841 (floor_test_data): Likewise.
65842 (fma_test_data): Likewise.
65843 (fma_towardzero_test_data): Likewise.
65844 (fma_downward_test_data): Likewise.
65845 (fma_upward_test_data): Likewise.
65846 (fmax_test_data): Likewise.
65847 (fmin_test_data): Likewise.
65848 (fmod_test_data): Likewise.
65849 (fpclassify_test_data): Likewise.
65850 (frexp_test_data): Likewise.
65851 (gamma_test_data): Likewise.
65852 (hypot_test_data): Likewise.
65853 (ilogb_test_data): Likewise.
65854 (isfinite_test_data): Likewise.
65855 (isgreater_test_data): Likewise.
65856 (isgreaterequal_test_data): Likewise.
65857 (isinf_test_data): Likewise.
65858 (isless_test_data): Likewise.
65859 (islessequal_test_data): Likewise.
65860 (islessgreater_test_data): Likewise.
65861 (isnan_test_data): Likewise.
65862 (isnormal_test_data): Likewise.
65863 (issignaling_test_data): Likewise.
65864 (isunordered_test_data): Likewise.
65865 (j0_test_data): Likewise.
65866 (j1_test_data): Likewise.
65867 (jn_test_data): Likewise.
65868 (ldexp_test_data): Likewise.
65869 (lgamma_test_data): Likewise.
65870 (lrint_test_data): Likewise.
65871 (lrint_tonearest_test_data): Likewise.
65872 (lrint_towardzero_test_data): Likewise.
65873 (lrint_downward_test_data): Likewise.
65874 (lrint_upward_test_data): Likewise.
65875 (llrint_test_data): Likewise.
65876 (llrint_tonearest_test_data): Likewise.
65877 (llrint_towardzero_test_data): Likewise.
65878 (llrint_downward_test_data): Likewise.
65879 (llrint_upward_test_data): Likewise.
65880 (log_test_data): Likewise.
65881 (log10_test_data): Likewise.
65882 (log1p_test_data): Likewise.
65883 (log2_test_data): Likewise.
65884 (logb_test_data): Likewise.
65885 (logb_downward_test_data): Likewise.
65886 (lround_test_data): Likewise.
65887 (llround_test_data): Likewise.
65888 (modf_test_data): Likewise.
65889 (nearbyint_test_data): Likewise.
65890 (nextafter_test_data): Likewise.
65891 (nexttoward_test_data): Likewise.
65892 (pow_test_data): Likewise.
65893 (pow_tonearest_test_data): Likewise.
65894 (pow_towardzero_test_data): Likewise.
65895 (pow_downward_test_data): Likewise.
65896 (pow_upward_test_data): Likewise.
65897 (remainder_test_data): Likewise.
65898 (remainder_tonearest_test_data): Likewise.
65899 (remainder_towardzero_test_data): Likewise.
65900 (remainder_downward_test_data): Likewise.
65901 (remainder_upward_test_data): Likewise.
65902 (remquo_test_data): Likewise.
65903 (rint_test_data): Likewise.
65904 (rint_tonearest_test_data): Likewise.
65905 (rint_towardzero_test_data): Likewise.
65906 (rint_downward_test_data): Likewise.
65907 (rint_upward_test_data): Likewise.
65908 (round_test_data): Likewise.
65909 (scalb_test_data): Likewise.
65910 (scalbn_test_data): Likewise.
65911 (scalbln_test_data): Likewise.
65912 (signbit_test_data): Likewise.
65913 (sin_test_data): Likewise.
65914 (sin_tonearest_test_data): Likewise.
65915 (sin_towardzero_test_data): Likewise.
65916 (sin_downward_test_data): Likewise.
65917 (sin_upward_test_data): Likewise.
65918 (sincos_test_data): Likewise.
65919 (sinh_test_data): Likewise.
65920 (sinh_tonearest_test_data): Likewise.
65921 (sinh_towardzero_test_data): Likewise.
65922 (sinh_downward_test_data): Likewise.
65923 (sinh_upward_test_data): Likewise.
65924 (sqrt_test_data): Likewise.
65925 (tan_test_data): Likewise.
65926 (tan_tonearest_test_data): Likewise.
65927 (tan_towardzero_test_data): Likewise.
65928 (tan_downward_test_data): Likewise.
65929 (tan_upward_test_data): Likewise.
65930 (tanh_test_data): Likewise.
65931 (tgamma_test_data): Likewise.
65932 (trunc_test_data): Likewise.
65933 (y0_test_data): Likewise.
65934 (y1_test_data): Likewise.
65935 (yn_test_data): Likewise.
65936 (significand_test_data): Likewise.
65937
65938 * math/gen-libm-test.pl (@functions): Remove variable.
65939 (generate_testfile): Don't handle START and END lines.
65940 * math/libm-test.inc (START): New macro.
65941 (END): Likewise.
65942 (END_COMPLEX): Likewise.
65943 (acos_test): Use END macro without arguments.
65944 (acos_test_tonearest): Likewise.
65945 (acos_test_towardzero): Likewise.
65946 (acos_test_downward): Likewise.
65947 (acos_test_upward): Likewise.
65948 (acosh_test): Likewise.
65949 (asin_test): Likewise.
65950 (asin_test_tonearest): Likewise.
65951 (asin_test_towardzero): Likewise.
65952 (asin_test_downward): Likewise.
65953 (asin_test_upward): Likewise.
65954 (asinh_test): Likewise.
65955 (atan_test): Likewise.
65956 (atanh_test): Likewise.
65957 (atan2_test): Likewise.
65958 (cabs_test): Likewise.
65959 (cacos_test): Use END_COMPLEX macro without arguments.
65960 (cacosh_test): Likewise.
65961 (carg_test): Use END macro without arguments.
65962 (casin_test): Use END_COMPLEX macro without arguments.
65963 (casinh_test): Likewise.
65964 (catan_test): Likewise.
65965 (catanh_test): Likewise.
65966 (cbrt_test): Use END macro without arguments.
65967 (ccos_test): Use END_COMPLEX macro without arguments.
65968 (ccosh_test): Likewise.
65969 (ceil_test): Use END macro without arguments.
65970 (cexp_test): Use END_COMPLEX macro without arguments.
65971 (cimag_test): Use END macro without arguments.
65972 (clog_test): Use END_COMPLEX macro without arguments.
65973 (clog10_test): Likewise.
65974 (conj_test): Likewise.
65975 (copysign_test): Use END macro without arguments.
65976 (cos_test): Likewise.
65977 (cos_test_tonearest): Likewise.
65978 (cos_test_towardzero): Likewise.
65979 (cos_test_downward): Likewise.
65980 (cos_test_upward): Likewise.
65981 (cosh_test): Likewise.
65982 (cosh_test_tonearest): Likewise.
65983 (cosh_test_towardzero): Likewise.
65984 (cosh_test_downward): Likewise.
65985 (cosh_test_upward): Likewise.
65986 (cpow_test): Use END_COMPLEX macro without arguments.
65987 (cproj_test): Likewise.
65988 (creal_test): Use END macro without arguments.
65989 (csin_test): Use END_COMPLEX macro without arguments.
65990 (csinh_test): Likewise.
65991 (csqrt_test): Likewise.
65992 (ctan_test): Likewise.
65993 (ctan_test_tonearest): Likewise.
65994 (ctan_test_towardzero): Likewise.
65995 (ctan_test_downward): Likewise.
65996 (ctan_test_upward): Likewise.
65997 (ctanh_test): Likewise.
65998 (ctanh_test_tonearest): Likewise.
65999 (ctanh_test_towardzero): Likewise.
66000 (ctanh_test_downward): Likewise.
66001 (ctanh_test_upward): Likewise.
66002 (erf_test): Use END macro without arguments.
66003 (erfc_test): Likewise.
66004 (exp_test): Likewise.
66005 (exp_test_tonearest): Likewise.
66006 (exp_test_towardzero): Likewise.
66007 (exp_test_downward): Likewise.
66008 (exp_test_upward): Likewise.
66009 (exp10_test): Likewise.
66010 (exp2_test): Likewise.
66011 (expm1_test): Likewise.
66012 (fabs_test): Likewise.
66013 (fdim_test): Likewise.
66014 (finite_test): Likewise.
66015 (floor_test): Likewise.
66016 (fma_test): Likewise.
66017 (fma_test_towardzero): Likewise.
66018 (fma_test_downward): Likewise.
66019 (fma_test_upward): Likewise.
66020 (fmax_test): Likewise.
66021 (fmin_test): Likewise.
66022 (fmod_test): Likewise.
66023 (fpclassify_test): Likewise.
66024 (frexp_test): Likewise.
66025 (gamma_test): Likewise.
66026 (hypot_test): Likewise.
66027 (ilogb_test): Likewise.
66028 (isfinite_test): Likewise.
66029 (isgreater_test): Likewise.
66030 (isgreaterequal_test): Likewise.
66031 (isinf_test): Likewise.
66032 (isless_test): Likewise.
66033 (islessequal_test): Likewise.
66034 (islessgreater_test): Likewise.
66035 (isnan_test): Likewise.
66036 (isnormal_test): Likewise.
66037 (issignaling_test): Likewise.
66038 (isunordered_test): Likewise.
66039 (j0_test): Likewise.
66040 (j1_test): Likewise.
66041 (jn_test): Likewise.
66042 (ldexp_test): Likewise.
66043 (lgamma_test): Likewise.
66044 (lrint_test): Likewise.
66045 (lrint_test_tonearest): Likewise.
66046 (lrint_test_towardzero): Likewise.
66047 (lrint_test_downward): Likewise.
66048 (lrint_test_upward): Likewise.
66049 (llrint_test): Likewise.
66050 (llrint_test_tonearest): Likewise.
66051 (llrint_test_towardzero): Likewise.
66052 (llrint_test_downward): Likewise.
66053 (llrint_test_upward): Likewise.
66054 (log_test): Likewise.
66055 (log10_test): Likewise.
66056 (log1p_test): Likewise.
66057 (log2_test): Likewise.
66058 (logb_test): Likewise.
66059 (logb_test_downward): Likewise.
66060 (lround_test): Likewise.
66061 (llround_test): Likewise.
66062 (modf_test): Likewise.
66063 (nearbyint_test): Likewise.
66064 (nextafter_test): Likewise.
66065 (nexttoward_test): Likewise.
66066 (pow_test): Likewise.
66067 (pow_test_tonearest): Likewise.
66068 (pow_test_towardzero): Likewise.
66069 (pow_test_downward): Likewise.
66070 (pow_test_upward): Likewise.
66071 (remainder_test): Likewise.
66072 (remainder_test_tonearest): Likewise.
66073 (remainder_test_towardzero): Likewise.
66074 (remainder_test_downward): Likewise.
66075 (remainder_test_upward): Likewise.
66076 (remquo_test): Likewise.
66077 (rint_test): Likewise.
66078 (rint_test_tonearest): Likewise.
66079 (rint_test_towardzero): Likewise.
66080 (rint_test_downward): Likewise.
66081 (rint_test_upward): Likewise.
66082 (round_test): Likewise.
66083 (scalb_test): Likewise.
66084 (scalbn_test): Likewise.
66085 (scalbln_test): Likewise.
66086 (signbit_test): Likewise.
66087 (sin_test): Likewise.
66088 (sin_test_tonearest): Likewise.
66089 (sin_test_towardzero): Likewise.
66090 (sin_test_downward): Likewise.
66091 (sin_test_upward): Likewise.
66092 (sincos_test): Likewise.
66093 (sinh_test): Likewise.
66094 (sinh_test_tonearest): Likewise.
66095 (sinh_test_towardzero): Likewise.
66096 (sinh_test_downward): Likewise.
66097 (sinh_test_upward): Likewise.
66098 (sqrt_test): Likewise.
66099 (tan_test): Likewise.
66100 (tan_test_tonearest): Likewise.
66101 (tan_test_towardzero): Likewise.
66102 (tan_test_downward): Likewise.
66103 (tan_test_upward): Likewise.
66104 (tanh_test): Likewise.
66105 (tgamma_test): Likewise.
66106 (trunc_test): Likewise.
66107 (y0_test): Likewise.
66108 (y1_test): Likewise.
66109 (yn_test): Likewise.
66110 (significand_test): Likewise.
66111
66112 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
66113
66114 [BZ #15381]
66115 * libio/genops.c (_IO_no_init): Initialize wide struct info.
66116
66117 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
66118
66119 [BZ #14894]
66120 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
66121 __ppc_mdoio and __ppc_mdoom.
66122 * manual/platform.texi: Document new functions __ppc_yield,
66123 __ppc_mdoio and __ppc_mdoom.
66124
66125 2013-05-22 Carlos O'Donell <carlos@redhat.com>
66126
66127 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
66128 (main): Mention "tls" pseudo-hwcap is legacy.
66129 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
66130
66131 2013-05-22 Joseph Myers <joseph@codesourcery.com>
66132
66133 * math/gen-libm-test.pl (parse_args): Output only string of
66134 arguments as text for test name, not full call or descriptions of
66135 tests for extra outputs.
66136 (generate_testfile): Do not pass function name to parse_args.
66137 Generate this_func variable from START.
66138 * math/libm-test.inc (struct test_f_f_data): Rename test_name
66139 field to arg_str.
66140 (struct test_ff_f_data): Likewise.
66141 (test_ff_f_data_nexttoward): Likewise.
66142 (struct test_fi_f_data): Likewise.
66143 (struct test_fl_f_data): Likewise.
66144 (struct test_if_f_data): Likewise.
66145 (struct test_fff_f_data): Likewise.
66146 (struct test_c_f_data): Likewise.
66147 (struct test_f_f1_data): Likewise. Remove field extra_name.
66148 (struct test_fF_f1_data): Likewise.
66149 (struct test_ffI_f1_data): Likewise.
66150 (struct test_c_c_data): Rename test_name field to arg_str.
66151 (struct test_cc_c_data): Likewise.
66152 (struct test_f_i_data): Likewise.
66153 (struct test_ff_i_data): Likewise.
66154 (struct test_f_l_data): Likewise.
66155 (struct test_f_L_data): Likewise.
66156 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
66157 and extra2_name.
66158 (COMMON_TEST_SETUP): New macro.
66159 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
66160 (COMMON_TEST_CLEANUP): Likewise.
66161 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
66162 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
66163 macros.
66164 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
66165 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
66166 macros.
66167 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
66168 (RUN_TEST_fff_f): Take argument string. Call new setup and
66169 cleanup macros.
66170 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
66171 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
66172 macros.
66173 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
66174 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
66175 macros.
66176 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66177 (RUN_TEST_fF_f1): Take argument string. Call new setup and
66178 cleanup macros.
66179 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66180 (RUN_TEST_fI_f1): Take argument string. Call new setup and
66181 cleanup macros.
66182 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66183 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
66184 cleanup macros.
66185 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66186 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
66187 macros.
66188 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
66189 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
66190 macros.
66191 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
66192 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
66193 macros.
66194 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
66195 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
66196 cleanup macros.
66197 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
66198 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
66199 cleanup macros.
66200 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
66201 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
66202 macros.
66203 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
66204 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
66205 cleanup macros.
66206 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
66207 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
66208 macros.
66209 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
66210 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
66211 macros.
66212 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
66213 (RUN_TEST_fFF_11): Take argument string. Call new setup and
66214 cleanup macros.
66215 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
66216
66217 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
66218
66219 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
66220 to _sifields.sigfault.
66221 (si_addr_lsb): Define new macro.
66222 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
66223 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66224 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
66225
66226 2013-05-03 Carlos O'Donell <carlos at redhat.com>
66227
66228 [BZ #15441]
66229 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
66230 returns -1.
66231 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
66232 null return -1.
66233 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
66234 loading the domain.
66235
66236 2013-05-22 Joseph Myers <joseph@codesourcery.com>
66237
66238 * math/gen-libm-test.pl (parse_args): Do not include expected
66239 result in test name.
66240 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
66241 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66242 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66243 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66244 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66246
66247 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
66248
66249 * benchtests/Makefile: Sort function entries.
66250
66251 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
66252 tanh, asinh, acosh, atanh.
66253 * benchtests/acos-inputs: New file.
66254 * benchtests/acosh-inputs: New file.
66255 * benchtests/asin-inputs: New file.
66256 * benchtests/asinh-inputs: New file.
66257 * benchtests/atanh-inputs: New file.
66258 * benchtests/cosh-inputs: New file.
66259 * benchtests/log-inputs: New file.
66260 * benchtests/sinh-inputs: New file.
66261 * benchtests/tanh-inputs: New file.
66262
66263 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
66264
66265 [BZ #15339]
66266 * posix/tst-getaddrinfo4.c: New test.
66267 * posix/Makefile (tests): Add it.
66268
66269 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
66270
66271 [BZ #15339]
66272 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
66273 when no services were used.
66274 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
66275 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
66276
66277 2013-05-21 Andreas Schwab <schwab@suse.de>
66278
66279 [BZ #15014]
66280 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
66281 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
66282 successful.
66283 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
66284 redundant variable declarations and reallocation of buffer when
66285 parsing as IPv6 address. Always set NSS status when called from
66286 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
66287 buffer too small. Correct computation of needed size.
66288 * nss/Makefile (tests): Add test-digits-dots.
66289 * nss/test-digits-dots.c: New test.
66290
66291 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
66292
66293 * benchtests/Makefile: Remove instructions for adding
66294 benchmark tests.
66295 * benchtests/README: New file to explain how to execute and
66296 enhance the benchmark tests.
66297
66298 2013-05-21 Andreas Schwab <schwab@suse.de>
66299
66300 [BZ #15493]
66301 * setjmp/Makefile (tests): Add tst-sigsetjmp.
66302 * setjmp/tst-sigsetjmp.c: New test.
66303
66304 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
66305
66306 * sysdeps/x86_64/memset.S (memset): New implementation.
66307 (__bzero): Likewise.
66308 (__memset_tail): New function.
66309
66310 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
66311
66312 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
66313 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
66314 __memcpy_sse2_unaligned ifunc selection.
66315 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
66316 Add memcpy-sse2-unaligned.S.
66317 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
66318 Add: __memcpy_sse2_unaligned.
66319
66320 2013-05-19 Joseph Myers <joseph@codesourcery.com>
66321
66322 [BZ #15490]
66323 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
66324 math_force_eval before restoring floating-point envrionment.
66325 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
66326 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
66327 Likewise.
66328 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
66329 <math_private.h>.
66330 (__nearbyintl): Use math_force_eval before restoring
66331 floating-point environment.
66332 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
66333
66334 * math/gen-libm-test.pl (special_functions): Remove.
66335 (parse_args): Don't handle TEST_extra. Handle functions with no
66336 return value.
66337 * math/libm-test.inc (struct test_sincos_data): Replace with
66338 struct test_fFF_11_data.
66339 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
66340 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
66341 (sincos_test_data): Change element type to struct
66342 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
66343 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
66344 RUN_TEST_LOOP_sincos.
66345 * math/README.libm-test: Don't mention special handling of
66346 individual functions.
66347 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
66348 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66349 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66350 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66351 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66353
66354 * math/gen-libm-test.pl (get_variable): Remove function.
66355 (parse_args): Don't show pointer parameters to call in test
66356 names. Use "extra output N" in test names for extra outputs
66357 rather than naming variables.
66358
66359 2013-05-18 Joseph Myers <joseph@codesourcery.com>
66360
66361 [BZ #15488]
66362 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
66363 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
66364 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
66365 double tests.
66366 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
66367 disable.
66368 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
66369 check_long_double.
66370
66371 * math/gen-libm-test.pl (@tests): Remove variable.
66372 ($count): Likewise.
66373 (new_test): Remove function.
66374 (show_exceptions): New function.
66375 (special_functions): Use show_exceptions instead of new_test.
66376 (parse_args): Likewise.
66377 (generate_testfile): Pass only function name in generated call to
66378 print_max_error or print_complex_max_error.
66379 (get_ulps): Do not handle complex tests specially.
66380 (output_test): Rename to ...
66381 (get_all_ulps_for_test): ... this. Return a string rather than
66382 printing to a file. Require ulps to be present.
66383 (output_ulps): Generate arrays rather than #defines.
66384 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
66385 (struct ulp_data): New type.
66386 (BUILD_COMPLEX_ULP): Remove macro.
66387 (compare_ulp_data): New function.
66388 (find_ulps): Likewise.
66389 (find_test_ulps): Likewise.
66390 (find_function_ulps): Likewise.
66391 (find_complex_function_ulps): Likewise.
66392 (print_max_error): Determine allowed ulps using
66393 find_function_ulps.
66394 (print_complex_max_error): Determine allowed ulps using
66395 find_complex_function_ulps.
66396 (check_float_internal): Determine max ulps using find_test_ulps.
66397 (check_float): Do not take max_ulp parameter. Update call to
66398 check_float_internal.
66399 (check_complex): Likewise.
66400 (check_int): Do not take max_ulp parameter.
66401 (check_long): Likewise.
66402 (check_bool): Likewise.
66403 (check_longlong): Likewise.
66404 (struct test_f_f_data): Remove max_ulp field.
66405 (struct test_ff_f_data): Likewise.
66406 (struct test_ff_f_data_nexttoward): Likewise.
66407 (struct test_fi_f_data): Likewise.
66408 (struct test_fl_f_data): Likewise.
66409 (struct test_if_f_data): Likewise.
66410 (struct test_fff_f_data): Likewise.
66411 (struct test_c_f_data): Likewise.
66412 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
66413 (struct test_fF_f1_data): Likewise.
66414 (struct test_ffI_f1_data): Likewise.
66415 (struct test_c_c_data): Remove max_ulp field.
66416 (struct test_cc_c_data): Likewise.
66417 (struct test_f_i_data): Likewise.
66418 (struct test_ff_i_data): Likewise.
66419 (struct test_f_l_data): Likewise.
66420 (struct test_f_L_data): Likewise.
66421 (struct test_sincos_data): Likewise.
66422 (RUN_TEST_f_f): Do not handle ulps.
66423 (RUN_TEST_LOOP_f_f): Likewise.
66424 (RUN_TEST_2_f): Likewise.
66425 (RUN_TEST_LOOP_2_f): Likewise.
66426 (RUN_TEST_fff_f): Likewise.
66427 (RUN_TEST_LOOP_fff_f): Likewise.
66428 (RUN_TEST_c_f): Likewise.
66429 (RUN_TEST_LOOP_c_f): Likewise.
66430 (RUN_TEST_f_f1): Likewise.
66431 (RUN_TEST_LOOP_f_f1): Likewise.
66432 (RUN_TEST_fF_f1): Likewise.
66433 (RUN_TEST_LOOP_fF_f1): Likewise.
66434 (RUN_TEST_fI_f1): Likewise.
66435 (RUN_TEST_LOOP_fI_f1): Likewise.
66436 (RUN_TEST_ffI_f1): Likewise.
66437 (RUN_TEST_LOOP_ffI_f1): Likewise.
66438 (RUN_TEST_c_c): Likewise.
66439 (RUN_TEST_LOOP_c_c): Likewise.
66440 (RUN_TEST_cc_c): Likewise.
66441 (RUN_TEST_LOOP_cc_c): Likewise.
66442 (RUN_TEST_f_i): Likewise.
66443 (RUN_TEST_LOOP_f_i): Likewise.
66444 (RUN_TEST_f_i_tg): Likewise.
66445 (RUN_TEST_LOOP_f_i_tg): Likewise.
66446 (RUN_TEST_ff_i_tg): Likewise.
66447 (RUN_TEST_LOOP_ff_i_tg): Likewise.
66448 (RUN_TEST_f_b): Likewise.
66449 (RUN_TEST_LOOP_f_b): Likewise.
66450 (RUN_TEST_f_b_tg): Likewise.
66451 (RUN_TEST_LOOP_f_b_tg): Likewise.
66452 (RUN_TEST_f_l): Likewise.
66453 (RUN_TEST_LOOP_f_l): Likewise.
66454 (RUN_TEST_f_L): Likewise.
66455 (RUN_TEST_LOOP_f_L): Likewise.
66456 (RUN_TEST_sincos): Likewise.
66457 (RUN_TEST_LOOP_sincos): Likewise.
66458
66459 2013-05-17 Joseph Myers <joseph@codesourcery.com>
66460
66461 [BZ #15480]
66462 [BZ #15485]
66463 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
66464 main case of finite arguments, set rounding mode to FE_TONEAREST
66465 and discard exceptions.
66466 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
66467 exceptions.
66468 (remainder_tonearest_test_data): New variable.
66469 (remainder_test_tonearest): New function.
66470 (remainder_towardzero_test_data): New variable.
66471 (remainder_test_towardzero): New function.
66472 (remainder_downward_test_data): New variable.
66473 (remainder_test_downward): New function.
66474 (remainder_upward_test_data): New variable.
66475 (remainder_test_upward): New function.
66476 (main): Call the new test functions.
66477
66478 * math/libm-test.inc (struct test_f_f1_data): Remove field
66479 extra_init.
66480 (struct test_fF_f1_data): Likewise.
66481 (struct test_ffI_f1_data): Likewise.
66482 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
66483 based on value of EXTRA_EXPECTED.
66484 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66485 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
66486 EXTRA_VAR based on value of EXTRA_EXPECTED.
66487 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66488 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
66489 EXTRA_VAR based on value of EXTRA_EXPECTED.
66490 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66491 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
66492 EXTRA_VAR based on value of EXTRA_EXPECTED.
66493 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66494 * math/gen-libm-test.pl (parse_args): Don't output initializers
66495 for extra output values.
66496
66497 * math/libm-test.inc (check_int): Expect result to be exactly
66498 equal to expected value and do not handle ulps.
66499 (check_long): Likewise.
66500 (check_longlong): Likewise.
66501
66502 * math/libm-test.inc (ceil_test_data): Test for "inexact"
66503 exceptions.
66504 (cimag_test_data): Likewise.
66505 (conj_test_data): Likewise.
66506 (copysign_test_data): Likewise.
66507 (cproj_test_data): Likewise.
66508 (creal_test_data): Likewise.
66509 (fabs_test_data): Likewise.
66510 (fdim_test_data): Likewise.
66511 (finite_test_data): Likewise.
66512 (floor_test_data): Likewise.
66513 (fmax_test_data): Likewise.
66514 (fmin_test_data): Likewise.
66515 (fmod_test_data): Likewise.
66516 (fpclassify_test_data): Likewise.
66517 (frexp_test_data): Likewise.
66518 (ilogb_test_data): Likewise.
66519 (isfinite_test_data): Likewise.
66520 (isgreater_test_data): Likewise.
66521 (isgreaterequal_test_data): Likewise.
66522 (isinf_test_data): Likewise.
66523 (isless_test_data): Likewise.
66524 (islessequal_test_data): Likewise.
66525 (islessgreater_test_data): Likewise.
66526 (isnan_test_data): Likewise.
66527 (isnormal_test_data): Likewise.
66528 (issignaling_test_data): Likewise.
66529 (isunordered_test_data): Likewise.
66530 (ldexp_test_data): Likewise.
66531 (lrint_test_data): Likewise.
66532 (lrint_test_data) [TEST_FLOAT]: Disable one test.
66533 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
66534 (lrint_tonearest_test_data): Test for "inexact" exceptions.
66535 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66536 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
66537 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66538 test input.
66539 (lrint_towardzero_test_data): Test for "inexact" exceptions.
66540 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66541 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
66542 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
66543 that test input.
66544 (lrint_downward_test_data): Test for "inexact" exceptions.
66545 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66546 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
66547 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66548 test input.
66549 (lrint_upward_test_data): Test for "inexact" exceptions.
66550 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
66551 test input.
66552 (llrint_test_data): Test for "inexact" exceptions.
66553 (llrint_test_data) [TEST_FLOAT]: Disable one test.
66554 (llrint_tonearest_test_data): Test for "inexact" exceptions.
66555 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66556 (llrint_towardzero_test_data): Test for "inexact" exceptions.
66557 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66558 (llrint_downward_test_data): Test for "inexact" exceptions.
66559 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66560 (llrint_upward_test_data): Test for "inexact" exceptions.
66561 (logb_test_data): Likewise.
66562 (logb_downward_test_data): Likewise.
66563 (nextafter_test_data): Likewise.
66564 (nexttoward_test_data): Likewise.
66565 (remainder_test_data): Likewise.
66566 (remquo_test_data): Likewise.
66567 (scalbn_test_data): Likewise.
66568 (scalbln_test_data): Likewise.
66569 (signbit_test_data): Likewise.
66570 (sqrt_test_data): Likewise.
66571 (significand_test_data): Likewise.
66572
66573 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
66574
66575 [BZ #15424]
66576 * benchtests/bench-modf.c (struct args): Mark arg0 as
66577 volatile.
66578 * scripts/bench.pl: Mark members of struct args as volatile.
66579
66580 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66581
66582 [BZ # 15497]
66583 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
66584 negative infinity on POWER6 or lower.
66585 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
66586
66587 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
66588
66589 [BZ #15442]
66590 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
66591 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
66592 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
66593 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
66594 (_FP_SETQNAN): New macro.
66595 (_FP_SETQNAN_SEMIRAW): Likewise.
66596 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
66597 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
66598 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
66599 (FP_EXTEND): Use _FP_FRAC_SNANP.
66600 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
66601 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
66602 into account.
66603 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66604 New macro.
66605 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66606 Likewise.
66607
66608 2013-05-16 Joseph Myers <joseph@codesourcery.com>
66609
66610 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
66611 with DIVIDE_BY_ZERO_EXCEPTION.
66612 (gamma_test_data): Likewise.
66613 (lgamma_test_data): Likewise.
66614 (log_test_data): Likewise.
66615 (log10_test_data): Likewise.
66616 (log2_test_data): Likewise.
66617 (tgamma_test_data): Likewise.
66618
66619 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
66620 (acos_test_tonearest): Likewise.
66621 (acos_test_towardzero): Likewise.
66622 (acos_test_downward): Likewise.
66623 (acos_test_upward): Likewise.
66624 (acosh_test): Likewise.
66625 (asin_test): Likewise.
66626 (asin_test_tonearest): Likewise.
66627 (asin_test_towardzero): Likewise.
66628 (asin_test_downward): Likewise.
66629 (asin_test_upward): Likewise.
66630 (asinh_test): Likewise.
66631 (atan_test): Likewise.
66632 (atanh_test): Likewise.
66633 (atan2_test): Likewise.
66634 (cabs_test): Likewise.
66635 (cacos_test): Likewise.
66636 (cacosh_test): Likewise.
66637 (casin_test): Likewise.
66638 (casinh_test): Likewise.
66639 (catan_test): Likewise.
66640 (catanh_test): Likewise.
66641 (cbrt_test): Likewise.
66642 (ccos_test): Likewise.
66643 (ccosh_test): Likewise.
66644 (cexp_test): Likewise.
66645 (clog_test): Likewise.
66646 (clog10_test): Likewise.
66647 (cos_test): Likewise.
66648 (cos_test_tonearest): Likewise.
66649 (cos_test_towardzero): Likewise.
66650 (cos_test_downward): Likewise.
66651 (cos_test_upward): Likewise.
66652 (cosh_test): Likewise.
66653 (cosh_test_tonearest): Likewise.
66654 (cosh_test_towardzero): Likewise.
66655 (cosh_test_downward): Likewise.
66656 (cosh_test_upward): Likewise.
66657 (cpow_test): Likewise.
66658 (csin_test): Likewise.
66659 (csinh_test): Likewise.
66660 (csqrt_test): Likewise.
66661 (ctan_test): Likewise.
66662 (ctan_test_tonearest): Likewise.
66663 (ctan_test_towardzero): Likewise.
66664 (ctan_test_downward): Likewise.
66665 (ctan_test_upward): Likewise.
66666 (ctanh_test): Likewise.
66667 (ctanh_test_tonearest): Likewise.
66668 (ctanh_test_towardzero): Likewise.
66669 (ctanh_test_downward): Likewise.
66670 (ctanh_test_upward): Likewise.
66671 (erf_test): Likewise.
66672 (erfc_test): Likewise.
66673 (exp_test): Likewise.
66674 (exp_test_tonearest): Likewise.
66675 (exp_test_towardzero): Likewise.
66676 (exp_test_downward): Likewise.
66677 (exp_test_upward): Likewise.
66678 (exp10_test): Likewise.
66679 (exp2_test): Likewise.
66680 (expm1_test): Likewise.
66681 (fmod_test): Likewise.
66682 (gamma_test): Likewise.
66683 (hypot_test): Likewise.
66684 (j0_test): Likewise.
66685 (j1_test): Likewise.
66686 (jn_test): Likewise.
66687 (lgamma_test): Likewise.
66688 (log_test): Likewise.
66689 (log10_test): Likewise.
66690 (log1p_test): Likewise.
66691 (log2_test): Likewise.
66692 (logb_test_downward): Likewise.
66693 (pow_test): Likewise.
66694 (pow_test_tonearest): Likewise.
66695 (pow_test_towardzero): Likewise.
66696 (pow_test_downward): Likewise.
66697 (pow_test_upward): Likewise.
66698 (remainder_test): Likewise.
66699 (remquo_test): Likewise.
66700 (sin_test): Likewise.
66701 (sin_test_tonearest): Likewise.
66702 (sin_test_towardzero): Likewise.
66703 (sin_test_downward): Likewise.
66704 (sin_test_upward): Likewise.
66705 (sincos_test): Likewise.
66706 (sinh_test): Likewise.
66707 (sinh_test_tonearest): Likewise.
66708 (sinh_test_towardzero): Likewise.
66709 (sinh_test_downward): Likewise.
66710 (sinh_test_upward): Likewise.
66711 (sqrt_test): Likewise.
66712 (tan_test): Likewise.
66713 (tan_test_tonearest): Likewise.
66714 (tan_test_towardzero): Likewise.
66715 (tan_test_downward): Likewise.
66716 (tan_test_upward): Likewise.
66717 (tanh_test): Likewise.
66718 (tgamma_test): Likewise.
66719 (y0_test): Likewise.
66720 (y1_test): Likewise.
66721 (yn_test): Likewise.
66722
66723 * math/gen-libm-test.pl (adjust_arg): Remove function.
66724 (special_function): Remove argument $in_func. Only handle
66725 generating output for tables of tests, not inside functions.
66726 (parse_args): Likewise.
66727 (generate_testfile): Remove variable $in_func. Update call to
66728 parse_args.
66729 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
66730 (MINUS_ZERO_INIT): Rename macro to minus_zero.
66731 (PLUS_INFTY_INIT): Rename macro to plus_infty.
66732 (MINUS_INFTY_INIT): Rename macro to minus_infty.
66733 (QNAN_VALUE_INIT): Rename macro to qnan_value.
66734 (MAX_VALUE_INIT): Rename macro to max_value.
66735 (MIN_VALUE_INIT): Rename macro to min_value.
66736 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
66737 (plus_zero): Remove variable.
66738 (minus_zero): Likewise.
66739 (plus_infty): Likewise.
66740 (minus_infty): Likewise.
66741 (qnan_value): Likewise.
66742 (max_value): Likewise.
66743 (min_value): Likewise.
66744 (min_subnorm_value): Likewise.
66745
66746 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
66747
66748 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
66749 uint64_t or uint32_t usage.
66750 * crypt/sha256-block.c: Likewise.
66751 * crypt/sha256-crypt.c: Likewise.
66752 * crypt/sha256.c: Likewise.
66753 * crypt/sha512-block.c: Likewise.
66754 * crypt/sha512-crypt.c: Likewise.
66755 * crypt/sha512.c: Likewise.
66756 * debug/backtrace-tst.c: Likewise.
66757 * debug/pcprofiledump.c: Likewise.
66758 * elf/cache.c: Likewise.
66759 * elf/dl-cache.c: Likewise.
66760 * elf/dl-misc.c: Likewise.
66761 * elf/dl-profile.c: Likewise.
66762 * elf/dl-support.c: Likewise.
66763 * elf/ldconfig.c: Likewise.
66764 * elf/sprof.c: Likewise.
66765 * iconv/dummy-repertoire.c: Likewise.
66766 * iconv/iconv_charmap.c: Likewise.
66767 * iconv/skeleton.c: Likewise.
66768 * iconvdata/8bit-generic.c: Likewise.
66769 * iconvdata/cp737.h: Likewise.
66770 * iconvdata/cp775.h: Likewise.
66771 * iconvdata/ibm1008.h: Likewise.
66772 * iconvdata/ibm1025.h: Likewise.
66773 * iconvdata/ibm1046.h: Likewise.
66774 * iconvdata/ibm1097.h: Likewise.
66775 * iconvdata/ibm1112.h: Likewise.
66776 * iconvdata/ibm1122.h: Likewise.
66777 * iconvdata/ibm1123.h: Likewise.
66778 * iconvdata/ibm1124.h: Likewise.
66779 * iconvdata/ibm1129.h: Likewise.
66780 * iconvdata/ibm1130.h: Likewise.
66781 * iconvdata/ibm1132.h: Likewise.
66782 * iconvdata/ibm1133.h: Likewise.
66783 * iconvdata/ibm1137.h: Likewise.
66784 * iconvdata/ibm1140.h: Likewise.
66785 * iconvdata/ibm1141.h: Likewise.
66786 * iconvdata/ibm1142.h: Likewise.
66787 * iconvdata/ibm1143.h: Likewise.
66788 * iconvdata/ibm1144.h: Likewise.
66789 * iconvdata/ibm1145.h: Likewise.
66790 * iconvdata/ibm1146.h: Likewise.
66791 * iconvdata/ibm1147.h: Likewise.
66792 * iconvdata/ibm1148.h: Likewise.
66793 * iconvdata/ibm1149.h: Likewise.
66794 * iconvdata/ibm1153.h: Likewise.
66795 * iconvdata/ibm1154.h: Likewise.
66796 * iconvdata/ibm1155.h: Likewise.
66797 * iconvdata/ibm1156.h: Likewise.
66798 * iconvdata/ibm1157.h: Likewise.
66799 * iconvdata/ibm1158.h: Likewise.
66800 * iconvdata/ibm1160.h: Likewise.
66801 * iconvdata/ibm1161.h: Likewise.
66802 * iconvdata/ibm1162.h: Likewise.
66803 * iconvdata/ibm1163.h: Likewise.
66804 * iconvdata/ibm1164.h: Likewise.
66805 * iconvdata/ibm1166.h: Likewise.
66806 * iconvdata/ibm1167.h: Likewise.
66807 * iconvdata/ibm12712.h: Likewise.
66808 * iconvdata/ibm1390.h: Likewise.
66809 * iconvdata/ibm1399.h: Likewise.
66810 * iconvdata/ibm16804.h: Likewise.
66811 * iconvdata/ibm4517.h: Likewise.
66812 * iconvdata/ibm4899.h: Likewise.
66813 * iconvdata/ibm4909.h: Likewise.
66814 * iconvdata/ibm4971.h: Likewise.
66815 * iconvdata/ibm5347.h: Likewise.
66816 * iconvdata/ibm803.h: Likewise.
66817 * iconvdata/ibm856.h: Likewise.
66818 * iconvdata/ibm901.h: Likewise.
66819 * iconvdata/ibm902.h: Likewise.
66820 * iconvdata/ibm9030.h: Likewise.
66821 * iconvdata/ibm9066.h: Likewise.
66822 * iconvdata/ibm921.h: Likewise.
66823 * iconvdata/ibm922.h: Likewise.
66824 * iconvdata/ibm9448.h: Likewise.
66825 * iconvdata/isiri-3342.h: Likewise.
66826 * iconvdata/jis0201.h: Likewise.
66827 * include/link.h: Likewise.
66828 * include/netdb.h: Likewise.
66829 * inet/check_native.c: Likewise.
66830 * inet/check_pf.c: Likewise.
66831 * inet/getipv4sourcefilter.c: Likewise.
66832 * inet/getnameinfo.c: Likewise.
66833 * inet/getsourcefilter.c: Likewise.
66834 * inet/htonl.c: Likewise.
66835 * inet/setipv4sourcefilter.c: Likewise.
66836 * inet/setsourcefilter.c: Likewise.
66837 * inet/test-inet6_opt.c: Likewise.
66838 * inet/tst-network.c: Likewise.
66839 * locale/C-collate.c: Likewise.
66840 * locale/C-ctype.c: Likewise.
66841 * locale/C-time.c: Likewise.
66842 * locale/C-translit.h: Likewise.
66843 * locale/loadarchive.c: Likewise.
66844 * locale/programs/3level.h: Likewise.
66845 * locale/programs/charmap.c: Likewise.
66846 * locale/programs/charmap.h: Likewise.
66847 * locale/programs/ld-address.c: Likewise.
66848 * locale/programs/ld-collate.c: Likewise.
66849 * locale/programs/ld-ctype.c: Likewise.
66850 * locale/programs/ld-identification.c: Likewise.
66851 * locale/programs/ld-measurement.c: Likewise.
66852 * locale/programs/ld-messages.c: Likewise.
66853 * locale/programs/ld-monetary.c: Likewise.
66854 * locale/programs/ld-name.c: Likewise.
66855 * locale/programs/ld-numeric.c: Likewise.
66856 * locale/programs/ld-paper.c: Likewise.
66857 * locale/programs/ld-telephone.c: Likewise.
66858 * locale/programs/ld-time.c: Likewise.
66859 * locale/programs/linereader.c: Likewise.
66860 * locale/programs/locale.c: Likewise.
66861 * locale/programs/locarchive.c: Likewise.
66862 * locale/programs/locfile.h: Likewise.
66863 * locale/programs/repertoire.c: Likewise.
66864 * locale/programs/simple-hash.c: Likewise.
66865 * locale/programs/simple-hash.h: Likewise.
66866 * malloc/memusage.c: Likewise.
66867 * malloc/memusagestat.c: Likewise.
66868 * nis/nis_defaults.c: Likewise.
66869 * nis/nis_hash.c: Likewise.
66870 * nis/nis_print.c: Likewise.
66871 * nis/nis_xdr.c: Likewise.
66872 * nscd/connections.c: Likewise.
66873 * nscd/hstcache.c: Likewise.
66874 * nscd/nscd_gethst_r.c: Likewise.
66875 * nscd/nscd_getserv_r.c: Likewise.
66876 * nscd/nscd_helper.c: Likewise.
66877 * nscd/servicescache.c: Likewise.
66878 * nss/makedb.c: Likewise.
66879 * nss/nss_db/db-XXX.c: Likewise.
66880 * nss/nss_db/db-initgroups.c: Likewise.
66881 * nss/nss_db/db-netgrp.c: Likewise.
66882 * nss/nss_files/files-network.c: Likewise.
66883 * nss/nss_files/files-parse.c: Likewise.
66884 * posix/bug-regex5.c: Likewise.
66885 * posix/fnmatch_loop.c: Likewise.
66886 * posix/regcomp.c: Likewise.
66887 * posix/regexec.c: Likewise.
66888 * posix/tst-rfc3484-2.c: Likewise.
66889 * posix/tst-rfc3484-3.c: Likewise.
66890 * posix/tst-rfc3484.c: Likewise.
66891 * resolv/nss_dns/dns-canon.c: Likewise.
66892 * resolv/nss_dns/dns-network.c: Likewise.
66893 * resolv/res_init.c: Likewise.
66894 * resolv/res_mkquery.c: Likewise.
66895 * resolv/tst-aton.c: Likewise.
66896 * stdlib/cxa_atexit.c: Likewise.
66897 * stdlib/cxa_finalize.c: Likewise.
66898 * stdlib/gen-fpioconst.c: Likewise.
66899 * stdlib/strtol_l.c: Likewise.
66900 * string/tst-endian.c: Likewise.
66901 * sunrpc/auth_des.c: Likewise.
66902 * sunrpc/clnt_udp.c: Likewise.
66903 * sunrpc/rtime.c: Likewise.
66904 * sunrpc/svcauth_des.c: Likewise.
66905 * sunrpc/xdr.c: Likewise.
66906 * sunrpc/xdr_intXX_t.c: Likewise.
66907 * sunrpc/xdr_rec.c: Likewise.
66908 * sysdeps/generic/ldconfig.h: Likewise.
66909 * sysdeps/generic/ldsodefs.h: Likewise.
66910 * sysdeps/generic/memusage.h: Likewise.
66911 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
66912 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
66913 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
66914 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
66915 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66916 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
66917 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
66918 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
66919 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66920 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
66921 * sysdeps/posix/getaddrinfo.c: Likewise.
66922 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66923 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66924 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
66925 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
66926 * sysdeps/powerpc/test-gettimebase.c: Likewise.
66927 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
66928 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
66929 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
66930 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
66931 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
66932 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
66933 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
66934 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
66935 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
66936 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
66937 * sysdeps/x86_64/dl-tls.h: Likewise.
66938 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
66939 * time/alt_digit.c: Likewise.
66940 * time/era.c: Likewise.
66941 * wcsmbs/tst-c16c32-1.c: Likewise.
66942
66943 2013-05-16 Joseph Myers <joseph@codesourcery.com>
66944
66945 * math/libm-test.inc (struct test_sincos_data): New type.
66946 (RUN_TEST_LOOP_sincos): New macro.
66947 (sincos_test_data): New variable.
66948 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
66949
66950 2013-05-16 Richard Henderson <rth@redhat.com>
66951
66952 * math/atest-exp2.c (LIMB64): New macro.
66953 (CONSTSZ): New macro.
66954 (mp_exp1, mp_exp_m1, mp_log2): New variables.
66955 (hexdig): Move ...
66956 (print_mpn_fp): ... to function scope.
66957 (read_mpn_hex): Remove.
66958 (get_log2): Remove.
66959 (exp2_mpn): Use mp_log2.
66960 (main): Use mp_exp1.
66961
66962 2013-05-16 Joseph Myers <joseph@codesourcery.com>
66963
66964 * math/libm-test.inc: Remove comment about not testing "inexact"
66965 exceptions.
66966 (INEXACT_EXCEPTION): New macro.
66967 (NO_INEXACT_EXCEPTION): Likewise.
66968 (INVALID_EXCEPTION_OK): Update value.
66969 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66970 (OVERFLOW_EXCEPTION_OK): Likewise.
66971 (UNDERFLOW_EXCEPTION_OK): Likewise.
66972 (IGNORE_ZERO_INF_SIGN): Likewise.
66973 (ERRNO_UNCHANGED): Likewise.
66974 (ERRNO_EDOM): Likewise.
66975 (ERRNO_ERANGE): Likewise.
66976 (test_exceptions): Handle testing "inexact" exceptions.
66977 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
66978 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
66979 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
66980 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
66981 INEXACT_EXCEPTION.
66982 (rint_towardzero_test_data): Likewise.
66983 (rint_downward_test_data): Likewise.
66984 (rint_upward_test_data): Likewise.
66985
66986 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
66987 with OVERFLOW_EXCEPTION.
66988 (exp10_test_data): Likewise.
66989 (exp2_test_data): Likewise.
66990 (expm1_test_data): Likewise.
66991 (lgamma_test_data): Likewise.
66992 (pow_test_data): Likewise.
66993 (tgamma_test_data): Likewise.
66994 (yn_test_data): Remove duplicate test of overflow.
66995
66996 * math/libm-test.inc (struct test_cc_c_data): New type.
66997 (RUN_TEST_LOOP_cc_c): New macro.
66998 (cpow_test_data): New variable.
66999 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
67000
67001 * math/libm-test.inc (struct test_f_L_data): New type.
67002 (RUN_TEST_LOOP_f_L): New macro.
67003 (llrint_test_data): New variable.
67004 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
67005 (llrint_tonearest_test_data): New variable.
67006 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
67007 (llrint_towardzero_test_data): New variable.
67008 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
67009 (llrint_downward_test_data): New variable.
67010 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
67011 (llrint_upward_test_data): New variable.
67012 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
67013 (llround_test_data): New variable.
67014 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
67015
67016 2013-05-13 Peter Collingbourne <pcc@google.com>
67017
67018 * math/atest-exp2.c (get_log2): Remove const attribute.
67019
67020 2013-05-15 Joseph Myers <joseph@codesourcery.com>
67021
67022 * math/libm-test.inc (struct test_f_l_data): New type.
67023 (RUN_TEST_LOOP_f_l): New macro.
67024 (lrint_test_data): New variable.
67025 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
67026 (lrint_tonearest_test_data): New variable.
67027 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
67028 (lrint_towardzero_test_data): New variable.
67029 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
67030 (lrint_downward_test_data): New variable.
67031 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
67032 (lrint_upward_test_data): New variable.
67033 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
67034 (lround_test_data): New variable.
67035 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
67036
67037 2013-05-15 Peter Collingbourne <pcc@google.com>
67038
67039 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
67040 (EXTRACT_WORDS64) Use where appropriate.
67041 (INSERT_WORDS64) Likewise.
67042
67043 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
67044 constraints with x constraints.
67045 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
67046
67047 * malloc/obstack.c (_obstack_compat): Add initializer.
67048
67049 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
67050
67051 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
67052 si_trapno and add si_addr_lsb to _sifields.sigfault.
67053 (si_trapno): Remove macro.
67054 (si_addr_lsb): Define new macro.
67055 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
67056
67057 2013-05-15 Joseph Myers <joseph@codesourcery.com>
67058
67059 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
67060 instead of TEST_f_l.
67061 (llrint_test_tonearest): Likewise.
67062 (llrint_test_towardzero): Likewise.
67063 (llrint_test_downward): Likewise.
67064 (llrint_test_upward): Likewise.
67065 (llround_test): Likewise.
67066
67067 * math/libm-test.inc (struct test_f_i_data): Add comment.
67068 (RUN_TEST_LOOP_f_b): New macro.
67069 (RUN_TEST_LOOP_f_b_tg): Likewise.
67070 (finite_test_data): New variable.
67071 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
67072 (isfinite_test_data): New variable.
67073 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67074 (isinf_test_data): New variable.
67075 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67076 (isnan_test_data): New variable.
67077 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67078 (isnormal_test_data): New variable.
67079 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67080 (issignaling_test_data): New variable.
67081 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67082 (signbit_test_data): New variable.
67083 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67084
67085 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
67086 with INVALID_EXCEPTION.
67087 (acosh_test_data): Likewise.
67088 (asin_test_data): Likewise.
67089 (atanh_test_data): Likewise.
67090 (fmod_test_data): Likewise.
67091 (log_test_data): Likewise.
67092 (log10_test_data): Likewise.
67093 (log2_test_data): Likewise.
67094 (pow_test_data): Likewise.
67095 (sqrt_test_data): Likewise.
67096 (y0_test_data): Likewise.
67097 (y1_test_data): Likewise.
67098 (yn_test_data): Likewise.
67099
67100 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
67101 function contents.
67102
67103 * math/libm-test.inc (struct test_ff_i_data): New type.
67104 (RUN_TEST_LOOP_ff_i_tg): New macro.
67105 (isgreater_test_data): New variable.
67106 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67107 (isgreaterequal_test_data): New variable.
67108 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67109 (isless_test_data): New variable.
67110 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67111 (islessequal_test_data): New variable.
67112 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67113 (islessgreater_test_data): New variable.
67114 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67115 (isunordered_test_data): New variable.
67116 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67117
67118 2013-05-14 David S. Miller <davem@davemloft.net>
67119
67120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67121
67122 2013-05-14 Joseph Myers <joseph@codesourcery.com>
67123
67124 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
67125
67126 * math/libm-test.inc (struct test_fF_f1_data): Change type of
67127 extra_test to int.
67128 (struct test_f_i_data): Change type of max_ulp to int.
67129
67130 * math/libm-test.inc (test_ffI_f1_data): New type.
67131 (RUN_TEST_LOOP_ffI_f1): New macro.
67132 (remquo_test_data): New variable.
67133 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
67134
67135 * setjmp/tst-setjmp-fp.c: New file.
67136 * setjmp/Makefile (tests): Add tst-setjmp-fp.
67137 (link-libm): New variable.
67138 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
67139
67140 * math/libm-test.inc (struct test_f_i_data): New type.
67141 (RUN_TEST_LOOP_f_i): New macro.
67142 (RUN_TEST_LOOP_f_i_tg): Likewise.
67143 (fpclassify_test_data): New variable.
67144 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
67145 (ilogb_test_data): New variable.
67146 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
67147
67148 * math/libm-test.inc (scalbln_test): Correct function name in END
67149 call.
67150
67151 * math/libm-test.inc (struct test_f_f1_data): Add comment.
67152 (RUN_TEST_LOOP_fI_f1): New macro.
67153 (frexp_test_data): New variable.
67154 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
67155
67156 * math/libm-test.inc (struct test_fF_f1_data): New type.
67157 (RUN_TEST_LOOP_fF_f1): New macro.
67158 (modf_test_data): New variable.
67159 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
67160
67161 * math/libm-test.inc (struct test_f_f1_data): New type.
67162 (RUN_TEST_LOOP_f_f1): New macro.
67163 (gamma_test_data): New variable.
67164 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67165 (lgamma_test_data): New variable.
67166 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67167
67168 2013-05-13 Carlos O'Donell <carlos@redhat.com>
67169
67170 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
67171 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
67172 (main): Comment "tls" pseudo-hwcap.
67173
67174 2013-05-13 Joseph Myers <joseph@codesourcery.com>
67175
67176 * math/libm-test.inc (struct test_fl_f_data): New type.
67177 (RUN_TEST_LOOP_fl_f): New variable.
67178 (scalbln_test_data): New variable.
67179 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
67180
67181 * math/libm-test.inc (struct test_fi_f_data): New type.
67182 (RUN_TEST_LOOP_fi_f): New macro.
67183 (ldexp_test_data): New variable.
67184 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
67185 (scalbn_test_data): New variable.
67186 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
67187
67188 * math/libm-test.inc (struct test_c_f_data): New type.
67189 (RUN_TEST_LOOP_c_f): New macro.
67190 (cabs_test_data): New variable.
67191 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
67192 (carg_test_data): New variable.
67193 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
67194 (cimag_test_data): New variable.
67195 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
67196 (creal_test_data): New variable.
67197 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
67198
67199 * math/libm-test.inc (struct test_if_f_data): New type.
67200 (RUN_TEST_LOOP_if_f): New macro.
67201 (jn_test_data): New variable.
67202 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
67203 (yn_test_data): New variable.
67204 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
67205
67206 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
67207
67208 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67209
67210 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
67211 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
67212
67213 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
67214
67215 * benchtests/Makefile (CPPFLAGS-nonlib): Add
67216 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
67217 (bench-deps): Add bench-timing.h.
67218 * benchtests-bench-skeleton.c: Include bench-timing.h.
67219 (main): Use TIMING_* macros instead of clock_gettime.
67220 * benchtests/bench-timing.h: New file.
67221
67222 [BZ #14582]
67223 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
67224 Renamed from _LIB_VERSION.
67225 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
67226
67227 2013-05-12 Joseph Myers <joseph@codesourcery.com>
67228
67229 * math/libm-test.inc (struct test_fff_f_data): New type.
67230 (RUN_TEST_LOOP_fff_f): New macro.
67231 (fma_test_data): New variable.
67232 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
67233 (fma_towardzero_test_data): New variable.
67234 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
67235 (fma_downward_test_data): New variable.
67236 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
67237 (fma_upward_test_data): New variable.
67238 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
67239
67240 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
67241 (struct test_c_c_data): New type.
67242 (RUN_TEST_LOOP_c_c): New macro.
67243 (cacos_test_data): New variable.
67244 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
67245 (cacosh_test_data): New variable.
67246 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
67247 (casin_test_data): New variable.
67248 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
67249 (casinh_test_data): New variable.
67250 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
67251 (catan_test_data): New variable.
67252 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
67253 (catanh_test_data): New variable.
67254 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
67255 (ccos_test_data): New variable.
67256 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
67257 (ccosh_test_data): New variable.
67258 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
67259 (cexp_test_data): New variable.
67260 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
67261 (clog_test_data): New variable.
67262 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
67263 (clog10_test_data): New variable.
67264 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
67265 (conj_test_data): New variable.
67266 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
67267 (cproj_test_data): New variable.
67268 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
67269 (csin_test_data): New variable.
67270 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
67271 (csinh_test_data): New variable.
67272 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
67273 (csqrt_test_data): New variable.
67274 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
67275 (ctan_test_data): New variable.
67276 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
67277 (ctan_tonearest_test_data): New variable.
67278 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67279 (ctan_towardzero_test_data): New variable.
67280 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67281 (ctan_downward_test_data): New variable.
67282 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67283 (ctan_upward_test_data): New variable.
67284 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67285 (ctanh_test_data): New variable.
67286 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
67287 (ctanh_tonearest_test_data): New variable.
67288 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67289 (ctanh_towardzero_test_data): New variable.
67290 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67291 (ctanh_downward_test_data): New variable.
67292 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67293 (ctanh_upward_test_data): New variable.
67294 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67295 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
67296 of BUILD_COMPLEX.
67297
67298 * math/libm-test.inc (struct test_ff_f_data): New type.
67299 (struct test_ff_f_data_nexttoward): Likewise.
67300 (RUN_TEST_LOOP_2_f): New macro.
67301 (RUN_TEST_LOOP_ff_f): Likewise.
67302 (atan2_test_data): New variable.
67303 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
67304 (copysign_test_data): New variable.
67305 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
67306 (fdim_test_data): New variable.
67307 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
67308 (fmax_test_data): New variable.
67309 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
67310 (fmin_test_data): New variable.
67311 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
67312 (fmod_test_data): New variable.
67313 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
67314 (hypot_test_data): New variable.
67315 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
67316 (nextafter_test_data): New variable.
67317 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
67318 (nexttoward_test_data): New variable.
67319 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
67320 (pow_test_data): New variable.
67321 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
67322 (pow_tonearest_test_data): New variable.
67323 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
67324 (pow_towardzero_test_data): New variable.
67325 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
67326 (pow_downward_test_data): New variable.
67327 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
67328 (pow_upward_test_data): New variable.
67329 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
67330 (remainder_test_data): New variable.
67331 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
67332 (scalb_test_data): New variable.
67333 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
67334 * sysdeps/i386/fpu/libm-test-ulps: Update.
67335
67336 2013-05-11 Joseph Myers <joseph@codesourcery.com>
67337
67338 * math/libm-test.inc (fma_test): Use max_value instead of local
67339 variable fltmax.
67340 (nextafter_test): Likewise.
67341
67342 * math/libm-test.inc (acos_towardzero_test_data): New variable.
67343 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67344 (acos_downward_test_data): New variable.
67345 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67346 (acos_upward_test_data): New variable.
67347 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67348 (acosh_test_data): New variable.
67349 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
67350 (asin_test_data): New variable.
67351 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
67352 (asin_tonearest_test_data): New variable.
67353 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67354 (asin_towardzero_test_data): New variable.
67355 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67356 (asin_downward_test_data): New variable.
67357 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67358 (asin_upward_test_data): New variable.
67359 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67360 (asinh_test_data): New variable.
67361 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
67362 (atan_test_data): New variable.
67363 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
67364 (atanh_test_data): New variable.
67365 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
67366 (cbrt_test_data): New variable.
67367 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
67368 (ceil_test_data): New variable.
67369 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
67370 (cos_test_data): New variable.
67371 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
67372 (cos_tonearest_test_data): New variable.
67373 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67374 (cos_towardzero_test_data): New variable.
67375 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67376 (cos_downward_test_data): New variable.
67377 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67378 (cos_upward_test_data): New variable.
67379 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67380 (cosh_test_data): New variable.
67381 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
67382 (cosh_tonearest_test_data): New variable.
67383 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67384 (cosh_towardzero_test_data): New variable.
67385 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67386 (cosh_downward_test_data): New variable.
67387 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67388 (cosh_upward_test_data): New variable.
67389 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67390 (erf_test_data): New variable.
67391 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
67392 (erfc_test_data): New variable.
67393 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
67394 (exp_test_data): New variable.
67395 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
67396 (exp_tonearest_test_data): New variable.
67397 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67398 (exp_towardzero_test_data): New variable.
67399 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67400 (exp_downward_test_data): New variable.
67401 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67402 (exp_upward_test_data): New variable.
67403 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67404 (exp10_test_data): New variable.
67405 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
67406 (exp2_test_data): New variable.
67407 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
67408 (expm1_test_data): New variable.
67409 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
67410 (fabs_test_data): New variable.
67411 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
67412 (floor_test_data): New variable.
67413 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
67414 (j0_test_data): New variable.
67415 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
67416 (j1_test_data): New variable.
67417 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
67418 (log_test_data): New variable.
67419 (log_test): Run tests with RUN_TEST_LOOP_f_f.
67420 (log10_test_data): New variable.
67421 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
67422 (log1p_test_data): New variable.
67423 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
67424 (log2_test_data): New variable.
67425 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
67426 (logb_test_data): New variable.
67427 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
67428 (logb_downward_test_data): New variable.
67429 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67430 (nearbyint_test_data): New variable.
67431 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
67432 (rint_test_data): New variable.
67433 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
67434 (rint_tonearest_test_data): New variable.
67435 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67436 (rint_towardzero_test_data): New variable.
67437 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67438 (rint_downward_test_data): New variable.
67439 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67440 (rint_upward_test_data): New variable.
67441 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67442 (round_test_data): New variable.
67443 (round_test): Run tests with RUN_TEST_LOOP_f_f.
67444 (sin_test_data): New variable.
67445 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
67446 (sin_tonearest_test_data): New variable.
67447 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67448 (sin_towardzero_test_data): New variable.
67449 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67450 (sin_downward_test_data): New variable.
67451 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67452 (sin_upward_test_data): New variable.
67453 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67454 (sinh_test_data): New variable.
67455 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
67456 (sinh_tonearest_test_data): New variable.
67457 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67458 (sinh_towardzero_test_data): New variable.
67459 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67460 (sinh_downward_test_data): New variable.
67461 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67462 (sinh_upward_test_data): New variable.
67463 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67464 (sqrt_test_data): New variable.
67465 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
67466 (tan_test_data): New variable.
67467 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
67468 (tan_tonearest_test_data): New variable.
67469 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67470 (tan_towardzero_test_data): New variable.
67471 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67472 (tan_downward_test_data): New variable.
67473 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67474 (tan_upward_test_data): New variable.
67475 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67476 (tanh_test_data): New variable.
67477 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
67478 (tgamma_test_data): New variable.
67479 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
67480 (trunc_test_data): New variable.
67481 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
67482 (y0_test_data): New variable.
67483 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
67484 (y1_test_data): New variable.
67485 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
67486 (significand_test_data): New variable.
67487 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
67488
67489 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
67490
67491 [BZ #12387]
67492 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
67493
67494 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
67495
67496 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
67497
67498 2013-05-10 Andreas Jaeger <aj@suse.de>
67499
67500 [BZ #15448]
67501 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
67502 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
67503
67504 2013-05-10 Joseph Myers <joseph@codesourcery.com>
67505
67506 * math/gen-libm-test.pl (adjust_arg): New function.
67507 (special_functions): Handle generating output in both functions
67508 and arrays.
67509 (parse_args): Likewise.
67510 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
67511 $in_func argument to parse_args.
67512 * math/libm-test.inc (struct test_f_f_data): New type.
67513 (IF_ROUND_INIT_): New macro.
67514 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
67515 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
67516 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
67517 (IF_ROUND_INIT_FE_UPWARD): Likewise.
67518 (ROUND_RESTORE_): Likewise.
67519 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
67520 (ROUND_RESTORE_FE_TONEAREST): Likewise.
67521 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
67522 (ROUND_RESTORE_FE_UPWARD): Likewise.
67523 (RUN_TEST_LOOP_f_f): New macro.
67524 (acos_test_data): New variable.
67525 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
67526 (acos_tonearest_test_data): New variable.
67527 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67528
67529 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
67530
67531 * benchtests/bench-skeleton.c (startup): Fix coding style.
67532
67533 2013-05-10 Joseph Myers <joseph@codesourcery.com>
67534
67535 [BZ #6809]
67536 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
67537 negative infinity argument.
67538 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
67539 negative infinity argument.
67540 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
67541 negative infinity argument.
67542 * math/libm-test.inc (tgamma_test): Expect errno to be set for
67543 domain errors.
67544
67545 2013-05-10 Florian Weimer <fweimer@redhat.com>
67546
67547 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
67548 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
67549 * iconv/iconv_prog.c (main): Likewise.
67550 * locale/programs/charmap-dir.c (charmap_readdir)
67551 (fopen_uncompressed): Likewise.
67552 * locale/programs/locfile.c (siblings_uncached)
67553 (write_locale_data): Use lstat64 instead of lstat.
67554 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
67555 stat.
67556
67557 2013-05-10 Andreas Jaeger <aj@suse.de>
67558
67559 [BZ #15395]
67560 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
67561 localization.
67562 Include <locale.h>.
67563
67564 2013-05-09 Carlos O'Donell <carlos@redhat.com>
67565
67566 * elf/dl-close.c (_dl_close_worker): Add comments.
67567
67568 2013-05-09 Joseph Myers <joseph@codesourcery.com>
67569
67570 [BZ #15359]
67571 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
67572 high part of pi/2.
67573 (__ieee754_rem_pio2l): Update comments.
67574
67575 [BZ #15429]
67576 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
67577 high part of pi/2.
67578 (__ieee754_rem_pio2l): Update comments.
67579
67580 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
67581 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
67582
67583 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
67584 M_PI_4l.
67585
67586 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
67587 (M_PI_34_LOG10El): Likewise.
67588 (M_PI2_LOG10El): Likewise.
67589 (M_PI4_LOG10El): Likewise.
67590 (M_PI_LOG10El): Likewise.
67591
67592 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67593
67594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67595
67596 2013-05-08 Joseph Myers <joseph@codesourcery.com>
67597
67598 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
67599 (MINUS_ZERO_INIT): Likewise.
67600 (PLUS_INFTY_INIT): Likewise.
67601 (MINUS_INFTY_INIT): Likewise.
67602 (QNAN_VALUE_INIT): Likewise.
67603 (MAX_VALUE_INIT): Likewise.
67604 (MIN_VALUE_INIT): Likewise.
67605 (MIN_SUBNORM_VALUE_INIT): Likewise.
67606 (plus_zero): Initialize with PLUS_ZERO_INIT.
67607 (minus_zero): Initialize with MINUS_ZERO_INIT.
67608 (plus_infty): Initialize with PLUS_INFTY_INIT.
67609 (minus_infty): Initialize with MINUS_INFTY_INIT.
67610 (qnan_value): Initialize with QNAN_VALUE_INIT.
67611 (max_value): Initialize with MAX_VALUE_INIT.
67612 (min_value): Initialize with MIN_VALUE_INIT.
67613 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
67614
67615 * math/libm-test.inc (RUN_TEST_if_f): New macro.
67616 (jn_test): Use TEST_if_f instead of TEST_ff_f.
67617 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
67618 (yn_test): Use TEST_if_f instead of TEST_ff_f.
67619
67620 * math/libm-test.inc (RUN_TEST_f_f): New macro.
67621 (RUN_TEST_2_f): Likewise.
67622 (RUN_TEST_ff_f): Likewise.
67623 (RUN_TEST_fi_f): Likewise.
67624 (RUN_TEST_fl_f): Likewise.
67625 (RUN_TEST_fff_f): Likewise.
67626 (RUN_TEST_c_f): Likewise.
67627 (RUN_TEST_f_f1): Likewise.
67628 (RUN_TEST_fF_f1): Likewise.
67629 (RUN_TEST_fI_f1): Likewise.
67630 (RUN_TEST_ffI_f1): Likewise.
67631 (RUN_TEST_c_c): Likewise.
67632 (RUN_TEST_cc_c): Likewise.
67633 (RUN_TEST_f_i): Likewise.
67634 (RUN_TEST_f_i_tg): Likewise.
67635 (RUN_TEST_ff_i_tg): Likewise.
67636 (RUN_TEST_f_b): Likewise.
67637 (RUN_TEST_f_b_tg): Likewise.
67638 (RUN_TEST_f_l): Likewise.
67639 (RUN_TEST_f_L): Likewise.
67640 (RUN_TEST_sincos): Likewise.
67641 * math/gen-libm-test.pl (new_test): Take new argument to indicate
67642 whether to show exceptions. Do not include ");\n" in return
67643 value.
67644 (special_functions): Output call to RUN_TEST_sincos instead of
67645 check_float calls. Update calls to new_test.
67646 (parse_args): Output call to single RUN_TEST_* macro instead of
67647 check_* calls and other assignments. Update calls to new_test.
67648
67649 [BZ #2546]
67650 [BZ #2560]
67651 [BZ #5159]
67652 [BZ #15426]
67653 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
67654 input to result for tgamma overflow.
67655 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
67656 (gamma_coeff): New variable.
67657 (NCOEFF): New macro.
67658 (gamma_positive): New function.
67659 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
67660 underflow here. Use gamma_positive instead of exp (lgamma) for
67661 other arguments.
67662 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
67663 (gamma_coeff): New variable.
67664 (NCOEFF): New macro.
67665 (gammaf_positive): New function.
67666 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
67667 underflow here. Use gamma_positive instead of exp (lgamma) for
67668 other arguments.
67669 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
67670 (gamma_coeff): New variable.
67671 (NCOEFF): New macro.
67672 (gammal_positive): New function.
67673 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
67674 underflow here. Use gamma_positive instead of exp (lgamma) for
67675 other arguments.
67676 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
67677 (gamma_coeff): New variable.
67678 (NCOEFF): New macro.
67679 (gammal_positive): New function.
67680 (__ieee754_gammal_r): Handle positive infinity, overflow and
67681 underflow here. Handle NaN the same as positive infinity. Remove
67682 check x < 0xffffffff for negative integers. Use gamma_positive
67683 instead of exp (lgamma) for other arguments.
67684 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
67685 (gamma_coeff): New variable.
67686 (NCOEFF): New macro.
67687 (gammal_positive): New function.
67688 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
67689 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
67690 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
67691 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
67692 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
67693 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
67694 * sysdeps/generic/math_private.h (__gamma_productf): New
67695 prototype.
67696 (__gamma_product): Likewise.
67697 (__gamma_productl): Likewise.
67698 * math/Makefile (libm-calls): Add gamma_product.
67699 * math/libm-test.inc (tgamma_test): Add more tests.
67700 * sysdeps/i386/fpu/libm-test-ulps: Update.
67701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67702
67703 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
67704
67705 * benchtests/bench-skeleton.c (main): Preheat CPU.
67706
67707 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
67708
67709 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
67710
67711 2013-05-07 Roland McGrath <roland@hack.frob.com>
67712
67713 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
67714 and _dl_skip_args_internal.
67715
67716 2013-05-07 Carlos O'Donell <carlos@redhat.com>
67717
67718 * manual/message.texi (Message Translation): Talk about users.
67719 Message to key mapping impacts design.
67720
67721 2013-05-06 Roland McGrath <roland@hack.frob.com>
67722
67723 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
67724
67725 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
67726
67727 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
67728 * sysdeps/wordsize-64/glob64.c: ... here.
67729
67730 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
67731 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
67732 New macros.
67733
67734 * debug/getlogin_r_chk.c: Moved to ...
67735 * login/getlogin_r_chk.c: ... here.
67736 * debug/Makefile (routines): Move getlogin_r_chk to ...
67737 * login/Makefile (routines): ... here.
67738 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
67739 * login/Versions (libc: GLIBC_2.4): ... here.
67740
67741 * io/poll.c (__poll): Renamed from poll.
67742 Add libc_hidden_def.
67743 (poll): Define as weak alias.
67744
67745 * debug/ptsname_r_chk.c: Moved to ...
67746 * login/ptsname_r_chk.c: ... here.
67747 * debug/Makefile (routines): Move ptsname_r_chk to ...
67748 * login/Makefile (routines): ... here.
67749 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
67750 * login/Versions (libc: GLIBC_2.4): ... here.
67751
67752 * posix/getlogin.c: Moved to ...
67753 * login/getlogin.c: ... here.
67754 * posix/getlogin_r.c: Moved to ...
67755 * login/getlogin_r.c: ... here.
67756 * posix/getlogin_r.c: Moved to ...
67757 * login/getlogin_r.c: ... here.
67758 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
67759 * login/Makefile (routines): ... here.
67760 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
67761 * login/Versions (libc: GLIBC_2.0): ... here.
67762
67763 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
67764 (setrlimit): Define as weak alias.
67765
67766 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
67767 Call __ names for open, ftruncate, and close.
67768 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
67769 (truncate): Define as weak alias.
67770
67771 2013-05-06 Joseph Myers <joseph@codesourcery.com>
67772
67773 * math/gen-libm-test.pl (parse_args): Initialize x before each
67774 test of frexp, modf and remquo.
67775
67776 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
67777 test signgam value.
67778
67779 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67780
67781 [BZ #15418]
67782 [BZ #15419]
67783 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
67784 internal tests.
67785 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67786
67787 2013-05-06 Roland McGrath <roland@hack.frob.com>
67788
67789 * elf/dl-writev.h: New file.
67790 * elf/dl-misc.c: Include it.
67791 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
67792 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
67793
67794 2013-05-04 Joseph Myers <joseph@codesourcery.com>
67795
67796 * math/libm-test.inc (noXFails): Remove variable.
67797 (noXPasses): Likewise.
67798 (BUILD_COMPLEX_INT): Remove macro.
67799 (print_screen): Remove xfail argument.
67800 (print_screen_max_error): Likewise.
67801 (update_stats): Likewise.
67802 (print_max_error): Likewise. Update calls to other affected
67803 functions.
67804 (print_complex_max_error): Likewise.
67805 (test_single_exception): Update calls to print_screen.
67806 (test_single_errno): Likewise.
67807 (check_float_internal): Remove xfail argument. Update calls to
67808 other affected functions.
67809 (check_float): Likewise.
67810 (check_complex): Likewise.
67811 (check_int): Likewise.
67812 (check_long): Likewise.
67813 (check_bool): Likewise.
67814 (check_longlong): Likewise.
67815 (main): Don't print noXFails and noXPasses.
67816 * math/gen-libm-test.pl (top level): Don't mention expected
67817 failure handling in comment.
67818 (new_test): Don't handle expected failures.
67819 (parse_args): Don't mention expected failure handling in comment.
67820 (generate_testfile): Don't handle expected failures.
67821 (parse_ulps): Likewise.
67822 (print_ulps_file): Likewise.
67823 (get_failure): Remove function.
67824 (output_test): Don't handle expected failures.
67825 * make/README.libm-test: Don't mention expected failure handling.
67826
67827 * math/libm-test.inc (plus_zero): Make const. Add initializer.
67828 (minus_zero): Likewise.
67829 (plus_infty): Likewise.
67830 (minus_infty): Likewise.
67831 (qnan_value): Likewise.
67832 (max_value): Likewise.
67833 (min_value): Likewise.
67834 (min_subnorm_value): Likewise.
67835 (initialize): Do not initialize those variables dynamically.
67836
67837 2013-05-03 Roland McGrath <roland@hack.frob.com>
67838
67839 * io/open.c (__open_2): Moved to ...
67840 * io/open_2.c: ... this new file.
67841 * io/open64.c (__open64_2): Moved to ...
67842 * io/open64_2.c: ... this new file.
67843 * io/openat.c (__openat_2): Moved to ...
67844 * io/openat_2.c: ... this new file.
67845 * io/openat64.c (__openat64_2): Moved to ...
67846 * io/openat64_2.c: ... this new file.
67847 * io/Makefile (routines): Add them.
67848 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
67849 * sysdeps/unix/sysv/linux/open_2.c: File removed.
67850 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
67851 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
67852 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
67853 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
67854 (__openat64): Add hidden_ver.
67855 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
67856 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
67857
67858 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
67859 Separately conditionalize setting of GLRO(dl_sysinfo) so
67860 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
67861 as well, but the actual setting is only under [NEED_DL_SYSINFO].
67862
67863 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67864
67865 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
67866 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
67867 definition.
67868 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
67869 * sysdeps/unix/sysv/linux/powerpc/init-first.c
67870 (_libc_vdso_platform_setup): Add __vdso_time initialization.
67871 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
67872 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
67873
67874 2013-05-03 Joseph Myers <joseph@codesourcery.com>
67875
67876 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
67877 test signgam value.
67878
67879 * math/libm-test.inc (hypot_test): Do not use
67880 IGNORE_ZERO_INF_SIGN.
67881
67882 2013-05-03 Andreas Jaeger <aj@suse.de>
67883
67884 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
67885 Linux 3.9.
67886 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
67887 (PF_MAX): Adjust for VSOCK change.
67888
67889 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67890
67891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67892
67893 2013-05-02 Carlos O'Donell <carlos@redhat.com>
67894
67895 [BZ #15264]
67896 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
67897 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
67898 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
67899
67900 2013-05-02 David S. Miller <davem@davemloft.net>
67901
67902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67903
67904 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
67905
67906 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
67907
67908 2013-05-01 Roland McGrath <roland@hack.frob.com>
67909
67910 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
67911
67912 2013-05-01 Richard Smith <richard@metafoo.co.uk>
67913
67914 [BZ #14952]
67915 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
67916 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
67917 Use __attribute__ ((__gnu_inline__)).
67918 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
67919 Don't use __attribute__ ((__gnu_inline__)).
67920
67921 2013-05-01 Joseph Myers <joseph@codesourcery.com>
67922
67923 [BZ #15423]
67924 * math/s_catan.c (__catan): Handle small real or imaginary part of
67925 input specially to avoid spurious underflow.
67926 * math/s_catanf.c (__catanf): Likewise.
67927 * math/s_catanh.c (__catanh): Likewise.
67928 * math/s_catanhf.c (__catanhf): Likewise.
67929 * math/s_catanhl.c (__catanhl): Likewise.
67930 * math/s_catanl.c (__catanl): Likewise.
67931 * math/libm-test.inc (catan_test): Add more tests.
67932 (catanh_test): Likewise.
67933 * sysdeps/i386/fpu/libm-test-ulps: Update.
67934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67935
67936 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67937
67938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67939
67940 2013-04-30 Joseph Myers <joseph@codesourcery.com>
67941
67942 [BZ #15416]
67943 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
67944 accurately for denominator in atan2.
67945 * math/s_catanf.c (__catanf): Likewise.
67946 * math/s_catanh.c (__catanh): Likewise.
67947 * math/s_catanhf.c (__catanhf): Likewise.
67948 * math/s_catanhl.c (__catanhl): Likewise.
67949 * math/s_catanl.c (__catanl): Likewise.
67950 * math/libm-test.inc (catan_test): Add more tests.
67951 (catanh_test): Likewise.
67952 * sysdeps/i386/fpu/libm-test-ulps: Update.
67953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67954
67955 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
67956
67957 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
67958
67959 * benchtests/Makefile (bench): Remove slow benchmarks.
67960 * benchtests/atan-inputs: Add slow benchmark inputs.
67961 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
67962 (BENCH_FUNC): Accept variant offset.
67963 (VARIANT): Define.
67964 * benchtests/bench-skeleton.c (main): Run benchmark for each
67965 variant.
67966 * benchtests/cos-inputs: Add slow benchmark inputs.
67967 * benchtests/exp-inputs: Likewise.
67968 * benchtests/pow-inputs: Likewise.
67969 * benchtests/sin-inputs: Likewise.
67970 * benchtests/slowatan-inputs: Remove.
67971 * benchtests/slowatan.c: Remove.
67972 * benchtests/slowcos-inputs: Remove.
67973 * benchtests/slowcos.c: Remove.
67974 * benchtests/slowexp-inputs: Remove.
67975 * benchtests/slowexp.c: Remove.
67976 * benchtests/slowpow-inputs: Remove.
67977 * benchtests/slowpow.c: Remove.
67978 * benchtests/slowsin-inputs: Remove.
67979 * benchtests/slowsin.c: Remove.
67980 * benchtests/slowtan-inputs: Remove.
67981 * benchtests/slowtan.c: Remove.
67982 * benchtests/tan-inputs: Add slow benchmark inputs.
67983 * scripts/bench.pl: Parse comments and directives.
67984
67985 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
67986 in CPPFLAGS.
67987 ($(objpfx)bench-%.c): Remove *-ITER.
67988 * benchtests/bench-modf.c: Remove definition of ITER.
67989 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
67990 (main): Loop for DURATION seconds instead of fixed number of
67991 iterations.
67992 * scripts/bench.pl: Don't expect iterations in parameters.
67993
67994 2013-04-29 Roland McGrath <roland@hack.frob.com>
67995
67996 * io/fchdir.c (__fchdir): Renamed from fchdir.
67997 (fchdir): Define as weak alias.
67998
67999 2013-04-29 Joseph Myers <joseph@codesourcery.com>
68000
68001 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
68002 (ERRNO_EDOM): Likewise.
68003 (ERRNO_ERANGE): Likewise.
68004 (noErrnoTests): New variable.
68005 (init_max_error): Set errno to 0.
68006 (test_single_errno): New function.
68007 (test_errno): Likewise.
68008 (check_float_internal): Call test_errno. Set errno to 0.
68009 (check_complex): Refer to errno tests in comment.
68010 (check_int): Call test_errno. Set errno to 0.
68011 (check_long): Likewise.
68012 (check_bool): Likewise.
68013 (check_longlong): Likewise.
68014 (cos_test): Use ERRNO_* flags for errno tests instead of
68015 check_int.
68016 (expm1_test): Likewise.
68017 (fmod_test): Likewise.
68018 (ilogb_test): Likewise.
68019 (lgamma_test): Likewise.
68020 (pow_test): Likewise.
68021 (remainder_test): Likewise.
68022 (sin_test): Likewise.
68023 (tan_test): Likewise.
68024 (yn_test): Likewise.
68025 (initialize): Set errno to 0.
68026 (main): Print number of errno tests.
68027 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
68028
68029 2013-04-29 Andreas Jaeger <aj@suse.de>
68030
68031 [BZ #15084]
68032 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
68033 and RES_USEVC.
68034
68035 [BZ #15085]
68036 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
68037 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
68038 unimplemented.
68039
68040 [BZ #15380]
68041 * stdlib/random.c (__initstate): Return NULL if
68042 __initstate fails.
68043
68044 [BZ #15086]
68045 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
68046 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
68047 RES_SNGLKUPREOP.
68048
68049 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68050
68051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68052
68053 2013-04-29 Joseph Myers <joseph@codesourcery.com>
68054
68055 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
68056 of individual tests.
68057 (casin_test): Likewise.
68058 (casinh_test): Likewise.
68059
68060 2013-04-27 Joseph Myers <joseph@codesourcery.com>
68061
68062 [BZ #15409]
68063 * math/s_catan.c (__catan): Handle arguments with large real or
68064 imaginary part separately without squaring.
68065 * math/s_catanf.c (__catanf): Likewise.
68066 * math/s_catanh.c (__catanh): Likewise.
68067 * math/s_catanhf.c (__catanhf): Likewise.
68068 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68069 and redefine.
68070 (__catanhl): Handle arguments with large real or imaginary part
68071 separately without squaring.
68072 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68073 and redefine.
68074 (__catanl): Handle arguments with large real or imaginary part
68075 separately without squaring.
68076 * math/libm-test.inc (catan_test): Add more tests.
68077 (catanh_test): Likewise.
68078 * sysdeps/i386/fpu/libm-test-ulps: Update.
68079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68080
68081 2013-04-27 Andreas Jaeger <aj@suse.de>
68082
68083 [BZ #15007]
68084 * stdlib/stdlib.h: Update guards for qecvt.
68085 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
68086 <stdlib.h>.
68087
68088 2013-04-27 Allan McRae <allan@archlinux.org>
68089
68090 * sysdeps/i386/fpu/libm-test-ulps: Update.
68091
68092 2013-04-26 Joseph Myers <joseph@codesourcery.com>
68093
68094 [BZ #15406]
68095 * math/s_catan.c: Include <float.h>.
68096 (__catan): Ensure underflow exception occurs for underflowed
68097 result.
68098 * math/s_catanf.c: Include <float.h>.
68099 (__catanf): Ensure underflow exception occurs for underflowed
68100 result.
68101 * math/s_catanh.c: Include <float.h>.
68102 (__catanh): Ensure underflow exception occurs for underflowed
68103 result.
68104 * math/s_catanhf.c: Include <float.h>.
68105 (__catanhf): Ensure underflow exception occurs for underflowed
68106 result.
68107 * math/s_catanhl.c: Include <float.h>.
68108 (__catanhl): Ensure underflow exception occurs for underflowed
68109 result.
68110 * math/s_catanl.c: Include <float.h>.
68111 (__catanl): Ensure underflow exception occurs for underflowed
68112 result.
68113 * math/libm-test.inc (catan_test): Add more tests.
68114 (catanh_test): Likewise.
68115
68116 [BZ #15405]
68117 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
68118 underflowed result.
68119 * math/s_ccoshf.c (__ccoshf): Likewise.
68120 * math/s_ccoshl.c (__ccoshl): Likewise.
68121 * math/s_csin.c (__csin): Likewise.
68122 * math/s_csinf.c (__csinf): Likewise.
68123 * math/s_csinh.c (__csinh): Likewise.
68124 * math/s_csinhf.c (__csinhf): Likewise.
68125 * math/s_csinhl.c (__csinhl): Likewise.
68126 * math/s_csinl.c (__csinl): Likewise.
68127 * math/libm-test.inc (ccos_test): Add more tests.
68128 (ccosh_test): Likewise.
68129 (csin_test): Likewise.
68130 (csinh_test): Likewise.
68131
68132 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68133
68134 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
68135 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
68136 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
68137 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
68138 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
68139 powerpc/power5+/fpu folders.
68140 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
68141
68142
68143 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
68144
68145 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68146
68147 2013-04-25 Joseph Myers <joseph@codesourcery.com>
68148
68149 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
68150 additions to variable.
68151 [$(config-machine) = x86_64] (modules-names): Likewise.
68152 ($(objpfx)tst-audit3): Remove dependency.
68153 ($(objpfx)tst-audit3.out): Likewise.
68154 ($(objpfx)tst-audit4): Likewise.
68155 ($(objpfx)tst-audit4.out): Likewise.
68156 ($(objpfx)tst-audit5): Likewise.
68157 ($(objpfx)tst-audit5.out): Likewise.
68158 ($(objpfx)tst-audit6): Likewise.
68159 ($(objpfx)tst-audit6.out): Likewise.
68160 ($(objpfx)tst-audit7): Likewise.
68161 ($(objpfx)tst-audit7.out): Likewise.
68162 (tst-audit3-ENV): Remove variable.
68163 (tst-audit4-ENV): Likewise.
68164 (tst-audit5-ENV): Likewise.
68165 (tst-audit6-ENV): Likewise.
68166 (tst-audit7-ENV): Likewise.
68167 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
68168 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
68169 addition to variable.
68170 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
68171 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
68172 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
68173 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
68174 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
68175 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
68176 tst-audit3, tst-audit4 and tst-audit5.
68177 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
68178 tst-audit6 and tst-audit7.
68179 [$(subdir) = elf] (modules-names): Add audit modules for those
68180 tests.
68181 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
68182 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
68183 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
68184 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
68185 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
68186 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
68187 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
68188 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
68189 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
68190 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
68191 [$(subdir) = elf] (tst-audit3-ENV): New variable.
68192 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
68193 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
68194 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
68195 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
68196 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
68197 Likewise.
68198 [$(subdir) = elf && $(config-cflags-avx) = yes]
68199 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
68200 [$(subdir) = elf && $(config-cflags-avx) = yes]
68201 (CFLAGS-tst-auditmod4a.c): Likewise.
68202 [$(subdir) = elf && $(config-cflags-avx) = yes]
68203 (CFLAGS-tst-auditmod4b.c): Likewise.
68204 [$(subdir) = elf && $(config-cflags-avx) = yes]
68205 (CFLAGS-tst-auditmod6b.c): Likewise.
68206 [$(subdir) = elf && $(config-cflags-avx) = yes]
68207 (CFLAGS-tst-auditmod6c.c): Likewise.
68208 [$(subdir) = elf && $(config-cflags-avx) = yes]
68209 (CFLAGS-tst-auditmod7b.c): Likewise.
68210 * elf/tst-audit3.c: Move to ...
68211 * sysdeps/x86_64/tst-audit3.c: ... here.
68212 * elf/tst-audit4.c: Move to ...
68213 * sysdeps/x86_64/tst-audit4.c: ... here.
68214 * elf/tst-audit5.c: Move to ...
68215 * sysdeps/x86_64/tst-audit5.c: ... here.
68216 * elf/tst-audit6.c: Move to ...
68217 * sysdeps/x86_64/tst-audit6.c: ... here.
68218 * elf/tst-audit7.c: Move to ...
68219 * sysdeps/x86_64/tst-audit7.c: ... here.
68220 * elf/tst-auditmod3a.c: Move to ...
68221 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
68222 * elf/tst-auditmod3b.c: Move to ...
68223 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
68224 * elf/tst-auditmod4a.c: Move to ...
68225 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
68226 * elf/tst-auditmod4b.c: Move to ...
68227 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
68228 * elf/tst-auditmod5a.c: Move to ...
68229 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
68230 * elf/tst-auditmod5b.c: Move to ...
68231 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
68232 * elf/tst-auditmod6a.c: Move to ...
68233 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
68234 * elf/tst-auditmod6b.c: Move to ...
68235 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
68236 * elf/tst-auditmod6c.c: Move to ...
68237 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
68238 * elf/tst-auditmod7a.c: Move to ...
68239 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
68240 * elf/tst-auditmod7b.c: Move to ...
68241 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
68242
68243 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
68244
68245 [BZ #15366]
68246 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
68247 define unconditionally.
68248 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
68249 define unconditionally.
68250 (INT8_C, INT16_C, etc.): Likewise.
68251
68252 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
68253
68254 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
68255 __ehdr_start with hidden visibility.
68256
68257 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
68258
68259 2013-04-24 Carlos O'Donell <carlos@redhat.com>
68260
68261 * math/libm-test.inc (cos_test): Use accurate hex constants.
68262 (sincost_test): Likewise.
68263
68264 2013-04-24 Joseph Myers <joseph@codesourcery.com>
68265
68266 * math/libm-test.inc (catan_test): Add more tests.
68267 (catanh_test): Likewise.
68268
68269 * math/s_catanf.c (__catanf): Use suffixed floating-point
68270 constants.
68271 * math/s_catanhf.c (__catanhf): Likewise.
68272 * math/s_catanhl.c (__catanhl): Likewise.
68273 * math/s_catanl.c (__catanl): Likewise.
68274
68275 [BZ #15394]
68276 * math/s_catan.c (__catan): Calculate imaginary part of result
68277 with log1p not log unless computing log of number close to 0.
68278 * math/s_catanf.c (__catanf): Likewise.
68279 * math/s_catanl.c (__catanl): Likewise.
68280 * math/s_catanh.c (__catanh): Calculate real part of result with
68281 log1p not log unless computing log of number close to 0.
68282 * math/s_catanhf.c (__catanhf): Likewise.
68283 * math/s_catanhl.c (__catanhl): Likewise.
68284 * math/libm-test.inc (catan_test): Add more tests.
68285 (catanh_test): Likewise.
68286 * sysdeps/i386/fpu/libm-test-ulps: Update.
68287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68288
68289 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
68290
68291 * benchtests/Makefile: Mention files in which fast and slow
68292 paths of math functions are implemented.
68293
68294 2013-04-23 Roland McGrath <roland@hack.frob.com>
68295
68296 * sysdeps/posix/timespec_get.c: New file.
68297
68298 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68299
68300 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
68301 POWER.
68302 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
68303 for POWER.
68304 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
68305 powerpc/power5/fpu folders.
68306 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
68307 * benchtests/Makefile: Add modf testcase.
68308 * benchtests/bench-modf.c: New file: Benchmark test for mo
68309
68310 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
68311
68312 [BZ #14888]
68313 * time/Makefile (tests): Add tst-strptime-whitespace.
68314 * time/strptime_l.c (get_number): Use ISSPACE.
68315 (__strptime_internal): Likewise.
68316 * time/tst-strptime-whitespace.c: New test case.
68317
68318 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
68319
68320 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
68321 member.
68322 (_nss_files_init): Set it here.
68323
68324 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
68325
68326 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
68327 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
68328 unsigned.
68329
68330 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
68331
68332 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
68333
68334 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
68335
68336 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
68337 size just once.
68338
68339 2013-04-21 David S. Miller <davem@davemloft.net>
68340
68341 * po/ru.po: Update Russion translation from translation project.
68342
68343 2013-04-17 Adam Conrad <adconrad@0c3.net>
68344
68345 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
68346 and setfsgid.
68347
68348 2013-04-17 Carlos O'Donell <carlos@redhat.com>
68349
68350 * configure.in: Remove i386 configure warning. Remove i386 case.
68351 * configure: Regenerate.
68352 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
68353 Add example to error message.
68354 * sysdeps/i386/configure: Regenerate.
68355
68356 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
68357
68358 * benchtests/Makefile (bench): Add cos, tan, slowcos and
68359 slowtan.
68360 * benchtests/cos-inputs: New file.
68361 * benchtests/slowcos-inputs: New file.
68362 * benchtests/slowcos.c: New file.
68363 * benchtests/slowtan-inputs: New file.
68364 * benchtests/slowtan.c: New file.
68365 * benchtests/tan-inputs: New file.
68366
68367 2013-04-16 Roland McGrath <roland@hack.frob.com>
68368
68369 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
68370 considered kosher.
68371
68372 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
68373
68374 * benchtests/Makefile: Include cppflags-iterator.mk to add
68375 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
68376
68377 * Makefile.in (bench-clean): New target.
68378 * benchtests/Makefile (bench-clean): Likewise.
68379
68380 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
68381
68382 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
68383
68384 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
68385
68386 * stdio-common/tstdiomisc.c: Fix coding-style violation.
68387
68388 2013-04-15 Andreas Schwab <schwab@suse.de>
68389
68390 * nscd/grpcache.c (cache_addgr): Properly check for short write.
68391 * nscd/initgrcache.c (addinitgroupsX): Likewise.
68392 * nscd/pwdcache.c (cache_addpw): Likewise.
68393 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
68394 more than recsize.
68395
68396 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
68397
68398 * benchtests/Makefile (bench): Write all output to
68399 bench-out.tmp together.
68400
68401 2013-04-15 Andreas Schwab <schwab@suse.de>
68402
68403 * nscd/nscd.c (main): Don't fork again after closing files.
68404
68405 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
68406
68407 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
68408
68409 * benchtests/Rules (bench-deps): Collect dependencies into a
68410 single variable. Add Makefile to dependencies.
68411 ($(objpfx)bench-%.c): Depend on bench-deps.
68412
68413 2013-04-12 Roland McGrath <roland@hack.frob.com>
68414 Xavier Roche <roche+kml2@exalead.com>
68415
68416 [BZ #15361]
68417 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
68418 just that it's a file descriptor.
68419 * manual/llio.texi (Synchronizing AIO Operations): Update description
68420 for EBADF error from aio_fsync.
68421
68422 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
68423
68424 * Rules (bench): Move target definition...
68425 * benchtests/Makefile: ... here.
68426
68427 2013-04-11 Carlos O'Donell <carlos@redhat.com>
68428
68429 * math/libm-test.inc (cos_test): Fix PI/2 test.
68430 (sincos_test): Likewise.
68431 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
68432 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
68433
68434 2013-04-11 Andreas Schwab <schwab@suse.de>
68435
68436 [BZ #13988]
68437 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
68438 accept exponent character only when digits were seen.
68439 * stdio-common/Makefile (tests): Add bug26.
68440 * stdio-common/bug26.c: New file.
68441
68442 [BZ #14293]
68443 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
68444 non-freeable.
68445
68446 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
68447
68448 * Makeconfig (rtld-prefix): Define built linker prefix.
68449 * Rules (run-bench): Use it.
68450 * math/Makefile (run-regen-ulps): Likewise.
68451
68452 * Rules (bench): Remove eval.
68453
68454 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
68455 Roland McGrath <roland@hack.frob.com>
68456 Ondrej Bilka <neleai@seznam.cz>
68457
68458 [BZ #15346]
68459 * time/getdate.c: Include ctype.h and alloca.h.
68460 (__getdate_r): Trim leading and trailing spaces of input.
68461 * time/tst-getdate.c (tests): Add tests with leading and
68462 trailing spaces.
68463
68464 2013-04-08 Roland McGrath <roland@hack.frob.com>
68465
68466 [BZ #14280]
68467 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
68468 when computing value.
68469
68470 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68471
68472 * math/README.libm-test (How can I generate "libm-test-ulps"?):
68473 Use testrun.sh to run libm tests.
68474
68475 [BZ #15309]
68476 * elf/dl-open.c (dl_open_worker): memset all of seen array.
68477
68478 2013-04-06 Marko Myllynen <myllynen@redhat.com>
68479
68480 [BZ #15264]
68481 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
68482
68483 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68484
68485 * Makefile.in (regen-ulps): New target.
68486 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
68487 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
68488 [ifneq (no,$(PERL)] (regen-ulps): New target.
68489 [ifeq (no,$(PERL)] (regen-ulps): New target.
68490 * math/libm-test.inc (ulps_file_name): Define.
68491 (output_dir): New variable.
68492 (options): Add "output-dir" option.
68493 (parse_opt): Handle 'o' case.
68494 (main): If output_dir is non-NULL use it as a prefix
68495 otherwise use "".
68496 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
68497
68498 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68499
68500 [BZ #10060, #10062]
68501 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
68502 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
68503 fail configure if __sync_val_compare_and_swap is not inlined.
68504 * sysdeps/i386/configure: Regenerate.
68505 * configure.in: Build for i686 when configured for i386.
68506 * configure: Regenerate.
68507 * README: Remove i386 reference.
68508
68509 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68510
68511 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
68512 * sysdeps/s390/s390-64/sysdep.h: Likewise.
68513
68514 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
68515
68516 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
68517 (lmsnanval): New variables.
68518 (F): Add conversion tests.
68519 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
68520 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
68521
68522 * stdio-common/tstdiomisc.c (F): Properly collect individual
68523 tests' results.
68524
68525 [BZ #14686, #15336]
68526 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
68527 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
68528 Instead, use input NaN values or generate a qNaN by arithmetic
68529 operation. Also fix bugs to comply with the standard.
68530 * math/libm-test.inc (remainder_test): Add more tests.
68531
68532 [BZ #15335, #15342]
68533 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
68534 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
68535 input NaN values or generate a qNaN by arithmetic operation.
68536
68537 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
68538 unreachable code.
68539
68540 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
68541 definitions.
68542
68543 2013-04-03 Joseph Myers <joseph@codesourcery.com>
68544
68545 [BZ #14478]
68546 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
68547 underflowed result.
68548 * math/s_cexpf.c (__cexpf): Likewise.
68549 * math/s_cexpl.c (__cexpl): Likewise.
68550 * math/libm-test.inc (cexp_test): Add more tests.
68551
68552 2013-04-03 Andreas Schwab <schwab@suse.de>
68553
68554 [BZ #15330]
68555 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
68556 order arrays from heap if bigger than alloca cutoff.
68557
68558 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
68559
68560 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
68561 (SNAN_TESTS_double): Refer to GCC PR56831.
68562 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
68563 GCC PR56828.
68564
68565 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
68566
68567 * Rules (bench): Move bench.out after the run is complete.
68568
68569 * Rules (bench): Echo currently running benchmark.
68570
68571 * benchtests/Makefile (bench): Add atan and slowatan.
68572 * benchtests/atan-inputs: New file.
68573 * benchtests/slowatan-inputs: New file.
68574 * benchtests/slowatan.c: New file.
68575
68576 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
68577 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
68578 its value.
68579
68580 [BZ #15305]
68581 * sysdeps/unix/sysv/linux/kernel-features.h
68582 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
68583 __ASSUME_XFS_RESTRICTED_CHOWN.
68584 * sysdeps/unix/sysv/linux/pathconf.c
68585 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
68586 Save and restore errno.
68587
68588 2013-04-02 Joseph Myers <joseph@codesourcery.com>
68589
68590 [BZ #15327]
68591 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
68592 arguments using __kernel_casinh.
68593 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
68594 arguments using __kernel_casinhf.
68595 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
68596 arguments using __kernel_casinhl.
68597 * math/libm-test.inc (cacosh_test): Add more tests.
68598 * sysdeps/i386/fpu/libm-test-ulps: Update.
68599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68600
68601 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
68602
68603 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
68604 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
68605
68606 * bench/Makefile (bench): Add sin and slowsin.
68607 * benchtests/sin-inputs: New file.
68608 * benchtests/slowsin-inputs: New file.
68609 * benchtests/slowsin.c: New file.
68610
68611 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
68612 (bench): Add slowexp and slowpow.
68613 (exp-ITER): Increase iterations.
68614 (pow-ITER): Likewise.
68615 * benchtests/exp-inputs: Change input.
68616 * benchtests/pow-inputs: Likewise.
68617 * benchtests/slowexp-inputs: New file.
68618 * benchtests/slowexp.c: New file.
68619 * benchtests/slowpow-inputs: New file.
68620 * benchtests/slowpow.c: New file.
68621
68622 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68623
68624 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
68625 instructions.
68626 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
68627 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
68628 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
68629 * benchtests/Makefile: Add rint benchtest.
68630 * benchtests/rint-inputs: Input for rint benchtest.
68631
68632 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
68633
68634 * Versions.def (libm): Add GLIBC_2.18.
68635 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
68636 hidden libm prototypes.
68637 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
68638 * math/Makefile (libm-calls): Add s_issignaling.
68639 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
68640 __issignalingf, __issignalingl. Adjust all libm.abilist files.
68641 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
68642 declaration.
68643 * math/math.h [__USE_GNU] (issignaling): New macro.
68644 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
68645 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
68646 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
68647 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
68648 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
68649 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
68650 * manual/arith.texi (issignaling): New section.
68651 * manual/libm-err-tab.pl (@all_functions): Update comment.
68652 * math/gen-libm-test.pl (parse_args): Apply special handling for
68653 issignaling.
68654 * math/libm-test.inc (print_float, issignaling_test): New
68655 functions.
68656 (check_float_internal): Add issignaling checks.
68657 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
68658 default definition.
68659 * sysdeps/powerpc/math-tests.h: New file.
68660 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
68661 tests.
68662 * math/test-snan.c (TEST_FUNC): Likewise.
68663
68664 2013-03-30 David S. Miller <davem@davemloft.net>
68665
68666 * po/de.po: Update from translation team.
68667
68668 2013-03-30 Joseph Myers <joseph@codesourcery.com>
68669
68670 [BZ #10357]
68671 * math/k_casinh.c (__kernel_casinh): Handle arguments with
68672 imaginary part less than 1.0 and real part less than 0.5
68673 specially.
68674 * math/k_casinhf.c (__kernel_casinhf): Likewise.
68675 * math/k_casinhl.c (__kernel_casinhl): Likewise.
68676 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
68677 (cacos_test): Add more tests.
68678 (casin_test): Likewise.
68679 (casinh_test): Likewise.
68680 * sysdeps/i386/fpu/libm-test-ulps: Update.
68681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68682
68683 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
68684
68685 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
68686 ONE with its value.
68687
68688 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
68689 (__pow_mp): Replace ONE and MONE with their values.
68690 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68691 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
68692 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68693 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
68694 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68695 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
68696
68697 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
68698
68699 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
68700 (__pow_mp): Replace ZERO and MZERO with their values.
68701 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
68702 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68703 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68704 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
68705 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68706 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
68707 (__sqr): Likewise.
68708
68709 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
68710
68711 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
68712
68713 2013-03-28 Roland McGrath <roland@hack.frob.com>
68714
68715 * include/stdlib.h [!SHARED] (__call_tls_dtors):
68716 Declare with __attribute__ ((weak)).
68717 * stdlib/exit.c (__libc_atexit) [!SHARED]:
68718 Call __call_tls_dtors only if it's not NULL.
68719
68720 2013-03-28 Roland McGrath <roland@hack.frob.com>
68721
68722 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
68723 didn't do it already, then set _dl_phdr and _dl_phnum based on the
68724 magic __ehdr_start linker symbol if it's defined.
68725 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
68726 them up here if it was already done.
68727
68728 * elf/dl-support.c (_dl_phdr): Make pointer to const.
68729 (_dl_aux_init): Use const in cast when setting it.
68730 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
68731 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
68732 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
68733
68734 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
68735 Declare them here.
68736 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
68737 * csu/libc-tls.c: Nor here.
68738 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
68739
68740 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
68741 (__libc_message): Never call vsyslog.
68742
68743 2013-03-28 Alan Modra <amodra@gmail.com>
68744
68745 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
68746 Define as empty.
68747 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
68748 Likewise.
68749
68750 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68751
68752 [BZ #15214]
68753 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
68754 underflow.
68755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68756
68757 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
68758
68759 [BZ #15304]
68760 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
68761 Don't add gid passed as argument.
68762
68763 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
68764
68765 2013-03-27 Joseph Myers <joseph@codesourcery.com>
68766
68767 [BZ #15307]
68768 * math/k_casinh.c (__kernel_casinh): Handle arguments with
68769 imaginary part between 1.0 and 1.5 and real part less than 0.5
68770 specially.
68771 * math/k_casinhf.c (__kernel_casinhf): Likewise.
68772 * math/k_casinhl.c (__kernel_casinhl): Likewise.
68773 * math/libm-test.inc (cacos_test): Add more tests.
68774 (casin_test): Likewise.
68775 (casinh_test): Likewise.
68776 * sysdeps/i386/fpu/libm-test-ulps: Update.
68777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68778
68779 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
68780
68781 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
68782 constants.
68783 (norm): Likewise.
68784 (denorm): Likewise.
68785 (__dbl_mp): Likewise.
68786 (add_magnitudes): Likewise.
68787 (sub_magnitudes): Likewise.
68788 (__add): Likewise.
68789 (__sub): Likewise.
68790 (__mul): Likewise.
68791 (__sqr): Likewise.
68792 (__inv): Likewise.
68793 (__dvd): Likewise.
68794
68795 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
68796 commented code.
68797 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
68798 (__dubcos): Likewise.
68799 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
68800 (__ieee754_acos): Likewise.
68801 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
68802 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
68803 (__exp1): Likewise.
68804 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68805 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
68806 (log1): Likewise.
68807 (my_log2): Likewise.
68808 (checkint): Likewise.
68809 * sysdeps/ieee754/dbl-64/e_remainder.c
68810 (__ieee754_remainder): Likewise.
68811 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68812 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
68813 (bsloww): Likewise.
68814 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
68815
68816 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
68817 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
68818 MANTISSA_STORE_T to store computations on mantissa. Use
68819 macros for rounding and division.
68820 (denorm): Likewise.
68821 (__dbl_mp): Likewise.
68822 (add_magnitudes): Likewise.
68823 (sub_magnitudes): Likewise.
68824 (__mul): Likewise.
68825 (__sqr): Likewise.
68826 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
68827 powers of two in terms of TWOPOW macro.
68828 (mp_no): Make type of mantissa as MANTISSA_T.
68829 [!RADIXI]: Define RADIXI.
68830 [!TWO52]: Define TWO52.
68831 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
68832
68833 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68834
68835 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
68836 llroundl symbol when building for PPC32.
68837
68838 2013-03-24 Mark H Weaver <mhw@netris.org>
68839
68840 * manual/arith.texi (Normalization Functions): Fix prototypes for
68841 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
68842
68843 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68844
68845 [BZ #13889]
68846 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
68847 high value to check if expl overflow.
68848 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
68849 to check for underflow and overflow.
68850 * math/libm-test.inc: Add exp test.
68851
68852 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
68853
68854 [BZ #11120]
68855 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
68856 with NOT_IN_libc.
68857
68858 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68859
68860 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
68861 symbol.
68862
68863 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
68864
68865 * math/gen-libm-test.pl (parse_args, special_functions): Properly
68866 wrap blocks consisting of several statements.
68867
68868 * sysdeps/generic/math-tests.h: New file.
68869 * sysdeps/i386/fpu/math-tests.h: Likewise.
68870 * math/test-snan.c: Include it.
68871 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
68872
68873 2013-03-21 Joseph Myers <joseph@codesourcery.com>
68874
68875 [BZ #15285]
68876 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
68877 (__ieee754_j0l): Do not improve calculations using cos of twice
68878 input for inputs above LDBL_MAX / 2.0L.
68879 (__ieee754_y0l): Likewise.
68880 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
68881 (__ieee754_j1l): Do not improve calculations using cos of twice
68882 input for inputs above LDBL_MAX / 2.0L.
68883 (__ieee754_y1l): Likewise.
68884 * math/libm-test.inc (j0_test): Add another test.
68885 (j1_test): Likewise.
68886 (y0_test): Likewise.
68887 (y1_test): Likewise.
68888 * sysdeps/i386/fpu/libm-test-ulps: Update.
68889
68890 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
68891
68892 * Rules ($(objpfx)bench-%.c): Include code from a C source
68893 file.
68894
68895 2013-03-21 Joseph Myers <joseph@codesourcery.com>
68896
68897 [BZ #15287]
68898 * math/k_casinh.c (__kernel_casinh): Handle arguments with
68899 imaginary part 1.0 and real part less than 0.5 specially.
68900 * math/k_casinhf.c (__kernel_casinhf): Likewise.
68901 * math/k_casinhl.c (__kernel_casinhl): Likewise.
68902 * math/libm-test.inc (cacos_test): Add more tests.
68903 (casin_test): Likewise.
68904 (casinh_test): Likewise.
68905 * sysdeps/i386/fpu/libm-test-ulps: Update.
68906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68907
68908 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
68909
68910 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
68911 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
68912
68913 2013-03-20 Joseph Myers <joseph@codesourcery.com>
68914
68915 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
68916 * config.make.in (config-cflags-sse4): Remove variable.
68917 (config-cflags-avx): Likewise.
68918 (config-cflags-sse2avx): Likewise.
68919 (config-cflags-novzeroupper): Likewise.
68920 (config-asflags-i686): Likewise.
68921 (have-mfma4): Likewise.
68922 (have-as-vis3): Likewise.
68923 (MIG): Likewise.
68924 * configure.in (MIG): Do not AC_SUBST.
68925 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
68926 (libc_cv_cc_sse4): Do not AC_SUBST.
68927 (libc_cv_cc_avx): Likewise.
68928 (libc_cv_cc_sse2avx): Likewise.
68929 (libc_cv_cc_novzeroupper): Likewise.
68930 (libc_cv_cc_fma4): Likewise.
68931 (libc_cv_as_i686): Likewise.
68932 (libc_cv_sparc_as_vis3): Likewise.
68933 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
68934 LIBC_CONFIG_VAR.
68935 (config-asflags-i686): Likewise.
68936 (config-cflags-avx): Likewise.
68937 (config-cflags-sse2avx): Likewise.
68938 (have-mfma4): Likewise.
68939 (config-cflags-novzeroupper): Likewise.
68940 * sysdeps/mach/configure.in (MIG): Likewise.
68941 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
68942 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
68943 LIBC_CONFIG_VAR.
68944 (config-cflags-avx): Likewise.
68945 (config-cflags-sse2avx): Likewise.
68946 (have-mfma4): Likewise.
68947 (config-cflags-novzeroupper): Likewise.
68948 * configure: Regenerated.
68949 * sysdeps/i386/configure: Likewise.
68950 * sysdeps/mach/configure: Likewise.
68951 * sysdeps/sparc/configure: Likewise.
68952 * sysdeps/x86_64/configure: Likewise.
68953
68954 2013-03-20 Roland McGrath <roland@hack.frob.com>
68955
68956 [BZ #14812]
68957 * locale/programs/localedef.c (options): Put N_ translation marker
68958 on argument names, not just descriptions.
68959
68960 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
68961
68962 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
68963
68964 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
68965
68966 [BZ #14176]
68967 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
68968
68969 2013-03-19 Roland McGrath <roland@hack.frob.com>
68970
68971 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
68972 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
68973 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
68974 [!BEFORE_ABORT] (before_abort): New function.
68975 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
68976 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
68977 (writev_for_fatal): New function.
68978 (WRITEV_FOR_FATAL): New macro; call that.
68979 (backtrace_and_maps): New function.
68980 (BEFORE_ABORT): New macro; call that.
68981 (struct str_list): Type removed.
68982 (__libc_message, __libc_fatal): Functions removed.
68983 Include <sysdeps/posix/libc_fatal.c> instead.
68984
68985 2013-03-19 Joseph Myers <joseph@codesourcery.com>
68986
68987 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
68988 constants.
68989 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
68990 double constants.
68991
68992 2013-03-19 Andreas Schwab <schwab@suse.de>
68993
68994 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
68995 * sysdeps/gnu/configure: Regenerate.
68996
68997 * configure.in: Substitute libc_cv_rtlddir.
68998 * configure: Regenerate.
68999 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
69000 * Makeconfig (rtlddir, inst_rtlddir): New variables.
69001 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
69002 * elf/Makefile (install-others, CFLAGS-interp.c)
69003 (ldso_install, common-ldd-rewrite): Likewise.
69004 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
69005 $(inst_slibdir)/$(rtld-installed-name).
69006 * scripts/rellns-sh: Add -p option.
69007 * Makerules (make-shlib-link): Use rellns-sh to get relative name
69008 for source.
69009
69010 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
69011
69012 * manual/nptl.texi: Renamed to ...
69013 * manual/threads.texi: ... this.
69014 * manual/Makefile (chapters): Update.
69015
69016 2013-03-18 Roland McGrath <roland@hack.frob.com>
69017
69018 [BZ #14812]
69019 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
69020 on argument names, not just descriptions.
69021 * malloc/memusagestat.c (options): Likewise.
69022 * nss/getent.c (options): Likewise.
69023
69024 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
69025
69026 [BZ #14812]
69027 * iconv/iconv_prog.c (options): Put N_ translation marker
69028 on argument names, not just descriptions.
69029 * iconv/iconvconfig.c (options): Likewise.
69030
69031 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
69032
69033 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
69034 implementation which is faster on all x86_64 architectures.
69035 Tested on AMD, Intel Nehalem, SNB, IVB.
69036 * sysdeps/x86_64/strnlen.S: Likewise.
69037
69038 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
69039 Remove all multiarch strlen and strnlen versions.
69040 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
69041 Remove strlen and strnlen related parts.
69042
69043 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
69044 Inline strlen part.
69045 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
69046
69047 * sysdeps/x86_64/multiarch/strlen.S: Remove.
69048 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
69049 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
69050 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
69051 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
69052 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
69053
69054 2013-03-17 Carlos O'Donell <carlos@redhat.com>
69055
69056 * manual/memory.texi (Malloc Tunable Parameters):
69057 Sort parameters alphabetically. Add comments for missing entries.
69058
69059 2013-03-17 David S. Miller <davem@davemloft.net>
69060
69061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69062
69063 2013-03-16 Joseph Myers <joseph@codesourcery.com>
69064
69065 [BZ #15283]
69066 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
69067 for arguments at most half maximum finite value.
69068 * math/libm-test.inc (j0_test): Add more tests.
69069 (j1_test): Likewise.
69070 (y0_test): Likewise.
69071 (y1_test): Likewise.
69072 * sysdeps/i386/fpu/libm-test-ulps: Update.
69073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69074
69075 [BZ #14155]
69076 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
69077 1 / x and functions P and Q for arguments above 0x1p256L.
69078 (__ieee754_y0l): Likewise.
69079 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
69080 (__ieee754_y1l): Likewise.
69081 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
69082 (j1_test): Likewise.
69083 (y0_test): Likewise.
69084 (y1_test): Likewise.
69085
69086 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
69087
69088 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
69089 variable.
69090
69091 2013-03-15 Roland McGrath <roland@hack.frob.com>
69092
69093 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
69094 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
69095 zero since it's initialized to EXEC_PAGESIZE.
69096
69097 * sysdeps/unix/sysv/linux/ldsodefs.h
69098 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
69099 * sysdeps/generic/ldsodefs.h: ... here.
69100
69101 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
69102
69103 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
69104
69105 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
69106 math/test-snan.c.
69107 * math/test-snan.c: Renamed from
69108 sysdeps/powerpc/fpu/test-powerpc-snan.c.
69109 * math/Makefile (tests): Add test-snan.
69110 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
69111 test-powerpc-snan.
69112
69113 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
69114 SUFFIX. Initialize qNaN_var with __builtin_nan family of
69115 functions.
69116 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
69117 __builtin_nan family of functions.
69118 * math/libm-test.inc (initialize): Initialize qnan_value with
69119 __builtin_nan family of functions.
69120 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
69121 Remove variables.
69122 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
69123 Remove functions.
69124 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
69125 storage class. Initialize qNaN_var and sNaN_var with
69126 __builtin_nan and __builtin_nans families of functions,
69127 respectively.
69128
69129 * math/libm-test.inc (acosh_test): Also test with qNaN input.
69130 (sqrt_test): Remove duplicate test with qNaN input.
69131 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
69132 (round_test, signbit_test, significand_test): Note missing +/-Inf
69133 as well as qNaN tests.
69134
69135 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
69136 qNaN_var. Fix a few strings, too.
69137 * math/libm-test.inc (nan_value): Rename to qnan_value.
69138 * math/gen-libm-test.pl (%beautify): Adjust to that.
69139 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
69140 * math/test-misc.c (main): Likewise.
69141 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
69142 to __qnan_bytes, and __qnan_union, respectively.
69143 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
69144 Likewise.
69145 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
69146 and lqnanval, respectively.
69147 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
69148 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
69149 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
69150 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
69151
69152 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
69153 * math/test-misc.c (main) [__x86_64__]: Enable test for long
69154 doubles.
69155
69156 * math/test-misc.c (main): Fix copy'n'pastos.
69157 * misc/tst-efgcvt.c (special): Likewise.
69158
69159 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
69160 Remove declarations.
69161
69162 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69163
69164 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
69165 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
69166 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
69167 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
69168
69169 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69170
69171 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
69172 macro to return vdso values correctly in IFUNC implementations.
69173 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
69174 Optimization by using IFUNC.
69175
69176 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69177 Richard Henderson <rth@redhat.com>
69178 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69179
69180 * Makefile.in (bench): New target.
69181 * NEWS: Mention the benchmark framework.
69182 * Rules (bench): Likewise.
69183 (binaries-bench): Generate binaries for functions to
69184 benchmark.
69185 * benchtests/Makefile: New makefile for benchmark tests.
69186 * benchtests/bench-skeleton.c: New skeleton file for benchmark
69187 programs.
69188 * benchtests/exp-inputs: New input file for EXP function.
69189 * benchtests/pow-inputs: New input file for POW function.
69190 * scripts/bench.pl: New script to generate source files for
69191 benchmark programs.
69192
69193 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69194
69195 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69196 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
69197 computations on mantissa. Use macros for rounding and
69198 division.
69199 (denorm): Likewise.
69200 (__dbl_mp): Likewise.
69201 (add_magnitudes): Likewise.
69202 (sub_magnitudes): Likewise.
69203 (__mul): Likewise.
69204 (__sqr): Likewise.
69205 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
69206 powers of two in terms of TWOPOW macro.
69207 (mp_no): Make type of mantissa as MANTISSA_T.
69208 [!RADIXI]: Define RADIXI.
69209 [!TWO52]: Define TWO52.
69210 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69211
69212 * manual/nptl.texi (cindex): Modify threads to pthreads.
69213
69214 2013-03-15 Joseph Myers <joseph@codesourcery.com>
69215
69216 * sysdeps/x86_64/preconfigure: Regenerated.
69217
69218 2013-03-14 Joseph Myers <joseph@codesourcery.com>
69219
69220 [BZ #14155]
69221 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
69222 0x1p28 and above.
69223 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
69224 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
69225 0x1p28 and above.
69226 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
69227 * math/libm-test.inc (j0_test): Do not allow one spurious
69228 underflow exception.
69229 (y1_test): Likewise.
69230
69231 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
69232
69233 * manual/Makefile (chapters): Add nptl.
69234 * manual/debug.texi (Debugging Support): Add link to Threads
69235 chapter.
69236 * manual/nptl.texi: New file.
69237
69238 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
69239
69240 2013-03-14 Petr Baudis <pasky@ucw.cz>
69241
69242 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
69243 for non-NULL pointer before the memory validity test. Pointed
69244 out by Holger Brunck <holger.brunck@keymile.com>.
69245
69246 2013-03-13 Andreas Schwab <schwab@suse.de>
69247
69248 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
69249 instead of .os.
69250
69251 2013-03-13 Joseph Myers <joseph@codesourcery.com>
69252
69253 * timezone/zic.c: Update from tzcode 2013b.
69254
69255 2013-03-12 Carlos O'Donell <carlos@redhat.com>
69256
69257 * manual/install.texi (Configuring and compiling):
69258 Mention i686 and i586.
69259 * INSTALL: Regenerate.
69260
69261 2013-03-12 Roland McGrath <roland@hack.frob.com>
69262
69263 * sysdeps/init_array/elf-init.c: New file.
69264 * csu/elf-init.c
69265 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
69266 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
69267
69268 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
69269 __gmon_start__ as global, but as static with a .preinit_array pointer.
69270 * sysdeps/init_array/gmon-start.c: New file. Use that.
69271 * sysdeps/init_array/crti.S: New file, empty except for comments.
69272 * sysdeps/init_array/crtn.S: Likewise.
69273
69274 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
69275
69276 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
69277 definining bcopy.
69278 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69279 Remove Prefer_SSE_for_memop.
69280 * sysdeps/x86_64/multiarch/init-arch.h: Remove
69281 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
69282 HAS_PREFER_SSE_FOR_MEMOP.
69283 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
69284 memset-x86-64.
69285 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
69286 Remove bzero, memset ifunc support.
69287 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
69288 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
69289 * sysdeps/x86_64/multiarch/memset.S: Likewise.
69290 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
69291
69292 2013-03-11 Andreas Schwab <schwab@suse.de>
69293
69294 [BZ #15234]
69295 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
69296 by SHLIB_COMPAT.
69297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
69298 (GLIBC_2.16): Remove pthread_atfork.
69299
69300 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
69301
69302 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
69303 (ptestcases.h): Likewise.
69304
69305 2013-03-08 Roland McGrath <roland@hack.frob.com>
69306
69307 * Makeconfig ($(common-objpfx)config.status): Depend on
69308 sysdeps/*/preconfigure{,.in} too.
69309
69310 2013-03-08 Joseph Myers <joseph@codesourcery.com>
69311
69312 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
69313 (__free_hook): Use void * instead of __malloc_ptr_t.
69314 (__malloc_hook): Likewise.
69315 (__realloc_hook): Likewise.
69316 (__memalign_hook): Likewise.
69317 (__after_morecore_hook): Likewise.
69318 * malloc/arena.c (save_malloc_hook): Likewise.
69319 (save_free_hook): Likewise.
69320 * malloc/hooks.c (malloc_hook_ini): Likewise.
69321 (realloc_hook_ini): Likewise.
69322 (memalign_hook_ini): Likewise.
69323 * malloc/malloc.c (malloc_hook_ini): Likewise.
69324 (realloc_hook_ini): Likewise.
69325 (memalign_hook_ini): Likewise.
69326 (__free_hook): Likewise.
69327 (__malloc_hook): Likewise.
69328 (__realloc_hook): Likewise.
69329 (__memalign_hook): Likewise.
69330 (__libc_malloc): Likewise.
69331 (__libc_free): Likewise.
69332 (__libc_realloc): Likewise.
69333 (__libc_memalign): Likewise.
69334 (__libc_valloc): Likewise.
69335 (__libc_pvalloc): Likewise.
69336 (__libc_calloc): Likewise.
69337 (__posix_memalign): Likewise.
69338 * malloc/morecore.c (__sbrk): Likewise.
69339 (__default_morecore): Likewise.
69340
69341 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
69342
69343 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
69344 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
69345 __malloc_ptrdiff_t.
69346
69347 * malloc/malloc.h (__malloc_size_t): Remove macro.
69348 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
69349 __malloc_size_t.
69350 (old_memalign_hook): Likewise.
69351 (old_realloc_hook): Likewise.
69352 (struct hdr): Likewise.
69353 (flood): Likewise.
69354 (mallochook): Likewise.
69355 (memalignhook): Likewise.
69356 (reallochook): Likewise.
69357 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
69358 (tr_old_realloc_hook): Likewise.
69359 (tr_old_memalign_hook): Likewise.
69360 (tr_mallochook): Likewise.
69361 (tr_reallochook): Likewise.
69362 (tr_memalignhook): Likewise.
69363
69364 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69365
69366 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
69367 default_ldbl_pack and using as default implementation.
69368 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
69369 implementation.
69370 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
69371 redundant definition.
69372 (ldbl_insert_mantissa): Likewise.
69373 (ldbl_canonicalize): Likewise.
69374 (ldbl_nearbyint): Likewise.
69375 (ldbl_pack): Rename to ldbl_pack_ppc.
69376 (ldbl_unpack): Rename to ldbl_unpack_ppc.
69377 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
69378 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
69379
69380 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
69381
69382 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
69383 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
69384 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
69385 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
69386 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
69387 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
69388 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
69389 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
69390
69391 2013-03-07 Andreas Jaeger <aj@suse.de>
69392
69393 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69394 bits/mman-linux.h.
69395
69396 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
69397
69398 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
69399 Include mpa.h and declare __MPEXP.
69400 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
69401 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69402 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69403 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
69404 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69405 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69406 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
69407
69408 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
69409 (__slowpow): Use long double EXPL and LOGL functions to
69410 compute POW.
69411 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69412 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69413 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
69414 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69415 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69416 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
69417
69418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
69419 intermediate variable to calculate exponent.
69420 (__sqr): Likewise.
69421 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
69422 Likewise.
69423 (__sqr): Likewise.
69424
69425 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
69426 [!NO__SQR]: Define __sqr.
69427 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
69428 and NO__SQR. Remove all code except __mul and __sqr. Include
69429 sysdeps/ieee754/dbl-64/mpa.c.
69430 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69431
69432 [BZ #12723]
69433 * posix/Makefile (tests): Add tst-pathconf.
69434 * posix/tst-pathconf.c: New test case.
69435 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
69436 _PC_PIPE_BUF.
69437 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
69438
69439 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
69440
69441 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
69442
69443 2013-03-06 Andreas Jaeger <aj@suse.de>
69444
69445 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
69446 definition via __MAP_ANONYMOUS.
69447
69448 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
69449 it's not part of Linux headers.
69450
69451 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
69452 (MAP_HUGE_MASK): Define.
69453
69454 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69455 Define.
69456 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69457 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69458 Define.
69459 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69460 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69461 Define.
69462 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69463 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
69464 Define.
69465 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69466
69467 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
69468 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
69469 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
69470 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
69471 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
69472 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
69473
69474 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
69475 Handle f2fs.
69476
69477 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69478 Handle f2fs and efivarfs.
69479
69480 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
69481 f2fs.
69482
69483 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
69484 (EFIVARFS_MAGIC): Add.
69485 (F2FS_LINK_MAX): Add.
69486
69487 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
69488
69489 * stdio-common/vfprintf.c: Replace __builtin_expect with
69490 __glibc_unlikely.
69491
69492 2013-03-06 Joseph Myers <joseph@codesourcery.com>
69493
69494 [BZ #13550]
69495 * sysdeps/generic/bp-sym.h: Remove file.
69496 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
69497 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
69498 <bp-sym.h> and <bp-asm.h>.
69499 (__longjmp): Don't use BP_SYM.
69500 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
69501 and <bp-asm.h>.
69502 (memcpy): Don't use BP_SYM.
69503 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
69504 <bp-sym.h> and <bp-asm.h>.
69505 (memcpy): Don't use BP_SYM.
69506 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
69507 <bp-asm.h>.
69508 (memcpy): Don't use BP_SYM.
69509 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
69510 <bp-asm.h>.
69511 (memset): Don't use BP_SYM.
69512 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69513 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69514 (__bzero): Don't use BP_SYM.
69515 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69516 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69517 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
69518 <bp-sym.h> and <bp-asm.h>.
69519 (memcmp): Don't use BP_SYM. Remove comment about bounded
69520 pointers.
69521 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
69522 <bp-sym.h> and <bp-asm.h>.
69523 (memcpy): Don't use BP_SYM.
69524 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
69525 <bp-sym.h> and <bp-asm.h>.
69526 (memset): Don't use BP_SYM.
69527 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69528 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69529 (__bzero): Don't use BP_SYM.
69530 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69531 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69532 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
69533 <bp-sym.h> and <bp-asm.h>.
69534 (strncmp): Don't use BP_SYM. Remove comment about bounded
69535 pointers.
69536 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
69537 <bp-sym.h> and <bp-asm.h>.
69538 (memcpy): Don't use BP_SYM.
69539 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
69540 <bp-sym.h> and <bp-asm.h>.
69541 (memset): Don't use BP_SYM.
69542 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69543 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69544 (__bzero): Don't use BP_SYM.
69545 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69546 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69547 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
69548 <bp-sym.h> and <bp-asm.h>.
69549 (__memchr): Don't use BP_SYM.
69550 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
69551 <bp-sym.h> and <bp-asm.h>.
69552 (memcmp): Don't use BP_SYM. Remove comment about bounded
69553 pointers.
69554 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
69555 <bp-sym.h> and <bp-asm.h>.
69556 (memcpy): Don't use BP_SYM.
69557 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
69558 <bp-sym.h> and <bp-asm.h>.
69559 (__mempcpy): Don't use BP_SYM.
69560 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
69561 <bp-sym.h> and <bp-asm.h>.
69562 (__memrchr): Don't use BP_SYM.
69563 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
69564 <bp-sym.h> and <bp-asm.h>.
69565 (memset): Don't use BP_SYM.
69566 (__bzero): Likewise.
69567 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
69568 <bp-sym.h> and <bp-asm.h>.
69569 (__rawmemchr): Don't use BP_SYM.
69570 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
69571 <bp-sym.h> and <bp-asm.h>.
69572 (__STRCMP): Don't use BP_SYM.
69573 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
69574 <bp-sym.h> and <bp-asm.h>.
69575 (strchr): Don't use BP_SYM.
69576 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
69577 <bp-sym.h> and <bp-asm.h>.
69578 (__strchrnul): Don't use BP_SYM.
69579 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
69580 <bp-sym.h> and <bp-asm.h>.
69581 (strlen): Don't use BP_SYM.
69582 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
69583 <bp-sym.h> and <bp-asm.h>.
69584 (strncmp): Don't use BP_SYM. Remove comment about bounded
69585 pointers.
69586 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
69587 <bp-sym.h> and <bp-asm.h>.
69588 (__strnlen): Don't use BP_SYM.
69589 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
69590 <bp-sym.h> and <bp-asm.h>.
69591 (__GI__setjmp): Don't use BP_SYM.
69592 (_setjmp): Likewise.
69593 (__sigsetjmp): Likewise.
69594 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
69595 (L(start_addresses)): Don't use BP_SYM.
69596 (_start): Likewise.
69597 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
69598 <bp-asm.h>.
69599 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
69600 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
69601 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69602 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69603 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
69604 <bp-asm.h>.
69605 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
69606 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
69607 about bounded pointers.
69608 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69609 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69610 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
69611 <bp-asm.h>.
69612 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
69613 about bounded pointers. Remove GKM FIXME comments.
69614 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69615 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
69616 <bp-asm.h>.
69617 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
69618 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
69619 Remove GKM FIXME comments.
69620 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69621 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69622 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
69623 <bp-asm.h>.
69624 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
69625 about bounded pointers. Remove GKM FIXME comment.
69626 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
69627 and <bp-asm.h>.
69628 (strncmp): Don't use BP_SYM. Remove comment about bounded
69629 pointers.
69630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
69631 <bp-sym.h> and <bp-asm.h>.
69632 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
69633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
69634 <bp-sym.h> and <bp-asm.h>.
69635 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
69636 comment.
69637
69638 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
69639
69640 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
69641 call free(NULL).
69642
69643 2013-03-05 David S. Miller <davem@davemloft.net>
69644
69645 * po/es.po: Update from translation team.
69646
69647 2013-03-05 Andreas Jaeger <aj@suse.de>
69648
69649 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
69650 <bits/mman-linux.h>.
69651 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69652 is fine.
69653 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
69654 <bits/mman-linux.h> to end of file.
69655 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69656 is fine.
69657 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
69658 <bits/mman-linux.h> to end of file.
69659 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69660 is fine.
69661 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
69662 <bits/mman-linux.h> to end of file.
69663
69664 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
69665 (MCL_CURRENT, MCL_FUTURE): Define here.
69666
69667 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69668
69669 [BZ #15232]
69670 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
69671 attribute_hidden.
69672 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
69673
69674 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69675
69676 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
69677 fourth parameter needed for rt_sigprocmask syscall.
69678 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
69679 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
69680 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
69681 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
69682 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
69683 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
69684
69685 2013-03-04 Joseph Myers <joseph@codesourcery.com>
69686
69687 [BZ #13550]
69688 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
69689 comment about bounded pointers.
69690 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
69691 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
69692
69693 2013-03-04 Andreas Jaeger <aj@suse.de>
69694
69695 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
69696 common definitions.
69697
69698 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
69699 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
69700 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
69701 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69702 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
69703 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69704
69705 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69706
69707 [BZ #15055]
69708 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
69709 __ieee754_sqrl instead of __sqrl.
69710
69711 2013-03-01 Joseph Myers <joseph@codesourcery.com>
69712
69713 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
69714 * sysdeps/powerpc/fpu_control.h: ... here.
69715 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
69716 * sysdeps/powerpc/bits/fenvinline.h: ... here.
69717 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
69718 * sysdeps/powerpc/bits/mathinline.h: ... here.
69719
69720 2013-03-01 Roland McGrath <roland@hack.frob.com>
69721
69722 * elf/dl-hwcaps.c (_dl_important_hwcaps):
69723 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
69724 to just [NEED_DL_SYSINFO_DSO].
69725 * elf/dl-support.c: Likewise.
69726 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
69727 * elf/rtld.c (dl_main): Likewise.
69728 * elf/setup-vdso.h (setup_vdso): Likewise.
69729 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
69730 * sysdeps/unix/sysv/linux/dl-sysdep.c
69731 (_dl_discover_osversion): Likewise.
69732
69733 2013-03-01 Carlos O'Donell <carlos@redhat.com>
69734
69735 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
69736 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
69737
69738 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
69739
69740 * NEWS: Mention libm performance improvements and non-x86 PI
69741 futex support.
69742
69743 * csu/libc-start.c (__pthread_initialize_minimal): Change
69744 function arguments.
69745 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
69746
69747 2013-02-28 Joseph Myers <joseph@codesourcery.com>
69748
69749 [BZ #13550]
69750 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
69751 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
69752 <bp-sym.h> and <bp-asm.h>.
69753 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69754 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
69755 and <bp-asm.h>.
69756 (memcpy): Don't use BP_SYM.
69757 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
69758 <bp-asm.h>.
69759 (__mpn_add_n): Don't use BP_SYM.
69760 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
69761 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
69762 and <bp-asm.h>.
69763 (__mpn_addmul_1): Don't use BP_SYM.
69764 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69765 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
69766 <bp-sym.h>.
69767 (_setjmp): Don't use BP_SYM.
69768 (__novmx_setjmp): Likewise.
69769 (__GI__setjmp): Likewise.
69770 (__vmx_setjmp): Likewise.
69771 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
69772 <bp-sym.h>.
69773 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
69774 (__bzero): Don't use BP_SYM.
69775 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69776 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69777 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
69778 <bp-sym.h> and <bp-asm.h>.
69779 (memcpy): Don't use BP_SYM.
69780 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
69781 <bp-sym.h> and <bp-asm.h>.
69782 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69783 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
69784 <bp-sym.h> and <bp-asm.h>.
69785 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69786 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
69787 <bp-asm.h>.
69788 (__mpn_lshift): Don't use BP_SYM.
69789 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69790 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
69791 <bp-asm.h>.
69792 (memset): Don't use BP_SYM.
69793 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69794 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69795 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
69796 <bp-asm.h>.
69797 (__mpn_mul_1): Don't use BP_SYM.
69798 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69799 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
69800 <bp-sym.h> and <bp-asm.h>.
69801 (memcmp): Don't use BP_SYM.
69802 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
69803 <bp-sym.h> and <bp-asm.h>.
69804 (memcpy): Don't use BP_SYM.
69805 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
69806 <bp-sym.h> and <bp-asm.h>.
69807 (memset): Don't use BP_SYM.
69808 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
69809 <bp-sym.h> and <bp-asm.h>.
69810 (strncmp): Don't use BP_SYM.
69811 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
69812 <bp-sym.h> and <bp-asm.h>.
69813 (memcpy): Don't use BP_SYM.
69814 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
69815 <bp-sym.h> and <bp-asm.h>.
69816 (memset): Don't use BP_SYM.
69817 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
69818 <bp-sym.h> and <bp-asm.h>.
69819 (__memchr): Don't use BP_SYM.
69820 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
69821 <bp-sym.h> and <bp-asm.h>.
69822 (memcmp): Don't use BP_SYM.
69823 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
69824 <bp-sym.h> and <bp-asm.h>.
69825 (memcpy): Don't use BP_SYM.
69826 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
69827 <bp-sym.h> and <bp-asm.h>.
69828 (__mempcpy): Don't use BP_SYM.
69829 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
69830 <bp-sym.h> and <bp-asm.h>.
69831 (__memrchr): Don't use BP_SYM.
69832 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
69833 <bp-sym.h> and <bp-asm.h>.
69834 (memset): Don't use BP_SYM.
69835 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
69836 <bp-sym.h> and <bp-asm.h>.
69837 (__rawmemchr): Don't use BP_SYM.
69838 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
69839 <bp-sym.h> and <bp-asm.h>.
69840 (__STRCMP): Don't use BP_SYM.
69841 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
69842 <bp-sym.h> and <bp-asm.h>.
69843 (strchr): Don't use BP_SYM.
69844 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
69845 <bp-sym.h> and <bp-asm.h>.
69846 (__strchrnul): Don't use BP_SYM.
69847 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
69848 <bp-sym.h> and <bp-asm.h>.
69849 (strlen): Don't use BP_SYM.
69850 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
69851 <bp-sym.h> and <bp-asm.h>.
69852 (strncmp): Don't use BP_SYM.
69853 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
69854 <bp-sym.h> and <bp-asm.h>.
69855 (__strnlen): Don't use BP_SYM.
69856 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
69857 <bp-asm.h>.
69858 (__mpn_rshift): Don't use BP_SYM.
69859 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69860 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
69861 <bp-sym.h> and <bp-asm.h>.
69862 (__sigsetjmp): Don't use BP_SYM.
69863 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
69864 (L(start_addresses)): Don't use BP_SYM.
69865 (_start): Likewise.
69866 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
69867 <bp-asm.h>.
69868 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
69869 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69870 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69871 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
69872 <bp-asm.h>.
69873 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
69874 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69875 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69876 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
69877 <bp-asm.h>.
69878 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
69879 comments.
69880 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69881 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
69882 <bp-asm.h>.
69883 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
69884 FIXME comments.
69885 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69886 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69887 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
69888 <bp-asm.h>.
69889 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
69890 comment.
69891 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
69892 and <bp-asm.h>.
69893 (strncmp): Don't use BP_SYM,
69894 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
69895 <bp-asm.h>.
69896 (__mpn_sub_n): Don't use BP_SYM.
69897 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69898 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
69899 and <bp-asm.h>.
69900 (__mpn_submul_1): Don't use BP_SYM.
69901 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
69903 <bp-sym.h> and <bp-asm.h>.
69904 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
69905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
69906 <bp-sym.h> and <bp-asm.h>.
69907 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
69908 comment.
69909
69910 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
69911
69912 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
69913 Use ZK to minimize writes to Z.
69914 (sub_magnitudes): Simplify code a bit.
69915 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
69916 Use ZK to minimize writes to Z.
69917 (sub_magnitudes): Simplify code a bit.
69918
69919 2013-02-27 Roland McGrath <roland@hack.frob.com>
69920
69921 * csu/gmon-start.c: Add special exception to license text.
69922
69923 2013-02-27 Richard Henderson <rth@redhat.com>
69924
69925 * scripts/config.guess: Update from config.git.
69926 * scripts/config.sub: Likewise.
69927
69928 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
69929
69930 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
69931
69932 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
69933
69934 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
69935
69936 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
69937
69938 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
69939
69940 2013-02-26 Roland McGrath <roland@hack.frob.com>
69941
69942 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
69943 [$(build-shared = yes].
69944
69945 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
69946
69947 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
69948 (__mul): Reduce iterations for calculating mantissa.
69949
69950 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
69951 MPTWO.
69952 (__mpranred): Likewise.
69953
69954 [BZ #15160]
69955 * malloc/memusagestat.c (main): Draw graphs for heap and stack
69956 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
69957
69958 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
69959
69960 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
69961 Define __attribute__.
69962
69963 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
69964
69965 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
69966 unused.
69967 * posix/regex_internal.h (__attribute): Remove.
69968 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
69969 (re_string_context_at): Likewise.
69970 (bitset_not): Use __attribute__ and mark function as possibly
69971 unused.
69972 (bitset_merge): Likewise.
69973 (bitset_mask): Likewise.
69974 (re_string_char_size_at): Likewise.
69975 (re_string_wchar_at): Likewise.
69976 (re_string_elem_size_at): Likewise.
69977
69978 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
69979
69980 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
69981 code.
69982 (cc32): Likewise.
69983
69984 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
69985 (__acr): Likewise.
69986 (__cpy): Likewise.
69987 (norm): Likewise.
69988 (denorm): Likewise.
69989 (__dbl_mp): Likewise.
69990 (add_magnitudes): Likewise.
69991 (sub_magnitudes): Likewise.
69992 (__mul): Likewise.
69993 (__inv): Likewise.
69994
69995 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
69996 style.
69997
69998 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
69999 style.
70000
70001 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
70002 code.
70003
70004 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
70005 up changes with default code.
70006 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
70007 Likewise.
70008
70009 2013-02-24 Allan McRae <allan@archlinux.org>
70010
70011 * manual/socket.texi (The Internet Namespace): Order menu items
70012 to match that in the file.
70013
70014 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
70015 node listing of the info page menu.
70016
70017 2013-02-21 Joseph Myers <joseph@codesourcery.com>
70018
70019 [BZ #13550]
70020 * sysdeps/i386/bp-asm.h: Remove file.
70021 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70022 (PARMS): Do not use macros from bp-asm.h.
70023 (S1): Likewise.
70024 (S2): Likewise.
70025 (SIZE): Likewise.
70026 (__mpn_add_n): Do not use BP_SYM
70027 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
70028 "bp-asm.h".
70029 (PARMS): Do not use macros from bp-asm.h.
70030 (S1): Likewise.
70031 (SIZE): Likewise.
70032 (__mpn_addmul_1): Do not use BP_SYM
70033 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
70034 "bp-asm.h".
70035 (PARMS): Do not use macros from bp-asm.h.
70036 (SIGMSK): Likewise.
70037 (_setjmp): Likewise. Do not use BP_SYM.
70038 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
70039 "bp-asm.h".
70040 (PARMS): Do not use macros from bp-asm.h.
70041 (SIGMSK): Likewise.
70042 (setjmp): Likewise. Do not use BP_SYM.
70043 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
70044 "bp-asm.h".
70045 (PARMS): Do not use macros from bp-asm.h.
70046 (__frexp): Do not use BP_SYM.
70047 (frexp): Likewise.
70048 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
70049 "bp-asm.h".
70050 (PARMS): Do not use macros from bp-asm.h.
70051 (__frexpf): Do not use BP_SYM.
70052 (frexpf): Likewise.
70053 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
70054 "bp-asm.h".
70055 (PARMS): Do not use macros from bp-asm.h.
70056 (__frexpl): Do not use BP_SYM.
70057 (frexpl): Likewise.
70058 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
70059 "bp-asm.h".
70060 (PARMS): Do not use macros from bp-asm.h.
70061 (__remquo): Do not use BP_SYM.
70062 (remquo): Likewise.
70063 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
70064 "bp-asm.h".
70065 (PARMS): Do not use macros from bp-asm.h.
70066 (__remquof): Do not use BP_SYM.
70067 (remquof): Likewise.
70068 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
70069 "bp-asm.h".
70070 (PARMS): Do not use macros from bp-asm.h.
70071 (__remquol): Do not use BP_SYM.
70072 (remquol): Likewise.
70073 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
70074 "bp-asm.h".
70075 (PARMS): Do not use macros from bp-asm.h.
70076 (DEST): Likewise.
70077 (SRC): Likewise.
70078 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
70079 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
70080 "bp-asm.h".
70081 (PARMS): Do not use macros from bp-asm.h.
70082 (strlen): Do not use BP_SYM.
70083 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
70084 "bp-asm.h".
70085 (PARMS): Do not use macros from bp-asm.h.
70086 (S1): Likewise.
70087 (S2): Likewise.
70088 (SIZE): Likewise.
70089 (__mpn_add_n): Do not use BP_SYM.
70090 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
70091 "bp-asm.h".
70092 (PARMS): Do not use macros from bp-asm.h.
70093 (S1): Likewise.
70094 (SIZE): Likewise.
70095 (__mpn_addmul_1): Do not use BP_SYM.
70096 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
70097 weak_alias.
70098 (bzero): Likewise.
70099 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
70100 "bp-asm.h".
70101 (PARMS): Do not use macros from bp-asm.h.
70102 (S): Likewise.
70103 (SIZE): Likewise.
70104 (__mpn_lshift): Do not use BP_SYM.
70105 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
70106 "bp-asm.h".
70107 (PARMS): Do not use macros from bp-asm.h.
70108 (DEST): Likewise.
70109 (SRC): Likewise.
70110 (LEN): Likewise.
70111 (memcpy): Likewise. Do not use BP_SYM.
70112 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
70113 libc_hidden_def and weak_alias.
70114 (mempcpy): Do not use BP_SYM in weak_alias.
70115 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
70116 "bp-asm.h".
70117 (PARMS): Do not use macros from bp-asm.h.
70118 (DEST): Likewise.
70119 (LEN): Likewise.
70120 [!BZERO_P] (CHR): Likewise.
70121 (memset): Likewise. Do not use BP_SYM.
70122 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
70123 "bp-asm.h".
70124 (PARMS): Do not use macros from bp-asm.h.
70125 (S1): Likewise.
70126 (SIZE): Likewise.
70127 (__mpn_mul_1): Do not use BP_SYM.
70128 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
70129 "bp-asm.h".
70130 (PARMS): Do not use macros from bp-asm.h.
70131 (S): Likewise.
70132 (SIZE): Likewise.
70133 (__mpn_rshift): Do not use BP_SYM.
70134 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
70135 "bp-asm.h".
70136 (PARMS): Do not use macros from bp-asm.h.
70137 (STR): Likewise.
70138 (CHR): Likewise.
70139 (strchr): Likewise. Do not use BP_SYM.
70140 (index): Do not use BP_SYM in weak_alias.
70141 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
70142 "bp-asm.h".
70143 (PARMS): Do not use macros from bp-asm.h.
70144 (DEST): Likewise.
70145 (SRC): Likewise.
70146 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
70147 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
70148 "bp-asm.h".
70149 (PARMS): Do not use macros from bp-asm.h.
70150 (strlen): Do not use BP_SYM.
70151 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
70152 "bp-asm.h".
70153 (PARMS): Do not use macros from bp-asm.h.
70154 (S1): Likewise.
70155 (S2): Likewise.
70156 (SIZE): Likewise.
70157 (__mpn_sub_n): Do not use BP_SYM.
70158 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
70159 "bp-asm.h".
70160 (PARMS): Do not use macros from bp-asm.h.
70161 (S1): Likewise.
70162 (SIZE): Likewise.
70163 (__mpn_submul_1): Do not use BP_SYM.
70164 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
70165 "bp-asm.h".
70166 (PARMS): Do not use macros from bp-asm.h.
70167 (S1): Likewise.
70168 (S2): Likewise.
70169 (SIZE): Likewise.
70170 (__mpn_add_n): Do not use BP_SYM.
70171 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
70172 weak_alias.
70173 (bzero): Likewise.
70174 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
70175 "bp-asm.h".
70176 (PARMS): Do not use macros from bp-asm.h.
70177 (BLK2): Likewise.
70178 (LEN): Likewise.
70179 (memcmp): Do not use BP_SYM.
70180 (bcmp): Do not use BP_SYM in weak_alias.
70181 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
70182 "bp-asm.h".
70183 (PARMS): Do not use macros from bp-asm.h.
70184 (DEST): Likewise.
70185 (SRC): Likewise.
70186 (LEN): Likewise.
70187 (memcpy): Likewise. Do not use BP_SYM.
70188 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
70189 "bp-asm.h".
70190 (PARMS): Do not use macros from bp-asm.h.
70191 (DEST): Likewise.
70192 (SRC): Likewise.
70193 (LEN): Likewise.
70194 (memmove): Likewise. Do not use BP_SYM.
70195 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
70196 "bp-asm.h".
70197 (PARMS): Do not use macros from bp-asm.h.
70198 (DEST): Likewise.
70199 (SRC): Likewise.
70200 (LEN): Likewise.
70201 (__mempcpy): Likewise. Do not use BP_SYM.
70202 (mempcpy): Do not use BP_SYM in weak_alias.
70203 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
70204 "bp-asm.h".
70205 (PARMS): Do not use macros from bp-asm.h.
70206 (DEST): Likewise.
70207 (LEN): Likewise.
70208 [!BZERO_P] (CHR): Likewise.
70209 (memset): Likewise. Do not use BP_SYM.
70210 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
70211 "bp-asm.h".
70212 (PARMS): Do not use macros from bp-asm.h.
70213 (STR2): Likewise.
70214 (strcmp): Do not use BP_SYM.
70215 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
70216 "bp-asm.h".
70217 (PARMS): Do not use macros from bp-asm.h.
70218 (STR): Likewise.
70219 (DELIM): Likewise.
70220 [USE_AS_STRTOK_R] (SAVE): Likewise.
70221 (FUNCTION): Likewise. Do not use BP_SYM.
70222 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
70223 aliases.
70224 (strtok_r): Likewise.
70225 (__GI___strtok_r): Likewise.
70226 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70227 (PARMS): Do not use macros from bp-asm.h.
70228 (S): Likewise.
70229 (SIZE): Likewise.
70230 (__mpn_lshift): Do not use BP_SYM.
70231 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70232 (PARMS): Do not use macros from bp-asm.h.
70233 (STR): Likewise.
70234 (CHR): Likewise.
70235 (__memchr): Do not use BP_SYM.
70236 (memchr): Do not use BP_SYM in weak_alias.
70237 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70238 (PARMS): Do not use macros from bp-asm.h.
70239 (BLK2): Likewise.
70240 (LEN): Likewise.
70241 (memcmp): Do not use BP_SYM.
70242 (bcmp): Do not use BP_SYM in weak_alias.
70243 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
70244 (PARMS): Do not use macros from bp-asm.h.
70245 (S1): Likewise.
70246 (SIZE): Likewise.
70247 (__mpn_mul_1): Do not use BP_SYM.
70248 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
70249 "bp-asm.h".
70250 (PARMS): Do not use macros from bp-asm.h.
70251 (STR): Likewise.
70252 (CHR): Likewise.
70253 (__rawmemchr): Do not use BP_SYM.
70254 (rawmemchr): Do not use BP_SYM in weak_alias.
70255 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70256 (PARMS): Do not use macros from bp-asm.h.
70257 (S): Likewise.
70258 (SIZE): Likewise.
70259 (__mpn_rshift): Do not use BP_SYM.
70260 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70261 (PARMS): Do not use macros from bp-asm.h.
70262 (SIGMSK): Likewise.
70263 (__sigsetjmp): Likewise. Do not use BP_SYM.
70264 * sysdeps/i386/start.S: Do not include "bp-sym.h".
70265 (_start): Do not use BP_SYM.
70266 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
70267 (PARMS): Do not use macros from bp-asm.h.
70268 (DEST): Likewise.
70269 (SRC): Likewise.
70270 (__stpcpy): Likewise. Do not use BP_SYM.
70271 (stpcpy): Do not use BP_SYM in weak_alias.
70272 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
70273 "bp-asm.h".
70274 (PARMS): Do not use macros from bp-asm.h.
70275 (DEST): Likewise.
70276 (SRC): Likewise.
70277 (LEN): Likewise.
70278 (__stpncpy): Likewise. Do not use BP_SYM.
70279 (stpncpy): Do not use BP_SYM in weak_alias.
70280 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70281 (PARMS): Do not use macros from bp-asm.h.
70282 (STR): Likewise.
70283 (CHR): Likewise.
70284 (strchr): Likewise. Do not use BP_SYM.
70285 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
70286 "bp-asm.h".
70287 (PARMS): Do not use macros from bp-asm.h.
70288 (STR): Likewise.
70289 (CHR): Likewise.
70290 (__strchrnul): Likewise. Do not use BP_SYM.
70291 (strchrnul): Do not use BP_SYM in weak_alias.
70292 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
70293 "bp-asm.h".
70294 (PARMS): Do not use macros from bp-asm.h.
70295 (STOP): Likewise.
70296 (strcspn): Do not use BP_SYM.
70297 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
70298 "bp-asm.h".
70299 (PARMS): Do not use macros from bp-asm.h.
70300 (STR): Likewise.
70301 (STOP): Likewise.
70302 (strpbrk): Likewise. Do not use BP_SYM.
70303 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
70304 "bp-asm.h".
70305 (PARMS): Do not use macros from bp-asm.h.
70306 (STR): Likewise.
70307 (CHR): Likewise.
70308 (strrchr): Likewise. Do not use BP_SYM.
70309 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
70310 (PARMS): Do not use macros from bp-asm.h.
70311 (SKIP): Likewise.
70312 (strspn): Do not use BP_SYM.
70313 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
70314 (PARMS): Do not use macros from bp-asm.h.
70315 (STR): Likewise.
70316 (DELIM): Likewise.
70317 (SAVE): Likewise.
70318 (FUNCTION): Likewise. Do not use BP_SYM.
70319 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
70320 aliases.
70321 (strtok_r): Likewise.
70322 (__GI___strtok_r): Likewise.
70323 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70324 (PARMS): Do not use macros from bp-asm.h.
70325 (S1): Likewise.
70326 (S2): Likewise.
70327 (SIZE): Likewise.
70328 (__mpn_sub_n): Do not use BP_SYM.
70329 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
70330 "bp-asm.h".
70331 (PARMS): Do not use macros from bp-asm.h.
70332 (S1): Likewise.
70333 (SIZE): Likewise.
70334 (__mpn_submul_1): Do not use BP_SYM.
70335 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
70336 <bp-sym.h>.
70337 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
70338 and <bp-asm.h>.
70339 (PARMS): Do not use macros from bp-asm.h.
70340 (FLAGS): Likewise.
70341 (PTID): Likewise.
70342 (TLS): Likewise.
70343 (CTID): Likewise.
70344 (__clone): Do not use BP_SYM.
70345 (clone): Do not use BP_SYM in weak_alias.
70346 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
70347 and <bp-asm.h>.
70348 (PARMS): Do not use macros from bp-asm.h.
70349 (LEN): Likewise.
70350 (__mmap64): Do not use BP_SYM.
70351 (mmap64): Do not use BP_SYM in weak_alias.
70352 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
70353 <bp-sym.h> and <bp-asm.h>.
70354 (PARMS): Do not use macros from bp-asm.h.
70355 (__posix_fadvise64_l64): Do not use BP_SYM.
70356 * sysdeps/unix/sysv/linux/i386/semtimedop.S
70357 (PARMS): Do not use macros from bp-asm.h.
70358 (NSOPS): Likewise.
70359 (semtimedop): Do not use BP_SYM.
70360 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
70361 and <bp-asm.h>.
70362
70363 2013-02-21 Allan McRae <allan@archlinux.org>
70364
70365 * manual/message.texi (Charset conversion in gettext):
70366 Move @end statement to beginning of line.
70367
70368 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
70369
70370 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
70371 static.
70372 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70373 Likewise.
70374
70375 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
70376 (denorm): Likewise.
70377 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
70378 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
70379
70380 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70381
70382 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
70383 tail-call to the resolved function if pltexit isn't needed.
70384
70385 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
70386
70387 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
70388 or Y being zero as being unlikely.
70389 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
70390 Likewise.
70391
70392 2013-02-20 Carlos O'Donell <carlos@redhat.com>
70393
70394 * manual/nss.texi (System Databases and Name Service Switch):
70395 Remove frobnicate @pxref.
70396
70397 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
70398
70399 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70400 __attribute__ ((unused)) to __attribute__ ((__unused__)).
70401
70402 2013-02-20 Petr Machata <pmachata@redhat.com>
70403
70404 * elf/elf.h (R_ARM_TARGET1): New macro.
70405 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
70406 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
70407 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
70408 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
70409 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
70410 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
70411 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
70412 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
70413 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
70414 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
70415 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
70416 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
70417 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
70418 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
70419 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
70420 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
70421 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
70422 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
70423 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
70424 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
70425 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
70426 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
70427 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
70428 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
70429 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
70430 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
70431 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
70432 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
70433 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
70434 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
70435 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
70436 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
70437 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
70438 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
70439 (R_ARM_THM_GOT_BREL12): Likewise.
70440 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
70441 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
70442 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
70443 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
70444 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
70445 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
70446 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
70447 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
70448 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
70449
70450 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
70451
70452 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70453 __attribute_used__ to __attribute__ ((unused)).
70454
70455 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
70456
70457 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
70458 powerpc mpa.c.
70459 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
70460 comment formatting.
70461 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
70462
70463 2013-02-19 Joseph Myers <joseph@codesourcery.com>
70464
70465 [BZ #13550]
70466 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
70467 Remove macro.
70468 (ENTER): Remove both macro definitions.
70469 (LEAVE): Likewise.
70470 (CHECK_BOUNDS_LOW): Likewise.
70471 (CHECK_BOUNDS_HIGH): Likewise.
70472 (CHECK_BOUNDS_BOTH): Likewise.
70473 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
70474 (RETURN_BOUNDED_POINTER): Likewise.
70475 (RETURN_NULL_BOUNDED_POINTER): Likewise.
70476 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
70477 (POP_ERRNO_LOCATION_RETURN): Likewise.
70478 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
70479 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70480 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
70481 macros.
70482 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70483 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
70484 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
70485 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
70486 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
70487 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
70488 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
70489 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
70490 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
70491 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
70492 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
70493 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
70494 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70495 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
70496 removed macros.
70497 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70498 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
70499 macros.
70500 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70501 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
70502 * sysdeps/i386/i586/memset.S (memset): Likewise.
70503 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
70504 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70505 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
70506 macros.
70507 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70508 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
70509 Change uses of L(2) to L(out).
70510 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
70511 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
70512 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
70513 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70514 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
70515 removed macros.
70516 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70517 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
70518 macros.
70519 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70520 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
70521 (RETURN): Do not use macro LEAVE.
70522 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
70523 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
70524 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
70525 * sysdeps/i386/i686/memset.S (memset): Likewise.
70526 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
70527 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
70528 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70529 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
70530 Likewise.
70531 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70532 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
70533 L(1_2) and L(1_3) into L(1).
70534 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70535 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
70536 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70537 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
70538 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70539 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
70540 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
70541 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70542 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
70543 macros.
70544 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
70545 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70546 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
70547 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
70548 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
70549 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70550 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
70551 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
70552 * sysdeps/i386/strcspn.S (strcspn): Likewise.
70553 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
70554 * sysdeps/i386/strrchr.S (strrchr): Likewise.
70555 * sysdeps/i386/strspn.S (strspn): Likewise.
70556 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
70557 conditional code.
70558 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70559 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
70560 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70561 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
70562 L(1_3) into L(1_1).
70563 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
70564 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70565 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
70566 macros.
70567 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70568
70569 2013-02-19 Jakub Jelinek <jakub@redhat.com>
70570
70571 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
70572 macro.
70573
70574 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
70575
70576 * math/atest-exp.c (exp_mpn): Remove ROUND.
70577 * math/atest-exp2.c (exp_mpn): Likewise.
70578 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
70579
70580 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
70581 * stdlib/tst-tls-atexit-lib.c: Likewise.
70582 * stdlib/tst-tls-atexit.c: Likewise.
70583
70584 2013-02-18 Mike Frysinger <vapier@gentoo.org>
70585
70586 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
70587 and __attribute_alloc_size__.
70588
70589 2013-02-18 Mike Frysinger <vapier@gentoo.org>
70590
70591 * include/programs/xmalloc.h: Change __attribute_alloc_size to
70592 __attribute_alloc_size__.
70593 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
70594 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
70595
70596 2013-02-18 Mike Frysinger <vapier@gentoo.org>
70597
70598 * include/programs/xmalloc.h: New file.
70599 * catgets/gencat.c: Include it.
70600 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
70601 * elf/pldd.c: Likewise.
70602 * iconv/iconv_charmap.c: Likewise.
70603 * iconv/iconvconfig.c: Likewise.
70604 * iconv/strtab.c: Likewise.
70605 * locale/programs/locale.c: Likewise.
70606 * locale/programs/localedef.h: Likewise.
70607 * locale/programs/simple-hash.c: Likewise.
70608 * nscd/nscd.h: Likewise.
70609 * nss/makedb.c: Likewise.
70610 * sysdeps/generic/ldconfig.h: Likewise.
70611
70612 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
70613
70614 * Versions.def: Add GLIBC_2.18.
70615 * include/link.h (struct link_map): New member l_tls_dtor_count.
70616 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
70617 (__call_tls_dtors): Likewise.
70618 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
70619 __cxa_thread_atexit_impl.
70620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70621 Likewise.
70622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70623 Likewise.
70624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
70625 Likewise.
70626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
70627 Likewise.
70628 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
70630 Likewise.
70631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
70632 Likewise.
70633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70634 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
70635 Likewise.
70636 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
70637 (tests): Add test case tst-tls-atexit.
70638 (modules-names): Add shared library for tst-tls-atexit.
70639 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
70640 (GLIBC_PRIVATE): Add __call_tls_dtors.
70641 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
70642 for libstdc++.
70643 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
70644 * stdlib/tst-tls-atexit.c: New test case.
70645 * stdlib/tst-tls-atexit-lib.c: New test case.
70646
70647 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
70648
70649 * elf/Versions (ld): Add _dl_find_dso_for_object.
70650 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
70651 * elf/dl-open.c (_dl_find_dso_for_object): New function.
70652 (dl_open_worker): Use _dl_find_dso_for_object.
70653 * elf/dl-sym.c (do_sym): Likewise.
70654 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
70655
70656 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70657
70658 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
70659 Syntactic changes only.
70660 (_dl_runtime_profile): Do a tail-call to the resolved function.
70661
70662 2013-02-17 Joseph Myers <joseph@codesourcery.com>
70663
70664 [BZ #13550]
70665 * sysdeps/x86_64/bp-asm.h: Remove file.
70666 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
70667 <bp-sym.h> and <bp-asm.h>.
70668 (__clone): Do not use BP_SYM.
70669 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
70670 <bp-sym.h> and <bp-asm.h>.
70671 * sysdeps/unix/x86_64/sysdep.S: Likewise.
70672 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
70673 "bp-asm.h".
70674 (_setjmp): Do not use BP_SYM.
70675 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
70676 "bp-asm.h".
70677 (setjmp): Do not use BP_SYM.
70678 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
70679 libc_hidden_def.
70680 (mempcpy): Do not use BP_SYM in weak_alias.
70681 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
70682 "bp-asm.h".
70683 (strchr): Do not use BP_SYM.
70684 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
70685 "bp-asm.h".
70686 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
70687 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
70688 (_start): Do not use BP_SYM.
70689 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
70690 "bp-asm.h".
70691 (strcat): Do not use BP_SYM.
70692 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
70693 "bp-asm.h".
70694 (STRCMP): Do not use BP_SYM.
70695 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
70696 "bp-asm.h".
70697 (STRCPY): Do not use BP_SYM.
70698 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
70699 "bp-asm.h".
70700 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
70701 "bp-asm.h".
70702 (FUNCTION): Do not use BP_SYM.
70703 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
70704 weak_alias.
70705 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
70706
70707 2013-02-17 Andreas Jaeger <aj@suse.de>
70708
70709 * time/Versions: Sort entries.
70710 * string/Versions: Likewise.
70711 * resolv/Versions: Likewise.
70712 * posix/Versions: Likewise.
70713 * iconv/Versions: Likewise.
70714 * elf/Versions: Likewise.
70715 * wcsmbs/Versions: Likewise.
70716
70717 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
70718
70719 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
70720 loop termination condition.
70721
70722 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
70723 variable to calculate EZ.
70724 (__sqr): Likewise.
70725
70726 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
70727 the lower precision input.
70728
70729 2013-02-15 Joseph Myers <joseph@codesourcery.com>
70730
70731 [BZ #13550]
70732 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
70733 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
70734 (run-via-rtld-prefix): Do not handle %-bp tests.
70735 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
70736 (all-object-suffixes): Remove .ob.
70737 (bppfx): Remove variable.
70738 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
70739 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
70740 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
70741 [$(build-bounded) = yes] (libtype.ob): Likewise.
70742 * Makerules (elide-routines.ob): Remove variable.
70743 (do-tests-clean): Do not handle *-bp.out.
70744 (common-mostlyclean): Do not handle *-bp and *-bp.out.
70745 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
70746 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
70747 (tests): Do not include $(tests-bp.out).
70748 (xtests): Do not include $(xtests-bp.out).
70749 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
70750 [$(build-bounded) = yes] ($(addprefix
70751 $(objpfx),$(binaries-bounded))): Remove rule.
70752 ($(objpfx)%-bp.out): Remove rule.
70753 * config.make.in (build-bounded): Remove variable.
70754 * crypt/Makefile [$(build-bounded) = yes]
70755 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
70756 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
70757 append to variable.
70758 [$(build-bounded) = yes] (install-lib): Likewise.
70759 [$(build-bounded) = yes] (generated): Likewise.
70760 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
70761 Remove rule.
70762 * intl/Makefile [$(build-bounded) = yes]
70763 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
70764 * math/Makefile [$(build-bounded) = yes]
70765 ($(tests:%=$(objpfx)%-bp): Likewise.
70766 * misc/Makefile [$(build-bounded) = yes]
70767 ($(objpfx)tst-tsearch-bp): Likewise.
70768 * nptl/Makeconfig (bounded-thread-library): Remove variable.
70769 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
70770 Remove dependency.
70771 * string/Makefile (o-objects.ob): Remove variable.
70772 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
70773 (CFLAGS-.ob): Remove variable.
70774 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
70775 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
70776 both definitions of variable.
70777 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
70778 (ASFLAGS-.ob): Remove variable.
70779
70780 2013-02-14 Joseph Myers <joseph@codesourcery.com>
70781
70782 [BZ #13550]
70783 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
70784 Remove __BOUNDED_POINTERS__ from condition.
70785 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
70786 * string/bits/string2.h [!__NO_STRING_INLINES &&
70787 !__BOUNDED_POINTERS__]: Likewise.
70788 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
70789 Likewise.
70790 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
70791 Remove conditional code.
70792 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
70793 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
70794 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
70795 condition.
70796
70797 [BZ #13550]
70798 * csu/libc-start.c: Do not include <bp-sym.h>.
70799 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
70800 * elf/dl-open.c: Do not include <bp-sym.h>.
70801 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
70802 * math/fegetenv.c: Do not include <bp-sym.h>.
70803 (fegetenv): Do not use BP_SYM in versioned symbols.
70804 * nptl/sysdeps/pthread/bits/libc-lockP.h
70805 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
70806 <bp-sym.h>.
70807 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70808 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
70809 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70810 (__pthread_mutex_destroy): Likewise.
70811 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70812 (__pthread_mutex_lock): Likewise.
70813 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70814 (__pthread_mutex_trylock): Likewise.
70815 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70816 (__pthread_mutex_unlock): Likewise.
70817 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70818 (__pthread_mutexattr_init): Likewise.
70819 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70820 (__pthread_mutexattr_destroy): Likewise.
70821 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70822 (__pthread_mutexattr_settype): Likewise.
70823 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70824 (__pthread_rwlock_init): Likewise.
70825 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70826 (__pthread_rwlock_destroy): Likewise.
70827 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70828 (__pthread_rwlock_rdlock): Likewise.
70829 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70830 (__pthread_rwlock_tryrdlock): Likewise.
70831 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70832 (__pthread_rwlock_wrlock): Likewise.
70833 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70834 (__pthread_rwlock_trywrlock): Likewise.
70835 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70836 (__pthread_rwlock_unlock): Likewise.
70837 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70838 (__pthread_key_create): Likewise.
70839 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70840 (__pthread_setspecific): Likewise.
70841 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70842 (__pthread_getspecific): Likewise.
70843 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
70844 Likewise.
70845 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70846 (_pthread_cleanup_push_defer): Likewise.
70847 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70848 (_pthread_cleanup_pop_restore): Likewise.
70849 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70850 (pthread_setcancelstate): Likewise.
70851 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
70852 <bp-sym.h>.
70853 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
70854 (memchr): Do not use BP_SYM in weak_alias.
70855 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
70856 (fegetenv): Do not use BP_SYM in versioned symbols.
70857 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
70858 (fesetenv): Do not use BP_SYM in versioned symbols.
70859 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
70860 (feupdateenv): Do not use BP_SYM in versioned symbols.
70861 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
70862 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
70863 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
70864 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
70865 (open64): Do not use BP_SYM in weak_alias.
70866 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
70867 (fegetenv): Do not use BP_SYM in versioned symbols.
70868 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
70869 (fesetenv): Do not use BP_SYM in versioned symbols.
70870 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
70871 (feupdateenv): Do not use BP_SYM in versioned symbols.
70872 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
70873 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
70874 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
70875 (feraiseexcept): Do not use BP_SYM in versioned symbols.
70876 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
70877 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
70878 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
70879 <bp-sym.h>.
70880 (__libc_start_main): Do not use BP_SYM.
70881
70882 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
70883
70884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
70885 redundant return line.
70886 (norm): Likewise.
70887 (denorm): Likewise.
70888 (dbl_mp): Likewise.
70889 (sub_magnitudes): Likewise.
70890 (__add): Likewise.
70891 (__sub): Likewise.
70892 (__mul): Likewise.
70893 (__inv): Likewise.
70894 (__dvd): Likewise.
70895 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
70896 (norm): Likewise.
70897 (denorm): Likewise.
70898 (dbl_mp): Likewise.
70899 (sub_magnitudes): Likewise.
70900 (__add): Likewise.
70901 (__sub): Likewise.
70902 (__mul): Likewise.
70903 (__inv): Likewise.
70904 (__dvd): Likewise.
70905
70906 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
70907 instead of __mul.
70908 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
70909 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
70910 (cc32): Likewise.
70911
70912 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
70913 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
70914 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
70915 of __mul for squares.
70916 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
70917 function
70918 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
70919 Likewise.
70920 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
70921 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
70922
70923 2013-02-13 Joseph Myers <joseph@codesourcery.com>
70924
70925 [BZ #13550]
70926 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
70927 code.
70928 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
70929 prototype or function definition. Rename ubp_* variables and
70930 parameters. Remove argv definitions conditional on
70931 [__BOUNDED_POINTERS__].
70932 * debug/backtrace.c (__backtrace): Do not use __unbounded.
70933 * elf/dl-runtime.c (_dl_fixup): Likewise.
70934 * include/set-hooks.h (RUN_HOOK): Likewise.
70935 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
70936 definition.
70937 * string/strcpy.c (strcpy): Do not use __unbounded.
70938 * sysdeps/generic/frame.h (struct layout): Likewise.
70939 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
70940 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
70941 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
70942 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
70943 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
70944 (__backtrace): Likewise.
70945 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
70946 use __ptrvalue.
70947 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
70948 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
70949 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
70950 Likewise.
70951 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
70952 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
70953 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
70954 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
70955 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
70956 Do not use __unbounded.
70957 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
70958 Rename __unboundedrlimits parameter to rlimits in prototype.
70959 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
70960 Do not use __unbounded.
70961 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
70962 not use __ptrvalue.
70963 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
70964 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
70965 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
70966 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
70967 __ptrvalue or __unbounded.
70968 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
70969 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
70970 use __unbounded.
70971 (__new_msgctl): Do not use __ptrvalue.
70972 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
70973 __unbounded.
70974 (__libc_msgrcv): Do not use __ptrvalue.
70975 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
70976 startup_info): Do not use __unbounded.
70977 (__libc_start_main): Likewise. Rename ubp_* variables and
70978 parameters. Remove argv definitions conditional on
70979 [__BOUNDED_POINTERS__].
70980 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
70981 __ptrvalue.
70982 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
70983 use __unbounded.
70984 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
70985 or __ptrvalue.
70986 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
70987 use __unbounded.
70988 (__new_shmctl): Do not use __ptrvalue.
70989 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
70990 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
70991 Likewise.
70992 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
70993 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
70994 (__libc_sigaction): Likewise.
70995 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
70996 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
70997 Likewise.
70998 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
70999
71000 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
71001
71002 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
71003
71004 * string/mempcpy.c: Implement by calling memcpy.
71005
71006 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
71007
71008 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
71009
71010 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
71011 evaluation.
71012
71013 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
71014 values in the mantissa.
71015
71016 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
71017 minimize writes to Z.
71018 (sub_magnitudes): Simplify code a bit.
71019
71020 2013-02-12 Roland McGrath <roland@hack.frob.com>
71021
71022 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
71023 from the message. The linker prefixes all warnings with that already.
71024
71025 2013-02-12 Andreas Schwab <schwab@suse.de>
71026
71027 [BZ #15078]
71028 * posix/regexec.c (extend_buffers): Add parameter min_len.
71029 (check_matching): Pass minimum needed length.
71030 (clean_state_log_if_needed): Likewise.
71031 (get_subexp): Likewise.
71032 * posix/Makefile (tests): Add bug-regex34.
71033 (bug-regex34-ENV): Define.
71034 * posix/bug-regex34.c: New file.
71035
71036 [BZ #11561]
71037 * posix/regcomp.c (parse_bracket_exp): When looking up collating
71038 elements compare against the byte sequence of it, not its name.
71039 * posix/Makefile (tests): Add bug-regex35.
71040 (bug-regex35-ENV): Define.
71041 * posix/bug-regex35.c: New file.
71042
71043 2013-02-11 Tom de Vries <tom@codesourcery.com>
71044
71045 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
71046 comment.
71047 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
71048 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
71049 (CHECK_EOL): Add undef.
71050
71051 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
71052
71053 * bits/stdlib-bsearch.h: New file.
71054 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
71055 * stdlib/stdlib.h: Likewise.
71056
71057 2013-02-11 Roland McGrath <roland@hack.frob.com>
71058
71059 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
71060 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
71061 declaration.
71062 * manual/search.texi (Array Search Function): Add missing const in
71063 lfind prototype.
71064 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
71065 declaration to use rlim_t.
71066 (Basic Scheduling Functions): Remove erroneous const from
71067 sched_getparam prototype. Remove erroneous * from
71068 sched_get_priority_max and sched_get_priority_min prototypes.
71069 (Resource Usage): Fix summary @comment on vtimes to refer to
71070 sys/vtimes.h rather than vtimes.h.
71071 Add missing *s in vtimes prototype.
71072 (Limits on Resources): Fix ulimit prototype to return long int.
71073 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
71074 prototypes to use long int rather than double.
71075 (BSD Random): Fix initstate and setstate to use char *, not void *.
71076 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
71077 prototype to make second argument 'struct aiocb64 *const[]'.
71078 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
71079 (Status of AIO Operations): Remove erroneous const in aio_return and
71080 aio_return64 prototypes.
71081 (Synchronizing I/O): Fix sync prototype to return void.
71082 * manual/startup.texi (Suboptions): Remove an erroneous const in
71083 getsubopt prototype.
71084 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
71085 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
71086 use size_t rather than int.
71087 (Scanning All Users): Likewise for getpwent_r.
71088 (Setting Groups): Add missing const to setgroups prototype.
71089 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
71090 * manual/socket.texi (Host Names): Fix gethostbyaddr and
71091 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
71092 'const void *' rather than 'const char *'.
71093 (Host Address Functions): Likewise for inet_ntop.
71094 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
71095 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
71096 ssize_t for return value.
71097 (Sending Data): Likewise for send, sendto, sendmsg.
71098 (Socket Option Functions): Add a missing const in setsockopt prototype.
71099 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
71100 use wchar_t for the argument.
71101 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
71102 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
71103 take no arguments.
71104 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
71105 double/float/long double for second argument.
71106 Fix return types of significand, significandf, significandl.
71107 * manual/filesys.texi (Setting Permissions): Use mode_t for second
71108 argument in fchmod prototype.
71109 (File Owner): Use uid_t and gid_t in fchown prototype.
71110 (File Times): Add const to utimes, futimes, and lutimes prototypes.
71111 (Making Special Files): Use mode_t and dev_t in mknod prototype.
71112 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
71113 use 'const struct dirent **' as argument types to CMP function pointer
71114 argument.
71115 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
71116 (File Times): Fix summary magic @comment for struct utimbuf and utime
71117 to refer to utime.h, not time.h.
71118 * manual/string.texi (Argz Functions): Add missing const in
71119 argz_extract and argz_next prototypes.
71120 (Finding Tokens in a String): Likewise for basename.
71121 (String/Array Comparison): Fix typo in wcscasecmp prototype.
71122 (Copying and Concatenation): Fix typo in wmemmove prototype.
71123 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
71124 (Signal Stack): Remove erroneous const in sigstack prototype.
71125 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
71126 prototype.
71127 (Simple Calendar Time): Likewise for stime.
71128 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
71129 prototype.
71130 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
71131 say sys/sysctl.h instead.
71132 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
71133 and vsyslog prototypes.
71134
71135 2013-02-11 Tom de Vries <tom@codesourcery.com>
71136
71137 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
71138 Remove.
71139
71140 2013-02-11 Roland McGrath <roland@hack.frob.com>
71141
71142 * misc/sys/mman.h: Fix typo in mremap comment.
71143
71144 2013-02-08 Roland McGrath <roland@hack.frob.com>
71145
71146 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
71147 the '\0' terminator.
71148
71149 2013-02-08 Joseph Myers <joseph@codesourcery.com>
71150
71151 [BZ #13550]
71152 * debug/segfault.c: Don't include <bp-checks.h>.
71153 * sysdeps/generic/bp-checks.h: Remove file.
71154 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
71155 (__GETDENTS): Don't use CHECK_N.
71156 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
71157 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
71158 (__getgroups): Don't use CHECK_N.
71159 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
71160 (setgroups): Don't use CHECK_N.
71161 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
71162 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
71163 (__libc_msgrcv): Don't use CHECK_N.
71164 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
71165 (__libc_msgsnd): Don't use CHECK_N.
71166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
71167 <bp-checks.h>.
71168 (__libc_pread): Don't use CHECK_N.
71169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
71170 include <bp-checks.h>.
71171 (__libc_pread64): Don't use CHECK_N.
71172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
71173 include <bp-checks.h>.
71174 (__libc_pwrite): Don't use CHECK_N.
71175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
71176 include <bp-checks.h>.
71177 (__libc_pwrite64): Don't use CHECK_N.
71178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
71179 <bp-checks.h>.
71180 (__libc_pread): Don't use CHECK_N.
71181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
71182 include <bp-checks.h>.
71183 (__libc_pread64): Don't use CHECK_N.
71184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
71185 include <bp-checks.h>.
71186 (__libc_pwrite): Don't use CHECK_N.
71187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
71188 include <bp-checks.h>.
71189 (__libc_pwrite64): Don't use CHECK_N.
71190 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
71191 (do_pread): Don't use CHECK_N.
71192 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
71193 (do_pread64): Don't use CHECK_N.
71194 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
71195 (do_pwrite): Don't use CHECK_N.
71196 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
71197 (do_pwrite64): Don't use CHECK_N.
71198 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
71199 (__libc_readv): Don't use CHECK_N.
71200 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
71201 (semop): Don't use CHECK_N.
71202 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
71203 <bp-checks.h>.
71204 (semtimedop): Don't use CHECK_N.
71205 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
71206 (__libc_pread): Don't use CHECK_N.
71207 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
71208 <bp-checks.h>.
71209 (__libc_pread64): Don't use CHECK_N.
71210 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
71211 <bp-checks.h>.
71212 (__libc_pwrite): Don't use CHECK_N.
71213 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
71214 <bp-checks.h>.
71215 (__libc_pwrite64): Don't use CHECK_N.
71216 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
71217 <bp-checks.h>.
71218 (__libc_msgrcv): Don't use CHECK_N.
71219 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
71220 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
71221 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
71222 (__libc_writev): Don't use CHECK_N.
71223
71224 2013-02-08 Roland McGrath <roland@hack.frob.com>
71225
71226 * string/strcpy.c: Removed unused variable.
71227
71228 * Makeconfig (+sysdep-includes): Define with := rather than =.
71229 Use an existing include/ subdir of each sysdeps dir before it.
71230
71231 2013-02-08 Carlos O'Donell <carlos@redhat.com>
71232
71233 * nscd/connection.c (register_traced_file): Comment function.
71234 [HAVE_INOTIFY] (union __inev): Define.
71235 [HAVE_INOTIFY] (inotify_check_files): New function.
71236 [HAVE_INOTIFY] (clear_db_cache): Likewise.
71237 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
71238 clear_db_cache.
71239 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
71240
71241 2013-02-08 Carlos O'Donell <carlos@redhat.com>
71242
71243 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
71244 loaded if not already and that a failure is permanent.
71245
71246 2013-02-08 Carlos O'Donell <carlos@redhat.com>
71247
71248 [BZ #15006]
71249 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
71250 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
71251
71252 2013-02-08 Joseph Myers <joseph@codesourcery.com>
71253
71254 [BZ #13550]
71255 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
71256 (CHECK_1_NULL_OK): Likewise.
71257 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
71258 (__fxstat): Do not use CHECK_1.
71259 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
71260 <bp-checks.h>.
71261 (___fxstat64): Do not use CHECK_1.
71262 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
71263 <bp-checks.h>.
71264 (__fxstatat): Do not use CHECK_1.
71265 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
71266 <bp-checks.h>.
71267 (__fxstatat64): Do not use CHECK_1.
71268 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
71269 <bp-checks.h>.
71270 (__fxstat): Do not use CHECK_1.
71271 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
71272 <bp-checks.h>.
71273 (__fxstatat): Do not use CHECK_1.
71274 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
71275 <bp-checks.h>.
71276 (__getresgid): Do not use CHECK_1.
71277 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
71278 <bp-checks.h>.
71279 (__getresuid): Do not use CHECK_1.
71280 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
71281 <bp-checks.h>.
71282 (__lxstat): Do not use CHECK_1.
71283 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
71284 <bp-checks.h>.
71285 (__old_msgctl): Do not use CHECK_1.
71286 (__new_msgctl): Likewise.
71287 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
71288 <bp-checks.h>.
71289 (__new_setrlimit): Do not use CHECK_1.
71290 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
71291 <bp-checks.h>.
71292 (__old_shmctl): Do not use CHECK_1.
71293 (__new_shmctl): Likewise.
71294 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
71295 <bp-checks.h>.
71296 (__xstat): Do not use CHECK_1.
71297 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
71298 (__lxstat): Do not use CHECK_1.
71299 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
71300 <bp-checks.h>.
71301 (___lxstat64): Do not use CHECK_1.
71302 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
71303 (__old_msgctl): Do not use CHECK_1.
71304 (__new_msgctl): Likewise.
71305 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
71306 <bp-checks.h>.
71307 (__gettimeofday): Do not use CHECK_1.
71308 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
71309 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
71310 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
71311 <bp-checks.h>.
71312 (__gettimeofday): Do not use CHECK_1.
71313 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
71314 (__old_shmctl): Do not use CHECK_1_NULL_OK.
71315 (__new_shmctl): Do not use CHECK_1.
71316 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
71317 <bp-checks.h>.
71318 (do_sigtimedwait): Do not use CHECK_1.
71319 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
71320 <bp-checks.h>.
71321 (do_sigwaitinfo): Do not use CHECK_1.
71322 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
71323 <bp-checks.h>.
71324 (msgctl): Do not use CHECK_1.
71325 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
71326 <bp-checks.h>.
71327 (shmctl): Do not use CHECK_1.
71328 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
71329 (ustat): Do not use CHECK_1.
71330 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
71331 <bp-checks.h>.
71332 (__fxstat): Do not use CHECK_1.
71333 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
71334 <bp-checks.h>.
71335 (__fxstatat): Do not use CHECK_1.
71336 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
71337 <bp-checks.h>.
71338 (__lxstat): Do not use CHECK_1.
71339 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
71340 <bp-checks.h>.
71341 (__xstat): Do not use CHECK_1.
71342 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
71343 (__xstat): Do not use CHECK_1.
71344 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
71345 (___xstat64): Do not use CHECK_1.
71346
71347 [BZ #13550]
71348 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
71349 definitions.
71350 (CHECK_BOUNDS_HIGH): Likewise.
71351 * string/strcpy.c: Do not include <bp-checks.h>.
71352 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
71353
71354 2013-02-07 Roland McGrath <roland@hack.frob.com>
71355
71356 * nscd/nscd-client.h (__nscd_drop_map_ref):
71357 Add __attribute__ ((unused)).
71358 * nis/nss-nisplus.h (niserr2nss): Likewise.
71359
71360 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
71361 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
71362
71363 * csu/libc-tls.c (init_static_tls, init_slotinfo):
71364 Remove inline keyword.
71365 * include/rounding-mode.h (round_away): Likewise.
71366 * libio/wfileops.c (adjust_wide_data): Likewise.
71367 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
71368 (__m128i_strloadu_tolower): Likewise.
71369 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
71370 (__m128i_strloadu_tolower): Likewise.
71371 * time/mktime.c (ydhms_diff): Likewise.
71372 * locale/elem-hash.h (elem_hash): Likewise.
71373 * locale/setlocale.c (setdata): Likewise.
71374 * posix/regex_internal.h (re_string_char_size_at): Likewise.
71375 (re_string_wchar_at): Likewise.
71376 (bitset_not, bitset_merge, bitset_mask): Likewise.
71377 [!(__GNUC__ > 3)] (inline): Remove macro.
71378 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
71379 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
71380 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
71381 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
71382 * string/memcmp.c (memcmp_bytes): Likewise.
71383 * locale/programs/locarchive.c (compute_hashval): Likewise.
71384 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
71385 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
71386 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
71387 * nss/getent.c (print_rpc, print_protocols): Likewise.
71388 (print_passwd, print_group, print_aliases): Likewise.
71389 * nis/nss-nisplus.h (niserr2nss): Likewise.
71390 * nscd/connections.c (restart_p): Likewise.
71391 Change return type to bool.
71392
71393 2013-02-05 Roland McGrath <roland@hack.frob.com>
71394
71395 * Makeconfig (all-Depend-files): Add existing
71396 $(sorted-subdirs:=/Depend) files.
71397 (all-subdirs): Remove nss.
71398 * sysdeps/unix/inet/Subdirs: Add it here instead.
71399 * hesiod/Depend: New file.
71400
71401 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
71402 instead of calling alloca.
71403
71404 * io/lseek.c (__lseek): Rename to __libc_lseek.
71405 Define __lseek as an alias.
71406
71407 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
71408
71409 2013-02-04 Carlos O'Donell <carlos@redhat.com>
71410
71411 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
71412 else clause and remove check for non-standard endianness.
71413
71414 2013-02-04 David S. Miller <davem@davemloft.net>
71415
71416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71417
71418 2013-02-04 Joseph Myers <joseph@codesourcery.com>
71419
71420 [BZ #13550]
71421 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
71422 (__ubp_memchr): Remove prototype.
71423 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
71424 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71425 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
71426 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71427 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
71428 Remove alias.
71429 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
71430 (__ubp_memchr): Likewise.
71431 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
71432 (__ubp_memchr): Likewise.
71433 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
71434 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
71435 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
71436 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
71437 CHECK_STRING.
71438 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
71439 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
71440 (__getcwd): Do not use CHECK_STRING.
71441 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
71442 <bp-checks.h>.
71443 (__real_chown): Do not use CHECK_STRING.
71444 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
71445 <bp-checks.h>.
71446 (fchownat): Do not use CHECK_STRING.
71447 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
71448 CHECK_STRING.
71449 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
71450 <bp-checks.h>.
71451 (__lchown): Do not use CHECK_STRING.
71452 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71453 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71454 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71455 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
71456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71457 include <bp-checks.h>.
71458 (truncate64): Do not use CHECK_STRING.
71459 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
71460 <bp-checks.h>.
71461 (__real_chown): Do not use CHECK_STRING.
71462 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
71463 <bp-checks.h>.
71464 (__lchown): Do not use CHECK_STRING.
71465 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
71466 <bp-checks.h>.
71467 (__chown): Do not use CHECK_STRING.
71468 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
71469 <bp-checks.h>.
71470 (truncate64): Do not use CHECK_STRING.
71471 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
71472 Likewise.
71473 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
71474 (__xmknod): Do not use CHECK_STRING.
71475 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
71476 <bp-checks.h>.
71477 (__xmknodat): Do not use CHECK_STRING.
71478 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71479 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
71480
71481 2013-02-04 Andreas Schwab <schwab@suse.de>
71482
71483 [BZ #14142]
71484 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
71485 * include/netdb.h: Likewise for h_errno.
71486 * elf/tst-stackguard1.c: Include <tls.h>.
71487
71488 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
71489
71490 * elf/link.h (struct link_map): Extend the l_addr comment.
71491 * include/link.h (struct link_map): Likewise.
71492
71493 2013-02-01 Joseph Myers <joseph@codesourcery.com>
71494
71495 [BZ #13550]
71496 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
71497 (BOUNDED_1): Remove macro.
71498 * debug/backtrace.c: Don't include <bp-checks.h>.
71499 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
71500 (__backtrace): Likewise.
71501 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
71502 <bp-checks.h>.
71503 (__backtrace): Don't use BOUNDED_1.
71504 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
71505 <bp-checks.h>.
71506 (__backtrace): Don't use BOUNDED_1.
71507 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
71508 (__backtrace): Don't use BOUNDED_1.
71509 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
71510 (shmat): Don't use BOUNDED_N.
71511
71512 2013-01-31 Joseph Myers <joseph@codesourcery.com>
71513
71514 [BZ #13550]
71515 * sysdeps/generic/bp-start.h: Remove file.
71516 * csu/libc-start.c: Don't include <bp-start.h>.
71517 (LIBC_START_MAIN): Set up __environ directly instead of using
71518 INIT_ARGV_and_ENVIRON.
71519 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
71520 <bp-start.h>.
71521
71522 [BZ #13550]
71523 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
71524 definitions.
71525 (CHECK_FCNTL): Likewise.
71526 (CHECK_N_PAGES): Likewise.
71527
71528 [BZ #13550]
71529 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
71530 definitions.
71531 (CHECK_SIGSET_NULL_OK): Likewise.
71532 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
71533 <bp-checks.h>.
71534 (sigpending): Don't use CHECK_SIGSET.
71535 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
71536 <bp-checks.h>.
71537 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71538 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
71539 <bp-checks.h>.
71540 (do_sigsuspend): Don't use CHECK_SIGSET.
71541 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
71542 use CHECK_SIGSET.
71543 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
71544 (do_sigwait): Don't use CHECK_SIGSET.
71545 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
71546 use CHECK_SIGSET.
71547 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
71548 include <bp-checks.h>.
71549 (sigpending): Don't use CHECK_SIGSET.
71550 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
71551 include <bp-checks.h>.
71552 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71553 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
71554 <bp-checks.h>.
71555 (sigpending): Don't use CHECK_SIGSET.
71556 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
71557 <bp-checks.h>.
71558 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71559
71560 [BZ #13550]
71561 * sysdeps/generic/bp-semctl.h: Remove file.
71562 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
71563 <bp-checks.h> and <bp-semctl.h>.
71564 (__old_semctl): Don't use CHECK_SEMCTL.
71565 (__new_semctl): Likewise.
71566 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
71567 and <bp-semctl.h>.
71568 (__old_semctl): Don't use CHECK_SEMCTL.
71569 (__new_semctl): Likewise.
71570 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
71571 <bp-checks.h> and <bp-semctl.h>.
71572 (__old_semctl): Don't use CHECK_SEMCTL.
71573 (__new_semctl): Likewise.
71574 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
71575 <bp-checks.h> and <bp-semctl.h>.
71576 (semctl): Don't use CHECK_SEMCTL.
71577
71578 [BZ #13550]
71579 * Makerules (elide-bp-thunks): Remove variable.
71580 (elide-routines.oS): Don't use $(elide-bp-thunks).
71581 (elide-routines.os): Likewise.
71582 (elide-routines.o): Likewise.
71583 (elide-routines.op): Likewise.
71584 (elide-routines.og): Likewise.
71585 (objects): Don't use $(bp-thunks).
71586 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
71587 include.
71588 (common-generated): Do not add s-proto-bp.d.
71589 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
71590 (int): Likewise.
71591 (typ): Likewise.
71592 Do not generate makefile rules for bounded-pointer thunks.
71593 * sysdeps/generic/bp-thunks.h: Remove file.
71594 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
71595 * sysdeps/unix/s-proto-bp.S: Likewise.
71596
71597 [BZ #15062]
71598 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
71599 parts of result separately when argument is not close to line from
71600 -i to i and one part of argument is small.
71601 * math/k_casinhf.c (__kernel_casinhf): Likewise.
71602 * math/k_casinhl.c (__kernel_casinhl): Likewise.
71603 * math/libm-test.inc (cacos_test): Add more tests.
71604 (casin_test): Likewise.
71605 (casinh_test): Likewise.
71606 * sysdeps/i386/fpu/libm-test-ulps: Update.
71607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71608
71609 2013-01-31 David S. Miller <davem@davemloft.net>
71610
71611 * po/de.po: Update from translation team.
71612
71613 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
71614
71615 * time/tzfile.c: Include stdint.h for SIZE_MAX.
71616
71617 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
71618
71619 * configure.in (_AC_PROG_CC_C89): New definition.
71620 * configure: Regenerate.
71621
71622 * configure.in (AC_PROG_CPP): New definition.
71623 * configure: Regenerate.
71624
71625 2013-01-23 Joseph Myers <joseph@codesourcery.com>
71626
71627 * debug/tst-backtrace.h: New file.
71628 * debug/tst-backtrace2.c: Include tst-backtrace.h.
71629 (ret): Remove variable.
71630 (x): Likewise.
71631 (FAIL): Remove macro.
71632 (NO_INLINE): Likewise.
71633 (fn1): Use match function instead of strstr.
71634 * debug/tst-backtrace3.c: Include tst-backtrace.h.
71635 (ret): Remove variable.
71636 (x): Likewise.
71637 (FAIL): Remove macro.
71638 (NO_INLINE): Likewise.
71639 (fn): Use match function instead of strstr.
71640 * debug/tst-backtrace4.c: Include tst-backtrace.h.
71641 (ret): Remove variable.
71642 (x): Likewise.
71643 (FAIL): Remove macro.
71644 (NO_INLINE): Likewise.
71645 (handle_signal): Use match function instead of strstr.
71646 * debug/tst-backtrace5.c: Include tst-backtrace.h.
71647 (ret): Remove variable.
71648 (x): Likewise.
71649 (FAIL): Remove macro.
71650 (NO_INLINE): Likewise.
71651 (handle_signal): Use match function instead of strstr.
71652
71653 2013-01-23 Roland McGrath <roland@hack.frob.com>
71654
71655 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
71656
71657 2013-01-23 David S. Miller <davem@davemloft.net>
71658
71659 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
71660 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
71661 argument of CAS if possible.
71662 * sysdeps/sparc/sparc64/bits/atomic.h
71663 (__arch_compare_and_exchange_val_32_acq): Likewise.
71664 (__arch_compare_and_exchange_val_64_acq): Likewise.
71665
71666 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
71667
71668 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
71669 * sysdeps/posix/ulimit.c: ... this.
71670 Include <limits.h>.
71671 * sysdeps/unix/bsd/ulimit.c: Remove file.
71672
71673 2013-01-23 Adam Conrad <adconrad@0c3.net>
71674
71675 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
71676 (LDFLAGS-tst-array5): Likewise.
71677
71678 2013-01-23 Joseph Myers <joseph@codesourcery.com>
71679
71680 [BZ #15036]
71681 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
71682 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
71683 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
71684 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
71685
71686 2013-01-21 David S. Miller <davem@davemloft.net>
71687
71688 * sysdeps/sparc/backtrace.c: New file.
71689 * sysdeps/sparc/sparc32/backtrace.h: New file.
71690 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
71691 * sysdeps/sparc/sparc64/backtrace.h: New file.
71692 * sysdeps/sparc/sparc64/backtrace.c: Delete.
71693 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
71694 -funwind-tables.
71695
71696 2013-01-21 Andreas Schwab <schwab@suse.de>
71697
71698 [BZ #15020]
71699 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
71700 closed its stdout.
71701
71702 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
71703
71704 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
71705 "mpa2.h".
71706 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71707
71708 2013-01-18 Joseph Myers <joseph@codesourcery.com>
71709 Mark Mitchell <mark@codesourcery.com>
71710 Tom de Vries <tom@codesourcery.com>
71711 Paul Pluzhnikov <ppluzhnikov@google.com>
71712
71713 * debug/tst-backtrace2.c: New file.
71714 * debug/tst-backtrace3.c: Likewise.
71715 * debug/tst-backtrace4.c: Likewise.
71716 * debug/tst-backtrace5.c: Likewise.
71717 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
71718 (CFLAGS-tst-backtrace3.c): Likewise.
71719 (CFLAGS-tst-backtrace4.c): Likewise.
71720 (CFLAGS-tst-backtrace5.c): Likewise.
71721 (LDFLAGS-tst-backtrace2): Likewise.
71722 (LDFLAGS-tst-backtrace3): Likewise.
71723 (LDFLAGS-tst-backtrace4): Likewise.
71724 (LDFLAGS-tst-backtrace5): Likewise.
71725 (tests): Add new tests tst-backtrace2, tst-backtrace3,
71726 tst-backtrace4 and tst-backtrace5.
71727
71728 2013-01-18 Anton Blanchard <anton@samba.org>
71729 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
71730
71731 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
71732 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
71733 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
71734 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
71735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
71736 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
71737 "+r" and remove output regs list as redundant. Add explicit inline
71738 asm to specify register of return val to work around compiler codegen
71739 bug. Remove (int) cast on return value. Add return type parameter to
71740 use in macro so that this macro does not truncate return value for
71741 64-bit values.
71742 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
71743 pass to INTERNAL_VSYSCALL_NCS.
71744 (INLINE_VSYSCALL): Add 'long int' as return type to
71745 INTERNAL_VSYSCALL_NCS macro invocation.
71746 (INTERNAL_VSYSCALL): Add 'long int' as return type to
71747 INTERNAL_VSYSCALL_NCS macro invocation.
71748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71749
71750 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
71751
71752 [BZ #14496]
71753 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
71754 Fix application of SIMD FP exception mask.
71755
71756 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
71757 mp_no from a power of two.
71758 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
71759 __mpexp_twomm1. Use __pow_mp.
71760
71761 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
71762 multiplication.
71763
71764 2013-01-17 David S. Miller <davem@davemloft.net>
71765
71766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71767
71768 2013-01-17 Joseph Myers <joseph@codesourcery.com>
71769
71770 [BZ #15023]
71771 * include/complex.h: Condition contents on [!_COMPLEX_H].
71772 (__kernel_casinhf): New prototype.
71773 (__kernel_casinh): Likewise.
71774 (__kernel_casinhl): Likewise.
71775 * math/Makefile (libm_calls): Add k_casinh.
71776 * math/k_casinh.c: New file.
71777 * math/k_casinhf.c: Likewise.
71778 * math/k_casinhl.c: Likewise.
71779 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
71780 finite nonzero arguments.
71781 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
71782 finite nonzero arguments.
71783 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
71784 finite nonzero arguments.
71785 * math/s_casinh.c: Do not include <float.h>.
71786 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
71787 * math/s_casinhf.c: Do not include <float.h>.
71788 (__casinhf): Move code for finite nonzero arguments to
71789 k_casinhf.c.
71790 * math/s_casinhl.c: Do not include <float.h>.
71791 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
71792 redefine.
71793 (__casinhl): Move code for finite nonzero arguments to
71794 k_casinhl.c.
71795 * math/libm-test.inc (cacos_test): Add more tests.
71796 * sysdeps/i386/fpu/libm-test-ulps: Update.
71797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71798
71799 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
71800
71801 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
71802 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
71803 [!HAVE_MREMAP]: Remove [defined linux] case.
71804 * malloc/arena.c: Do not include <malloc-sysdep.h>.
71805
71806 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
71807
71808 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
71809
71810 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
71811
71812 * elf/elf.h (R_386_SIZE32): New relocation.
71813 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
71814 R_386_SIZE32.
71815 (elf_machine_rela): Likewise.
71816 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
71817 R_X86_64_SIZE64 and R_X86_64_SIZE32.
71818
71819 2013-01-17 Joseph Myers <joseph@codesourcery.com>
71820
71821 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
71822 (FP_FAST_FMA): Do not define.
71823 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
71824 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
71825 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
71826 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
71827 !_SOFT_FLOAT]: Likewise.
71828 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
71829 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
71830 value.
71831 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
71832 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
71833 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
71834 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
71835 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
71836 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
71837 file.
71838
71839 2013-01-16 Andreas Schwab <schwab@suse.de>
71840
71841 [BZ #14327]
71842 * include/stdlib.h (__mktemp): Add declaration.
71843 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
71844 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
71845
71846 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
71847
71848 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
71849 definitions.
71850 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
71851 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
71852 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
71853 definitions here.
71854 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
71855 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
71856 definitions.
71857 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
71858 and ONE.
71859 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
71860 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
71861 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
71862 definitions.
71863 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
71864 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
71865 definitions.
71866 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
71867
71868 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
71869
71870 2013-01-15 David S. Miller <davem@davemloft.net>
71871
71872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
71873 trunc{,f} to libm-sysdep_routes.
71874 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
71875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
71876 file.
71877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
71878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
71879 file.
71880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
71881 file.
71882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
71883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
71884 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
71885 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
71886 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
71887 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
71888 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
71889 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
71890
71891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
71892 nearbyint{,f} to libm-sysdep_routes.
71893 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
71894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
71895 New file.
71896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
71897 file.
71898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
71899 New file.
71900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
71901 file.
71902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
71903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
71904 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
71905 file.
71906 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
71907 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
71908 file.
71909 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
71910 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
71911 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
71912
71913 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
71914 libc_feholdexcept and libc_fesetenv.
71915
71916 2013-01-15 Mike Frysinger <vapier@gentoo.org>
71917
71918 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
71919
71920 2013-01-14 David S. Miller <davem@davemloft.net>
71921
71922 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
71923 (SPARC_ASM_VIS2_IFUNC): Likewise.
71924 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
71925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
71926 use of 'siam' instruction.
71927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
71928 Likewise.
71929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
71930 Likewise.
71931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
71932 Likewise.
71933 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
71934 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
71935 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
71936 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
71937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
71938 file.
71939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
71940 file.
71941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
71942 file.
71943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
71944 file.
71945 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
71946 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
71947 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
71948 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
71949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
71950 new VIS2 routines.
71951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
71952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
71954 Likewise.
71955 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
71956 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
71957 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
71958 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
71959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
71960 routines to libm-sysdep_routines.
71961 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
71962
71963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
71964 fdim/fdimf to libm-sysdep_routines.
71965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
71966 file.
71967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
71968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
71969 file.
71970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
71971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
71972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
71973 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
71974 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
71975 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
71976 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
71977
71978 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
71979
71980 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
71981 to optimize copies.
71982
71983 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
71984 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
71985 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71986
71987 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
71988 local variable MPTWO.
71989 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
71990 Likewise.
71991
71992 2013-01-13 Mike Frysinger <vapier@gentoo.org>
71993
71994 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
71995 GLOB_NOESCAPE.
71996
71997 2013-01-13 Mike Frysinger <vapier@gentoo.org>
71998
71999 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
72000
72001 2013-01-13 Mike Frysinger <vapier@gentoo.org>
72002
72003 * manual/pattern.texi (glob_t): Document gl_flags.
72004 (glob64_t): Likewise.
72005
72006 2013-01-11 David S. Miller <davem@davemloft.net>
72007
72008 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
72009 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
72010 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
72011 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
72012 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
72013 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
72014 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
72015 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
72016 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
72017 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
72018 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
72019 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
72020 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
72021
72022 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72023 sparc V9 rather than using V8 code.
72024 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72025 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72026
72027 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
72028 Move to...
72029 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
72030 Here.
72031
72032 2013-01-11 Roland McGrath <roland@hack.frob.com>
72033
72034 [BZ #14941]
72035 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
72036 not in the main loop.
72037 * configure: Regenerated.
72038
72039 2013-01-11 Joseph Myers <joseph@codesourcery.com>
72040
72041 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
72042 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
72043 to just #else.
72044 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
72045 [!__GLIBC_HAVE_LONG_LONG] case.
72046 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
72047 condition to just #else.
72048 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
72049 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
72050 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
72051 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
72052 unconditional.
72053 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
72054 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72055 #elif condition to just #else.
72056 * sysdeps/unix/sysv/linux/sys/sysmacros.h
72057 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
72058 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72059 #elif condition to just #else.
72060
72061 2013-01-11 Steve Ellcey <sellcey@mips.com>
72062
72063 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
72064 (EF_MIPS_ARCH_64): Fix value.
72065 (EF_MIPS_ARCH_32R2): New.
72066 (EF_MIPS_ARCH_64R2): New.
72067
72068 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
72069
72070 * Makeconfig (+link-pie-before-libc): New.
72071 (+link-pie-after-libc): Likewise.
72072 (+link-pie-tests): Likewise.
72073 (+link-pie): Rewritten.
72074 (link-before-libc): Remove $(config-LDFLAGS).
72075 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
72076 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
72077 (config-LDFLAGS): Renamed to ...
72078 (rtld-LDFLAGS): This.
72079 (rtld-tests-LDFLAGS): New macro.
72080 (link-libc-rpath-link): Likewise.
72081 (link-libc-tests-rpath-link): Likewise.
72082 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
72083 (link-libc): Prepand $(link-libc-rpath-link).
72084 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
72085 (test-program-prefix): New macro.
72086 (test-via-rtld-prefix): Likewise.
72087 (test-program-cmd): Likewise.
72088 (host-test-program-cmd): Likewise.
72089 * Makefile ($(common-objpfx)testrun.sh): Replace
72090 $(run-program-prefix) with $(test-program-prefix).
72091 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
72092 $(rtld-LDFLAGS).
72093 ($(common-objpfx)shlib.lds): Likewise.
72094 (build-module-helper): Likewise.
72095 ($(common-objpfx)format.lds): Likewise.
72096 * Rules (binaries-pie-tests): New.
72097 (binaries-pie-notests): Likewise.
72098 (binaries-pie): Rewritten.
72099 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
72100 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
72101 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
72102 (make-test-out): Replace $(host-built-program-cmd) with
72103 $(host-test-program-cmd).
72104 * config.make.in (build-hardcoded-path-in-tests): New variable.
72105 * configure.in (--enable-hardcoded-path-in-tests): New configure
72106 option.
72107 (hardcoded_path_in_tests): New AC_SUBST.
72108 * configure: Regenerated.
72109 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
72110 $(built-program-cmd) with $(test-program-cmd).
72111 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
72112 (test_program_cmd): This.
72113 * elf/Makefile ($(objpfx)order.out): Run test with
72114 $(test-program-prefix).
72115 ($(objpfx)order2.out): Likewise.
72116 ($(objpfx)tst-initorder.out): Likewise.
72117 ($(objpfx)tst-initorder2.out): Likewise.
72118 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
72119 $(test-program-cmd).
72120 ($(objpfx)tst-array1-static.out): Likewise.
72121 ($(objpfx)tst-array2.out): Likewise.
72122 ($(objpfx)tst-array3.out): Likewise.
72123 ($(objpfx)tst-array4.out): Likewise.
72124 ($(objpfx)tst-array5.out): Likewise.
72125 ($(objpfx)tst-array5-static.out): Likewise.
72126 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
72127 $(test-program-cmd).
72128 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
72129 $(run-program-prefix) with $(test-program-prefix).
72130 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
72131 (test_program_prefix): This.
72132 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
72133 $(run-program-prefix) with $(test-program-prefix).
72134 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
72135 (test_program_prefix): This.
72136 * iconvdata/tst-tables.sh: Likewise.
72137 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
72138 $(run-program-prefix) with $(test-program-prefix).
72139 ($(objpfx)tst-translit.out): Likewise.
72140 ($(objpfx)tst-gettext2.out): Likewise.
72141 ($(objpfx)tst-gettext4.out): Likewise.
72142 ($(objpfx)tst-gettext6.out): Likewise.
72143 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
72144 (test_program_prefix): This.
72145 * intl/tst-gettext2.sh: Likewise.
72146 * intl/tst-gettext4.sh Likewise.
72147 * intl/tst-gettext6.sh: Likewise.
72148 * intl/tst-translit.sh: Likewise.
72149 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
72150 with $(test-program-cmd).
72151 * libio/Makefile ($(objpfx)test-freopen.out): Replace
72152 $(run-program-prefix) with $(test-program-prefix).
72153 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
72154 (test_program_prefix): This.
72155 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
72156 $(run-program-prefix) with $(test-program-prefix).
72157 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
72158 (test_program_prefix): This.
72159 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
72160 * posix/Makefile ($(objpfx)globtest.out): Replace
72161 $(run-via-rtld-prefix) and $(test-wrapper) with
72162 $(test-program-prefix) and $(test-via-rtld-prefix).
72163 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
72164 $(test-program-prefix).
72165 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
72166 $(host-test-program-cmd).
72167 (tst-spawn-ARGS): Likewise.
72168 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
72169 $(test-program-prefix).
72170 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
72171 (test_via_rtld_prefix): This.
72172 (test_wrapper): Renamed to ...
72173 (test_program_prefix): This.
72174 (run_program_prefix): Replaced by test_program_prefix.
72175 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
72176 (test_program_prefix): This.
72177 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
72178 with $(host-test-program-cmd).
72179 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
72180 $(run-program-prefix) with $(test-program-prefix).
72181 ($(objpfx)tst-printf.out): Likewise.
72182 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
72183 $(test-program-cmd).
72184 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
72185 (test_program_prefix): This.
72186 * stdio-common/tst-unbputc.sh: Likewise.
72187 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
72188 $(run-program-prefix) with $(test-program-prefix).
72189 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
72190 (test_program_prefix): This.
72191 * string/Makefile ($(objpfx)tst-svc.out): Replace
72192 $(built-program-cmd) with $(test-program-cmd).
72193
72194 2013-01-11 Andreas Jaeger <aj@suse.de>
72195
72196 [BZ #15003]
72197 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
72198 value. Sync with Linux 3.7.
72199
72200 2013-01-10 David S. Miller <davem@davemloft.net>
72201
72202 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
72203 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72204 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72205
72206 2013-01-10 Roland McGrath <roland@hack.frob.com>
72207
72208 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
72209 never set.
72210 * configure: Regenerated.
72211
72212 2013-01-10 David S. Miller <davem@davemloft.net>
72213
72214 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72215 sparc V9 rather than using V8 code.
72216 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72217 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72218
72219 2013-01-10 Roland McGrath <roland@hack.frob.com>
72220
72221 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
72222 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
72223 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
72224 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
72225 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
72226 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
72227 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
72228 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
72229 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
72230 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
72231 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
72232 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
72233 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
72234 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
72235 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
72236 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
72237 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
72238 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
72239 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
72240 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
72241 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
72242 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
72243 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
72244 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
72245 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
72246 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
72247 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
72248
72249 2013-01-10 David S. Miller <davem@davemloft.net>
72250
72251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72252
72253 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
72254
72255 * posix/Makefile (tests-static): New variable.
72256 (tests): Add $(tests-static).
72257 (tst-exec-static-ARGS): New variable.
72258 (tst-spawn-static-ARGS): Likewise.
72259 * posix/tst-exec-static.c: New file.
72260 * posix/tst-spawn-static.c: Likewise.
72261 * posix/tst-exec.c: Support run directly.
72262 * posix/tst-spawn.c: Likewise.
72263
72264 2013-01-10 Joseph Myers <joseph@codesourcery.com>
72265
72266 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
72267 long.
72268 * math/bits/mathcalls.h (llrint): Likewise.
72269 (llround): Likewise.
72270 * stdlib/stdlib.h (struct drand48_data): Likewise.
72271 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
72272 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
72273 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
72274 Likewise.
72275 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
72276 Likewise.
72277 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
72278 (elf_greg_t): Likewise.
72279 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
72280 (__jmp_buf): Likewise.
72281 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
72282 definitions.
72283 (llrint): Likewise, for all definitions.
72284 (llrintl): Likewise.
72285
72286 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
72287 Remove [__GNUC__] condition.
72288 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
72289 condition to just [__USE_ISOC99].
72290 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
72291
72292 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
72293
72294 [BZ #14200]
72295 * sysdeps/unix/sysv/linux/x86/bits/environments.h
72296 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
72297 defined.
72298 (_POSIX_V6_ILP32_OFF32): Likewise.
72299 (_XBS5_ILP32_OFF32): Likewise.
72300 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
72301 (__ILP32_OFFBIG_LDFLAGS): Likewise.
72302
72303 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
72304
72305 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
72306
72307 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
72308 doubles __mpexp_twomm1. Adjust usage.
72309 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
72310 Remove.
72311
72312 2013-01-10 Andreas Schwab <schwab@suse.de>
72313
72314 [BZ #14964]
72315 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
72316 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
72317
72318 2013-01-09 David S. Miller <davem@davemloft.net>
72319
72320 [BZ #15003]
72321 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
72322 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
72323 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
72324 (TCP_FASTOPEN): Define.
72325 (tcp_repair_opt): New structure.
72326 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
72327 enum values.
72328 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
72329 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
72330 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
72331 (tcp_cookie_transactions): New structure.
72332
72333 2013-01-09 Anton Blanchard <anton@samba.org>
72334
72335 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
72336 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
72337 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
72338 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
72339
72340 2013-01-09 Joseph Myers <joseph@codesourcery.com>
72341
72342 * include/features.h (__USE_ANSI): Remove.
72343
72344 2013-01-09 Roland McGrath <roland@hack.frob.com>
72345
72346 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
72347
72348 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
72349
72350 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
72351
72352 * sysdeps/s390/fpu/libm-test-ulps: Update.
72353
72354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72355
72356 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
72357 (__acr): Likewise.
72358 (__cpy): Likewise.
72359 (norm): Likewise.
72360 (denorm): Likewise.
72361 (__mp_dbl): Likewise.
72362 (__dbl_mp): Likewise.
72363 (add_magnitudes): Likewise.
72364 (sub_magnitudes): Likewise.
72365 (__add): Likewise.
72366 (__sub): Likewise.
72367 (__mul): Likewise.
72368 (__inv): Likewise.
72369 (__dvd): Likewise.
72370 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
72371 (__acr): Likewise.
72372 (__cpy): Likewise.
72373 (norm): Likewise.
72374 (denorm): Likewise.
72375 (__mp_dbl): Likewise.
72376 (__dbl_mp): Likewise.
72377 (add_magnitudes): Likewise.
72378 (sub_magnitudes): Likewise.
72379 (__add): Likewise.
72380 (__sub): Likewise.
72381 (__mul): Likewise.
72382 (__inv): Likewise.
72383 (__dvd): Likewise.
72384 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
72385 (__acr): Likewise.
72386 (__cpy): Likewise.
72387 (norm): Likewise.
72388 (denorm): Likewise.
72389 (__mp_dbl): Likewise.
72390 (__dbl_mp): Likewise.
72391 (add_magnitudes): Likewise.
72392 (sub_magnitudes): Likewise.
72393 (__add): Likewise.
72394 (__sub): Likewise.
72395 (__mul): Likewise.
72396 (__inv): Likewise.
72397 (__dvd): Likewise.
72398
72399 2013-01-08 Joseph Myers <joseph@codesourcery.com>
72400
72401 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
72402 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
72403 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
72404 2 && __USE_EXTERN_INLINES]: Likewise.
72405
72406 2013-01-08 Andreas Jaeger <aj@suse.de>
72407
72408 [BZ #14985]
72409 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
72410 Remove.
72411 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72412 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72413
72414 2013-01-07 Anton Blanchard <anton@samba.org>
72415
72416 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
72417 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
72418 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
72419 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
72420 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
72421 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72422 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
72423 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72424 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72425 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72426 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72427 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72428 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72429 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
72430 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
72431 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72432 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72433 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
72434 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
72435 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
72436 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
72437 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
72438 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
72439 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
72440 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
72441 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
72442 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72443 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
72444 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
72445 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72446 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
72447 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72448 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72449 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
72450 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
72451 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
72452 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
72453 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
72454 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
72455 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
72456 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
72457 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72458 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
72459
72460 2013-01-07 Joseph Myers <joseph@codesourcery.com>
72461
72462 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
72463 (__MALLOC_PMT): Likewise.
72464 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
72465 [__GNUC__], only on [_LIBC].
72466 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72467 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
72468 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72469 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
72470 forward declaration.
72471 (realloc_hook_ini): Likewise.
72472 (memalign_hook_ini): Likewise.
72473 (__libc_memalign): Do not use __MALLOC_PMT in variable
72474 declaration.
72475 (__libc_valloc): Likewise.
72476 (__libc_pvalloc): Likewise.
72477 (__libc_calloc): Likewise.
72478 (__posix_memalign): Likewise.
72479
72480 [BZ #14996]
72481 * math/s_casinh.c: Include <float.h>.
72482 (__casinh): Do not do computation with squaring and square root
72483 for large arguments.
72484 * math/s_casinhf.c: Include <float.h>.
72485 (__casinhf): Do not do computation with squaring and square root
72486 for large arguments.
72487 * math/s_casinhl.c: Include <float.h>.
72488 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
72489 (__casinhl): Do not do computation with squaring and square root
72490 for large arguments.
72491 * math/libm-test.inc (casin_test): Add more tests.
72492 (casinh_test): Likewise.
72493 * sysdeps/i386/fpu/libm-test-ulps: Update.
72494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72495
72496 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
72497
72498 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
72499 (__x86_64_raw_data_cache_size): Likewise.
72500 (__x86_64_data_cache_size_half): Likewise.
72501 (__x86_64_raw_data_cache_size_half): Likewise.
72502 (__x86_64_shared_cache_size): Likewise.
72503 (__x86_64_raw_shared_cache_size): Likewise.
72504 (__x86_64_shared_cache_size_half): Likewise.
72505 (__x86_64_raw_shared_cache_size_half): Likewise.
72506 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
72507 to ...
72508 (__x86_data_cache_size): This.
72509 (__x86_64_raw_data_cache_size): Renamed to ...
72510 (__x86_raw_data_cache_size): This.
72511 (__x86_64_data_cache_size_half): Renamed to ...
72512 (__x86_data_cache_size_half): This.
72513 (__x86_64_raw_data_cache_size_half): Renamed to ...
72514 (__x86_raw_data_cache_size_half): This.
72515 (__x86_64_shared_cache_size): Renamed to ...
72516 (__x86_shared_cache_size): This.
72517 (__x86_64_raw_shared_cache_size): Renamed to ...
72518 (__x86_raw_shared_cache_size): This.
72519 (__x86_64_shared_cache_size_half): Renamed to ...
72520 (__x86_shared_cache_size_half): This.
72521 (__x86_64_raw_shared_cache_size_half): Renamed to ...
72522 (__x86_raw_shared_cache_size_half): This.
72523 * sysdeps/x86_64/memcpy.S: Updated.
72524 * sysdeps/x86_64/memset.S: Likewise.
72525 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
72526 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
72527 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
72528
72529 2013-01-04 David S. Miller <davem@davemloft.net>
72530
72531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72532
72533 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
72534
72535 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
72536 1 to avoid redefinition warning.
72537 (__USE_GNU): Don't define.
72538 (init_signaling_nan): Protoize.
72539
72540 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72541
72542 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
72543
72544 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
72545 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
72546 (__cpymn): Likewise.
72547 (norm): Remove commented code.
72548 (denorm): Likewise.
72549 (__mp_dbl): Likewise.
72550 (__inv): Likewise.
72551 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
72552 (__cpymn): Likewise.
72553 (norm): Remove commented code.
72554 (denorm): Likewise.
72555 (__mp_dbl): Likewise.
72556 (__inv): Likewise.
72557
72558 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
72559 mp_no value for 1.0 and 2.0.
72560 (norm): Use RADIXI instead of radixi.d.
72561 (denorm): Likewise.
72562 (__mul): Use 0.0 instead of zero.d.
72563 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
72564 mp_no value for 1.0 and 2.0.
72565 (norm): Use RADIXI instead of radixi.d.
72566 (denorm): Likewise.
72567 (__mul): Use 0.0 instead of zero.d.
72568
72569 2013-01-04 Joseph Myers <joseph@codesourcery.com>
72570
72571 [BZ #14994]
72572 * math/s_casinh.c (__casinh): Reduce finite argument to first
72573 quadrant then set signs of results at the end.
72574 * math/s_casinhf.c (__casinhf): Likewise.
72575 * math/s_casinhl.c (__casinhl): Likewise.
72576 * math/libm-test.inc (casin_test): Add more tests.
72577 (casinh_test): Likewise.
72578 * sysdeps/i386/fpu/libm-test-ulps: Update.
72579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72580
72581 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
72582
72583 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
72584
72585 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
72586
72587 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
72588 declarations.
72589 (denorm): Likewise.
72590 (__mp_dbl): Likewise.
72591 (__inv): Likewise.
72592
72593 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
72594 and adjust the header comment.
72595
72596 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
72597 variable name from declaration.
72598
72599 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
72600
72601 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72602 Initialize COMMON_CPUID_INDEX_7 element.
72603 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
72604 (CPUID_RTM): Likewise.
72605 (HAS_RTM): Likewise.
72606 (COMMON_CPUID_INDEX_7): New enum.
72607
72608 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
72609
72610 [BZ #14981]
72611 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
72612 size is zero, record memory as freed.
72613
72614 2013-01-03 Andreas Jaeger <aj@suse.de>
72615
72616 * po/ia.po: Add new Interlingua translation.
72617
72618 2012-01-03 Allan McRae <allan@archlinux.org>
72619
72620 * locale/programs/localedef.c: Fix description of '--posix' flag.
72621
72622 2013-01-02 Joseph Myers <joseph@codesourcery.com>
72623
72624 * NEWS: Update dates in second copyright notice.
72625 * README: Update copyright dates in example.
72626 * manual/libc.texinfo: Update copyright dates.
72627 * scripts/test-installation.pl: Update copyright date in --version
72628 output.
72629
72630 * hurd/ctty-input.c: Fix copyright notice formatting.
72631 * hurd/ctty-output.c: Likewise.
72632 * hurd/dtable.c: Likewise.
72633 * hurd/hurd-raise.c: Likewise.
72634 * hurd/hurdprio.c: Likewise.
72635 * hurd/msgportdemux.c: Likewise.
72636 * misc/sys/file.h: Likewise.
72637 * misc/sys/ioctl.h: Likewise.
72638 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
72639 * sysdeps/mach/hurd/chdir.c: Likewise.
72640 * sysdeps/mach/hurd/fchdir.c: Likewise.
72641 * sysdeps/mach/hurd/rename.c: Likewise.
72642 * sysdeps/mach/hurd/rmdir.c: Likewise.
72643 * sysdeps/mach/hurd/seekdir.c: Likewise.
72644 * sysdeps/mach/hurd/setsid.c: Likewise.
72645 * sysdeps/posix/wait3.c: Likewise.
72646
72647 * All files with FSF copyright notices: Update copyright dates
72648 using scripts/update-copyrights.
72649 * intl/plural.c: Regenerated.
72650 * locale/programs/charmap-kw.h: Likewise.
72651 * locale/programs/locfile-kw.h: Likewise.
72652
72653 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
72654
72655 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
72656 four values.
72657
72658 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
72659 calculation loop and add branch prediction.
72660
72661 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
72662 check access beyond bounds of m1np.
72663
72664 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
72665 MPTWO.
72666 (__inv): Remove local variable MPTWO to use the global
72667 constant.
72668 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
72669 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
72670 variable MPTWO.
72671 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
72672 MP3HALFS static const.
72673
72674 2013-01-01 David S. Miller <davem@davemloft.net>
72675
72676 * po/ca.po: Update from translation team.
72677
72678 2013-01-01 Joseph Myers <joseph@codesourcery.com>
72679
72680 * scripts/update-copyrights: New file.
72681 * Makeconfig: Reformat copyright notice.
72682 * ctype/ctype.h: Likewise.
72683 * debug/swprintf_chk.c: Likewise.
72684 * elf/dl-cache.c: Likewise.
72685 * elf/dl-debug.c: Likewise.
72686 * elf/dl-object.c: Likewise.
72687 * grp/initgroups.c: Likewise.
72688 * hurd/Makefile: Likewise.
72689 * hurd/hurd/signal.h: Likewise.
72690 * hurd/hurdfault.c: Likewise.
72691 * hurd/hurdioctl.c: Likewise.
72692 * hurd/hurdlookup.c: Likewise.
72693 * hurd/intr-msg.c: Likewise.
72694 * iconv/gconv_open.c: Likewise.
72695 * libio/swprintf.c: Likewise.
72696 * locale/lc-ctype.c: Likewise.
72697 * locale/nl_langinfo.c: Likewise.
72698 * mach/Machrules: Likewise.
72699 * mach/Makefile: Likewise.
72700 * malloc/obstack.h: Likewise.
72701 * manual/Makefile: Likewise.
72702 * manual/tsort.awk: Likewise.
72703 * misc/bits/stab.def: Likewise.
72704 * nis/nis_print_group_entry.c: Likewise.
72705 * nis/nis_table.c: Likewise.
72706 * nis/nss_compat/compat-pwd.c: Likewise.
72707 * nis/nss_compat/compat-spwd.c: Likewise.
72708 * po/Makefile: Likewise.
72709 * posix/fnmatch.c: Likewise.
72710 * posix/regex.h: Likewise.
72711 * resolv/Makefile: Likewise.
72712 * resolv/nss_dns/dns-network.c: Likewise.
72713 * resolv/res_hconf.c: Likewise.
72714 * scripts/gen-sorted.awk: Likewise.
72715 * soft-fp/soft-fp.h: Likewise.
72716 * stdio-common/printf.h: Likewise.
72717 * stdlib/monetary.h: Likewise.
72718 * stdlib/random.c: Likewise.
72719 * stdlib/random_r.c: Likewise.
72720 * sysdeps/generic/Makefile: Likewise.
72721 * sysdeps/gnu/Makefile: Likewise.
72722 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72723 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72724 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72725 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72726 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72727 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72728 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72729 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72730 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72731 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72732 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
72733 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
72734 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
72735 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
72736 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
72737 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
72738 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
72739 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72740 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72741 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72742 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72743 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72744 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72745 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
72746 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
72747 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
72748 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
72749 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
72750 * sysdeps/mach/hurd/errnos.awk: Likewise.
72751 * sysdeps/mach/hurd/fork.c: Likewise.
72752 * sysdeps/mach/hurd/getcwd.c: Likewise.
72753 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
72754 * sysdeps/mach/hurd/mmap.c: Likewise.
72755 * sysdeps/mach/hurd/utimes.c: Likewise.
72756 * sysdeps/mach/hurd/xmknod.c: Likewise.
72757 * sysdeps/posix/profil.c: Likewise.
72758 * sysdeps/posix/readdir_r.c: Likewise.
72759 * sysdeps/powerpc/bits/mathdef.h: Likewise.
72760 * sysdeps/powerpc/bits/setjmp.h: Likewise.
72761 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
72762 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72763 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72764 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
72765 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72766 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72767 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72768 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
72769 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72770 * sysdeps/pthread/lio_listio.c: Likewise.
72771 * sysdeps/sparc/dl-procinfo.h: Likewise.
72772 * sysdeps/unix/i386/sysdep.S: Likewise.
72773 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
72774 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
72775 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
72776 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
72777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72778 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
72779 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
72780 * sysdeps/unix/sysv/linux/speed.c: Likewise.
72781 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
72782 * sysdeps/wordsize-32/divdi3.c: Likewise.
72783 * time/sys/time.h: Likewise.
72784 * wcsmbs/Makefile: Likewise.
72785
72786 2013-01-01 David S. Miller <davem@davemloft.net>
72787
72788 * po/fr.po: Update from translation team.
72789
72790 * catgets/gencat.c: Update copyright year.
72791 * csu/version.c: Likewise.
72792 * debug/catchsegv.sh: Likewise.
72793 * debug/pcprofiledump.c: Likewise.
72794 * debug/xtrace.sh: Likewise.
72795 * elf/ldconfig.c: Likewise.
72796 * elf/ldd.bash.in: Likewise.
72797 * elf/pldd.c: Likewise.
72798 * elf/sotruss.ksh: Likewise.
72799 * elf/sprof.c: Likewise.
72800 * iconv/iconv_prog.c: Likewise.
72801 * iconv/iconvconfig.c: Likewise.
72802 * locale/programs/locale.c: Likewise.
72803 * locale/programs/localedef.c: Likewise.
72804 * login/programs/pt_chown.c: Likewise.
72805 * malloc/memusage.sh: Likewise.
72806 * malloc/memusagestat.c: Likewise.
72807 * malloc/mtrace.pl: Likewise.
72808 * nscd/nscd.c: Likewise.
72809 * nss/getent.c: Likewise.
72810 * nss/makedb.c: Likewise.
72811 * posix/getconf.c: Likewise.
72812
72813 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
72814
72815 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
72816 numbers.
72817
72818 2012-12-30 Mike Frysinger <vapier@gentoo.org>
72819
72820 * math/bits/mathcalls.h (modf): Use __nonnull.
72821
72822 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
72823
72824 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
72825 (split): Use macro CN instead of the bare value.
72826 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
72827 could be used.
72828 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
72829 instead of the bare value.
72830 (power1): Likewise.
72831
72832 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
72833
72834 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
72835 __ATAN_TWOM.
72836 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72837
72838 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
72839 their values.
72840 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
72841 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
72842 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
72843 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
72844
72845 2012-12-28 Andreas Jaeger <aj@suse.de>
72846
72847 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
72848 values are from Linux 3.7.
72849
72850 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
72851 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
72852
72853 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
72854
72855 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
72856 TRUE case.
72857
72858 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
72859 (norm): Likewise.
72860 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
72861 variables with preprocessor constants.
72862 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72863 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
72864 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
72865
72866 2012-12-27 Bruno Haible <bruno@clisp.org>
72867
72868 [BZ #14317]
72869 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
72870 only if needed.
72871
72872 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
72873
72874 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
72875 and use variable directly.
72876 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
72877
72878 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
72879 MPONE.
72880 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
72881 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
72882 variable MPONE.
72883 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
72884 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
72885 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
72886 include directive. Remove local variable MPONE.
72887 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
72888 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
72889 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
72890
72891 2012-12-25 David S. Miller <davem@davemloft.net>
72892
72893 * version.h (RELEASE): Set to "development".
72894 (VERSION): Set to "2.17.90".
72895 * NEWS: Add 2.18 section.
72896
72897 2012-12-21 David S. Miller <davem@davemloft.net>
72898
72899 * po/hr.po: Update from translation team.
72900
72901 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
72902
72903 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
72904
72905 2012-12-19 Steve Ellcey <sellcey@mips.com>
72906
72907 * NEWS: Mention new memcpy for MIPS.
72908
72909 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
72910
72911 * manual/contrib.texi (Contributors): Spelling correction.
72912
72913 2012-12-15 David S. Miller <davem@davemloft.net>
72914
72915 * po/ru.po: Update from translation team.
72916
72917 2012-12-13 David S. Miller <davem@davemloft.net>
72918
72919 * NEWS: Mention IFUNC testsuite enhancements.
72920
72921 * po/pl.po: Update from translation team.
72922 * po/bg.po: Likewise.
72923
72924 * manual/contrib.texi (Contributors): Update entries for Hongjiu
72925 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
72926
72927 2012-12-11 David S. Miller <davem@davemloft.net>
72928
72929 * po/sv.po: Update from translation team.
72930
72931 * po/vi.po: Update from translation team.
72932
72933 * po/cs.po: Update from translation team.
72934
72935 * po/de.po: Update from translation team.
72936 * po/eo.po: Likewise.
72937 * po/nl.po: Likewise.
72938
72939 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
72940
72941 [BZ #14246]
72942 * manual/argp.texi (Argp Helper Functions): Move node to follow
72943 Argp Parsing State.
72944
72945 [BZ #14872]
72946 * manual/conf.texi (Limits on File System Capacity): Mention if
72947 terminating null is included in the max size.
72948
72949 2012-12-10 Andreas Jaeger <aj@suse.de>
72950
72951 * po/cs.po: Update from translation team.
72952
72953 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
72954
72955 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
72956 void pointer and cast to uintptr_t.
72957 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
72958 path.
72959 * sysdeps/s390/s390-64/memcpy.S: Likewise.
72960 * sysdeps/s390/s390-64/memset.S: Likewise.
72961
72962 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
72963
72964 [BZ #14833]
72965 * menual/message.texi (Message Translation): Fix typos.
72966 (Helper programs for gettext): Likewise.
72967
72968 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
72969
72970 [BZ #14898]
72971 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
72972 Change to -1.
72973
72974 2012-12-07 David S. Miller <davem@davemloft.net>
72975
72976 * po/libc.pot: Update.
72977
72978 2012-12-07 Richard Henderson <rth@redhat.com>
72979
72980 [BZ #10114]
72981 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
72982 normal/normal case to before the switch.
72983 (_FP_DIV): Likewise.
72984
72985 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
72986 Mike Frysinger <vapier@gentoo.org>
72987
72988 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
72989 check for __NR_fadvise64_64.
72990
72991 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
72992
72993 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
72994 0, not just to plain "0" as a statement.
72995 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
72996 with cw.
72997
72998 2012-12-06 Joseph Myers <joseph@codesourcery.com>
72999
73000 * NEWS: Use sourceware.org in Bugzilla URL.
73001
73002 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
73003
73004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
73005 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73006
73007 * stdio-common/tst-put-error.c (do_test): Add newline to the
73008 padded test to ensure flush.
73009
73010 2012-12-05 Jeff Law <law@redhat.com>
73011
73012 * sunrpc/etc.rpc (fedfs_admin): Add entry.
73013
73014 2012-12-05 Joseph Myers <joseph@codesourcery.com>
73015
73016 * README: Don't refer to ports add-on as distributed separately.
73017 Mention AArch64 in list of systems supported in the ports add-on.
73018
73019 * LICENSES: Add more non-FSF copyright and license notices.
73020
73021 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
73022 ((unused)).
73023
73024 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
73025
73026 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
73027 10000 as width of padded output.
73028
73029 2012-12-04 Joseph Myers <joseph@codesourcery.com>
73030
73031 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
73032
73033 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
73034 variable LX with __attribute__ ((unused)).
73035 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
73036 Likewise.
73037 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
73038 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73039 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
73040 with __attribute__ ((unused)).
73041
73042 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
73043
73044 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
73045
73046 2012-12-04 Joseph Myers <joseph@codesourcery.com>
73047
73048 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
73049 (CFLAGS-nldbl-acos.c): New variable.
73050 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
73051 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
73052 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
73053 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
73054 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
73055 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
73056 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
73057 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
73058 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
73059 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
73060 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
73061 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
73062 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
73063 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
73064 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
73065 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
73066 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
73067 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
73068 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
73069 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
73070 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
73071 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
73072 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
73073 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
73074 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
73075 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
73076 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
73077 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
73078 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
73079 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
73080 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
73081 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
73082 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
73083 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
73084 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
73085 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
73086 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
73087 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
73088 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
73089 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
73090 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
73091 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
73092 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
73093 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
73094 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
73095 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
73096 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
73097 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
73098 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
73099 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
73100 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
73101 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
73102 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
73103 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
73104 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
73105 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
73106 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
73107 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
73108 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
73109 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
73110 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
73111 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
73112 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
73113 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
73114 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
73115 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
73116 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
73117 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
73118 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
73119 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
73120 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
73121 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
73122 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
73123 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
73124 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
73125 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
73126 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
73127 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
73128 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
73129 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
73130 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
73131 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
73132 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
73133 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
73134 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
73135 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
73136 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
73137 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
73138 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
73139 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
73140 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
73141 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
73142 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
73143 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
73144 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
73145 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
73146 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
73147
73148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
73149 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73150
73151 [BZ #14914]
73152 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
73153 whole low double instead of just low 47 bits when splitting values
73154 into two parts.
73155
73156 2012-12-03 Allan McRae <allan@archlinux.org>
73157
73158 * manual/stdio.texi (Predefined Printf Handlers): Remove
73159 @hsep and @vsep usage.
73160
73161 2012-12-03 Mike Frysinger <vapier@gentoo.org>
73162
73163 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
73164 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
73165
73166 2012-12-03 Jeff Law <law@redhat.com>
73167
73168 * time/sys/time.h (settimeofday): Do not mark TV argument
73169 as __nonnull.
73170
73171 2012-12-01 Mike Frysinger <vapier@gentoo.org>
73172
73173 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
73174 when currently writing and seek to current position when not.
73175 * libio/Makefile (tests): Remove bug-fclose1.
73176 * libio/bug-fclose1.c: Delete.
73177
73178 2012-12-01 Joseph Myers <joseph@codesourcery.com>
73179
73180 * manual/arith.texi (feenableexcept): Fix typo.
73181 (fedisableexcept): Likewise.
73182
73183 2012-11-30 Roland McGrath <roland@hack.frob.com>
73184
73185 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
73186 second, differently-typed declaration, rather than a cast.
73187
73188 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
73189
73190 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
73191 * include/rpc/svc.h: ... here.
73192
73193 2012-11-30 Aurelien Jarno <aurel32@debian.org>
73194
73195 [BZ #13013]
73196 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
73197 depending n and resplen2 to catch cases where answer
73198 equals answerp2.
73199
73200 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
73201
73202 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
73203 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
73204
73205 2012-11-29 Mike Frysinger <vapier@gentoo.org>
73206
73207 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
73208
73209 2012-11-29 Roland McGrath <roland@hack.frob.com>
73210
73211 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
73212
73213 2012-11-28 Jeff Law <law@redhat.com>
73214
73215 [BZ #13761]
73216 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
73217 dataset_temporary. Track alloca usage into alloca_used.
73218 If dataset is large allocate and release it via malloc/free.
73219
73220 2012-06-04 Florian Weimer <fweimer@redhat.com>
73221
73222 [BZ #14197]
73223 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
73224
73225 2012-11-28 David S. Miller <davem@davemloft.net>
73226
73227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73228
73229 2012-11-28 Joseph Myers <joseph@codesourcery.com>
73230
73231 [BZ #14803]
73232 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
73233 of pi/2 rounded to nearest to 64 bits.
73234 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
73235 nearest to 64 bits.
73236 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
73237 bits.
73238
73239 2012-11-28 Jeff Law <law@redhat.com>
73240 Martin Osvald <mosvald@redhat.com>
73241
73242 [BZ #14889]
73243 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
73244 * sunrpc/svc.c: Include time.h.
73245 (__svc_accept_failed): New function.
73246 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
73247 any reason other than EINTR, call __svc_accept_failed.
73248 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
73249 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
73250
73251 2012-11-28 Andreas Schwab <schwab@suse.de>
73252
73253 * scripts/abilist.awk: Also handle indirect functions in .opd
73254 section.
73255
73256 2012-11-28 Joseph Myers <joseph@codesourcery.com>
73257
73258 [BZ #13881]
73259 * sysdeps/x86/fpu/powl_helper.c: New file.
73260 * sysdeps/x86/fpu/Makefile: Likewise.
73261 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
73262 (p3): New object.
73263 (__ieee754_powl): Use __powl_helper for finite arguments except
73264 integer exponents below 8.
73265 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
73266 (p3): New object.
73267 (__ieee754_powl): Use __powl_helper for finite arguments except
73268 integer exponents below 8.
73269 * math/libm-test.inc (pow_test): Add more tests and enable some
73270 previously disabled tests.
73271 * sysdeps/i386/fpu/libm-test-ulps: Update.
73272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73273
73274 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
73275 Carlos O'Donell <carlos_odonell@mentor.com>
73276
73277 * nss/makedb.c (is_prime): Assert that input is odd and greater
73278 than 4. Note that fact in a comment too.
73279 (next_prime): Add 4 to input.
73280
73281 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
73282
73283 [BZ #11741]
73284 * libio/Makefile (tests): Add test case tst-fwrite-error.
73285 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
73286 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
73287 * libio/tst-fwrite-error.c: New test case.
73288
73289 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
73290
73291 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
73292 before casting to void *.
73293 * include/libc-internal.h (__pointer_type): New macro.
73294 (__integer_if_pointer_type_sub): Likewise.
73295 (__integer_if_pointer_type): Likewise.
73296 (cast_to_integer): Likewise.
73297 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
73298 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
73299 before casting to atomic64_t.
73300 (atomic_exchange_acq): Likewise.
73301 (__arch_exchange_and_add_body): Likewise.
73302 (__arch_add_body): Likewise.
73303 (atomic_add_negative): Likewise.
73304 (atomic_add_zero): Likewise.
73305
73306 2012-11-26 Joseph Myers <joseph@codesourcery.com>
73307
73308 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
73309 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
73310 (add_fdes): Likewise.
73311 (linear_search_fdes): Likewise.
73312 (binary_search_unencoded_fdes): Likewise.
73313
73314 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
73315
73316 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
73317
73318 2012-11-24 Adam Conrad <adconrad@0c3.net>
73319
73320 * configure.in: Autodetect C++ header directories.
73321 * configure: Regenerated.
73322
73323 2012-11-23 Mike Frysinger <vapier@gentoo.org>
73324
73325 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
73326
73327 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
73328
73329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73330
73331 2012-11-22 Joseph Myers <joseph@codesourcery.com>
73332
73333 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
73334 LDBL_MANT_DIG == 106]: Disable some tests.
73335 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73336 Likewise.
73337 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73338 Likewise.
73339
73340 [BZ #14871]
73341 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
73342 input for small inputs. Return +/- pi/2 for large inputs.
73343 * math/libm-test.inc (atan_test): Add more tests.
73344
73345 * sysdeps/generic/unwind-dw2-fde-glibc.c
73346 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
73347 __attribute__ ((unused)).
73348
73349 [BZ #14645]
73350 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
73351 x * y if x and y are nonzero and z is zero.
73352
73353 [BZ #14811]
73354 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
73355 nonzero exponents with absolute value below 0x1p-117 to +/-
73356 0x1p-117.
73357
73358 [BZ #14869]
73359 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
73360 up arguments below 2**-450, not just those below 2**-500.
73361 * math/libm-test.inc (hypot_test): Add another test.
73362
73363 [BZ #14868]
73364 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
73365 Return a+b for ratio over 2**120, not 2**60.
73366 * math/libm-test.inc (hypot_test): Add another test.
73367
73368 * math/libm-test.inc (clog_test): Use
73369 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
73370 (clog10_test): Likewise.
73371
73372 [BZ #6778]
73373 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
73374
73375 2012-11-22 Andreas Schwab <schwab@suse.de>
73376
73377 * sysdeps/i386/fpu/libm-test-ulps: Update.
73378
73379 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
73380
73381 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
73382 printf output with newline.
73383
73384 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
73385
73386 [BZ #14865]
73387 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
73388 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
73389 -z nodlopen, -z initfirst and -z execstack support.
73390 * configure: Regenerated.
73391
73392 * elf/elf.h (DF_1_NODIRECT): New macro.
73393 (DF_1_IGNMULDEF): Likewise.
73394 (DF_1_NOKSYMS): Likewise.
73395 (DF_1_NOHDR): Likewise.
73396 (DF_1_EDITED): Likewise.
73397 (DF_1_NORELOC): Likewise.
73398 (DF_1_SYMINTPOSE): Likewise.
73399 (DF_1_GLOBAUDIT): Likewise.
73400 (DF_1_SINGLETON): Likewise.
73401 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
73402 DT_1_SUPPORTED_MASK bits.
73403 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
73404
73405 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
73406
73407 * sysdeps/unix/make-syscalls.sh: Document prefixes.
73408
73409 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
73410
73411 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
73412 macro.
73413
73414 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
73415 (sendmmsg): Move declarations...
73416 * socket/sys/socket.h: ... here.
73417 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
73418 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
73419 include it from...
73420 * socket/recvmmsg.c: ... this new file.
73421 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
73422 (sendmmsg): Rename to __sendmmsg, create weak alias and make
73423 definition of __sendmmsg hidden.
73424 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
73425 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
73426 Move ENOSYS stub into and include it from...
73427 * socket/sendmmsg.c: ... this new file.
73428 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
73429 (sysdep_routines): Move recvmmsg and sendmmsg...
73430 * socket/Makefile (routines): ... here.
73431 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
73432 (GLIBC_PRIVATE): Add __sendmmsg.
73433 * include/sys/socket.h (__sendmmsg): Add declarations.
73434 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
73435 sendmmsg.
73436
73437 2012-11-20 Joseph Myers <joseph@codesourcery.com>
73438
73439 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
73440 variable I1 with __attribute__ ((unused)).
73441 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73442
73443 2012-11-19 Joseph Myers <joseph@codesourcery.com>
73444
73445 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
73446 DUMMY variables with __attribute__ ((unused)).
73447
73448 * bits/byteswap.h: Include <bits/types.h>.
73449 (__bswap_64): Use __uint64_t instead of unsigned long long int.
73450
73451 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
73452
73453 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
73454 string_t. Do not manually set errno.
73455 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
73456 length with __strnlen. Make sure to both set errno and return it on
73457 failure.
73458
73459 2012-11-19 David S. Miller <davem@davemloft.net>
73460
73461 With help from Joseph Myers.
73462 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
73463 very large arguments properly.
73464 * math/libm-test.inc (atan_test): New tests.
73465 (atan2_test): New tests.
73466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73467 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73468
73469 2012-11-19 Joseph Myers <joseph@codesourcery.com>
73470
73471 [BZ #14856]
73472 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
73473 Define to 3.
73474
73475 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
73476 [POSIX] (EADDRNOTAVAIL): Likewise.
73477 [POSIX] (EAFNOSUPPORT): Likewise.
73478 [POSIX] (EALREADY): Likewise.
73479 [POSIX] (ECONNABORTED): Likewise.
73480 [POSIX] (ECONNREFUSED): Likewise.
73481 [POSIX] (ECONNRESET): Likewise.
73482 [POSIX] (EDESTADDRREQ): Likewise.
73483 [POSIX] (EDQUOT): Likewise.
73484 [POSIX] (EHOSTUNREACH): Likewise.
73485 [POSIX] (EIDRM): Likewise.
73486 [POSIX] (EISCONN): Likewise.
73487 [POSIX] (ELOOP): Likewise.
73488 [POSIX] (EMULTIHOP): Likewise.
73489 [POSIX] (ENETDOWN): Likewise.
73490 [POSIX] (ENETUNREACH): Likewise.
73491 [POSIX] (ENOBUFS): Likewise.
73492 [POSIX] (ENODATA): Likewise.
73493 [POSIX] (ENOLINK): Likewise.
73494 [POSIX] (ENOMSG): Likewise.
73495 [POSIX] (ENOPROTOOPT): Likewise.
73496 [POSIX] (ENOSR): Likewise.
73497 [POSIX] (ENOSTR): Likewise.
73498 [POSIX] (ENOTCONN): Likewise.
73499 [POSIX] (ENOTSOCK): Likewise.
73500 [POSIX] (EOPNOTSUPP): Likewise.
73501 [POSIX] (EOVERFLOW): Likewise.
73502 [POSIX] (EPROTO): Likewise.
73503 [POSIX] (EPROTONOSUPPORT): Likewise.
73504 [POSIX] (EPROTOTYPE): Likewise.
73505 [POSIX] (ESTALE): Likewise.
73506 [POSIX] (ETIME): Likewise.
73507 [POSIX] (ETXTBSY): Likewise.
73508 [POSIX] (EWOULDBLOCK): Likewise.
73509 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
73510 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
73511 [POSIX] (SEEK_CUR): Likewise.
73512 [POSIX] (SEEK_END): Likewise.
73513 [POSIX || UNIX98] (mode_t): Do not require.
73514 [POSIX] (off_t): Likewise.
73515 [POSIX] (pid_t): Likewise.
73516 [POSIX] (sys/stat.h): Do not allow header.
73517 [POSIX] (unistd.h): Likewise.
73518 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
73519 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
73520 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
73521 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
73522 require.
73523 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
73524 sigevent): Specify elements.
73525 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
73526 entry.
73527 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
73528 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
73529
73530 * conform/data/cpio.h-data [POSIX]: Disable whole file.
73531 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
73532 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
73533 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
73534 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
73535 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
73536 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
73537 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
73538 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
73539 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
73540 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
73541 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
73542 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
73543 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
73544 Likewise.
73545 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
73546 Likewise.
73547 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
73548 Likewise.
73549 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
73550 Likewise.
73551 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
73552 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
73553 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
73554 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
73555 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
73556 Specify lower bound on value.
73557 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
73558 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
73559 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
73560 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
73561 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
73562 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
73563 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
73564 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
73565 value.
73566 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
73567 as optional.
73568 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
73569 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
73570 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
73571 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
73572 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
73573 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
73574 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
73575 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
73576 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
73577 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
73578 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
73579 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
73580 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
73581 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
73582 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
73583 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
73584 entry.
73585 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
73586 optional.
73587 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
73588 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
73589 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
73590 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
73591 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
73592 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
73593 Likewise.
73594 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
73595 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
73596 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
73597 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
73598 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
73599 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
73600 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
73601 as optional.
73602 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
73603 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
73604 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
73605 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
73606 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
73607 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
73608 specify as optional.
73609 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
73610 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
73611 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
73612 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
73613 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
73614 [XPG3] (NL_LANGMAX): Likewise.
73615 [POSIX || XPG3] (NL_MSGMAX): Likewise.
73616 [POSIX || XPG3] (NL_NMAX): Likewise.
73617 [POSIX || XPG3] (NL_SETMAX): Likewise.
73618 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
73619 [XPG3] (NZERO): Likewise.
73620 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
73621 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
73622 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
73623 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
73624 (REG_ERANGE): Expect.
73625 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
73626 optional-constant.
73627 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
73628 Use (void) in prototype.
73629 [POSIX] (*_t): Allow.
73630 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
73631 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
73632 (WRDE_BADVAL): Expect.
73633
73634 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
73635 expect.
73636 [XPG3 || XPG4] (O_RSYNC): Likewise.
73637 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
73638 Likewise.
73639 [XPG3 || XPG4] (pthread_sigmask): Likewise.
73640 [XPG3 || XPG4] (sigqueue): Likewise.
73641 [XPG3 || XPG4] (sigtimedwait): Likewise.
73642 [XPG3 || XPG4] (sigwaitinfo): Likewise.
73643 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
73644 [XPG3 || XPG4] (vsnprintf): Likewise.
73645 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
73646 Likewise.
73647 [XPG3 || XPG4] (blksize_t): Likewise.
73648 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
73649 Likewise.
73650 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
73651 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
73652 [XPG3 || XPG4] (struct itimerspec): Likewise.
73653 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
73654 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
73655 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
73656 [XPG3 || XPG4] (clockid_t): Likewise.
73657 [XPG3 || XPG4] (timer_t): Likewise.
73658 [XPG3 || XPG4] (clock_getres): Likewise.
73659 [XPG3 || XPG4] (clock_gettime): Likewise.
73660 [XPG3 || XPG4] (clock_settime): Likewise.
73661 [XPG3 || XPG4] (nanosleep): Likewise.
73662 [XPG3 || XPG4] (timer_create): Likewise.
73663 [XPG3 || XPG4] (timer_delete): Likewise.
73664 [XPG3 || XPG4] (timer_gettime): Likewise.
73665 [XPG3 || XPG4] (timer_getoverrun): Likewise.
73666 [XPG3 || XPG4] (timer_settime): Likewise.
73667 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
73668 [XPG3 || XPG4] (getlogin_r): Likewise.
73669 [XPG3 || XPG4] (pread): Likewise.
73670 [XPG3 || XPG4] (pthread_atfork): Likewise.
73671 [XPG3 || XPG4] (pwrite): Likewise.
73672
73673 [BZ #14835]
73674 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
73675 <bits/siginfo.h>.
73676
73677 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
73678
73679 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
73680 finalizing MALLSTREAM.
73681
73682 * sysdeps/mach/hurd/syncfs.c: New file.
73683
73684 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
73685
73686 [BZ #14719]
73687 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
73688 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
73689 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
73690 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
73691 (_nss_dns_gethostbyname4_r): Likewise.
73692 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
73693 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
73694
73695 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
73696
73697 [BZ #13763]
73698 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
73699
73700 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
73701
73702 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
73703 * elf/cache.c (print_entry): Print ",AArch64" for
73704 FLAG_AARCH64_LIB64
73705
73706 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
73707 * elf/cache.c (print_entry): Print ",hard-float" for
73708 FLAG_ARM_LIBHF.
73709
73710 2012-11-18 David S. Miller <davem@davemloft.net>
73711
73712 With help from Joseph Myers.
73713 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
73714 cutoff to 2**-13.
73715 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
73716 cutoff to 2**-25.
73717 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
73718 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
73719 small.
73720 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
73721 * math/libm-test.inc (y0_test): New tests.
73722 (y1_test): New tests.
73723 * sysdeps/i386/fpu/libm-test-ulps: Update.
73724 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73726
73727 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
73728
73729 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
73730 64-bit targets.
73731 * configure: Regenerated.
73732
73733 2012-11-17 David S. Miller <davem@davemloft.net>
73734
73735 [BZ #14811]
73736 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
73737 nonzero exponents with absolute value below 0x1p-128 to +/-
73738 0x1p-128.
73739
73740 2012-11-17 Joseph Myers <joseph@codesourcery.com>
73741
73742 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
73743
73744 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
73745
73746 * posix/getconf-speclist.c: New file.
73747 * posix/posix-envs.def: Likewise.
73748 * posix/confstr.c (START_ENV_GROUP): New macro.
73749 (END_ENV_GROUP): Likewise.
73750 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
73751 (KNOWN_PRESENT_ENV_STRING): Likewise.
73752 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
73753 (UNKNOWN_ENVIRONMENT): Likewise.
73754 (confstr): Include posix-envs.def instead of handling
73755 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
73756 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
73757 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
73758 (END_ENV_GROUP): Likewise.
73759 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
73760 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
73761 (UNKNOWN_ENVIRONMENT): Likewise.
73762 (__sysconf): Include posix-envs.def instead of handling associated
73763 cases directly here.
73764 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
73765 preprocessing getconf-speclist.c rather than running getconf or
73766 generating empty file.
73767
73768 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
73769
73770 * scripts/check-local-headers.sh: Ignore 'mach' headers.
73771
73772 2012-11-16 Andrej Lajovic <natrij@gmail.com>
73773
73774 [BZ #14672]
73775 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
73776
73777 2012-11-16 David S. Miller <davem@davemloft.net>
73778
73779 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
73780 smaller than LDBL_EPSILON/2.0L, just return xm1.
73781
73782 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
73783
73784 * elf/tst-array1.c (init): Set constructor priority to 1000.
73785 (fini): Set destructor priority to 1000.
73786 * elf/tst-array2dep.c: Likewise.
73787
73788 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
73789
73790 [BZ #11741]
73791 * libio/fileops.c (_IO_new_file_write): Correctly return error.
73792 (_IO_new_file_xsputn): Also return EOF if none of the input
73793 data was written when overflow failed.
73794 * libio/iopadn.c (_IO_padn): Likewise.
73795 * libio/iowpadn.c (_IO_wpadn): Likewise.
73796 * stdio-common/tst-put-error.c: Add copyright notice.
73797 (do_test): Add case for printing padded string.
73798 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
73799 _IO_padn returned error.
73800 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
73801 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
73802 return EOF.
73803
73804 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
73805
73806 * libio/libioP.h: Add comment note that the references to C++
73807 bits are now obsolete.
73808
73809 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
73810
73811 * math/libm-test.inc (check_complex): Use asprintf.
73812
73813 2012-11-14 Joseph Myers <joseph@codesourcery.com>
73814
73815 * debug/pcprofiledump.c (print_version): Update copyright year.
73816 * malloc/memusagestat.c (print_version): Likewise.
73817
73818 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
73819
73820 [BZ #14831]
73821 * elf/Makefile (tests): Add tst-audit8.
73822 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
73823 ($(objpfx)tst-audit8.out): New target.
73824 (tst-audit8-ENV): New variable.
73825 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
73826 audit if l_reloc_result is NULL.
73827 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
73828 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
73829 * elf/tst-audit8.c: New file.
73830
73831 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
73832
73833 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
73834 * misc/Makefile (CFLAGS-select.c): Define.
73835 * posix/Makefile (CFLAGS-pause.c): Define.
73836
73837 2012-11-13 David S. Miller <davem@davemloft.net>
73838
73839 * crypt/Makefile: Move test targets after toplevel Rules
73840 inclusion. Grab any necessary sysdep routines when linking.
73841 * crypt/md5.c (md5_process_block): Remove define, we will always
73842 name it __md5_process_block.
73843 (md5_finish_ctx): Update md5_process_block call.
73844 (md5_stream): Likewise.
73845 (md5_process_bytes): Likewise.
73846 (md5_process_block): Rename to __md5_process_block and move to ...
73847 * crypt/md5-block.c: ... here.
73848 * crypt/sha256.c (sha256_process_block): Move to ...
73849 * crypt/sha256-block.c: ... here.
73850 * crypt/sha512.c (sha512_process_block): Move to ...
73851 * crypt/sha512-block.c: ... here.
73852 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
73853 path.
73854 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
73855 * sysdeps/sparc/sparc64/multiarch/Makefile
73856 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
73857 crypt subdir.
73858 (localedef-aux): Add md5 crypto assembler when in locale subdir.
73859 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
73860 multiarch changes.
73861 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
73862 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
73863 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
73864 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
73865 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
73866 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
73867 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
73868 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
73869 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
73870 file.
73871 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
73872 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
73873 file.
73874 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
73875
73876 2012-11-13 Joseph Myers <joseph@codesourcery.com>
73877
73878 * timezone/tzselect.ksh: Update from tzcode git revision
73879 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
73880 * timezone/zdump.c: Likewise.
73881 * timezone/zic.c: Likewise.
73882 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
73883 in TZVERSION setting, not $(PKGVERSION).
73884 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
73885 REPORT_BUGS_TO settings.
73886
73887 [BZ #14838]
73888 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
73889 macro.
73890
73891 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
73892
73893 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
73894 detection to immediately after _FP_ROUND().
73895 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
73896 bits are 0.
73897
73898 2012-11-11 David S. Miller <davem@davemloft.net>
73899
73900 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
73901 inttypes.h
73902 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
73903 __close rather than their public counterparts.
73904
73905 2012-11-10 Joseph Myers <joseph@codesourcery.com>
73906
73907 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
73908 file.
73909 [UNIX98] (sem_timedwait): Do not expect.
73910 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
73911 [XPG4 || UNIX98] (sockatmark): Do not expect.
73912 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
73913 (clock_getcpuclockid): Do not expect.
73914 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
73915 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
73916 Do not expect.
73917 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
73918 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
73919 [UNIX98] (vwscanf): Likewise.
73920 [UNIX98] (vswscanf): Likewise.
73921
73922 2012-11-09 Joseph Myers <joseph@codesourcery.com>
73923
73924 * timezone/version.h: Remove file.
73925 * timezone/README: Do not refer to version.h.
73926 * timezone/Makefile ($(objpfx)zic.o): New dependency on
73927 $(objpfx)version.h.
73928 ($(objpfx)zdump.o): Likewise.
73929 ($(objpfx)version.h): New target.
73930
73931 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
73932 2012i.
73933 * timezone/README: Don't mention modification to tzselect.ksh.
73934 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
73935 work on unmodified tzselect.ksh. Substitute version numbers in
73936 tzselect.ksh.
73937
73938 * Makefile (format-me): Remove.
73939 (INSTALL): Adjust indentation. Use commands directly instead of
73940 using $(format-me).
73941
73942 * aclocal.m4 (ACX_PKGVERSION): New macro.
73943 (ACX_BUGURL): Likewise.
73944 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
73945 (PKGVERSION): New AC_DEFINE_UNQUOTED.
73946 (REPORT_BUGS_TO): Likewise.
73947 * configure: Regenerated.
73948 * config.h.in (PKGVERSION): New macro.
73949 (REPORT_BUGS_TO): Likewise.
73950 * config.make.in (PKGVERSION): New variable.
73951 (PKGVERSION_TEXI): Likewise.
73952 (REPORT_BUGS_TO): Likewise.
73953 (REPORT_BUGS_TEXI): Likewise.
73954 * Makefile (format-me): Use -I$(common-objpfx)manual.
73955 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
73956 ($(common-objpfx)manual/%): New target.
73957 (manual/%): Remove target.
73958 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
73959 (print_version): Use PKGVERSION.
73960 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
73961 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
73962 and REPORT_BUGS_TO.
73963 ($(objpfx)xtrace): Likewise.
73964 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
73965 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
73966 (print_version): Use PKGVERSION.
73967 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
73968 (do_version): Use PKGVERSION.
73969 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
73970 REPORT_BUGS_TO.
73971 (common-ldd-rewrite): Likewise.
73972 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
73973 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
73974 (print_version): Use PKGVERSION.
73975 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
73976 * elf/pldd.c (argp_program_bug_address): Remove variable.
73977 (more_help): New function.
73978 (argp): Use more_help.
73979 (print_version): Use PKGVERSION.
73980 * elf/sln.c (main): Use PKGVERSION.
73981 (usage): Use REPORT_BUGS_TO.
73982 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
73983 (top level): Use PKGVERSION.
73984 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
73985 (print_version): Use PKGVERSION.
73986 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
73987 (print_version): Use PKGVERSION.
73988 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
73989 (print_version): Use PKGVERSION.
73990 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
73991 (print_version): Use PKGVERSION.
73992 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
73993 (print_version): Use PKGVERSION.
73994 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
73995 (print_version): Use PKGVERSION.
73996 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
73997 and BUGURL.
73998 ($(objpfx)memusage): Likewise.
73999 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
74000 (do_version): Use PKGVERSION.
74001 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
74002 (print_version): Use PKGVERSION.
74003 * malloc/mtrace.pl ($PACKAGE): Remove variable.
74004 ($PKGVERSION): New variable.
74005 ($REPORT_BUGS_TO): Likewise.
74006 (usage): Use $REPORT_BUGS_TO.
74007 (top level): Use $PKGVERSION.
74008 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
74009 ($(objpfx)pkgvers.texi): New rule.
74010 ($(objpfx)stamp-pkgvers): Likewise.
74011 * manual/install.texi: Include pkgvers.texi.
74012 (--with-pkgversion): Document new configure option.
74013 (--with-bugurl): Likewise.
74014 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
74015 than necessarily for this particular distribution. Use
74016 REPORT_BUGS_TO for where to report bugs.
74017 * INSTALL: Regenerated.
74018 * manual/libc.texinfo: Include pkgvers.texi.
74019 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
74020 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
74021 (print_version): Use PKGVERSION.
74022 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
74023 (print_version): Use PKGVERSION.
74024 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
74025 (print_version): Use PKGVERSION.
74026 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
74027 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
74028 macro.
74029 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
74030 (print_version): Use PKGVERSION.
74031 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
74032 (print_version): Use PKGVERSION.
74033 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
74034 and PKGVERSION.
74035
74036 * timezone/checktab.awk: Update from tzcode 2012i.
74037 * timezone/ialloc.c: Likewise.
74038 * timezone/private.h: Likewise.
74039 * timezone/scheck.c: Likewise.
74040 * timezone/tzfile.h: Likewise.
74041 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
74042 (TZVERSION): Hardcode tzcode version number.
74043 * timezone/zdump.c: Update from tzcode 2012i.
74044 * timezone/zic.c: Likewise.
74045 * timezone/version.h: New file.
74046 * timezone/README: Describe version.h. Update upstream location.
74047
74048 [BZ #14824]
74049 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
74050 (mktemp): Enable declaration.
74051 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
74052 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
74053 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
74054 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
74055 Likewise.
74056 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
74057 Likewise.
74058 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
74059 Likewise.
74060 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
74061 Likewise.
74062 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
74063 Likewise.
74064 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
74065 Likewise.
74066
74067 [BZ #14821]
74068 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
74069 offset in buffer as u_int32_t not u_long. Consistently use memcpy
74070 for copies of such integer values.
74071 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
74072 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
74073
74074 2012-11-09 Andreas Jaeger <aj@suse.de>
74075
74076 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
74077 definitions and declarations that are provided by
74078 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
74079
74080 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74081
74082 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
74083 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
74084 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
74085 definition.
74086
74087 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74088
74089 * elf/elf.h: Update comment before AArch64 relocations.
74090
74091 2012-11-07 David S. Miller <davem@davemloft.net>
74092
74093 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
74094 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
74095 (__start_context): Declare.
74096 (__makecontext_ret): Delete.
74097 (__makecontext): Hook up __start_context instead of
74098 __makecontext_ret.
74099 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
74100 (sysdep_routines): Add __start_context when in stdlib.
74101
74102 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74103
74104 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
74105 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
74106 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
74107 hardcoded "nm".
74108 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
74109 (READELF): New variable. Use it instead of hardcoded "readelf".
74110
74111 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
74112
74113 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
74114 * sysdeps/x86/Makefile: Here.
74115 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
74116 * sysdeps/x86/tst-xmmymm.sh: This.
74117
74118 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74119
74120 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
74121 expectations.
74122 [UNIX98] (pthread_barrier_t): Do not expect.
74123 [UNIX98] (pthread_barrierattr_t): Likewise.
74124 [UNIX98] (pthread_spinlock_t): Likewise.
74125 [UNIX98] (pthread_barrier_destroy): Likewise.
74126 [UNIX98] (pthread_barrier_init): Likewise.
74127 [UNIX98] (pthread_barrier_wait): Likewise.
74128 [UNIX98] (pthread_barrierattr_destroy): Likewise.
74129 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
74130 [UNIX98] (pthread_barrierattr_init): Likewise.
74131 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
74132 [UNIX98] (pthread_getcpuclockid): Likewise.
74133 [UNIX98] (pthread_mutex_timedlock): Likewise.
74134 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
74135 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
74136 [UNIX98] (pthread_sigmask): Likewise.
74137 [UNIX98] (pthread_spin_destroy): Likewise.
74138 [UNIX98] (pthread_spin_init): Likewise.
74139 [UNIX98] (pthread_spin_lock): Likewise.
74140 [UNIX98] (pthread_spin_trylock): Likewise.
74141 [UNIX98] (pthread_spin_unlock): Likewise.
74142 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
74143 Do not expect.
74144 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
74145 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
74146 [XPG3 || XPG4] (pthread_cond_t): Likewise.
74147 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
74148 [XPG3 || XPG4] (pthread_key_t): Likewise.
74149 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
74150 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
74151 [XPG3 || XPG4] (pthread_once_t): Likewise.
74152 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
74153 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
74154 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
74155 [XPG3 || XPG4] (pthread_t): Likewise.
74156
74157 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
74158 not expect.
74159 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
74160
74161 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
74162 Change function return type to int.
74163
74164 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
74165 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
74166 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
74167 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
74168 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
74169 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
74170 [!POSIX] (posix_madvise): Likewise.
74171 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
74172 && !UNIX98].
74173 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
74174 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
74175 (mode_t): Likewise.
74176 (posix_mem_offset): Likewise.
74177 (posix_typed_mem_get_info): Likewise.
74178 (posix_typed_mem_open): Likewise.
74179
74180 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
74181 Change condition to [XOPEN2K8].
74182
74183 * conform/conformtest.pl: Preprocess allow-header data with -x c
74184 instead of from stdin.
74185 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
74186 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
74187 [C99-based standards] (cerfc): Likewise.
74188 [C99-based standards] (cexp2): Likewise.
74189 [C99-based standards] (cexpm1): Likewise.
74190 [C99-based standards] (clog10): Likewise.
74191 [C99-based standards] (clog1p): Likewise.
74192 [C99-based standards] (clog2): Likewise.
74193 [C99-based standards] (clgamma): Likewise.
74194 [C99-based standards] (ctgamma): Likewise.
74195 [C99-based standards] (cerff): Likewise.
74196 [C99-based standards] (cerfcf): Likewise.
74197 [C99-based standards] (cexp2f): Likewise.
74198 [C99-based standards] (cexpm1f): Likewise.
74199 [C99-based standards] (clog10f): Likewise.
74200 [C99-based standards] (clog1pf): Likewise.
74201 [C99-based standards] (clog2f): Likewise.
74202 [C99-based standards] (clgammaf): Likewise.
74203 [C99-based standards] (ctgammaf): Likewise.
74204 [C99-based standards] (cerfl): Likewise.
74205 [C99-based standards] (cerfcl): Likewise.
74206 [C99-based standards] (cexp2l): Likewise.
74207 [C99-based standards] (cexpm1l): Likewise.
74208 [C99-based standards] (clog10l): Likewise.
74209 [C99-based standards] (clog1pl): Likewise.
74210 [C99-based standards] (clog2l): Likewise.
74211 [C99-based standards] (clgammal): Likewise.
74212 [C99-based standards] (ctgammal): Likewise.
74213 * conform/data/inttypes.h-data [C99-based standards]: Include
74214 stdint.h-data. Remove all expectations for stdint.h contents.
74215 [C99-based standards] (PRI*): Do not allow.
74216 [C99-based standards] (SCN*): Likewise.
74217 [C99-based standards] (*_t): Likewise.
74218 [C99-based-standards] (PRId8): Expect macro.
74219 [C99-based-standards] (PRIi8): Likewise.
74220 [C99-based-standards] (PRIo8): Likewise.
74221 [C99-based-standards] (PRIu8): Likewise.
74222 [C99-based-standards] (PRIx8): Likewise.
74223 [C99-based-standards] (PRIX8): Likewise.
74224 [C99-based-standards] (SCNd8): Likewise.
74225 [C99-based-standards] (SCNi8): Likewise.
74226 [C99-based-standards] (SCNo8): Likewise.
74227 [C99-based-standards] (SCNu8): Likewise.
74228 [C99-based-standards] (SCNx8): Likewise.
74229 [C99-based-standards] (PRIdLEAST8): Likewise.
74230 [C99-based-standards] (PRIiLEAST8): Likewise.
74231 [C99-based-standards] (PRIoLEAST8): Likewise.
74232 [C99-based-standards] (PRIuLEAST8): Likewise.
74233 [C99-based-standards] (PRIxLEAST8): Likewise.
74234 [C99-based-standards] (PRIXLEAST8): Likewise.
74235 [C99-based-standards] (SCNdLEAST8): Likewise.
74236 [C99-based-standards] (SCNiLEAST8): Likewise.
74237 [C99-based-standards] (SCNoLEAST8): Likewise.
74238 [C99-based-standards] (SCNuLEAST8): Likewise.
74239 [C99-based-standards] (SCNxLEAST8): Likewise.
74240 [C99-based-standards] (PRIdFAST8): Likewise.
74241 [C99-based-standards] (PRIiFAST8): Likewise.
74242 [C99-based-standards] (PRIoFAST8): Likewise.
74243 [C99-based-standards] (PRIuFAST8): Likewise.
74244 [C99-based-standards] (PRIxFAST8): Likewise.
74245 [C99-based-standards] (PRIXFAST8): Likewise.
74246 [C99-based-standards] (SCNdFAST8): Likewise.
74247 [C99-based-standards] (SCNiFAST8): Likewise.
74248 [C99-based-standards] (SCNoFAST8): Likewise.
74249 [C99-based-standards] (SCNuFAST8): Likewise.
74250 [C99-based-standards] (SCNxFAST8): Likewise.
74251 [C99-based-standards] (PRId16): Likewise.
74252 [C99-based-standards] (PRIi16): Likewise.
74253 [C99-based-standards] (PRIo16): Likewise.
74254 [C99-based-standards] (PRIu16): Likewise.
74255 [C99-based-standards] (PRIx16): Likewise.
74256 [C99-based-standards] (PRIX16): Likewise.
74257 [C99-based-standards] (SCNd16): Likewise.
74258 [C99-based-standards] (SCNi16): Likewise.
74259 [C99-based-standards] (SCNo16): Likewise.
74260 [C99-based-standards] (SCNu16): Likewise.
74261 [C99-based-standards] (SCNx16): Likewise.
74262 [C99-based-standards] (PRIdLEAST16): Likewise.
74263 [C99-based-standards] (PRIiLEAST16): Likewise.
74264 [C99-based-standards] (PRIoLEAST16): Likewise.
74265 [C99-based-standards] (PRIuLEAST16): Likewise.
74266 [C99-based-standards] (PRIxLEAST16): Likewise.
74267 [C99-based-standards] (PRIXLEAST16): Likewise.
74268 [C99-based-standards] (SCNdLEAST16): Likewise.
74269 [C99-based-standards] (SCNiLEAST16): Likewise.
74270 [C99-based-standards] (SCNoLEAST16): Likewise.
74271 [C99-based-standards] (SCNuLEAST16): Likewise.
74272 [C99-based-standards] (SCNxLEAST16): Likewise.
74273 [C99-based-standards] (PRIdFAST16): Likewise.
74274 [C99-based-standards] (PRIiFAST16): Likewise.
74275 [C99-based-standards] (PRIoFAST16): Likewise.
74276 [C99-based-standards] (PRIuFAST16): Likewise.
74277 [C99-based-standards] (PRIxFAST16): Likewise.
74278 [C99-based-standards] (PRIXFAST16): Likewise.
74279 [C99-based-standards] (SCNdFAST16): Likewise.
74280 [C99-based-standards] (SCNiFAST16): Likewise.
74281 [C99-based-standards] (SCNoFAST16): Likewise.
74282 [C99-based-standards] (SCNuFAST16): Likewise.
74283 [C99-based-standards] (SCNxFAST16): Likewise.
74284 [C99-based-standards] (PRId32): Likewise.
74285 [C99-based-standards] (PRIi32): Likewise.
74286 [C99-based-standards] (PRIo32): Likewise.
74287 [C99-based-standards] (PRIu32): Likewise.
74288 [C99-based-standards] (PRIx32): Likewise.
74289 [C99-based-standards] (PRIX32): Likewise.
74290 [C99-based-standards] (SCNd32): Likewise.
74291 [C99-based-standards] (SCNi32): Likewise.
74292 [C99-based-standards] (SCNo32): Likewise.
74293 [C99-based-standards] (SCNu32): Likewise.
74294 [C99-based-standards] (SCNx32): Likewise.
74295 [C99-based-standards] (PRIdLEAST32): Likewise.
74296 [C99-based-standards] (PRIiLEAST32): Likewise.
74297 [C99-based-standards] (PRIoLEAST32): Likewise.
74298 [C99-based-standards] (PRIuLEAST32): Likewise.
74299 [C99-based-standards] (PRIxLEAST32): Likewise.
74300 [C99-based-standards] (PRIXLEAST32): Likewise.
74301 [C99-based-standards] (SCNdLEAST32): Likewise.
74302 [C99-based-standards] (SCNiLEAST32): Likewise.
74303 [C99-based-standards] (SCNoLEAST32): Likewise.
74304 [C99-based-standards] (SCNuLEAST32): Likewise.
74305 [C99-based-standards] (SCNxLEAST32): Likewise.
74306 [C99-based-standards] (PRIdFAST32): Likewise.
74307 [C99-based-standards] (PRIiFAST32): Likewise.
74308 [C99-based-standards] (PRIoFAST32): Likewise.
74309 [C99-based-standards] (PRIuFAST32): Likewise.
74310 [C99-based-standards] (PRIxFAST32): Likewise.
74311 [C99-based-standards] (PRIXFAST32): Likewise.
74312 [C99-based-standards] (SCNdFAST32): Likewise.
74313 [C99-based-standards] (SCNiFAST32): Likewise.
74314 [C99-based-standards] (SCNoFAST32): Likewise.
74315 [C99-based-standards] (SCNuFAST32): Likewise.
74316 [C99-based-standards] (SCNxFAST32): Likewise.
74317 [C99-based-standards] (PRId64): Likewise.
74318 [C99-based-standards] (PRIi64): Likewise.
74319 [C99-based-standards] (PRIo64): Likewise.
74320 [C99-based-standards] (PRIu64): Likewise.
74321 [C99-based-standards] (PRIx64): Likewise.
74322 [C99-based-standards] (PRIX64): Likewise.
74323 [C99-based-standards] (SCNd64): Likewise.
74324 [C99-based-standards] (SCNi64): Likewise.
74325 [C99-based-standards] (SCNo64): Likewise.
74326 [C99-based-standards] (SCNu64): Likewise.
74327 [C99-based-standards] (SCNx64): Likewise.
74328 [C99-based-standards] (PRIdLEAST64): Likewise.
74329 [C99-based-standards] (PRIiLEAST64): Likewise.
74330 [C99-based-standards] (PRIoLEAST64): Likewise.
74331 [C99-based-standards] (PRIuLEAST64): Likewise.
74332 [C99-based-standards] (PRIxLEAST64): Likewise.
74333 [C99-based-standards] (PRIXLEAST64): Likewise.
74334 [C99-based-standards] (SCNdLEAST64): Likewise.
74335 [C99-based-standards] (SCNiLEAST64): Likewise.
74336 [C99-based-standards] (SCNoLEAST64): Likewise.
74337 [C99-based-standards] (SCNuLEAST64): Likewise.
74338 [C99-based-standards] (SCNxLEAST64): Likewise.
74339 [C99-based-standards] (PRIdFAST64): Likewise.
74340 [C99-based-standards] (PRIiFAST64): Likewise.
74341 [C99-based-standards] (PRIoFAST64): Likewise.
74342 [C99-based-standards] (PRIuFAST64): Likewise.
74343 [C99-based-standards] (PRIxFAST64): Likewise.
74344 [C99-based-standards] (PRIXFAST64): Likewise.
74345 [C99-based-standards] (SCNdFAST64): Likewise.
74346 [C99-based-standards] (SCNiFAST64): Likewise.
74347 [C99-based-standards] (SCNoFAST64): Likewise.
74348 [C99-based-standards] (SCNuFAST64): Likewise.
74349 [C99-based-standards] (SCNxFAST64): Likewise.
74350 [C99-based-standards] (PRIdMAX): Likewise.
74351 [C99-based-standards] (PRIiMAX): Likewise.
74352 [C99-based-standards] (PRIoMAX): Likewise.
74353 [C99-based-standards] (PRIuMAX): Likewise.
74354 [C99-based-standards] (PRIxMAX): Likewise.
74355 [C99-based-standards] (PRIXMAX): Likewise.
74356 [C99-based-standards] (SCNdMAX): Likewise.
74357 [C99-based-standards] (SCNiMAX): Likewise.
74358 [C99-based-standards] (SCNoMAX): Likewise.
74359 [C99-based-standards] (SCNuMAX): Likewise.
74360 [C99-based-standards] (SCNxMAX): Likewise.
74361 [C99-based-standards] (PRIdPTR): Likewise.
74362 [C99-based-standards] (PRIiPTR): Likewise.
74363 [C99-based-standards] (PRIoPTR): Likewise.
74364 [C99-based-standards] (PRIuPTR): Likewise.
74365 [C99-based-standards] (PRIxPTR): Likewise.
74366 [C99-based-standards] (PRIXPTR): Likewise.
74367 [C99-based-standards] (SCNdPTR): Likewise.
74368 [C99-based-standards] (SCNiPTR): Likewise.
74369 [C99-based-standards] (SCNoPTR): Likewise.
74370 [C99-based-standards] (SCNuPTR): Likewise.
74371 [C99-based-standards] (SCNxPTR): Likewise.
74372 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
74373 allow.
74374 * conform/data/stdint.h-data: Update comments to clarify
74375 requirements.
74376 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
74377 type.
74378 [C99-based standards] (INT8_MAX): Likewise.
74379 [C99-based standards] (INT16_MIN): Likewise.
74380 [C99-based standards] (INT16_MAX): Likewise.
74381 [C99-based standards] (INT32_MIN): Likewise.
74382 [C99-based standards] (INT32_MAX): Likewise.
74383 [C99-based standards] (INT64_MIN): Likewise.
74384 [C99-based standards] (INT64_MAX): Likewise.
74385 [C99-based standards] (UINT8_MAX): Likewise.
74386 [C99-based standards] (UINT16_MAX): Likewise.
74387 [C99-based standards] (UINT32_MAX): Likewise.
74388 [C99-based standards] (UINT64_MAX): Likewise.
74389 [C99-based standards] (INT_LEAST8_MIN): Likewise.
74390 [C99-based standards] (INT_LEAST8_MAX): Likewise.
74391 [C99-based standards] (INT_LEAST16_MIN): Likewise.
74392 [C99-based standards] (INT_LEAST16_MAX): Likewise.
74393 [C99-based standards] (INT_LEAST32_MIN): Likewise.
74394 [C99-based standards] (INT_LEAST32_MAX): Likewise.
74395 [C99-based standards] (INT_LEAST64_MIN): Likewise.
74396 [C99-based standards] (INT_LEAST64_MAX): Likewise.
74397 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
74398 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
74399 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
74400 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
74401 [C99-based standards] (INT_FAST8_MIN): Likewise.
74402 [C99-based standards] (INT_FAST8_MAX): Likewise.
74403 [C99-based standards] (INT_FAST16_MIN): Likewise.
74404 [C99-based standards] (INT_FAST16_MAX): Likewise.
74405 [C99-based standards] (INT_FAST32_MIN): Likewise.
74406 [C99-based standards] (INT_FAST32_MAX): Likewise.
74407 [C99-based standards] (INT_FAST64_MIN): Likewise.
74408 [C99-based standards] (INT_FAST64_MAX): Likewise.
74409 [C99-based standards] (UINT_FAST8_MAX): Likewise.
74410 [C99-based standards] (UINT_FAST16_MAX): Likewise.
74411 [C99-based standards] (UINT_FAST32_MAX): Likewise.
74412 [C99-based standards] (UINT_FAST64_MAX): Likewise.
74413 [C99-based standards] (INTPTR_MIN): Likewise.
74414 [C99-based standards] (INTPTR_MAX): Likewise.
74415 [C99-based standards] (UINTPTR_MAX): Likewise.
74416 [C99-based standards] (INTMAX_MIN): Likewise.
74417 [C99-based standards] (INTMAX_MAX): Likewise.
74418 [C99-based standards] (UINTMAX_MAX): Likewise.
74419 [C99-based standards] (PTRDIFF_MIN): Likewise.
74420 [C99-based standards] (PTRDIFF_MAX): Likewise.
74421 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
74422 [C99-based standards] (SIZE_MAX): Likewise.
74423 [C99-based standards] (WCHAR_MAX): Likewise.
74424 [C99-based standards] (WINT_MAX): Likewise.
74425 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
74426 constraint on value.
74427 [C99-based standards] (WCHAR_MIN): Likewise.
74428 [C99-based standards] (WINT_MIN): Likewise.
74429 [C99-based standards] (*_t): Allow.
74430 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
74431 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
74432 Include math.h-data and complex.h-data. Remove all expectations
74433 of math.h and complex.h contents.
74434 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
74435 at end of line.
74436 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
74437 (struct tm): Expect tag.
74438 [C99-based-standards] (wcstof): Expect function.
74439 [C99-based-standards] (wcstold): Likewise.
74440 [C99-based-standards] (wcstoll): Likewise.
74441 [C99-based-standards] (wcstoull): Likewise.
74442 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
74443 macro-int-constant. Specify type.
74444 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
74445 constraint on value.
74446 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74447 Specify type.
74448 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
74449 Specify value.
74450 [ISO C standards]: Do not allow headers.
74451 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
74452 wcs[abcdefghijklmnopqrstuvwxyz]*.
74453 [ISO C standards] (*_t): Do not allow.
74454 * conform/data/wctype.h-data [C99-based standards] (iswblank):
74455 Expect function.
74456 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
74457 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74458 Specify type.
74459 [ISO C standards]: Do not allow headers.
74460 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
74461 is[abcdefghijklmnopqrstuvwxyz]*.
74462 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
74463 to[abcdefghijklmnopqrstuvwxyz]*.
74464 [ISO C standards] (*_t): Do not allow.
74465 * conform/data/stdalign.h-data: New file.
74466 * conform/data/stdbool.h-data: Likewise.
74467 * conform/data/stdnoreturn.h-data: Likewise.
74468
74469 2012-11-07 Roland McGrath <roland@hack.frob.com>
74470
74471 [BZ #14815]
74472 * manual/filesys.texi (Directory Entries): Typo fix.
74473 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
74474
74475 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74476
74477 * elf/elf.h (EM_AARCH64): New macro.
74478 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
74479 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
74480 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
74481 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
74482 (R_AARCH64_TLSDESC): Likewise.
74483 (NT_ARM_TLS): Likewise.
74484 (NT_ARM_HW_BREAK): Likewise.
74485 (NT_ARM_HW_WATCH): Likewise.
74486
74487 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74488
74489 [BZ #14811]
74490 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
74491 (__ieee754_powl): Saturate nonzero exponents with absolute value
74492 below 0x1p-79 to +/- 0x1p-79.
74493 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
74494 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
74495 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
74496 nonzero exponents with absolute value below 0x1p-32 to +/-
74497 0x1p-32.
74498 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
74499 (__ieee754_powl): Saturate nonzero exponents with absolute value
74500 below 0x1p-79 to +/- 0x1p-79.
74501 * math/libm-test.inc (pow_test): Add more tests.
74502
74503 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74504
74505 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
74506 _dl_s390_cap_flags with kernel. Increase string length.
74507 (_dl_s390_platforms): Add z196 and zEC12.
74508
74509 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74510
74511 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
74512 Change XOPEN21K to XOPEN2K.
74513
74514 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
74515
74516 * string/memmove.c: Use memcpy when possible.
74517
74518 2012-11-06 Andreas Jaeger <aj@suse.de>
74519
74520 * po/eo.po: Update from translation team.
74521
74522 2012-11-06 Joseph Myers <joseph@codesourcery.com>
74523
74524 [BZ #14793]
74525 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
74526 exponent and small x and y exponents, scale x or y up. Increase
74527 by 2 the exponent used in scaling up.
74528 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74529 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74530 * math/libm-test.inc (fma_test): Add more tests.
74531 (fma_test_towardzero): Likewise.
74532 (fma_test_downward): Likewise.
74533 (fma_test_upward): Likewise.
74534
74535 2012-11-05 Joseph Myers <joseph@codesourcery.com>
74536
74537 [BZ #14805]
74538 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
74539 fenv_t *.
74540
74541 [BZ #14801]
74542 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
74543 namespace for names of struct fields.
74544 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
74545 fenv_t fields.
74546 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
74547 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
74548
74549 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
74550
74551 [BZ #3665]
74552 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
74553
74554 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
74555
74556 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
74557 PTR_DEMANGLE.
74558
74559 [BZ #5246]
74560 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
74561 PTR_DEMANGLE.
74562
74563 2012-11-04 Joseph Myers <joseph@codesourcery.com>
74564
74565 [BZ #14797]
74566 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
74567 definitely overflow as x * y not x * y + z.
74568 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74569 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74570 * math/libm-test.inc (fma_test): Add more tests.
74571 (fma_test_towardzero): Likewise.
74572 (fma_test_downward): Likewise.
74573 (fma_test_upward): Likewise.
74574
74575 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
74576
74577 [BZ #157]
74578
74579 * include/stub-tag.h: Remove file.
74580 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
74581 '#include' of it.
74582 * manual/maint.texi (Porting): Don't reference it.
74583 * Makerules ($(objpfx)stubs): Likewise.
74584 * dirent/closedir.c: Don't include <stub-tag.h>.
74585 * dirent/dirfd.c: Likewise.
74586 * dirent/fdopendir.c: Likewise.
74587 * dirent/getdents.c: Likewise.
74588 * dirent/getdents64.c: Likewise.
74589 * dirent/opendir.c: Likewise.
74590 * dirent/readdir.c: Likewise.
74591 * dirent/readdir64.c: Likewise.
74592 * dirent/readdir64_r.c: Likewise.
74593 * dirent/readdir_r.c: Likewise.
74594 * dirent/rewinddir.c: Likewise.
74595 * dirent/seekdir.c: Likewise.
74596 * dirent/telldir.c: Likewise.
74597 * gmon/profil.c: Likewise.
74598 * grp/setgroups.c: Likewise.
74599 * inet/if_index.c: Likewise.
74600 * io/access.c: Likewise.
74601 * io/chdir.c: Likewise.
74602 * io/chmod.c: Likewise.
74603 * io/chown.c: Likewise.
74604 * io/close.c: Likewise.
74605 * io/dup.c: Likewise.
74606 * io/dup2.c: Likewise.
74607 * io/dup3.c: Likewise.
74608 * io/euidaccess.c: Likewise.
74609 * io/faccessat.c: Likewise.
74610 * io/fchdir.c: Likewise.
74611 * io/fchmod.c: Likewise.
74612 * io/fchmodat.c: Likewise.
74613 * io/fchown.c: Likewise.
74614 * io/fchownat.c: Likewise.
74615 * io/fcntl.c: Likewise.
74616 * io/flock.c: Likewise.
74617 * io/fstatfs.c: Likewise.
74618 * io/fstatfs64.c: Likewise.
74619 * io/fstatvfs.c: Likewise.
74620 * io/fstatvfs64.c: Likewise.
74621 * io/futimens.c: Likewise.
74622 * io/fxstat.c: Likewise.
74623 * io/fxstat64.c: Likewise.
74624 * io/fxstatat.c: Likewise.
74625 * io/fxstatat64.c: Likewise.
74626 * io/getcwd.c: Likewise.
74627 * io/isatty.c: Likewise.
74628 * io/lchmod.c: Likewise.
74629 * io/lchown.c: Likewise.
74630 * io/link.c: Likewise.
74631 * io/linkat.c: Likewise.
74632 * io/lseek.c: Likewise.
74633 * io/lseek64.c: Likewise.
74634 * io/lxstat64.c: Likewise.
74635 * io/mkdir.c: Likewise.
74636 * io/mkdirat.c: Likewise.
74637 * io/mkfifo.c: Likewise.
74638 * io/mkfifoat.c: Likewise.
74639 * io/open.c: Likewise.
74640 * io/open64.c: Likewise.
74641 * io/openat.c: Likewise.
74642 * io/openat64.c: Likewise.
74643 * io/pipe.c: Likewise.
74644 * io/pipe2.c: Likewise.
74645 * io/poll.c: Likewise.
74646 * io/posix_fadvise.c: Likewise.
74647 * io/posix_fadvise64.c: Likewise.
74648 * io/posix_fallocate.c: Likewise.
74649 * io/posix_fallocate64.c: Likewise.
74650 * io/read.c: Likewise.
74651 * io/readlink.c: Likewise.
74652 * io/readlinkat.c: Likewise.
74653 * io/rmdir.c: Likewise.
74654 * io/sendfile.c: Likewise.
74655 * io/sendfile64.c: Likewise.
74656 * io/statfs.c: Likewise.
74657 * io/statfs64.c: Likewise.
74658 * io/statvfs.c: Likewise.
74659 * io/statvfs64.c: Likewise.
74660 * io/symlink.c: Likewise.
74661 * io/symlinkat.c: Likewise.
74662 * io/ttyname.c: Likewise.
74663 * io/ttyname_r.c: Likewise.
74664 * io/umask.c: Likewise.
74665 * io/unlink.c: Likewise.
74666 * io/unlinkat.c: Likewise.
74667 * io/utime.c: Likewise.
74668 * io/utimensat.c: Likewise.
74669 * io/write.c: Likewise.
74670 * io/xmknod.c: Likewise.
74671 * io/xmknodat.c: Likewise.
74672 * io/xstat.c: Likewise.
74673 * io/xstat64.c: Likewise.
74674 * login/getpt.c: Likewise.
74675 * login/grantpt.c: Likewise.
74676 * login/unlockpt.c: Likewise.
74677 * math/e_acoshl.c: Likewise.
74678 * math/e_acosl.c: Likewise.
74679 * math/e_asinl.c: Likewise.
74680 * math/e_atan2l.c: Likewise.
74681 * math/e_atanhl.c: Likewise.
74682 * math/e_coshl.c: Likewise.
74683 * math/e_expl.c: Likewise.
74684 * math/e_fmodl.c: Likewise.
74685 * math/e_gammal_r.c: Likewise.
74686 * math/e_hypotl.c: Likewise.
74687 * math/e_j0l.c: Likewise.
74688 * math/e_j1l.c: Likewise.
74689 * math/e_jnl.c: Likewise.
74690 * math/e_lgammal_r.c: Likewise.
74691 * math/e_log10l.c: Likewise.
74692 * math/e_log2l.c: Likewise.
74693 * math/e_logl.c: Likewise.
74694 * math/e_powl.c: Likewise.
74695 * math/e_rem_pio2l.c: Likewise.
74696 * math/e_sinhl.c: Likewise.
74697 * math/e_sqrtl.c: Likewise.
74698 * math/fclrexcpt.c: Likewise.
74699 * math/fedisblxcpt.c: Likewise.
74700 * math/feenablxcpt.c: Likewise.
74701 * math/fegetenv.c: Likewise.
74702 * math/fegetexcept.c: Likewise.
74703 * math/fegetround.c: Likewise.
74704 * math/feholdexcpt.c: Likewise.
74705 * math/fesetenv.c: Likewise.
74706 * math/fesetround.c: Likewise.
74707 * math/feupdateenv.c: Likewise.
74708 * math/fgetexcptflg.c: Likewise.
74709 * math/fraiseexcpt.c: Likewise.
74710 * math/fsetexcptflg.c: Likewise.
74711 * math/ftestexcept.c: Likewise.
74712 * math/k_cosl.c: Likewise.
74713 * math/k_rem_pio2l.c: Likewise.
74714 * math/k_sinl.c: Likewise.
74715 * math/k_tanl.c: Likewise.
74716 * math/s_asinhl.c: Likewise.
74717 * math/s_atanl.c: Likewise.
74718 * math/s_cbrtl.c: Likewise.
74719 * math/s_erfl.c: Likewise.
74720 * math/s_expm1l.c: Likewise.
74721 * math/s_log1pl.c: Likewise.
74722 * math/s_tanhl.c: Likewise.
74723 * misc/acct.c: Likewise.
74724 * misc/brk.c: Likewise.
74725 * misc/chflags.c: Likewise.
74726 * misc/chroot.c: Likewise.
74727 * misc/fchflags.c: Likewise.
74728 * misc/fgetxattr.c: Likewise.
74729 * misc/flistxattr.c: Likewise.
74730 * misc/fremovexattr.c: Likewise.
74731 * misc/fsetxattr.c: Likewise.
74732 * misc/fsync.c: Likewise.
74733 * misc/ftruncate.c: Likewise.
74734 * misc/futimes.c: Likewise.
74735 * misc/futimesat.c: Likewise.
74736 * misc/getdomain.c: Likewise.
74737 * misc/getdtsz.c: Likewise.
74738 * misc/gethostid.c: Likewise.
74739 * misc/gethostname.c: Likewise.
74740 * misc/getloadavg.c: Likewise.
74741 * misc/getpagesize.c: Likewise.
74742 * misc/getsysstats.c: Likewise.
74743 * misc/getxattr.c: Likewise.
74744 * misc/gtty.c: Likewise.
74745 * misc/ioctl.c: Likewise.
74746 * misc/lgetxattr.c: Likewise.
74747 * misc/listxattr.c: Likewise.
74748 * misc/llistxattr.c: Likewise.
74749 * misc/lremovexattr.c: Likewise.
74750 * misc/lsetxattr.c: Likewise.
74751 * misc/lutimes.c: Likewise.
74752 * misc/madvise.c: Likewise.
74753 * misc/mincore.c: Likewise.
74754 * misc/mlock.c: Likewise.
74755 * misc/mlockall.c: Likewise.
74756 * misc/mmap.c: Likewise.
74757 * misc/mprotect.c: Likewise.
74758 * misc/msync.c: Likewise.
74759 * misc/munlock.c: Likewise.
74760 * misc/munlockall.c: Likewise.
74761 * misc/munmap.c: Likewise.
74762 * misc/preadv.c: Likewise.
74763 * misc/preadv64.c: Likewise.
74764 * misc/ptrace.c: Likewise.
74765 * misc/pwritev.c: Likewise.
74766 * misc/pwritev64.c: Likewise.
74767 * misc/readv.c: Likewise.
74768 * misc/reboot.c: Likewise.
74769 * misc/remap_file_pages.c: Likewise.
74770 * misc/removexattr.c: Likewise.
74771 * misc/revoke.c: Likewise.
74772 * misc/select.c: Likewise.
74773 * misc/setdomain.c: Likewise.
74774 * misc/setegid.c: Likewise.
74775 * misc/seteuid.c: Likewise.
74776 * misc/sethostid.c: Likewise.
74777 * misc/sethostname.c: Likewise.
74778 * misc/setregid.c: Likewise.
74779 * misc/setreuid.c: Likewise.
74780 * misc/setxattr.c: Likewise.
74781 * misc/sstk.c: Likewise.
74782 * misc/stty.c: Likewise.
74783 * misc/swapoff.c: Likewise.
74784 * misc/swapon.c: Likewise.
74785 * misc/sync.c: Likewise.
74786 * misc/syncfs.c: Likewise.
74787 * misc/syscall.c: Likewise.
74788 * misc/truncate.c: Likewise.
74789 * misc/ualarm.c: Likewise.
74790 * misc/usleep.c: Likewise.
74791 * misc/ustat.c: Likewise.
74792 * misc/utimes.c: Likewise.
74793 * misc/vhangup.c: Likewise.
74794 * misc/writev.c: Likewise.
74795 * posix/_exit.c: Likewise.
74796 * posix/alarm.c: Likewise.
74797 * posix/execve.c: Likewise.
74798 * posix/fexecve.c: Likewise.
74799 * posix/fork.c: Likewise.
74800 * posix/fpathconf.c: Likewise.
74801 * posix/getaddrinfo.c: Likewise.
74802 * posix/getegid.c: Likewise.
74803 * posix/geteuid.c: Likewise.
74804 * posix/getgid.c: Likewise.
74805 * posix/getgroups.c: Likewise.
74806 * posix/getlogin.c: Likewise.
74807 * posix/getlogin_r.c: Likewise.
74808 * posix/getpgid.c: Likewise.
74809 * posix/getpid.c: Likewise.
74810 * posix/getppid.c: Likewise.
74811 * posix/getresgid.c: Likewise.
74812 * posix/getresuid.c: Likewise.
74813 * posix/getsid.c: Likewise.
74814 * posix/getuid.c: Likewise.
74815 * posix/glob64.c: Likewise.
74816 * posix/nanosleep.c: Likewise.
74817 * posix/pathconf.c: Likewise.
74818 * posix/pause.c: Likewise.
74819 * posix/posix_madvise.c: Likewise.
74820 * posix/pread.c: Likewise.
74821 * posix/pread64.c: Likewise.
74822 * posix/pwrite.c: Likewise.
74823 * posix/pwrite64.c: Likewise.
74824 * posix/sched_getaffinity.c: Likewise.
74825 * posix/sched_getp.c: Likewise.
74826 * posix/sched_gets.c: Likewise.
74827 * posix/sched_primax.c: Likewise.
74828 * posix/sched_primin.c: Likewise.
74829 * posix/sched_rr_gi.c: Likewise.
74830 * posix/sched_setaffinity.c: Likewise.
74831 * posix/sched_setp.c: Likewise.
74832 * posix/sched_sets.c: Likewise.
74833 * posix/sched_yield.c: Likewise.
74834 * posix/setgid.c: Likewise.
74835 * posix/setlogin.c: Likewise.
74836 * posix/setpgid.c: Likewise.
74837 * posix/setresgid.c: Likewise.
74838 * posix/setresuid.c: Likewise.
74839 * posix/setsid.c: Likewise.
74840 * posix/setuid.c: Likewise.
74841 * posix/sleep.c: Likewise.
74842 * posix/spawni.c: Likewise.
74843 * posix/sysconf.c: Likewise.
74844 * posix/times.c: Likewise.
74845 * posix/wait.c: Likewise.
74846 * posix/wait3.c: Likewise.
74847 * posix/wait4.c: Likewise.
74848 * posix/waitpid.c: Likewise.
74849 * resolv/gai_sigqueue.c: Likewise.
74850 * resource/getpriority.c: Likewise.
74851 * resource/getrlimit.c: Likewise.
74852 * resource/getrusage.c: Likewise.
74853 * resource/nice.c: Likewise.
74854 * resource/setpriority.c: Likewise.
74855 * resource/setrlimit.c: Likewise.
74856 * resource/ulimit.c: Likewise.
74857 * rt/aio_cancel.c: Likewise.
74858 * rt/aio_fsync.c: Likewise.
74859 * rt/aio_read.c: Likewise.
74860 * rt/aio_sigqueue.c: Likewise.
74861 * rt/aio_suspend.c: Likewise.
74862 * rt/aio_write.c: Likewise.
74863 * rt/clock_getres.c: Likewise.
74864 * rt/clock_gettime.c: Likewise.
74865 * rt/clock_nanosleep.c: Likewise.
74866 * rt/clock_settime.c: Likewise.
74867 * rt/lio_listio.c: Likewise.
74868 * rt/mq_close.c: Likewise.
74869 * rt/mq_getattr.c: Likewise.
74870 * rt/mq_notify.c: Likewise.
74871 * rt/mq_open.c: Likewise.
74872 * rt/mq_receive.c: Likewise.
74873 * rt/mq_send.c: Likewise.
74874 * rt/mq_setattr.c: Likewise.
74875 * rt/mq_timedreceive.c: Likewise.
74876 * rt/mq_timedsend.c: Likewise.
74877 * rt/mq_unlink.c: Likewise.
74878 * rt/shm_open.c: Likewise.
74879 * rt/shm_unlink.c: Likewise.
74880 * rt/timer_create.c: Likewise.
74881 * rt/timer_delete.c: Likewise.
74882 * rt/timer_getoverr.c: Likewise.
74883 * rt/timer_gettime.c: Likewise.
74884 * rt/timer_settime.c: Likewise.
74885 * setjmp/__longjmp.c: Likewise.
74886 * setjmp/setjmp.c: Likewise.
74887 * signal/kill.c: Likewise.
74888 * signal/killpg.c: Likewise.
74889 * signal/raise.c: Likewise.
74890 * signal/sigaction.c: Likewise.
74891 * signal/sigaltstack.c: Likewise.
74892 * signal/sigblock.c: Likewise.
74893 * signal/sigignore.c: Likewise.
74894 * signal/sigintr.c: Likewise.
74895 * signal/signal.c: Likewise.
74896 * signal/sigpause.c: Likewise.
74897 * signal/sigpending.c: Likewise.
74898 * signal/sigqueue.c: Likewise.
74899 * signal/sigreturn.c: Likewise.
74900 * signal/sigset.c: Likewise.
74901 * signal/sigsetmask.c: Likewise.
74902 * signal/sigstack.c: Likewise.
74903 * signal/sigsuspend.c: Likewise.
74904 * signal/sigtimedwait.c: Likewise.
74905 * signal/sigvec.c: Likewise.
74906 * signal/sigwait.c: Likewise.
74907 * signal/sigwaitinfo.c: Likewise.
74908 * signal/sysv_signal.c: Likewise.
74909 * socket/accept.c: Likewise.
74910 * socket/accept4.c: Likewise.
74911 * socket/bind.c: Likewise.
74912 * socket/connect.c: Likewise.
74913 * socket/getpeername.c: Likewise.
74914 * socket/getsockname.c: Likewise.
74915 * socket/getsockopt.c: Likewise.
74916 * socket/isfdtype.c: Likewise.
74917 * socket/listen.c: Likewise.
74918 * socket/recv.c: Likewise.
74919 * socket/recvfrom.c: Likewise.
74920 * socket/recvmsg.c: Likewise.
74921 * socket/send.c: Likewise.
74922 * socket/sendmsg.c: Likewise.
74923 * socket/sendto.c: Likewise.
74924 * socket/setsockopt.c: Likewise.
74925 * socket/shutdown.c: Likewise.
74926 * socket/sockatmark.c: Likewise.
74927 * socket/socket.c: Likewise.
74928 * socket/socketpair.c: Likewise.
74929 * stdio-common/ctermid.c: Likewise.
74930 * stdio-common/cuserid.c: Likewise.
74931 * stdio-common/remove.c: Likewise.
74932 * stdio-common/rename.c: Likewise.
74933 * stdio-common/renameat.c: Likewise.
74934 * stdio-common/tempname.c: Likewise.
74935 * stdlib/getcontext.c: Likewise.
74936 * stdlib/makecontext.c: Likewise.
74937 * stdlib/setcontext.c: Likewise.
74938 * stdlib/swapcontext.c: Likewise.
74939 * stdlib/system.c: Likewise.
74940 * streams/fattach.c: Likewise.
74941 * streams/fdetach.c: Likewise.
74942 * streams/getmsg.c: Likewise.
74943 * streams/getpmsg.c: Likewise.
74944 * streams/putmsg.c: Likewise.
74945 * streams/putpmsg.c: Likewise.
74946 * sysdeps/unix/bsd/getpt.c: Likewise.
74947 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
74948 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
74949 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
74950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
74951 Likewise.
74952 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
74953 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
74954 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
74955 * sysvipc/msgctl.c: Likewise.
74956 * sysvipc/msgget.c: Likewise.
74957 * sysvipc/msgrcv.c: Likewise.
74958 * sysvipc/msgsnd.c: Likewise.
74959 * sysvipc/semctl.c: Likewise.
74960 * sysvipc/semget.c: Likewise.
74961 * sysvipc/semop.c: Likewise.
74962 * sysvipc/semtimedop.c: Likewise.
74963 * sysvipc/shmat.c: Likewise.
74964 * sysvipc/shmctl.c: Likewise.
74965 * sysvipc/shmdt.c: Likewise.
74966 * sysvipc/shmget.c: Likewise.
74967 * termios/tcdrain.c: Likewise.
74968 * termios/tcflow.c: Likewise.
74969 * termios/tcflush.c: Likewise.
74970 * termios/tcgetattr.c: Likewise.
74971 * termios/tcgetpgrp.c: Likewise.
74972 * termios/tcsendbrk.c: Likewise.
74973 * termios/tcsetattr.c: Likewise.
74974 * termios/tcsetpgrp.c: Likewise.
74975 * time/adjtime.c: Likewise.
74976 * time/clock.c: Likewise.
74977 * time/getitimer.c: Likewise.
74978 * time/gettimeofday.c: Likewise.
74979 * time/setitimer.c: Likewise.
74980 * time/settimeofday.c: Likewise.
74981 * time/stime.c: Likewise.
74982 * time/time.c: Likewise.
74983
74984 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
74985
74986 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
74987 /usr/old/bin.
74988
74989 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
74990 instead of spaces.
74991 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
74992
74993 2012-11-03 Joseph Myers <joseph@codesourcery.com>
74994
74995 [BZ #14796]
74996 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
74997 FE_TONEAREST before applying Dekker multiplication and Knuth
74998 addition. Clear inexact exceptions and check for exact zero
74999 results afterwards.
75000 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75001 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
75002 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75003 * math/libm-test.inc (fma_test): Add more tests.
75004 (fma_test_towardzero): Likewise.
75005 (fma_test_downward): Likewise.
75006 (fma_test_upward): Likewise.
75007 * sysdeps/generic/math_private.h (default_libc_fesetround): New
75008 function.
75009 (libc_fesetround): New macro.
75010 (libc_fesetroundf): Likewise.
75011 (libc_fesetroundl): Likewise.
75012 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
75013 function.
75014 (libc_fesetround_387): Likewise.
75015 (libc_fesetroundf): New macro.
75016 (libc_fesetround): Likewise.
75017 (libc_fesetroundl): Likewise.
75018 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
75019 function.
75020 (libc_fesetroundf): New macro.
75021 (libc_fesetround): Likewise.
75022 (libc_fesetroundl): Likewise.
75023 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
75024 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
75025 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
75026 libm_hidden_ver.
75027 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
75028 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
75029 libm_hidden_def.
75030 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
75031 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
75032 libm_hidden_ver.
75033 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
75034 libm_hidden_def.
75035
75036 [BZ #3439]
75037 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
75038 integer constant usable in #if and use that to give value to enum
75039 constant.
75040 (FE_DIVBYZERO): Likewise.
75041 (FE_UNDERFLOW): Likewise.
75042 (FE_OVERFLOW): Likewise.
75043 (FE_INVALID): Likewise.
75044 (FE_INVALID_SNAN): Likewise.
75045 (FE_INVALID_ISI): Likewise.
75046 (FE_INVALID_IDI): Likewise.
75047 (FE_INVALID_ZDZ): Likewise.
75048 (FE_INVALID_IMZ): Likewise.
75049 (FE_INVALID_COMPARE): Likewise.
75050 (FE_INVALID_SOFTWARE): Likewise.
75051 (FE_INVALID_SQRT): Likewise.
75052 (FE_INVALID_INTEGER_CONVERSION): Likewise.
75053 (FE_TONEAREST): Likewise.
75054 (FE_TOWARDZERO): Likewise.
75055 (FE_UPWARD): Likewise.
75056 (FE_DOWNWARD): Likewise.
75057 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
75058 (FE_DIVBYZERO): Likewise.
75059 (FE_OVERFLOW): Likewise.
75060 (FE_UNDERFLOW): Likewise.
75061 (FE_INEXACT): Likewise.
75062 (FE_TONEAREST): Likewise.
75063 (FE_DOWNWARD): Likewise.
75064 (FE_UPWARD): Likewise.
75065 (FE_TOWARDZERO): Likewise.
75066 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
75067 (FE_UNDERFLOW): Likewise.
75068 (FE_OVERFLOW): Likewise.
75069 (FE_DIVBYZERO): Likewise.
75070 (FE_INVALID): Likewise.
75071 (FE_TONEAREST): Likewise.
75072 (FE_TOWARDZERO): Likewise.
75073 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
75074 (FE_OVERFLOW): Likewise.
75075 (FE_UNDERFLOW): Likewise.
75076 (FE_DIVBYZERO): Likewise.
75077 (FE_INEXACT): Likewise.
75078 (FE_TONEAREST): Likewise.
75079 (FE_TOWARDZERO): Likewise.
75080 (FE_UPWARD): Likewise.
75081 (FE_DOWNWARD): Likewise.
75082 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
75083 (FE_DIVBYZERO): Likewise.
75084 (FE_OVERFLOW): Likewise.
75085 (FE_UNDERFLOW): Likewise.
75086 (FE_INEXACT): Likewise.
75087 (FE_TONEAREST): Likewise.
75088 (FE_DOWNWARD): Likewise.
75089 (FE_UPWARD): Likewise.
75090 (FE_TOWARDZERO): Likewise.
75091
75092 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
75093
75094 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
75095
75096 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
75097
75098 * scripts/cross-test-ssh.sh (command): Use newlines to separate
75099 commands. Quote $PWD.
75100 (blacklist_exports): Don't use remove_newlines. Replace "declare
75101 -x" by "export".
75102 (remove_newlines): Remove.
75103
75104 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
75105
75106 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
75107 * stdlib/stdlib.h (atof): Moved to ...
75108 * include/bits/stdlib-float.h: Here. New file.
75109 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
75110 * stdlib/bits/stdlib-float.h: New file.
75111 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
75112 -mno-sse -mno-mmx.
75113 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
75114 <xmmintrin.h>.
75115
75116 2012-11-02 Joseph Myers <joseph@codesourcery.com>
75117
75118 * conform/conformtest.pl (@headers): Add fenv.h.
75119 * conform/data/fenv.h-data: New file.
75120 * include/fenv.h [_ISOMAC]: Disable all contents of file except
75121 include of <math/fenv.h>.
75122
75123 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
75124 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
75125 && !UNIX98]. Enables tests for XOPEN2K8.
75126 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
75127 POSIX2008]: Likewise.
75128
75129 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
75130 (struct rusage): Do not expect type or its members.
75131
75132 [BZ #3439]
75133 * math/math.h (FP_NAN): Define macro to integer constant usable in
75134 #if and use that to give value to enum constant.
75135 (FP_INFINITE): Likewise.
75136 (FP_ZERO): Likewise.
75137 (FP_SUBNORMAL): Likewise.
75138 (FP_NORMAL): Likewise.
75139
75140 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
75141
75142 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
75143 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
75144 arguments.
75145
75146 2012-11-02 Roland McGrath <roland@hack.frob.com>
75147
75148 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
75149 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
75150 autoconf-time if not.
75151 * configure.in: Remove AC_PREREQ.
75152
75153 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75154
75155 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
75156 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
75157 of the internal implementation.
75158
75159 2012-11-02 Joseph Myers <joseph@codesourcery.com>
75160
75161 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
75162 except include of <misc/sys/syslog.h>.
75163
75164 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
75165
75166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
75167 function returns with a NULL context exit with zero.
75168
75169 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75170
75171 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
75172
75173 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
75174
75175 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
75176 (run_program_cmd): This.
75177 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
75178 (tst_langinfo): New variable. Use it.
75179
75180 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
75181
75182 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
75183 floating point opcodes.
75184
75185 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
75186
75187 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
75188 variable.
75189
75190 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
75191
75192 * sysdeps/mach/hurd/powerpc: Remove directory.
75193 * sysdeps/mach/powerpc: Likewise.
75194
75195 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
75196
75197 * scripts/check-local-headers.sh: Ignore c++ headers.
75198
75199 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
75200
75201 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
75202 __libc_cleanup_region_start argument.
75203
75204 2012-11-01 Joseph Myers <joseph@codesourcery.com>
75205
75206 [BZ #14784]
75207 [BZ #14785]
75208 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
75209 x * y using scaling, not as x * y + z.
75210 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75211 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75212 * math/libm-test.inc (fma_test): Add more tests.
75213 (fma_test_towardzero): Likewise.
75214 (fma_test_downward): Likewise.
75215 (fma_test_upward): Likewise.
75216
75217 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
75218
75219 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
75220
75221 2012-10-31 Joseph Myers <joseph@codesourcery.com>
75222
75223 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
75224 New variable.
75225
75226 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
75227
75228 * rt/tst-shm.c (worker): Correct checking for mmap failure.
75229
75230 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
75231
75232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75233 Fix sort order.
75234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75235 Likewise.
75236
75237 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75238
75239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75240 Fix the order of the list for glibc 2.17.
75241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75242 Likewise.
75243
75244 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
75245
75246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75247
75248 2012-10-31 Joseph Myers <joseph@codesourcery.com>
75249
75250 [BZ #14610]
75251 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
75252 for low part of x being zero before using __atanl (y).
75253 * math/libm-test.inc (atan2_test): Add another test.
75254
75255 * manual/install.texi (Configuring and compiling): Document
75256 general use of test-wrapper and test-wrapper-env.
75257 * INSTALL: Regenerated.
75258
75259 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
75260 (__fma): Do not extract and scale down low bits on after-rounding
75261 systems when result rounded to normal precision would have normal
75262 exponent.
75263 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
75264 (__fmal): Do not extract and scale down low bits on after-rounding
75265 systems when result rounded to normal precision would have normal
75266 exponent.
75267 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
75268 (__fmal): Do not extract and scale down low bits on after-rounding
75269 systems when result rounded to normal precision would have normal
75270 exponent.
75271 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
75272 macro.
75273 (fma_test): Add more tests.
75274 (fma_test_towardzero): Likewise.
75275 (fma_test_downward): Likewise.
75276 (fma_test_upward): Likewise.
75277
75278 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
75279
75280 * sysdeps/i386/tininess.h: Renamed to ...
75281 * sysdeps/x86/tininess.h: This.
75282 * sysdeps/x86_64/tininess.h: Removed.
75283
75284 2012-10-30 Joseph Myers <joseph@codesourcery.com>
75285
75286 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
75287 input. Use $(build-program-cmd).
75288 ($(objpfx)tst-array1-static.out): Likewise.
75289 ($(objpfx)tst-array2.out): Likewise.
75290 ($(objpfx)tst-array3.out): Likewise.
75291 ($(objpfx)tst-array4.out): Likewise.
75292 ($(objpfx)tst-array5.out): Likewise.
75293 ($(objpfx)tst-array5-static.out): Likewise.
75294
75295 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
75296
75297 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
75298 if defined.
75299
75300 * nss/nsswitch.h (nss_interface_function): Provide new
75301 macro for use with NSS functions.
75302 * grp/initgroups.c: Use new macro.
75303 * nss/getXXbyYY.c: Likewise.
75304 * nss/getXXbyYY_r.c: Likewise.
75305 * nss/getXXent.c: Likewise.
75306 * nss/getXXent_r.c: Likewise.
75307 * sysdeps/posix/getaddrinfo.c: Likewise.
75308
75309 2012-10-30 Andreas Jaeger <aj@suse.de>
75310
75311 * po/ru.po: Update Russion translation from translation project.
75312
75313 2012-10-30 Joseph Myers <joseph@codesourcery.com>
75314
75315 [BZ #14152]
75316 [BZ #14783]
75317 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
75318 result and shift together with sticky bit instead of replicating
75319 round-to-nearest rounding.
75320 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75321 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75322 * math/libm-test.inc (fma_test): Add more tests. Do not permit
75323 missing underflow exceptions.
75324 (fma_test_towardzero): Add more tests.
75325 (fma_test_downward): Likewise.
75326 (fma_test_upward): Likewise.
75327
75328 [BZ #14047]
75329 * sysdeps/generic/tininess.h: New file.
75330 * sysdeps/i386/tininess.h: Likewise.
75331 * sysdeps/sh/tininess.h: Likewise.
75332 * sysdeps/x86_64/tininess.h: Likewise.
75333 * stdlib/tst-strtod-underflow.c: Likewise.
75334 * stdlib/tst-tininess.c: Likewise.
75335 * stdlib/strtod_l.c: Include <tininess.h>.
75336 (round_and_return): Do not set errno for exact underflow cases.
75337 Force an underflow exception when setting errno for underflow.
75338 Determine underflow based on rounding to normal precision if
75339 TININESS_AFTER_ROUNDING.
75340 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
75341 ERANGE for exact underflow cases.
75342 * stdlib/Makefile (tests): Add tst-tininess and
75343 tst-strtod-underflow.
75344 ($(objpfx)tst-tininess): Use $(link-libm).
75345 ($(objpfx)tst-strtod-underflow): Likewise.
75346
75347 2012-10-30 Andreas Jaeger <aj@suse.de>
75348
75349 [BZ #14767]
75350 * elf/Makefile (tests): Remove conditional for have-initfini-array
75351 since this is now always required and the variable does not exist
75352 anymore.
75353 (tests-static): Likewise.
75354 (modules-names): Likewise.
75355
75356 * po/eo.po: Add Esperanto translation from translation project.
75357
75358 * elf/tst-array1.c (fini_array): Make writeable so that it can be
75359 merged with constructor/destructor.
75360 (init_array): Likewise.
75361 * elf/tst-array2dep.c (fini_array): Likewise.
75362 (init_array): Likewise.
75363
75364 2012-10-29 Mike Frysinger <vapier@gentoo.org>
75365
75366 * manual/message.texi: Delete @cartouche tags.
75367
75368 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
75369
75370 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
75371 EOPNOTSUPP.
75372 * sysdeps/mach/hurd/fsync.c: Likewise.
75373
75374 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
75375 [_POSIX_REALTIME_SIGNALS]: Change condition to
75376 [_POSIX_REALTIME_SIGNALS > 0].
75377
75378 2012-10-27 Andreas Jaeger <aj@suse.de>
75379
75380 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
75381 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
75382 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
75383 [__WORDSIZE != 64]: Likewise.
75384
75385 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
75386
75387 * iconvdata/tst-table.sh: Remove ${SHELL}.
75388 * iconvdata/tst-tables.sh: Likewise.
75389
75390 2012-10-25 David S. Miller <davem@davemloft.net>
75391
75392 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75393 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
75394 of strtoull.
75395
75396 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
75397 ifunc-impl-list.c
75398 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75399 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
75400 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
75401 file.
75402
75403 2012-10-25 Roland McGrath <roland@hack.frob.com>
75404
75405 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75406 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
75407 __getdirentries.
75408
75409 2012-10-25 Joseph Myers <joseph@codesourcery.com>
75410 Jim Blandy <jimb@codesourcery.com>
75411
75412 * scripts/cross-test-ssh.sh: New file.
75413 * manual/install.texi (Configuring and compiling): Document use of
75414 cross-test-ssh.sh.
75415 * INSTALL: Regenerated.
75416
75417 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
75418
75419 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
75420 EOPNOTSUPP.
75421
75422 2012-10-25 Joseph Myers <joseph@codesourcery.com>
75423
75424 * Makeconfig (run-program-prefix): Fix comment.
75425
75426 2012-10-24 Joseph Myers <joseph@codesourcery.com>
75427 Jim Blandy <jimb@codesourcery.com>
75428
75429 * Makeconfig (test-wrapper): New variable,
75430 (test-wrapper-env): Likewise.
75431 [$(cross-compiling) = yes && $(test-wrapper) != ""]
75432 (run-built-tests): Define to yes.
75433 (run-program-prefix): Use $(test-wrapper).
75434 (built-program-cmd): Likewise.
75435 * Rules (make-test-out): Use $(test-wrapper-env) and
75436 $(host-built-program-cmd).
75437 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
75438 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
75439 tst-pathopt.sh.
75440 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
75441 $(test-wrapper-env) to tst-rtld-load-self.sh.
75442 ($(objpfx)order2.out): Use $(test-wrapper).
75443 ($(objpfx)tst-initorder.out): Likewise.
75444 ($(objpfx)tst-initorder2.out): Likewise.
75445 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
75446 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
75447 (test_wrapper_env): New variable. Use it to run ld.so.
75448 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
75449 Use it to run ld.so.
75450 (test_wrapper_env): Likewise.
75451 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
75452 $(test-wrapper) to run-iconv-test.sh.
75453 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
75454 (ICONV): Use $test_wrapper.
75455 * posix/Makefile ($(objpfx)globtest.out): Pass
75456 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
75457 globtest.sh, not $(run-program-prefix).
75458 * posix/globtest.sh (run_via_rtld_prefix): New variable.
75459 (test_wrapper): Likewise.
75460 (test_wrapper_env): Likewise. Use it to run globtest with HOME
75461 set together with run_via_rtld_prefix.
75462 (run_program_prefix): Define in terms of test_wrapper and
75463 run_via_rtld_prefix.
75464
75465 2012-10-24 Roland McGrath <roland@hack.frob.com>
75466
75467 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
75468 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
75469 Targets removed.
75470
75471 [BZ #14743]
75472 * include/time.h: Remove librt_hidden_proto (clock_gettime).
75473 Declare __clock_getres, __clock_gettime, __clock_settime,
75474 __clock_nanosleep, and __clock_getcpuclockid.
75475 * rt/clock_gettime.c: Define __clock_gettime as an alias.
75476 Remove librt_hidden_def (clock_gettime).
75477 * sysdeps/unix/clock_gettime.c: Likewise.
75478 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
75479 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
75480 * rt/clock_getres.c: Define __clock_getres as an alias.
75481 * sysdeps/posix/clock_getres.c: Likewise.
75482 * rt/clock_settime.c: Define __clock_settime as an alias.
75483 * sysdeps/unix/clock_settime.c: Likewise.
75484 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
75485 * sysdeps/unix/clock_nanosleep.c: Likewise.
75486 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
75487 * rt/clock-compat.c: New file.
75488 * rt/Makefile (librt-routines): Add clock-compat and move
75489 $(clock-routines) to ...
75490 (routines): ... here, new variable.
75491 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
75492 Don't add get_clockfreq here.
75493 * rt/Versions (libc: GLIBC_2.17): New version set.
75494 Add clock_* symbols here.
75495 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
75496 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
75497 (GLIBC_2.17): Add clock_* symbols.
75498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
75499 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
75500 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
75501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75502 Likewise.
75503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75504 Likewise.
75505 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
75506 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
75507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
75508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
75509 * NEWS: Mention the move.
75510
75511 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
75512 Use __open, __read, __close rather than their public counterparts.
75513 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75514 (__get_clockfreq_via_cpuinfo): Likewise.
75515 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
75516 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
75517
75518 * config.h.in (HAVE_IFUNC): New #undef.
75519 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
75520 was successful.
75521 * configure: Regenerated.
75522
75523 2012-10-24 Mike Frysinger <vapier@gentoo.org>
75524
75525 * configure.in: Move READELF check to start of file.
75526 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
75527 libc_cv_asm_gnu_indirect_function in the process.
75528 * configure: Regenerated.
75529
75530 2012-10-24 Mike Frysinger <vapier@gentoo.org>
75531
75532 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
75533 send the output to /dev/null.
75534 (libc_cv_cc_with_libunwind): Likewise.
75535 (libc_cv_as_noexecstack): Likewise.
75536 * configure: Regenerate.
75537
75538 2012-10-24 Joseph Myers <joseph@codesourcery.com>
75539
75540 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
75541
75542 * posix/globtest.sh (TMPDIR): Do not set.
75543 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
75544 (testout): Likewise.
75545
75546 2012-10-24 Andreas Jaeger <aj@suse.de>
75547
75548 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
75549 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
75550 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
75551 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
75552 posix_fadvise64, posix_fallocate64.
75553
75554 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
75555 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
75556 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
75557 Likewise.
75558 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
75559 Likewise.
75560 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
75561
75562 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
75563 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
75564 <bits/fcntl-linux.h>.
75565 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
75566
75567 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
75568 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
75569 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
75570 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
75571 [__WORDSIZE != 64]: Likewise.
75572
75573 2012-10-23 Joseph Myers <joseph@codesourcery.com>
75574
75575 * Makeconfig (run-built-tests): New variable.
75576 * Rules [$(cross-compiling) = yes]: Change condition to
75577 [$(run-built-tests) = no].
75578 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
75579 to [$(run-built-tests) = yes].
75580 * elf/Makefile [$(cross-compiling) = no]: Likewise.
75581 * grp/Makefile [$(cross-compiling) = no]: Likewise.
75582 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
75583 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
75584 * intl/Makefile [$(cross-compiling) = no]: Likewise.
75585 * io/Makefile [$(cross-compiling) = no]: Likewise.
75586 * libio/Makefile [$(cross-compiling) = no]: Likewise.
75587 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
75588 * misc/Makefile [$(cross-compiling) = no]: Likewise.
75589 * posix/Makefile [$(cross-compiling) = no]: Likewise.
75590 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
75591 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
75592 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
75593 * string/Makefile [$(cross-compiling) = no]: Likewise.
75594
75595 * posix/Makefile ($(objpfx)globtest.out): Pass
75596 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
75597 $(rtld-installed-name).
75598 * posix/globtest.sh (elf_objpfx): Remove variable.
75599 (rtld_installed_name): Likewise.
75600 (library_path): Likewise.
75601 (run_program_prefix): New variable. Use for running globtest
75602 binary.
75603
75604 2012-10-23 Jim Blandy <jimb@codesourcery.com>
75605 Joseph Myers <joseph@codesourcery.com>
75606
75607 * Makeconfig (host-built-program-cmd): New variable.
75608 * elf/Makefile (tst-stackguard1-ARGS): Use
75609 $(host-built-program-cmd).
75610 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
75611 (tst-spawn-ARGS): Likewise.
75612 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
75613
75614 2012-10-23 Joseph Myers <joseph@codesourcery.com>
75615 Jim Blandy <jimb@codesourcery.com>
75616
75617 * Makeconfig (run-via-rtld-prefix): New variable.
75618 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
75619 (built-program-cmd): Likewise.
75620
75621 2012-10-22 Andreas Jaeger <aj@suse.de>
75622
75623 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
75624 __O_RSYNC if it exists, otherwise to O_SYNC.
75625
75626 2012-10-22 Jim Blandy <jimb@codesourcery.com>
75627 Joseph Myers <joseph@codesourcery.com>
75628
75629 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
75630 /dev/null.
75631 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
75632 from /dev/null
75633 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
75634 /dev/null.
75635
75636 2012-10-22 Andreas Jaeger <aj@suse.de>
75637
75638 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
75639 Define always.
75640 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
75641
75642 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75643 bits/fcntl-linux.h.
75644
75645 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
75646 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
75647
75648 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
75649 to __O_LARGEFILE.
75650 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
75651 to __O_LARGEFILE.
75652
75653 2012-10-21 Jim Blandy <jimb@codesourcery.com>
75654 Joseph Myers <joseph@codesourcery.com>
75655
75656 * config.make.in (NM): New variable.
75657
75658 2012-10-21 Andreas Jaeger <aj@suse.de>
75659
75660 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
75661 definitions and declarations that are provided by
75662 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
75663
75664 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
75665
75666 [BZ #14683]
75667 * elf/Makefile (tests-static): Add tst-leaks1-static.
75668 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
75669 ($(objpfx)tst-leaks1-static): New rule.
75670 ($(objpfx)tst-leaks1-static-mem): Likewise.
75671 (tst-leaks1-static-ENV): New macro.
75672 * elf/dl-open.c (dl_open_worker): Check the main application
75673 only if SHARED is defined.
75674 * elf/tst-leaks1-static.c: New file.
75675
75676 2012-10-20 Andreas Jaeger <aj@suse.de>
75677
75678 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
75679 generic values for Linux.
75680 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
75681 and declarations that are provided by <bits/fcntl-linux.h> and
75682 include <bits/fcntl-linux.h>.
75683 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75684 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75685
75686 2012-10-20 Roland McGrath <roland@hack.frob.com>
75687
75688 * io/fcntl.h: Move include of <bits/types.h> to the top and
75689 include it unconditionally.
75690
75691 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
75692
75693 * wcsmbs/Makefile (tests-ifunc): New variable.
75694 (tests): Add $(tests-ifunc).
75695 * wcsmbs/test-wcschr-ifunc.c: New file.
75696 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
75697 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
75698 * wcsmbs/test-wcslen-ifunc.c: Likewise.
75699 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
75700 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
75701
75702 * string/Makefile (tests-ifunc): New variable.
75703 (tests): Add $(tests-ifunc).
75704 * string/test-memccpy.c (TEST_NAME): New macro.
75705 * string/test-memchr.c (TEST_NAME): Likewise.
75706 * string/test-memcmp.c (TEST_NAME): Likewise.
75707 * string/test-memcpy.c (TEST_NAME): Likewise.
75708 * string/test-memmem.c (TEST_NAME): Likewise.
75709 * string/test-memmove.c (TEST_NAME): Likewise.
75710 * string/test-memset.c (TEST_NAME): Likewise.
75711 * string/test-rawmemchr.c (TEST_NAME): Likewise.
75712 * string/test-stpcpy.c (TEST_NAME): Likewise.
75713 * string/test-stpncpy.c (TEST_NAME): Likewise.
75714 * string/test-strcasecmp.c (TEST_NAME): Likewise.
75715 * string/test-strcasestr.c (TEST_NAME): Likewise.
75716 * string/test-strcat.c (TEST_NAME): Likewise.
75717 * string/test-strchr.c (TEST_NAME): Likewise.
75718 * string/test-strcmp.c(TEST_NAME): Likewise.
75719 * string/test-strcpy.c (TEST_NAME): Likewise.
75720 * string/test-strcspn.c (TEST_NAME): Likewise.
75721 * string/test-strlen.c (TEST_NAME): Likewise.
75722 * string/test-strncasecmp.c (TEST_NAME): Likewise.
75723 * string/test-strncmp.c (TEST_NAME): Likewise.
75724 * string/test-strncpy.c (TEST_NAME): Likewise.
75725 * string/test-strnlen.c (TEST_NAME): Likewise.
75726 * string/test-strpbrk.c (TEST_NAME): Likewise.
75727 * string/test-strrchr.c (TEST_NAME): Likewise.
75728 * string/test-strspn.c (TEST_NAME): Likewise.
75729 * string/test-strstr.c (TEST_NAME): Likewise.
75730 * string/test-bcopy-ifunc.c: New file.
75731 * string/test-bzero-ifunc.c: Likewise.
75732 * string/test-memccpy-ifunc.c: Likewise.
75733 * string/test-memchr-ifunc.c: Likewise.
75734 * string/test-memcmp-ifunc.c: Likewise.
75735 * string/test-memcpy-ifunc.c: Likewise.
75736 * string/test-memmem-ifunc.c: Likewise.
75737 * string/test-memmove-ifunc.c: Likewise.
75738 * string/test-mempcpy-ifunc.c: Likewise.
75739 * string/test-memset-ifunc.c: Likewise.
75740 * string/test-rawmemchr-ifunc.c: Likewise.
75741 * string/test-stpcpy-ifunc.c: Likewise.
75742 * string/test-stpncpy-ifunc.c: Likewise.
75743 * string/test-strcasecmp-ifunc.c: Likewise.
75744 * string/test-strcasestr-ifunc.c: Likewise.
75745 * string/test-strcat-ifunc.c: Likewise.
75746 * string/test-strchr-ifunc.c: Likewise.
75747 * string/test-strchrnul-ifunc.c: Likewise.
75748 * string/test-strcmp-ifunc.c: Likewise.
75749 * string/test-strcpy-ifunc.c: Likewise.
75750 * string/test-strcspn-ifunc.c: Likewise.
75751 * string/test-strlen-ifunc.c: Likewise.
75752 * string/test-strncasecmp-ifunc.c: Likewise.
75753 * string/test-strncat-ifunc.c: Likewise.
75754 * string/test-strncmp-ifunc.c: Likewise.
75755 * string/test-strncpy-ifunc.c: Likewise.
75756 * string/test-strnlen-ifunc.c: Likewise.
75757 * string/test-strpbrk-ifunc.c: Likewise.
75758 * string/test-strrchr-ifunc.c: Likewise.
75759 * string/test-strspn-ifunc.c: Likewise.
75760 * string/test-strstr-ifunc.c: Likewise.
75761
75762 * debug/Makefile (tests-ifunc): New variable.
75763 (tests): Add $(tests-ifunc).
75764 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
75765 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
75766 * debug/test-stpcpy_chk-ifunc.c: New file.
75767 * debug/test-strcpy_chk-ifunc.c: Likewise.
75768
75769 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
75770
75771 [BZ #13601]
75772 * elf/dl-load.c (open_verify): Retry read if the entire ELF
75773 header is not read in.
75774
75775 2012-10-19 Joseph Myers <joseph@codesourcery.com>
75776
75777 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
75778 script to $(SHELL) as $<. Pass $(common-objpfx) to script
75779 directly. Pass built executable to script as
75780 $(built-program-cmd).
75781 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
75782 $testprogram without using LD_LIBRARY_PATH and $ldso.
75783
75784 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
75785 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
75786 $(rtld-installed-name).
75787 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
75788 (rtld_installed_name): Likewise.
75789 (library_path): Likewise.
75790 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
75791 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
75792 $(run-program-prefix) to tst-tables.sh.
75793 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
75794 it to run tst-table-from and tst-table-to.
75795 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
75796 Pass it to tst-table.sh.
75797 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
75798 $(run-program-prefix) to tst-gettext.sh.
75799 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
75800 tst-translit.sh.
75801 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
75802 tst-gettext2.sh.
75803 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
75804 to run tst-gettext.
75805 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
75806 to run tst-gettext2.
75807 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
75808 to run tst-translit.
75809 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
75810 $(run-program-prefix) to tst-mtrace.sh.
75811 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
75812 to run tst-mtrace.
75813 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
75814 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
75815 $(rtld-installed-name).
75816 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
75817 (rtld_installed_name): Likewise.
75818 (run_program_prefix): New variable. Use it to run wordexp-test.
75819
75820 * Makeconfig (ARCH): Remove all definitions.
75821 (machine): Likewise.
75822 [ARCH]: Remove conditional code.
75823 [!objdir]: Give error.
75824 [!objdir] (objpfx): Remove.
75825 [!objdir] (common-objpfx): Likewise.
75826 [!objdir] (common-objdir): Likewise.
75827 * configure.in (config_makefile): Remove. Hardcode Makefile in
75828 AC_CONFIG_FILES call.
75829 * configure: Regenerated.
75830
75831 [BZ #13888]
75832 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
75833 or TMPDIR.
75834 (testout): Likewise.
75835
75836 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
75837 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
75838 $(rtld-installed-name).
75839 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
75840 (rtld_installed_name): Likewise.
75841 (runit): Remove function.
75842 (run_getconf): New variable, Use it for running getconf binary.
75843
75844 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
75845
75846 [BZ #14716]
75847 * string/test-memmem.c (check_result): New function.
75848 (do_one_test): Use it.
75849 (check1): New function.
75850 (test_main): Use it.
75851
75852 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
75853
75854 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
75855
75856 2012-10-18 Joseph Myers <joseph@codesourcery.com>
75857
75858 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
75859 (_G_LSEEK64): Likewise.
75860 (_G_MMAP64): Likewise.
75861 (_G_FSTAT64): Likewise.
75862 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
75863 (_G_LSEEK64): Likewise.
75864 (_G_MMAP64): Likewise.
75865 (_G_FSTAT64): Likewise.
75866 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
75867 unconditional. Call __mmap64 directly.
75868 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
75869 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
75870 __lseek64 directly.
75871 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
75872 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
75873 __mmap64 directly.
75874 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
75875 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
75876 __lseek64 directly.
75877 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
75878 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
75879 __lseek64 directly.
75880 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
75881 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
75882 __lseek64 directly.
75883 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
75884 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
75885 __fxstat64 directly.
75886 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
75887 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
75888 unconditional.
75889 (freopen64) [!_G_OPEN64]: Remove conditional code.
75890 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
75891 unconditional.
75892 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
75893 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
75894 unconditional.
75895 (ftello64) [!_G_LSEEK64]: Remove conditional code.
75896 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
75897 unconditional.
75898 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
75899 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
75900 unconditional.
75901 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
75902 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
75903 unconditional.
75904 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
75905 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
75906 unconditional.
75907 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
75908 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
75909 unconditional.
75910 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
75911
75912 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
75913
75914 [BZ #12140]
75915 * manual/memory.texi (Malloc Tunable Parameters): Add note
75916 about free list pointers overwriting some perturb bytes.
75917 Wording suggested by Roland McGrath.
75918
75919 2012-10-17 Joseph Myers <joseph@codesourcery.com>
75920
75921 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
75922 (lgamma_test): Likewise.
75923 (tgamma_test): Likewise.
75924
75925 2012-10-16 Florian Weimer <fweimer@redhat.com>
75926
75927 [BZ #14700]
75928 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
75929 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
75930
75931 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
75932
75933 * NEWS: Mention BZ #14716.
75934 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
75935 when removing AVAILABLE1_USES_J macro.
75936
75937 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
75938
75939 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
75940 (__bswap_64): __uint64_t for unsigned 64-bit int.
75941
75942 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
75943
75944 * include/string.h (memmem): Declare libc hidden alias.
75945 * string/memmem.c (memmem): Define libc hidden alias.
75946 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
75947 __read, __close instead of open, read, close.
75948
75949 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
75950
75951 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
75952 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
75953 global and hidden.
75954 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
75955 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
75956 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
75957 Likewise.
75958 (__rawmemchr_sse2): Likewise.
75959 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
75960 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
75961 (__strchr_sse2): Likewise.
75962 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
75963 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
75964 (__strcasecmp_sse2): Likewise.
75965 (__strncasecmp_sse2): Likewise.
75966 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
75967 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
75968 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
75969 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
75970 (__strrchr_sse2): Likewise.
75971 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
75972 ifunc-impl-list.c.
75973 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
75974 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
75975 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
75976 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
75977 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
75978 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
75979 * sysdeps/x86_64/multiarch/memset.S: Likewise.
75980 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
75981 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
75982 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
75983 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
75984 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
75985 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
75986 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
75987 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
75988 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
75989 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
75990 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
75991 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
75992 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
75993 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
75994 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
75995 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
75996 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
75997 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
75998 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
75999 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
76000 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
76001 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
76002 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
76003
76004 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
76005 global and hidden.
76006 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
76007 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
76008 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
76009 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
76010 Likewise.
76011 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
76012 Likewise.
76013 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
76014 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
76015 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
76016 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
76017 ifunc-impl-list.c.
76018 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
76019 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
76020 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
76021 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
76022 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
76023 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
76024 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
76025 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
76026 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
76027 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
76028 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
76029 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
76030 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
76031 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
76032 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
76033 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
76034 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
76035 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
76036 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
76037 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
76038 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76039 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
76040 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
76041 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
76042 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76043 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
76044 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
76045 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
76046 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
76047 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
76048 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
76049 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
76050 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
76051 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
76052 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
76053 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
76054 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
76055 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
76056 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
76057 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
76058 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
76059
76060 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
76061 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
76062 * include/ifunc-impl-list.h: New file.
76063 * misc/ifunc-impl-list.c: Likewise.
76064 * misc/Makefile (routines): Add ifunc-impl-list.
76065 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
76066 * string/test-string.h: Include <ifunc-impl-list.h>.
76067 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
76068 TEST_NAME]: New variables.
76069 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
76070 are defined.
76071 (test_init): Call __libc_ifunc_impl_list to initialize
76072 func_list if TEST_IFUNC and TEST_NAME are defined.
76073
76074 * string/Makefile (strop-tests): Add bcopy and bzero.
76075 * string/test-bcopy.c: New file.
76076 * string/test-bzero.c: Likewise.
76077 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
76078 defined.
76079 * string/test-memset.c: Support bzero test if TEST_BZERO is
76080 defined.
76081 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
76082 __libc_memmove.
76083 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
76084 __libc_memset.
76085 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
76086 of memset.
76087
76088 2012-10-10 Joseph Myers <joseph@codesourcery.com>
76089
76090 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
76091 * configure: Regenerated.
76092
76093 * Makeconfig (+link-static-before-libc): Don't include
76094 $(link-static-libc).
76095
76096 * libio/libio.h (_IO_pos_t): Remove.
76097
76098 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
76099
76100 * NEWS: Add note about FIPS mode. Wording suggested by Roland
76101 McGrath.
76102
76103 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
76104
76105 * crypt/crypt-entry.c: Include fips-private.h.
76106 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
76107 * crypt/md5c-test.c (main): Tolerate disabled MD5.
76108 * sysdeps/unix/sysv/linux/fips-private.h: New file.
76109 * sysdeps/generic/fips-private.h: New file, dummy fallback.
76110
76111 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
76112
76113 * crypt/crypt-private.h: Include stdbool.h.
76114 (_ufc_setup_salt_r): Return bool.
76115 * crypt/crypt-entry.c: Include errno.h.
76116 (__crypt_r): Return NULL with EINVAL for bad salt.
76117 * crypt/crypt_util.c (bad_for_salt): New.
76118 (_ufc_setup_salt_r): Check that salt is long enough and within
76119 the specified alphabet.
76120 * crypt/badsalttest.c: New file.
76121 * crypt/Makefile (tests): Add it.
76122 ($(objpfx)badsalttest): New.
76123
76124 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
76125
76126 * NEWS: Add entry for BZ #14602.
76127
76128 2012-10-09 Joseph Myers <joseph@codesourcery.com>
76129
76130 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
76131 type-generic.
76132 * math/libm-test.inc: Update comment listing what functions and
76133 macros are tested.
76134 (isgreater_test): New function.
76135 (isgreaterequal_test): Likewise.
76136 (isless_test): Likewise.
76137 (islessequal_test): Likewise.
76138 (islessgreater_test): Likewise.
76139 (isunordered_test): Likewise.
76140 (main): Call the new functions.
76141
76142 2012-10-09 Roland McGrath <roland@hack.frob.com>
76143
76144 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
76145 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
76146 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
76147 * sysdeps/i386/configure: Regenerated.
76148 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
76149 * sysdeps/mach/configure: Regenerated.
76150 * sysdeps/mach/hurd/configure: Regenerated.
76151 * sysdeps/powerpc/configure: Regenerated.
76152 * sysdeps/powerpc/powerpc32/configure: Regenerated.
76153 * sysdeps/powerpc/powerpc64/configure: Regenerated.
76154 * sysdeps/s390/s390-32/configure: Regenerated.
76155 * sysdeps/s390/s390-64/configure: Regenerated.
76156 * sysdeps/sh/configure: Regenerated.
76157 * sysdeps/sparc/configure: Regenerated.
76158 * sysdeps/unix/sysv/linux/configure: Regenerated.
76159 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
76160 * sysdeps/x86_64/configure: Regenerated.
76161
76162 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
76163 defined. Don't check if MAP is NULL.
76164
76165 2012-10-09 Joseph Myers <joseph@codesourcery.com>
76166
76167 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
76168 (_G_stat64): Likewise.
76169 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
76170 (_G_stat64): Likewise.
76171 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
76172 instead of struct _G_stat64.
76173 * libio/fileops.c (mmap_remap_check): Likewise.
76174 (decide_maybe_mmap): Likewise.
76175 (_IO_new_file_seekoff): Likewise.
76176 (_IO_file_stat): Likewise.
76177 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
76178 _G_off64_t.
76179 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
76180 instead of struct _G_stat64.
76181 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76182
76183 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
76184
76185 [BZ #14602]
76186 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76187 Replace with ...
76188 (CHECK_EOL): New macro.
76189 (two_way_short_needle): Check beginning of haystack for EOL. Use
76190 CHECK_EOL.
76191 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76192 Replace with CHECK_EOL.
76193 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76194 Replace with CHECK_EOL.
76195
76196 2012-10-08 Joseph Myers <joseph@codesourcery.com>
76197
76198 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
76199 type-generic.
76200 * math/libm-test.inc: Update comment listing what functions and
76201 macros are tested.
76202 (finite_test): New function.
76203 (isinf_test): Likewise.
76204 (isnan_test): Likewise.
76205 (fpclassify_test): Test subnormal input.
76206 (isfinite_test): Likewise.
76207 (isnormal_test): Likewise.
76208 (main): Call the new functions.
76209
76210 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
76211
76212 [BZ #14660]
76213 * Makerules (%.dynsym): Force C locale when running
76214 $(OBJDUMP) --dynamic-syms.
76215
76216 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
76217
76218 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
76219 <stdint.h>.
76220
76221 2012-10-06 David S. Miller <davem@davemloft.net>
76222
76223 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
76224 upper 32-bits of the length value in %o2 since we use branch-on-register
76225 tests which consider the entire 64-bit register.
76226
76227 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
76228
76229 * string/test-strstr.c (check2): Add a test for page boundary.
76230
76231 2012-10-05 David S. Miller <davem@davemloft.net>
76232
76233 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
76234 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
76235 file.
76236 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76237 sysdep_routines.
76238 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76239 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
76240 and bzero when HWCAP_SPARC_CRYPTO is present.
76241
76242 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
76243
76244 [BZ #14602]
76245 * string/test-strstr.c (check2): New function.
76246 (test_main): Call check2.
76247
76248 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
76249 and bug-strchr1.
76250 * string/bug-strcasestr1.c (do_test): Moved to ...
76251 * string/test-strcasestr.c (check1): Here. New function.
76252 (do_one_test): Break out result checking code into ...
76253 (check_result): This. New function.
76254 (do_one_test): Call check_result.
76255 (test_main): Call check1.
76256 * string/bug-strchr1.c (do_test): Moved to ...
76257 * string/test-strchr.c (check1): Here. New function.
76258 (do_one_test): Break out result checking code into ...
76259 (check_result): This. New function.
76260 (do_one_test): Call check_result.
76261 (test_main): Call check1.
76262 * string/bug-strstr1.c (main): Moved to ...
76263 * string/test-strstr.c (check1): Here. New function.
76264 (do_one_test): Break out result checking code into ...
76265 (check_result): This. New function.
76266 (do_one_test): Call check_result.
76267 (test_main): Call check1.
76268 * string/bug-strcasestr1.c: Removed.
76269 * string/bug-strchr1.c: Likewise.
76270 * string/bug-strstr1.c: Likewise.
76271
76272 * elf/Makefile (dl-routines): Add hwcaps.
76273 * elf/dl-support.c (_dl_important_hwcaps): Removed.
76274 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
76275 (_dl_important_hwcaps): Moved to ...
76276 * elf/dl-hwcaps.c: Here. New file.
76277 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
76278
76279 [BZ #14557]
76280 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
76281 if IS_IN_rtld isn't defined.
76282
76283 * elf/dl-support.c (_dl_sysinfo_map): New.
76284 Include "get-dynamic-info.h" and "setup-vdso.h".
76285 (_dl_non_dynamic_init): Call setup_vdso.
76286 * elf/dynamic-link.h: Don't include <assert.h>.
76287 (elf_get_dynamic_info): Moved to ...
76288 * elf/get-dynamic-info.h: Here. New file.
76289 * elf/dynamic-link.h: Include "get-dynamic-info.h".
76290 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
76291 * elf/setup-vdso.h: Here. New file.
76292 * elf/rtld.c: Include "setup-vdso.h".
76293 (dl_main): Call setup_vdso.
76294
76295 2012-10-05 Joseph Myers <joseph@codesourcery.com>
76296
76297 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
76298 creal in comment listing functions tested. List finite, isinf,
76299 isnan, isless, islessequal, isgreater, isgreaterequal,
76300 islessgreater, isunordered, lgamma_r and pow10 as functions and
76301 macros not tested. Mention which functions not tested are aliases
76302 for other functions. Fix typo. Note that signs of NaNs are not
76303 tested.
76304
76305 * scripts/config.guess: Update from config.git.
76306 * scripts/config.sub: Likewise.
76307
76308 2012-10-04 Roland McGrath <roland@hack.frob.com>
76309
76310 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
76311 * misc/madvise.c (madvise): Renamed to __madvise.
76312 Make madvise a weak alias.
76313 * include/sys/mman.h: Declare __madvise.
76314 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
76315 * sysdeps/unix/syscalls.list
76316 (madvise): Make __madvise the strong name, and madvise a weak alias.
76317 * sysdeps/unix/sysv/linux/syscalls.list
76318 (madvise, mmap): Remove redundant entries.
76319 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
76320 * malloc/malloc.c (mtrim): Likewise.
76321 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
76322
76323 2012-10-03 Roland McGrath <roland@hack.frob.com>
76324
76325 * sysdeps/mach/hurd/dl-cache.c: File removed.
76326 * config.h.in (USE_LDCONFIG): New #undef.
76327 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
76328 * configure: Regenerated.
76329 * elf/Makefile (dl-routines): Add dl-cache only under
76330 [$(use-ldconfig) = yes].
76331 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
76332 cache on [USE_LDCONFIG].
76333 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
76334 [USE_LDCONFIG].
76335 * elf/rtld.c (dl_main): Likewise.
76336
76337 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
76338
76339 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
76340 _SC_LEVEL4_CACHE_LINESIZE.
76341
76342 2012-10-03 Roland McGrath <roland@hack.frob.com>
76343
76344 * sysdeps/unix/bsd/confstr.h: File removed.
76345
76346 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
76347
76348 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
76349 sys/sdt-config.h.
76350
76351 2012-10-02 Roland McGrath <roland@hack.frob.com>
76352
76353 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
76354 Make 'mapoff' field ElfW(Off) rather than off_t.
76355
76356 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
76357
76358 * nscd/Makefile: Remove nscd-cflags and all its users.
76359 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
76360 (CFLAGS-nonlib): Add compiler flags for nscd modules.
76361
76362 [BZ #10631]
76363 * malloc.c (malloc_printerr): Clarify error message.
76364
76365 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
76366
76367 [BZ #14648]
76368 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76369 Set bit_FMA_Usable if FMA is supported.
76370 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
76371 macro.
76372 (bit_FMA4_Usable): Updated.
76373 (index_FMA_Usable): New macro.
76374 (CPUID_FMA): Likewise.
76375 (HAS_FMA): Defined with bit_FMA_Usable.
76376
76377 2012-10-01 Roland McGrath <roland@hack.frob.com>
76378
76379 * bits/types.h (__swblk_t): Type removed.
76380 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
76381 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
76382 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76383 (__SWBLK_T_TYPE): Likewise.
76384 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76385 (__SWBLK_T_TYPE): Likewise.
76386 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76387 (__SWBLK_T_TYPE): Likewise.
76388 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76389 (__SWBLK_T_TYPE): Likewise.
76390
76391 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
76392 Honza Horak <hhorak@redhat.com>
76393
76394 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
76395 (xdr_mapname): Use YPMAXMAP as maxsize.
76396 (xdr_peername): Use YPMAXPEER as maxsize.
76397 (xdr_keydat): Use YPAXRECORD as maxsize.
76398 (xdr_valdat): Use YPMAXRECORD as maxsize.
76399
76400 2012-10-01 Roland McGrath <roland@hack.frob.com>
76401
76402 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
76403
76404 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
76405 * csu/init-first.c: ... here.
76406 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
76407 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
76408 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
76409 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
76410 * sysdeps/i386/init-first.c: File removed.
76411 * sysdeps/sh/init-first.c: File removed.
76412
76413 2012-10-01 Joseph Myers <joseph@codesourcery.com>
76414
76415 [BZ #14645]
76416 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
76417 if x * y might underflow to zero and z is zero.
76418 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
76419 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76420 * math/libm-test.inc (min_subnorm_value): New variable.
76421 (fma_test): Add more tests.
76422 (fma_test_towardzero): Likewise.
76423 (fma_test_downward): Likewise.
76424 (fma_test_upward): Likewise.
76425 (initialize): Set min_subnorm_value.
76426
76427 2012-09-29 Joseph Myers <joseph@codesourcery.com>
76428
76429 [BZ #14638]
76430 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
76431 0 + 0.
76432 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
76433 mode for addition resulting in exact zero.
76434 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
76435 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
76436 exact 0 + 0.
76437 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
76438 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76439 * math/libm-test.inc (fma_test): Add more tests.
76440 (fma_test_towardzero): New function.
76441 (fma_test_downward): Likewise.
76442 (fma_test_upward): Likewise.
76443 (main): Call the new functions.
76444
76445 2012-09-28 David S. Miller <davem@davemloft.net>
76446
76447 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
76448
76449 2012-09-28 Roland McGrath <roland@hack.frob.com>
76450
76451 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
76452 instead of SIGALRM.
76453
76454 * sysdeps/gnu/_G_config.h: Moved to ...
76455 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
76456 * sysdeps/mach/hurd/_G_config.h: Moved to ...
76457 * sysdeps/generic/_G_config.h: ... here.
76458
76459 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
76460
76461 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
76462
76463 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
76464 Conditionalize target on [libnss_test1.so-version].
76465
76466 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
76467
76468 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
76469 (elfobjdir): Move out of conditionals.
76470
76471 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
76472 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
76473 (__nss_lookup_function): Conditionalize label remove_from_tree on
76474 [!DO_STATIC_NSS || SHARED], matching its only use.
76475
76476 2012-09-28 David S. Miller <davem@davemloft.net>
76477
76478 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
76479 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
76480 file.
76481 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76482 sysdep_routines.
76483 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76484 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
76485 when HWCAP_SPARC_CRYPTO is present.
76486
76487 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
76488
76489 * io/tst-mknodat.c: Create a FIFO instead of a socket.
76490
76491 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
76492
76493 [BZ #6530]
76494 * stdio-common/vfprintf.c (process_string_arg): Revert
76495 2000-07-22 change.
76496
76497 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
76498
76499 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
76500 for testcase.
76501 * stdio-common/tst-sprintf.c: Include <locale.h>
76502 (main): Test sprintf's handling of incomplete multibyte
76503 characters.
76504
76505 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
76506
76507 * elf/dl-runtime.c (VERSYMIDX): Removed.
76508 * elf/dl-version.c (VERSYMIDX): Likewise.
76509 * elf/do-rel.h (VERSYMIDX): Likewise.
76510 (VALIDX): Likewise.
76511 * elf/dynamic-link.h (VERSYMIDX): Likewise.
76512 * elf/rtld.c (VALIDX): Likewise.
76513 (ADDRIDX): Likewise.
76514 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
76515 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
76516 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
76517 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
76518 (VALIDX): Likewise.
76519 (ADDRIDX): Likewise.
76520
76521 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
76522
76523 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
76524
76525 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
76526
76527 [BZ #11438]
76528 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
76529 to global scope.
76530 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
76531 addresses are in the same scope as 192.0.2/24.
76532 * posix/gai.conf: Document new scope table defaults.
76533
76534 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
76535
76536 [BZ #5298]
76537 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
76538 for ftell. Compute offsets from write pointers instead.
76539 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76540
76541 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
76542
76543 [BZ #14543]
76544 * libio/Makefile (tests): New test case tst-fseek.
76545 * libio/tst-fseek.c: New test case to verify that fseek/ftell
76546 combination works in wide mode.
76547 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
76548 state when the external buffer state changes.
76549
76550 2012-09-27 David S. Miller <davem@davemloft.net>
76551
76552 [BZ #14376]
76553 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
76554 pass reloc->r_addend in as the 'high' argument to
76555 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
76556
76557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76558
76559 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
76560
76561 * rt/tst-aio2.c: Include <pthread.h>.
76562 * rt/tst-aio3.c: Likewise.
76563
76564 2012-09-27 Steve Ellcey <sellcey@mips.com>
76565
76566 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
76567
76568 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
76569
76570 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
76571 contents on [SHARED].
76572
76573 2012-09-26 Marek Polacek <polacek@redhat.com>
76574
76575 [BZ #14530]
76576 [BZ #13741]
76577 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
76578 for C++ and GCC <4.3 as well as for non GCC compilers.
76579
76580 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
76581
76582 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76583
76584 2012-09-25 Roland McGrath <roland@hack.frob.com>
76585
76586 * Makefile.in (all, install): Declare with .PHONY.
76587 Reported by Michael Hope <michael.hope@linaro.org>.
76588
76589 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
76590
76591 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
76592 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
76593 system header.
76594 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
76595 Likewise.
76596 (sydep_routines): Add the new and the internal functions.
76597 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
76598 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
76599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
76600 (GLIBC_2.17): Add the new function.
76601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
76602 (GLIBC_2.17): Likewise.
76603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
76604 (GLIBC_2.17): Likewise.
76605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
76606 (GLIBC_2.17): Likewise.
76607 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
76608
76609 2012-09-25 Alan Modra <amodra@gmail.com>
76610
76611 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
76612 Add release barrier before setting once_control to say
76613 initialisation is done. Add hints on lwarx. Use macro in
76614 place of isync.
76615 (clear_once_control): Add release barrier.
76616
76617 2012-09-25 Joseph Myers <joseph@codesourcery.com>
76618
76619 [BZ #13629]
76620 * math/s_clog.c (__clog): Handle more values close to |z| = 1
76621 specially.
76622 * math/s_clog10.c (__clog10): Likewise.
76623 * math/s_clog10f.c (__clog10f): Likewise.
76624 * math/s_clog10l.c (__clog10l): Likewise.
76625 * math/s_clogf.c (__clogf): Likewise.
76626 * math/s_clogl.c (__clogl): Likewise.
76627 * math/Makefile (libm-calls): Add x2y2m1.
76628 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
76629 (__x2y2m1): Likewise.
76630 (__x2y2m1l): Likewise.
76631 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
76632 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
76633 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
76634 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
76635 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
76636 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
76637 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
76638 * sysdeps/i386/fpu/libm-test-ulps: Update.
76639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76640
76641 [BZ #14621]
76642 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
76643 int as type of variable DEPTH.
76644 (glob): Use size_t instead of int as type of variables NEWCOUNT
76645 and OLD_PATHC.
76646
76647 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
76648
76649 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
76650 Add s_sincosf-sse2.
76651 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
76652 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
76653 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
76654 macros for using routine as __sincosf_ia32.
76655 Use macro for function declaration and weak_alias.
76656 * sysdeps/i386/fpu/libm-test-ulps: Update.
76657
76658 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
76659 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76660
76661 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
76662 subnormal argument.
76663 * math/s_cexpf.c (__cexpf): Likewise.
76664 * math/s_csinf.c (__csinf): Likewise.
76665 * math/s_csinhf.c (__csinhf): Likewise.
76666 * math/s_ctanf.c (__ctanf): Likewise.
76667 * math/s_ctanhf.c (__ctanhf): Likewise.
76668 * math/s_ccosh.c (__ccoshf): Likewise.
76669 * math/s_cexp.c (__cexpl): Likewise.
76670 * math/s_csin.c (__csin): Likewise.
76671 * math/s_csinh.c (__csinh): Likewise.
76672 * math/s_ctan.c (__ctan): Likewise.
76673 * math/s_ctanh.c (ctanh): Likewise.
76674 * math/s_ccoshl.c (__ccoshl): Likewise.
76675 * math/s_cexpl.c (__cexpl): Likewise.
76676 * math/s_csinl.c (__csinl): Likewise.
76677 * math/s_csinhl.c (__csinhl): Likewise.
76678 * math/s_ctanl.c (__ctanl): Likewise.
76679 * math/s_ctanhl.c (__ctanhl): Likewise.
76680
76681 2012-09-25 Joseph Myers <joseph@codesourcery.com>
76682
76683 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
76684 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
76685 (_IO_off_t): Define to __off_t, not _G_off_t.
76686 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
76687 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
76688 (_IO_wint_t): Define to wint_t, not _G_wint_t.
76689 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
76690 type of __dummy and __dummy2 fields.
76691 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
76692 (_G_ssize_t): Likewise.
76693 (_G_off_t): Likewise.
76694 (_G_pid_t): Likewise.
76695 (_G_uid_t): Likewise.
76696 (_G_wchar_t): Likewise.
76697 (_G_wint_t): Likewise.
76698 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
76699 (_G_ssize_t): Likewise.
76700 (_G_off_t): Likewise.
76701 (_G_pid_t): Likewise.
76702 (_G_uid_t): Likewise.
76703 (_G_wchar_t): Likewise.
76704 (_G_wint_t): Likewise.
76705 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
76706 (_G_ssize_t): Likewise.
76707 (_G_off_t): Likewise.
76708 (_G_pid_t): Likewise.
76709 (_G_uid_t): Likewise.
76710 (_G_wchar_t): Likewise.
76711 (_G_wint_t): Likewise.
76712
76713 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
76714
76715 * malloc/arena.c: Include malloc-sysdep.h.
76716 (shrink_heap): Use check_may_shrink_heap to decide if madvise
76717 is sufficient to shrink the heap or an unmap is needed.
76718 * sysdeps/generic/malloc-sysdep.h: New file. Define
76719 new function check_may_shrink_heap.
76720 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
76721 new function check_may_shrink_heap.
76722
76723 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
76724
76725 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
76726 comments.
76727
76728 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
76729
76730 * catgets/test-gencat.sh: Add "set -e".
76731 * elf/tst-pathopt.sh: Likewise.
76732 * grp/tst_fgetgrent.sh: Likewise.
76733 * iconvdata/run-iconv-test.sh: Likewise.
76734 * intl/tst-gettext.sh: Likewise.
76735 * intl/tst-gettext2.sh: Likewise.
76736 * intl/tst-gettext4.sh: Likewise.
76737 * intl/tst-gettext6.sh: Likewise.
76738 * intl/tst-translit.sh: Likewise.
76739 * io/ftwtest-sh: Likewise.
76740 * libio/test-freopen.sh: Likewise.
76741 * malloc/tst-mtrace.sh: Likewise.
76742 * posix/globtest.sh: Likewise.
76743 * posix/tst-getconf.sh: Likewise.
76744 * posix/wordexp-tst.sh: Likewise.
76745 * stdio-common/tst-printf.sh: Likewise.
76746 * stdio-common/tst-unbputc.sh: Likewise.
76747 * stdlib/tst-fmtmsg.sh: Likewise.
76748 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
76749 * catgets/Makefile: Do not specify -e option when running
76750 testsuite shell scripts.
76751 * elf/Makefile: Likewise.
76752 * grp/Makefile: Likewise.
76753 * iconvdata/Makefile: Likewise.
76754 * intl/Makefile: Likewise.
76755 * io/Makefile: Likewise.
76756 * libio/Makefile: Likewise.
76757 * malloc/Makefile: Likewise.
76758 * posix/Makefile: Likewise.
76759 * stdio-common/Makefile: Likewise.
76760 * stdlib/Makefile: Likewise.
76761 * sysdeps/x86_64/Makefile: Likewise.
76762
76763 * io/ftwtest-sh: Add copyright header.
76764 * posix/globtest.sh: Likewise.
76765 * posix/tst-getconf.sh: Likewise.
76766 * posix/wordexp-tst.sh: Likewise.
76767 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
76768
76769 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
76770
76771 [BZ #13679]
76772 * Makeconfig (+link): Defined as $(+link-static) if
76773 $(build-shared) isn't yes.
76774 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
76775 isn't yes.
76776 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
76777
76778 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
76779
76780 [BZ #14562]
76781 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
76782 new chunk size with MALLOC_ALIGN_MASK.
76783
76784 2012-09-24 Joseph Myers <joseph@codesourcery.com>
76785
76786 [BZ #5044]
76787 * stdio-common/printf_fphex.c: Include <stdbool.h> and
76788 <rounding-mode.h>.
76789 (__printf_fphex): Determine rounding using get_rounding_mode and
76790 round_away.
76791 * stdio-common/tst-printf-round.c (struct hex_test): New
76792 structure.
76793 (hex_tests): New variable.
76794 (test_hex_in_one_mode): New function.
76795 (do_test): Also run tests for hex float output.
76796
76797 2012-09-21 Joseph Myers <joseph@codesourcery.com>
76798
76799 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
76800 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
76801 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
76802 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
76803 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
76804 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
76805 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
76806 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
76807
76808 2012-09-20 Joseph Myers <joseph@codesourcery.com>
76809
76810 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
76811 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
76812 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
76813 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
76814
76815 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
76816
76817 [BZ #14579]
76818 * elf/rtld.c (dl_main): Limit the check for self loading to normal
76819 mode only.
76820 * elf/tst-rtld-load-self.sh: New test.
76821 * elf/Makefile: Run it.
76822
76823 2012-09-18 Joseph Myers <joseph@codesourcery.com>
76824
76825 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
76826 (tst-writev-ENV): Remove.
76827 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
76828
76829 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
76830
76831 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
76832
76833 2012-09-17 Joseph Myers <joseph@codesourcery.com>
76834
76835 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
76836 unconditional.
76837 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
76838 Likewise.
76839 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
76840 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
76841 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
76842 Likewise.
76843
76844 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
76845
76846 [BZ #14587]
76847 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
76848 * config.make.in (have-cpp-asm-debuginfo): Removed.
76849 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
76850 * configure: Regenerated.
76851
76852 2012-09-14 Joseph Myers <joseph@codesourcery.com>
76853
76854 [BZ #5044]
76855 * stdio-common/printf_fp.c: Include <stdbool.h> and
76856 <rounding-mode.h>.
76857 (___printf_fp): Determine rounding using get_rounding_mode and
76858 round_away.
76859 * stdio-common/tst-printf-round.c: New file.
76860 * stdio-common/Makefile (tests): Add tst-printf-round.
76861 (link-libm): New variable.
76862 ($(objpfx)tst-printf-round): Depend in $(link-libm).
76863
76864 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
76865
76866 [BZ #14576]
76867 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
76868 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
76869 Likewise.
76870 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
76871 Likewise.
76872
76873 2012-09-13 Joseph Myers <joseph@codesourcery.com>
76874
76875 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
76876 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
76877 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
76878 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
76879
76880 2012-09-12 Joseph Myers <joseph@codesourcery.com>
76881
76882 [BZ #14518]
76883 * include/rounding-mode.h: New file.
76884 * sysdeps/generic/get-rounding-mode.h: Likewise.
76885 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
76886 * stdlib/strtod_l.c: Include <rounding-mode.h>.
76887 (MAX_VALUE): New macro.
76888 (MIN_VALUE): Likewise.
76889 (overflow_value): New function.
76890 (underflow_value): Likewise.
76891 (round_and_return): Use overflow_value and underflow_value to
76892 determine return values in overflow and underflow cases. Use
76893 round_away to determine rounding depending on rounding mode.
76894 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
76895 determine return values in overflow and underflow cases.
76896 * stdlib/tst-strtod-round.c: Include <fenv.h>.
76897 (struct test_results): New structure.
76898 (struct test): Use struct test_results to store expected results
76899 for all rounding modes.
76900 (TEST): Include expected results for all rounding modes.
76901 (test_in_one_mode): New function.
76902 (do_test): Use test_in_one_mode to compute and check results.
76903 Check results for all rounding modes.
76904 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
76905 $(link-libm).
76906
76907 2012-12-09 Allan McRae <allan@archlinux.org>
76908
76909 * sysdeps/i386/fpu/libm-test-ulps: Update
76910
76911 2012-09-11 Joseph Myers <joseph@codesourcery.com>
76912
76913 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
76914 (_G_int32_t): Likewise.
76915 (_G_uint16_t): Likewise.
76916 (_G_uint32_t): Likewise.
76917 (_G_HAVE_BOOL): Likewise.
76918 (_G_HAVE_ATEXIT): Likewise.
76919 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
76920 (_G_HAVE_IO_FILE_OPEN): Likewise.
76921 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
76922 (_G_int32_t): Likewise.
76923 (_G_uint16_t): Likewise.
76924 (_G_uint32_t): Likewise.
76925 (_G_HAVE_BOOL): Likewise.
76926 (_G_HAVE_ATEXIT): Likewise.
76927 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
76928 (_G_HAVE_IO_FILE_OPEN): Likewise.
76929 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
76930 (_G_int32_t): Likewise.
76931 (_G_uint16_t): Likewise.
76932 (_G_uint32_t): Likewise.
76933 (_G_HAVE_BOOL): Likewise.
76934 (_G_HAVE_ATEXIT): Likewise.
76935 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
76936 (_G_HAVE_IO_FILE_OPEN): Likewise.
76937
76938 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
76939
76940 * csu/libc-tls.c: Update copyright years.
76941
76942 2012-09-10 Joseph Myers <joseph@codesourcery.com>
76943
76944 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
76945 [!_G_USING_THUNKS]: Remove conditional code.
76946 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
76947 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
76948
76949 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
76950 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
76951 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
76952 (_G_VTABLE_LABEL_PREFIX): Likewise.
76953 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
76954 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
76955 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
76956 (_G_VTABLE_LABEL_PREFIX): Likewise.
76957 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
76958 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
76959 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
76960 (_G_VTABLE_LABEL_PREFIX): Likewise.
76961 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
76962
76963 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
76964
76965 * libio/Makefile: Include ../Makeconfig before tests.
76966 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
76967 only if $(build-shared) is yes.
76968
76969 * iconv/gconv_db.c: Update copyright years.
76970
76971 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
76972
76973 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
76974 unwind info if defined PIC. Fix special cases description.
76975 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
76976
76977 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
76978 DP_HI_MASK entry.
76979 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
76980
76981 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
76982
76983 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
76984
76985 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
76986 is NULL.
76987
76988 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
76989 (LDLIBS-tst-chk4): This.
76990 (LDFLAGS-tst-chk5): Renamed to ...
76991 (LDLIBS-tst-chk5): This.
76992 (LDFLAGS-tst-chk6): Renamed to ...
76993 (LDLIBS-tst-chk6): This.
76994 (LDFLAGS-tst-lfschk4): Renamed to ...
76995 (LDLIBS-tst-lfschk4): This.
76996 (LDFLAGS-tst-lfschk5): Renamed to ...
76997 (LDLIBS-tst-lfschk5): This.
76998 (LDFLAGS-tst-lfschk6): Renamed to ...
76999 (LDLIBS-tst-lfschk6): This.
77000
77001 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
77002 on $(common-objpfx)soversions.mk.
77003
77004 2012-09-07 Joseph Myers <joseph@codesourcery.com>
77005
77006 [BZ #10014]
77007 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
77008 example host name.
77009
77010 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
77011
77012 * malloc/arena.c (arena_get_retry): New function that gets
77013 another arena for the caller to try its request on.
77014 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
77015 current arena cannot fulfill the request.
77016 (__libc_memalign): Likewise.
77017 (__libc_memalign): Likewise.
77018 (__libc_pvalloc): Likewise.
77019 (__libc_calloc): Likewise.
77020
77021 2012-09-05 John Tobey <john.tobey@gmail.com>
77022
77023 [BZ #13542]
77024 * manual/arith.texi (Operations on Complex): Fix description
77025 of carg branch cut.
77026
77027 2012-09-06 Joseph Myers <joseph@codesourcery.com>
77028
77029 [BZ #10014]
77030 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
77031 host name.
77032
77033 [BZ #10038]
77034 * manual/memory.texi (Memory): Make order of menu items match
77035 order of sections.
77036
77037 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77038
77039 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
77040 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
77041 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
77042
77043 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77044
77045 * csu/libc-tls.c (static_dtv): Renamed to ...
77046 (_dl_static_dtv): This. Make it global.
77047 (_dl_initial_dtv): Removed.
77048 (__libc_setup_tls): Updated.
77049 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
77050 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
77051 DL_INITIAL_DTV.
77052
77053 2012-09-06 Petr Machata <pmachata@redhat.com>
77054
77055 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
77056 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
77057 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
77058 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
77059
77060 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77061
77062 [BZ #14545]
77063 * csu/libc-tls.c (_dl_initial_dtv): New variable.
77064 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
77065 freeing dtv[-1].
77066
77067 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77068
77069 [BZ #14544]
77070 * Makeconfig (link-static-before-libc): Replace $(+prector)
77071 with $(+prectorT).
77072 (link-static-after-libc): Replace $(+postctor) with
77073 $(+postctorT).
77074 (link-bounded): Replace $(+prector)/$(+postctor) with
77075 $(+prectorT)/$(+postctorT).
77076 (+prectorT): New macro.
77077 (+postctorT): Likewise.
77078
77079 2012-09-06 Joseph Myers <joseph@codesourcery.com>
77080
77081 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
77082 (round_str): Handle values above the maximum for IBM long double
77083 as inexact.
77084 * stdlib/tst-strtod-round.c (tests): Regenerated.
77085
77086 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77087
77088 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
77089 assembler flag.
77090 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
77091 zarch_nohighgprs around the zarch optimized routines.
77092 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
77093 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
77094 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
77095 for zarch.
77096
77097 2012-09-05 David S. Miller <davem@davemloft.net>
77098
77099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
77100
77101 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
77102 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
77103 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
77104 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77105 entries.
77106
77107 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77108
77109 * malloc/arena.c: Fold copyright years.
77110 * malloc/mcheck.c, malloc/memusage.c: Likewise.
77111
77112 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77113
77114 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
77115
77116 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77117
77118 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
77119
77120 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77121
77122 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
77123 change internal state upon failure.
77124
77125 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77126
77127 * malloc/mcheck.c (mcheck_check_all): Fix typo.
77128 * malloc/memusage.c (mmap): Likewise.
77129 (mmap64, mremap): Likewise. Adjust name in comment.
77130
77131 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
77132
77133 * libio/fileops.c: Fix typos in comments.
77134 * libio/oldfileops.c: Likewise.
77135 * libio/wfileops.c: Likewise.
77136
77137 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
77138
77139 [BZ #1349]
77140 * malloc/Makefile (tests): Add tst-malloc-usable test case.
77141 (tst-malloc-usable-ENV): Set environment for test case.
77142 * malloc/hooks.c (malloc_check_get_size): New function to get
77143 requested size.
77144 * malloc/malloc.c (musable): Use malloc_check_get_size.
77145 * malloc/tst-malloc-usable.c: New test case.
77146
77147 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
77148
77149 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
77150
77151 2012-09-05 Allan McRae <allan@archlinux.org>
77152
77153 [BZ #13966]
77154 * configure.in (CXX_SYSINCLUDES): Use compiler output to
77155 determine header location.
77156 * configure: Regenerated.
77157
77158 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
77159
77160 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
77161 float format.
77162 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
77163 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
77164 format.
77165 (test): Regenerate.
77166
77167 2012-09-04 David S. Miller <davem@davemloft.net>
77168
77169 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
77170 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
77171 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
77172
77173 2012-09-04 Florian Weimer <fweimer@redhat.com>
77174
77175 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
77176 failures.
77177
77178 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
77179
77180 2012-09-04 Joseph Myers <joseph@codesourcery.com>
77181
77182 [BZ #9914]
77183 * libio/iogetdelim.c: Include <limits.h>.
77184 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
77185 + len + 1 would overflow.
77186
77187 2012-09-03 Andreas Jaeger <aj@suse.de>
77188
77189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77190 * sysdeps/i386/fpu/libm-test-ulps: Update.
77191
77192 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77193
77194 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
77195 Add s_sinf-sse2, s_conf-sse2.
77196
77197 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
77198 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
77199 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
77200 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
77201
77202 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
77203 for using routine as __sinf_ia32.
77204 Use macro for function declaration and weak_alias.
77205 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
77206 for using routine as __cosf_ia32.
77207 Use macro for function declaration and weak_alias.
77208
77209 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
77210 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
77211
77212 * sysdeps/x86_64/fpu/s_sinf.S: New file.
77213 * sysdeps/x86_64/fpu/s_cosf.S: New file.
77214 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77215
77216 * math/libm-test.inc (cos_test): Add more test cases.
77217 (sin_test): Likewise.
77218 (sincos_test): Likewise.
77219
77220 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77221
77222 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
77223 (IFUNC_RESOLVE): Make pointers to the specialized implementations
77224 hidden.
77225 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
77226
77227 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
77228
77229 [BZ #14538]
77230 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
77231 first element of the GOT.
77232 (elf_machine_load_address): Return the difference between
77233 the runtime address of _DYNAMIC and elf_machine_dynamic ().
77234
77235 2012-09-01 Allan McRae <allan@archlinux.org>
77236
77237 [BZ #13412]
77238 * configure.in (AWK): Require gawk version 3.0 or later.
77239 * configure: Regenerated.
77240
77241 2012-09-01 Joseph Myers <joseph@codesourcery.com>
77242
77243 * sysdeps/unix/sysv/linux/kernel-features.h
77244 (__ASSUME_POSIX_CPU_TIMERS): Remove.
77245 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
77246 [__NR_clock_getres]: Make code unconditional.
77247 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
77248 (clock_getcpuclockid): Remove code left unreachable by removal of
77249 conditionals.
77250 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
77251 code unconditional.
77252 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77253 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77254 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
77255 Make code unconditional.
77256 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77257 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77258 * sysdeps/unix/sysv/linux/clock_settime.c
77259 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
77260 conditional code.
77261 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
77262 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77263
77264 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
77265
77266 [BZ #14476]
77267 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
77268 scripts/test-installation.pl.
77269
77270 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
77271 and $ld_so_version if it is set.
77272
77273 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
77274
77275 [BZ #14516]
77276 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
77277 failure if reading from procfs failed.
77278 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
77279
77280 2012-08-27 Joseph Myers <joseph@codesourcery.com>
77281
77282 * sysdeps/unix/sysv/linux/kernel-features.h
77283 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
77284 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77285 Remove conditional code.
77286 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77287 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
77288 Remove conditional code.
77289 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77290 * sysdeps/unix/sysv/linux/i386/fxstat.c
77291 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77292 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77293 * sysdeps/unix/sysv/linux/i386/fxstatat.c
77294 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77295 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77296 * sysdeps/unix/sysv/linux/i386/lxstat.c
77297 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77298 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77299 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
77300 Remove conditional code.
77301 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77302 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77303 Remove conditional code.
77304 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77305 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
77306 <kernel-features.h>.
77307 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
77308 Remove.
77309 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
77310 Remove conditional code.
77311 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77312 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
77313 Remove conditional.
77314
77315 2012-08-27 Mike Frysinger <vapier@gentoo.org>
77316
77317 [BZ #5400]
77318 * NEWS: Add fixed bug number.
77319
77320 2012-08-27 Joseph Myers <joseph@codesourcery.com>
77321
77322 [BZ #14519]
77323 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
77324 underflowing exponent in case of negative sign.
77325 * stdlib/tst-strtod-round-data: Add more tests.
77326 * stdlib/tst-strtod-round.c (tests): Regenerated.
77327
77328 [BZ #3479]
77329 * stdlib/strtod_l.c (NDIG): Remove.
77330 (HEXNDIG): Likewise.
77331 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
77332 smallest representable value.
77333 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
77334 lie within an exact representation of 1/2 ulp of the result.
77335 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
77336 unconditionally.
77337 (TENS_P9_IDX): Define unconditionally.
77338 (TENS_P9_SIZE): Likewise.
77339 (TENS_P10_IDX): Likewise.
77340 (TENS_P10_SIZE): Likewise.
77341 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
77342 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
77343 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
77344 entries for 10^2^13 and 10^2^14.
77345 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
77346 (TENS_P13_IDX): Define.
77347 (TENS_P13_SIZE): Likewise.
77348 (TENS_P14_IDX): Likewise.
77349 (TENS_P14_SIZE): Likewise.
77350 (_fpioconst_pow10): Change array size to
77351 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
77352 unconditional.
77353 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
77354 1024]: Add entries for 10^2^13 and 10^2^14.
77355 [LAST_POW10 > _LAST_POW10]: Remove #error.
77356 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
77357 (_fpioconst_pow10): Change array size to
77358 FPIOCONST_POW10_ARRAY_SIZE.
77359 * stdlib/gen-fpioconst.c: New file.
77360 * stdlib/gen-tst-strtod-round.c: Likewise.
77361 * stdlib/tst-strtod-round-data: Likewise.
77362 * stdlib/tst-strtod-round.c: Likewise.
77363 * stdlib/Makefile (tests): Add tst-strtod-round.
77364
77365 [BZ #14459]
77366 * stdlib/strtod_l.c: Include <stdint.h>.
77367 (NDEBUG): Do not define.
77368 (round_and_return): Change EXPONENT parameter to type intmax_t.
77369 Rearrange calculations to avoid internal overflow possibilities.
77370 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
77371 Rearrange calculations to avoid internal overflow possibilities.
77372 Assert that number fits inside MPNSIZE limbs.
77373 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
77374 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
77375 calculations and add assertions to avoid internal overflow
77376 possibilities. Add casts to avoid signed/unsigned operations.
77377 * stdlib/tst-strtod-overflow.c: New file.
77378 * stdlib/Makefile (tests): Add tst-strtod-overflow.
77379
77380 2012-08-25 Marek Polacek <polacek@redhat.com>
77381
77382 * time/time.h: Fix some typos in comments.
77383
77384 2012-08-23 Roland McGrath <roland@hack.frob.com>
77385
77386 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
77387 * posix/tst-rfc3484-2.c: Likewise.
77388 * posix/tst-rfc3484-3.c: Likewise.
77389
77390 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
77391
77392 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
77393 (EF_ARM_ABI_FLOAT_HARD): Likewise.
77394
77395 2012-08-23 Joseph Myers <joseph@codesourcery.com>
77396
77397 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
77398 #include of fxstatat64.c.
77399
77400 2012-08-22 Roland McGrath <roland@hack.frob.com>
77401
77402 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
77403 * shadow/getspent_r.c: Likewise.
77404 * shadow/getspnam.c: Likewise.
77405 * shadow/getspnam_r.c: Likewise.
77406 * gshadow/getsgent.c: Likewise.
77407 * gshadow/getsgent_r.c: Likewise.
77408 * gshadow/getsgnam.c: Likewise.
77409 * gshadow/getsgnam_r.c: Likewise.
77410 * inet/getnetbyad.c: Likewise.
77411 * inet/getnetbyad_r.c: Likewise.
77412 * inet/getnetbynm.c: Likewise.
77413 * inet/getnetbynm_r.c: Likewise.
77414 * inet/getnetent.c: Likewise.
77415 * inet/getnetent_r.c: Likewise.
77416 * inet/getproto.c: Likewise.
77417 * inet/getproto_r.c: Likewise.
77418 * inet/getprtent.c: Likewise.
77419 * inet/getprtent_r.c: Likewise.
77420 * inet/getprtname.c: Likewise.
77421 * inet/getprtname_r.c: Likewise.
77422 * inet/getrpcbyname.c: Likewise.
77423 * inet/getrpcbyname_r.c: Likewise.
77424 * inet/getrpcbynumber.c: Likewise.
77425 * inet/getrpcbynumber_r.c: Likewise.
77426 * inet/getrpcent.c: Likewise.
77427 * inet/getrpcent_r.c: Likewise.
77428 * inet/getaliasent.c: Likewise.
77429 * inet/getaliasent_r.c: Likewise.
77430 * inet/getaliasname.c: Likewise.
77431 * inet/getaliasname_r.c: Likewise.
77432 * nscd/getgrgid_r.c: Likewise.
77433 * nscd/getgrnam_r.c: Likewise.
77434 * nscd/gethstbyad_r.c: Likewise.
77435 * nscd/gethstbynm3_r.c: Likewise.
77436 * nscd/getpwnam_r.c: Likewise.
77437 * nscd/getpwuid_r.c: Likewise.
77438 * nscd/getsrvbynm_r.c: Likewise.
77439 * nscd/getsrvbypt_r.c: Likewise.
77440 * nscd/gai.c: Likewise.
77441
77442 * configure.in (build_nscd): New substituted variable, set
77443 by --disable-build-nscd and defaults to $use_nscd.
77444 * configure: Regenerated.
77445 * config.make.in (build-nscd): New substituted variable.
77446 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
77447 Change conditional to require [$(build-nscd) = yes] as well.
77448 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
77449
77450 [BZ #13696]
77451 * configure.in (use_nscd): New substituted variable, set by
77452 --disable-nscd. If enabled, define USE_NSCD.
77453 * configure: Regenerated.
77454 * config.h.in: Add USE_NSCD.
77455 * config.make.in (use-nscd): New substituted variable.
77456 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
77457 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
77458 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
77459 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
77460 (CFLAGS-getgrnam_r.c): Likewise.
77461 (CFLAGS-initgroups.c): Likewise.
77462 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
77463 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
77464 Variables removed.
77465 * inet/getnetgrent_r.c
77466 (nscd_setnetgrent): New function, broken out of ...
77467 (setnetgrent): ... here. Call it.
77468 (innetgr): Conditionalize nscd bits on [USE_NSCD].
77469 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
77470 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
77471 * nscd/Makefile (routines, aux): Move definitions after include of
77472 Makeconfig. Conditionalize on [$(use-nscd) != no].
77473 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
77474 Conditionalize on [USE_NSCD].
77475 (is_nscd, nscd_init_cb): Likewise.
77476 (nss_load_library): Conditionalize init callback on [USE_NSCD].
77477 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
77478 * nss/nss_db/db-init.c: Likewise.
77479 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
77480 [USE_NSCD].
77481 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
77482 (make_request): Use it.
77483 (cache_valid_p): New function.
77484 (__check_pf): Use it.
77485 * NEWS: Add item for --disable-nscd.
77486
77487 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
77488
77489 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
77490 to support sed >= 4.2.1-20-ga9bf076.
77491 * configure: Regenerated.
77492
77493 2012-08-22 Roland McGrath <roland@hack.frob.com>
77494
77495 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
77496 Conditionalize whole body on [IREL].
77497
77498 2012-08-22 Jeff Law <law@redhat.com>
77499
77500 [BZ #14505]
77501 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
77502 if the family is PF_UNSPEC.
77503
77504 2012-08-22 Mike Frysinger <vapier@gentoo.org>
77505
77506 * Makerules (lib-version): Rename from V.
77507 (install-lib-nosubdir): Change V to lib-version.
77508
77509 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
77510
77511 [BZ #14252]
77512 * powerpc32/power6/wcschr.c: New file.
77513 * powerpc32/power6/wcscpy.c: New file.
77514 * powerpc32/power6/wcsrchr.c: New file.
77515 * powerpc64/power6/wcschr.c: New file.
77516 * powerpc64/power6/wcscpy.c: New file.
77517 * powerpc64/power6/wcsrchr.c: New file.
77518
77519 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
77520
77521 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
77522 (two_way_short_needle): Use it.
77523 * string/strstr.c (AVAILABLE1_USES_J): Define.
77524 * string/strcasestr.c: Likewise.
77525
77526 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
77527 array references.
77528 * string/strcasestr.c (TOLOWER): Make side-effect safe.
77529
77530 [BZ #11607]
77531 * NEWS: Add an entry.
77532 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
77533 define their defaults.
77534 (two_way_short_needle): Detect end-of-string on-the-fly.
77535 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
77536 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
77537 * string/bug-strcasestr1.c: New test.
77538 * string/Makefile: Run it.
77539
77540 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
77541
77542 [BZ #11607]
77543 * string/str-two-way.h (two_way_short_needle): Optimize matching of
77544 the first character.
77545
77546 2012-08-21 Roland McGrath <roland@hack.frob.com>
77547
77548 * csu/elf-init.c (__libc_csu_irel): Function removed.
77549 * csu/libc-start.c (apply_irel): New function.
77550 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
77551
77552 2012-08-21 Joseph Myers <joseph@codesourcery.com>
77553
77554 * sysdeps/unix/sysv/linux/kernel-features.h
77555 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
77556 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
77557 <kernel-features.h>.
77558 [__NR_fadvise64_64]: Make code unconditional.
77559 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
77560 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77561 !__NR_fadvise64_64)]: Likewise.
77562 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77563 !__NR_fadvise64_64))]: Likewise.
77564 [__NR_fadvise64]: Make code unconditional.
77565 [!__NR_fadvise64]: Remove conditional code.
77566 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
77567 <kernel-features.h>.
77568 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77569 unconditional.
77570 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77571 conditional code.
77572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
77573 not include <kernel-features.h>.
77574 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77575 unconditional.
77576 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77577 conditional code.
77578 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
77579 include <kernel-features.h>.
77580 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77581 unconditional.
77582 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77583 conditional code.
77584
77585 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
77586
77587 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
77588 slight instruction rearrangements per scrollpipe analysis.
77589 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
77590
77591 2012-08-20 Roland McGrath <roland@hack.frob.com>
77592
77593 * manual/syslog.texi (syslog; vsyslog, closelog):
77594 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
77595 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
77596
77597 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
77598 DSOCAPS to match condition on defining it.
77599
77600 2012-08-20 Joseph Myers <joseph@codesourcery.com>
77601
77602 * sysdeps/unix/sysv/linux/kernel-features.h
77603 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
77604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
77605 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77606 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
77608 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77609 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
77611 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77612 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77613
77614 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
77615 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
77616
77617 * sysdeps/unix/sysv/linux/kernel-features.h
77618 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
77619 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
77620 unconditional.
77621 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77622 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
77623 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77624 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77625 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
77626 Make code unconditional.
77627 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77628 (__mmap64) [!__NR_mmap2]: Likewise.
77629 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
77630 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77631 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77632 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
77633 [__NR_mmap2]: Make code unconditional.
77634 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77635 (__mmap64) [!__NR_mmap2]: Likewise.
77636
77637 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77638
77639 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
77640
77641 2012-08-18 Andreas Jaeger <aj@suse.de>
77642
77643 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
77644
77645 2012-08-18 Mike Frysinger <vapier@gentoo.org>
77646
77647 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
77648 * include/unistd.h (__have_sock_cloexec): Likewise.
77649 (__have_pipe2): Likewise.
77650 (__have_dup3): Likewise.
77651
77652 2012-08-18 Mike Frysinger <vapier@gentoo.org>
77653
77654 [BZ #9685]
77655 * include/unistd.h (__have_pipe2): Change define into an extern int.
77656 (__have_dup3): Likewise.
77657 * socket/have_sock_cloexec.c: Include fcntl.h.
77658 (__have_pipe2): New variable.
77659 (__have_dup3): Likewise.
77660
77661 2012-08-17 Mike Frysinger <vapier@gentoo.org>
77662
77663 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
77664
77665 2012-08-17 Marek Polacek <polacek@redhat.com>
77666
77667 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
77668 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
77669
77670 2012-08-17 Roland McGrath <roland@hack.frob.com>
77671
77672 * configure.in: Add AC_SUBST for sysheaders.
77673 * configure: Regenerated.
77674 * config.make.in (sysheaders): New substituted variable.
77675
77676 * sysdeps/unix/mkfifo.c: Moved ...
77677 * sysdeps/posix/mkfifo.c: ... here.
77678 * sysdeps/unix/mkfifoat.c: Moved ...
77679 * sysdeps/posix/mkfifoat.c: ... here.
77680
77681 * sysdeps/unix/utime.c: Moved ...
77682 * sysdeps/posix/utime.c: ... here.
77683
77684 * sysdeps/unix/time.c: Moved ...
77685 * sysdeps/posix/time.c: ... here.
77686 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
77687 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
77688
77689 * sysdeps/unix/nice.c: Moved ...
77690 * sysdeps/posix/nice.c: ... here.
77691
77692 * sysdeps/unix/alarm.c: Moved ...
77693 * sysdeps/posix/alarm.c: ... here.
77694
77695 * intl/Makefile ($(codeset_mo)): Depend on the input file.
77696
77697 2012-08-17 Jeff Law <law@redhat.com>
77698
77699 * intl/Makefile (codeset_mo): New variable.
77700 ($(codeset_mo)): New target.
77701 (tst-codeset.out): Depend on that. Remove explicit rule.
77702 (tst-gettext3.out, tst-gettext5.out): Likewise.
77703 (LOCPATH-ENV, tst-codeset-ENV): New variables.
77704 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
77705 * intl/tst-codeset.sh: Remove.
77706 * intl/tst-gettext3.sh: Likewise.
77707 * intl/tst-gettext5.sh: Likewise.
77708
77709 2012-08-17 Roland McGrath <roland@hack.frob.com>
77710
77711 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
77712 * sysdeps/unix/syscalls.list: ... here.
77713
77714 * sysdeps/posix/getaddrinfo.c
77715 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
77716 (gaiconf_init, gaiconf_reload): Use them.
77717 [!_STATBUF_ST_NSEC]
77718 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
77719 Define using time_t rather than struct timespec.
77720
77721 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
77722 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
77723 Macros removed.
77724 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
77725 [!NO_THREADS].
77726 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
77727 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
77728 Likewise.
77729
77730 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
77731 __libc_cleanup_push argument.
77732
77733 * bits/param.h: New file.
77734 * misc/sys/param.h: New file.
77735 * include/sys/param.h: New file.
77736 * misc/Makefile (headers): Add bits/param.h.
77737 * sysdeps/generic/sys/param.h: File removed.
77738 * sysdeps/unix/sysv/linux/bits/param.h: New file.
77739 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
77740 * sysdeps/mach/hurd/bits/param.h: New file.
77741 * sysdeps/mach/hurd/sys/param.h: File removed.
77742
77743 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
77744 last change.
77745
77746 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
77747 [_IO_MTSAFE_IO].
77748 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
77749 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
77750 New macros.
77751
77752 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
77753 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
77754 rather than -D_IO_MTSAFE_IO conditionally.
77755 * stdio-common/Makefile (CPPFLAGS): Likewise.
77756 * wcsmbs/Makefile (CPPFLAGS): Likewise.
77757 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
77758 Use $(libio-mtsafe).
77759 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
77760 of -D_IO_MTSAFE_IO.
77761 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
77762 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
77763 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
77764 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
77765 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
77766 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
77767 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
77768 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
77769 (CFLAGS-fread_u_chk.c): Likewise.
77770 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
77771 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
77772 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
77773 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
77774 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
77775 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
77776 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
77777 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
77778 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
77779
77780 * libio/Makefile: Test [$(libc-reentrant) = yes]
77781 instead of [$(filter %REENTRANT, $(defines)) nonempty].
77782
77783 * Makeconfig
77784 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
77785 * sysdeps/pthread/configure: File removed.
77786 * sysdeps/pthread/Makeconfig: New file.
77787 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
77788 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
77789
77790 2012-08-16 Gary Benson <gbenson@redhat.com>
77791
77792 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
77793 unmapping the first object in a namespace.
77794
77795 2012-08-16 Roland McGrath <roland@hack.frob.com>
77796
77797 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
77798 (__internal_setnetgrent): ... this. Add internal_function to
77799 definition. Add libc_hidden_def.
77800 (setnetgrent): Update caller.
77801 (internal_endnetgrent): Renamed to ...
77802 (__internal_endnetgrent): ... this. Add internal_function to
77803 definition. Add libc_hidden_def.
77804 (endnetgrent): Update caller.
77805 (internal_getnetgrent_r): Renamed to ...
77806 (__internal_getnetgrent_r): ... this. Add internal_function to
77807 definition. Add libc_hidden_def.
77808 (__getnetgrent_r): Update caller.
77809 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
77810
77811 2012-08-16 Joseph Myers <joseph@codesourcery.com>
77812
77813 * stdlib/longlong.h: Update from GCC.
77814
77815 2012-08-16 Roland McGrath <roland@hack.frob.com>
77816
77817 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
77818 on _QL, which is set by umul_ppmm but never used.
77819 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
77820 variables, which are set by GMP macros but never used.
77821 * stdio-common/_itowa.c (_itowa): Likewise.
77822 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
77823 * stdlib/mod_1.c (mpn_mod_1): Likewise.
77824
77825 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
77826
77827 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
77828 struct La_sh_regs is not constant.
77829 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
77830 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
77831 and struct La_sparc64_regs are not constant.
77832
77833 2012-08-16 Joseph Myers <joseph@codesourcery.com>
77834
77835 * sysdeps/unix/sysv/linux/kernel-features.h
77836 (__ASSUME_POSIX_TIMERS): Remove.
77837 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
77838 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77839 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
77840 Make code unconditional.
77841 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77842 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
77843 Make code unconditional.
77844 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77845 * sysdeps/unix/sysv/linux/clock_nanosleep.c
77846 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
77847 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77848 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
77849 Make code unconditional.
77850 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77851 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
77852 (__libc_missing_posix_timers): Remove.
77853
77854 2012-08-15 Roland McGrath <roland@hack.frob.com>
77855
77856 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
77857 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
77858
77859 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
77860
77861 * elf/dl-sym.c: Include <stdlib.h>.
77862
77863 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
77864 constants, which avoids warnings in 32-bit builds.
77865
77866 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
77867 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
77868
77869 * misc/lseek.c: File moved to ...
77870 * io/lseek.c: ... here.
77871
77872 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
77873
77874 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
77875 shifting LEN more than 31 bits at once.
77876
77877 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77878
77879 [BZ #14195]
77880 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
77881 segmentation fault for a case of two empty input strings.
77882 * string/test-strncasecmp.c (check1): Renamed to...
77883 (bz12205): ...this.
77884 (bz14195): Add new testcase for two empty input strings and N > 0.
77885 (test_main): Call new testcase, adapt for renamed function.
77886
77887 2012-08-15 Andreas Jaeger <aj@suse.de>
77888
77889 [BZ #14090]
77890 * crypt/md5test2.c: New test, based on test supplied by Serge
77891 Belyshev <belyshev@depni.sinp.msu.ru>.
77892 * crypt/Makefile (xtests): Add md5test-giant..
77893 * crypt/Makefile ($(objpfx)md5test-giant): Add.
77894
77895 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
77896
77897 [BZ #14090]
77898 * crypt/md5.c (md5_process_block): Don't assume the buffer
77899 length is less than 2**32.
77900 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
77901 length is less than 2**64.
77902
77903 2012-08-15 Roland McGrath <roland@hack.frob.com>
77904
77905 * string/str-two-way.h: Include <sys/param.h>.
77906 (MAX): Macro removed.
77907
77908 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
77909 Move #define and #undef of memmove to just before and after
77910 including <string.h>.
77911
77912 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
77913 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
77914 and after including <string.h>. Move declarations of
77915 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
77916 to before #include "string/memmove.c".
77917
77918 * include/dirent.h: Declare __getdirentries.
77919
77920 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
77921 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
77922
77923 2012-08-14 Mike Frysinger <vapier@gentoo.org>
77924
77925 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
77926 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
77927 * sysdeps/i386/configure: Regenerated.
77928 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
77929 STABS_CURRENT_FILE, and STABS_FUN.
77930 (END): Remove call to STABS_FUN_END.
77931 (STABS_CURRENT_FILE1): Delete.
77932 (STABS_CURRENT_FILE): Likewise.
77933 (STABS_FUN): Likewise.
77934 (STABS_FUN_END): Likewise.
77935 (STABS_FUN2): Likewise.
77936 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
77937 * sysdeps/x86_64/configure: Regenerated.
77938
77939 2012-08-14 Roland McGrath <roland@hack.frob.com>
77940
77941 * elf/dl-open.c: Include <atomic.h>.
77942 * elf/dl-lookup.c: Likewise.
77943
77944 2012-08-14 Joseph Myers <joseph@codesourcery.com>
77945
77946 * sysdeps/unix/sysv/linux/kernel-features.h
77947 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
77948 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
77949 unconditionally.
77950 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
77951 unconditionally.
77952 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
77953 condition on __ASSUME_CLONE_THREAD_FLAGS.
77954
77955 2012-08-14 Andreas Jaeger <aj@suse.de>
77956
77957 * sysdeps/i386/fpu/libm-test-ulps: Update.
77958
77959 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
77960
77961 * include/atomic.h (atomic_exchange_and_add): Split into ...
77962 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
77963 New atomic macros.
77964
77965 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
77966
77967 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77968
77969 2012-08-13 Jeff Law <law@redhat.com>
77970
77971 * manual/stdio.texi (snprintf): Clarify handling of the trailing
77972 null byte in the output string.
77973
77974 2012-08-10 Joseph Myers <joseph@codesourcery.com>
77975
77976 * sysdeps/unix/sysv/linux/kernel-features.h
77977 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
77978 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
77979 (__ASSUME_ARG_MAX_STACK_BASED): Define.
77980 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
77981 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
77982 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
77983 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
77984
77985 2012-08-09 Jeff Law <law@redhat.com>
77986
77987 [BZ #13939]
77988 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
77989 When avoid_arena is set, don't retry in the that arena. Pick the
77990 next one, whatever it might be.
77991 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
77992 (arena_lock): Pass in new parameter to arena_get2.
77993 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
77994 arena_get2.
77995 (__libc_malloc): Unify retrying after main arena failure with
77996 __libc_memalign version.
77997 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
77998
77999 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
78000
78001 [BZ #14166]
78002 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
78003 to __redirect_strstr.
78004 (__strstr_sse42): Use typeof __redirect_strstr.
78005 (__strstr_ia32): Likewise.
78006 (__libc_strstr): New prototype.
78007 (strstr): Renamed to ...
78008 (__libc_strstr): This.
78009 (strstr): New strong alias of __libc_strstr.
78010 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
78011 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
78012 __redirect_time.
78013 Include <time.h>.
78014 (__libc_time): New prototype.
78015 (time_ifunc): Replace time with __libc_time.
78016 (time): New strong alias and hidden definition of __libc_time.
78017 (__GI_time): Remove strong alias.
78018 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
78019 Include <stddef.h>.
78020 (memmove): Redefined to __redirect_memmove.
78021 (__memmove_sse2): Use typeof __redirect_memmove.
78022 (__memmove_ssse3): Likewise.
78023 (__memmove_ssse3_back): Likewise.
78024 (__libc_memmove): New prototype.
78025 (memmove): Renamed to ...
78026 (__libc_memmove): This.
78027 (memmove): New strong alias of __libc_memmove.
78028
78029 2012-08-08 Mark Salter <msalter@redhat.com>
78030
78031 * elf/elf.h
78032 (R_MN10300_TLS_GD): Define.
78033 (R_MN10300_TLS_LD): Likewise.
78034 (R_MN10300_TLS_LDO): Likewise.
78035 (R_MN10300_TLS_GOTIE): Likewise.
78036 (R_MN10300_TLS_IE): Likewise.
78037 (R_MN10300_TLS_LE): Likewise.
78038 (R_MN10300_TLS_DTPMOD): Likewise.
78039 (R_MN10300_TLS_DTPOFF): Likewise.
78040 (R_MN10300_TLS_TPOFF): Likewise.
78041 (R_MN10300_SYM_DIFF): Likewise.
78042 (R_MN10300_ALIGN): Likewise.
78043 (R_MN10300_NUM): Update.
78044
78045 2012-08-08 Joseph Myers <joseph@codesourcery.com>
78046
78047 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
78048 Remove.
78049
78050 2012-08-08 Roland McGrath <roland@hack.frob.com>
78051
78052 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
78053
78054 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
78055 sysdeps/unix -> sysdeps/posix move.
78056 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
78057
78058 2012-08-07 Allan McRae <allan@archlinux.org>
78059
78060 [BZ #14303]
78061 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
78062 (SUNOS_CPP): Likewise.
78063 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
78064 not found.
78065 (open_input): Call CPP using execvp.
78066
78067 2012-08-07 Joseph Myers <joseph@codesourcery.com>
78068
78069 * sysdeps/unix/sysv/linux/kernel-features.h
78070 (__ASSUME_PROT_GROWSUPDOWN): Remove.
78071 (__ASSUME_NO_CLONE_DETACHED): Likewise.
78072 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78073 (__ASSUME_WAITID_SYSCALL): Likewise.
78074 * sysdeps/unix/sysv/linux/dl-execstack.c
78075 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
78076 code unconditional.
78077 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
78078 conditional code.
78079 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
78080 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
78081 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
78082 code.
78083 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
78084 unconditional.
78085 [__ASSUME_WAITID_SYSCALL]: Likewise.
78086 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
78087
78088 2012-08-07 Roland McGrath <roland@hack.frob.com>
78089
78090 * sysdeps/unix/closedir.c: Renamed to ...
78091 * sysdeps/posix/closedir.c: ... here.
78092 * sysdeps/unix/dirfd.c: Renamed to ...
78093 * sysdeps/posix/dirfd.c: ... here.
78094 * sysdeps/unix/dirstream.h: Renamed to ...
78095 * sysdeps/posix/dirstream.h: ... here.
78096 * sysdeps/unix/fdopendir.c: Renamed to ...
78097 * sysdeps/posix/fdopendir.c: ... here.
78098 * sysdeps/unix/opendir.c: Renamed to ...
78099 * sysdeps/posix/opendir.c: ... here.
78100 * sysdeps/unix/readdir.c: Renamed to ...
78101 * sysdeps/posix/readdir.c: ... here.
78102 * sysdeps/unix/readdir_r.c: Renamed to ...
78103 * sysdeps/posix/readdir_r.c: ... here.
78104 * sysdeps/unix/rewinddir.c: Renamed to ...
78105 * sysdeps/posix/rewinddir.c: ... here.
78106 * sysdeps/unix/seekdir.c: Renamed to ...
78107 * sysdeps/posix/seekdir.c: ... here.
78108 * sysdeps/unix/telldir.c: Renamed to ...
78109 * sysdeps/posix/telldir.c: ... here.
78110 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
78111 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
78112 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
78113 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
78114
78115 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
78116 * bits/fcntl.h: ... here.
78117
78118 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
78119 not 0.
78120 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
78121 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
78122 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
78123 (struct flock): Move l_start, l_len to the beginning.
78124 Use __pid_t for l_pid.
78125 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
78126 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
78127 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
78128 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
78129 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
78130 [__USE_LARGEFILE64] (struct flock64): New type.
78131 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
78132
78133 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
78134 * bits/dirent.h: ... here.
78135
78136 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
78137 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
78138
78139 2012-08-07 Joseph Myers <joseph@codesourcery.com>
78140
78141 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78142 Change from 2.6.0 to 2.6.16.
78143 * sysdeps/unix/sysv/linux/configure: Regenerated.
78144 * sysdeps/unix/sysv/linux/kernel-features.h
78145 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
78146 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
78147 version.
78148 (__ASSUME_UTIMES): Likewise.
78149 (__ASSUME_CLONE_STOPPED): Remove.
78150 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
78151 architectures, not kernel version.
78152 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
78153 (__ASSUME_NO_CLONE_DETACHED): Likewise.
78154 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78155 (__ASSUME_WAITID_SYSCALL): Likewise.
78156 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
78157 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
78158 * README: State 2.6.16 as minimum Linux kernel version. Do not
78159 refer to older versions.
78160
78161 2012-08-06 Roland McGrath <roland@hack.frob.com>
78162
78163 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
78164 Define alphasort64 as an alias.
78165 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
78166 Define versionsort64 as an alias.
78167 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
78168 Define scandir64 as an alias.
78169 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
78170 Define scandirat64 as an alias.
78171 * dirent/alphasort64.c (alphasort64):
78172 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
78173 * dirent/versionsort64.c: Likewise.
78174 * dirent/scandir64.c: Likewise.
78175 * dirent/scandirat64.c: Likewise.
78176 * sysdeps/wordsize-64/alphasort.c: File removed.
78177 * sysdeps/wordsize-64/alphasort64.c: File removed.
78178 * sysdeps/wordsize-64/scandir.c: File removed.
78179 * sysdeps/wordsize-64/scandir64.c: File removed.
78180 * sysdeps/wordsize-64/scandirat.c: File removed.
78181 * sysdeps/wordsize-64/scandirat64.c: File removed.
78182 * sysdeps/wordsize-64/versionsort.c: File removed.
78183 * sysdeps/wordsize-64/versionsort64.c: File removed.
78184 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
78185 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
78186 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
78187 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
78188 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
78189 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
78190 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
78191 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
78192
78193 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
78194 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78195 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
78196 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78197 [defined __arch64__ || defined __sparcv9]
78198 (__INO_T_MATCHES_INO64_T): New macro.
78199 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78200 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
78201 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
78202 * sysdeps/unix/sysv/linux/bits/dirent.h
78203 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
78204 (_DIRENT_MATCHES_DIRENT64): New macro.
78205
78206 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
78207 Define lockf64 as an alias.
78208 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
78209 Define fseeko64 as an alias.
78210 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
78211 Define ftello64 as an alias.
78212 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
78213 Define _IO_fgetpos64 and fgetpos64 as aliases.
78214 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
78215 Define _IO_fsetpos64 and fsetpos64 as aliases.
78216 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
78217 Conditionalize body on this.
78218 * libio/fseeko64.c: Likewise.
78219 * libio/ftello64.c: Likewise.
78220 * libio/iofgetpos64.c: Likewise.
78221 * libio/iofsetpos64.c: Likewise.
78222 * sysdeps/wordsize-64/lockf.c: File removed.
78223 * sysdeps/wordsize-64/lockf64.c: File removed.
78224 * sysdeps/wordsize-64/fseeko.c: File removed.
78225 * sysdeps/wordsize-64/fseeko64.c: File removed.
78226 * sysdeps/wordsize-64/ftello.c: File removed.
78227 * sysdeps/wordsize-64/ftello64.c: File removed.
78228 * sysdeps/wordsize-64/iofgetpos.c: File removed.
78229 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
78230 * sysdeps/wordsize-64/iofsetpos.c: File removed.
78231 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
78232 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
78233 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
78234 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
78235 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
78236 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
78237 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
78238 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
78239 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
78240 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
78241 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
78242
78243 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78244 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78245 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
78246 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78247 [defined __arch64__ || defined __sparcv9]
78248 (__OFF_T_MATCHES_OFF64_T): New macro.
78249 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78250 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78251 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78252 (__OFF_T_MATCHES_OFF64_T): New macro.
78253
78254 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
78255
78256 * stdlib/secure-getenv.c (__secure_getenv): Replace
78257 GLIBC_2_16 with GLIBC_2_17.
78258
78259 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
78260
78261 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
78262 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
78263
78264 2012-08-03 David S. Miller <davem@davemloft.net>
78265
78266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78267
78268 2012-08-03 Joseph Myers <joseph@codesourcery.com>
78269
78270 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
78271 Remove.
78272 (__ASSUME_CORRECT_SI_PID): Likewise.
78273 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
78274 (__ASSUME_TMPFS_NAME): Likewise.
78275 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
78276 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
78277 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
78278 (HAVE_AUX_SECURE): Make definition unconditional.
78279 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
78280 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
78281
78282 2012-08-03 Roland McGrath <roland@hack.frob.com>
78283
78284 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
78285 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
78286 * sysdeps/mach/hurd/eloop-threshold.h: New file.
78287 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
78288 __eloop_threshold instead of SYMLOOP_MAX.
78289
78290 * sysdeps/generic/eloop-threshold.h: New file.
78291 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
78292 of MAXSYMLINKS.
78293 * elf/chroot_canon.c (chroot_canon): Likewise.
78294
78295 2012-08-03 Joseph Myers <joseph@codesourcery.com>
78296
78297 [BZ #13717]
78298 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78299 Change to 2.6.0 everywhere.
78300 * sysdeps/unix/sysv/linux/configure: Regenerated.
78301 * sysdeps/unix/sysv/linux/kernel-features.h
78302 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
78303 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
78304 kernel versions.
78305 (__ASSUME_POSIX_TIMERS): Define unconditionally.
78306 (__ASSUME_FUTEX_REQUEUE): Remove.
78307 (__ASSUME_STATFS64): Define unconditionally.
78308 (__ASSUME_AT_SECURE): Likewise.
78309 (__ASSUME_CORRECT_SI_PID): Likewise.
78310 (__ASSUME_TGKILL): Define without depending on kernel version for
78311 i386.
78312 (__ASSUME_UTIMES): Likewise.
78313 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
78314 kernel version.
78315 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
78316 (__ASSUME_TMPFS_NAME): Likewise.
78317 * README: Update reference to Linux kernel versions.
78318
78319 2012-08-02 Marek Polacek <polacek@redhat.com>
78320
78321 [BZ #14150]
78322 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
78323 libc_cv_asm_type_prefix with %.
78324 * configure: Regenerated.
78325 * include/libc-symbols.h: Remove comment about
78326 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78327 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
78328 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
78329 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
78330 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
78331 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78332 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
78333 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
78334 * elf/tst-unique2mod1.c: Likewise.
78335 * elf/tst-unique1mod2.c: Likewise.
78336 * elf/tst-unique1mod1.c: Likewise.
78337 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
78338 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
78339 Replace ASM_TYPE_DIRECTIVE with .type.
78340 * sysdeps/s390/s390-64/sysdep.h: Likewise.
78341 * sysdeps/i386/sysdep.h: Likewise.
78342 * sysdeps/x86_64/sysdep.h: Likewise.
78343 * sysdeps/sh/sysdep.h: Likewise.
78344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78345 Do not define ASM_TYPE_DIRECTIVE.
78346 * sysdeps/powerpc/sysdep.h: Likewise.
78347 * sysdeps/powerpc/powerpc32/sysdep.h:
78348 Replace ASM_TYPE_DIRECTIVE with .type.
78349 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
78350 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
78351 * sysdeps/i386/fpu/e_powf.S: Likewise.
78352 * sysdeps/i386/fpu/e_expl.S: Likewise.
78353 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78354 * sysdeps/i386/fpu/e_acosh.S: Likewise.
78355 * sysdeps/i386/fpu/e_pow.S: Likewise.
78356 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78357 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78358 * sysdeps/i386/fpu/s_expm1.S: Likewise.
78359 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78360 * sysdeps/i386/fpu/e_log2.S: Likewise.
78361 * sysdeps/i386/fpu/e_log2l.S: Likewise.
78362 * sysdeps/i386/fpu/e_scalb.S: Likewise.
78363 * sysdeps/i386/fpu/e_powl.S: Likewise.
78364 * sysdeps/i386/fpu/e_log10f.S: Likewise.
78365 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78366 * sysdeps/i386/fpu/e_logl.S: Likewise.
78367 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78368 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78369 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78370 * sysdeps/i386/fpu/e_log2f.S: Likewise.
78371 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78372 * sysdeps/i386/fpu/e_log.S: Likewise.
78373 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78374 * sysdeps/i386/fpu/e_logf.S: Likewise.
78375 * sysdeps/i386/fpu/e_log10l.S: Likewise.
78376 * sysdeps/i386/fpu/e_atanh.S: Likewise.
78377 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78378 * sysdeps/i386/fpu/e_log10.S: Likewise.
78379 * sysdeps/i386/fpu/s_frexp.S: Likewise.
78380 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78381 * sysdeps/i386/fpu/s_asinh.S: Likewise.
78382 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78383 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78384 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
78385 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78386 * sysdeps/i386/i686/strtok.S: Likewise.
78387 * sysdeps/i386/i386-mcount.S: Likewise.
78388 * sysdeps/i386/strtok.S: Likewise.
78389 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
78390 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78391 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78392 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78393 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
78394 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78395 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78396 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78397 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78398 * sysdeps/x86_64/_mcount.S: Likewise.
78399 * sysdeps/x86_64/strtok.S: Likewise.
78400 * sysdeps/sh/_mcount.S: Likewise.
78401
78402 2012-08-01 Roland McGrath <roland@hack.frob.com>
78403
78404 * libio/iofopen.c: Include <fcntl.h>.
78405 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
78406 (_IO_fopen64, fopen64): Define as aliases.
78407 * libio/iofopen64.c: Include <fcntl.h>.
78408 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
78409 Conditionalize body on this.
78410 * sysdeps/wordsize-64/iofopen.c: File removed.
78411 * sysdeps/wordsize-64/iofopen64.c: File removed.
78412
78413 2012-08-01 Marek Polacek <polacek@redhat.com>
78414
78415 * libc/Makeconfig: Use elf in place of binfmt-subdir.
78416 Use dlfcn directly instead of a variable.
78417 (binfmt-subdir): Do not define.
78418 (dlfcn): Likewise.
78419
78420 2012-08-01 Joseph Myers <joseph@codesourcery.com>
78421
78422 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
78423 Remove all definitions.
78424 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
78425 <kernel-features.h>.
78426 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78427 (miss_F_GETOWN_EX): Remove all definitions.
78428 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
78429 macro definition.
78430 [!__ASSUME_FCNTL64]: Remove conditional code.
78431 [__ASSUME_FCNTL64]: Make code unconditional.
78432 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
78433 <kernel-features.h>.
78434 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78435 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
78436 (lockf64) [__NR_fcntl64]: Make code unconditional.
78437 (lockf64) [__ASSUME_FCNTL64]: Likewise.
78438
78439 * sysdeps/unix/sysv/linux/kernel-features.h
78440 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
78441 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
78442 Make code unconditional.
78443 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78444 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
78446 [__NR_vfork]: Make code unconditional.
78447 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78448 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
78450 [__NR_vfork]: Make code unconditional.
78451 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78452 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78453
78454 2012-08-01 Roland McGrath <roland@hack.frob.com>
78455
78456 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
78457 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
78458
78459 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78460 Define mkstemp64 as an alias.
78461 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78462 Define mkstemps64 as an alias.
78463 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78464 Define mkostemp64 as an alias.
78465 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78466 Define mkostemps64 as an alias.
78467 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
78468 Conditionalize body on this.
78469 * misc/mkostemp64.c: Likewise.
78470 * misc/mkostemps64.c: Likewise.
78471 * misc/mkstemps64.c: Likewise.
78472 * sysdeps/wordsize-64/mkstemp64.c: File removed.
78473 * sysdeps/wordsize-64/mkostemp64.c: File removed.
78474 * sysdeps/wordsize-64/mkostemp.c: File removed.
78475 * sysdeps/wordsize-64/mkstemp.c: File removed.
78476 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
78477 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
78478 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
78479 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
78480
78481 [BZ #14138]
78482 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
78483 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
78484 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
78485 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
78486
78487 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
78488 compat_symbol macros from <shlib-compat.h> rather than the underlying
78489 default_symbol_version and symbol_version macros, so that DEFAULT
78490 lines in shlib-versions are respected.
78491 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
78492
78493 2012-08-01 Florian Weimer <fweimer@redhat.com>
78494
78495 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
78496 Declare with warn_unused_result.
78497 (setgid, setregid, setegid, setresgid): Likewise.
78498 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
78499 Likewise.
78500 * WUR-REPORT: Remove set*id functions.
78501
78502 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
78503
78504 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
78505
78506 2012-07-31 Roland McGrath <roland@hack.frob.com>
78507
78508 [BZ #10191]
78509 * include/sys/socket.h (__libc_accept, __libc_accept4):
78510 Add attribute_hidden.
78511 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
78512
78513 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
78514 use of PTR_MANGLE.
78515 * inet/getnetgrent_r.c (setup): Likewise.
78516
78517 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
78518
78519 2012-07-31 David S. Miller <davem@davemloft.net>
78520
78521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78522
78523 2012-07-31 Joseph Myers <joseph@codesourcery.com>
78524
78525 [BZ #13629]
78526 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
78527 value between 1.0 and 2.0 and smaller part has absolute value less
78528 than 1.0.
78529 * math/s_clog10.c (__clog10): Likewise.
78530 * math/s_clog10f.c (__clog10f): Likewise.
78531 * math/s_clog10l.c (__clog10l): Likewise.
78532 * math/s_clogf.c (__clogf): Likewise.
78533 * math/s_clogl.c (__clogl): Likewise.
78534 * math/libm-test.inc (clog_test): Add more tests.
78535 (clog10_test): Likewise.
78536 * sysdeps/i386/fpu/libm-test-ulps: Update.
78537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78538
78539 2012-07-31 Florian Weimer <fweimer@redhat.com>
78540
78541 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
78542 Exit with zero in case no suitable GID is found, and write a
78543 message to standard error.
78544
78545 2012-07-30 Roland McGrath <roland@hack.frob.com>
78546
78547 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
78548 rather than to 1.
78549 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
78550 (MAXPATHLEN): Removed.
78551 (NOGROUP, NODEV): New macros.
78552 (setbit, clrbit, isset, isclr): New macros.
78553 (howmany, roundup, powerof2): New macros.
78554 (DEV_BSIZE): New macro.
78555
78556 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
78557 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
78558
78559 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
78560 definition on [!__NO_LONG_DOUBLE_MATH].
78561
78562 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
78563 PTR_MANGLE and PTR_DEMANGLE.
78564
78565 * socket/accept4.c (accept4): Rename to __libc_accept4.
78566 Define accept4 as a weak alias.
78567
78568 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
78569 on [_DIRENT_HAVE_D_TYPE].
78570 * io/ftw.c (ftw_dir): Likewise.
78571
78572 * io/xmknod.c (__xmknod): Don't check PATH for being null.
78573
78574 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
78575
78576 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
78577 Use the BSD numbers rather than the arbitrary ones we had.
78578 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
78579 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
78580 (SIGXCPU, SIGXFSZ): New macros.
78581 (_NSIG): Now 32.
78582
78583 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
78584 initializer on [_LIBC_REENTRANT].
78585
78586 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
78587 definitions inside [_POSIX_MAPPED_FILES].
78588
78589 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
78590
78591 * dirent/opendir.c: Include <fcntl.h>.
78592
78593 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
78594 (__libc_getspecific): Likewise.
78595 (__libc_key_create): Likewise.
78596
78597 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
78598 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
78599 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
78600 (tmpfile64): Define as alias.
78601 * sysdeps/wordsize-64/tmpfile.c: File removed.
78602 * sysdeps/wordsize-64/tmpfile64.c: File removed.
78603 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
78604 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
78605
78606 * stdio-common/vfscanf.c: Include <stdbool.h>.
78607 * nss/makedb.c: Likewise.
78608 * stdio-common/_i18n_number.h: Likewise.
78609 * argp/argp-help.c: Likewise.
78610 * posix/wordexp.c: Likewise.
78611 * sysdeps/posix/spawni.c: Likewise.
78612 * nss/nss_files/files-initgroups.c: Likewise.
78613 * stdio-common/reg-modifier.c: Include <stdlib.h>.
78614 * nss/nss_files/files-initgroups.c: Likewise.
78615 * nss/nss_db/db-netgrp.c: Likewise.
78616 * nss/nss_db/db-initgroups.c: Likewise.
78617 * io/fchmodat.c: Include <sys/stat.h>.
78618
78619 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
78620 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
78621
78622 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
78623 [HAVE_MMAP].
78624
78625 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
78626 Add multiple inclusion protection.
78627
78628 2012-07-27 David S. Miller <davem@davemloft.net>
78629
78630 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78631
78632 2012-07-27 Gary Benson <gbenson@redhat.com>
78633
78634 [BZ #14298]
78635 * elf/rtld.c: Include <stap-probe.h>.
78636 (dl_main): Added static probes "init_start" and "init_complete".
78637 * elf/dl-load.c: Include <stap-probe.h>.
78638 (lose): Take new parameter "nsid".
78639 Added static probe "map_failed".
78640 (_dl_map_object_from_fd): Pass namespace id to lose.
78641 Added static probe "map_start".
78642 (open_verify): Pass namespace id to lose.
78643 * elf/dl-open.c: Include <stap-probe.h>.
78644 (dl_open_worker) Added static probes "map_complete", "reloc_start"
78645 and "reloc_complete".
78646 * elf/dl-close.c: Include <stap-probe.h>.
78647 (_dl_close_worker): Added static probes "unmap_start" and
78648 "unmap_complete".
78649 * elf/rtld-debugger-interface.txt: New file documenting the above.
78650
78651 2012-07-26 Roland McGrath <roland@hack.frob.com>
78652
78653 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
78654 rather than a string variable.
78655 * sunrpc/rpc_main.c (h_output): Likewise.
78656 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
78657
78658 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
78659
78660 * inet/check_native.c: New file.
78661
78662 2012-07-26 Joseph Myers <joseph@codesourcery.com>
78663
78664 [BZ #13629]
78665 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
78666 if larger part has absolute value 1.0.
78667 * math/s_clog10.c (__clog10): Likewise.
78668 * math/s_clog10f.c (__clog10f): Likewise.
78669 * math/s_clog10l.c (__clog10l): Likewise.
78670 * math/s_clogf.c (__clogf): Likewise.
78671 * math/s_clogl.c (__clogl): Likewise.
78672 * math/libm-test.inc (clog_test): Add more tests.
78673 (clog10_test): Likewise.
78674 * sysdeps/i386/fpu/libm-test-ulps: Update.
78675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78676
78677 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
78678 (pltexit): Likewise.
78679 (La_regs): Likewise.
78680 (La_retval): Likewise.
78681 (int_retval): Likewise.
78682 Update #error for removed macros to refer only to definitions in
78683 tst-audit.h.
78684 * elf/tst-auditmod3b.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-auditmod4b.c (pltenter): Remove all definitions of
78691 macro.
78692 (pltexit): Likewise.
78693 (La_regs): Likewise.
78694 (La_retval): Likewise.
78695 (int_retval): Likewise.
78696 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
78697 macro.
78698 (pltexit): Likewise.
78699 (La_regs): Likewise.
78700 (La_retval): Likewise.
78701 (int_retval): Likewise.
78702 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
78703 macro.
78704 (pltexit): Likewise.
78705 (La_regs): Likewise.
78706 (La_retval): Likewise.
78707 (int_retval): Likewise.
78708 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
78709 macro.
78710 (pltexit): Likewise.
78711 (La_regs): Likewise.
78712 (La_retval): Likewise.
78713 (int_retval): Likewise.
78714 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
78715 macro.
78716 (pltexit): Likewise.
78717 (La_regs): Likewise.
78718 (La_retval): Likewise.
78719 (int_retval): Likewise.
78720 * sysdeps/generic/tst-audit.h: Update comment to refer only to
78721 macro definitions in tst-audit.h.
78722 * sysdeps/i386/tst-audit.h: New file.
78723 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
78724 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
78725 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
78726 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
78727 * sysdeps/sh/tst-audit.h: Likewise.
78728 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
78729 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
78730 * sysdeps/x86_64/tst-audit.h: Likewise.
78731
78732 2012-07-26 Andreas Jaeger <aj@suse.de>
78733
78734 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
78735 ptrace.
78736
78737 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
78738 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
78739 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
78740 PTRACE_O_MASK.
78741 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
78742 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
78743 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
78744
78745 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
78746 value.
78747
78748 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
78749 _sigsys.
78750 (si_call_addr, si_syscall, si_arch): Define new macro.
78751 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
78752 _sigsys.
78753 (si_call_addr, si_syscall, si_arch): Define new marcro.
78754 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
78755 _sigsys.
78756 (si_call_addr, si_syscall, si_arch): Define new macro.
78757 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
78758 _sigsys.
78759 (si_call_addr, si_syscall, si_arch): Define new macro.
78760
78761 2012-07-25 Joseph Myers <joseph@codesourcery.com>
78762
78763 [BZ #13717]
78764 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78765 Change to 2.4.21 where previously 2.4.1.
78766 * sysdeps/unix/sysv/linux/configure: Regenerated.
78767 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
78768 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
78769 Linux kernel version.
78770 (__ASSUME_STD_AUXV): Remove.
78771 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
78772 kernel version.
78773 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
78774 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
78775 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
78776 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
78777 (__ASSUME_NETLINK_SUPPORT): Likewise.
78778 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
78779 (__no_netlink_support): Remove conditional definition.
78780 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
78781 Remove.
78782 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
78783 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
78784 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
78785 (if_nameindex_ioctl): Remove.
78786 (if_nameindex_netlink): Do not handle __no_netlink_support.
78787 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
78788 code.
78789 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
78790 Remove conditional code.
78791 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
78792 code.
78793 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
78794 unconditional.
78795 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
78796 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
78797 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
78798 Remove.
78799 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
78800 [!__ASSUME_STD_AUXV]: Remove conditional code.
78801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
78802 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
78803 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
78804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
78805 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
78806 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
78807 code.
78808 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
78809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
78810 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
78811 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
78812 conditional code.
78813 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
78814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
78815 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
78816 code.
78817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
78818 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
78819 conditional code.
78820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
78821 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78822 code unconditional.
78823 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78824 conditional code.
78825 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78826 unconditional.
78827 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78828 conditional code.
78829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
78830 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78831 unconditional.
78832 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78833 conditional code.
78834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
78835 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78836 code unconditional.
78837 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78838 conditional code.
78839 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78840 unconditional.
78841 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78842 conditional code.
78843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
78844 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78845 code unconditional.
78846 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78847 conditional code.
78848 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78849 unconditional.
78850 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78851 conditional code.
78852
78853 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
78854
78855 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
78856 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
78857 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
78858 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
78859 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
78860 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
78861 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
78862 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
78863 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
78864 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
78865 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
78866 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
78867 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
78868 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
78869 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
78870 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
78871 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
78872 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
78873 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
78874 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
78875 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
78876 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
78877 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
78878
78879 2012-07-25 Florian Weimer <fweimer@redhat.com>
78880
78881 * Versions.def: Add GLIBC_2.17.
78882 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
78883 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
78884 Introduce __libc_secure_getenv.
78885 * stdlib/Versions (2.17): Add secure_getenv
78886 (GLIBC_PRIVATE): Add __libc_secure_getenv.
78887 * stdlib/secure-getenv.c: Rename __secure_getenv to
78888 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
78889 symbol __secure_getenv for GLIBC_2.0.
78890 * stdlib/tst-secure-getenv.c: New.
78891 * stdlib/Makefile (tests): Add testcase.
78892 * manual/startup.texi (Environment Access): Document
78893 secure_getenv.
78894 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
78895 __libc_secure_getenv.
78896 * inet/ruserpass.c (ruserpass): Likewise.
78897 * malloc/mtrace.c (mtrace): Likewise.
78898 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
78899 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
78900 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
78901 * sysdeps/posix/tempname.c: Likewise. Evaluate
78902 HAVE_SECURE_GETENV.
78903 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
78904 __secure_getenv to __libc_secure_getenv.
78905 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
78906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
78907 Likewise.
78908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
78909 Likewise.
78910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
78911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
78912 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
78913 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
78914 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
78915 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
78916 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
78917
78918 2012-07-25 Joseph Myers <joseph@codesourcery.com>
78919
78920 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
78921 (struct La_i86_retval): Likewise.
78922 (struct La_x86_64_regs): Likewise.
78923 (struct La_x86_64_retval): Likewise.
78924 (struct La_x32_regs): Likewise.
78925 (struct La_x32_retval): Likewise.
78926 (struct La_ppc32_regs): Likewise.
78927 (struct La_ppc32_retval): Likewise.
78928 (struct La_ppc64_regs): Likewise.
78929 (struct La_ppc64_retval): Likewise.
78930 (struct La_sh_regs): Likewise.
78931 (struct La_sh_retval): Likewise.
78932 (struct La_s390_32_regs): Likewise.
78933 (struct La_s390_32_retval): Likewise.
78934 (struct La_s390_64_regs): Likewise.
78935 (struct La_s390_64_retval): Likewise.
78936 (struct La_sparc32_regs): Likewise.
78937 (struct La_sparc32_retval): Likewise.
78938 (struct La_sparc64_regs): Likewise.
78939 (struct La_sparc64_retval): Likewise.
78940 (struct audit_ifaces): Remove architecture-specific pltenter and
78941 pltexit members.
78942 * sysdeps/i386/ldsodefs.h: New file.
78943 * sysdeps/powerpc/ldsodefs.h: Likewise.
78944 * sysdeps/s390/ldsodefs.h: Likewise.
78945 * sysdeps/sh/ldsodefs.h: Likewise.
78946 * sysdeps/sparc/ldsodefs.h: Likewise.
78947 * sysdeps/x86_64/ldsodefs.h: Likewise.
78948
78949 2012-07-25 Marek Polacek <polacek@redhat.com>
78950
78951 [BZ #6808]
78952 * math/libm-test.inc (yn_test): Add another test.
78953 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
78954 to ERANGE when the result is +-Inf.
78955 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
78956 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
78957 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
78958 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
78959
78960 2012-07-24 Joseph Myers <joseph@codesourcery.com>
78961
78962 * conform/data/time.h-data (NULL): Use macro-constant. Require
78963 equal to 0.
78964 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
78965 clock_t.
78966 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
78967
78968 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
78969
78970 * configure.in <sysdeps resolving>: Correct printing
78971 Implies_before.
78972 * configure: Regenerate.
78973
78974 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
78975
78976 * math/w_ilogb.c: Include <limits.h>.
78977 * math/w_ilogbl.c: Likewise.
78978
78979 2012-07-20 Joseph Myers <joseph@codesourcery.com>
78980
78981 * manual/lang.texi (__va_copy): Document primarily as ISO C99
78982 va_copy. Document allowing for unavailable va_copy only as
78983 pre-C99 compatibility.
78984 * manual/string.texi (Copying and Concatenation): Use va_copy
78985 instead of __va_copy in concat example.
78986
78987 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
78988
78989 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
78990 (__sendto): Use create_address_port. Initialize APORT and deallocate
78991 it if not null.
78992
78993 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
78994 with O_NOLINK passed to __file_name_lookup.
78995
78996 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
78997 with O_NOLINK passed to __file_name_lookup.
78998
78999 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
79000 negative N or less than NGIDS.
79001
79002 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
79003 type to string_t. Set ERANGE as errno and return it if NAME is not big
79004 enough. Use memcpy instead of strncpy.
79005
79006 2012-07-20 Joseph Myers <joseph@codesourcery.com>
79007
79008 * elf/Makefile (check-data): Remove.
79009 (localplt.data): New vpath directive.
79010 ($(objpfx)check-localplt.out): Use localplt.data from vpath
79011 instead of $(check-data).
79012 * scripts/data/localplt-generic.data: Move to ...
79013 * sysdeps/generic/localplt.data: ... here.
79014 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
79015 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
79016 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
79017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
79018 ... here.
79019 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
79020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
79021 ... here.
79022 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
79023 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
79024 ... here.
79025 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
79026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
79027 ... here.
79028 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
79029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
79030 ... here.
79031 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
79032 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
79033 ... here.
79034
79035 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79036
79037 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
79038 PPC32 and PPC64 files.
79039 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
79040 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
79041
79042 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79043
79044 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
79045 __makecontext_ret to ...
79046 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
79047 ... here and call exit if uc_link is NULL. New file.
79048 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
79049 __makecontext_ret.S.
79050 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
79051 __makecontext_ret to ...
79052 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
79053 ... here and call exit if uc_link is NULL. New file.
79054 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
79055 __makecontext_ret.S.
79056
79057 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79058
79059 * elf/elf.h (R_390_IRELATIVE): New definition.
79060 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
79061 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
79062 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
79063 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
79064 (elf_machine_lazy_rel): Likewise.
79065 * sysdeps/s390/dl-irel.h: New file.
79066 * sysdeps/s390/s390-64/memcpy.S: New asm code.
79067 * sysdeps/s390/s390-64/memset.S: New asm code.
79068 * sysdeps/s390/s390-64/memcmp.S: New asm code.
79069 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
79070 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
79071 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
79072 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
79073 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
79074 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
79075 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
79076 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
79077 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
79078 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
79079 * sysdeps/s390/s390-32/memcpy.S: New asm code.
79080 * sysdeps/s390/s390-32/memset.S: New asm code.
79081 * sysdeps/s390/s390-32/memcmp.S: New asm code.
79082
79083 2012-07-17 Marek Polacek <polacek@redhat.com>
79084
79085 [BZ #14349]
79086 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
79087 * sysdeps/s390/s390-64/configure.in: Likewise.
79088 * sysdeps/sparc/configure.in: Likewise.
79089 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
79090 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
79091 * sysdeps/i386/configure.in: Likewise.
79092 * sysdeps/x86_64/configure.in: Likewise.
79093 * sysdeps/sh/configure.in: Likewise.
79094 * sysdeps/s390/s390-32/configure: Regenerated.
79095 * sysdeps/s390/s390-64/configure: Likewise.
79096 * sysdeps/x86_64/configure: Likewise.
79097 * sysdeps/sh/configure: Likewise.
79098 * sysdeps/powerpc/powerpc64/configure: Likewise.
79099 * sysdeps/powerpc/powerpc32/configure: Likewise.
79100 * sysdeps/sparc/configure: Likewise.
79101 * sysdeps/i386/configure: Likewise.
79102
79103 * elf/dl-open.c: Comment fixes.
79104
79105 2012-07-17 Joseph Myers <joseph@codesourcery.com>
79106
79107 * Makefile [CXX] (check-data): Remove.
79108 [CXX] (c++-types.data): New vpath directive.
79109 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
79110 vpath. Do not allow for C++ type data being missing.
79111 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
79112 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
79113 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
79114 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
79115 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
79116 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
79117 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
79118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
79119 ... here.
79120 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
79121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
79122 ... here.
79123 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
79124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
79125 ... here.
79126 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
79127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
79128 ... here.
79129 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
79130 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
79131 ... here.
79132 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
79133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
79134 ... here.
79135 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
79136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
79137 ... here.
79138 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
79139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
79140
79141 * elf/tls-macros.h (TLS_LE): Move architecture-specific
79142 definitions to architecture-specific files.
79143 (TLS_IE): Likewise.
79144 (TLS_LD): Likewise.
79145 (TLS_GD): Likewise.
79146 * sysdeps/i386/tls-macros.h: New file.
79147 * sysdeps/powerpc/tls-macros.h: Likewise.
79148 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
79149 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
79150 * sysdeps/sh/tls-macros.h: Likewise.
79151 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
79152 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
79153 * sysdeps/x86_64/tls-macros.h: Likewise.
79154
79155 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
79156
79157 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
79158 zero value for regular exit case.
79159
79160 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
79161 (__start_context): Preserve zero value for regular exit case.
79162
79163 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
79164 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79165
79166 * manual/setjmp.texi (setcontext): Clarify normal process
79167 termination when uc_link is the null pointer.
79168 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
79169 exit call.
79170
79171 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
79172
79173 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
79174 preprocessor. Test for each exception mask separately.
79175
79176 2012-07-16 Andreas Jaeger <aj@suse.de>
79177
79178 * po/ru.po: Update from translation team.
79179
79180 2012-07-15 Joseph Myers <joseph@codesourcery.com>
79181
79182 * conform/data/string.h-data (NULL): Use macro-constant. Require
79183 equal to 0.
79184 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
79185 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
79186 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
79187 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
79188 [ISO || ISO99 || ISO11] (*_t): Do not allow.
79189
79190 2012-07-13 Andreas Jaeger <aj@suse.de>
79191
79192 * po/fr.po: Update from translation team.
79193
79194 2012-07-12 Marek Polacek <polacek@redhat.com>
79195
79196 [BZ #14173]
79197 * math/libm-test.inc (yn_test): Add test for BZ #14173.
79198 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
79199 loop condition.
79200
79201 2012-07-12 Joseph Myers <joseph@codesourcery.com>
79202
79203 [BZ #13717]
79204 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
79205 Change to 2.4.1 where previously 2.4.0.
79206 * sysdeps/unix/sysv/linux/configure: Regenerated.
79207 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
79208 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
79209 version.
79210 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
79211 (__ASSUME_AT_CLKTCK): Remove.
79212 (__ASSUME_AT_PAGESIZE): Likewise.
79213 (__ASSUME_AT_XID): Likewise.
79214 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
79215 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
79216 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
79217 unconditionally.
79218 (HAVE_AUX_PAGESIZE): Likewise.
79219 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
79220 [__ASSUME_AT_CLKTCK]: Make code unconditional.
79221 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
79222
79223 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
79224
79225 [BZ #14307]
79226 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
79227 the temporary buffer used to invoke __gethostbyname2_r,
79228 __gethostbyaddr_r and gethostbyname4_r to make room for struct
79229 host_data / struct gaih_addrtuple.
79230 * resolv/nss_dns/dns-host.c (global scope): Move definition of
79231 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
79232 header file nss/nsswitch.h.
79233 * nss/nsswitch.h (global scope): Add definition of implementation
79234 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
79235 resolv/nss_dns/dns-host.c).
79236
79237 2012-07-11 Andreas Jaeger <aj@suse.de>
79238
79239 * po/fr.po: Update from translation team.
79240
79241 * po/sv.po: Update from translation team
79242 * po/fr.po: Another update from translation team.
79243
79244 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79245
79246 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
79247 for subnormals or multiply small sinh result by itself.
79248 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
79249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79250
79251 2012-07-11 David S. Miller <davem@davemloft.net>
79252
79253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
79254
79255 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
79256
79257 [BZ #14347]
79258 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
79259 (INTERNAL_MARK): Shift it here.
79260
79261 2012-07-10 Marek Polacek <polacek@redhat.com>
79262
79263 [BZ #14151]
79264 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
79265 libc_cv_asm_global_directive with .globl.
79266 * configure: Regenerated.
79267 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
79268 with .globl.
79269 * sysdeps/i386/configure: Regenerated.
79270 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
79271 with .globl.
79272 * sysdeps/x86_64/configure: Regenerated.
79273 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
79274 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
79275 * elf/tst-unique2mod2.c: Likewise.
79276 * elf/tst-unique2mod1.c: Likewise.
79277 * elf/tst-unique1mod2.c: Likewise.
79278 * elf/tst-unique1mod1.c: Likewise.
79279 * sysdeps/s390/s390-32/sysdep.h: Likewise.
79280 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
79281 * sysdeps/s390/s390-64/sysdep.h: Likewise.
79282 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
79283 * sysdeps/mach/sysdep.h: Likewise.
79284 * sysdeps/i386/sysdep.h: Likewise.
79285 * sysdeps/i386/i386-mcount.S: Likewise.
79286 * sysdeps/x86_64/_mcount.S: Likewise.
79287 * sysdeps/x86_64/sysdep.h: Likewise.
79288 * sysdeps/sh/_mcount.S: Likewise.
79289 * sysdeps/sh/sysdep.h: Likewise.
79290 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
79291 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
79292 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
79293 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
79294 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
79295 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
79296 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
79297 * locale/localeinfo.h: Likewise.
79298 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
79299 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
79300
79301 2012-07-09 Roland McGrath <roland@hack.frob.com>
79302
79303 [BZ #14336]
79304 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
79305 system".
79306 * manual/message.texi (The Uniforum approach): Likewise.
79307 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
79308 (glibc iconv Implementation): Likewise.
79309
79310 2012-07-09 Joseph Myers <joseph@codesourcery.com>
79311
79312 [BZ #14337]
79313 * math/s_clog.c (__clog): Avoid scaling a value down where that
79314 could result in underflow.
79315 * math/s_clog10.c (__clog10): Likewise.
79316 * math/s_clog10f.c (__clog10f): Likewise.
79317 * math/s_clog10l.c (__clog10l): Likewise.
79318 * math/s_clogf.c (__clogf): Likewise.
79319 * math/s_clogl.c (__clogl): Likewise.
79320 * math/libm-test.inc (clog_test): Add more tests.
79321 (clog10_test): Likewise.
79322 * sysdeps/i386/fpu/libm-test-ulps: Update.
79323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79324
79325 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
79326
79327 [BZ #14283]
79328 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
79329 by 7 not 8 to examine high bit of fractional part.
79330
79331 [BZ #14042]
79332 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
79333 for call to __mcount_internal.
79334 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
79335 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
79336 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
79337
79338 2012-07-06 Joseph Myers <joseph@codesourcery.com>
79339
79340 [BZ #14154]
79341 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
79342 approximation for values within 0x1p-13f of an odd multiple of
79343 pi/4.
79344 * math/libm-test.inc (tan_test): Do not allow spurious underflow
79345 exception. Add more tests.
79346 * sysdeps/i386/fpu/libm-test-ulps: Update.
79347
79348 [BZ #6778]
79349 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
79350 inputs and return -1 for them. Do not check for +Inf in case not
79351 reachable for +Inf.
79352 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
79353 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
79354 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79355 and return -1 for them. Do not check for +Inf in case not
79356 reachable for +Inf.
79357 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
79358 define.
79359 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79360 and return -1 for them. Do not check for +Inf in case not
79361 reachable for +Inf.
79362 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
79363 spurious underflow.
79364 * sysdeps/i386/fpu/libm-test-ulps: Update.
79365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79366
79367 2012-07-06 Mike Frysinger <vapier@gentoo.org>
79368
79369 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
79370
79371 2012-07-05 Joseph Myers <joseph@codesourcery.com>
79372
79373 [BZ #14157]
79374 [BZ #14331]
79375 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
79376 could result in spurious underflow. Scale down values above
79377 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
79378 * math/s_csqrtf.c (__csqrtf): Likewise.
79379 * math/s_csqrtl.c (__csqrtl): Likewise.
79380 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
79381 spurious underflow.
79382 * sysdeps/i386/fpu/libm-test-ulps: Update.
79383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79384
79385 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
79386
79387 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
79388 xopen-msg.sed.
79389 * catgets/xopen-msg.awk: New file.
79390 * catgets/xopen-msg.sed: Removed.
79391
79392 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
79393 po2text.sed.
79394 * intl/po2test.awk: New file.
79395 * intl/po2test.sed: Removed.
79396
79397 2012-07-04 Joseph Myers <joseph@codesourcery.com>
79398
79399 [BZ #14328]
79400 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
79401 or multiply small sinh result by itself.
79402 * math/s_ctanf.c (__ctanf): Likewise.
79403 * math/s_ctanh.c (__ctanh): Likewise.
79404 * math/s_ctanhf.c (__ctanhf): Likewise.
79405 * math/s_ctanhl.c (__ctanhl): Likewise.
79406 * math/s_ctanl.c (__ctanl): Likewise.
79407 * math/libm-test.inc (ctan_test_tonearest): New function.
79408 (ctan_test_towardzero): Likewise.
79409 (ctan_test_downward): Likewise.
79410 (ctan_test_upward): Likewise.
79411 (ctanh_test_tonearest): Likewise.
79412 (ctanh_test_towardzero): Likewise.
79413 (ctanh_test_downward): Likewise.
79414 (ctanh_test_upward): Likewise.
79415 (main): Call these new functions.
79416 * sysdeps/i386/fpu/libm-test-ulps: Update.
79417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79418
79419 2012-07-03 Mike Frysinger <vapier@gentoo.org>
79420
79421 * .gitignore: Delete /ports entry.
79422
79423 2012-07-03 Andreas Jaeger <aj@suse.de>
79424
79425 * po/bg.po: Update from translation team.
79426 * po/cs.po: Likewise.
79427 * po/de.po: Likewise.
79428 * po/hr.po: Likewise.
79429 * po/nl.pl: Likewise.
79430 * po/pl.po: Likewise.
79431 * po/vi.po: Likewise.
79432
79433 2012-07-03 Joseph Myers <joseph@codesourcery.com>
79434
79435 * Makeconfig [!+link] (+link-before-libc): New variable.
79436 [!+link] (+link-after-libc): Likewise.
79437 [!+link] (+link-tests): Likewise.
79438 [!+link] (+link): Define in terms of $(+link-before-libc) and
79439 $(+link-after-libc).
79440 [!+link-static] (+link-static-before-libc): New variable.
79441 [!+link-static] (+link-static-after-libc): Likewise.
79442 [!+link-static] (+link-static-tests): Likewise.
79443 [!+link-static] (+link-static): Define in terms of
79444 $(+link-static-before-libc) and $(+link-static-after-libc).
79445 [build-shared] (link-libc-before-gnulib): New variable.
79446 [build-shared] (link-libc-tests): Likewise.
79447 [build-shared] (link-libc): Define in terms of
79448 $(link-libc-before-gnulib).
79449 [!build-shared] (link-libc-tests): New variable.
79450 (link-libc-static-tests): New variable.
79451 [!gnulib] (gnulib-arch): New variable.
79452 [!gnulib] (gnulib-tests): Likewise.
79453 [!gnulib] (static-gnulib-arch): Likewise.
79454 [!gnulib] (static-gnulib-tests): Likewise.
79455 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
79456 Define with "=" instead of ":=".
79457 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
79458 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
79459 * Rules (binaries-all-notests): New variable.
79460 (binaries-all-tests): Likewise.
79461 (binaries-static-notests): Likewise.
79462 (binaries-static-tests): Likewise.
79463 (binaries-all): Define using $(binaries-all-notests) and
79464 $(binaries-all-tests).
79465 (binaries-static): Define using $(binaries-static-notests) and
79466 $(binaries-static-tests).
79467 (binaries-shared-tests): New variable.
79468 (binaries-shared-notests): Likewise.
79469 (binaries-shared): Remove variable.
79470 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
79471 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
79472 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
79473 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
79474 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
79475 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
79476 * elf/Makefile (sln-modules): New variable.
79477 (extra-objs): Add $(sln-modules:=.o).
79478 (ldconfig-modules): Add static-stubs.
79479 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
79480 * elf/static-stubs.c: New file.
79481
79482 [BZ #14283]
79483 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
79484 by 7 not 8 to examine high bit of fractional part. Use volatile
79485 variables when splitting into final array of floats if
79486 __FLT_EVAL_METHOD__ != 0.
79487 * math/libm-test.inc (cos_test): Add another test.
79488 (sin_test): Likewise.
79489 * sysdeps/i386/fpu/libm-test-ulps: Update.
79490
79491 [BZ #14273]
79492 * math/libm-test.inc (cosh_test): Add more tests.
79493
79494 * version.h (RELEASE): Set to "development".
79495 (VERSION): Set to "2.16.90".
79496
79497 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
79498
79499 * NEWS: Update copyright. Remove last-updated date.
79500 Mention math library bug fixes and timezone data changes.
79501 * README: Mention GNU/Hurd, x32, and HPPA support status.
79502
79503 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
79504
79505 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
79506
79507 2012-06-27 Andreas Jaeger <aj@suse.de>
79508
79509 * manual/contrib.texi (Contributors): Add Samuel Thibault.
79510
79511 2012-06-25 Andreas Jaeger <aj@suse.de>
79512
79513 * sysdeps/s390/fpu/libm-test-ulps: Update.
79514
79515 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
79516 Thomas Schwinge <thomas@codesourcery.com>
79517
79518 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
79519 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
79520 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
79521 fanotify_mark.
79522
79523 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
79524
79525 * sysdeps/mach/start.c: Remove file.
79526 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
79527 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
79528 * sysdeps/sh/init-first.c: Likewise.
79529
79530 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
79531 registers for frame unwinding purposes, add CFI directives.
79532 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79533 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
79534 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
79535 Likewise.
79536
79537 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
79538 __fortify_fail returning.
79539 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79540
79541 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
79542 sysdeps/sh/____longjmp_chk.S.
79543 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
79544 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
79545 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
79546 (gen-as-const-headers): Append sigaltstack-offsets.sym.
79547
79548 * sysdeps/sh/abort-instr.h: New file.
79549 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
79550 process in case exit returns.
79551
79552 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
79553 initialize the GOT register before use.
79554
79555 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
79556 calculation of ARGC > 4.
79557
79558 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
79559 meaningful names to some local labels.
79560
79561 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
79562 Kaz Kojima <kkojima@rr.iij4u.or.jp>
79563
79564 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
79565 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
79566 (__arch_compare_and_exchange_val_16_acq): Likewise.
79567 (__arch_compare_and_exchange_val_32_acq): Likewise.
79568 (atomic_exchange_and_add): Fix gUSA sequence.
79569 (atomic_add): Likewise.
79570 (atomic_add_negative): Likewise.
79571 (atomic_add_zero): Likewise.
79572 (atomic_bit_test_set): Likewise.
79573
79574 2012-06-22 Andreas Schwab <schwab@redhat.com>
79575
79576 [BZ #13579]
79577 * include/link.h (struct link_map): Add l_free_initfini.
79578 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
79579 l_initfini.
79580 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
79581 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
79582 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
79583 set.
79584
79585 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
79586
79587 * configure.in: Use AC_LANG_SOURCE.
79588 * configure: Regenerate.
79589
79590 2012-06-22 Roland McGrath <roland@hack.frob.com>
79591
79592 * configure.in (libc_cv_localstatedir): New substituted variable.
79593 * configure: Regenerated.
79594 * config.make.in (localstatedir): New variable, substituted from
79595 libc_cv_localstatedir.
79596 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
79597 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
79598 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
79599 * sysdeps/gnu/configure: Regenerated.
79600
79601 2012-06-21 Jeff Law <law@redhat.com>
79602
79603 [BZ #14277]
79604 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
79605 free. Simplify list management for _LIBC case.
79606
79607 2012-06-21 Joseph Myers <joseph@codesourcery.com>
79608
79609 [BZ #14273]
79610 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
79611 Clear sign bit of 64-bit integer value before comparing against
79612 overflow value.
79613
79614 * sysdeps/mach/configure: Regenerated.
79615
79616 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
79617
79618 [BZ #14278]
79619 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
79620
79621 2012-06-21 Jeff Law <law@redhat.com>
79622
79623 [BZ #13882]
79624 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
79625 uint16_t for elements in the "seen" array to avoid char overflows.
79626 * elf/dl-fini.c (_dl_sort_fini): Likewise.
79627 * elf/dl-open.c (dl_open_worker): Likewise.
79628
79629 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
79630
79631 * scripts/list-sources.sh: Scan PORTS for translations.
79632 * po/libc.pot: Regenerated.
79633
79634 2012-06-21 Andreas Jaeger <aj@suse.de>
79635
79636 [BZ #12194]
79637 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
79638 warning.
79639 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
79640 * bits/byteswap-16.h (__bswap_16): Likewise.
79641 * bits/byteswap.h (__bswap_constant_16): Likewise.
79642
79643 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
79644
79645 [BZ #14117]
79646 * sysdeps/i386/fpu_control.h: Removed.
79647 * sysdeps/x86_64/fpu_control.h: Moved to ...
79648 * sysdeps/x86/fpu_control.h: Here.
79649
79650 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
79651 (_FPU_SETCW): Likewise.
79652
79653 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
79654
79655 [BZ #14117]
79656 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
79657 * sysdeps/x86/fpu/bits/mathinline.h: This.
79658 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
79659
79660 [BZ #14050]
79661 [BZ #14117]
79662 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
79663 functions if __x86_64__ is defined.
79664
79665 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
79666
79667 * string/endian.h: Add !__ASSEMBLER__ condition for including
79668 conversion interfaces.
79669
79670 2012-06-15 Joseph Myers <joseph@codesourcery.com>
79671
79672 [BZ #14241]
79673 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
79674 of ABS(x) in calculating zero to negative powers other than odd
79675 integers.
79676 * math/libm-test.inc (pow_test): Add more tests.
79677
79678 2012-06-15 Andreas Jaeger <aj@suse.de>
79679
79680 * manual/contrib.texi (Contributors): Update entry of Liubov
79681 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
79682 Machado Filho.
79683
79684 2012-06-15 Cyril Hrubis <metan@ucw.cz>
79685
79686 * string/string.h: Add __wur to GNU version of strerror_r.
79687
79688 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
79689
79690 [BZ #14229]
79691 * string/Makefile (tests): Add tst-strtok_r.
79692 * string/tst-strtok_r.c: New file.
79693 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
79694 RAX_LP/RDX_LP on SAVE_PTR.
79695
79696 2012-06-14 Roland McGrath <roland@hack.frob.com>
79697
79698 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
79699
79700 2012-06-14 Joseph Myers <joseph@codesourcery.com>
79701
79702 * libm_test.inc (csqrt_test): Allow more spurious underflow
79703 exceptions.
79704 (j0_test): Likewise.
79705 (j1_test): Likewise.
79706 (y0_test): Likewise.
79707 (y1_test): Likewise.
79708
79709 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
79710
79711 * po/Makefile (libc.pot): Use UTF-8 charset.
79712
79713 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
79714
79715 [BZ #14210]
79716 Suppress sign-conversion warning from FD_SET.
79717 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
79718 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
79719 not unsigned long int.
79720 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
79721
79722 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
79723
79724 [BZ #14050]
79725 [BZ #14117]
79726 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
79727 __extern_always_inline instead of __extern_inline.
79728 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
79729 (__signbit): Likewise.
79730 (__signbitl): Support C++ namespace.
79731 (lrintf): New inline function.
79732 (lrint): Likewise.
79733 (llrintf): Likewise.
79734 (llrint): Likewise.
79735 (fmaxf): Likewise.
79736 (fmax): Likewise.
79737 (fminf): Likewise.
79738 (fmin): Likewise.
79739 (rint): Likewise.
79740 (rintf): Likewise.
79741 (ceil): Likewise.
79742 (ceilf): Likewise.
79743 (floor): Likewise.
79744 (floorf): Likewise.
79745 (nearbyint): Likewise.
79746 (nearbyintf): Likewise.
79747
79748 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
79749
79750 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
79751 non-default versions.
79752
79753 2012-06-11 Roland McGrath <roland@hack.frob.com>
79754
79755 [BZ #14218]
79756 * manual/argp.texi (Argp): Reword argp_parse description slightly.
79757
79758 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
79759
79760 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
79761 (FE_UPWARD, FE_DOWNWARD): Don't define.
79762 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
79763 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
79764
79765 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
79766 reading it.
79767 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
79768 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79769
79770 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
79771
79772 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
79773 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
79774 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
79775 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
79776
79777 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
79778
79779 [BZ #14117]
79780 * sysdeps/i386/fpu/bits/fenv.h: Removed.
79781 * sysdeps/i386/fpu/Implies: New file.
79782 * sysdeps/x86_64/fpu/Implies: Likewise.
79783 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
79784 * sysdeps/x86/fpu/bits/fenv.h: This.
79785
79786 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
79787 __SSE_MATH__.
79788
79789 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
79790
79791 [BZ #14134]
79792 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
79793 character 0xffff that matches the last element of the
79794 conversion table.
79795
79796 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79797
79798 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
79799 fmodl commit.
79800
79801 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79802
79803 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
79804 values higher than 25.6283.
79805
79806 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79807
79808 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
79809 subnormal exponent extraction and add some __builtin_expect.
79810 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
79811 Fix for subnormal mantissa calculation.
79812
79813 2012-06-04 Mike Frysinger <vapier@gentoo.org>
79814
79815 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
79816 cpu2 is -1 and errno is not ENOSYS.
79817
79818 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
79819
79820 [BZ #14117]
79821 * sysdeps/i386/i486/bits/string.h: Renamed to ...
79822 * sysdeps/x86/bits/string.h: This.
79823 * sysdeps/x86_64/bits/string.h: Removed.
79824
79825 * sysdeps/i386/i486/bits/string.h: Define inline functions only
79826 if not compiling for x86-64, but compiling for >= i486.
79827
79828 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
79829 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
79830
79831 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
79832 New macro from Linux kernel 3.4.0.
79833 (FP_XSTATE_MAGIC2): Likewise.
79834 (FP_XSTATE_MAGIC2_SIZE): Likewise.
79835 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
79836 (struct _fpx_sw_bytes): New struct.
79837 (struct _xsave_hdr): Likewise.
79838 (struct _ymmh_state): Likewise.
79839 (struct _xstate): Likewise.
79840
79841 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
79842 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
79843 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
79844 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
79845 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
79846 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
79847
79848 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
79849 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
79850 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
79851 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
79852 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
79853 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
79854
79855 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
79856
79857 [BZ #13743]
79858 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
79859 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
79860 (sysdep_headers): Include sys/platform/ppc.h.
79861 * sysdeps/powerpc/test-gettimebase.c: Test for
79862 __ppc_get_timebase() to catch future ISA opcode/insn changes.
79863 * manual/Makefile (appendices): Include platform.texi.
79864 * manual/contrib.texi (Contributors): Update @node pointers.
79865 * manual/maint.texi (Maintenance): Likewise.
79866 (Platform): New node.
79867 * manual/platform.texi: New file. Document the new features.
79868
79869 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
79870 Jakub Jelinek <jakub@redhat.com>
79871
79872 [BZ #14188]
79873 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
79874 where __builtin_expect is unavailable.
79875
79876 2012-06-03 David S. Miller <davem@davemloft.net>
79877
79878 * stdlib/longlong.h: Updated from GCC.
79879
79880 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
79881
79882 [BZ #14042]
79883 * sysdeps/powerpc/powerpc32/mcount.c: New file.
79884 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
79885 __mcount_internal.
79886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
79887 (GLIBC_2.16): Likewise.
79888
79889 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
79890
79891 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
79892
79893 2012-06-01 Joseph Myers <joseph@codesourcery.com>
79894
79895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
79896 (default-abi): New variable.
79897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
79898 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
79899 variable.
79900 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
79901 Likewise.
79902 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
79903 Likewise.
79904 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
79905 Likewise.
79906
79907 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
79908 definition. Document in comment.
79909
79910 2012-06-01 David S. Miller <davem@davemloft.net>
79911
79912 * stdlib/longlong.h: Updated from GCC.
79913
79914 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
79915
79916 [BZ #14117]
79917 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
79918 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
79919 sys/debugreg.h sys/io.h here.
79920 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
79921 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
79922 sys/io.h.
79923 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
79924 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
79925 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
79926 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
79927 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
79928 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
79929
79930 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
79931 Define only if __x86_64__ is defined.
79932
79933 2012-06-01 Joseph Myers <joseph@codesourcery.com>
79934
79935 [BZ #14048]
79936 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
79937 Use int64_t for variable i.
79938 * math/libm-test.inc (fmod_test): Add more tests.
79939
79940 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
79941 z computation is not scheduled after fetestexcept.
79942 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
79943 Use math_force_eval instead of asm to ensure calculation scheduled
79944 before exception test.
79945 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
79946 Ensure a1 + u.d computation is not scheduled after fetestexcept.
79947
79948 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
79949
79950 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
79951 computation is not scheduled after fetestexcept.
79952
79953 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
79954
79955 [BZ #14117]
79956 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
79957 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
79958
79959 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79960
79961 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
79962 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
79963
79964 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
79965
79966 [BZ #14117]
79967 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
79968 <bits/wordsize.h>.
79969 (__WCHAR_MIN): Support __WORDSIZE == 64.
79970 (__WCHAR_MAX): Likewise.
79971
79972 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
79973 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
79974
79975 [BZ #14183]
79976 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
79977 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
79978
79979 [BZ #14117]
79980 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
79981 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
79982
79983 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
79984 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
79985
79986 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
79987 Defined to 1 if __x86_64__ isn't defined.
79988 (_STAT_VER_LINUX_OLD): New.
79989 (st_atime): Remove duplicate.
79990 (st_mtime): Likewise.
79991 (st_ctime): Likewise.
79992
79993 2012-05-31 David S. Miller <davem@davemloft.net>
79994
79995 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
79996 entries.
79997
79998 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
79999
80000 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
80001 gen-libm-test.pl.
80002
80003 [BZ #14132]
80004 * elf/dl-reloc.c: Include <_itoa.h>.
80005 (_dl_reloc_bad_type): Remove use of INTUSE.
80006 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
80007 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
80008 * stdio-common/psiginfo.c (psiginfo): Likewise.
80009 * stdio-common/psignal.c (psignal): Likewise.
80010 * string/strsignal.c (strsignal): Likewise.
80011 * include/signal.h (_sys_siglist): Declare hidden proto.
80012 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
80013 INTVARDEF with libc_hidden_data_def.
80014 * stdio-common/itoa-udigits.c: Likewise.
80015 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
80016 (_itoa_lower_digits_internal): Remove declaration.
80017 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
80018 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
80019 (_sys_sigabbrev_internal): Remove aliases.
80020 (_sys_siglist): Define hidden alias.
80021
80022 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
80023
80024 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80025 bits/sysctl.h.
80026
80027 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
80028
80029 [BZ #14117]
80030 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
80031 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
80032
80033 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
80034 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
80035 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
80036 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
80037 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
80038 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
80039
80040 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
80041 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
80042 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
80043
80044 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
80045 with __addr.
80046 (insw): Likewise.
80047 (insl): Likewise.
80048 (outsb): Likewise.
80049 (outsw): Likewise.
80050 (outsl): Likewise.
80051
80052 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
80053 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
80054 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
80055
80056 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
80057 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
80058 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
80059 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
80060 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
80061 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
80062
80063 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
80064 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
80065
80066 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
80067 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
80068
80069 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
80070 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
80071 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
80072
80073 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
80074 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
80075 to ...
80076 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
80077
80078 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
80079 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
80080 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
80081
80082 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
80083 for x86-64.
80084 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
80085
80086 2012-05-31 Joseph Myers <joseph@codesourcery.com>
80087
80088 * math/math.h (M_El): Use two more decimal places.
80089 (M_LOG2El): Likewise.
80090 (M_LOG10El): Likewise.
80091 (M_LN2l): Likewise.
80092 (M_LN10l): Likewise.
80093 (M_PIl): Likewise.
80094 (M_PI_2l): Likewise.
80095 (M_PI_4l): Likewise.
80096 (M_1_PIl): Likewise.
80097 (M_2_PIl): Likewise.
80098 (M_2_SQRTPIl): Likewise.
80099 (M_SQRT2l): Likewise.
80100 (M_SQRT1_2l): Likewise.
80101
80102 2012-05-31 David S. Miller <davem@davemloft.net>
80103
80104 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
80105 values between float registers.
80106 * sysdeps/sparc/sparc64/memset.S: Likewise.
80107 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
80108
80109 2012-05-31 Mike Frysinger <vapier@gentoo.org>
80110
80111 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
80112 -D_FORTIFY_SOURCE=1.
80113 (CPPFLAGS-tst-longjmp_chk.c): Define.
80114 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
80115 (CPPFLAGS-tst-longjmp_chk2.c): Define.
80116 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
80117 CFLAGS-tst-wchar-h.c.
80118
80119 2012-05-31 Marek Polacek <polacek@redhat.com>
80120
80121 [BZ #14132]
80122 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
80123 __endmntent_internal): Remove declaration.
80124 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
80125 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
80126 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
80127
80128 2012-05-30 David S. Miller <davem@davemloft.net>
80129
80130 * sysdeps/sparc/sparc32/soft-fp/q_util.c
80131 (___Q_simulate_exceptions): Use real FP ops rather than writing
80132 into the %fsr.
80133 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
80134 Likewise.
80135
80136 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80137
80138 [BZ #14117]
80139 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
80140 * sysdeps/x86/bits/xtitypes.h: This.
80141
80142 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
80143 * sysdeps/x86/bits/wordsize.h: This.
80144
80145 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
80146 * sysdeps/x86/bits/huge_vall.h: This.
80147
80148 * sysdeps/i386/bits/select.h: Removed.
80149 * sysdeps/x86_64/bits/select.h: Renamed to ...
80150 * sysdeps/x86/bits/select.h: This.
80151
80152 * sysdeps/i386/bits/setjmp.h: Removed.
80153 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
80154 * sysdeps/x86/bits/setjmp.h: This.
80155
80156 * sysdeps/i386/bits/mathdef.h: Removed.
80157 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
80158 * sysdeps/x86/bits/mathdef.h: This.
80159
80160 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
80161
80162 [BZ #14132]
80163 * include/sys/socket.h (__connect_internal)
80164 (__libc_sa_len_internal): Remove declaration.
80165 (__connect, __libc_sa_len): Declare hidden_proto.
80166 (SA_LEN): Remove use of INTUSE.
80167 * socket/connect.c: Add libc_hidden_def.
80168 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
80169 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
80170 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
80171 alias.
80172 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
80173 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
80174 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
80175 of adding _internal alias.
80176
80177 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80178
80179 [BZ #14117]
80180 * sysdeps/i386/bits/link.h: Removed.
80181 * sysdeps/i386/bits/linkmap.h: Likewise.
80182 * sysdeps/x86_64/bits/link.h: Renamed to ...
80183 * sysdeps/x86/bits/link.h: This.
80184 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
80185 * sysdeps/x86/bits/linkmap.h: This.
80186
80187 * sysdeps/i386/bits/endian.h: Removed.
80188 * sysdeps/x86_64/bits/endian.h: Renamed to ...
80189 * sysdeps/x86/bits/endian.h: This.
80190
80191 * sysdeps/i386/bits/byteswap.h: Removed.
80192 * sysdeps/i386/bits/byteswap-16.h: Likewise.
80193 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
80194 * sysdeps/x86/bits/byteswap.h: This.
80195 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
80196 * sysdeps/x86/bits/byteswap-16.h: This.
80197 * sysdeps/i386/Implies: Add x86.
80198 * sysdeps/x86_64/Implies: Likewise.
80199
80200 2012-05-30 David S. Miller <davem@davemloft.net>
80201
80202 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
80203 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
80204 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
80205 (FP_TRAPPING_EXCEPTIONS): Define.
80206 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
80207 (FP_TRAPPING_EXCEPTIONS): Define.
80208 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
80209 subnormals only when inexact has been signalled or underflow
80210 exceptions are enabled.
80211 (_FP_PACK_CANONICAL): Likewise.
80212
80213 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80214
80215 [BZ #14183]
80216 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
80217 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
80218
80219 2012-05-30 Richard Henderson <rth@twiddle.net>
80220
80221 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
80222 with #ifndef NOT_IN_libc.
80223
80224 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
80225 marked to avoid plt entry.
80226
80227 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80228
80229 [BZ #14112]
80230 * Makeconfig (default-abi): New macro.
80231 (abi-includes): Likewise.
80232 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
80233 $(abi-$(default-abi)-lib-soname) for soname if defined.
80234 ($(common-objpfx)gnu/lib-names.stmp): Generate from
80235 abi-variants.
80236 * Makefile (installed-stubs): Likewise.
80237 * include/stubs-biarch.h: Removed.
80238 * scripts/lib-names.awk: Only handle one library at a time.
80239 * scripts/soversions.awk: Remove WORDSIZE support.
80240 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
80241 entries.
80242 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
80243 Removed.
80244 (syscall-list-default-condition): Likewise.
80245 (syscall-list-default-condition): Likewise.
80246 (syscall-list-includes): Likewise.
80247 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
80248 syscall-list-* with abi-*. Handle undefined abi-variants.
80249 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
80250 * sysdeps/unix/sysv/linux/i386/Implies: New file.
80251 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
80252 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
80253 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
80254 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
80255 Removed.
80256 (syscall-list-32-options): Likewise.
80257 (syscall-list-32-condition): Likewise.
80258 (syscall-list-64-options): Likewise.
80259 (syscall-list-64-condition): Likewise.
80260 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
80261 macro.
80262 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
80263 Renamed to ...
80264 (abi-*): This.
80265 (abi-64-ld-soname): New macro.
80266 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
80267 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
80268 Renamed to ...
80269 (abi-*): This.
80270 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
80271 * sysdeps/x86_64/x32/shlib-versions: Likewise.
80272
80273 2012-05-30 Joseph Myers <joseph@codesourcery.com>
80274
80275 * sysdeps/unix/sysv/linux/kernel-features.h
80276 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
80277 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
80278 include <kernel-features.h>.
80279 [!__NR_ftruncate64]: Remove conditional code.
80280 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80281 [__NR_ftruncate64]: Make code unconditional.
80282 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80283 * sysdeps/unix/sysv/linux/truncate64.c: Do not
80284 include <kernel-features.h>.
80285 [!__NR_ftruncate64]: Remove conditional code.
80286 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80287 [__NR_ftruncate64]: Make code unconditional.
80288 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
80290 include <kernel-features.h>.
80291 [!__NR_ftruncate64]: Remove conditional code.
80292 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80293 [__NR_ftruncate64]: Make code unconditional.
80294 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
80296 include <kernel-features.h>.
80297 [!__NR_ftruncate64]: Remove conditional code.
80298 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80299 [__NR_ftruncate64]: Make code unconditional.
80300 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80301
80302 * configure.in (libc_cv_fpie): Weaken to a compile test using
80303 LIBC_TRY_CC_OPTION.
80304 * configure: Regenerated.
80305
80306 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
80307
80308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
80309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
80310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
80311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
80312 Refreshed.
80313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
80314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
80315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
80316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
80317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
80318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
80319 Refreshed.
80320
80321 2012-05-27 David S. Miller <davem@davemloft.net>
80322
80323 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
80324 (___Q_zero): New.
80325 (__Q_simulate_exceptions): Return void. Change to simulate
80326 exceptions by writing into the %fsr.
80327 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
80328 (__Qp_handle_exceptions): Likewise.
80329 (numbers): Delete.
80330 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
80331 __Qp_handle_exceptions.
80332 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
80333 __Qp_handle_exceptions.
80334 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80335 as unused and give dummy FP_RND_NEAREST initializer.
80336 (FP_INHIBIT_RESULTS): Define.
80337 (___Q_simulate_exceptions): Update declaration.
80338 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
80339 formatting.
80340 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80341 as unused and give dummy FP_RND_NEAREST initializer.
80342 (__Qp_handle_exceptions): Update declaration.
80343 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
80344 formatting.
80345
80346 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
80347
80348 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
80349 the temporary FPU control word.
80350 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
80351 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
80352 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
80353 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80354 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
80355 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
80356 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
80357 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80358 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
80359 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
80360 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80361
80362 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
80363
80364 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
80365 fields.
80366
80367 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
80368
80369 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
80370 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
80371 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
80372 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
80373 Likewise.
80374 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
80375 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
80376 Likewise.
80377
80378 2012-05-27 Ulrich Drepper <drepper@gmail.com>
80379
80380 * po/h.po: Update from translation team.
80381
80382 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
80383
80384 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
80385
80386 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
80387 handling of denormals.
80388 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
80389 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
80390 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
80391 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
80392 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
80393 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
80394 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
80395 Likewise.
80396
80397 2012-05-26 Marek Polacek <polacek@redhat.com>
80398
80399 [BZ #14152]
80400 * math/libm-test.inc (fma_test): Don't always expect underflow
80401 exception.
80402
80403 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
80404
80405 [BZ #12416]
80406 * elf/tst-execstack.c: Include stackinfo.h.
80407 (do_test): Adjust test case to ensure that pthread_getattr_np
80408 behaviour remains the same after marking stack executable.
80409
80410 2012-05-25 Joseph Myers <joseph@codesourcery.com>
80411
80412 * sysdeps/unix/sysv/linux/kernel-features.h
80413 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
80414 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
80415 kernel-features.h.
80416 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80417 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80418 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
80419 kernel-features.h.
80420 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80421 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80422
80423 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
80424
80425 * configure.in: Define the default includes to being none.
80426 * configure: Regenerated.
80427
80428 2012-05-25 Roland McGrath <roland@hack.frob.com>
80429
80430 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
80431 * sysdeps/x86_64/setjmp.S: Likewise.
80432 * sysdeps/i386/bsd-setjmp.S: Likewise.
80433 * sysdeps/i386/bsd-_setjmp.S: Likewise.
80434 * sysdeps/i386/setjmp.S: Likewise.
80435 * sysdeps/i386/__longjmp.S: Likewise.
80436 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
80437 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
80438
80439 * include/stap-probe.h: New file.
80440 * configure.in: Handle --enable-systemtap.
80441 * configure: Regenerated.
80442 * config.h.in (USE_STAP_PROBE): New #undef.
80443 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
80444 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
80445 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
80446
80447 2012-05-25 Joseph Myers <joseph@codesourcery.com>
80448
80449 [BZ #13717]
80450 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80451 to 2.4.0 where earlier.
80452 * sysdeps/unix/sysv/linux/configure: Regenerated.
80453 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
80454 <kernel-features.h>.
80455 [__ASSUME_32BITUIDS]: Make code unconditional.
80456 [!__ASSUME_32BITUIDS]: Remove conditional code.
80457 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
80458 <kernel-features.h>.
80459 [__ASSUME_32BITUIDS]: Make code unconditional.
80460 [!__ASSUME_32BITUIDS]: Remove conditional code.
80461 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
80462 [__ASSUME_32BITUIDS]: Make code unconditional.
80463 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
80464 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.c: Do not include
80481 <kernel-features.h>.
80482 [__ASSUME_32BITUIDS]: Make code unconditional.
80483 [!__ASSUME_32BITUIDS]: Remove conditional code.
80484 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
80485 <kernel-features.h>.
80486 [__ASSUME_32BITUIDS]: Make code unconditional.
80487 [!__ASSUME_32BITUIDS]: Remove conditional code.
80488 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
80489 <kernel-features.h>.
80490 [__ASSUME_32BITUIDS]: Make code unconditional.
80491 [!__ASSUME_32BITUIDS]: Remove conditional code.
80492 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
80493 <kernel-features.h>.
80494 [__ASSUME_32BITUIDS]: Make code unconditional.
80495 [!__ASSUME_32BITUIDS]: Remove conditional code.
80496 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
80497 <kernel-features.h>.
80498 [__ASSUME_32BITUIDS]: Make code unconditional.
80499 [!__ASSUME_32BITUIDS]: Remove conditional code.
80500 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
80501 <kernel-features.h>.
80502 [__ASSUME_32BITUIDS]: Make code unconditional.
80503 [!__ASSUME_32BITUIDS]: Remove conditional code.
80504 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
80505 <kernel-features.h>.
80506 [__NR_setresgid] (__setresgid): Do not declare.
80507 [__ASSUME_32BITUIDS]: Make code unconditional.
80508 [!__ASSUME_32BITUIDS]: Remove conditional code.
80509 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
80510 <kernel-features.h>.
80511 [__NR_setresuid] (__setresuid): Do not declare.
80512 [__ASSUME_32BITUIDS]: Make code unconditional.
80513 [!__ASSUME_32BITUIDS]: Remove conditional code.
80514 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/i386/setregid.c: Do not include
80531 <kernel-features.h>.
80532 [__ASSUME_32BITUIDS]: Make code unconditional.
80533 [!__ASSUME_32BITUIDS]: Remove conditional code.
80534 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
80535 <kernel-features.h>.
80536 [__ASSUME_32BITUIDS]: Make code unconditional.
80537 [!__ASSUME_32BITUIDS]: Remove conditional code.
80538 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
80539 <kernel-features.h>.
80540 [__ASSUME_32BITUIDS]: Make code unconditional.
80541 [!__ASSUME_32BITUIDS]: Remove conditional code.
80542 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
80543 <kernel-features.h>.
80544 [__ASSUME_32BITUIDS]: Make code unconditional.
80545 [!__ASSUME_32BITUIDS]: Remove conditional code.
80546 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
80547 <kernel-features.h>.
80548 [__ASSUME_32BITUIDS]: Make code unconditional.
80549 [!__ASSUME_32BITUIDS]: Remove conditional code.
80550 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
80551 <kernel-features.h>.
80552 [__ASSUME_32BITUIDS]: Make code unconditional.
80553 [!__ASSUME_32BITUIDS]: Remove conditional code.
80554 * sysdeps/unix/sysv/linux/kernel-features.h
80555 (__ASSUME_SETRESUID_SYSCALL): Remove.
80556 (__ASSUME_SETRESGID_SYSCALL): Likewise.
80557 (__ASSUME_32BITUIDS): Likewise.
80558 (__ASSUME_LDT_WORKS): Likewise.
80559 (__ASSUME_O_DIRECTORY): Likewise.
80560 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
80561 architecture but not kernel version.
80562 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
80563 (__ASSUME_MMAP2_SYSCALL): Likewise.
80564 (__ASSUME_STAT64_SYSCALL): Likewise.
80565 (__ASSUME_IPC64): Likewise.
80566 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
80567 <kernel-features.h>.
80568 [__ASSUME_32BITUIDS]: Make code unconditional.
80569 [!__ASSUME_32BITUIDS]: Remove conditional code.
80570 * sysdeps/unix/sysv/linux/opendir.c: Do not include
80571 <kernel-features.h>.
80572 [__ASSUME_O_DIRECTORY]: Make code unconditional.
80573 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
80574 132096]: Remove conditional code.
80575 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
80576 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
80577 <kernel-features.h>.
80578 [__ASSUME_32BITUIDS]: Make code unconditional.
80579 [!__ASSUME_32BITUIDS]: Remove conditional code.
80580 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
80581 <kernel-features.h>.
80582 [__ASSUME_32BITUIDS]: Make code unconditional.
80583 [!__ASSUME_32BITUIDS]: Remove conditional code.
80584 * sysdeps/unix/sysv/linux/setegid.c: Do not include
80585 <kernel-features.h>.
80586 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
80587 unconditional.
80588 (__setresgid): Do not declare.
80589 [__ASSUME_32BITUIDS]: Make code unconditional.
80590 [!__ASSUME_32BITUIDS]: Remove conditional code.
80591 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
80592 <kernel-features.h>.
80593 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
80594 unconditional.
80595 (__setresuid): Do not declare.
80596 [__ASSUME_32BITUIDS]: Make code unconditional.
80597 [!__ASSUME_32BITUIDS]: Remove conditional code.
80598 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
80599 <kernel-features.h>.
80600 [__ASSUME_32BITUIDS]: Make code unconditional.
80601 [!__ASSUME_32BITUIDS]: Remove conditional code.
80602 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
80603 <kernel-features.h>.
80604 [__ASSUME_32BITUIDS]: Make code unconditional.
80605 [!__ASSUME_32BITUIDS]: Remove conditional code.
80606
80607 2012-05-25 Richard Henderson <rth@twiddle.net>
80608
80609 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
80610 dl_hwcap to ifunc resolver.
80611 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
80612 elf_ifunc_invoke.
80613 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
80614 dl_hwcap to ifunc resolver.
80615 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
80616
80617 2012-05-24 Joseph Myers <joseph@codesourcery.com>
80618
80619 [BZ #14153]
80620 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
80621 for |x| <= 2**-26, not 2**-57.
80622 * math/libm-test.inc (acos_test): Do not allow spurious underflow
80623 exception.
80624
80625 2012-05-24 Jeff Law <law@redhat.com>
80626
80627 * stdio-common/Makefile (tests): Add bug25.
80628 * stdio-common/bug25.c: New test.
80629
80630 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
80631
80632 [BZ #13576]
80633 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
80634 multiple of MALLOC_ALIGNMENT in size.
80635 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
80636
80637 2012-05-24 Joseph Myers <joseph@codesourcery.com>
80638
80639 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
80640 Require >= 256.
80641 (FILENAME_MAX): Use macro-int-constant.
80642 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
80643 (_IOFBF): Use macro-int-constant.
80644 (_IOLBF): Likewise.
80645 (_IONBF): Likewise.
80646 (SEEK_CUR): Likewise.
80647 (SEEK_END): Likewise.
80648 (SEEK_SET): Likewise.
80649 (TMP_MAX): Likewise.
80650 (EOF): Use macro-int-constant. Require < 0.
80651 (NULL): Use macro-constant. Require == 0.
80652 (stdin): Require type to be FILE *.
80653 (stdout): Likewise.
80654 (stderr): Likewise.
80655 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
80656 macro-int-constant.
80657 (EXIT_SUCCESS): Likewise.
80658 (NULL): Use macro-constant. Require == 0.
80659 (RAND_MAX): Use macro-int-constant.
80660 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
80661 [C99-based standards] (strtof): Require function.
80662 [C99-based standards] (strtold): Likewise.
80663 [C99-based standards] (strtoll): Likewise.
80664 [C99-based standards] (strtoull): Likewise.
80665 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
80666 [ISO || ISO99 || ISO11] (limits.h): Likewise.
80667 [ISO || ISO99 || ISO11] (math.h): Likewise.
80668 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
80669 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
80670 [ISO || ISO99 || ISO11] (*_t): Do not allow.
80671
80672 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
80673
80674 [BZ #14132]
80675 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
80676 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
80677 * intl/dgettext.c (DCGETTEXT): Likewise.
80678 * intl/gettext.c (DCGETTEXT): Likewise.
80679 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
80680 * posix/regex_internal.h (gettext): Likewise.
80681 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
80682 Remove declaration.
80683 * include/argz.h (__argz_count_internal)
80684 (__argz_stringify_internal): Remove declaration.
80685 (__argz_count, __argz_stringify): Declare hidden proto.
80686 * intl/dcgettext.c: Remove use of INTDEF.
80687 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
80688 * string/argz-stringify.c: Likewise.
80689 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
80690 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
80691 Declare hidden proto.
80692 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
80693 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
80694 Declare hidden proto.
80695 * include/stdio.h (__asprintf_internal): Don't declare.
80696 (__asprintf): Don't define as macro. Declare hidden proto.
80697 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
80698 (__fsetlocking): Declare hidden proto.
80699 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
80700 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
80701 hidden proto.
80702 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
80703 (_IO_setlinebuf): Remove use of INTUSE.
80704 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
80705 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
80706 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
80707 Remove declaration.
80708 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
80709 (_IO_do_flush): Remove use of INTUSE.
80710 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
80711 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
80712 (_IO_adjust_column, _IO_least_wmarker)
80713 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
80714 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
80715 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
80716 (_IO_default_doallocate, _IO_wdefault_doallocate)
80717 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
80718 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
80719 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
80720 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
80721 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
80722 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
80723 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
80724 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
80725 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
80726 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
80727 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
80728 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
80729 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
80730 proto.
80731 (_IO_flush_all_internal, _IO_adjust_column_internal)
80732 (_IO_default_uflow_internal, _IO_default_finish_internal)
80733 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
80734 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
80735 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
80736 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
80737 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
80738 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
80739 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
80740 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
80741 (_IO_file_close_internal, _IO_file_close_it_internal)
80742 (_IO_file_underflow_internal, _IO_file_overflow_internal)
80743 (_IO_file_init_internal, _IO_file_attach_internal)
80744 (_IO_file_fopen_internal, _IO_file_read_internal)
80745 (_IO_file_sync_internal, _IO_file_seek_internal)
80746 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
80747 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
80748 (_IO_str_underflow_internal, _IO_str_overflow_internal)
80749 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
80750 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
80751 (_IO_list_all_internal, _IO_link_in_internal)
80752 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
80753 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
80754 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
80755 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
80756 (_IO_do_write_internal, _IO_padn_internal)
80757 (_IO_getline_info_internal, _IO_getline_internal)
80758 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
80759 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
80760 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
80761 (_IO_vfscanf_internal, _IO_vfprintf_internal)
80762 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
80763 (_IO_init_internal, _IO_un_link_internal): Don't declare.
80764 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
80765 with libc_hidden_ver, remove use of INTUSE.
80766 * libio/genops.c: Likewise.
80767 * libio/freopen.c: Likewise.
80768 * libio/freopen64.c: Likewise.
80769 * libio/iofclose.c: Likewise.
80770 * libio/iofdopen.c: Likewise.
80771 * libio/iofflush.c: Likewise.
80772 * libio/iofflush_u.c: Likewise.
80773 * libio/iofgets.c: Likewise.
80774 * libio/iofgets_u.c: Likewise.
80775 * libio/iofopen.c: Likewise.
80776 * libio/iofopncook.c: Likewise.
80777 * libio/iofread.c: Likewise.
80778 * libio/iofread_u.c: Likewise.
80779 * libio/ioftell.c: Likewise.
80780 * libio/iofwrite.c: Likewise.
80781 * libio/iogetline.c: Likewise.
80782 * libio/iogets.c: Likewise.
80783 * libio/iogetwline.c: Likewise.
80784 * libio/iopadn.c: Likewise.
80785 * libio/iopopen.c: Likewise.
80786 * libio/ioseekoff.c: Likewise.
80787 * libio/ioseekpos.c: Likewise.
80788 * libio/iosetbuffer.c: Likewise.
80789 * libio/iosetvbuf.c: Likewise.
80790 * libio/ioungetc.c: Likewise.
80791 * libio/ioungetwc.c: Likewise.
80792 * libio/iovdprintf.c: Likewise.
80793 * libio/iovsprintf.c: Likewise.
80794 * libio/iovsscanf.c: Likewise.
80795 * libio/memstream.c: Likewise.
80796 * libio/obprintf.c: Likewise.
80797 * libio/oldfileops.c: Likewise.
80798 * libio/oldiofclose.c: Likewise.
80799 * libio/oldiofdopen.c: Likewise.
80800 * libio/oldiofopen.c: Likewise.
80801 * libio/oldiopopen.c: Likewise.
80802 * libio/oldstdfiles.c: Likewise.
80803 * libio/putc.c: Likewise.
80804 * libio/setbuf.c: Likewise.
80805 * libio/setlinebuf.c: Likewise.
80806 * libio/stdfiles.c: Likewise.
80807 * libio/strops.c: Likewise.
80808 * libio/vasprintf.c: Likewise.
80809 * libio/vscanf.c: Likewise.
80810 * libio/vsnprintf.c: Likewise.
80811 * libio/vswprintf.c: Likewise.
80812 * libio/wfiledoalloc.c: Likewise.
80813 * libio/wfileops.c: Likewise.
80814 * libio/wgenops.c: Likewise.
80815 * libio/wmemstream.c: Likewise.
80816 * libio/wstrops.c: Likewise.
80817 * libio/__fpurge.c: Likewise.
80818 * libio/__fsetlocking.c: Likewise.
80819 * assert/assert.c: Likewise.
80820 * debug/fgets_chk.c: Likewise.
80821 * debug/fgets_u_chk.c: Likewise.
80822 * debug/fread_chk.c: Likewise.
80823 * debug/fread_u_chk.c: Likewise.
80824 * debug/gets_chk.c: Likewise.
80825 * debug/obprintf_chk.c: Likewise.
80826 * debug/vasprintf_chk.c: Likewise.
80827 * debug/vdprintf_chk.c: Likewise.
80828 * debug/vsnprintf_chk.c: Likewise.
80829 * debug/vsprintf_chk.c: Likewise.
80830 * malloc/mtrace.c: Likewise.
80831 * misc/error.c: Likewise.
80832 * misc/syslog.c: Likewise.
80833 * stdio-common/asprintf.c: Likewise.
80834 * stdio-common/fxprintf.c: Likewise.
80835 * stdio-common/getw.c: Likewise.
80836 * stdio-common/isoc99_fscanf.c: Likewise.
80837 * stdio-common/isoc99_scanf.c: Likewise.
80838 * stdio-common/isoc99_vfscanf.c: Likewise.
80839 * stdio-common/isoc99_vscanf.c: Likewise.
80840 * stdio-common/isoc99_vsscanf.c: Likewise.
80841 * stdio-common/printf-prs.c: Likewise.
80842 * stdio-common/printf_fp.c: Likewise.
80843 * stdio-common/printf_fphex.c: Likewise.
80844 * stdio-common/printf_size.c: Likewise.
80845 * stdio-common/putw.c: Likewise.
80846 * stdio-common/scanf.c: Likewise.
80847 * stdio-common/sprintf.c: Likewise.
80848 * stdio-common/tmpfile.c: Likewise.
80849 * stdio-common/vfprintf.c: Likewise.
80850 * stdio-common/vfscanf.c: Likewise.
80851 * stdlib/strfmon_l.c: Likewise.
80852 * sunrpc/openchild.c: Likewise.
80853 * sunrpc/xdr_stdio.c: Likewise.
80854 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
80855 * sysdeps/mach/hurd/tmpfile.c: Likewise.
80856
80857 2012-05-24 Roland McGrath <roland@hack.frob.com>
80858
80859 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
80860
80861 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
80862 in the third column, to generate for the shared library an IFUNC
80863 that uses _dl_vdso_vsym.
80864 * Makerules (COMPILE.c, compile-stdin.c): New variables.
80865 * Makeconfig (object-suffixes-noshared): New variable.
80866
80867 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
80868 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
80869 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
80870 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
80871
80872 [BZ #14132]
80873 * include/sys/time.h (__gettimeofday): Remove macro.
80874 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
80875 * time/gettimeofday.c (__gettimeofday): Remove #undef.
80876 Remove INTDEF.
80877 (__gettimeofday): Add libc_hidden_def.
80878 (gettimeofday): Add libc_hidden_weak.
80879 * sysdeps/mach/gettimeofday.c: Likewise.
80880 * sysdeps/posix/gettimeofday.c: Likewise.
80881 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
80882 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
80883 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
80884 (__gettimeofday_internal): Remove strong_alias.
80885 (__gettimeofday): Add libc_hidden_def.
80886 (gettimeofday): Add libc_hidden_weak.
80887 * sysdeps/unix/syscalls.list (gettimeofday):
80888 Remove __gettimeofday_internal alias.
80889
80890 2012-05-24 Daniel Jacobowitz <drow@false.org>
80891 H.J. Lu <hongjiu.lu@intel.com>
80892
80893 [BZ #12495]
80894 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
80895 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
80896 (largebin_index_32_big): New.
80897 (largebin_index): Use it for 16-byte alignment.
80898 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
80899 correction with front_misalign.
80900
80901 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
80902
80903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
80904 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
80905 Likewise.
80906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
80907 Likewise.
80908 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
80909 Likewise.
80910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
80911 Likewise.
80912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
80913 Likewise.
80914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
80915 Likewise.
80916 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
80917 Likewise.
80918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
80919 Likewise.
80920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
80921 Likewise.
80922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
80923 Likewise.
80924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
80925 Likewise.
80926 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
80927 Likewise.
80928
80929 * scripts/data/c++-types-x32-linux-gnu.data: New file.
80930 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
80931
80932 2012-05-24 Joseph Myers <joseph@codesourcery.com>
80933
80934 [BZ #10846]
80935 [BZ #14036]
80936 * math/libm-test.inc (exp_test): Add test from bug 14036.
80937 (pow_test): Add test from bug 10846.
80938
80939 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
80940 and other flags.
80941 (special_function): Do not include flags in test name.
80942 (parse_args): Likewise.
80943 * sysdeps/i386/fpu/libm-test-ulps: Update.
80944 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
80945 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
80946 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
80947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80948
80949 * math/gen-libm-test.pl (%beautify): Add entries for underflow
80950 exceptions.
80951 * math/libm-test.inc ("Philosophy"): Update comment about
80952 exception testing.
80953 (UNDERFLOW_EXCEPTION): New macro.
80954 (UNDERFLOW_EXCEPTION_OK): Likewise.
80955 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
80956 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
80957 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
80958 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
80959 (INVALID_EXCEPTION_OK): Update value.
80960 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
80961 (OVERFLOW_EXCEPTION_OK): Likewise.
80962 (IGNORE_ZERO_INF_SIGN): Likewise.
80963 (test_exceptions): Handle underflow exceptions.
80964 (acos_test): Update for underflow exception expectations.
80965 (cexp_test): Likewise.
80966 (clog_test): Likewise.
80967 (clog10_test): Likewise.
80968 (csqrt_test): Likewise.
80969 (ctan_test): Likewise.
80970 (ctanh_test): Likewise.
80971 (exp_test): Likewise.
80972 (exp10_test): Likewise.
80973 (exp2_test): Likewise.
80974 (expm1_test): Likewise.
80975 (fma_test): Likewise.
80976 (j0_test): Likewise.
80977 (jn_test): Likewise.
80978 (nexttoward_test): Likewise.
80979 (pow_test): Likewise.
80980 (scalbn_test): Likewise.
80981 (scalbln_test): Likewise.
80982 (tan_test): Likewise.
80983 (y1_test): Likewise.
80984 * sysdeps/i386/fpu/libm-test-ulps: Update.
80985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80986
80987 2012-05-23 David S. Miller <davem@davemloft.net>
80988
80989 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
80990 (__libc_sigaction): Remove unused local variables.
80991
80992 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
80993
80994 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
80995
80996 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
80997
80998 mktime: avoid signed integer overflow
80999 * time/mktime.c (__mktime_internal): Do not mishandle the case
81000 where diff == INT_MIN.
81001
81002 mktime: simplify computation of average
81003 * time/mktime.c (ranged_convert): Use new time_t_avg function
81004 instead of rolling our own (probably-slower) code.
81005
81006 mktime: do not assume signed right shift propagates sign bit
81007 * time/mktime.c (isdst_differ): New static function.
81008 (__mktime_internal): No need to normalize tm_isdst now.
81009 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
81010 tm_isdst values.
81011
81012 mktime: merge another wrapv change from gnulib
81013 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
81014 from some compilers.
81015
81016 mktime: remove incorrect attempt at unusual arithmetics
81017 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
81018 The code didn't really work on such machines anyway.
81019 (TYPE_MINIMUM): Assume two's complement.
81020 (twos_complement_arithmetic): Verify that long_int and time_t
81021 are two's complement (or unsigned, in the latter case).
81022
81023 mktime: check signed shifts on long_int and time_t, too
81024 * time/mktime.c (SHR): Check that shifts work as desired
81025 on the types long_int and time_t too, as SHR is used on
81026 such types.
81027
81028 mktime: do not assume 'long' is wide enough
81029 * time/mktime.c (verify): Move decl up.
81030 (long_int): New type.
81031 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
81032 to remove assumption in the code that 'long' is wide enough to
81033 store year values. This assumption is not true on x32 and on
81034 some non-glibc platforms.
81035
81036 mktime: merge wrapv change from gnulib
81037 * time/mktime.c (WRAPV): New macro.
81038 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
81039 (guess_time_tm, __mktime_internal): Do not assume that signed
81040 integer overflow wraps around; modern compilers generate code
81041 where this assumption is no longer valid.
81042
81043 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
81044
81045 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81046 Replace "jmp L(pseudo_end)" with "ret".
81047 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
81048 Likewise.
81049
81050 2012-05-23 Andreas Jaeger <aj@suse.de>
81051
81052 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
81053 * sysdeps/unix/sysv/linux/poll.c: Remove file.
81054
81055 2012-05-23 Andreas Jaeger <aj@suse.de>
81056 Maximilian Attems <max@stro.at>
81057
81058 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
81059 New macros.
81060
81061 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
81062
81063 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
81064 code so that pseudo_end is just ret and the stack pointer is
81065 correct also for static library in error case.
81066
81067 2012-05-23 Joseph Myers <joseph@codesourcery.com>
81068
81069 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
81070 move to syscalls.list.
81071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
81072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
81073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
81074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
81075
81076 * manual/install.texi (Running make install): Do not mention Linux
81077 kernel version for which pt_chown is not needed.
81078 (Linux): Do not mention problems with nscd with 2.0 kernels.
81079 * INSTALL: Regenerated.
81080
81081 2012-05-23 Andreas Jaeger <aj@suse.de>
81082
81083 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
81084 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
81085 macro.
81086 * sysdeps/unix/sysv/linux/s390/bits/mman.h
81087 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81088 * sysdeps/unix/sysv/linux/sh/bits/mman.h
81089 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81090 * sysdeps/unix/sysv/linux/i386/bits/mman.h
81091 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81092 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
81093 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81094 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
81095 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81096 * sysdeps/unix/sysv/linux/bits/in.h
81097 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
81098
81099 2012-05-22 Roland McGrath <roland@hack.frob.com>
81100
81101 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
81102 (PREPARE_VERSION): Just use assert instead, it will be elided
81103 under [NDEBUG] anyway.
81104
81105 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81106
81107 * sysdeps/unix/sysv/linux/Makefile: Include
81108 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
81109 (sysdep_routines): Remove sysctl.
81110 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
81111 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
81112 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
81113 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
81114 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
81115
81116 2012-05-22 Andreas Jaeger <aj@suse.de>
81117
81118 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
81119 that pseudo_end is just ret and the stack pointer is correct also
81120 for static library in error case.
81121
81122 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
81123
81124 [BZ #14122]
81125 * nss/nsswitch.c (defconfig_entries): New variable.
81126 (__nss_database_lookup): Don't leak defconfig entries.
81127 (nss_parse_service_list): Don't leak on error paths.
81128 (free_database_entries): New function.
81129 (free_defconfig): New function.
81130 (free_mem): Move common code to free_database_entries.
81131
81132 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81133
81134 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
81135 Add arch_prctl.
81136 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
81137
81138 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
81139 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
81140 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
81141 New macro.
81142 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
81143 (INTERNAL_SYSCALL_TYPES): Likewise.
81144 (LOAD_ARGS_TYPES_[1-6]): Likewise.
81145 (LOAD_REGS_TYPES_[1-6]): Likewise.
81146 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
81147 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
81148
81149 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81150
81151 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
81152 copysignl for GLIBC_2_0.
81153 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
81154 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
81155 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
81156 logbl for GLIBC_2_0.
81157 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
81158 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
81159
81160 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81161
81162 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
81163 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
81164
81165 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81166 Use "neg %eax".
81167
81168 * time/mktime.c: Update copyright years.
81169
81170 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
81171
81172 mktime: merge comment-quoting-style change from gnulib
81173 * time/mktime.c: Quote 'like this' in comments.
81174 The GNU coding standards suggest that we no longer quote `like this',
81175 as "`" and "'" are typically rendered asymmetrically nowadays.
81176 The typical gnulib style is to quote 'like this' when quoting
81177 code, and "like this" when quoting English.
81178
81179 * time/mktime.c (compile-command): Add "-I.".
81180
81181 mktime: merge mktime-internal.h change from gnulib
81182 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
81183
81184 mktime: merge time_r change from gnulib
81185 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
81186
81187 mktime: merge DEBUG change from gnulib
81188 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
81189 case system <time.h> has a #define.
81190
81191 mktime: merge <sys/types.h> change from gnulib
81192 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
81193 since <time.t> is now guaranteed to define time_t.
81194
81195 mktime: merge HAVE_CONFIG_H change from gnulib
81196 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
81197
81198 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81199
81200 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81201 Use "neg %eax".
81202
81203 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
81204 __rlim_t cast.
81205 (struct rusage): Use anonymous union to pad each field to
81206 __syscall_slong_t.
81207
81208 2012-05-21 David S. Miller <davem@davemloft.net>
81209
81210 * Makefules (o-iterator): Remove .s cases.
81211 (compile-command.s): Delete.
81212 (COMPILE.s): Delete.
81213 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
81214
81215 2012-05-21 Joseph Myers <joseph@codesourcery.com>
81216
81217 * configure.in (libc_cv_predef_stack_protector): Only consider
81218 "foobar" and "__stack_chk_fail" lines in libc_undefs.
81219 * configure: Regenerated.
81220
81221 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81222
81223 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81224 New macro. Use R*LP on int and pointer.
81225 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
81226 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
81227 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
81228 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
81229
81230 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
81231 [__WORDSIZE_TIME64_COMPAT32] instead of
81232 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
81233 (struct utmp): Likewise.
81234 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
81235 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
81236 Renamed to ...
81237 (__WORDSIZE_TIME64_COMPAT32): This.
81238 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
81239 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
81240 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
81241 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
81242 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
81243 (__WORDSIZE_TIME64_COMPAT32): New macro.
81244
81245 2012-05-21 Andreas Jaeger <aj@suse.de>
81246
81247 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
81248 only if [SHARED]. Add prototype for __wcschr_ia32.
81249
81250 2012-05-21 Roland McGrath <roland@hack.frob.com>
81251
81252 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
81253 of %rbp unmolested in the jmp_buf while mangling the low bits.
81254 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
81255 unmolested high bits of %rbp while demangling the low bits.
81256 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
81257
81258 2012-05-21 Andreas Jaeger <aj@suse.de>
81259
81260 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
81261 * sunrpc/svc_simple.c: Use it for registerrpc.
81262 * sunrpc/xcrypt.c: Use it for passwd2des.
81263
81264 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
81265
81266 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81267
81268 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
81269 Don't define if [__SYSCALL_WORDSIZE != 32].
81270 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
81271 New macro.
81272
81273 2012-05-21 Bruno Haible <bruno@clisp.org>
81274 Andreas Jaeger <aj@suse.de>
81275
81276 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
81277 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
81278 inptr and inend for must_buffer_ch.
81279 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
81280 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
81281 * stdio-common/Makefile (tests): Remove bug15.
81282 (bug15-ENV): Remove macro.
81283 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
81284 anymore.
81285
81286 2012-05-19 Andreas Jaeger <aj@suse.de>
81287 Roland McGrath <roland@hack.frob.com>
81288
81289 * manual/contrib.texi: Completely rewritten. It contains now an
81290 alphabetical list of contributors and their contributions.
81291
81292 2012-05-21 Richard Henderson <rth@twiddle.net>
81293
81294 * misc/getauxval.c (__getauxval): Use unsigned long int.
81295 * misc/sys/auxv.h: Include <sys/cdefs.h>.
81296 (getauxval): Use unsigned long int.
81297
81298 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81299
81300 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81301
81302 2012-05-21 Roland McGrath <roland@hack.frob.com>
81303
81304 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
81305 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
81306 __alignof__ (long double).
81307
81308 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81309
81310 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81311
81312 2012-05-20 Richard Henderson <rth@twiddle.net>
81313
81314 * misc/getauxval.c: New file.
81315 * misc/sys/auxv.h: New file.
81316 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
81317 (routines): Add getauxval.
81318 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
81319 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
81320 * elf/dl-sysdep.c (_dl_auxv): Remove.
81321 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
81322 * elf/dl-support.c (_dl_auxv): New variable.
81323 (_dl_aux_init): Initialize it.
81324 * manual/startup.texi (Auxiliary Vector): New node.
81325 * sysdeps/generic/bits/hwcap.h: New file.
81326 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
81327 * sysdeps/powerpc/sysdep.h: ... here. Include it.
81328 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
81329 * sysdeps/sparc/sysdep.h: ... here. Include it.
81330 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
81331 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
81332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
81333 Update.
81334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
81335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
81336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
81337 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
81338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81340 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
81341 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
81342
81343 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81344
81345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81346
81347 2012-05-19 David S. Miller <davem@davemloft.net>
81348
81349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
81350
81351 2012-05-19 Joseph Myers <joseph@codesourcery.com>
81352
81353 [BZ #14123]
81354 * math/s_ccosh.c: Include <float.h>
81355 (__ccosh): Avoid internal overflow calculating sinh and cosh
81356 values before multiplying by sin and cos values.
81357 * math/s_ccoshf.c: Likewise.
81358 * math/s_ccoshl.c: Likewise.
81359 * math/s_csin.c: Likewise.
81360 * math/s_csinf.c: Likewise.
81361 * math/s_csinl.c: Likewise.
81362 * math/s_csinh.c: Likewise.
81363 * math/s_csinhf.c: Likewise.
81364 * math/s_csinhl.c: Likewise.
81365 * math/libm-test.inc (ccos_test): Add more tests.
81366 (ccosh_test): Likewise.
81367 (csin_test): Likewise.
81368 (csinh_test): Likewise.
81369 * sysdeps/i386/fpu/libm-test-ulps: Update.
81370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81371
81372 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
81373
81374 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
81375 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
81376
81377 * sysdeps/x86_64/x32/_itoa.h: Add comment.
81378
81379 2012-05-19 Joseph Myers <joseph@codesourcery.com>
81380
81381 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
81382 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
81383 * sysdeps/powerpc/soft-fp/Versions: Likewise.
81384 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
81385 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
81386 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
81387 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
81388 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
81389 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
81390 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
81391 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
81392 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
81393 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
81394 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
81395 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
81396 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
81397 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
81398 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
81399 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
81400 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
81401 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
81402 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
81403 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
81404 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
81405 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
81406 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
81407 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
81408 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
81409 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
81410 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
81411 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
81412
81413 2012-05-18 Andreas Jaeger <aj@suse.de>
81414
81415 * csu/.gitignore: Delete.
81416
81417 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81418
81419 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
81420 (timex): Use __syscall_slong_t.
81421
81422 2012-05-18 Andreas Jaeger <aj@suse.de>
81423 Carlos O'Donell <carlos_odonell@mentor.com>
81424
81425 * manual/install.texi (Configuring and compiling): Update
81426 description about files modified in the source directory.
81427 * INSTALL: Regenerated.
81428
81429 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81430
81431 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
81432 value. Use "or" to set return value to -1.
81433 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
81434 negate return value.
81435
81436 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
81437
81438 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
81439 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
81440 failure if the compiler has Graphite support disabled.
81441 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
81442 Likewise.
81443 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
81444 (CFLAGS-memmove.c): Likewise.
81445 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
81446 Likewise.
81447
81448 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81449
81450 * sysdeps/x86_64/x32/_itoa.h: New file.
81451
81452 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
81453 getdents system call only if kernel and user dirents have the
81454 same d_ino and d_off.
81455
81456 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
81457 LLONG_MAX != LONG_MAX.
81458 (_itoa_word): Use _ITOA_WORD_TYPE on value.
81459 (_fitoa_word): Likewise.
81460
81461 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
81462 years.
81463 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
81464 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
81465 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
81466
81467 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
81468 include <bits/wordsize.h>. Check __x86_64__ instead of
81469 __WORDSIZE.
81470 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
81471 if __x86_64__ is defined. Use anonymous union on fpstate.
81472
81473 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
81474 anonymous union.
81475
81476 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
81477
81478 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
81479 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
81480 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
81481 Refer to _rtld_local_ro instead of _rtld_global_ro.
81482 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
81483 Likewise.
81484 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
81485 Likewise.
81486 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
81487 Likewise.
81488 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
81489 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
81490 of _rtld_global, and rtld_progname instead of _dl_argv[0].
81491
81492 [BZ #10882]
81493 * sysdeps/powerpc/powerpc32/dl-machine.c
81494 (__elf_machine_runtime_setup) [PROF]: Don't reference
81495 _dl_prof_resolve.
81496
81497 2012-05-18 Andreas Jaeger <aj@suse.de>
81498
81499 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
81500 function only available for GCCs before 3.4 since GCC 3.4
81501 introduced a builtin.
81502 (lrint): Likewise.
81503 (llrintf): Likewise.
81504 (llrint): Likewise.
81505 (fmaxf): Likewise.
81506 (fmax): Likewise.
81507 (fminf): Likewise.
81508 (fmin): Likewise.
81509 (rint): Likewise.
81510 (rintf): Likewise.
81511 (nearbyint): Likewise.
81512 (nearbyintf): Likewise.
81513 (ceil): Likewise.
81514 (ceilf): Likewise.
81515 (floor): Likewise.
81516 (floorf): Likewise.
81517
81518 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
81519
81520 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
81521 on both fields and cast pointer to __syscall_ulong_t.
81522
81523 * bits/types.h (__fsword_t): New type.
81524 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
81525 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
81526 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81527 (__FSWORD_T_TYPE): Likewise.
81528 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81529 (__FSWORD_T_TYPE): Likewise.
81530 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81531 (__FSWORD_T_TYPE): Likewise.
81532 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
81533 (__FSWORD_T_TYPE): Likewise.
81534 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
81535 __SWORD_TYPE with __fsword_t.
81536 (statfs64): Likewise.
81537
81538 2012-05-17 David S. Miller <davem@davemloft.net>
81539
81540 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
81541
81542 2012-05-17 Andreas Jaeger <aj@suse.de>
81543
81544 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
81545 warning.
81546
81547 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
81548
81549 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
81550
81551 2012-05-17 Andreas Jaeger <aj@suse.de>
81552
81553 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
81554 when it is used.
81555
81556 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
81557
81558 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
81559
81560 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
81561
81562 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
81563 * sysdeps/x86_64/tst-mallocalign1.c: New file.
81564
81565 2012-05-17 Andreas Jaeger <aj@suse.de>
81566 Carlos O'Donell <carlos_odonell@mentor.com>
81567
81568 [BZ #14059]
81569 * sysdeps/x86_64/multiarch/init-arch.h
81570 (bit_YMM_Usable): Rename to...
81571 (bit_AVX_Usable): ... this.
81572 (bit_FMA4_Usable): New macro.
81573 (bit_XMM_state): New macro.
81574 (bit_YMM_state): New macro.
81575 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
81576 [__ASSEMBLER__] (index_AVX_Usable): ... this.
81577 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
81578 (CPUID_OSXSAVE): New macro.
81579 (CPUID_AVX): New macro.
81580 (CPUID_FMA4): New macro.
81581 (index_YMM_Usable): Rename to...
81582 (index_AVX_Usable): ... this.
81583 (HAS_AVX): Use HAS_ARCH_FEATURE.
81584 (HAS_FMA4): Likewise.
81585 (HAS_YMM_USABLE): Remove.
81586 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81587 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
81588 are present.
81589 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
81590 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
81591 * sysdeps/x86_64/multiarch/Makefile: Likewise.
81592 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
81593 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
81594
81595 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
81596
81597 * math/libm-test.c: Support platforms without multiple rounding modes.
81598 * math/bug-nextafter.c: Support platforms without FP exceptions.
81599 * math/bug-nexttoward.c: Likewise.
81600 * math/test-fenv.c: Likewise.
81601 * math/test-misc.c: Likewise.
81602 * stdlib/bug-getcontext.c: Likewise.
81603
81604 2012-05-17 Andreas Jaeger <aj@suse.de>
81605
81606 * manual/examples/search.c (critter_cmp): Change signature to
81607 avoid warnings.
81608 * manual/string.texi (Collation Functions): Likewise.
81609
81610 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81611
81612 * bits/types.h: Fold copyright years.
81613 * bits/typesizes.h: Likewise.
81614 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
81615 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
81616 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
81617 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
81618 * time/time.h: Likewise.
81619
81620 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
81621
81622 [BZ #208]
81623 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
81624 in instead of returning them. Return void.
81625 (__libc_mallinfo): Accumulate over all arenas.
81626 (__malloc_stats): Adjust for change in int_mallinfo interface.
81627
81628 2012-05-16 Roland McGrath <roland@hack.frob.com>
81629
81630 [BZ #10375]
81631 * configure.in (NM): Add AC_CHECK_TOOL for it.
81632 (libc_extra_cflags): New substituted variable.
81633 Check for -fstack-protector being used implicitly.
81634 * configure: Regenerated.
81635 * config.make.in (config-extra-cflags): New variable,
81636 gets @libc_extra_cflags@.
81637 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
81638
81639 [BZ #10375]
81640 * configure.in: Check for _FORTIFY_SOURCE being predefined.
81641 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
81642 * configure: Regenerated.
81643 * config.make.in (CPPUNDEFS): New substituted variable.
81644 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
81645 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
81646 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
81647
81648 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81649
81650 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
81651 (mq_attr): Use __syscall_slong_t.
81652
81653 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81654
81655 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
81656 Check __x86_64__ instead of __WORDSIZE.
81657 (_STAT_VER_LINUX): Likewise.
81658 (stat): Check __x86_64__ instead of __WORDSIZE. Use
81659 __syscall_ulong_t and __syscall_slong_t.
81660 (stat64): Likewise.
81661
81662 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81663
81664 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
81665
81666 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81667
81668 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
81669
81670 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81671
81672 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
81673 __syscall_ulong_t.
81674
81675 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
81676 include <bits/wordsize.h>. Check __x86_64__ instead of
81677 __WORDSIZE.
81678 (greg_t): Use "__extension__ long long int" if __x86_64__ is
81679 defined.
81680 (mcontext_t): Replace "unsigned long" with "unsigned long long".
81681
81682 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
81683 include <bits/wordsize.h>. Check __x86_64__ instead of
81684 __WORDSIZE.
81685 (user_regs_struct): Use "__extension__ unsigned long long"
81686 instead of "unsigned long" if __x86_64__ is defined.
81687 (user): Likewise. Pad after pointer field if __ILP32__ is
81688 defined.
81689
81690 2012-05-16 Joseph Myers <joseph@codesourcery.com>
81691
81692 * configure.in (makeinfo): Require version 4.5 or later. Allow
81693 versions 5 to 9.
81694 * configure: Regenerated.
81695 * manual/install.texi (texinfo): Increase version requirement to
81696 4.5 or later.
81697 * INSTALL: Regenerated.
81698
81699 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
81700
81701 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81702
81703 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
81704
81705 * sysdeps/x86_64/x32/ffs.c: New file.
81706
81707 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
81708 __syscall_ulong_t.
81709 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
81710 defined. Use __syscall_ulong_t.
81711 (shminfo): Use __syscall_ulong_t.
81712 (shm_info): Likewise.
81713
81714 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
81715 __syscall_ulong_t.
81716
81717 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
81718 <bits/wordsize.h>.
81719 (msgqnum_t): Use __syscall_ulong_t.
81720 (msglen_t): Likewise.
81721 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
81722 __syscall_ulong_t.
81723
81724 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
81725 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
81726
81727 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
81728
81729 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
81730 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
81731
81732 * sysvipc/sys/msg.h (msgbuf): Replace long int with
81733 __syscall_slong_t.
81734
81735 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
81736 include <bits/wordsize.h>. Check __x86_64__ instead of
81737 __WORDSIZE.
81738
81739 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
81740 "unsigned long long int" if __x86_64__ is defined.
81741 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
81742
81743 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
81744 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
81745 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
81746
81747 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
81748 <stdint.h>.
81749 (GET_PC): Cast to uintptr_t first.
81750 (GET_FRAME): Likewise.
81751 (GET_STACK): Likewise.
81752
81753 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
81754 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
81755 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
81756 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
81757 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
81758 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
81759 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
81760 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
81761 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
81762 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
81763 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
81764 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
81765 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
81766 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
81767 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
81768 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
81769 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
81770 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
81771 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
81772 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
81773 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
81774 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
81775 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
81776 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
81777 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
81778 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
81779 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
81780 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
81781 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
81782
81783 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
81784
81785 * Makerules (+depfiles): Also collect depfiles from .oS in
81786 $(extra-objs).
81787 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
81788 .oS, $(libnldbl-routines)).
81789
81790 * Makerules (native-compile-mkdep-flags): Define.
81791 * sunrpc/Makefile (extra-objs): Add $(addprefix
81792 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
81793 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
81794 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
81795 calling $(make-target-directory).
81796
81797 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81798
81799 * bits/types.h (__snseconds_t): Removed.
81800 * time/time.h (struct timespec): Replace __snseconds_t with
81801 __syscall_slong_t.
81802 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
81803 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
81804 Likewise.
81805 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81806 (__SNSECONDS_T_TYPE): Likewise.
81807 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81808 (__SNSECONDS_T_TYPE): Likewise.
81809 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81810 (__SNSECONDS_T_TYPE): Likewise.
81811
81812 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81813
81814 * sysdeps/mach/hurd/bits/typesizes.h
81815 (__SYSCALL_SLONG_TYPE): New macro.
81816 (__SYSCALL_ULONG_TYPE): Likewise.
81817
81818 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81819
81820 * bits/types.h (__syscall_slong_t): New type.
81821 (__syscall_ulong_t): Likewise.
81822
81823 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
81824 (__SYSCALL_ULONG_TYPE): Likewise.
81825 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81826 (__SYSCALL_SLONG_TYPE): Likewise.
81827 (__SYSCALL_ULONG_TYPE): Likewise.
81828 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81829 (__SYSCALL_SLONG_TYPE): Likewise.
81830 (__SYSCALL_ULONG_TYPE): Likewise.
81831 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81832 (__SYSCALL_SLONG_TYPE): Likewise.
81833 (__SYSCALL_ULONG_TYPE): Likewise.
81834
81835 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81836
81837 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
81838 Add sigaltstack-offsets.sym.
81839 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
81840 <sigaltstack-offsets.h>.
81841 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
81842 longjmp_msg pointer.
81843 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
81844 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
81845 signal stack.
81846 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
81847
81848 2012-05-15 Joseph Myers <joseph@codesourcery.com>
81849
81850 * elf/stackguard-macros.h: Remove file.
81851 * sysdeps/generic/stackguard-macros.h: New file.
81852 * sysdeps/i386/stackguard-macros.h: Likewise.
81853 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
81854 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
81855 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
81856 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
81857 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
81858 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
81859 * sysdeps/x86_64/stackguard-macros.h: Likewise.
81860 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
81861 <elf/stackguard-macros.h>.
81862
81863 [BZ #14109]
81864 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
81865 __aligned__ in attribute.
81866 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
81867 (gregset_t): Likewise.
81868
81869 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81870
81871 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
81872 * sysdeps/x86_64/64/Implies-after: Here. New file.
81873 * sysdeps/x86_64/x32/Implies-after: New file.
81874
81875 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81876
81877 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
81878 and access return value for _dl_profile_fixup. Use R10_LP to
81879 load frame size.
81880
81881 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81882
81883 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
81884
81885 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81886
81887 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
81888 * sysdeps/x86_64/x32/sysdep.h: New file.
81889
81890 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81891
81892 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
81893 * sysdeps/x86_64/setjmp.S: Likewise.
81894
81895 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81896
81897 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
81898 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
81899 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
81900 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
81901 remove unused global constant.
81902
81903 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
81904
81905 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
81906 include of <not-cancel.h>.
81907
81908 2012-05-15 Roland McGrath <roland@hack.frob.com>
81909
81910 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
81911
81912 2012-05-15 Jeff Law <law@redhat.com>
81913 Andreas Jaeger <aj@suse.de>
81914
81915 [BZ #13594]
81916 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
81917 out from...
81918 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
81919 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
81920 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
81921 code changing __hst_map_handle.map.
81922
81923 2012-05-15 Roland McGrath <roland@hack.frob.com>
81924
81925 * configure.in (sysnames): Look for Implies-before and Implies-after
81926 files.
81927 * configure: Regenerated.
81928
81929 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81930
81931 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
81932 8-byte data alignment with LP_SIZE alignment.
81933
81934 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81935
81936 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
81937 into R10_LP.
81938
81939 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81940
81941 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
81942
81943 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81944
81945 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
81946 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
81947 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
81948 Likewise.
81949 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
81950
81951 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81952
81953 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
81954 (stackinfo_sub_sp): Likewise.
81955
81956 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81957
81958 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
81959 RAX_LP.
81960
81961 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81962
81963 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
81964 into R*_LP.
81965
81966 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81967
81968 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
81969 sizes into R*_LP.
81970
81971 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81972
81973 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
81974
81975 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81976
81977 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
81978 into R11_LP and load __x86_64_shared_cache_size_half into
81979 R8_LP.
81980
81981 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81982
81983 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
81984 R8_LP.
81985
81986 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81987
81988 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
81989 logb for POWER7.
81990 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
81991 logbf for POWER7.
81992 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
81993 logbl for POWER7.
81994 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
81995 powerpc32/power7/fpu/s_logb.c via #include.
81996 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
81997 powerpc32/power7/fpu/s_logbf.c via #include.
81998 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
81999 powerpc32/power7/fpu/s_logbl.c via #include.
82000
82001 2012-05-15 Joseph Myers <joseph@codesourcery.com>
82002
82003 * README.libm: Remove file.
82004
82005 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82006
82007 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
82008 count for x32. Use R*_LP and omit operand-size suffix.
82009
82010 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82011
82012 * shlib-versions: Move x86_64-.*-linux.* entries to ...
82013 * sysdeps/x86_64/64/shlib-versions: Here. New file.
82014 * sysdeps/x86_64/x32/shlib-versions: New file.
82015
82016 2012-05-14 Roland McGrath <roland@hack.frob.com>
82017
82018 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
82019 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
82020 Use _dl_fatal_printf instead.
82021
82022 2012-05-14 Joseph Myers <joseph@codesourcery.com>
82023
82024 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
82025 set if not set by the user. Do not allow for being unset.
82026 * sysdeps/unix/sysv/linux/configure: Regenerated.
82027
82028 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82029
82030 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
82031 the `q' suffix from lea and replace .quad with ASM_ADDR.
82032
82033 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82034
82035 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
82036 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
82037 instead of $17.
82038 (PTR_DEMANGLE): Likewise.
82039
82040 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82041
82042 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
82043 (LP_OP): Likewise.
82044 (ASM_ADDR): Likewise.
82045 (RAX_LP): Likewise.
82046 (RBP_LP): Likewise.
82047 (RBX_LP): Likewise.
82048 (RCX_LP): Likewise.
82049 (RDI_LP): Likewise.
82050 (RSI_LP): Likewise.
82051 (RSP_LP): Likewise.
82052 (R8_LP): Likewise.
82053 (R9_LP): Likewise.
82054 (R10_LP): Likewise.
82055 (R10_LP): Likewise.
82056 (R11_LP): Likewise.
82057 (R12_LP): Likewise.
82058 (R13_LP): Likewise.
82059 (R14_LP): Likewise.
82060 (R15_LP): Likewise.
82061
82062 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82063
82064 * sysdeps/x86_64/x32/dl-machine.h: New file.
82065
82066 2012-05-14 Andreas Jaeger <aj@suse.de>
82067
82068 * manual/Makefile (subdir): Remove export of subdir.
82069 (all): Remove target.
82070 (.PHONY): Remove all from list.
82071 (mkinstalldirs): Remove.
82072 (.PHONY): Remove installdirs from list.
82073 ($(inst_infodir)/libc.info): Use make-target-directory.
82074 (installdirs): Remove.
82075 (subdir_%): Remove.
82076 (glibc-targets): Remove.
82077 (lib): Remove.
82078 (stubs): Remove.
82079 ($(objpfx)stubs ../po/manual.pot): Remove.
82080 ($(objpfx)stamp%): Remove.
82081 (make-target-directory): Remove.
82082 (subdir_install): Remove.
82083 (routines): Remove.
82084 (aux): Remove.
82085 (sources): Remove.
82086 (objects): Remove.
82087 (headers): Remove.
82088
82089 [BZ #13750]
82090 * manual/.gitignore: Remove, it's not needed anymore.
82091 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
82092 all files in it.
82093 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
82094 directory.
82095 (texis): Renamed to $(objpfx)texis.
82096 (texis-path): New, contains path to generated files.
82097 (chapters.%): Use texis-path for complete path, add extra argument
82098 libc-texinfo.sh.
82099 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
82100 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
82101 (summary,texi, stamp-summary): Use complete path of
82102 files. Generate files in build dir.
82103 (dir-add.texi): Build in build dir.
82104 (libm-err.texi,stamp-libm-err): Likewise.
82105 (version.texi, stamp-version): Likewise.
82106 (.%c.texi): Likewise.
82107 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
82108 (mostlyclean): Remove target.
82109 (realclean): Remove target.
82110 (generated): Add new variable with contents from mostlyclean and
82111 realclean, remove entries duplicated in common-mostlyclean, add
82112 stamp-libm-err and stamp-version.
82113 (generated-dirs): Add libc directory.
82114 ($(inst_infodir)/libc.info): Install files from build dir.
82115
82116 * manual/install.texi (Configuring and compiling): Adjust since
82117 the info files are not part of the tar ball anymore.
82118
82119 2012-05-14 Andreas Jaeger <aj@suse.de>
82120
82121 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
82122 variable.
82123
82124 2012-05-14 Joseph Myers <joseph@codesourcery.com>
82125
82126 [BZ #13717]
82127 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
82128 to 2.2.0 where earlier.
82129 * sysdeps/unix/sysv/linux/configure: Regenerated.
82130 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
82131 Remove conditional code.
82132 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
82133 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
82134 Remove conditional code.
82135 [!__NR_lchown]: Likewise.
82136 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82137 [__NR_lchown]: Likewise.
82138 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
82139 comment referencing __ASSUME_LCHOWN_SYSCALL.
82140 * sysdeps/unix/sysv/linux/i386/sigaction.c
82141 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82142 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82143 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
82144 Remove conditional code.
82145 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
82146 (__protocol_available): Remove #if 0 code.
82147 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
82148 conditional code.
82149 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
82150 * sysdeps/unix/sysv/linux/kernel-features.h
82151 (__ASSUME_GETCWD_SYSCALL): Don't define.
82152 (__ASSUME_REALTIME_SIGNALS): Likewise.
82153 (__ASSUME_PREAD_SYSCALL): Likewise.
82154 (__ASSUME_PWRITE_SYSCALL): Likewise.
82155 (__ASSUME_POLL_SYSCALL): Likewise.
82156 (__ASSUME_LCHOWN_SYSCALL): Likewise.
82157 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
82158 non-SPARC.
82159 (__ASSUME_SIOCGIFNAME): Don't define.
82160 (__ASSUME_MSG_NOSIGNAL): Likewise.
82161 (__ASSUME_SENDFILE): Define unconditionally.
82162 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
82163 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
82164 conditional code.
82165 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
82166 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
82167 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82168 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82169 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
82170 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82171 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
82173 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82174 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
82176 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82177 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
82179 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82180 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
82182 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82183 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
82185 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82186 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
82188 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82189 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
82191 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82192 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
82194 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82195 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82196 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
82197 Remove conditional code.
82198 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82199 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82200 Remove conditional code.
82201 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82202 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
82203 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
82204 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82205 Remove conditional code.
82206 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82207 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
82208 Remove conditional code.
82209 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82210 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
82211 Remove conditional code.
82212 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82213 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82214 Remove conditional code.
82215 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82216 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82217 Remove conditional code.
82218 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82219 * sysdeps/unix/sysv/linux/sh/pwrite64.c
82220 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82221 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82222 * sysdeps/unix/sysv/linux/sigaction.c
82223 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82224 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82225 * sysdeps/unix/sysv/linux/sigpending.c
82226 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82227 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82228 * sysdeps/unix/sysv/linux/sigprocmask.c
82229 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82230 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82231 * sysdeps/unix/sysv/linux/sigsuspend.c
82232 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82233 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82234 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
82235 (__libc_missing_rt_sigs): Remove.
82236 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
82237 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
82238 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
82239 Remove conditional code.
82240 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
82241 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
82242 return 1.
82243 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
82244 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
82245 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
82246 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
82247
82248 2012-05-14 Andreas Jaeger <aj@suse.de>
82249
82250 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
82251 it's not used in glibc.
82252 (__coshm1): Likewise.
82253 (__acosh1p): Likewise.
82254 (__sgn): Likewise.
82255
82256 * manual/string.texi (Copying and Concatenation): Add missing
82257 variable in concat example.
82258 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
82259
82260 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82261
82262 [BZ #14103]
82263 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
82264 __builtin_clzl with __builtin_clzll.
82265
82266 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82267
82268 [BZ #14104]
82269 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
82270 libc_freeres_ptr.
82271
82272 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82273
82274 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
82275 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
82276 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
82277 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
82278
82279 2012-05-14 Mike Frysinger <vapier@gentoo.org>
82280
82281 * NEWS: Update ia64 info.
82282
82283 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
82284
82285 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
82286 used as bcopy.
82287
82288 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
82289
82290 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
82291 * sysdeps/unix/syscalls.list (dup3): Likewise.
82292 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
82293 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
82294
82295 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
82296
82297 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
82298 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
82299
82300 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
82301
82302 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
82303 thread pointer.
82304 (TLS_IE): Use mov/add instead of movq/addq to load thread
82305 pointer.
82306 (TLS_GD_PREFIX): New.
82307 (TLS_GD): Use it.
82308
82309 2012-05-11 David S. Miller <davem@davemloft.net>
82310
82311 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
82312 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
82313 (_FPU_SETCW): Likewise.
82314
82315 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82316
82317 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
82318 is 32-byte aligned.
82319
82320 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
82321
82322 [BZ #11837]
82323 * iconvdata/gb18030.c: Update tables.
82324 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
82325 characters specially.
82326 (BODY for TO_LOOP): Add encoding of missing ranges.
82327
82328 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
82329
82330 [BZ #13673]
82331 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
82332 * sysdeps/mach/hurd/dup3.c: Likewise.
82333 * sysdeps/mach/hurd/readlinkat.c: Likewise.
82334 * sysdeps/powerpc/memmove.c:: Likewise.
82335
82336 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82337
82338 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
82339 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
82340
82341 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82342
82343 * elf/elf.h (R_X86_64_RELATIVE64): New.
82344 (R_X86_64_NUM): Updated.
82345 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
82346 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
82347 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
82348 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
82349 tst-quad1pie tst-quad2pie
82350 (modules-names): Add tst-quadmod1 tst-quadmod2.
82351 ($(objpfx)tst-quad1): New dependency.
82352 ($(objpfx)tst-quad2): Likewise.
82353 ($(objpfx)tst-quad1pie): Likewise.
82354 ($(objpfx)tst-quad2pie): Likewise.
82355 * sysdeps/x86_64/tst-quad1.c: New file.
82356 * sysdeps/x86_64/tst-quad1pie.c: New file.
82357 * sysdeps/x86_64/tst-quad2.c: Likewise.
82358 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
82359 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
82360 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
82361 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
82362 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
82363
82364 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82365
82366 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
82367 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
82368 * streams/stropts.h (t_scalar_t): Define type.
82369
82370 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
82371 (_PATH_PRESERVE): Set to "/var/lib".
82372 (_PATH_RWHODIR): Set to "/var/spool/rwho".
82373
82374 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
82375 instead of int.
82376
82377 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
82378 if __dir_mkfile succeeded.
82379
82380 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
82381 checking for _hurd_dtablesize. Unlock it right after having
82382 finished _hurd_dtable allocation.
82383
82384 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82385
82386 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
82387 * sysdeps/mach/hurd/configure: Regenerated.
82388 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
82389 special-casing to...
82390 * sysdeps/gnu/configure.in: ... this new file.
82391 * sysdeps/unix/sysv/linux/configure: Regenerated.
82392 * sysdeps/gnu/configure: New generated file.
82393
82394 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
82395 for Linux: use nsec instead of usec, as well as:
82396 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
82397 members of type struct timespec.
82398 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
82399 New macros.
82400 (struct stat64): Likewise.
82401 (_STATBUF_ST_NSEC): New macro.
82402 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
82403
82404 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
82405 __strtoul_internal rather than strtoul.
82406
82407 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82408
82409 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
82410 and reject them.
82411
82412 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82413
82414 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
82415 which preserves existing values.
82416 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
82417
82418 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82419
82420 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
82421 TIMEOUT values. Return EINVAL for NFDS values either negative or
82422 greater than FD_SETSIZE.
82423
82424 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82425
82426 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
82427 allocated, call __vm_protect to finish enabling the existing space, and
82428 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
82429 allocate the remainder.
82430
82431 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82432
82433 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
82434 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
82435
82436 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82437
82438 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
82439 sysdeps/mach/hurd/readlink.c.
82440
82441 * posix/tst-sysconf.c (posix_options): Only use
82442 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
82443 _POSIX_SYNCHRONIZED_IO when they are defined
82444 * sysdeps/mach/hurd/bits/posix_opt.h:
82445 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
82446 (_XOPEN_REALTIME): Undefine macro.
82447 (_XOPEN_REALTIME_THREADS): Undefine macro.
82448 (_XOPEN_SHM): Undefine macro.
82449 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
82450 macro to -1.
82451 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
82452 macro to -1.
82453 (_POSIX_ASYNC_IO): Undefine macro.
82454 (_POSIX_PRIORITIZED_IO): Undefine macro.
82455 (_POSIX_SPIN_LOCKS): Define macro to -1.
82456
82457 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
82458 SA_NODEFER, SA_RESETHAND.
82459 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
82460 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
82461 F_DUPFD_CLOEXEC.
82462
82463 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82464
82465 * elf/Makefile (pldd-modules): Define unconditionally.
82466
82467 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82468
82469 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
82470
82471 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82472
82473 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
82474 Return ENOENT when name is empty.
82475 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
82476
82477 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82478
82479 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
82480
82481 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
82482
82483 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82484
82485 Fix mlock in all cases except non-readable pages.
82486 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
82487 instead of VM_PROT_ALL as parameter to __vm_wire function.
82488
82489 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
82490 (__mkdir): When path is `/', just fail with EEXIST.
82491 * sysdeps/mach/hurd/mkdirat.c: Likewise.
82492
82493 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82494
82495 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
82496 <sys/uio.h> (for writev).
82497 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
82498 and <sys/param.h> (for MIN).
82499
82500 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82501
82502 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
82503 REQUESTED_TIME. Properly set the remaining time and return EINTR
82504 if interrupted.
82505
82506 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82507
82508 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
82509 Depend on against $(link-rpcuserlibs).
82510
82511 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82512
82513 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
82514 (__libc_stack_end): Do not use attribute_relro.
82515 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
82516 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
82517 to libthread-provided value.
82518 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
82519 attribute_relro.
82520
82521 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82522
82523 [BZ #3748]
82524 * bits/libc-lock.h (__libc_once_get): New macro.
82525 * sysdeps/mach/bits/libc-lock.h: Likewise.
82526 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
82527 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
82528 instead of using implementation details.
82529
82530 * libio/fileops.c: Unconditionally include <kernel-features.h>.
82531 * libio/freopen.c: Likewise.
82532 * libio/freopen64.c: Likewise.
82533 * misc/syslog.c: Likewise.
82534 * nscd/connections.c: Likewise.
82535 * nscd/netgroupcache.c: Likewise.
82536 * sysdeps/posix/getcwd.c: Likewise.
82537
82538 2012-05-10 Roland McGrath <roland@hack.frob.com>
82539
82540 * math/w_ilogbf.c: Add #include <limits.h>.
82541
82542 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82543
82544 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
82545 path instead of returning without unlocking.
82546
82547 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
82548 immediate-write ioctls.
82549 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
82550
82551 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82552
82553 * sysdeps/mach/hurd/i386/init-first.c (init): Use
82554 __builtin_frame_address instead of making assumptions about the
82555 location of the return address relative to DATA. Force early load of
82556 the return address.
82557 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
82558 __builtin_frame_address.
82559
82560 dup3 for GNU Hurd.
82561 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
82562 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
82563 implement dup3 and do some further code clean-ups.
82564 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
82565 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
82566
82567 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82568
82569 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
82570
82571 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
82572 HURD_CRITICAL_END around holding _hurd_dtable_lock.
82573 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
82574 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
82575 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
82576 d->port.lock.
82577
82578 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
82579 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
82580 when handler == SIG_ERR, not when handler != SIG_ERR.
82581
82582 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82583
82584 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
82585 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
82586 definitions.
82587
82588 accept4 for GNU Hurd.
82589 * include/sys/socket.h (__libc_accept4): New prototype.
82590 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
82591 to implement __libc_accept4.
82592 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
82593 __libc_accept4.
82594 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
82595
82596 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
82597 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
82598 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
82599 signal-defines.sym.
82600
82601 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82602
82603 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
82604
82605 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82606
82607 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
82608 assertion on O_CLOEXEC flag.
82609 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
82610 * hurd/intern-fd.c: Likewise.
82611 * hurd/port2fd.c: Likewise.
82612
82613 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82614
82615 [BZ #3906]
82616 * bits/in.h (IPV6_PKTINFO): Define new macro.
82617 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
82618
82619 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82620
82621 [BZ #13954]
82622 [BZ #13955]
82623 [BZ #13956]
82624 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
82625 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
82626 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
82627 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
82628 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
82629 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
82630 * math/libm-test.inc (logb_test) : Additional logb tests.
82631
82632 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
82633 Andreas Jaeger <aj@suse.de>
82634
82635 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
82636 * configure: Regenerated.
82637 * config.h.in (LINK_OBSOLETE_RPC): New macro.
82638 * config.make.in (link-obsolete-rpc): New substituted variable.
82639 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
82640 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
82641 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82642 (shared-only-routines): Don't set it under [link-obsolete-rpc],
82643 so that libc.a contains the symbols.
82644 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82645 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
82646 * sunrpc/auth_none.c: Likewise.
82647 * sunrpc/auth_unix.c: Likewise.
82648 * sunrpc/authdes_prot.c: Likewise.
82649 * sunrpc/authuxprot.c: Likewise.
82650 * sunrpc/clnt_gen.c: Likewise.
82651 * sunrpc/clnt_perr.c: Likewise.
82652 * sunrpc/clnt_raw.c: Likewise.
82653 * sunrpc/clnt_simp.c: Likewise.
82654 * sunrpc/clnt_tcp.c: Likewise.
82655 * sunrpc/clnt_udp.c: Likewise.
82656 * sunrpc/clnt_unix.c: Likewise.
82657 * sunrpc/des_crypt.c: Likewise.
82658 * sunrpc/des_soft.c: Likewise.
82659 * sunrpc/get_myaddr.c: Likewise.
82660 * sunrpc/key_call.c: Likewise.
82661 * sunrpc/key_prot.c: Likewise.
82662 * sunrpc/netname.c: Likewise.
82663 * sunrpc/pm_getmaps.c: Likewise.
82664 * sunrpc/pm_getport.c: Likewise.
82665 * sunrpc/pmap_clnt.c: Likewise.
82666 * sunrpc/pmap_prot.c: Likewise.
82667 * sunrpc/pmap_prot2.c: Likewise.
82668 * sunrpc/pmap_rmt.c: Likewise.
82669 * sunrpc/publickey.c: Likewise.
82670 * sunrpc/rpc_cmsg.c: Likewise.
82671 * sunrpc/rpc_common.c: Likewise.
82672 * sunrpc/rpc_dtable.c: Likewise.
82673 * sunrpc/rpc_prot.c: Likewise.
82674 * sunrpc/rpc_thread.c: Likewise.
82675 * sunrpc/rtime.c: Likewise.
82676 * sunrpc/svc.c: Likewise.
82677 * sunrpc/svc_auth.c: Likewise.
82678 * sunrpc/svc_raw.c: Likewise.
82679 * sunrpc/svc_run.c: Likewise.
82680 * sunrpc/svc_tcp.c: Likewise.
82681 * sunrpc/svc_udp.c: Likewise.
82682 * sunrpc/svc_unix.c: Likewise.
82683 * sunrpc/svcauth_des.c: Likewise.
82684 * sunrpc/xcrypt.c: Likewise.
82685 * sunrpc/xdr.c: Likewise.
82686 * sunrpc/xdr_array.c: Likewise.
82687 * sunrpc/xdr_float.c: Likewise.
82688 * sunrpc/xdr_intXX_t.c: Likewise.
82689 * sunrpc/xdr_mem.c: Likewise.
82690 * sunrpc/xdr_rec.c: Likewise.
82691 * sunrpc/xdr_ref.c: Likewise.
82692 * sunrpc/xdr_sizeof.c: Likewise.
82693 * sunrpc/xdr_stdio.c: Likewise.
82694
82695 2012-05-10 Roland McGrath <roland@hack.frob.com>
82696
82697 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
82698 change. Update copyright years.
82699
82700 2012-05-10 Joseph Myers <joseph@codesourcery.com>
82701
82702 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
82703
82704 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
82705 Joseph Myers <joseph@codesourcery.com>
82706 Paul Pluzhnikov <ppluzhnikov@google.com>
82707
82708 [BZ #14012]
82709 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
82710 requiring rpcgen.
82711 [cross-compiling] (extra-libs): Likewise.
82712 [cross-compiling] (extra-libs-others): Likewise.
82713 [cross-compiling] (librpcsvc-routines): Likewise.
82714 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
82715 [cross-compiling] (omit-deps): Likewise.
82716 (sunrpc-CPPFLAGS): New variable.
82717 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
82718 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
82719 (cross-rpcgen-objs): New variable.
82720 (extra-objs): Append $(cross-rpcgen-objs).
82721 ($(cross-rpcgen-objs)): New rule.
82722 ($(objpfx)cross-rpcgen): Likewise.
82723 (rpcgen-cmd): Define to use $(built-program-file). Expand
82724 comment.
82725 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
82726 ($(objpfx)x%.stmp): Likewise.
82727 * sunrpc/proto.h [IS_IN_build] (_): Define.
82728 [IS_IN_build] (_libc_intl_domainname): Likewise.
82729
82730 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82731
82732 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
82733 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
82734 and R_X86_64_TPOFF64.
82735
82736 2012-05-10 Joseph Myers <joseph@codesourcery.com>
82737
82738 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
82739 sysdeps/unix/sysv/syscalls.list.
82740 (stime): Likewise.
82741 (utime): Likewise.
82742 * sysdeps/unix/sysv/syscalls.list: Remove file.
82743
82744 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
82745
82746 [BZ #3440]
82747 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
82748 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
82749 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
82750 (__LC_IDENTIFICATION): Make these macros useful in #if
82751 expressions, as required by C99.
82752
82753 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
82754
82755 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
82756 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
82757 after this.
82758
82759 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
82760
82761 * stdlib/longlong.h: Updated from GCC.
82762
82763 2012-05-09 Andreas Jaeger <aj@suse.de>
82764
82765 * nscd/nscd.c (run_modes): Make named enum, reorder so that
82766 default is first entry.
82767 (run_mode): Set type.
82768 (main): Remove informal message about syslog.
82769 (options): Fix typo.
82770
82771 [BZ #14053]
82772 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
82773 to asm.
82774 (lrint): Likewise.
82775 (llrintf): Likewise.
82776 (llrint): Likewise.
82777 (rint): Likewise.
82778 (rintf): Likewise.
82779 (nearbyint): Likewise.
82780 (nearbyintf): Likewise.
82781
82782 2012-05-09 Andreas Jaeger <aj@suse.de>
82783 Pedro Alves <palves@redhat.com>
82784
82785 * nscd/nscd.c (run_mode): Use enum.
82786 (main): Cleanup coding style issue.
82787
82788 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
82789 Andreas Jaeger <aj@suse.de>
82790
82791 * nscd/nscd.c (go_background): Replaced with...
82792 (run_mode): ... this.
82793 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
82794 (options): Add -F --foreground.
82795 (main): Implement it.
82796 (parse_opt): Parse it.
82797
82798 2012-05-09 Andreas Jaeger <aj@suse.de>
82799
82800 [BZ #14083]
82801 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
82802 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
82803 -Wconversion warning.
82804 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
82805 Likewise.
82806
82807 2012-05-09 Joseph Myers <joseph@codesourcery.com>
82808
82809 * conform/data/locale.h-data (NULL): Use macro-constant. Require
82810 == 0.
82811 (LC_ALL): Use macro-int-constant.
82812 (LC_COLLATE): Likewise.
82813 (LC_CTYPE): Likewise.
82814 (LC_MESSAGES): Likewise.
82815 (LC_MONETARY): Likewise.
82816 (LC_NUMERIC): Likewise.
82817 (LC_TIME): Likewise.
82818 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
82819 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
82820 [ISO || ISO99 || ISO11] (*_t): Do not allow.
82821 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
82822 Specify type.
82823 [C99-based standards] (float_t): Expect type.
82824 [C99-based standards] (double_t): Expect type.
82825 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
82826 type.
82827 [C99-based standards] (HUGE_VALL): Likewise.
82828 [C99-based standards] (INFINITY): Likewise.
82829 [C99-based standards] (NAN): Likewise.
82830 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
82831 [C99-based standards] (FP_NAN): Likewise.
82832 [C99-based standards] (FP_NORMAL): Likewise.
82833 [C99-based standards] (FP_SUBNORMAL): Likewise.
82834 [C99-based standards] (FP_ZERO): Likewise.
82835 [C99-based standards] (FP_FAST_FMA): Use
82836 optional-macro-int-constant. Specify type. Require == 1.
82837 [C99-based standards] (FP_FAST_FMAF): Likewise.
82838 [C99-based standards] (FP_FAST_FMAL): Likewise.
82839 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
82840 [C99-based standards] (FP_ILOGBNAN): Likewise.
82841 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
82842 Specify type.
82843 [C99-based standards] (MATH_ERREXCEPT): Likewise.
82844 [C99-based standards] (math_errhandling): Specify type.
82845 [ISO99 || ISO11] (signgam): Do not allow.
82846 [non-C99-based standards] (copysignf): Do not allow.
82847 [non-C99-based standards] (exp2f): Likewise.
82848 [non-C99-based standards] (log2f): Likewise.
82849 [non-C99-based standards] (modff): Allow.
82850 [non-C99-based standards] (erff): Do not allow.
82851 [non-C99-based standards] (erfcf): Likewise.
82852 [non-C99-based standards] (gammaf): Likewise.
82853 [non-C99-based standards] (hypotf): Likewise.
82854 [non-C99-based standards] (j0f): Likewise.
82855 [non-C99-based standards] (j1f): Likewise.
82856 [non-C99-based standards] (jnf): Likewise.
82857 [non-C99-based standards] (lgammaf): Likewise.
82858 [non-C99-based standards] (tgammaf): Likewise.
82859 [non-C99-based standards] (y0f): Likewise.
82860 [non-C99-based standards] (y1f): Likewise.
82861 [non-C99-based standards] (ynf): Likewise.
82862 [non-C99-based standards] (isnanf): Likewise.
82863 [non-C99-based standards] (acoshf): Likewise.
82864 [non-C99-based standards] (asinhf): Likewise.
82865 [non-C99-based standards] (atanhf): Likewise.
82866 [non-C99-based standards] (cbrtf): Likewise.
82867 [non-C99-based standards] (expm1f): Likewise.
82868 [non-C99-based standards] (ilogbf): Likewise.
82869 [non-C99-based standards] (log1pf): Likewise.
82870 [non-C99-based standards] (logbf): Likewise.
82871 [non-C99-based standards] (nextafterf): Likewise.
82872 [non-C99-based standards] (remainderf): Likewise.
82873 [non-C99-based standards] (rintf): Likewise.
82874 [non-C99-based standards] (scalbf): Likewise.
82875 [non-C99-based standards] (copysignl): Likewise.
82876 [non-C99-based standards] (exp2l): Likewise.
82877 [non-C99-based standards] (log2l): Likewise.
82878 [non-C99-based standards] (modfl): Allow.
82879 [non-C99-based standards] (erfl): Do not allow.
82880 [non-C99-based standards] (erfcl): Likewise.
82881 [non-C99-based standards] (gammal): Likewise.
82882 [non-C99-based standards] (hypotl): Likewise.
82883 [non-C99-based standards] (j0l): Likewise.
82884 [non-C99-based standards] (j1l): Likewise.
82885 [non-C99-based standards] (jnl): Likewise.
82886 [non-C99-based standards] (lgammal): Likewise.
82887 [non-C99-based standards] (tgammal): Likewise.
82888 [non-C99-based standards] (y0l): Likewise.
82889 [non-C99-based standards] (y1l): Likewise.
82890 [non-C99-based standards] (ynl): Likewise.
82891 [non-C99-based standards] (isnanl): Likewise.
82892 [non-C99-based standards] (acoshl): Likewise.
82893 [non-C99-based standards] (asinhl): Likewise.
82894 [non-C99-based standards] (atanhl): Likewise.
82895 [non-C99-based standards] (cbrtl): Likewise.
82896 [non-C99-based standards] (expm1l): Likewise.
82897 [non-C99-based standards] (ilogbl): Likewise.
82898 [non-C99-based standards] (log1pl): Likewise.
82899 [non-C99-based standards] (logbl): Likewise.
82900 [non-C99-based standards] (nextafterl): Likewise.
82901 [non-C99-based standards] (remainderl): Likewise.
82902 [non-C99-based standards] (rintl): Likewise.
82903 [non-C99-based standards] (scalbl): Likewise.
82904 [ISO || ISO99 || ISO11] (*_t): Do not allow.
82905 [non-C99-based standards] (FP_*): Do not allow.
82906 [C99-based standards] (FP_*): Change to
82907 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
82908 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
82909 allow.
82910 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
82911 (SIG_ERR): Likewise.
82912 [X/Open-based standards] (SIG_HOLD): Likewise.
82913 (SIG_IGN): Likewise.
82914 (SIGABRT): Use macro-int-constant. Specify type. Require
82915 positive value.
82916 (SIGFPE): Likewise.
82917 (SIGILL): Likewise.
82918 (SIGINT): Likewise.
82919 (SIGSEGV): Likewise.
82920 (SIGTER): Likewise.
82921 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
82922 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
82923 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
82924 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
82925 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
82926 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
82927 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
82928 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
82929 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
82930 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
82931 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
82932 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
82933 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
82934 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
82935 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
82936 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
82937 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
82938 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
82939 [X/Open-based standards] (SIGTRAP): Likewise.
82940 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
82941 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
82942 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
82943 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
82944 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
82945 allow.
82946
82947 2012-05-08 Ian Wienand <ianw@vmware.com>
82948
82949 [BZ #14080]
82950 * time/tzset.c (__tzset_parse_tz): Update default rules for
82951 daylight time changes in the Energy Policy Act of 2005.
82952
82953 2012-05-09 Andreas Jaeger <aj@suse.de>
82954
82955 [BZ #13983]
82956 * elf/ldconfig.c (parse_conf): Change string to make clear that
82957 ldconfig only issued a warning if ld.so.conf does not exist.
82958
82959 2012-05-08 David S. Miller <davem@davemloft.net>
82960
82961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
82962 movxtod instead of popping the value on the stack.
82963
82964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
82965
82966 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
82967
82968 * config.h.in: Add HAVE_ARM_PCS_VFP.
82969
82970 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
82971
82972 [BZ #13979]
82973 * include/features.h: Warn if user requests __FORTIFY_SOURCE
82974 checking but the checks are disabled for any reason.
82975
82976 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
82977
82978 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
82979 and ELF64_R_TYPE with ELFW(R_TYPE).
82980
82981 2012-05-08 Joseph Myers <joseph@codesourcery.com>
82982
82983 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
82984 (ulimit): Likewise.
82985
82986 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
82987 (settimeofday): Likewise.
82988
82989 2012-05-08 Mike Frysinger <vapier@gentoo.org>
82990
82991 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
82992 a struct th_u2 inside the union, and move tu_block/tu_code into
82993 a new th_u3 union of tu_block/tu_code inside of that. Move
82994 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
82995 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
82996 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
82997 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
82998 (th_stuff): Change to th_u1.tu_stuff.
82999 (th_data): Define.
83000 (th_msg): Change to th_u1.th_u2.tu_data.
83001
83002 2012-05-07 David S. Miller <davem@davemloft.net>
83003
83004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83005
83006 [BZ #14074]
83007 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
83008 (SETUP_PIC_REG): Use it.
83009 (SETUP_PIC_REG_LEAF): Use it.
83010
83011 2012-05-07 Joseph Myers <joseph@codesourcery.com>
83012
83013 [BZ #13885]
83014 [BZ #13923]
83015 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83016 USE_AS_EXPM1L.
83017 (EXPL_FINITE): Likewise.
83018 (FLDLOG): Likewise.
83019 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83020 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83021 e_expl.S.
83022 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83023 USE_AS_EXPM1L.
83024 (EXPL_FINITE): Likewise.
83025 (FLDLOG): Likewise.
83026 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83027 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83028 e_expl.S.
83029 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
83030 test of -max_value argument for long double.
83031 * sysdeps/i386/fpu/libm-test-ulps: Update.
83032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83033
83034 2012-05-06 David S. Miller <davem@davemloft.net>
83035
83036 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
83037 quad soft-float symbols whose references which are compiler
83038 generated.
83039 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
83040
83041 2012-05-06 Joseph Myers <joseph@codesourcery.com>
83042
83043 [BZ #13884]
83044 [BZ #13914]
83045 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83046 USE_AS_EXP10L.
83047 (EXPL_FINITE): Likewise.
83048 (FLDLOG): Likewise.
83049 (c0): Likewise.
83050 (c1): Likewise.
83051 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
83052 Adjust comments for base varying.
83053 (__expl_finite): Change alias to EXPL_FINITE.
83054 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
83055 e_expl.S.
83056 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
83057 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
83058 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
83059 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
83060 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83061 USE_AS_EXP10L.
83062 (EXPL_FINITE): Likewise.
83063 (FLDLOG): Likewise.
83064 (c0): Likewise.
83065 (c1): Likewise.
83066 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
83067 Adjust comments for base varying.
83068 (__expl_finite): Change alias to EXPL_FINITE.
83069 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
83070 tests for bugs.
83071 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83072
83073 [BZ #14064]
83074 * math/libm-test.inc (check_float_internal): Correct ulp
83075 calculation for subnormal expected results.
83076
83077 2012-05-06 Andreas Jaeger <aj@suse.de>
83078
83079 * Makeconfig (+math-flags): New, set to -frounding-math.
83080 (+cflags): Add +math-flags so that all of glibc gets compiled with
83081 it.
83082
83083 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
83084
83085 2012-05-05 Joseph Myers <joseph@codesourcery.com>
83086
83087 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
83088 Disable one test.
83089
83090 [BZ #13787]
83091 [BZ #13922]
83092 [BZ #14036]
83093 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
83094 (__ieee754_expl): Allow for and saturate large arguments.
83095 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
83096 (u_threshold): Likewise.
83097 (__exp): Call __ieee754_exp before checking for overflow and
83098 underflow.
83099 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
83100 (u_threshold): Likewise.
83101 (__expf): Call __ieee754_expf before checking for overflow and
83102 underflow.
83103 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
83104 (u_threshold): Likewise.
83105 (__expl): Call __ieee754_expl before checking for overflow and
83106 underflow.
83107 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
83108 (__ieee754_expl): Allow for and saturate large arguments.
83109 * math/libm-test.inc (exp_test): Add another test. Do not allow
83110 missing overflow exception on overflow.
83111 (expm1_test): Do not allow missing overflow exception on overflow.
83112
83113 * sysdeps/i386/fpu/e_expl.c: Move to ...
83114 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
83115 rather than using inline asm.
83116 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
83117 * sysdeps/x86_64/fpu/e_expl.S: Copy from
83118 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
83119
83120 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
83121 (nice): Likewise.
83122 (poll): Likewise.
83123 (signal): Likewise.
83124 (time): Likewise.
83125 (times): Likewise.
83126
83127 2012-05-04 Joseph Myers <joseph@codesourcery.com>
83128
83129 * sysdeps/unix/syscalls.list (adjtime): Add entry from
83130 sysdeps/unix/common/syscalls.list.
83131 (fchmod): Likewise.
83132 (fchown): Likewise.
83133 (ftruncate): Likewise.
83134 (getrusage): Likewise.
83135 (gettimeofday): Likewise.
83136 (setpgid): Likewise.
83137 (setregid): Likewise.
83138 (setreuid): Likewise.
83139 (sigaction): Likewise.
83140 (truncate): Likewise.
83141 (vhangup): Likewise.
83142 * sysdeps/unix/common/syscalls.list: Remove file.
83143 * sysdeps/unix/bsd/Implies: Don't include unix/common.
83144 * sysdeps/unix/sysv/linux/Implies: Likewise.
83145
83146 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
83147
83148 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
83149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
83150 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
83151 Moved to ...
83152 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
83153 Here.
83154 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
83155 to ...
83156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
83157 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
83158 to ...
83159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
83160 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
83161 to ...
83162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
83163 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
83164 to ...
83165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
83166 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
83167 to ...
83168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
83169 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
83170 to ...
83171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
83172 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
83173 to ...
83174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
83175 Here.
83176 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
83177 to ...
83178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
83179 Here.
83180 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
83181 to ...
83182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
83183 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
83184 Moved to ...
83185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
83186 Here.
83187 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
83188 to ...
83189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
83190
83191 2012-05-04 Joseph Myers <joseph@codesourcery.com>
83192
83193 * sysdeps/unix/common/bits/dirent.h: Remove file.
83194 * sysdeps/unix/common/bits/fcntl.h: Likewise.
83195
83196 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
83197 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
83198 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
83199 * sysdeps/unix/bsd/isatty.c: Likewise.
83200 * sysdeps/unix/bsd/tcdrain.c: Likewise.
83201 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
83202 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
83203
83204 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
83205
83206 [BZ #13563]
83207 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
83208 long double comparison inaccuracies.
83209 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
83210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83211
83212 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
83213
83214 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
83215 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
83216
83217 2012-05-04 Joseph Myers <joseph@codesourcery.com>
83218
83219 [BZ #14049]
83220 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
83221 nonzero digits before rounding a hex value.
83222 * stdlib/tst-strtod.c (tests): Add another test.
83223
83224 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83225
83226 * sysdeps/s390/fpu/libm-test-ulps: Update.
83227
83228 2012-05-03 Andreas Jaeger <aj@suse.de>
83229
83230 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
83231 does not get optimized out.
83232 (malloc_opt_barrier): New.
83233
83234 2012-05-03 Andreas Jaeger <aj@suse.de>
83235 Roland McGrath <roland@hack.frob.com>
83236
83237 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
83238 intermediate file deletion.
83239 (generated): Add .symlist files.
83240
83241 2012-05-03 Joseph Myers <joseph@codesourcery.com>
83242
83243 [BZ #13775]
83244 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
83245 Redirect under this condition.
83246 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83247 [__USE_GNU] (__dprintf_chk): Not under this condition.
83248 [__USE_GNU] (__vdprintf_chk): Likewise.
83249 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
83250 under this condition.
83251 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83252 [__USE_XOPEN2K8] (dprintf): Define under this condition.
83253 [__USE_XOPEN2K8] (vdprintf): Likewise.
83254 [__USE_GNU] (__dprintf_chk): Not under this condition.
83255 [__USE_GNU] (__vdprintf_chk): Likewise.
83256 [__USE_GNU] (dprintf): Likewise.
83257 [__USE_GNU] (vdprintf): Likewise.
83258
83259 2012-05-03 Roland McGrath <roland@hack.frob.com>
83260
83261 * elf/Makefile (common-generated): Set this instead of generated for
83262 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
83263 $(all-built-dso)-derived lists.
83264
83265 2012-05-03 Andreas Jaeger <aj@suse.de>
83266
83267 * sysdeps/i386/fpu/libm-test-ulps: Update.
83268
83269 * FAQ: Removed.
83270 * FAQ.in: Likewise.
83271 * scripts/gen-FAQ.pl: Likewise.
83272 * manual/install.texi (Installation): Point to online location of
83273 FAQ.
83274 * Makefile (files-for-dist): Remove FAQ.
83275 (FAQ): Remove.
83276
83277 2012-05-02 Allan McRae <allan@archlinux.org>
83278
83279 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
83280 (LDFLAGS-reldepmod5.so): Likewise.
83281 (LDFLAGS-reldep6mod1.so): Likewise.
83282 (LDFLAGS-reldep6mod4.so): Likewise.
83283 (LDFLAGS-reldep8mod3.so): Likewise.
83284 (LDFLAGS-unload4mod1.so): Likewise.
83285 (LDFLAGS-unload4mod2.so): Likewise.
83286 (LDFLAGS-tst-initorder): Likewise.
83287 (LDFLAGS-tst-initordera2.so): Likewise.
83288 (LDFLAGS-tst-initordera3.so): Likewise.
83289 (LDFLAGS-tst-initordera4.so): Likewise.
83290 (LDFLAGS-tst-initorderb2.so): Likewise.
83291 (LDFLAGS-noload): Likewise.
83292 (LDFLAGS-next): Likewise.
83293 (LDFLAGS-order2mod1.so): Likewise.
83294 (LDFLAGS-order2mod2.so): Likewise.
83295 (LDFLAGS-tst-initorder2): Likewise.
83296 (LDFLAGS-tst-initorder2a.so): Likewise.
83297 (LDFLAGS-tst-initorder2b.so): Likewise.
83298 (LDFLAGS-tst-initorder2c.so): Likewise.
83299 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
83300
83301 2012-05-02 David S. Miller <davem@davemloft.net>
83302
83303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83304
83305 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
83306
83307 [BZ #14055]
83308 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
83309
83310 2012-05-02 Andreas Jaeger <aj@suse.de>
83311
83312 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
83313 since we manipulate rounding mode.
83314 (CPPFLAGS-test-idouble.c): Likewise.
83315 (CPPFLAGS-test-ifloat.c): Likewise.
83316 (CFLAGS-test-ldouble.c): Likewise.
83317 (CFLAGS-test-double.c): Likewise.
83318 (CFLAGS-test-float.c): Likewise.
83319 (CFLAGS-test-misc.c): Likewise.
83320 (CFLAGS-test-test-fenv.c): Likewise.
83321
83322 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
83323
83324 [BZ #2550]
83325 [BZ #2570]
83326 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
83327 comparisons to determine direction to adjust input.
83328
83329 2012-05-01 Roland McGrath <roland@hack.frob.com>
83330
83331 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
83332 output to the target.
83333
83334 * scripts/localplt.awk: New file.
83335 * elf/Makefile ($(objpfx)check-localplt): Target removed.
83336 (check-localplt-CFLAGS): Variable removed.
83337 ($(all-built-dso:=.jmprel)): New static pattern rule.
83338 (generated): Add those targets.
83339 (localplt-built-dso): New variable.
83340 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
83341
83342 * elf/check-localplt.c: File removed.
83343
83344 * scripts/check-execstack.awk: New file.
83345 * elf/Makefile ($(objpfx)check-execstack): Target removed.
83346 (check-execstack-CFLAGS): Variable removed.
83347 ($(objpfx)check-execstack.h): Target removed.
83348 ($(objpfx)execstack-default): New target.
83349 (generated): Add that instead of check-execstack.h.
83350 ($(all-built-dso:=.phdr)): New static pattern rule.
83351 (generated): Add those targets.
83352 * elf/check-execstack.c: File removed.
83353
83354 * scripts/check-textrel.awk: New file.
83355 * elf/Makefile ($(objpfx)check-textrel): Target removed.
83356 (check-textrel-CFLAGS): Variable removed.
83357 (all-built-dso): Use := to define.o
83358 ($(all-built-dso:=.dyn)): New static pattern rule.
83359 (generated): Add those targets.
83360 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
83361 * config.make.in (READELF): New substituted variable.
83362 * elf/check-textrel.c: File removed.
83363
83364 2012-05-01 Joseph Myers <joseph@codesourcery.com>
83365
83366 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83367 allow.
83368 * conform/data/ctype.h-data [C99-based standards] (isblank):
83369 Expect function.
83370 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
83371 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
83372 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83373 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
83374 Specify type. Require positive value.
83375 (EILSEQ): Likewise.
83376 (ERANGE): Likewise.
83377 [ISO || POSIX] (EILSEQ): Do not expect.
83378 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
83379 Specify type. Require positive value.
83380 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
83381 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
83382 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
83383 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
83384 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
83385 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
83386 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
83387 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
83388 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
83389 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
83390 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
83391 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
83392 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
83393 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
83394 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
83395 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
83396 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
83397 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
83398 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
83399 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
83400 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
83401 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
83402 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
83403 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
83404 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
83405 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
83406 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
83407 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
83408 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
83409 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
83410 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
83411 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
83412 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
83413 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
83414 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
83415 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
83416 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
83417 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
83418 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
83419 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
83420 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
83421 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
83422 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
83423 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
83424 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
83425 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
83426 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
83427 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
83428 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
83429 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
83430 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
83431 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
83432 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
83433 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
83434 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
83435 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
83436 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
83437 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
83438 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
83439 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
83440 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
83441 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
83442 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
83443 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
83444 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
83445 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
83446 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
83447 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
83448 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
83449 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
83450 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
83451 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
83452 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
83453 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
83454 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
83455 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
83456 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
83457 Require >= 2.
83458 (FLT_ROUNDS): Expect as macro, not constant.
83459 (FLT_MANT_DIG): Use macro-int-constant.
83460 (DBL_MANT_DIG): Likewise.
83461 (LDBL_MANT_DIG): Likewise.
83462 (FLT_DIG): Likewise.
83463 (DBL_DIG): Likewise.
83464 (LDBL_DIG): Likewise.
83465 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
83466 (DBL_MIN_EXP): Likewise.
83467 (LDBL_MIN_EXP): Likewise.
83468 (FLT_MAX_EXP): Use macro-int-constant.
83469 (DBL_MAX_EXP): Likewise.
83470 (LDBL_MAX_EXP): Likewise.
83471 (FLT_MAX_10_EXP): Likewise.
83472 (DBL_MAX_10_EXP): Likewise.
83473 (LDBL_MAX_10_EXP): Likewise.
83474 (FLT_MAX): Use macro-constant.
83475 (DBL_MAX): Likewise.
83476 (LDBL_MAX): Likewise.
83477 (FLT_EPSILON): Use macro-constant. Give upper bound.
83478 (DBL_EPSILON): Likewise.
83479 (LDBL_EPSILON): Likewise.
83480 (FLT_MIN): Likewise.
83481 (DBL_MIN): Likewise.
83482 (LDBL_MIN): Likewise.
83483 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
83484 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
83485 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
83486 [ISO11] (FLT_HAS_SUBNORM): Likewise.
83487 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
83488 [ISO11] (DBL_DECIMAL_DIG): Likewise.
83489 [ISO11] (FLT_DECIMAL_DIG): Likewise.
83490 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
83491 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
83492 [ISO11] (FLT_TRUE_MIN): Likewise.
83493 [ISO11] (LDBL_TRUE_MIN): Likewise.
83494 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83495 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
83496 (SCHAR_MIN): Use macro-int-constant. Specify type.
83497 (SCHAR_MAX): Likewise.
83498 (UCHAR_MAX): Likewise.
83499 (CHAR_MIN): Likewise.
83500 (CHAR_MAX): Likewise.
83501 (MB_LEN_MAX): Use macro-int-constant.
83502 (SHRT_MIN): Use macro-int-constant. Specify type.
83503 (SHRT_MAX): Likewise.
83504 (USHRT_MAX): Likewise.
83505 (INT_MAX): Likewise.
83506 (INT_MIN): Use macro-int-constant. Specify type. Make upper
83507 bound negative.
83508 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
83509 bound with "U".
83510 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
83511 bound with "L".
83512 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
83513 bound negative. Suffix upper bound with "L".
83514 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
83515 bound with "UL".
83516 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
83517 Specify type.
83518 [C99-based standards] (LLONG_MAX): Likewise.
83519 [C99-based standards] (ULLONG_MAX): Likewise.
83520 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
83521 == 0.
83522 [ISO11] (max_align_t): Require type.
83523 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83524
83525 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
83526 from $CFLAGS, without defining away __attribute__ calls.
83527 (checknamespace): Use $CFLAGS_namespace.
83528
83529 * conform/conformtest.pl (@keywords): Only include C99 keywords
83530 for standards based on C99 or C11.
83531
83532 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
83533 Disable tests.
83534 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
83535 UNIX98]: Likewise.
83536
83537 * conform/conformtest.pl: Handle "macro-int-constant" and test for
83538 usability of symbols in #if.
83539
83540 * conform/conformtest.pl: If macro or constant types start
83541 "promoted:", expect the symbol to be of the following type
83542 promoted by the integer promotions.
83543
83544 * conform/conformtest.pl: Parse all "constant" and "macro" lines
83545 in one place. Also handle "macro-constant".
83546
83547 * conform/conformtest.pl: Only accept expected macro values with
83548 "==". Parse all "macro" lines in one place.
83549 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
83550
83551 * conform/conformtest.pl: Handle braced types on "constant" lines
83552 instead of handling "typed-constant".
83553 * conform/data/signal.h-data: Use "constant" instead of
83554 "typed-constant".
83555
83556 * conform/conformtest.pl: Handle "optional-" at start of lines in
83557 one place rather than duplicating several cases. Handle each
83558 format of "macro" line with initial "optional-".
83559
83560 * conform/conformtest.pl: Only accept expected constant or
83561 optional-constant values with "==". Parse all "constant" lines in
83562 one place. Parse all "optional-constant" lines in one place.
83563 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
83564 * conform/data/fmtmsg.h-data: Likewise.
83565 * conform/data/netinet/in.h-data: Likewise.
83566 * conform/data/tar.h-data: Likewise.
83567 * conform/data/limits.h-data: Use "==" form on "constant" and
83568 "optional-constant" lines.
83569
83570 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
83571 Use -std=c99 for XOPEN2K.
83572 (@knownproblems): Remove.
83573 (newtoken): Don't check %isknown.
83574
83575 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
83576 Do not expect macro.
83577 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
83578 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
83579 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
83580 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
83581 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
83582 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
83583 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
83584 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
83585 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
83586 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
83587 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
83588 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
83589 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
83590 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
83591 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
83592 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
83593 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
83594 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
83595 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
83596 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
83597 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
83598 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
83599 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
83600 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
83601 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
83602 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
83603 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
83604 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
83605 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
83606 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
83607 [XPG3] (acosh): Likewise.
83608 [XPG3] (asinh): Likewise.
83609 [XPG3] (atanh): Likewise.
83610 [XPG3] (cbrt): Likewise.
83611 [XPG3] (expm1): Likewise.
83612 [XPG3] (ilogb): Likewise.
83613 [XPG3] (log1p): Likewise.
83614 [XPG3] (logb): Likewise.
83615 [XPG3] (nextafter): Likewise.
83616 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
83617 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
83618 [XPG3] (remainder): Likewise.
83619 [XPG3] (rint): Likewise.
83620 [XPG3 || XPG4 || UNIX98] (round): Likewise.
83621 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
83622 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
83623 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
83624 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
83625 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
83626 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
83627 [UNIX98 || XOPEN2K] (scalb): Expect.
83628 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
83629 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
83630 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
83631 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
83632 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
83633 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
83634 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
83635 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
83636 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
83637 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
83638 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
83639 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
83640 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
83641 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
83642 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
83643 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
83644 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
83645 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
83646 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
83647 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
83648 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
83649 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
83650 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
83651 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
83652 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
83653 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
83654 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
83655 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
83656 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
83657 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
83658 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
83659 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
83660 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
83661 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
83662 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
83663 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
83664 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
83665 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
83666 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
83667 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
83668 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
83669 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
83670 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
83671 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
83672 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
83673 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
83674 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
83675 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
83676 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
83677 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
83678 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
83679 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
83680 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
83681 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
83682 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
83683 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
83684 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
83685 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
83686 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
83687 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
83688 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
83689 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
83690 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
83691 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
83692 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
83693 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
83694 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
83695 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
83696 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
83697 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
83698 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
83699 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
83700 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
83701 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
83702 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
83703 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
83704 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
83705 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
83706 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
83707 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
83708 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
83709 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
83710 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
83711 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
83712 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
83713 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
83714 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
83715 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
83716 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
83717 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
83718 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
83719 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
83720 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
83721 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
83722 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
83723 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
83724 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
83725 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
83726 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
83727 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
83728 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
83729 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
83730 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
83731 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
83732 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
83733 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
83734 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
83735 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
83736 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
83737 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
83738 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
83739 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
83740 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
83741 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
83742 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
83743 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
83744 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
83745 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
83746 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
83747 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
83748 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
83749 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
83750 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
83751 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
83752 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
83753 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
83754 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
83755 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
83756 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
83757 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
83758 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
83759 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
83760 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
83761 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
83762 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
83763 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
83764 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
83765
83766 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
83767 _XOPEN_SOURCE_EXTENDED for XPG4.
83768
83769 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
83770
83771 * Makeconfig (localtime): Remove variable.
83772 (inst_localtime-file): Likewise.
83773
83774 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
83775
83776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
83777 Update.
83778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
83779 Update.
83780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
83781 Update.
83782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
83783 Update.
83784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
83785 Update.
83786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
83787 Update.
83788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
83789 Update.
83790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
83791 Update.
83792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
83793 Update.
83794
83795 2012-05-01 Joseph Myers <joseph@codesourcery.com>
83796
83797 [BZ #2550]
83798 [BZ #2570]
83799 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
83800 comparisons to determine direction to adjust input.
83801 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
83802 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
83803 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
83804 Likewise.
83805 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
83806 Likewise.
83807 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
83808 Likewise.
83809 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
83810 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
83811 Likewise.
83812 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
83813 Likewise.
83814 * math/libm-test.inc (nexttoward_test): Add more tests.
83815
83816 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
83817
83818 [BZ #14040]
83819 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
83820 in version GLIBC_2.1, not GLIBC_2.0.
83821 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
83822 Likewise.
83823
83824 2012-04-30 Joseph Myers <joseph@codesourcery.com>
83825
83826 [BZ #13942]
83827 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
83828 (1 - x) * (1 + x).
83829 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
83830 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
83831 * math/libm-test.inc (acos_test): Add more tests.
83832 (asin_test): Likewise.
83833 * sysdeps/i386/fpu/libm-test-ulps: Update.
83834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83835
83836 [BZ #14034]
83837 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
83838 of square root.
83839 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
83840 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
83841 * math/libm-test.inc (acos_test_tonearest): New function.
83842 (acos_test_towardzero): Likewise.
83843 (acos_test_downward): Likewise.
83844 (acos_test_upward): Likewise.
83845 (asin_test_tonearest): Likewise.
83846 (asin_test_towardzero): Likewise.
83847 (asin_test_downward): Likewise.
83848 (asin_test_upward): Likewise.
83849 (main): Call the new functions.
83850 * sysdeps/i386/fpu/libm-test-ulps: Update.
83851 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83852
83853 [BZ #13884]
83854 [BZ #13924]
83855 * math/e_exp10.c: Include <float.h>.
83856 (__ieee754_exp10): Handle underflow here rather than multiplying
83857 large negative argument by M_LN10.
83858 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
83859 of __ieee754_expf.
83860 * math/e_exp10l.c: Include <float.h>.
83861 (__ieee754_exp10l): Handle underflow here rather than multiplying
83862 large negative argument by M_LN10l.
83863 * math/libm-test.inc (exp10_test): Add another test. Do not allow
83864 spurious overflow exception on underflow.
83865
83866 2012-04-29 Marek Polacek <polacek@redhat.com>
83867
83868 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
83869 (__fortify_function): New macro.
83870 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
83871 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
83872 __extern_always_inline.
83873 * libio/bits/stdio2.h: Likewise.
83874 * libio/bits/stdio.h: Likewise.
83875 * string/string.h: Likewise.
83876 * string/bits/string3.h: Likewise.
83877 * include/stdio.h: Likewise.
83878 * stdlib/bits/stdlib.h: Likewise.
83879 * stdlib/stdlib.h: Likewise.
83880 * rt/bits/mqueue2.h: Likewise.
83881 * rt/mqueue.h: Likewise.
83882 * posix/bits/unistd.h: Likewise.
83883 * posix/unistd.h: Likewise.
83884 * io/bits/poll2.h: Likewise.
83885 * io/bits/fcntl2.h: Likewise.
83886 * io/fcntl.h: Likewise.
83887 * io/sys/poll.h: Likewise.
83888 * misc/bits/syslog.h: Likewise.
83889 * misc/bits/syslog-ldbl.h: Likewise.
83890 * misc/sys/syslog.h: Likewise.
83891 * socket/bits/socket2.h: Likewise.
83892 * socket/sys/socket.h: Likewise.
83893 * debug/tst-chk1.c: Likewise.
83894 * wcsmbs/bits/wchar2.h: Likewise.
83895 * wcsmbs/bits/wchar-ldbl.h: Likewise.
83896 * wcsmbs/wchar.h: Likewise.
83897
83898 2012-04-29 Andreas Jaeger <aj@suse.de>
83899
83900 * Makerules (tests): Remove enable-check-abi protection.
83901 (check-abi-warn): Remove.
83902 (check-abi-%): Remove check-abi-warn usage.
83903
83904 * configure.in: Remove check-abi configure option.
83905 * configure: Regenerated.
83906 * config.make.in (enable-check-abi): Remove.
83907
83908 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
83909
83910 [BZ #14033]
83911 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
83912 double functions to double *_finite functions.
83913
83914 [BZ #13941]
83915 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
83916 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
83917 LDBL_MIN_EXP.
83918 * stdio-common/Makefile (tests): Add tst-sprintf3.
83919 * stdio-common/tst-sprintf3.c: New file.
83920
83921 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
83922 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
83923
83924 2012-04-28 Joseph Myers <joseph@codesourcery.com>
83925
83926 * conform/conformtest.pl: Remove duplicate typed-constant
83927 handling.
83928
83929 2012-04-28 David S. Miller <davem@davemloft.net>
83930
83931 * Makerules (%.abilist): Add vpath on sysdep_dirs.
83932 (check-abi-%): Remove AWK script prerequisite and explicit
83933 abilist directory.
83934 (check-abi): Rewrite to just diff the symlist with the abilist.
83935 (config-tls, config-abi-config): Delete, no longer used.
83936 (update-abi-%): Remove AWK script and explicit abilist directory.
83937 (update-abi): Rewrite to simply compare and conditionally copy the
83938 symlist and the sysdep abilist file. Remove update-abi-config
83939 checks.
83940 * abilist/ld.abilist: Remove.
83941 * abilist/libBrokenLocale.abilist: Remove.
83942 * abilist/libanl.abilist: Remove.
83943 * abilist/libcrypt.abilist: Remove.
83944 * abilist/libdl.abilist: Remove.
83945 * abilist/librt.abilist: Remove.
83946 * abilist/libthread_db.abilist: Remove.
83947 * abilist/libutil.abilist: Remove.
83948 * scripts/extract-abilist.awk: Remove.
83949 * scripts/merge-abilist.awk: Remove.
83950 * sysdeps/generic/libcidn.abilist: New file.
83951 * sysdeps/generic/libnss_compat.abilist: New file.
83952 * sysdeps/generic/libnss_db.abilist: New file.
83953 * sysdeps/generic/libnss_dns.abilist: New file.
83954 * sysdeps/generic/libnss_files.abilist: New file.
83955 * sysdeps/generic/libnss_hesiod.abilist: New file.
83956 * sysdeps/generic/libnss_nis.abilist: New file.
83957 * sysdeps/generic/libnss_nisplus.abilist: New file.
83958 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
83959 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
83960 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
83961 file.
83962 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
83963 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
83964 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
83965 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
83966 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
83967 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
83968 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
83969 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
83970 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
83971 file.
83972 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
83973 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
83974 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
83975 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
83976 file.
83977 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
83978 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
83979 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
83980 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
83981 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
83982 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
83983 file.
83984 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
83985 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
83986 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
83987 file.
83988 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
83989 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
83990 New file.
83991 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
83992 New file.
83993 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
83994 New file.
83995 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
83996 New file.
83997 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
83998 New file.
83999 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
84000 New file.
84001 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
84002 New file.
84003 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
84004 New file.
84005 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
84006 New file.
84007 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
84008 New file.
84009 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
84010 New file.
84011 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
84012 New file.
84013 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
84014 New file.
84015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
84016 file.
84017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
84018 New file.
84019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
84020 New file.
84021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
84022 file.
84023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
84024 New file.
84025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
84026 New file.
84027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
84028 file.
84029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
84030 New file.
84031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
84032 New file.
84033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
84034 New file.
84035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
84036 New file.
84037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
84038 New file.
84039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
84040 New file.
84041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
84042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
84043 file.
84044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
84045 New file.
84046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
84047 file.
84048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
84049 file.
84050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
84051 file.
84052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
84053 file.
84054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
84055 file.
84056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
84057 New file.
84058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
84059 file.
84060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
84061 file.
84062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
84063 New file.
84064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
84065 file.
84066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
84067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
84068 file.
84069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
84070 New file.
84071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
84072 file.
84073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
84074 file.
84075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
84076 file.
84077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
84078 file.
84079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
84080 file.
84081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
84082 New file.
84083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
84084 file.
84085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
84086 file.
84087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
84088 New file.
84089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
84090 file.
84091 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
84092 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
84093 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
84094 file.
84095 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
84096 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
84097 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
84098 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
84099 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
84100 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
84101 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
84102 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
84103 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
84104 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
84105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
84106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
84107 file.
84108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
84109 New file.
84110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
84111 file.
84112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
84113 file.
84114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
84115 file.
84116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
84117 file.
84118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
84119 file.
84120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
84121 New file.
84122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
84123 New file.
84124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
84125 file.
84126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
84127 New file.
84128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
84129 file.
84130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
84131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
84132 file.
84133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
84134 New file.
84135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
84136 file.
84137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
84138 file.
84139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
84140 file.
84141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
84142 file.
84143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
84144 file.
84145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
84146 New file.
84147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
84148 New file.
84149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
84150 file.
84151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
84152 New file.
84153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
84154 file.
84155
84156 2012-04-28 Joseph Myers <joseph@codesourcery.com>
84157
84158 * conform/conformtest.pl: Fix typo in handling typed-constant from
84159 allow-header.
84160
84161 2012-04-27 Joseph Myers <joseph@codesourcery.com>
84162
84163 * README: Cut down references to pre-2.6 Linux kernels and
84164 Linuxthreads. Update lists of configurations in libc and ports
84165 and sort alphabetically. Say "or newer" with Linux kernel version
84166 requirements.
84167
84168 * config.h.in [IS_IN_build]: Allow compiling without optimization.
84169
84170 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
84171
84172 [BZ #887]
84173 * math/libm-test.inc (logb_test_downward): New test to expose
84174 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
84175 rounding mode.
84176
84177 2012-04-27 Joseph Myers <joseph@codesourcery.com>
84178
84179 [BZ #14027]
84180 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
84181 to be done.
84182 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
84183 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
84184
84185 2012-04-26 Joseph Myers <joseph@codesourcery.com>
84186
84187 * sysdeps/unix/i386/brk.S: Remove file.
84188 * sysdeps/unix/i386/dl-brk.S: Likewise.
84189 * sysdeps/unix/i386/pipe.S: Likewise.
84190 * sysdeps/unix/i386/sigreturn.S: Likewise.
84191 * sysdeps/unix/i386/syscall.S: Likewise.
84192 * sysdeps/unix/i386/vfork.S: Likewise.
84193 * sysdeps/unix/i386/wait.S: Likewise.
84194
84195 * sysdeps/unix/common/tcsendbrk.c: Move to ...
84196 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
84197
84198 * configure.in (arm*-none*): Do not allow without
84199 --enable-hacker-mode.
84200 (netbsd*): Remove case setting base_os.
84201 (386bsd*): Likewise.
84202 (freebsd*): Likewise.
84203 (bsdi*): Likewise.
84204 (osf*): Likewise.
84205 (sunos*): Likewise.
84206 (ultrix*): Likewise.
84207 (newsos*): Likewise.
84208 (dynix*): Likewise.
84209 (*bsd*): Likewise.
84210 (sysv*): Likewise.
84211 (isc*): Likewise.
84212 (esix*): Likewise.
84213 (sco*): Likewise.
84214 (minix*): Likewise.
84215 (irix4*): Likewise.
84216 (irix6*): Likewise.
84217 (solaris[2-9]*): Likewise.
84218 (none): Likewise.
84219 * configure: Regenerated.
84220
84221 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84222
84223 [BZ #11521]
84224 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
84225 overflow or cancellation in calculating denominator.
84226 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
84227 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
84228 down expression to avoid unexpected rounding in newer GCCs.
84229 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
84230
84231 2012-04-26 David S. Miller <davem@davemloft.net>
84232
84233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
84234 long-double compat symbols.
84235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
84236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
84237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
84238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
84239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
84240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
84241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
84242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
84243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
84244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
84245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
84246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
84247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
84248
84249 2012-04-25 David S. Miller <davem@davemloft.net>
84250
84251 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
84252 HWCAP_* values only after the memory barriers have been defined.
84253 (atomic_full_barrier): Define.
84254 (atomic_read_barrier): Define.
84255 (atomic_write_barrier): Define.
84256
84257 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
84258
84259 * shlib-versions: Add libgcc_s version information.
84260 * sysdeps/generic/libgcc_s.h: Remove.
84261 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
84262 libgcc_s.h.
84263 * sysdeps/gnu/unwind-resume.c: Likewise.
84264 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
84265
84266 2012-04-25 David S. Miller <davem@davemloft.net>
84267
84268 * sysdeps/unix/sparc/brk.S: Delete.
84269 * sysdeps/unix/sparc/dl-brk.S: Delete.
84270 * sysdeps/unix/sparc/pipe.S: Delete.
84271 * sysdeps/unix/sparc/sysdep.S: Delete.
84272 * sysdeps/unix/sparc/sysdep.h: Delete.
84273 * sysdeps/unix/sparc/vfork.S: Delete.
84274 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
84275 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
84276 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
84277 (ret_ERRVAL, r0, r1, MOVE): Define.
84278 (JUMPTARGET): Remove.
84279 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
84280 sysdeps/unix/sparc/sysdep.h
84281 (ENTRY, END): Remove.
84282 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84283
84284 2012-04-25 Joseph Myers <joseph@codesourcery.com>
84285
84286 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
84287 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
84288 -DIS_IN_build.
84289
84290 * timezone/README: Update upstream location and email address for
84291 tzcode and tzdata.
84292 * timezone/zdump.c: Update from tzcode 2012b.
84293 * timezone/zic.c: Likewise.
84294
84295 * configure.in (libc_cv_as_needed): Remove test.
84296 * configure: Regenerated.
84297 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
84298 conditional definition.
84299 [$(have-as-needed) != yes] (no-as-needed): Likewise.
84300 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
84301 * config.make.in (have-as-needed): Remove variable.
84302
84303 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
84304 Paul Pluzhnikov <ppluzhnikov@google.com>
84305
84306 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
84307 strings correctly.
84308
84309 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
84310
84311 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
84312 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
84313 * sysdeps/sh/strlen.S: Likewise.
84314
84315 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84316
84317 * sysdeps/unix/fork.S: Remove file.
84318 * sysdeps/unix/i386/fork.S: Likewise.
84319 * sysdeps/unix/sparc/fork.S: Likewise.
84320
84321 * sysdeps/unix/system.c: Remove file.
84322 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
84323
84324 * sysdeps/unix/getegid.S: Remove file.
84325 * sysdeps/unix/geteuid.S: Likewise.
84326
84327 2012-04-24 Roland McGrath <roland@hack.frob.com>
84328
84329 * scripts/check-localplt.awk: New file.
84330 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
84331 of diff.
84332 * scripts/data/localplt-generic.data: Add a comment.
84333
84334 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
84335 NODE when __dir_mkfile failed.
84336 * sysdeps/mach/hurd/symlinkat.c: Likewise.
84337 Reported by Ludovic Courtès <ludo@gnu.org>.
84338
84339 2012-04-24 Andreas Jaeger <aj@suse.de>
84340
84341 * Makerules (common-clean): Also remove gen-as-const-headers
84342 files.
84343
84344 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84345
84346 * Makerules (native-compile): Do not change working directory for
84347 build. Use $(OUTPUT_OPTION) in command.
84348 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
84349
84350 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84351
84352 [BZ #13886]
84353 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
84354 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
84355 * math/libm-test.inc (floor_test): Add more tests.
84356 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
84357
84358 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84359
84360 * sysdeps/unix/getdents.c: Remove file.
84361 * sysdeps/unix/sysv/getdents.c: Likewise.
84362 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
84363
84364 * sysdeps/unix/syscalls.list (madvise): Add syscall from
84365 sysdeps/unix/mman/syscalls.list.
84366 (mmap): Likewise.
84367 (mprotect): Likewise.
84368 (msync): Likewise.
84369 (munmap): Likewise.
84370 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
84371 * sysdeps/unix/mman/syscalls.list: Remove.
84372 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
84373
84374 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
84375 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
84376 * configure: Regenerated.
84377 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
84378 $(libgcc_s_suffix).
84379 * config.make.in (libgcc_s_suffix): Remove variable.
84380
84381 2012-04-23 Joseph Myers <joseph@codesourcery.com>
84382
84383 * sysdeps/unix/sysv/gethostname.c: Move to ...
84384 * sysdeps/posix/gethostname.c: ... here.
84385
84386 * sysdeps/unix/execve.S: Remove file.
84387
84388 * sysdeps/unix/_exit.S: Remove file.
84389
84390 2012-04-23 Andreas Jaeger <aj@suse.de>
84391
84392 [BZ #13739]
84393 * manual/Makefile: Remove make dist support, there's no
84394 need for a stand-alone documentation tar ball.
84395 (TEXI2DVI): Define always, it's not in Makeconfig.
84396 (dist): Removed.
84397 (tar-it): Removed.
84398 (edition): Removed.
84399 (glibc-doc-$(edition).tar): Removed
84400 (%.Z): Removed.
84401 (%.gz): Removed.
84402 (%.uu): Removed.
84403 (ETAGS): Remove, it's in Makeconfig.
84404 (move-if-change): Remove, it's in Makeconfig.
84405
84406 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
84407
84408 [BZ #13970]
84409 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
84410 (strtod, strtof, strtold, strtol, strtoul, strtoq)
84411 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
84412 (strtod_l, strtof_l, strtold_l): Remove __wur.
84413 It is not necessarily an error to ignore strtol's return value.
84414 One can reliably look at the stored endptr to decide whether
84415 the number had valid syntax.
84416
84417 2012-04-21 Andreas Jaeger <aj@suse.de>
84418
84419 [BZ #13739]
84420 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
84421
84422 2012-04-21 Joseph Myers <joseph@codesourcery.com>
84423
84424 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
84425 * sysdeps/unix/sysv/Versions: Remove file.
84426
84427 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
84428
84429 [BZ #13927]
84430 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84431
84432 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
84433
84434 [BZ #7064]
84435 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
84436 version from __vm86.
84437
84438 2012-04-20 Joseph Myers <joseph@codesourcery.com>
84439
84440 * sysdeps/unix/common/lxstat.c: Remove file.
84441 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
84442
84443 * sysdeps/unix/sysv/Makefile: Remove file.
84444
84445 * sysdeps/unix/sysv/direct.h: Remove file.
84446
84447 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
84448 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
84449 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
84450 * sysdeps/unix/sysv/bits/signum.h: Likewise.
84451 * sysdeps/unix/sysv/bits/stat.h: Likewise.
84452 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
84453 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
84454
84455 * sysdeps/unix/sysv/setrlimit.c: Remove file.
84456
84457 * sysdeps/unix/xmknod.c: Remove file.
84458 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
84459
84460 * sysdeps/unix/sysv/settimeofday.c: Remove file.
84461
84462 * sysdeps/unix/sysv/i386/time.S: Remove file.
84463
84464 * sysdeps/unix/fxstat.c: Remove file.
84465 * sysdeps/unix/xstat.c: Likewise.
84466 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
84467
84468 * sysdeps/unix/sysv/sigaction.c: Remove file.
84469
84470 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
84471 (sysdep_headers): Remove variable.
84472 [termio.h not in sysdep_headers] (generated): Likewise.
84473 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
84474 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
84475 * sysdeps/unix/sysv/tcdrain.c: Likewise.
84476 * sysdeps/unix/sysv/tcflow.c: Likewise.
84477 * sysdeps/unix/sysv/tcflush.c: Likewise.
84478 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
84479 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
84480 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
84481 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
84482 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
84483
84484 * sysdeps/unix/siglist.c: Remove file.
84485
84486 * sysdeps/unix/getppid.S: Remove file.
84487
84488 * sysdeps/unix/mkdir.c: Remove file.
84489 * sysdeps/unix/rmdir.c: Likewise.
84490
84491 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
84492
84493 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
84494 ERR_MAX value.
84495 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
84496 errlist-compat value.
84497
84498 2012-04-18 David S. Miller <davem@davemloft.net>
84499
84500 * sysdeps/generic/memcopy.h (reg_char): Delete.
84501 * debug/strcat_chk.c: Use char, not reg_char.
84502 * debug/strcpy_chk.c: Likewise.
84503 * debug/strncat_chk.c: Likewise.
84504 * debug/strncpy_chk.c: Likewise.
84505 * string/memchr.c: Likewise.
84506 * string/memrchr.c: Likewise.
84507 * string/rawmemchr.c: Likewise.
84508 * string/strcat.c: Likewise.
84509 * string/strchr.c: Likewise.
84510 * string/strchrnul.c: Likewise.
84511 * string/strcmp.c: Likewise.
84512 * string/strcpy.c: Likewise.
84513 * string/strncat.c: Likewise.
84514 * string/strncmp.c: Likewise.
84515 * string/strncpy.c: Likewise.
84516
84517 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
84518
84519 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
84520 __builtin_memcopy is called when src and dest ranges are known to not
84521 overlap.
84522
84523 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
84524
84525 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
84526 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
84527 fwd_align_merge macro call.
84528 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
84529 bwd_align_merge macro call.
84530 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84531
84532 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
84533
84534 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
84535 bwd_align_merge macros.
84536 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
84537 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
84538 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84539
84540 2012-04-18 David S. Miller <davem@davemloft.net>
84541
84542 * sysdeps/sparc/sparc64/memcopy.h: Delete.
84543
84544 2012-04-18 Andreas Jaeger <aj@suse.de>
84545
84546 [BZ #6794]
84547 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
84548 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
84549 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84550
84551 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
84552 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
84553 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84554
84555 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
84556 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
84557 Adjust for changed ldbl-128 files.
84558
84559 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
84560 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
84561 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84562
84563 2012-04-17 David S. Miller <davem@davemloft.net>
84564
84565 * sysdeps/sparc/sparc32/memcopy.h: Delete.
84566
84567 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
84568
84569 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
84570 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
84571 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
84572 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
84573 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
84574 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
84575
84576 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84577
84578 [BZ #6794]
84579 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
84580 * math/libm-test.inc: Add ilogb errno and exception tests.
84581 * math/w_ilogb.c: New file: ilogb wrapper.
84582 * math/w_ilogbf.c: New file: ilogbf wrapper.
84583 * math/w_ilogbl.c: New file: ilogbl wrapper.
84584 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
84585 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
84586 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
84587 exception being thrown with 0.0 as argument.
84588 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
84589 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
84590 exception being thrown with 0.0 as argument.
84591 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
84592 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84593 exception being thrown with 0.0 as argument.
84594 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
84595 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84596 exception being thrown with 0.0 as argument.
84597 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
84598 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
84599 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
84600 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
84601 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
84602 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
84603 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
84604 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
84605 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
84606
84607 2012-04-17 Petr Baudis <pasky@ucw.cz>
84608
84609 * include/sys/uio.h: Change __vector to __iovec to avoid clash
84610 with altivec.
84611
84612 2012-04-16 Marek Polacek <polacek@redhat.com>
84613
84614 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
84615
84616 2012-04-16 Marek Polacek <polacek@redhat.com>
84617
84618 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
84619 operands of fdivp instruction.
84620
84621 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
84622
84623 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
84624 * elf/tst-auditmod3b.c: Likewise.
84625 * elf/tst-auditmod4b.c: Likewise.
84626 * elf/tst-auditmod5b.c: Likewise.
84627 * elf/tst-auditmod6b.c: Likewise.
84628 * elf/tst-auditmod6c.c: Likewise.
84629 * elf/tst-auditmod7b.c: Likewise.
84630 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
84631 * sysdeps/x86_64/preconfigure.in: Likewise.
84632 * sysdeps/x86_64/preconfigure: Regenerated.
84633
84634 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
84635
84636 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
84637 __ILP32__.
84638
84639 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
84640
84641 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
84642 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
84643
84644 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
84645
84646 [BZ #13973]
84647 * locale/iso-639.def: Fix gl language name. Spotted by
84648 Yaron Shahrabani.
84649
84650 2012-04-12 Roland McGrath <roland@hack.frob.com>
84651
84652 [BZ #2074]
84653 * libio/libio.h (__io_write_fn): Update comment.
84654
84655 2012-04-12 Petr Baudis <pasky@ucw.cz>
84656
84657 [BZ #2074]
84658 * stdio.texi (Hook Functions): The user provided writer function
84659 is not allowed to return -1.
84660
84661 2012-04-11 David S. Miller <davem@davemloft.net>
84662
84663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
84664
84665 2012-04-11 Mike Frysinger <vapier@gentoo.org>
84666
84667 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
84668 Add a leading slash to rtkaio.
84669
84670 2012-04-11 Jim Meyering <meyering@redhat.com>
84671
84672 [BZ #11959]
84673 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
84674 It is not necessarily an error to ignore fwrite's return
84675 value. One can reliably use ferror to test for errors after
84676 the fact.
84677
84678 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
84679
84680 * bits/types.h (__snseconds_t): New type.
84681 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
84682
84683 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
84684 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
84685 (__SNSECONDS_T_TYPE): Likewise.
84686 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
84687 (__SNSECONDS_T_TYPE): Likewise.
84688 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
84689 (__SNSECONDS_T_TYPE): Likewise.
84690
84691 2012-04-10 Andreas Jaeger <aj@suse.de>
84692
84693 [BZ #2636]
84694 * manual/time.texi (Processor Time): Return type of times is
84695 elapsed real time since an arbitrary point in the past.
84696 (CPU Time): Move CLK_TCK from here...
84697 (Processor Time): ...to here. Correct description.
84698 * manual/conf.texi (Constants for Sysconf): Correct description of
84699 _SC_CLK_TCK.
84700
84701 2012-04-10 David S. Miller <davem@davemloft.net>
84702
84703 [BZ #13967]
84704 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
84705 where the is a gap between DT_REL(A) and DT_JMPREL.
84706
84707 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
84708
84709 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
84710 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
84711 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
84712
84713 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
84714
84715 * elf/dl-support.c (_dl_inhibit_cache): New variable.
84716 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
84717 (dl_main): Handle --inhibit-cache.
84718 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
84719 _dl_inhibit_cache.
84720 * elf/dl-load.c (_dl_map_object): Use it.
84721 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
84722
84723 2012-04-09 Joseph Myers <joseph@codesourcery.com>
84724
84725 [BZ #13872]
84726 * sysdeps/i386/fpu/e_powl.S (p78): New object.
84727 (__ieee754_powl): Saturate large exponents rather than testing for
84728 overflow of y*log2(x).
84729 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
84730 * math/libm-test.inc (pow_test): Do not permit spurious overflow
84731 exceptions.
84732
84733 [BZ #11521]
84734 * math/s_ctan.c: Include <float.h>.
84735 (__ctan): Avoid internal overflow or cancellation in calculating
84736 denominator.
84737 * math/s_ctanf.c: Likewise.
84738 * math/s_ctanl.c: Likewise.
84739 * math/s_ctanh.c: Likewise.
84740 * math/s_ctanhf.c: Likewise.
84741 * math/s_ctanhl.c: Likewise.
84742 * math/libm-test.inc (ctan_test): Add more tests.
84743 (ctanh_test): Likewise.
84744 * sysdeps/i386/fpu/libm-test-ulps: Update.
84745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84746
84747 2012-04-09 Andreas Jaeger <aj@suse.de>
84748
84749 [BZ #6894]
84750 * manual/filesys.texi (Directory Entries): Mention that d_namlen
84751 is an optional BSD extension.
84752
84753 [BZ #10254]
84754 * manual/stdio.texi (Opening Streams): Document additional fopen
84755 parameters.
84756
84757 2012-04-09 Roland McGrath <roland@hack.frob.com>
84758
84759 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
84760 %eax without telling the compiler.
84761
84762 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
84763
84764 [BZ # 13963]
84765 * manual/install.texi: Use sourceware.org.
84766
84767 2012-04-09 Joseph Myers <joseph@codesourcery.com>
84768
84769 [BZ #13873]
84770 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
84771 (__ieee754_pow): Generate overflow and underflow using huge*huge
84772 and tiny*tiny rather than just returning constant infinity or zero
84773 for large exponents.
84774 * math/libm-test.inc (pow_test): Require overflow exceptions for
84775 applicable cases of large exponents.
84776
84777 [BZ #706]
84778 * sysdeps/i386/fpu/e_pow.S (p10): New object.
84779 (__ieee754_pow): Use iterative multiplication algorithm only for
84780 integer exponents with absolute value below 1024. Check for odd
84781 integer exponents when using algorithm for real exponents.
84782 * math/libm-test.inc (pow_test): Add more tests.
84783 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84784
84785 2012-04-08 Joseph Myers <joseph@codesourcery.com>
84786
84787 [BZ #13705]
84788 * math/libm-test.inc (exp_test): Do not allow overflow exception
84789 on underflow test.
84790
84791 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
84792
84793 [BZ #13705]
84794 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
84795 instead of __kernel_standard_f.
84796
84797 2012-04-08 Mike Frysinger <vapier@gentoo.org>
84798
84799 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
84800 * sysdeps/x86_64/memset_chk.S: Likewise.
84801
84802 2012-04-08 Andreas Jaeger <aj@suse.de>
84803
84804 [BZ #10153]
84805 * manual/startup.texi (Environment Access): Describe return value
84806 for putenv and setenv.
84807
84808 [BZ #6895]
84809 * manual/filesys.texi (Directory Entries): Add description for
84810 DT_LNK.
84811
84812 [BZ #6890]
84813 * manual/filesys.texi (Directory Entries): Clarify that it's file
84814 system not operating system in the description of DT_UNKNOWN.
84815
84816 [BZ #6578]
84817 * manual/syslog.texi (closelog): Fix reference, it's openlog.
84818
84819 2012-04-08 Stephen Compall <s11@member.fsf.org>
84820
84821 [BZ #6649]
84822 * manual/llio.texi (Opening and Closing Files): Add cross
84823 reference to explain mode argument.
84824
84825 2012-04-07 Mike Frysinger <vapier@gentoo.org>
84826
84827 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
84828 * sysdeps/x86_64/memset_chk.S: Likewise.
84829
84830 2012-04-07 David S. Miller <davem@davemloft.net>
84831
84832 * elf/elf.h (R_SPARC_WDISP10): Define.
84833 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
84834 R_SPARC_SIZE32.
84835 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
84836 R_SPARC_SIZE64 and R_SPARC_H34.
84837
84838 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
84839
84840 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
84841 conditions and remove no longer applicable assertion.
84842
84843 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
84844
84845 * bits/byteswap.h: Include <features.h>.
84846 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
84847 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
84848
84849 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
84850
84851 * bits/byteswap.h (__bswap_16): Removed.
84852 Include <bits/byteswap-16.h> to get __bswap_16.
84853 * sysdeps/i386/bits/byteswap.h: Likewise.
84854 * sysdeps/s390/bits/byteswap.h: Likewise.
84855 * sysdeps/x86_64/bits/byteswap.h: Likewise.
84856 * bits/byteswap-16.h: New file.
84857 * sysdeps/i386/bits/byteswap-16.h: Likewise.
84858 * sysdeps/s390/bits/byteswap-16.h: Likewise.
84859 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
84860 * string/Makefile (headers): Add bits/byteswap-16.h.
84861
84862 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
84863
84864 [BZ #13895]
84865 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
84866 extra indirection.
84867 * nss/Makefile (tests-static, tests): Add tst-nss-static.
84868 * nss/tst-nss-static.c: New.
84869
84870 2012-04-06 Robert Millan <rmh@gnu.org>
84871
84872 [BZ #6486]
84873 * manual/llio.texi (File Position Primitive): lseek
84874 refers to WHENCE when it really means OFFSET.
84875
84876 2012-04-06 Andreas Jaeger <aj@suse.de>
84877
84878 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
84879 strncmp declarations.
84880
84881 * abilist/libc.abilist: Add __poll and __ppoll.
84882
84883 2012-04-05 David S. Miller <davem@davemloft.net>
84884
84885 * scripts/check-local-headers.sh: Accept a host triplet in the
84886 path matched by the exclude regexp.
84887
84888 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
84889 definition.
84890 * sysdeps/powerpc/powerpc32/dl-machine.h
84891 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
84892 * sysdeps/s390/s390-32/dl-machine.h
84893 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
84894 * sysdeps/sparc/sparc32/dl-machine.h
84895 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
84896 * sysdeps/sparc/sparc64/dl-machine.h
84897 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
84898
84899 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
84900 lazy binding.
84901 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
84902 undefined symbol errors.
84903
84904 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
84905 DT_NEEDED entries.
84906
84907 2012-04-05 Michael Matz <matz@suse.de>
84908
84909 [BZ #13592]
84910 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
84911
84912 2012-04-05 Andreas Jaeger <aj@suse.de>
84913
84914 [BZ #13908]
84915 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
84916 comment.
84917
84918 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
84919
84920 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
84921 which ROUND is no valid rounding mode.
84922
84923 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
84924
84925 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
84926 read again.
84927 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
84928
84929 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
84930
84931 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
84932 an exception using FPU order intentionally.
84933
84934 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
84935
84936 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
84937 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
84938 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
84939 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
84940
84941 2012-04-05 Simon Josefsson <simon@josefsson.org>
84942
84943 [BZ #12340]
84944 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
84945 EINVAL when BUFLEN is too smal.
84946
84947 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
84948
84949 [BZ #13553]
84950 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
84951 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
84952
84953 2012-04-03 Andreas Jaeger <aj@suse.de>
84954
84955 [BZ #13938]
84956 * manual/setjmp.texi (System V contexts): Fix sentence.
84957
84958 [BZ #13926]
84959 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
84960 New macro for this case.
84961 [!__GNUC__] (__bswap_64): New inline function for this case.
84962 * sysdeps/x86_64/bits/byteswap.h: Likewise.
84963 * bits/byteswap.h: Likewise.
84964 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
84965 ull, guard with __GLIBC_HAVE_LONG_LONG.
84966
84967 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
84968 __GLIBC_HAVE_LONG_LONG.
84969
84970 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
84971 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
84972
84973 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
84974
84975 [BZ #13691]
84976 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
84977 inptr and inend, rather than using last_ch.
84978
84979 2012-04-02 David S. Miller <davem@davemloft.net>
84980
84981 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
84982 * stdio-common/printf-parse.h (read_int): Change return type to
84983 'int', return -1 on INT_MAX overflow.
84984 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
84985 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
84986 overflows INT_MAX. Check for overflow of in-format-string precision
84987 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
84988 SIZE_MAX not INT_MAX for integer overflow test.
84989 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
84990 skip the construct in the format string but do not record anything.
84991 * stdio-common/bug22.c: Adjust to test both width/prevision
84992 INT_MAX overflow as well as total length INT_MAX overflow. Check
84993 explicitly for proper errno values.
84994
84995 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
84996
84997 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
84998 CHAR_MAX.
84999 * string/test-strcmp.c [! WIDE]: Likewise.
85000 * time/tst-mktime2.c: Likewise for INT_MAX.
85001 * string/test-string.h: #include <sys/param.h> for MIN.
85002
85003 * csu/init-first.c (__libc_init_first): Call __ctype_init.
85004 * sysdeps/i386/init-first.c (init): Likewise.
85005 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
85006 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
85007 * sysdeps/sh/init-first.c (init): Likewise.
85008
85009 2012-04-01 Ulrich Drepper <drepper@gmail.com>
85010
85011 * po/ru.po: Update from translation team.
85012 * po/vi.po: Likewise.
85013
85014 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
85015
85016 * resolv/nss_dns/dns-host.c: Merge copyright years.
85017
85018 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
85019
85020 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
85021 Optimize memcpy with prefetch if
85022 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
85023 src, dst pointers have unequal 16 byte alignments.
85024
85025 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
85026
85027 [BZ #13928]
85028 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
85029 from a CNAME entry and return the minimum ttl for the query.
85030 (gaih_getanswer_slice): Likewise.
85031
85032 2012-03-30 Jeff Law <law@redhat.com>
85033
85034 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
85035 due to long keys.
85036 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
85037 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
85038
85039 * resolv/nss_dns/dns-host.c: Update copyright year.
85040
85041 2012-03-30 Ulrich Drepper <drepper@gmail.com>
85042
85043 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
85044 requests to save a system call. Fix check that all bytes are sent.
85045
85046 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
85047 comments for sendmmsg.
85048
85049 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
85050
85051 [BZ #13691]
85052 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
85053 with only 1 character between 0x0041 and 0x01b0.
85054 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
85055 * wcsmbs/tst-mbsnrtowcs.c: New file.
85056
85057 2012-03-29 David S. Miller <davem@davemloft.net>
85058
85059 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
85060 small copies by hand.
85061
85062 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
85063
85064 [BZ #13761]
85065 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
85066 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
85067 group memberships.
85068
85069 2012-03-28 David S. Miller <davem@davemloft.net>
85070
85071 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
85072 that branches into memcpy.
85073 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
85074 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
85075 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
85076 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
85077 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
85078 bits.
85079 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
85080 implementation too.
85081 * sysdeps/sparc/mempcpy.S: New file.
85082
85083 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
85084 the IFUNC routine in the libc case.
85085 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
85086
85087 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
85088 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
85089 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
85090 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
85091 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
85092 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
85093 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
85094 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
85095
85096 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
85097 loop to 256 bytes instead of 64 bytes and fix test signedness.
85098
85099 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
85100 * sysdeps/sparc/sparc32/Makefile: rather than here...
85101 * sysdeps/sparc/sparc64/Makefile: and here.
85102
85103 2012-03-28 Ulrich Drepper <drepper@gmail.com>
85104
85105 * malloc/mallocbug.c: Avoid warnings about unused variables.
85106
85107 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
85108
85109 [BZ #13760]
85110 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
85111 in the right place. Discard and retry query if response is
85112 larger than input buffer size.
85113
85114 2012-03-28 Joseph Myers <joseph@codesourcery.com>
85115
85116 [BZ #369]
85117 [BZ #2678]
85118 [BZ #3866]
85119 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
85120 x for large integer exponent.
85121 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
85122 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
85123 sign of result as needed afterwards.
85124 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
85125 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
85126 result for underflowing pow the same as for overflow.
85127 (__kernel_standard_l): Handle powl overflow and underflow here
85128 rather than calling __kernel_standard.
85129 * math/libm-test.inc (pow_test): Add more tests.
85130
85131 [BZ #3868]
85132 [BZ #13879]
85133 [BZ #13910]
85134 [BZ #13911]
85135 [BZ #13912]
85136 [BZ #13913]
85137 [BZ #13915]
85138 [BZ #13916]
85139 [BZ #13917]
85140 [BZ #13918]
85141 [BZ #13919]
85142 [BZ #13920]
85143 [BZ #13921]
85144 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
85145 * sysdeps/ieee754/k_standard.c: Include <float.h>.
85146 (__kernel_standard_l): New function.
85147 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
85148 __kernel_standard.
85149 * math/w_acosl.c (__acosl): Likewise.
85150 * math/w_asinl.c (__asinl): Likewise.
85151 * math/w_atan2l.c (__atan2l): Likewise.
85152 * math/w_atanhl.c (__atanhl): Likewise.
85153 * math/w_coshl.c (__coshl): Likewise.
85154 * math/w_exp10l.c (__exp10l): Likewise.
85155 * math/w_exp2l.c (__exp2l): Likewise.
85156 * math/w_fmodl.c (__fmodl): Likewise.
85157 * math/w_hypotl.c (__hypotl): Likewise.
85158 * math/w_j0l.c (__j0l, __y0l): Likewise.
85159 * math/w_j1l.c (__j1l, __y1l): Likewise.
85160 * math/w_jnl.c (__jnl, __ynl): Likewise.
85161 * math/w_lgammal.c (__lgammal): Likewise.
85162 * math/w_log10l.c (__log10l): Likewise.
85163 * math/w_log2l.c (__log2l): Likewise.
85164 * math/w_logl.c (__logl): Likewise.
85165 * math/w_powl.c (__powl): Likewise.
85166 * math/w_remainderl.c (__remainderl): Likewise.
85167 * math/w_scalbl.c (sysv_scalbl): Likewise.
85168 * math/w_sinhl.c (__sinhl): Likewise.
85169 * math/w_sqrtl.c (__sqrtl): Likewise.
85170 * math/w_tgammal.c (__tgammal): Likewise.
85171 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
85172 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
85173 * math/libm-test.inc (acos_test): Add more tests.
85174 (acosh_test): Likewise.
85175 (asin_test): Likewise.
85176 (atanh_test): Likewise.
85177 (exp_test): Likewise.
85178 (exp10_test): Likewise.
85179 (exp2_test): Likewise.
85180 (expm1_test): Likewise.
85181 (lgamma_test): Likewise.
85182 (log_test): Likewise.
85183 (log10_test): Likewise.
85184 (log1p_test): Likewise.
85185 (log2_test): Likewise.
85186 (pow_test): Do not allow some spurious overflow exceptions.
85187 (sqrt_test): Add more tests.
85188 (tgamma_test): Likewise.
85189 (y0_test): Likewise.
85190 (y1_test): Likewise.
85191 (yn_test): Likewise.
85192
85193 2012-03-27 Anton Blanchard <anton@samba.org>
85194
85195 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
85196 MAP_HUGETLB.
85197 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
85198 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
85199 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
85200
85201 2012-03-27 David S. Miller <davem@davemloft.net>
85202
85203 * conform/Makefile: Run run-conformtest.sh using $(BASH).
85204
85205 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
85206 have-as-vis3 check.
85207
85208 2012-03-27 Andreas Jaeger <aj@suse.de>
85209
85210 * sysdeps/x86_64/elf/configure.in: Moved to ...
85211 * sysdeps/x86_64/configure.in: ... here.
85212 * sysdeps/x86_64/elf/start.S: Moved to ...
85213 * sysdeps/x86_64/start.S: ... here.
85214 * sysdeps/x86_64/elf/configure: Delete.
85215
85216 * sysdeps/x86_64/configure.in: Merge contents from
85217 sysdeps/i386/configure.in (without i686 check).
85218
85219 * sysdeps/i386/elf/Versions: Merge into ...
85220 * sysdeps/i386/Versions: ... this.
85221 * sysdeps/i386/elf/Versions: Delete file.
85222 * sysdeps/i386/elf/start.S: Moved to ...
85223 * sysdeps/i386/start.S: ...here.
85224 * sysdeps/i386/elf/configure.in: Merge into...
85225 * sysdeps/i386/configure.in: ...here.
85226 * sysdeps/i386/elf/configure.in: Delete file.
85227 * sysdeps/i386/elf/configure: Delete file.
85228
85229 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
85230 * debug/backtracesyms.c: ... here.
85231 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
85232 * debug/backtracesymsfd.c: ... here.
85233 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
85234 * sysdeps/generic/ifunc-sel.h: ... here.
85235
85236 * sysdeps/unix/i386/start.c: Delete file.
85237 * sysdeps/unix/sparc/start.c: Delete file.
85238 * sysdeps/unix/start.c: Delete file.
85239
85240 * sysdeps/sh/elf/configure.in: Moved to ...
85241 * sysdeps/sh/configure.in: ... here.
85242 * sysdeps/sh/elf/start.S: Moved to ...
85243 * sysdeps/sh/start.S: ... here.
85244 * sysdeps/sh/elf/configure: Delete file.
85245
85246 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
85247 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
85248 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
85249 * sysdeps/powerpc/powerpc64/entry.h: ... here.
85250 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
85251 * sysdeps/powerpc/powerpc64/start.S: here.
85252 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
85253 * sysdeps/powerpc/powerpc64/Makefile: ... this.
85254 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
85255 * sysdeps/powerpc/powerpc64/configure.in: ... this.
85256 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
85257
85258 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
85259 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
85260 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
85261 * sysdeps/powerpc/powerpc32/start.S: ... here.
85262 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
85263 * sysdeps/powerpc/powerpc32/configure.in: ... this.
85264 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
85265
85266 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
85267 * sysdeps/powerpc/ifunc-sel.h: ... here.
85268 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
85269 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
85270
85271 * sysdeps/sparc/elf/configure.in: Moved to ...
85272 * sysdeps/sparc/configure.in: ... here.
85273 * sysdeps/sparc/elf/configure: Delete file.
85274 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
85275 * sysdeps/sparc/sparc32/start.S: ... here.
85276 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
85277 * sysdeps/sparc/sparc64/start.S: ... here.
85278 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
85279 * sysdeps/sparc/sparc32/Makefile: ... this.
85280 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
85281 * sysdeps/sparc/sparc64/Makefile: ... this.
85282
85283 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
85284 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
85285 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
85286 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
85287 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
85288 * sysdeps/s390/s390-32/setjmp.S: ... here.
85289 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
85290 * sysdeps/s390/s390-32/configure.in: ... here.
85291 * sysdeps/s390/s390-32/elf/configure: Delete file.
85292 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
85293 * sysdeps/s390/s390-32/start.S: ... here.
85294
85295 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
85296 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
85297 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
85298 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
85299 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
85300 * sysdeps/s390/s390-64/setjmp.S: ... here.
85301 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
85302 * sysdeps/s390/s390-64/configure.in: ... here
85303 * sysdeps/s390/s390-64/elf/configure: Delete file.
85304 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
85305 * sysdeps/s390/s390-64/start.S: ... here.
85306 * sysdeps/s390/s390-64/elf/configure: Delete.
85307
85308 * configure.in: Remove support for elf directories in sysdeps.
85309
85310 * configure: Regenerated.
85311 * sysdeps/i386/configure: Regenerated.
85312 * sysdeps/powerpc/powerpc32/configure: Regenerated.
85313 * sysdeps/powerpc/powerpc64/configure: Regenerated.
85314 * sysdeps/s390/s390-32/configure: Regenerated.
85315 * sysdeps/s390/s390-64/configure: Regenerated.
85316 * sysdeps/sh/configure: Regenerated.
85317 * sysdeps/sparc/configure: Regenerated.
85318 * sysdeps/x86_64/configure: Regenerated.
85319
85320 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
85321
85322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85323
85324 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
85325 denormal result into account.
85326
85327 2012-03-25 Roland McGrath <roland@hack.frob.com>
85328
85329 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
85330 Reported by Allan McRae <allan@archlinux.org>.
85331
85332 2012-03-23 Jeff Law <law@redhat.com>
85333
85334 * nss/getnssent.c (__nss_getent): Fix typo.
85335
85336 2012-03-23 David S. Miller <davem@davemloft.net>
85337
85338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85339
85340 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
85341
85342 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
85343 to pad to uint64_t for each field.
85344 (dl_tls_index): Replace unsigned long with uint64_t.
85345
85346 2012-03-23 Daniel Jacobowitz <dmj@google.com>
85347 Paul Pluzhnikov <ppluzhnikov@google.com>
85348
85349 [BZ #6528]
85350 * grp/Makefile (otherlibs): Don't set it.
85351 * inet/Makefile (otherlibs): Likewise.
85352 * login/Makefile (otherlibs): Likewise.
85353 * nscd/Makefile (otherlibs): Likewise.
85354 * posix/Makefile (otherlibs): Likewise.
85355 * pwd/Makefile (otherlibs): Likewise.
85356 * rt/Makefile (otherlibs): Likewise.
85357 * sunrpc/Makefile (otherlibs): Likewise.
85358 * nss/Makefile (otherlibs): Likewise.
85359 Add libnss_files to routines and static-only-routines.
85360 ($(objpfx)getent): Remove rule.
85361 * resolv/Makefile: Add libnss_dns and libresolv to routines and
85362 static-only-routines.
85363
85364 2012-03-22 Joseph Myers <joseph@codesourcery.com>
85365
85366 [BZ #13892]
85367 * math/s_cexp.c: Include <float.h>.
85368 (__cexp): Handle exp result overflowing not necessarily
85369 overflowing both real and imaginary parts of result.
85370 * math/s_cexpf.c: Likewise.
85371 * math/s_cexpl.c: Likewise.
85372 * math/libm-test.inc (cexp_test): Add more tests.
85373 * sysdeps/i386/fpu/libm-test-ulps: Update.
85374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85375
85376 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85377
85378 * include/link.h (ELFW): New macro.
85379 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
85380 Replace ELF64_R_TYPE with ELFW(R_TYPE).
85381
85382 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85383
85384 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
85385 with uint64_t.
85386
85387 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85388
85389 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
85390 declaration.
85391 (struct La_x32_retval): Likewise.
85392
85393 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85394
85395 * sysdeps/x86_64/preconfigure.in: New file.
85396 * sysdeps/x86_64/preconfigure: New generated file.
85397
85398 2012-03-22 Joseph Myers <joseph@codesourcery.com>
85399
85400 [BZ #13824]
85401 * math/e_exp2l.c: Include <float.h>.
85402 (__ieee754_exp2l): Handle overflow and underflow cases
85403 separately. Only pass fractional part of argument to
85404 __ieee754_expl.
85405 * math/libm-test.inc (exp2_test): Add more tests.
85406
85407 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
85408 negating x to take absolute value.
85409 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
85410 Likewise.
85411 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
85412 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
85413 Likewise.
85414 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
85415 computing low part if x was negated.
85416 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
85417
85418 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85419
85420 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
85421 la_x32_gnu_pltexit.
85422 (pltexit): Cast int_retval to ptrdiff_t.
85423 * elf/tst-auditmod3b.c: Likewise.
85424 * elf/tst-auditmod4b.c: Likewise.
85425 * elf/tst-auditmod5b.c: Likewise.
85426 * elf/tst-auditmod6b.c: Likewise.
85427 * elf/tst-auditmod6c.c: Likewise.
85428 * elf/tst-auditmod7b.c: Likewise.
85429
85430 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
85431 and x32_gnu_pltexit.
85432
85433 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
85434 __ELF_NATIVE_CLASS.
85435 (La_x32_regs): New macro.
85436 (La_x32_retval): Likewise.
85437 (la_x32_gnu_pltenter): New function prototype.
85438 (la_x32_gnu_pltexit): Likewise.
85439
85440 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
85441
85442 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
85443 exponent.
85444
85445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85446
85447 * configure.in (libc_cv_cc_nofma): Check for option to disable
85448 generation of FMA instructions.
85449 * configure: Regenerate.
85450 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
85451 * sysdeps/ieee754/dbl-64/Makefile: New file.
85452 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
85453 Remove brandred-fma4.
85454 (CFLAGS-brandred-fma4.c): Remove.
85455 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
85456 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
85457 define.
85458 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
85459 define.
85460
85461 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85462
85463 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
85464 LLONG_MAX != LONG_MAX.
85465 (_itoa_word): Use _ITOA_WORD_TYPE on value.
85466 (_fitoa_word): Likewise.
85467 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
85468 LLONG_MAX != LONG_MAX.
85469 * stdio-common/_itowa.h: Include <_itoa.h>.
85470 (_itowa_word): Use _ITOA_WORD_TYPE on value.
85471 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
85472 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
85473 only if not defined.
85474 (_ITOA_WORD_TYPE): Likewise.
85475 (_itoa_word): Use _ITOA_WORD_TYPE on value.
85476 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
85477
85478 2012-03-21 David S. Miller <davem@davemloft.net>
85479
85480 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85481
85482 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85483
85484 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
85485 of x86_64 when setting libc_cv_slibdir, libdir and
85486 libc_cv_localedir.
85487 * sysdeps/unix/sysv/linux/configure: Regenerated.
85488
85489 2012-03-21 Joseph Myers <joseph@codesourcery.com>
85490
85491 * manual/lang.texi (Old Varargs): Remove section.
85492 (How Variadic): Update menu.
85493 (va_start): Do not mention varargs.h.
85494
85495 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
85496 Joseph Myers <joseph@codesourcery.com>
85497
85498 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
85499 link test.
85500 * configure: Regenerated.
85501
85502 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
85503
85504 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
85505 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
85506 conformtest.pl
85507
85508 2012-03-21 Joseph Myers <joseph@codesourcery.com>
85509
85510 * NOTES: Remove.
85511 * Makefile (files-for-dist): Remove NOTES.
85512 (NOTES): Remove rule.
85513 * README: Don't refer to NOTES.
85514 * manual/creature.texi: Don't include macros.texi.
85515 * manual/intro.texi (creature.texi): Remove comment referring to
85516 NOTES.
85517
85518 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
85519 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
85520 * configure: Regenerated.
85521 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
85522 LIBC_TRY_CC_OPTION.
85523 (libc_cv_as_i686): Likewise.
85524 (libc_cv_cc_avx): Likewise.
85525 (libc_cv_cc_sse2avx): Likewise.
85526 (libc_cv_cc_fma4): Likewise.
85527 (libc_cv_cc_novzeroupper): Likewise.
85528 * sysdeps/i386/configure: Regenerated.
85529
85530 [BZ #13883]
85531 * sysdeps/i386/fpu/s_cexp.S: Remove.
85532 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
85533 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
85534 * math/libm-test.inc (cexp_test): Add more tests.
85535 * sysdeps/i386/fpu/libm-test-ulps: Update.
85536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85537
85538 2012-03-21 Allan McRae <allan@archlinux.org>
85539
85540 * timezone/Makefile: Do not install iso3166.tab and zone.tab
85541
85542 2012-03-21 Joseph Myers <joseph@codesourcery.com>
85543
85544 [BZ #13871]
85545 * math/w_exp2.c: Do not include <float.h>.
85546 (o_threshold, u_threshold): Remove.
85547 (__exp2): Calculate result before checking finiteness and calling
85548 __kernel_standard.
85549 * math/w_exp2f.c: Likewise.
85550 * math/w_exp2l.c: Likewise.
85551 * math/libm-test.inc (exp2_test): Require overflow exception for
85552 1e6 input.
85553
85554 [BZ #3866]
85555 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
85556 range of signed 64-bit integers before using fistpll. Remove
85557 checks for whether integers fit in mantissa bits.
85558 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
85559 the range of signed 32-bit integers before using fistpl. Remove
85560 checks for whether integers fit in mantissa bits.
85561 * sysdeps/i386/fpu/e_powl.S (p64): New object.
85562 (__ieee754_powl): Test for y outside the range of signed 64-bit
85563 integers before using fistpll. Reduce 64-bit values to 63-bit
85564 ones as needed.
85565 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
85566 divide-by-zero is raised for zero to large negative powers.
85567 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
85568 (__ieee754_powl): Test for y outside the range of signed 64-bit
85569 integers before using fistpll. Reduce 64-bit values to 63-bit
85570 ones as needed.
85571 * math/libm-test.inc (pow_test): Add more tests.
85572
85573 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
85574
85575 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
85576 <stdio-common/_itoa.h>.
85577 * debug/segfault.c: Likewise.
85578 * elf/dl-cache.c: Likewise.
85579 * elf/dl-minimal.c: Likewise.
85580 * elf/dl-misc.c: Likewise.
85581 * elf/dl-sysdep.c: Likewise.
85582 * elf/dl-version.c: Likewise.
85583 * elf/rtld.c: Likewise.
85584 * hurd/hurdsock.c: Likewise.
85585 * hurd/lookup-retry.c: Likewise.
85586 * malloc/malloc.c: Likewise.
85587 * malloc/mtrace.c: Likewise.
85588 * nscd/nscd_getgr_r.c: Likewise.
85589 * nscd/nscd_getpw_r.c: Likewise.
85590 * nscd/nscd_getserv_r.c: Likewise.
85591 * posix/getopt_init.c: Likewise.
85592 * posix/wordexp.c: Likewise.
85593 * stdio-common/_itoa.c: Likewise.
85594 * stdio-common/printf_fphex.c: Likewise.
85595 * stdio-common/vfprintf.c: Likewise.
85596 * string/_strerror.c: Likewise.
85597 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
85598 * sysdeps/i386/i686/hp-timing.h: Likewise.
85599 * sysdeps/mach/_strerror.c: Likewise.
85600 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
85601 * sysdeps/mach/hurd/sethostid.c: Likewise.
85602 * sysdeps/mach/hurd/xmknodat.c: Likewise.
85603 * sysdeps/mach/xpg-strerror.c: Likewise.
85604 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
85605 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
85606 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
85607 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
85608 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
85609 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
85610 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
85611 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
85612 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
85613 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
85614 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
85615 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
85616 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
85617 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
85618 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
85619 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
85620 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
85621 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
85622 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
85623 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
85624 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
85625
85626 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
85627
85628 * stdio-common/_itoa.h: Moved to ...
85629 * sysdeps/generic/_itoa.h: Here.
85630
85631 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
85632
85633 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
85634 instead of "_itoa.h" and "_itowa.h".
85635 * stdio-common/vfprintf.: Likewise.
85636
85637 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
85638
85639 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
85640 <bits/wordsize.h>.
85641 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
85642 (__signbit): Likewise.
85643 (llrintf): Likewise.
85644 (llrint): Likewise.
85645
85646 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
85647
85648 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
85649 __WORDSIZE != 64.
85650
85651 2012-03-20 Joseph Myers <joseph@codesourcery.com>
85652
85653 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
85654 OVERFLOW_EXCEPTION_OK.
85655 * math/libm-test.inc ("Philosophy"): Update comment about
85656 exception testing.
85657 (OVERFLOW_EXCEPTION): Define.
85658 (OVERFLOW_EXCEPTION_OK): Likewise.
85659 (INVALID_EXCEPTION_OK): Renumber.
85660 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
85661 (IGNORE_ZERO_INF_SIGN): Likewise.
85662 (test_exceptions): Handle FE_OVERFLOW.
85663 (exp10_test): Expect overflow exceptions.
85664 (exp2_test): Likewise.
85665 (expm1_test): Likewise.
85666 (nextafter_test): Likewise.
85667 (pow_test): Likewise.
85668 (scalbn_test): Likewise.
85669 (scalbln_test): Likewise.
85670
85671 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85672
85673 * sysdeps/x86_64/bits/atomic.h
85674 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
85675 64bit integer.
85676 (atomic_exchange_acq): Likewise.
85677 (__arch_exchange_and_add_body): Likewise.
85678 (__arch_add_body): Likewise.
85679 (atomic_add_negative): Likewise.
85680 (atomic_add_zero): Likewise.
85681
85682 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85683
85684 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
85685 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
85686
85687 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85688
85689 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
85690 Check __x86_64__ instead of __WORDSIZE.
85691
85692 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85693
85694 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
85695
85696 2012-03-19 David S. Miller <davem@davemloft.net>
85697
85698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85699
85700 * sysdeps/sparc/fpu/fenv_private.h: New file.
85701 * sysdeps/sparc/fpu/math_private.h: Use it.
85702 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
85703 Remove.
85704 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
85705 (libc_feholdexcept_setroundl): Remove.
85706 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
85707 Remove.
85708 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
85709 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
85710
85711 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85712
85713 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
85714 int64_t instead of long int.
85715 (INSERT_WORDS64): Likewise.
85716
85717 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85718
85719 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
85720 _Unwind_GetCFA return to _Unwind_Ptr first.
85721
85722 2012-03-19 Joseph Myers <joseph@codesourcery.com>
85723
85724 [BZ #13629]
85725 * math/s_clog.c: Include <float.h>.
85726 (__clog): Scale large or subnormal inputs.
85727 * math/s_clogf.c: Likewise.
85728 * math/s_clogl.c: Likewise.
85729 * math/s_clog10.c: Include <float.h>.
85730 (M_LOG10_2): Define.
85731 (__clog10): Scale large or subnormal inputs.
85732 * math/s_clog10f.c: Likewise.
85733 * math/s_clog10l.c: Likewise.
85734 * math/libm-test.inc (clog_test): Add more tests.
85735 (clog10_test): Likewise.
85736 * sysdeps/i386/fpu/libm-test-ulps: Update.
85737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85738
85739 [BZ #11451]
85740 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
85741 x and y.
85742 * math/libm-test.inc (atan2_test): Add another test.
85743
85744 * Makerules (common-objdir-compile): Remove.
85745 * sysdeps/unix/Makefile (config-generated): Do not add
85746 $(unix-generated) to variable.
85747 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
85748 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
85749 Remove rule.
85750 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
85751 Likewise.
85752 [generic bits/local_lim.h] (before-compile): Do not append to
85753 variable.
85754 [generic bits/local_lim.h] (common-generated): Likewise.
85755 [generic sys/param.h] (before-compile): Do not append to variable.
85756 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
85757 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
85758 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
85759 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
85760 include.
85761 [generic sys/param.h] (sys/param.h-includes): Remove variable.
85762 [generic sys/param.h] (sys/param.h-includes): Remove rule.
85763 [generic sys/param.h] ($(addprefix
85764 $(common-objpfx),$(sys/param.h-includes))): Likewise.
85765 [generic sys/param.h] (common-generated): Do not append to
85766 variable.
85767 [generic sys/param.h] (sysdep_headers): Likewise.
85768 [generic bits/errno.h] (before-compile): Do not append to
85769 variable.
85770 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
85771 rule.
85772 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
85773 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
85774 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
85775 [generic bits/errno.h] (common-generated): Do not append to
85776 variable.
85777 [generic bits/ioctls.h] (before-compile): Do not append to
85778 variable.
85779 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
85780 rule.
85781 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
85782 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
85783 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
85784 rule.
85785 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
85786 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
85787 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
85788 [generic bits/ioctls.h] (common-generated): Do not append to
85789 variable.
85790 [generic sys/syscall.h] (syscall.h): Remove variable.
85791 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
85792 rule.
85793 [generic sys/syscall.h] (before-compile): Do not append to
85794 variable.
85795 [generic sys/syscall.h] (common-generated): Likewise.
85796 * sysdeps/unix/errnos-tmpl.c: Remove file.
85797 * sysdeps/unix/errnos.awk: Likewise.
85798 * sysdeps/unix/ioctls-tmpl.c: Likewise.
85799 * sysdeps/unix/ioctls.awk: Likewise.
85800 * sysdeps/unix/mk-local_lim.c: Likewise.
85801 * sysdeps/unix/snarf-ioctls: Likewise.
85802
85803 2012-03-19 Richard Henderson <rth@twiddle.net>
85804
85805 * sysdeps/i386/fpu/fenv_private.h: New file.
85806 * sysdeps/i386/fpu/math_private.h: Use it.
85807 (math_opt_barrier, math_force_eval): Remove.
85808 (libc_feholdexcept_setround_53bit): Remove.
85809 (libc_feupdateenv_53bit): Remove.
85810 * sysdeps/x86_64/fpu/math_private.h: Likewise.
85811 (math_opt_barrier, math_force_eval): Remove.
85812 (libc_feholdexcept): Remove.
85813 (libc_feholdexcept_setround): Remove.
85814 (libc_fetestexcept, libc_fesetenv): Remove.
85815 (libc_feupdateenv_test): Remove.
85816 (libc_feupdateenv, libc_feholdsetround): Remove.
85817 (libc_feresetround): Remove.
85818
85819 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
85820 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
85821
85822 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
85823 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
85824 (libc_feupdateenv_testl): New.
85825 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
85826 (libc_feupdateenv_testf): New.
85827 (libc_feupdateenv): Use libc_feupdateenv_test.
85828 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
85829 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
85830
85831 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
85832 (libc_feholdsetroundf, libc_feholdsetroundl): New.
85833 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
85834 (libc_feresetround_noex): New.
85835 (libc_feresetround_noexf): New.
85836 (libc_feresetround_noexl): New.
85837 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
85838 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
85839 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
85840 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
85841 SET_RESTORE_ROUND.
85842 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
85843 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
85844 (__cos): Likewise.
85845 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
85846 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
85847 SET_RESTORE_ROUND_NOEX.
85848 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
85849 SET_RESTORE_ROUND_NOEXF.
85850 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
85851 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
85852 (libc_feholdsetroundf): New.
85853 (libc_feresetround, libc_feresetroundf): New.
85854
85855 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
85856 (libc_feholdexcept_setround_53bit): Convert from macro to function.
85857 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
85858
85859 * sysdeps/generic/math_private.h: Include <fenv.h>.
85860 (default_libc_feholdexcept): New.
85861 (default_libc_feholdexcept_setround): New.
85862 (default_libc_fesetenv, default_libc_feupdateenv): New.
85863 (libc_feholdexcept): Only define if undefined.
85864 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
85865 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
85866 (libc_feholdexcept_setroundl): Likewise.
85867 (libc_feholdexcept_setround_53bit): Likewise.
85868 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
85869 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
85870 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
85871 (libc_feupdateenv_53bit): Likewise.
85872 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
85873 (libc_feholdexcept): Convert from macro to inline function.
85874 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
85875 (libc_fesetenv, libc_feupdateenv): Likewise.
85876
85877 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
85878 not previously defined.
85879 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
85880 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
85881 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
85882 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
85883 * sysdeps/ieee754/flt-32/math_private.h: New file.
85884 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
85885 math_private.h below SET_FLOAT_WORD.
85886 (__isnan, __isinf_ns, __finite): Remove.
85887 (__isnanf, __isinf_nsf, __finitef): Remove.
85888
85889 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
85890
85891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85892
85893 2012-03-17 David S. Miller <davem@davemloft.net>
85894
85895 [BZ #6471]
85896 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
85897 for 2.16.
85898
85899 2012-03-16 David S. Miller <davem@davemloft.net>
85900
85901 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
85902 warnings.
85903
85904 [BZ #6471]
85905 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
85906 properly.
85907 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
85908 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
85909 sysdep_routines when subdir is sysvipc.
85910 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
85911 __getshmlba helper.
85912
85913 * sysdeps/sparc/fpu/libm-test/ulps: Update.
85914
85915 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
85916
85917 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
85918 [__LP64__].
85919
85920 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
85921
85922 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
85923 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
85924 (__lround): Renamed to ...
85925 (__llround): This. Replace long int with long long int.
85926 Define lround functions as aliases of llround functions.
85927 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
85928
85929 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
85930
85931 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
85932 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
85933 adresses to uintptr_t. Replace "long int" and "unsigned long
85934 int" with "greg_t" on va_arg.
85935
85936 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
85937
85938 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
85939 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
85940
85941 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
85942 Move e_machine check before EI_CLASS check. Handle x32
85943 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
85944 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
85945 SKIP_EM_IA_64 and include
85946 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
85947
85948 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
85949 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
85950 (add_system_dir): New macro.
85951
85952 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
85953 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
85954
85955 2012-03-16 Joseph Myers <joseph@codesourcery.com>
85956
85957 [BZ #2551]
85958 [BZ #2552]
85959 [BZ #2553]
85960 [BZ #2554]
85961 [BZ #2562]
85962 [BZ #2563]
85963 [BZ #2565]
85964 [BZ #2566]
85965 [BZ #2576]
85966 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
85967 (y0): Likewise.
85968 * math/w_j0f.c (j0f): Likewise.
85969 (y0f): Likewise.
85970 * math/w_j0l.c (__j0l): Likewise.
85971 (__y0l): Likewise.
85972 * math/w_j1.c (j1): Likewise.
85973 (y1): Likewise.
85974 * math/w_j1f.c (j1f): Likewise.
85975 (y1f): Likewise.
85976 * math/w_j1l.c (__j1l): Likewise.
85977 (__y1l): Likewise.
85978 * math/w_jn.c (jn): Likewise.
85979 (yn): Likewise.
85980 * math/w_jnf.c (jnf): Likewise.
85981 (ynf): Likewise.
85982 * math/w_jnl.c (__jnl): Likewise.
85983 (__ynl): Likewise.
85984 * math/libm-test.inc (j0_test): Add more tests.
85985 (j1_test): Likewise.
85986 (jn_test): Likewise. Add trailing semicolon to existing test.
85987 (y0_test): Likewise.
85988 (y1_test): Likewise.
85989 * sysdeps/i386/fpu/libm-test-ulps: Update.
85990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85991
85992 [BZ #13851]
85993 [BZ #13854]
85994 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
85995 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
85996 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
85997 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
85998 (__tanl): Set errno for infinite argument.
85999 * sysdeps/i386/fpu/mptan.c: Remove.
86000 * sysdeps/i386/fpu/s_tan.S: Likewise.
86001 * sysdeps/i386/fpu/s_tanl.S: Likewise.
86002 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
86003 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
86004 * math/libm-test.inc (tan_test): Add more tests and enable more
86005 tests for double and long double.
86006 * sysdeps/i386/fpu/libm-test-ulps: Update.
86007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86008
86009 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
86010
86011 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
86012 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
86013
86014 2012-03-16 Roland McGrath <roland@hack.frob.com>
86015
86016 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
86017 * configure.in: Use it for both main tree and add-ons.
86018 * configure: Regenerated.
86019
86020 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86021
86022 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
86023
86024 2012-03-16 Joseph Myers <joseph@codesourcery.com>
86025
86026 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
86027 in comment.
86028
86029 [BZ #13851]
86030 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
86031 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
86032 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
86033 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
86034 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
86035 infinite argument.
86036 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
86037 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
86038 != 0 for prec == 2.
86039 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
86040 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
86041 * sysdeps/i386/fpu/s_cosl.S: Likewise.
86042 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
86043 * sysdeps/i386/fpu/s_sinl.S: Likewise.
86044 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
86045 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
86046 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
86047 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
86048 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
86049 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
86050 * math/libm-test.inc (cos_test): Add more tests and enable more
86051 tests for long double.
86052 (sin_test): Likewise.
86053 (sincos_test): Likewise.
86054 * sysdeps/i386/fpu/libm-test-ulps: Update.
86055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86056
86057 2012-03-16 David S. Miller <davem@davemloft.net>
86058
86059 * sysdeps/sparc/fpu/math_private.h: New file.
86060
86061 2012-03-15 David S. Miller <davem@davemloft.net>
86062
86063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
86064 file.
86065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
86066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
86067 file.
86068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
86069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
86070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
86071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
86072 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
86073 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
86074 sysdep routines.
86075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86076
86077 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
86078 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
86079
86080 * sysdeps/sparc/sparc-ifunc.h: New file.
86081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
86082 sparc-ifunc.h
86083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
86084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
86085 Likewise.
86086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
86087 Likewise.
86088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
86089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
86090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
86091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
86092 Likewise.
86093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
86094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
86095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
86096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
86097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
86098 Likewise.
86099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
86100 Likewise.
86101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
86102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
86103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
86104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
86105 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
86106 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
86107 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
86108 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
86109 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
86110 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
86111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
86112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
86113 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
86114 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
86115 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
86116 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
86117 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
86118 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
86119 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
86120 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
86121 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
86122 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
86123 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
86124 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
86125
86126 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
86127
86128 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
86129 scaling.
86130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86131
86132 2012-03-15 Andreas Jaeger <aj@suse.de>
86133
86134 [BZ #13852]
86135 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
86136 ieee754/flt-32 implementation for sin, cos and sincos.
86137 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
86138 * sysdeps/i386/fpu/s_cosf.S: Likewise.
86139 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
86140 * sysdeps/i386/fpu/s_sinf.S: Likewise.
86141 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
86142 ieee754/flt-32 implementation for tan.
86143
86144 * math/libm-test.inc (cos_test): Enable some large input tests for
86145 float as well
86146 (sin_test): Likewise.
86147 (sincos_test): Likewise.
86148 (tan_test): Add tests for large input.
86149
86150 * sysdeps/i386/fpu/libm-test-ulps: Update.
86151
86152 2012-03-15 Andreas Jaeger <aj@suse.de>
86153
86154 [BZ #13658]
86155 * math/libm-test.inc (cos_test): Add more test cases.
86156 (sin_test): Likewise.
86157 (sincos_test): Likewise.
86158
86159 2012-03-15 Andreas Jaeger <aj@suse.de>
86160
86161 [BZ #13837]
86162 * math/libm-test.inc (cos_test): Add a test case for large input
86163 value.
86164 (sin_test): Likewise.
86165 (sincos_test): Likewise.
86166
86167 2012-03-15 Andreas Jaeger <aj@suse.de>
86168 Joseph Myers <joseph@codesourcery.com>
86169
86170 [BZ #13658]
86171 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
86172 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
86173 * sysdeps/i386/fpu/branred.c: Likewise.
86174 * sysdeps/i386/fpu/dosincos.c: Likewise.
86175 * sysdeps/i386/fpu/mpa.c: Likewise.
86176 * sysdeps/i386/fpu/s_cos.S: Likewise.
86177 * sysdeps/i386/fpu/s_sin.S: Likewise.
86178 * sysdeps/i386/fpu/s_sincos.S: Likewise.
86179 * sysdeps/i386/fpu/sincos32.c: Likewise.
86180
86181 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
86182 Define.
86183 (libc_feupdateenv_53bit): Define.
86184 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
86185 Define.
86186 (libc_feupdateenv_53bit): Define.
86187
86188 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
86189 53 bit (without extend i386 double precision).
86190
86191 * math/libm-test.inc (sincos_test): Add tests for large input.
86192 (sin): Likewise.
86193 (cos): Likewise.
86194
86195 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
86196
86197 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
86198
86199 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86200
86201 2012-03-15 David S. Miller <davem@davemloft.net>
86202
86203 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
86204 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
86205 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
86206 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
86207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
86208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
86209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
86210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
86211 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
86212 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
86213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
86214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
86215 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
86216 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
86217 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
86218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
86219 file.
86220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
86221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
86222 file.
86223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
86224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
86225 file.
86226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
86227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
86228 file.
86229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
86230 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
86231 fmin/fmax sysdep routines.
86232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86233
86234 2012-03-14 David S. Miller <davem@davemloft.net>
86235
86236 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
86237 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
86238 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
86239 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
86240 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
86241 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
86242 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
86243 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
86244 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
86245 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
86246 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
86247 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
86248 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
86249 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
86250 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
86251 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
86252 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
86253 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
86254 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
86255 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
86256 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
86257 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
86258 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
86259 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
86260 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
86261 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
86262 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
86263 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
86264 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
86265 routines.
86266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
86267 file.
86268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
86269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
86270 file.
86271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
86272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
86273 file.
86274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
86275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
86276 file.
86277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
86278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
86279 file.
86280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
86281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
86282 file.
86283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
86284 file.
86285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
86286 file.
86287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
86288 file.
86289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
86290 New file.
86291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
86292 file.
86293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
86294 file.
86295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
86296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
86297 file.
86298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
86299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
86300 file.
86301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
86302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
86303 file.
86304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
86305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
86306 VIS3 routines.
86307
86308 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
86309 New file.
86310
86311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
86312
86313 * sysdeps/sparc/configure.in: New file.
86314 * sysdeps/sparc/configure: Generate.
86315 * configure.in (libc_cv_sparc_as_vis3): Substitute.
86316 * configure: Regenerate.
86317 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
86318 * config.make.in (have-as-vis3): New.
86319 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
86320 available use -Av9d instead of -Av9a.
86321 * sysdeps/sparc/sparc64/Makefile: Likewise.
86322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
86323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
86324 New file.
86325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
86326 file.
86327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
86328 New file.
86329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
86330 file.
86331 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
86332 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
86333 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
86334 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
86335 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
86336
86337 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
86338 fzeros/fnegs to load 0x80000000 into a float register instead of
86339 using the stack.
86340 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
86341
86342 2012-03-14 Joseph Myers <joseph@codesourcery.com>
86343
86344 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86345 bits/syscall.h.
86346 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
86347 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
86348 ($(inst_includedir)/bits/syscall.h): Remove rule.
86349 ($(objpfx)bits/syscall.d): Include instead of
86350 $(objpfx)syscall-list.d.
86351 (generated): Change syscall-list.h and syscall-list.d to
86352 bits/syscall.h and bits/syscall.d.
86353
86354 2012-03-14 Roland McGrath <roland@hack.frob.com>
86355
86356 [BZ #13846]
86357 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
86358
86359 2012-03-14 Joseph Myers <joseph@codesourcery.com>
86360
86361 [BZ #13841]
86362 * math/s_csqrt.c: Include <float.h>.
86363 (__csqrt): Scale large or subnormal inputs.
86364 * math/s_csqrtf.c: Likewise.
86365 * math/s_csqrtl.c: Likewise.
86366 * math/libm-test.inc (csqrt_test): Add more tests.
86367 * sysdeps/i386/fpu/libm-test-ulps: Update.
86368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86369
86370 [BZ #13840]
86371 * math/libm-test.inc (hypot_test): Add more tests.
86372
86373 2012-03-13 David S. Miller <davem@davemloft.net>
86374
86375 [BZ #13840]
86376 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
86377 double-precision for the calculation instead of scaling.
86378
86379 2012-03-13 Joseph Myers <joseph@codesourcery.com>
86380
86381 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
86382 manipulate bits before adding and subtracting TWO52[sx].
86383 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
86384 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
86385 Likewise.
86386 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
86387
86388 2012-03-13 David S. Miller <davem@davemloft.net>
86389
86390 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
86391 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
86392 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
86393 rtld-global-offsets.h
86394 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86395
86396 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
86397 large parameters.
86398
86399 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
86400
86401 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
86402 'err' in the ifdef scope in which it is actually used.
86403
86404 * nss/nss_db/db-init.c: Include string.h
86405
86406 2012-03-12 David S. Miller <davem@davemloft.net>
86407
86408 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86409 masking out of the most significant byte of random value used.
86410 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86411 Fix coding style in previous change.
86412
86413 * sysdeps/unix/sysv/linux/kernel-features.h
86414 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
86415 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
86416 expression.
86417 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
86418 later.
86419
86420 2012-03-11 David S. Miller <davem@davemloft.net>
86421
86422 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
86423 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
86424 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
86425 for 'resultvar' otherwise things get truncated on 64-bit.
86426
86427 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86428 Fix masking out of the most significant byte of random value used.
86429
86430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
86431
86432 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
86433
86434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86435
86436 2012-03-09 David S. Miller <davem@davemloft.net>
86437
86438 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
86439 variables with appropriate CPP guards.
86440 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
86441 from the frame pointer, not the stack pointer. Correct layout
86442 comments. Fix test on resulting framesize and the management of
86443 the outregs buffer for pltexit. Preserve floating point return
86444 values across _dl_call_pltexit call.
86445 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
86446 framesize and the management of the outregs buffer for pltexit.
86447 Preserve floating point return values across _dl_call_pltexit
86448 call.
86449 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
86450 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
86451 (la_sparc64_gnu_pltexit): New functions.
86452 (print_exit): Fix format string for return register value.
86453
86454 2012-03-10 Joseph Myers <joseph@codesourcery.com>
86455
86456 * sunrpc/Makefile (others): Add rpcgen.
86457 ($(objpfx)rpcgen): Remove special build rule and dependency on
86458 libc.
86459 * sunrpc/rpcgen.c: New file.
86460
86461 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
86462
86463 [BZ #13673]
86464 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
86465 * stdio-common/bug-vfprintf-nargs.c: Likewise.
86466 * sysdeps/i386/crti.S: Likewise.
86467 * sysdeps/i386/crtn.S: Likewise.
86468 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
86469 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
86470 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
86471 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
86472 * sysdeps/sh/crti.S: Likewise.
86473 * sysdeps/sh/crtn.S: Likewise.
86474 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
86475
86476 [BZ #13673]
86477 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
86478 with URL.
86479 * locale/programs/locfile-kw.gperf: Likewise.
86480 * locale/programs/charmap-kw.h: Regenerated.
86481 * locale/programs/locfile-kw.h: Likewise.
86482
86483 [BZ #13673]
86484 * intl/plural.y: Replace FSF snail mail address with URL.
86485 * intl/plural.c: Regenerated.
86486
86487 2012-03-09 Richard Henderson <rth@twiddle.net>
86488
86489 * include/math_private.h: Remove file.
86490 * math/math_private.h: Move file ...
86491 * sysdeps/generic/math_private.h: ... here.
86492
86493 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
86494 * sysdeps/powerpc/fpu/math_private.h: Likewise.
86495 * sysdeps/x86_64/fpu/math_private.h: Likewise.
86496
86497 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
86498 and <math_private.h>.
86499 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
86500 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
86501 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
86502 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
86503 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
86504 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
86505 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
86506 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86507 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
86508 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
86509 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86510 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
86511 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
86512 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86513 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
86514 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
86515 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
86516 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
86517 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
86518 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
86519 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86520 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
86521 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
86522 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86523 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
86524 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
86525 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
86526 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
86527 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86528 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
86529 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
86530 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86531 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
86532 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
86533 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
86534 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
86535 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
86536 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
86537 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
86538 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86539 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
86540 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
86541 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
86542 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
86543 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
86544 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
86545 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
86546 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
86547 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
86548 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
86549 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
86550 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
86551 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
86552 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
86553 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
86554 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
86555 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86556 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
86557 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
86558 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
86559 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
86560 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
86561 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86562 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
86563 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
86564 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
86565 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
86566 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
86567 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
86568 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
86569 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
86570 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
86571 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
86572 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
86573 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
86574 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
86575 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
86576 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
86577 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
86578 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
86579 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
86580 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
86581 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
86582 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
86583 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
86584 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
86585 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
86586 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
86587 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
86588 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
86589 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
86590 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
86591 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86592 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
86593 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
86594 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
86595 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
86596 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
86597 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86598 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
86599 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
86600 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
86601 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
86602 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
86603 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
86604 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
86605 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
86606 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
86607 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
86608 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
86609 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
86610 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
86611 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
86612 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
86613 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
86614 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
86615 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
86616 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
86617 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
86618 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
86619 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
86620 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
86621 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
86622 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
86623 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
86624 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
86625 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
86626 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
86627 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
86628 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
86629 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
86630 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
86631 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
86632 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
86633 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
86634 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
86635 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
86636 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
86637 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
86638 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
86639 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
86640 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
86641 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
86642 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
86643 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
86644 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
86645 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
86646 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
86647 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
86648 * sysdeps/ieee754/k_standard.c: Likewise.
86649 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
86650 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
86651 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
86652 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
86653 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
86654 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
86655 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
86656 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
86657 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
86658 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
86659 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
86660 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
86661 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
86662 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
86663 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
86664 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
86665 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
86666 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
86667 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
86668 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
86669 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
86670 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
86671 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
86672 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
86673 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
86674 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
86675 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
86676 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
86677 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
86678 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
86679 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
86680 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
86681 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
86682 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
86683 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
86684 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
86685 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
86686 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
86687 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
86688 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
86689 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
86690 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
86691 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
86692 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
86693 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
86694 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
86695 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
86696 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
86697 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
86698 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
86699 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
86700 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
86701 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
86702 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
86703 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
86704 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
86705 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
86706 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
86707 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
86708 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
86709 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
86710 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
86711 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
86712 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
86713 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
86714 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
86715 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
86716 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
86717 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
86718 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
86719 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
86720 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
86721 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
86722 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
86723 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
86724 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
86725 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
86726 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
86727 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
86728 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
86729 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
86730 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
86731 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
86732 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
86733 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
86734 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
86735 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
86736 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
86737 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
86738 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
86739 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
86740 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
86741 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
86742 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
86743 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
86744 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
86745 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
86746 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
86747 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
86748 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
86749 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
86750 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
86751 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
86752 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
86753 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
86754 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
86755 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
86756 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
86757 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
86758 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
86759 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
86760 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
86761 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
86762 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
86763 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
86764 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
86765 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
86766 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
86767 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
86768 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
86769 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
86770 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
86771 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
86772 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
86773 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
86774 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
86775 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
86776 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
86777 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
86778 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
86779 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
86780 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
86781 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
86782 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
86783 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
86784 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
86785 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
86786 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
86787 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
86788 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
86789 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
86790 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
86791 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
86792 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
86793 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
86794 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
86795 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
86796 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
86797 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
86798 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
86799 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
86800 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
86801 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
86802 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
86803 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
86804 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
86805 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
86806 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
86807 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
86808 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
86809 * sysdeps/ieee754/s_lib_version.c: Likewise.
86810 * sysdeps/ieee754/s_matherr.c: Likewise.
86811 * sysdeps/ieee754/s_signgam.c: Likewise.
86812 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
86813 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
86814 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
86815 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
86816 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
86817 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
86818 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
86819 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
86820 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
86821 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
86822 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
86823 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
86824 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
86825 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
86826 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
86827 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
86828 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
86829 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
86830 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
86831 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
86832 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
86833
86834 2012-03-09 Joseph Myers <joseph@codesourcery.com>
86835
86836 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
86837 * sunrpc/rpc_main.c: Likewise.
86838 * sunrpc/rpc_svcout.c: Likewise.
86839
86840 2012-03-09 David S. Miller <davem@davemloft.net>
86841
86842 * include/math_private.h: New file.
86843
86844 2012-03-09 Joseph Myers <joseph@codesourcery.com>
86845
86846 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
86847 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
86848 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
86849 from <bits/socket_type.h>.
86850 (enum __socket_type): Don't define here.
86851 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
86852 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86853 bits/socket_type.h.
86854
86855 [BZ #13566]
86856 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
86857 checking __USE_GNU.
86858
86859 * Makerules ($(inst_includedir)/%.h): New rule.
86860 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
86861 (install-others): Remove variable setting.
86862 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
86863
86864 2012-03-08 Richard Henderson <rth@twiddle.net>
86865
86866 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
86867 from macro to inline function; merge with the
86868 !__LIBC_INTERNAL_MATH_INLINES version.
86869 (__ieee754_sqrtf): Likewise.
86870
86871 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
86872 to inline function.
86873 (__rintf, __floor, __floorf): Likewise.
86874
86875 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
86876 macro to inline function.
86877 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
86878
86879 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
86880 not <math/math_private.h>.
86881
86882 2012-03-08 David S. Miller <davem@davemloft.net>
86883
86884 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
86885 copyright year.
86886 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
86887
86888 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
86889
86890 * resolv/gai_misc.c (handle_requests): Fix struct timespec
86891 normalization.
86892 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
86893 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
86894
86895 2012-03-08 Ulrich Drepper <drepper@gmail.com>
86896
86897 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
86898 be defined individually, they must be defined as a block. Define
86899 S for printing a string instead of hidint the different by using a
86900 macro for adding the 'l'.
86901 * stdio-common/tst-fphex-wide.c: Adjust.
86902
86903 2012-03-07 Marek Polacek <polacek@redhat.com>
86904
86905 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
86906
86907 2012-03-08 Marek Polacek <polacek@redhat.com>
86908
86909 [BZ #13806]
86910 * stdio-common/Makefile (tests): Add tst-fphex-wide.
86911 * stdio-common/tst-fphex.c: Define a few macros to make the
86912 test reusable. Use them.
86913 * stdio-common/tst-fphex-wide.c: New file.
86914
86915 2012-03-08 Joseph Myers <joseph@codesourcery.com>
86916
86917 [BZ #6911]
86918 * manual/macros.texi (gnusystems): New macro.
86919 (nongnusystems): Likewise.
86920 (gnulinuxhurdsystems): Likewise.
86921 (gnuhurdsystems): Likewise..
86922 (gnulinuxsystems): Likewise.
86923 * manual/charset.texi: Use new macros or @theglibc{} to refer to
86924 variants of the GNU system, not "GNU system".
86925 * manual/conf.texi: Likewise.
86926 * manual/errno.texi: Likewise. Update example of errno macro
86927 expansion.
86928 * manual/filesys.texi: Likewise.
86929 (getumask): Document as specific to GNU/Hurd.
86930 * manual/install.texi: Likewise. Reword some references to
86931 GNU/Linux.
86932 * manual/intro.texi: Likewise.
86933 * manual/io.texi: Likewise.
86934 (File Name Portability): Detail which constraints are inapplicable
86935 to all GNU systems and which are only inapplicable to GNU/Hurd.
86936 * manual/job.texi: Likewise.
86937 * manual/llio.texi: Likewise.
86938 (O_NOCTTY): Document as present on GNU/Linux.
86939 * manual/maint.texi: Likewise.
86940 * manual/memory.texi: Likewise.
86941 * manual/pattern.texi: Likewise.
86942 * manual/pipe.texi: Likewise.
86943 * manual/process.texi: Likewise.
86944 * manual/resource.texi: Likewise.
86945 (RUSAGE_CHILDREN): Remove statement about specifying a particular
86946 child on GNU/Hurd.
86947 * manual/setjmp.texi: Likewise.
86948 * manual/signal.texi: Likewise.
86949 * manual/startup.texi: Likewise.
86950 * manual/stdio.texi: Likewise.
86951 * manual/terminal.texi: Likewise.
86952 (ONLCR): Document as POSIX.
86953 (OXTABS): Document availability on GNU/Linux as XTABS.
86954 (ONOEOT): Document availability separately from other bits.
86955 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
86956 * manual/time.texi: Likewise.
86957 * manual/users.texi: Likewise.
86958 * INSTALL: Regenerated.
86959 * sysdeps/gnu/errlist.c: Regenerated.
86960
86961 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
86962 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
86963 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
86964 puts.
86965 * configure: Regenerated.
86966
86967 2012-03-07 Joseph Myers <joseph@codesourcery.com>
86968
86969 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
86970 default includes instead of AC_HEADER_CHECK.
86971 * sysdeps/i386/configure: Regenerated.
86972
86973 [BZ #10716]
86974 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
86975 * math/s_cacoshf.c (__cacoshf): Likewise.
86976 * math/s_cacoshl.c (__cacoshl): Likewise.
86977 * math/s_casinh.c (__casinh): Set signs of result from argument.
86978 * math/s_casinhf.c (__casinhf): Likewise.
86979 * math/s_casinhl.c (__casinhl): Likewise.
86980 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
86981 (casinh_test): Add more tests.
86982 * sysdeps/i386/fpu/libm-test-ulps: Update.
86983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86984
86985 2012-03-07 Ulrich Drepper <drepper@gmail.com>
86986
86987 * po/zh_TW.po: Update from translation team.
86988
86989 * login/Makefile (distribute): Remove variable.
86990 * catgets/Makefile: Likewise.
86991 * mach/Makefile: Likewise.
86992 * malloc/Makefile: Likewise.
86993 * misc/Makefile: Likewise.
86994 * iconv/Makefile: Likewise.
86995 * nscd/Makefile: Likewise.
86996 * hurd/Makefile: Likewise.
86997 * manual/Makefile: Likewise.
86998 * locale/Makefile: Likewise.
86999 * intl/Makefile: Likewise.
87000 * conform/Makefile: Likewise.
87001 * nss/Makefile: Likewise.
87002 * time/Makefile: Likewise.
87003 * soft-fp/Makefile: Likewise.
87004 * dirent/Makefile: Likewise.
87005 * gmon/Makefile: Likewise.
87006 * po/Makefile: Likewise.
87007 * rt/Makefile: Likewise.
87008 * socket/Makefile: Likewise.
87009 * math/Makefile: Likewise.
87010 * signal/Makefile: Likewise.
87011 * debug/Makefile: Likewise.
87012 * elf/Makefile: Likewise.
87013 * timezone/Makefile: Likewise.
87014 * stdlib/Makefile: Likewise.
87015 * iconvdata/Makefile: Likewise.
87016 * sunrpc/Makefile: Likewise.
87017 * io/Makefile: Likewise.
87018 * argp/Makefile: Likewise.
87019 * inet/Makefile: Likewise.
87020 * hesiod/Makefile: Likewise.
87021 * grp/Makefile: Likewise.
87022 * csu/Makefile: Likewise.
87023 * wctype/Makefile: Likewise.
87024 * crypt/Makefile: Likewise.
87025 * libio/Makefile: Likewise.
87026 * string/Makefile: Likewise.
87027 * nis/Makefile: Likewise.
87028 * resolv/Makefile: Likewise.
87029 * stdio-common/Makefile: Likewise.
87030 * wcsmbs/Makefile: Likewise.
87031 * dlfcn/Makefile: Likewise.
87032 * posix/Makefile: Likewise.
87033
87034 [BZ #6959]
87035 * timezone/Makefile: Don't install timezone files, just the programs
87036 and scripts.
87037
87038 2012-03-06 Ulrich Drepper <drepper@gmail.com>
87039
87040 * nss/databases.def: Add missing gshadow entry.
87041
87042 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
87043
87044 2012-03-06 Marek Polacek <polacek@redhat.com>
87045
87046 [BZ #13726]
87047 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
87048 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
87049 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
87050 * stdio-common/tst-long-dbl-fphex.c: New file.
87051
87052 2012-03-06 David S. Miller <davem@davemloft.net>
87053
87054 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
87055 (set_obp_int): New function.
87056 (get_obp_int): New function.
87057 (__get_clockfreq_via_dev_openprom): Likewise.
87058 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
87059 Avoid unused variable warnings on 'val' and use builtin_expect.
87060 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
87061 __builtin_expect.
87062 (INLINE_CLONE_SYSCALL): Likewise.
87063
87064 2012-03-05 David S. Miller <davem@davemloft.net>
87065
87066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
87067
87068 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
87069
87070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87071
87072 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
87073 only for |x| >= 40.
87074 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87075
87076 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
87077
87078 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
87079 Replace gettimeofday with __vdso_gettimeofday.
87080
87081 * sysdeps/unix/sysv/linux/x86_64/init-first.c
87082 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
87083 __vdso_clock_gettime and __vdso_getcpu.
87084
87085 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
87086 time with __vdso_time.
87087
87088 2012-03-05 Joseph Myers <joseph@codesourcery.com>
87089
87090 * manual/lang.texi (size_t): Note types to which size_t may be
87091 equivalent with the GNU C Library, but do not describe when
87092 differences between them are significant.
87093
87094 2012-03-05 Andreas Jaeger <aj@suse.de>
87095
87096 * sysdeps/i386/fpu/libm-test-ulps: Update.
87097
87098 2012-03-05 Joseph Myers <joseph@codesourcery.com>
87099
87100 [BZ #3976]
87101 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
87102 (__ieee754_pow): Save and restore rounding mode and use
87103 round-to-nearest for main computations.
87104 * math/libm-test.inc (pow_test_tonearest): New function.
87105 (pow_test_towardzero): Likewise.
87106 (pow_test_downward): Likewise.
87107 (pow_test_upward): Likewise.
87108 (main): Call the new functions.
87109 * sysdeps/i386/fpu/libm-test-ulps: Update.
87110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87111
87112 [BZ #3976]
87113 * math/libm-test.inc (cosh_test_tonearest): New function.
87114 (cosh_test_towardzero): Likewise.
87115 (cosh_test_downward): Likewise.
87116 (cosh_test_upward): Likewise.
87117 (sinh_test_tonearest): Likewise.
87118 (sinh_test_towardzero): Likewise.
87119 (sinh_test_downward): Likewise.
87120 (sinh_test_upward): Likewise.
87121 (main): Call the new functions.
87122 * sysdeps/i386/fpu/libm-test-ulps: Update.
87123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87124
87125 2012-03-05 Tom de Vries <tom@codesourcery.com>
87126
87127 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
87128 default stack guard is set in last bytes.
87129 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
87130
87131 2012-03-05 Kees Cook <keescook@chromium.org>
87132
87133 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
87134
87135 [BZ #13656]
87136 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
87137 possibly allocate from heap instead of stack.
87138 * stdio-common/bug-vfprintf-nargs.c: New file.
87139 * stdio-common/Makefile (tests): Add nargs overflow test.
87140
87141 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
87142
87143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87144
87145 2012-03-03 Marek Polacek <polacek@redhat.com>
87146
87147 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
87148 * math/math_private.h: Likewise.
87149 * stdlib/tst-strtod.c: Likewise.
87150 * sysdeps/i386/i486/bits/atomic.h: Likewise.
87151 * sysdeps/x86_64/bits/atomic.h: Likewise.
87152
87153 2012-03-02 David S. Miller <davem@davemloft.net>
87154
87155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
87156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
87157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
87158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
87159 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
87160 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
87161 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
87162 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
87163
87164 2012-03-02 Roland McGrath <roland@hack.frob.com>
87165
87166 [BZ #13792]
87167 * manual/examples/README: New file, says the example source files
87168 can be used under GPL>=2.
87169 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
87170 line containing just "*/".
87171 * manual/examples/add.c: Add copyright header (GPL>=2).
87172 * manual/examples/argp-ex1.c: Likewise.
87173 * manual/examples/argp-ex2.c: Likewise.
87174 * manual/examples/argp-ex3.c: Likewise.
87175 * manual/examples/argp-ex4.c: Likewise.
87176 * manual/examples/atexit.c: Likewise.
87177 * manual/examples/db.c: Likewise.
87178 * manual/examples/dir.c: Likewise.
87179 * manual/examples/dir2.c: Likewise.
87180 * manual/examples/execinfo.c: Likewise.
87181 * manual/examples/filecli.c: Likewise.
87182 * manual/examples/filesrv.c: Likewise.
87183 * manual/examples/fmtmsgexpl.c: Likewise.
87184 * manual/examples/genpass.c: Likewise.
87185 * manual/examples/inetcli.c: Likewise.
87186 * manual/examples/inetsrv.c: Likewise.
87187 * manual/examples/isockad.c: Likewise.
87188 * manual/examples/longopt.c: Likewise.
87189 * manual/examples/memopen.c: Likewise.
87190 * manual/examples/memstrm.c: Likewise.
87191 * manual/examples/mkfsock.c: Likewise.
87192 * manual/examples/mkisock.c: Likewise.
87193 * manual/examples/mygetpass.c: Likewise.
87194 * manual/examples/pipe.c: Likewise.
87195 * manual/examples/popen.c: Likewise.
87196 * manual/examples/rprintf.c: Likewise.
87197 * manual/examples/search.c: Likewise.
87198 * manual/examples/select.c: Likewise.
87199 * manual/examples/setjmp.c: Likewise.
87200 * manual/examples/sigh1.c: Likewise.
87201 * manual/examples/sigusr.c: Likewise.
87202 * manual/examples/stpcpy.c: Likewise.
87203 * manual/examples/strdupa.c: Likewise.
87204 * manual/examples/strftim.c: Likewise.
87205 * manual/examples/strncat.c: Likewise.
87206 * manual/examples/subopt.c: Likewise.
87207 * manual/examples/swapcontext.c: Likewise.
87208 * manual/examples/termios.c: Likewise.
87209 * manual/examples/testopt.c: Likewise.
87210 * manual/examples/testpass.c: Likewise.
87211 * manual/examples/timeval_subtract.c: Likewise.
87212
87213 [BZ #13792]
87214 * manual/time.texi (Elapsed Time): Move timeval_subtract example
87215 function to ...
87216 * manual/timeval_subtract.c.texi: ... here, new file.
87217
87218 2012-03-02 David S. Miller <davem@davemloft.net>
87219
87220 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
87221
87222 2012-03-02 Joseph Myers <joseph@codesourcery.com>
87223
87224 [BZ #3976]
87225 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
87226 (__sin): Save and restore rounding mode and use round-to-nearest
87227 for all computations.
87228 (__cos): Save and restore rounding mode and use round-to-nearest
87229 for all computations.
87230 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
87231 <fenv.h>.
87232 (tan): Save and restore rounding mode and use round-to-nearest for
87233 all computations.
87234 * math/libm-test.inc (cos_test_tonearest): New function.
87235 (cos_test_towardzero): Likewise.
87236 (cos_test_downward): Likewise.
87237 (cos_test_upward): Likewise.
87238 (sin_test_tonearest): Likewise.
87239 (sin_test_towardzero): Likewise.
87240 (sin_test_downward): Likewise.
87241 (sin_test_upward): Likewise.
87242 (tan_test_tonearest): Likewise.
87243 (tan_test_towardzero): Likewise.
87244 (tan_test_downward): Likewise.
87245 (tan_test_upward): Likewise.
87246 (main): Call the new functions.
87247 * sysdeps/i386/fpu/libm-test-ulps: Update.
87248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87249
87250 [BZ #10135]
87251 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
87252 small n, then large n, before computing and testing k+n.
87253 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
87254 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
87255 Likewise.
87256 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
87257 Likewise.
87258 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
87259 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
87260 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
87261 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
87262 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
87263 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
87264 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
87265 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
87266 * math/libm-test.inc (scalbn_test): Add more tests.
87267 (scalbln_test): Likewise.
87268
87269 * manual/filesys.texi (mode_t): Describe constraints on size and
87270 signedness, not exact equivalence to a particular type.
87271 (ino_t): Likewise.
87272 (ino64_t): Likewise.
87273 (dev_t): Likewise.
87274 (nlink_t): Likewise.
87275 (blkcnt_t): Likewise.
87276 (blkcnt64_t): Likewise.
87277 * manual/llio.texi (off_t): Likewise.
87278
87279 [BZ #3976]
87280 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
87281 (__ieee754_exp): Save and restore rounding mode and use
87282 round-to-nearest for all computations.
87283 * math/libm-test.inc (exp_test_tonearest): New function.
87284 (exp_test_towardzero): Likewise.
87285 (exp_test_downward): Likewise.
87286 (exp_test_upward): Likewise.
87287 (main): Call the new functions.
87288 * sysdeps/i386/fpu/libm-test-ulps: Update.
87289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87290
87291 2012-03-01 Chris Demetriou <cgd@google.com>
87292
87293 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
87294 have predictable order.
87295
87296 2012-03-01 David S. Miller <davem@davemloft.net>
87297
87298 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
87299
87300 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
87301 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
87302 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
87303 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
87304
87305 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
87306 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
87307 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
87308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
87309 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
87310 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
87311 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
87312 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
87313 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
87314
87315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
87316
87317 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
87318 * sysdeps/sparc/fpu/libm-test-ulps: to here.
87319 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
87320
87321 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
87322 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
87323 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
87324 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
87325 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
87326 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
87327 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
87328 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
87329 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
87330 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
87331 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
87332 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87333 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
87334 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
87335 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
87336 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87337 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
87338 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
87339 * sysdeps/sparc/elf/configure: Regenerated.
87340
87341 2012-03-01 Joseph Myers <joseph@codesourcery.com>
87342
87343 * configure.in (AS, LD): Require binutils 2.20 or later.
87344 * configure: Regenerated.
87345 * manual/install.texi (Tools for Compilation): Give binutils 2.20
87346 as required minimum version.
87347 * INSTALL: Regenerated.
87348
87349 [BZ #2541]
87350 [BZ #4108]
87351 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
87352 before squaring exponent.
87353 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
87354 bottom long double and 27 bits of top long double before squaring
87355 exponent.
87356 * math/libm-test.inc (erfc_test): Add more tests.
87357 * sysdeps/i386/fpu/libm-test-ulps: Update.
87358 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
87359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87360
87361 2012-03-01 Kai Tietz <ktietz@redhat.com>
87362
87363 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
87364 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
87365 containing bit-fields.
87366 * soft-fp/extended.h (_FP_UNION_E): Likewise.
87367 * soft-fp/single.h (_FP_UNION_S): Likewise.
87368 * soft-fp/double.h (_FP_UNION_D): Likewise.
87369
87370 2012-02-29 Joseph Myers <joseph@codesourcery.com>
87371
87372 [BZ #13786]
87373 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
87374 not include ../strcmp.S.
87375 [USE_AS_STRNCASECMP_L]: Likewise.
87376 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
87377 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
87378 * sysdeps/i386/i686/multiarch/strncase_l-c.c
87379 (__strncasecmp_l_ia32): Define as alias to
87380 __strncasecmp_l_nonascii.
87381
87382 [BZ #5794]
87383 * math/libm-test.inc (expm1_test): Add test for bug 5794.
87384 * sysdeps/i386/fpu/libm-test-ulps: Update.
87385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87386
87387 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
87388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87389
87390 2012-02-29 Jeff Law <law@redhat.com>
87391
87392 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
87393 out of bounds read.
87394
87395 2012-02-29 Marek Polacek <polacek@redhat.com>
87396
87397 [BZ #13706]
87398 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
87399 * elf/Makefile: Add rules to run tst-unused-dep.out.
87400
87401 2012-02-28 David S. Miller <davem@davemloft.net>
87402
87403 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
87404 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
87405 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
87406 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
87407 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
87408 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
87409
87410 2012-02-29 Joseph Myers <joseph@codesourcery.com>
87411
87412 * math/libm-test.inc (llround_test): Move one test from
87413 lround_test. Use TEST_f_L in moved test.
87414 (lround_test): Move misplaced test to llround_test. Add testcase
87415 from bug 2561.
87416
87417 2012-02-28 Ulrich Drepper <drepper@gmail.com>
87418
87419 * sysdeps/x86_64/fpu/e_expf.S: New file.
87420 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
87421
87422 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
87423
87424 [BZ #13637]
87425 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
87426 of remain_len that may cause incomplete multi-byte character and
87427 false match.
87428 * posix/bug-regex33.c: New file.
87429 * posix/Makefile (tests): Add bug-regex33.
87430
87431 2012-02-28 Joseph Myers <joseph@codesourcery.com>
87432
87433 * manual/macros.texi: New file.
87434 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
87435 * manual/libc.texinfo: Include macros.texi.
87436 * manual/creatute.texi: Likewise.
87437 * manual/install.texi: Likewise.
87438 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
87439 @glibcadj{} in references to the GNU C Library.
87440 * manual/charset.texi: Likewise.
87441 * manual/conf.texi: Likewise.
87442 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
87443 when not using those macros.
87444 * manual/creature.texi: Likewise.
87445 * manual/crypt.texi: Likewise.
87446 * manual/errno.texi: Likewise.
87447 * manual/filesys.texi: Likewise.
87448 * manual/header.texi: Likewise.
87449 * manual/install.texi: Likewise.
87450 * manual/intro.texi: Likewise.
87451 * manual/io.texi: Likewise.
87452 * manual/job.texi: Likewise.
87453 * manual/lang.texi: Likewise.
87454 * manual/libc.texiinfo: Likewise.
87455 * manual/llio.texi: Likewise.
87456 * manual/locale.texi: Likewise.
87457 * manual/maint.texi: Likewise.
87458 * manual/math.texi: Likewise.
87459 * manual/memory.texi: Likewise.
87460 * manual/message.texi: Likewise.
87461 * manual/nss.texi: Likewise.
87462 * manual/pattern.texi: Likewise.
87463 * manual/process.texi: Likewise.
87464 * manual/resource.texi: Likewise.
87465 * manual/search.texi: Likewise.
87466 * manual/setjmp.texi: Likewise.
87467 * manual/signal.texi: Likewise.
87468 * manual/socket.texi: Likewise.
87469 * manual/startup.texi: Likewise.
87470 * manual/stdio.texi: Likewise.
87471 * manual/string.texi: Likewise.
87472 * manual/sysinfo.texi: Likewise.
87473 * manual/syslog.texi: Likewise.
87474 * manual/terminal.texi: Likewise.
87475 * manual/time.texi: Likewise.
87476 * manual/users.texi: Likewise.
87477 * INSTALL: Regenerated.
87478 * NOTES: Regenerated.
87479 * sysdeps/gnu/errlist.c: Regenerated.
87480
87481 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
87482
87483 * include/dirent.h: Include <dirstream.h> before
87484 <dirent/dirent.h>.
87485
87486 2012-02-28 David S. Miller <davem@davemloft.net>
87487
87488 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
87489 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
87490 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
87491 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
87492
87493 2012-02-27 David S. Miller <davem@davemloft.net>
87494
87495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
87496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
87497 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
87498 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
87499
87500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
87501 frame pointer instead of stack pointer relative arg slot.
87502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87503 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87504 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87505
87506 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
87507
87508 [BZ #3992]
87509 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
87510
87511 2012-02-27 David S. Miller <davem@davemloft.net>
87512
87513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
87514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
87516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
87517 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87518 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87519 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
87520 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
87521
87522 2012-02-27 Joseph Myers <joseph@codesourcery.com>
87523
87524 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
87525 later. Allow versions 5-9.
87526 * configure: Regenerated.
87527 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
87528 required minimum version and 4.6 as recommended version. Do not
87529 mention bugs in GCC 2.7 and 2.8.
87530 * INSTALL: Regenerated.
87531
87532 2012-02-27 David S. Miller <davem@davemloft.net>
87533
87534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
87535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
87536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
87537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
87538 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
87539 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
87540 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
87541 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
87542
87543 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
87544 manipulate bits before adding and subtracting TWO112[sx].
87545 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
87546
87547 2012-02-27 Roland McGrath <roland@hack.frob.com>
87548
87549 [BZ #13775]
87550 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
87551 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
87552 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
87553 being in POSIX, because they are in 1003.1-2008.
87554
87555 * rt/tst-aio.c: Include <fcntl.h>.
87556 * rt/tst-aio7.c: Likewise.
87557 * rt/tst-aio64.c: Likewise.
87558
87559 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
87560
87561 2012-02-27 Joseph Myers <joseph@codesourcery.com>
87562
87563 * manual/install.texi (--with-headers): Describe headers as
87564 interface headers, not private headers.
87565 (Specific advice for GNU/Linux systems): Describe use of headers
87566 from "make headers_install", not private headers from older
87567 kernels.
87568 * INSTALL: Regenerated.
87569 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
87570 Change to 2.6.19.
87571 * sysdeps/unix/sysv/linux/configure: Regenerated.
87572
87573 * manual/llio.texi (fclean): Remove documentation.
87574
87575 * manual/Makefile (libc-texi-generated): New variable. Include
87576 version.texi.
87577 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
87578 $(libc-texi-generated), not duplicated list of files.
87579 (version.texi, stamp-version): New rules.
87580 (realclean): Remove $(libc-texi-generated), not individual files
87581 from that list. Do not remove dir-add.texinfo.
87582 * manual/libc.texinfo: Comment out uses of edition numbers and
87583 references to printed manual. Remove last-updated dates.
87584 (EDITION): Comment out.
87585 (ISBN): Likewise.
87586 (VERSION, UPDATED): Remove.
87587 (version.texi): Include.
87588
87589 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
87590
87591 * sysdeps/posix/spawni.c: Include <signal.h>.
87592 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
87593 * sysdeps/pthread/aio_fsync.c: Likewise.
87594
87595 2012-02-26 Ulrich Drepper <drepper@gmail.com>
87596
87597 * conform/Makefile (tests): Run only when not cross-compiling and
87598 when fast-check is not defined.
87599
87600 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
87601 * conform/data/limits.h-data: Fixes for POSIX2008.
87602 * conform/run-conformtest.sh: Run all tests.
87603 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
87604 headers.
87605 * include/bits/dlfcn.h: Likewise.
87606 * include/langinfo.h: Likewise.
87607 * include/monetary.h: Likewise.
87608 * include/sys/poll.h: Likewise.
87609
87610 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
87611 for __USE_GNU.
87612 * posix/spawn.h: Define __need_sigset_t.
87613 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
87614 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
87615 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
87616 to get sigevent_t only.
87617 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
87618 only for __USE_GNU.
87619 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87620 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
87621 process_vm_writev only for __USE_GNU.
87622 * termios/termios.h: Declare tcgetsid also for POSIX2008.
87623
87624 * conform/Makefile: For now ignore errors from run-conformtest.
87625 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
87626 POSIX to avoid namespace pollution. Don't prepend headers.
87627 * conform/data/aio.h-data: Fixes for POSIX testing.
87628 * conform/data/fcntl.h-data: Likewise.
87629 * conform/data/glob.h-data: Likewise.
87630 * conform/data/grp.h-data: Likewise.
87631 * conform/data/pthread.h-data: Likewise.
87632 * conform/data/pwd.h-data: Likewise.
87633 * conform/data/signal.h-data: Likewise.
87634 * conform/data/spawn.h-data: Likewise.
87635 * conform/data/stdio.h-data: Likewise.
87636 * conform/data/stdlib.h-data: Likewise.
87637 * conform/data/stropts.h-data: Likewise.
87638 * conform/data/sys/mman.h-data: Likewise.
87639 * conform/data/sys/stat.h-data: Likewise.
87640 * conform/data/sys/types.h-data: Likewise.
87641 * conform/data/sys/wait.h-data: Likewise.
87642 * conform/data/time.h-data: Likewise.
87643 * conform/data/unistd.h-data: Likewise.
87644 * conform/data/utime.h-data: Likewise.
87645
87646 * io/sys/stat.h: fchmod was always in POSIX.
87647 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
87648 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
87649 * rt/aio.h: Define __need_timespec before including <time.h>.
87650 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
87651 struct. Add forward declaration of pthread_attr_t and use it in
87652 sigevent.
87653 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
87654 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
87655 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
87656 always remove CLK_TCK definition.
87657
87658 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
87659
87660 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
87661
87662 2012-02-25 Ulrich Drepper <drepper@gmail.com>
87663
87664 * conform/run-conformtest.sh: New file.
87665 * conform/Makefile: Run run-conformtest for tests.
87666 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
87667 support.
87668
87669 * conform/data/uchar.h-data: New file.
87670 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
87671 * conform/data/arpa/inet.h-data: Likewise.
87672 * conform/data/assert.h-data: Likewise.
87673 * conform/data/complex.h-data: Likewise.
87674 * conform/data/cpio.h-data: Likewise.
87675 * conform/data/ctype.h-data: Likewise.
87676 * conform/data/dirent.h-data: Likewise.
87677 * conform/data/dlfcn.h-data: Likewise.
87678 * conform/data/errno.h-data: Likewise.
87679 * conform/data/fcntl.h-data: Likewise.
87680 * conform/data/float.h-data: Likewise.
87681 * conform/data/fmtmsg.h-data: Likewise.
87682 * conform/data/fnmatch.h-data: Likewise.
87683 * conform/data/ftw.h-data: Likewise.
87684 * conform/data/glob.h-data: Likewise.
87685 * conform/data/grp.h-data: Likewise.
87686 * conform/data/iconv.h-data: Likewise.
87687 * conform/data/inttypes.h-data: Likewise.
87688 * conform/data/langinfo.h-data: Likewise.
87689 * conform/data/libgen.h-data: Likewise.
87690 * conform/data/limits.h-data: Likewise.
87691 * conform/data/locale.h-data: Likewise.
87692 * conform/data/math.h-data: Likewise.
87693 * conform/data/monetary.h-data: Likewise.
87694 * conform/data/mqueue.h-data: Likewise.
87695 * conform/data/ndbm.h-data: Likewise.
87696 * conform/data/net/if.h-data: Likewise.
87697 * conform/data/netdb.h-data: Likewise.
87698 * conform/data/netinet/in.h-data: Likewise.
87699 * conform/data/nl_types.h-data: Likewise.
87700 * conform/data/poll.h-data: Likewise.
87701 * conform/data/pthread.h-data: Likewise.
87702 * conform/data/pwd.h-data: Likewise.
87703 * conform/data/regex.h-data: Likewise.
87704 * conform/data/sched.h-data: Likewise.
87705 * conform/data/search.h-data: Likewise.
87706 * conform/data/semaphore.h-data: Likewise.
87707 * conform/data/setjmp.h-data: Likewise.
87708 * conform/data/signal.h-data: Likewise.
87709 * conform/data/spawn.h-data: Likewise.
87710 * conform/data/stdarg.h-data: Likewise.
87711 * conform/data/stdio.h-data: Likewise.
87712 * conform/data/stdlib.h-data: Likewise.
87713 * conform/data/string.h-data: Likewise.
87714 * conform/data/strings.h-data: Likewise.
87715 * conform/data/stropts.h-data: Likewise.
87716 * conform/data/sys/ipc.h-data: Likewise.
87717 * conform/data/sys/mman.h-data: Likewise.
87718 * conform/data/sys/msg.h-data: Likewise.
87719 * conform/data/sys/resource.h-data: Likewise.
87720 * conform/data/sys/select.h-data: Likewise.
87721 * conform/data/sys/sem.h-data: Likewise.
87722 * conform/data/sys/shm.h-data: Likewise.
87723 * conform/data/sys/socket.h-data: Likewise.
87724 * conform/data/sys/stat.h-data: Likewise.
87725 * conform/data/sys/statvfs.h-data: Likewise.
87726 * conform/data/sys/time.h-data: Likewise.
87727 * conform/data/sys/timeb.h-data: Likewise.
87728 * conform/data/sys/times.h-data: Likewise.
87729 * conform/data/sys/types.h-data: Likewise.
87730 * conform/data/sys/uio.h-data: Likewise.
87731 * conform/data/sys/un.h-data: Likewise.
87732 * conform/data/sys/utsname.h-data: Likewise.
87733 * conform/data/sys/wait.h-data: Likewise.
87734 * conform/data/syslog.h-data: Likewise.
87735 * conform/data/tar.h-data: Likewise.
87736 * conform/data/termios.h-data: Likewise.
87737 * conform/data/utime.h-data: Likewise.
87738 * conform/data/utmpx.h-data: Likewise.
87739 * conform/data/varargs.h-data: Likewise.
87740 * conform/data/wchar.h-data: Likewise.
87741 * conform/data/wctype.h-data: Likewise.
87742 * conform/data/wordexp.h-data: Likewise.
87743
87744 * include/stropts.h: New file.
87745 * include/uchar.h: New file.
87746 * include/aio.h: Changes to allow conformtest.pl to use the headers.
87747 * include/assert.h: Likewise.
87748 * include/ctype.h: Likewise.
87749 * include/dirent.h: Likewise.
87750 * include/dlfcn.h: Likewise.
87751 * include/fcntl.h: Likewise.
87752 * include/fnmatch.h: Likewise.
87753 * include/glob.h: Likewise.
87754 * include/grp.h: Likewise.
87755 * include/libio.h: Likewise.
87756 * include/locale.h: Likewise.
87757 * include/math.h: Likewise.
87758 * include/net/if.h: Likewise.
87759 * include/netdb.h: Likewise.
87760 * include/netinet/in.h: Likewise.
87761 * include/pthread.h: Likewise.
87762 * include/pwd.h: Likewise.
87763 * include/regex.h: Likewise.
87764 * include/sched.h: Likewise.
87765 * include/search.h: Likewise.
87766 * include/setjmp.h: Likewise.
87767 * include/signal.h: Likewise.
87768 * include/stdio.h: Likewise.
87769 * include/stdlib.h: Likewise.
87770 * include/string.h: Likewise.
87771 * include/sys/cdefs.h: Likewise.
87772 * include/sys/mman.h: Likewise.
87773 * include/sys/msg.h: Likewise.
87774 * include/sys/resource.h: Likewise.
87775 * include/sys/select.h: Likewise.
87776 * include/sys/socket.h: Likewise.
87777 * include/sys/stat.h: Likewise.
87778 * include/sys/statvfs.h: Likewise.
87779 * include/sys/time.h: Likewise.
87780 * include/sys/times.h: Likewise.
87781 * include/sys/uio.h: Likewise.
87782 * include/sys/utsname.h: Likewise.
87783 * include/sys/wait.h: Likewise.
87784 * include/termios.h: Likewise.
87785 * include/time.h: Likewise.
87786 * include/ulimit.h: Likewise.
87787 * include/unistd.h: Likewise.
87788 * include/utime.h: Likewise.
87789 * include/wchar.h: Likewise.
87790 * include/wctype.h: Likewise.
87791 * include/wordexp.h: Likewise.
87792
87793 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
87794
87795 * time/time.h: TIME_UTC must be a macro.
87796 Make timespec_get available for ISO C11 only as well.
87797
87798 2012-02-24 Ulrich Drepper <drepper@gmail.com>
87799
87800 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
87801 Reported by Peng Haitao <penght@cn.fujitsu.com>.
87802
87803 2012-02-24 Joseph Myers <joseph@codesourcery.com>
87804
87805 * configure.in: Use -o not -a in test for unsupported multi-arch.
87806
87807 2012-02-24 Joseph Myers <joseph@codesourcery.com>
87808
87809 * manual/texinfo.tex: Update to version 2012-01-19.16.
87810
87811 2012-02-24 Joseph Myers <joseph@codesourcery.com>
87812
87813 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
87814
87815 2012-02-24 Roland McGrath <roland@hack.frob.com>
87816
87817 [BZ #13738]
87818 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
87819 * manual/fdl-1.3.texi: New file.
87820 * manual/fdl-1.1.texi: File removed.
87821
87822 [BZ #13738]
87823 * manual/libc.texinfo (FDL_VERSION): New @set.
87824 Use it for mention of FDL in cover text.
87825 (Documentation License): Use it in @include file name.
87826
87827 2012-02-22 Joseph Myers <joseph@codesourcery.com>
87828 Roland McGrath <roland@hack.frob.com>
87829
87830 [BZ #5461]
87831 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
87832 (not LONG_LONG_MAX and LONG_LONG_MIN.
87833 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
87834 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
87835 name.
87836 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
87837
87838 2012-02-22 Joseph Myers <joseph@codesourcery.com>
87839
87840 [BZ #2547]
87841 [BZ #11365]
87842 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
87843 manipulate bits before adding and subtracting TWO23[sx].
87844 * math/libm-test.inc (nearbyint_test): Add more tests.
87845
87846 2012-02-22 Joseph Myers <joseph@codesourcery.com>
87847
87848 [BZ #2548]
87849 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
87850 bits before adding and subtracting TWO23[sx].
87851 * math/libm-test.inc (rint_test): Add more tests.
87852 (rint_test_tonearest): Likewise.
87853 (rint_test_towardzero): Likewise.
87854 (rint_test_downward): Likewise.
87855 (rint_test_upward: Likewise.
87856
87857 2012-02-22 Joseph Myers <joseph@codesourcery.com>
87858
87859 [BZ #10110]
87860 * include/stdc-predef.h: New file. Extracted from features.h.
87861 * include/features.h: Include stdc-predef.h.
87862 * Makefile (headers): Add stdc-predef.h.
87863 * CONFORMANCE (Compiler limitations): Update.
87864
87865 2012-02-22 Joseph Myers <joseph@codesourcery.com>
87866
87867 * manual/libc.texinfo (VERSION, UPDATED): Revert.
87868
87869 2012-02-21 David S. Miller <davem@davemloft.net>
87870
87871 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
87872 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
87873
87874 2012-02-20 David S. Miller <davem@davemloft.net>
87875
87876 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
87877 using a normal save/restore sequence, rather than allocating a
87878 dummy stack frame just to store a frame pointer and restore.
87879 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87880
87881 2012-02-21 Joseph Myers <joseph@codesourcery.com>
87882
87883 * manual/install.texi: Fix stray word in line-wrapped comment.
87884
87885 2012-02-20 David S. Miller <davem@davemloft.net>
87886
87887 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
87888 both binutils and gcc support GOTDATA.
87889
87890 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
87891 "rd %pc" in the PIC register setup sequences.
87892
87893 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
87894 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
87895 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
87896 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
87897 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
87898 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
87899 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
87900 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87901 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
87902 (SYSCALL_ERROR_HANDLER): Likewise.
87903 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
87904 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
87905 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
87906 (SYSCALL_ERROR_HANDLER): Likewise.
87907
87908 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
87909 (HAVE_GCC_GOTDATA): New.
87910 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
87911 relocation support in both binutils and gcc.
87912 * sysdeps/sparc/elf/configure: Regenerate.
87913
87914 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
87915 * sysdeps/sparc/sparc32/elf/configure: Delete.
87916 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
87917 * sysdeps/sparc/sparc64/elf/configure: Delete.
87918 * sysdeps/sparc/elf/configure.in: New file.
87919 * sysdeps/sparc/elf/configure: Generate.
87920
87921 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
87922 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
87923 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
87924 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
87925 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
87926
87927 2012-02-21 Joseph Myers <joseph@codesourcery.com>
87928
87929 * manual/install.texi: Do not mention specific glibc version
87930 numbers.
87931 * manual/libc.texinfo (VERSION, UPDATED): Update.
87932 (@copying): Use @copyright{} and range of years.
87933
87934 2012-02-21 Joseph Myers <joseph@codesourcery.com>
87935
87936 [BZ #13695]
87937 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
87938 [crti.S not in sysdirs] (generated): Do not append.
87939 [crti.S not in sysdirs] (omit-deps): Likewise.
87940 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
87941 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
87942 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
87943 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
87944 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
87945 Likewise.
87946 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
87947 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
87948 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
87949 * csu/defs.awk: Remove file.
87950 * sysdeps/generic/initfini.c: Likewise.
87951 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
87952 variable.
87953 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
87954 Likewise.
87955
87956 2012-02-20 Joseph Myers <joseph@codesourcery.com>
87957
87958 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
87959 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
87960 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
87961 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
87962 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
87963 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
87964 <bits/epoll.h>.
87965 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
87966 (__EPOLL_PACKED): Define to empty if not defined by
87967 <bits/epoll.h>.
87968 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
87969 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87970 bits/epoll.h.
87971
87972 2012-02-20 Joseph Myers <joseph@codesourcery.com>
87973
87974 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
87975 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
87976 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
87977 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
87978 <bits/timerfd.h>.
87979 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
87980 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87981 bits/timerfd.h.
87982
87983 2012-02-20 Joseph Myers <joseph@codesourcery.com>
87984
87985 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
87986 in C locale.
87987 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
87988 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
87989 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
87990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87991
87992 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
87993
87994 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87995 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
87996
87997 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
87998
87999 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
88000 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
88001 defined.
88002 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
88003 Likewise.
88004 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
88005 entry for 2.16.
88006
88007 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
88008
88009 * math/w_acos.c: Use non-signaling floating-point comparisons.
88010 * math/w_acosf.c: Likewise.
88011 * math/w_acosh.c: Likewise.
88012 * math/w_acoshf.c: Likewise.
88013 * math/w_acoshl.c: Likewise.
88014 * math/w_acosl.c: Likewise.
88015 * math/w_asin.c: Likewise.
88016 * math/w_asinf.c: Likewise.
88017 * math/w_asinl.c: Likewise.
88018 * math/w_atanh.c: Likewise.
88019 * math/w_atanhf.c: Likewise.
88020 * math/w_atanhl.c: Likewise.
88021 * math/w_exp2.c: Likewise.
88022 * math/w_exp2f.c: Likewise.
88023 * math/w_exp2l.c: Likewise.
88024 * math/w_j0.c: Likewise.
88025 * math/w_j0f.c: Likewise.
88026 * math/w_j0l.c: Likewise.
88027 * math/w_j1.c: Likewise.
88028 * math/w_j1f.c: Likewise.
88029 * math/w_j1l.c: Likewise.
88030 * math/w_jn.c: Likewise.
88031 * math/w_jnf.c: Likewise.
88032 * math/w_log.c: Likewise.
88033 * math/w_log10.c: Likewise.
88034 * math/w_log10f.c: Likewise.
88035 * math/w_log10l.c: Likewise.
88036 * math/w_log2.c: Likewise.
88037 * math/w_log2f.c: Likewise.
88038 * math/w_log2l.c: Likewise.
88039 * math/w_logf.c: Likewise.
88040 * math/w_logl.c: Likewise.
88041 * math/w_sqrt.c: Likewise.
88042 * math/w_sqrtf.c: Likewise.
88043 * math/w_sqrtl.c: Likewise.
88044 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
88045 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
88046 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
88047 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
88048 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
88049
88050 2012-02-19 Joseph Myers <joseph@codesourcery.com>
88051
88052 [BZ #9739]
88053 * manual/string.texi (strnlen): Use correct parameter name in
88054 equivalent expression.
88055
88056 2012-02-19 Joseph Myers <joseph@codesourcery.com>
88057
88058 [BZ #11174]
88059 * manual/users.texi (seteuid): Consistently use neweuid for
88060 argument name.
88061
88062 2012-02-19 Joseph Myers <joseph@codesourcery.com>
88063
88064 [BZ #13704]
88065 * manual/nss.texi (Services in the NSS configuration): Correct
88066 list of services in example configuration file.
88067
88068 2012-02-19 Nick Bowler <nbowler@draconx.ca>
88069
88070 [BZ #11322]
88071 * manual/arith.texi: Remove statements about negative zero
88072 behaving identically to zero.
88073
88074 2012-02-18 Joseph Myers <joseph@codesourcery.com>
88075
88076 [BZ #5993]
88077 * manual/install.texi: Do not document upgrading from libc5.
88078
88079 2012-02-18 Joseph Myers <joseph@codesourcery.com>
88080
88081 [BZ #4596]
88082 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
88083
88084 2012-02-18 David S. Miller <davem@davemloft.net>
88085
88086 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
88087 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
88088 %o7 across the call.
88089 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
88090 instead.
88091 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
88092 SETUP_PIC_REG_LEAF.
88093 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
88094 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
88095 * sysdeps/sparc/crtn.S: Likewise.
88096
88097 2012-02-17 Ulrich Drepper <drepper@gmail.com>
88098
88099 * aout/Makefile: Remove.
88100
88101 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
88102
88103 [BZ #13058]
88104 * manual/examples/argp-ex1.c (main): Format definition in GNU
88105 style.
88106 * manual/examples/argp-ex2.c (main): Likewise.
88107 * manual/examples/argp-ex3.c (main): Likewise.
88108 * manual/examples/argp-ex4.c (main): Likewise.
88109 * manual/examples/longopt.c (main): Use new-style prototype
88110 definition.
88111 * manual/examples/strncat.c (main): Specify return type and use
88112 (void) for arguments.
88113 * manual/examples/subopt.c (main): Use char **argv argument.
88114
88115 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88116
88117 [BZ #5077]
88118 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
88119 rounding modes.
88120
88121 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
88122
88123 [BZ #6907]
88124 * manual/string.texi (strchr): Change when strchrnul is
88125 recommended.
88126
88127 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
88128
88129 [BZ #174]
88130 * manual/locale.texi (setlocale): Document LOCPATH.
88131
88132 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88133
88134 [BZ #10210]
88135 * manual/process.texi (execle): Move @dots{} before last argument.
88136
88137 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
88138
88139 [BZ #12047]
88140 * manual/charset.texi (Generic Charset Conversion): Fix typo
88141 (LC_TYPE -> LC_CTYPE).
88142
88143 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
88144
88145 [BZ #5805]
88146 * manual/arith.texi (scalbn): Use @var{} on parameter names.
88147 (scalbnf): Likewise.
88148 (scalbnl): Likewise.
88149 (scalbln): Likewise.
88150 (scalblnf): Likewise.
88151 (scalblnl): Likewise.
88152 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
88153 (vwarnx): Likewise.
88154 (verr): Likewise.
88155 (verrx): Likewise.
88156 * manual/filesys.texi (telldir): Use braces around return type.
88157 * manual/llio.texi (mmap): Add space after comma.
88158 (mmap64): Likewise.
88159 * manual/math.texi (jn): Use @var{} on parameter names.
88160 (jnf): Likewise.
88161 (jnl): Likewise.
88162 (yn): Likewise.
88163 (ynf): Likewise.
88164 (ynl): Likewise.
88165 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
88166 line.
88167 * manual/resource.texi (ulimit): Use @dots{} instead of literal
88168 "...".
88169 (sched_get_priority_min): Remove semicolon on @deftypefun line.
88170 (sched_get_priority_max): Likewise.
88171 * manual/signal.texi (sigvec): Add space after comma.
88172 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
88173 names.
88174 (if_indextoname): Likewise.
88175 (if_freenameindex): Likewise.
88176 (sendto): Use ',' instead of '.' in prototype.
88177 * manual/startup.texi (syscall): Use @dots{} instead of literal
88178 "...".
88179 * manual/stdio.texi (__fpending): Separate initial words of
88180 paragraph from @deftypefun line.
88181 * manual/syslog.texi (syslog): Use @dots{} instead of literal
88182 "...".
88183 (vsyslog): Use @var{} on parameter names.
88184 * manual/terminal.texi (stty): Use @var{} on parameter names.
88185 * manual/users.texi (getutmp): Use @var{} on parameter names.
88186 (getutmpx): Likewise.
88187
88188 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88189
88190 [BZ #6884]
88191 * manual/stdio.texi (fopen): Fix typos in description of
88192 ",ccs=STRING".
88193
88194 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
88195
88196 [BZ #4026]
88197 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
88198 get clock_id definition.
88199
88200 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
88201
88202 [BZ #4822]
88203 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
88204 (madvise): Cast every argument to void on its own.
88205
88206 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88207
88208 [BZ #9902]
88209 * manual/startup.texi (Exit Status): Fix typo.
88210
88211 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88212
88213 [BZ #10140]
88214 * manual/examples/argp-ex1.c: Include <stdlib.h>.
88215 * manual/examples/argp-ex2.c: Likewise.
88216 * manual/examples/argp-ex3.c: Likewise.
88217
88218 2012-02-16 Richard Henderson <rth@redhat.com>
88219
88220 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
88221 * sysdeps/s390/s390-32/initfini.c: Remove.
88222 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
88223 * sysdeps/s390/s390-64/initfini.c: Remove.
88224
88225 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
88226
88227 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
88228 compiler output for sysdeps/generic/initfini.c.
88229 * sysdeps/sh/elf/initfini.c: Remove file.
88230
88231 2012-02-16 David S. Miller <davem@davemloft.net>
88232
88233 [BZ #11494]
88234 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
88235
88236 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
88237 * sysdeps/sparc/crti.S: New file.
88238 * sysdeps/sparc/crtn.S: New file.
88239 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
88240 * sysdeps/sparc/sparc64/Makefile: Likewise.
88241
88242 2012-02-15 Mike Frysinger <vapier@gentoo.org>
88243
88244 [BZ #3335]
88245 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
88246
88247 2012-02-15 Roland McGrath <roland@hack.frob.com>
88248
88249 [BZ #4822]
88250 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
88251
88252 * mach/devstream.c (cookie_io_functions_t): Macro removed.
88253 (write, read, close): Likewise.
88254 Patch by Aurelien Jarno <aurelien@aurel32.net>.
88255
88256 2012-02-15 Joseph Myers <joseph@codesourcery.com>
88257
88258 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
88259 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
88260 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
88261 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
88262 <bits/signalfd.h>.
88263 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
88264 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88265 bits/signalfd.h.
88266
88267 2012-02-14 Marek Polacek <polacek@redhat.com>
88268
88269 * sysdeps/x86_64/crti.S: New file.
88270 * sysdeps/x86_64/crtn.S: New file.
88271 * sysdeps/x86_64/elf/initfini.c: Remove file.
88272
88273 2012-02-13 Joseph Myers <joseph@codesourcery.com>
88274
88275 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
88276 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
88277 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
88278 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
88279 <bits/inotify.h>.
88280 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
88281 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88282 bits/inotify.h.
88283
88284 2012-02-13 Joseph Myers <joseph@codesourcery.com>
88285
88286 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
88287 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
88288 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
88289 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
88290 <bits/eventfd.h>.
88291 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
88292 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88293 bits/eventfd.h.
88294
88295 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
88296
88297 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
88298 __feraiseexcept instead of feraiseexcept.
88299
88300 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
88301 nanosleep invocations.
88302 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
88303 strings, and add error checking for a nanosleep invocations.
88304
88305 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
88306
88307 Replace FSF snail mail address with URLs, as per GNU coding standards.
88308 Most of the snail mail addresses were wrong anyway, and omitting
88309 them makes the source code easier to maintain. Almost all of the
88310 changes are to license notices and to locale LC_IDENTIFICATION
88311 addresses, except for this one:
88312 * manual/libc.texinfo: In "Published by", give the FSF's URL,
88313 not its snail mail address.
88314
88315 2012-02-09 Richard Henderson <rth@twiddle.net>
88316
88317 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
88318 of kernel-features.h.
88319
88320 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
88321
88322 2012-02-08 Marek Polacek <polacek@redhat.com>
88323
88324 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
88325 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
88326 * sysdeps/gnu/_G_config.h: Likewise.
88327 * sysdeps/generic/_G_config.h: Likewise.
88328
88329 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
88330
88331 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
88332 tests.
88333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88334
88335 * sysdeps/powerpc/powerpc32/crti.S: New file.
88336 * sysdeps/powerpc/powerpc32/crtn.S: New file.
88337 * sysdeps/powerpc/powerpc64/crti.S: New file.
88338 * sysdeps/powerpc/powerpc64/crtn.S: New file.
88339
88340 * Makeconfig (have-initfini): Don't set.
88341 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
88342 * configure.in (nopic_initfini): Don't substitute.
88343 * config.h.in (HAVE_INITFINI): Don't #undef.
88344 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
88345 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
88346
88347 2012-02-08 Joseph Myers <joseph@codesourcery.com>
88348
88349 Support crti.S and crtn.S provided directly by architectures.
88350 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
88351 [crti.S in sysdirs] (omit-deps): Likewise.
88352 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
88353 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
88354 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
88355 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
88356 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
88357 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
88358 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
88359 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
88360 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
88361 compiler output for sysdeps/generic/initfini.c.
88362 * sysdeps/i386/elf/Makefile: Remove file.
88363 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
88364
88365 2012-02-07 Marek Polacek <polacek@redhat.com>
88366
88367 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
88368 * sysdeps/gnu/_G_config.h: Likewise.
88369 * sysdeps/mach/hurd/_G_config.h: Likewise.
88370
88371 2012-02-07 Marek Polacek <polacek@redhat.com>
88372
88373 * math/Makefile (tests): Add tst-CMPLX2.
88374 * math/tst-CMPLX2.c: New file.
88375
88376 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
88377
88378 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88379
88380 * math/libm-test.inc (jn_test): Add missing L suffix.
88381
88382 2012-02-06 Marek Polacek <polacek@redhat.com>
88383
88384 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
88385 * sysdeps/i386/fpu/e_powf.S: Likewise.
88386 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
88387 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
88388 * sysdeps/i386/fpu/e_acosh.S: Likewise.
88389 * sysdeps/i386/fpu/e_pow.S: Likewise.
88390 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
88391 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
88392 * sysdeps/i386/fpu/s_expm1.S: Likewise.
88393 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
88394 * sysdeps/i386/fpu/e_log2.S: Likewise.
88395 * sysdeps/i386/fpu/e_log2l.S: Likewise.
88396 * sysdeps/i386/fpu/e_scalb.S: Likewise.
88397 * sysdeps/i386/fpu/e_powl.S: Likewise.
88398 * sysdeps/i386/fpu/s_log1p.S: Likewise.
88399 * sysdeps/i386/fpu/e_log10f.S: Likewise.
88400 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
88401 * sysdeps/i386/fpu/e_logl.S: Likewise.
88402 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
88403 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
88404 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
88405 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
88406 * sysdeps/i386/fpu/e_log2f.S: Likewise.
88407 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
88408 * sysdeps/i386/fpu/e_log.S: Likewise.
88409 * sysdeps/i386/fpu/s_cexp.S: Likewise.
88410 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
88411 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
88412 * sysdeps/i386/fpu/e_logf.S: Likewise.
88413 * sysdeps/i386/fpu/e_log10l.S: Likewise.
88414 * sysdeps/i386/fpu/e_atanh.S: Likewise.
88415 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
88416 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
88417 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
88418 * sysdeps/i386/fpu/e_log10.S: Likewise.
88419 * sysdeps/i386/fpu/s_frexp.S: Likewise.
88420 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
88421 * sysdeps/i386/fpu/s_asinh.S: Likewise.
88422 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
88423 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
88424 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
88425 * sysdeps/i386/asm-syntax.h: Likewise.
88426 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
88427 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
88428 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
88429 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
88430 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
88431 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
88432 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
88433 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
88434 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
88435 * sysdeps/powerpc/sysdep.h: Likewise.
88436 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
88437 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
88438
88439 2012-02-06 Joseph Myers <joseph@codesourcery.com>
88440
88441 [BZ #411]
88442 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
88443
88444 2012-02-06 Joseph Myers <joseph@codesourcery.com>
88445
88446 * sysdeps/i386/sysdep.h: Include <features.h>.
88447 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
88448 version.
88449
88450 2012-02-05 Joseph Myers <joseph@codesourcery.com>
88451
88452 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
88453 Define.
88454 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
88455 LOAD_PIC_REG_STR.
88456
88457 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88458
88459 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
88460 (SETUP_PIC_REG): Use GET_PC_THUNK.
88461 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
88462 macro.
88463
88464 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88465
88466 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
88467 for non-PIC compilation.
88468 (SETUP_PIC_REG): Add .p2align directive.
88469 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
88470 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
88471 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
88472 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
88473 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
88474 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
88475 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
88476 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88477 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
88478 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
88479 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
88480 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
88481 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
88482 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
88483 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
88484 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
88485 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
88486 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
88487 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
88488 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
88489 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
88490 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
88491 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
88492 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
88493 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
88494 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
88495 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
88496 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
88497 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
88498 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
88499 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
88500 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
88501 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
88502 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
88503 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
88504 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
88505 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
88506 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
88507 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
88508 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
88509 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
88510
88511 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88512
88513 * math/tst-CMPLX.c: Include <stdio.h>.
88514
88515 2012-01-31 Joseph Myers <joseph@codesourcery.com>
88516
88517 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
88518 float.
88519 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
88520 * sysdeps/sparc/bits/mathdef.h: Likewise.
88521
88522 2012-01-31 Marek Polacek <polacek@redhat.com>
88523
88524 * libio/libio.h: Don't define _PARAMS.
88525 * locale/programs/config.h: Don't define PARAMS.
88526 * stdlib/strtol_l.c: Likewise.
88527 (__strtol_l): Remove PARAMS from the prototype.
88528
88529 2012-01-31 Ulrich Drepper <drepper@gmail.com>
88530
88531 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
88532 names. Just use the correct names. Remove unnecessary wrapper
88533 functions.
88534 * malloc/arena.c: Likewise.
88535 * malloc/hooks.c: Likewise.
88536
88537 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
88538 ARENA_TEST says not to. Simplify test for creation of a new arena.
88539 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
88540
88541 2012-01-30 Ulrich Drepper <drepper@gmail.com>
88542
88543 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
88544 into tail calls.
88545 (update_get_addr): New function.
88546 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
88547 GET_ADDR_MODULE parameter.
88548
88549 2012-01-30 Joseph Myers <joseph@codesourcery.com>
88550
88551 * crypt/cert.c: Remove __STDC__ conditionals.
88552 * crypt/crypt-entry.c: Likewise.
88553 * crypt/crypt_util.c: Likewise.
88554 * libio/filedoalloc.c: Likewise.
88555 * libio/fileops.c: Likewise.
88556 * libio/genops.c: Likewise.
88557 * libio/iofclose.c: Likewise.
88558 * libio/iofdopen.c: Likewise.
88559 * libio/iofopen.c: Likewise.
88560 * libio/iofopen64.c: Likewise.
88561 * libio/iogetdelim.c: Likewise.
88562 * libio/iopopen.c: Likewise.
88563 * libio/obprintf.c: Likewise.
88564 * libio/oldfileops.c: Likewise.
88565 * libio/oldiofclose.c: Likewise.
88566 * libio/oldiofdopen.c: Likewise.
88567 * libio/oldiofopen.c: Likewise.
88568 * libio/oldiopopen.c: Likewise.
88569 * libio/wfiledoalloc.c: Likewise.
88570 * libio/wgenops.c: Likewise.
88571 * locale/programs/xmalloc.c: Likewise.
88572 * misc/syslog.c: Likewise.
88573 * stdio-common/xbug.c: Likewise.
88574 * string/memchr.c: Likewise.
88575 * string/memcmp.c: Likewise.
88576 * string/memrchr.c: Likewise.
88577 * string/rawmemchr.c: Likewise.
88578 * sysdeps/posix/getcwd.c: Likewise.
88579 * time/strftime_l.c: Likewise.
88580
88581 2012-01-30 Joseph Myers <joseph@codesourcery.com>
88582
88583 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
88584 * config.make.in (config-cflags-sse2avx): Define.
88585 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
88586 Fix typo.
88587
88588 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
88589
88590 * scripts/config.guess: Update from upstream config git repository.
88591 * scripts/config.sub: Likewise.
88592
88593 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
88594
88595 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
88596 (EM_NUM): Update.
88597 (R_TILEPRO_*, R_TILEGX_*): New macros.
88598
88599 * scripts/firstversions.awk: Fix bug in version range handling.
88600
88601 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
88602
88603 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
88604
88605 * include/sys/epoll.h: New file.
88606 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
88607 libc_hidden_def.
88608
88609 2012-01-28 Ulrich Drepper <drepper@gmail.com>
88610
88611 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
88612 Avoid unnecessary __WORDSIZE == 64 test.
88613 (fmaxf): Use VEX format if possible.
88614 (fmax): Likewise.
88615 (fminf): Likewise.
88616 (fmin): Likewise.
88617
88618 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
88619 * math/math_private.h: Remove libc_fegetround* and
88620 libc_fesetround*.
88621 * sysdeps/i386/configure.in: Check for -msse2avx.
88622 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
88623 also if SSE2AVX is defined.
88624 Remove libc_fegetround* and libc_fesetround*.
88625 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
88626 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
88627 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
88628 of HAS_YMM_USABLE.
88629 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88630 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88631 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88632 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88633 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88634
88635 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
88636
88637 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
88638
88639 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
88640 size is not set.
88641 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
88642
88643 2012-01-27 Ulrich Drepper <drepper@gmail.com>
88644
88645 [BZ #13618]
88646 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
88647 relocation.
88648 * Makeconfig (libm): Define.
88649 * elf/Makefile: Add rules to build and run tst-relsort1.
88650 * elf/tst-relsort1.c: New file.
88651 * elf/tst-relsort1mod1.c: New file.
88652 * elf/tst-relsort1mod2.c: New file.
88653
88654 2012-01-27 Joseph Myers <joseph@codesourcery.com>
88655
88656 * math/s_ldexp.c: Remove __STDC__ conditionals.
88657 * math/s_ldexpf.c: Likewise.
88658 * math/s_ldexpl.c: Likewise.
88659 * math/s_nextafter.c: Likewise.
88660 * math/s_nexttowardf.c: Likewise.
88661 * math/s_significand.c: Likewise.
88662 * math/s_significandf.c: Likewise.
88663 * math/s_significandl.c: Likewise.
88664 * math/w_jnl.c: Likewise.
88665 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
88666 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
88667 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
88668 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
88669 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
88670 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
88671 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
88672 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
88673 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
88674 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
88675 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
88676 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
88677 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
88678 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
88679 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
88680 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
88681 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
88682 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
88683 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
88684 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
88685 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
88686 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
88687 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
88688 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
88689 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
88690 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
88691 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
88692 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
88693 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
88694 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
88695 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
88696 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
88697 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
88698 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
88699 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
88700 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
88701 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
88702 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
88703 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
88704 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
88705 * sysdeps/ieee754/k_standard.c: Likewise.
88706 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
88707 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
88708 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
88709 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
88710 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
88711 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
88712 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
88713 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
88714 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
88715 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
88716 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
88717 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
88718 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
88719 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
88720 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
88721 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
88722 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
88723 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
88724 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
88725 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
88726 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
88727 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
88728 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
88729 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
88730 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
88731 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
88732 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
88733 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
88734 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
88735 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
88736 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
88737 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
88738 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
88739 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
88740 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
88741 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
88742 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
88743 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
88744 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
88745 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
88746 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
88747 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
88748 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
88749 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
88750 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
88751 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
88752 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
88753 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
88754 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
88755 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
88756 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
88757 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
88758 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
88759 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
88760 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
88761 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
88762 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
88763 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
88764 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
88765 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
88766 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
88767 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
88768 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
88769 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
88770 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
88771 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
88772 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
88773 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
88774 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
88775 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
88776 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
88777 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
88778 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
88779 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
88780 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
88781 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
88782 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
88783 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
88784 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
88785 * sysdeps/ieee754/s_matherr.c: Likewise.
88786 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
88787 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
88788 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
88789 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
88790
88791 2012-01-26 Joseph Myers <joseph@codesourcery.com>
88792
88793 * crypt/md5.h: Remove __STDC__ conditionals.
88794 * libio/libioP.h: Likewise.
88795 * locale/programs/config.h: Likewise.
88796 * sysdeps/generic/sysdep.h: Likewise.
88797 * sysdeps/i386/asm-syntax.h: Likewise.
88798 * sysdeps/s390/asm-syntax.h: Likewise.
88799 * sysdeps/unix/sysdep.h: Likewise.
88800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
88801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
88802
88803 2012-01-26 Joseph Myers <joseph@codesourcery.com>
88804
88805 * libio/libio.h: Remove __STDC__ conditionals.
88806 * malloc/obstack.h: Likewise.
88807 * math/complex.h: Likewise.
88808 * math/math.h: Likewise.
88809 * sysdeps/generic/_G_config.h: Likewise.
88810 * sysdeps/gnu/_G_config.h: Likewise.
88811 * sysdeps/mach/hurd/_G_config.h: Likewise.
88812 * sysdeps/powerpc/bits/mathdef.h: Likewise.
88813 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
88814 * sysdeps/sparc/bits/mathdef.h: Likewise.
88815
88816 2012-01-26 Ulrich Drepper <drepper@gmail.com>
88817
88818 [BZ #13583]
88819 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
88820 Clean up HAS_* macros.
88821 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
88822 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
88823 possible.
88824 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
88825 HAS_AVX.
88826 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88827 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88828 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88829 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88830 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88831
88832 2012-01-25 Joseph Myers <joseph@codesourcery.com>
88833
88834 * elf/tst-unique3.cc (gets): Remove declaration.
88835 * elf/tst-unique3lib.cc (gets): Likewise.
88836 * elf/tst-unique3lib2.cc (gets): Likewise.
88837 * elf/tst-unique4.cc (gets): Likewise.
88838
88839 2012-01-24 Ulrich Drepper <drepper@gmail.com>
88840
88841 * include/stdio.h: Add C++ protection. Add gets declarations and
88842 definitions.
88843 * debug/tst-chk1.c: Don't declare gets here.
88844 * stdio-common/tst-gets.c: Likewise.
88845
88846 2012-01-24 Joseph Myers <joseph@codesourcery.com>
88847
88848 * posix/glob: Remove directory.
88849
88850 2012-01-24 Joseph Myers <joseph@codesourcery.com>
88851
88852 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
88853
88854 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
88855
88856 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
88857 of the non-standard EPFNOSUPPORT.
88858
88859 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
88860
88861 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
88862 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
88863 ANYWHERE set to 1 only on KERN_NO_SPACE error.
88864
88865 2012-01-21 Ulrich Drepper <drepper@gmail.com>
88866
88867 * wcsmbs/uchar.h: Test __STDC_VERSION__.
88868
88869 2012-01-20 Ulrich Drepper <drepper@gmail.com>
88870
88871 * nscd/aicache.c (addhstaiX): Do not cache negative results of
88872 transient errors.
88873 * nscd/grpcache.c (cache_addgr): Likewise.
88874 * nscd/hstcache.c (cache_addhst): Likewise.
88875 * nscd/initgrcache.c (addinitgroupsX): Likewise.
88876 * nscd/pwdcache.c (cache_addpw): Likewise.
88877 * nscd/servicescache.c (cache_addserv): Likewise.
88878
88879 2012-01-16 Ulrich Drepper <drepper@gmail.com>
88880
88881 * malloc/malloc.c: Various cleanups.
88882 * malloc/hooks.c: Likewise.
88883
88884 * stdlib/Makefile (tests): Add bug-fmtmsg1.
88885 * stdlib/bug-fmtmsg1.c: New file.
88886
88887 * stdlib/fmtmsg.c (init): Add missing unlock.
88888 Patch by Peng Haitao <penght@cn.fujitsu.com>.
88889
88890 2012-01-12 Marek Polacek <polacek@redhat.com>
88891
88892 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
88893 and _GNU_SOURCE.
88894
88895 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
88896
88897 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
88898 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
88899 macro to ensure uniqueness of label name.
88900 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
88901 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
88902
88903 2012-01-11 Ulrich Drepper <drepper@gmail.com>
88904
88905 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
88906
88907 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
88908 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
88909 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
88910 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
88911
88912 2012-01-10 Ulrich Drepper <drepper@gmail.com>
88913
88914 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
88915
88916 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
88917 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
88918 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
88919
88920 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
88921
88922 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
88923 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
88924 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
88925 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
88926
88927 * math/bits/math-finite.h: Add ldexp support.
88928
88929 2012-01-10 Marek Polacek <polacek@redhat.com>
88930
88931 * locale/programs/localedef.h (show_archive_content): Add noreturn
88932 attribute.
88933
88934 2012-01-09 Ulrich Drepper <drepper@gmail.com>
88935
88936 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
88937
88938 2012-01-08 Ulrich Drepper <drepper@gmail.com>
88939
88940 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
88941
88942 * io/Makefile (headers): Add bits/poll2.h.
88943
88944 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
88945
88946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
88947 typo #include statement.
88948
88949 2012-01-08 Ulrich Drepper <drepper@gmail.com>
88950
88951 * include/sys/cdefs.h: Define __attribute_alloc_size.
88952 * catgets/gencat.c: Add alloc_size attribute and apply consistently
88953 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
88954 * elf/pldd.c: Likewise.
88955 * iconv/iconv_charmap.c: Likewise.
88956 * iconv/iconvconfig.c: Likewise.
88957 * iconv/strtab.c: Likewise.
88958 * locale/programs/locale.c: Likewise.
88959 * locale/programs/localedef.h: Likewise.
88960 * locale/programs/simple-hash.c: Likewise.
88961 * nscd/nscd.h: Likewise.
88962 * nss/makedb.c: Likewise.
88963 * sysdeps/generic/ldconfig.h: Likewise.
88964 * locale/programs/localedef.c: Remove xmalloc prototype.
88965 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
88966
88967 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
88968
88969 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
88970 appropriate.
88971
88972 2012-01-08 Ulrich Drepper <drepper@gmail.com>
88973
88974 * math/Makefile (tests): Add tst-CMPLX.
88975 * math/tst-CMPLX.c: New file.
88976
88977 * math/complex.h (CMPLXL): Fix typo.
88978
88979 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
88980 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
88981 GLIBC_2.16.
88982 * debug/tst-chk1.c: Add poll and ppoll tests.
88983 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
88984 * include/sys/poll.h: Add hidden proto for ppoll.
88985 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
88986 * sysdeps/mach/hurd/ppoll.c: Likewise.
88987 * io/ppoll.c: Likewise.
88988 * debug/poll_chk.c: New file.
88989 * debug/ppoll_chk.c: New file.
88990 * include/bits/poll2.h: New file.
88991 * io/bits/poll2.h: New file.
88992
88993 [BZ #1350]
88994 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
88995
88996 * configure.in: static is always set to yes. Remove.
88997 * config.make.in: Don't set build-static.
88998 * Makeconfig: Remove use of build-static.
88999 * dlfcn/Makefile: Likewise.
89000 * elf/Makefile: Likewise.
89001 * math/Makefile: Likewise.
89002 * misc/Makefile: Likewise.
89003 * nptl/Makefile: Likewise.
89004 * sysdeps/mach/hurd/Makefile: Likewise.
89005
89006 * configure.in: PWD_P is not used anymore.
89007 * config.make.in: Remove PWD_P entry.
89008
89009 * configure.in: Remove last remnants of RANLIB.
89010 No need to check for signed size_t anymore.
89011 Don't set libc_commonpagesize and libc_relro_required here for Alpha
89012 and IA-64.
89013 Remove __builtin_expect test because we require at least gcc 3.4.
89014 * aclocal.m4: Likewise.
89015
89016 * wcsmbs/mbrtoc16.c: Implement using towc function.
89017 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
89018 * wcsmbs/wcsmbsload.c: Likewise.
89019 * iconv/gconv_simple.c: Likewise.
89020 * iconv/gconv_int.h: Likewise.
89021 * iconv/gconv_builtin.h: Likewise.
89022 * iconv/iconv_prog.c: Remove CHAR16 handling.
89023
89024 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
89025
89026 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
89027
89028 * configure.in: Remove --with-elf and --enable-bounded options.
89029 Dont set base_machine for ia64. More non-ELF conditions removed.
89030 Remove testing and setting of leading underscore information.
89031 * config.make.in (build-bounded): Set to no.
89032 * config.h.in: Remove NO_UNDERSCORES entry.
89033 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
89034 them.
89035 * csu/start.c: Remove !NO_UNDERSCORE code.
89036 * locale/localeinfo.h: Likewise.
89037 * sysdeps/generic/machine-gmon.h: Likewise.
89038 * sysdeps/generic/sysdep.h: Likewise.
89039 * sysdeps/i386/sysdep.h: Likewise.
89040 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89041 * sysdeps/mach/sysdep.h: Likewise.
89042 * sysdeps/s390/s390-32/sysdep.h: Likewise.
89043 * sysdeps/s390/s390-64/sysdep.h: Likewise.
89044 * sysdeps/sh/sysdep.h: Likewise.
89045 * sysdeps/sparc/sparc32/alloca.S: Likewise.
89046 * sysdeps/unix/i386/sysdep.S: Likewise.
89047 * sysdeps/unix/sparc/start.c: Likewise.
89048 * sysdeps/unix/sparc/sysdep.S: Likewise.
89049 * sysdeps/unix/sparc/sysdep.h: Likewise.
89050 * sysdeps/unix/start.c: Likewise.
89051 * sysdeps/unix/x86_64/sysdep.S: Likewise.
89052 * sysdeps/x86_64/sysdep.h: Likewise.
89053
89054 2012-01-07 Ulrich Drepper <drepper@gmail.com>
89055
89056 [BZ #13553]
89057 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
89058 for non-gcc.
89059 * argp/argp-fmtstream.h: Use const instead __const.
89060 * argp/argp.h: Likewise.
89061 * assert/assert.h: Likewise.
89062 * bits/fenv.h: Likewise.
89063 * bits/sched.h: Likewise.
89064 * bits/sigset.h: Likewise.
89065 * bits/sigthread.h: Likewise.
89066 * catgets/nl_types.h: Likewise.
89067 * conform/data/pthread.h-data: Likewise.
89068 * crypt/crypt-private.h: Likewise.
89069 * crypt/crypt.h: Likewise.
89070 * crypt/crypt_util.c: Likewise.
89071 * ctype/ctype.h: Likewise.
89072 * debug/execinfo.h: Likewise.
89073 * debug/mbsnrtowcs_chk.c: Likewise.
89074 * debug/mbsrtowcs_chk.c: Likewise.
89075 * debug/wcsnrtombs_chk.c: Likewise.
89076 * debug/wcsrtombs_chk.c: Likewise.
89077 * debug/wcstombs_chk.c: Likewise.
89078 * dirent/dirent.h: Likewise.
89079 * dlfcn/dlfcn.h: Likewise.
89080 * elf/neededtest4.c: Likewise.
89081 * grp/grp.h: Likewise.
89082 * gshadow/gshadow.h: Likewise.
89083 * iconv/gconv.h: Likewise.
89084 * iconv/gconv_int.h: Likewise.
89085 * iconv/gconv_simple.c: Likewise.
89086 * iconv/iconv.h: Likewise.
89087 * iconv/loop.c: Likewise.
89088 * iconv/skeleton.c: Likewise.
89089 * include/aio.h: Likewise.
89090 * include/aliases.h: Likewise.
89091 * include/argz.h: Likewise.
89092 * include/arpa/inet.h: Likewise.
89093 * include/assert.h: Likewise.
89094 * include/dirent.h: Likewise.
89095 * include/dlfcn.h: Likewise.
89096 * include/execinfo.h: Likewise.
89097 * include/fcntl.h: Likewise.
89098 * include/fenv.h: Likewise.
89099 * include/glob.h: Likewise.
89100 * include/grp.h: Likewise.
89101 * include/libintl.h: Likewise.
89102 * include/mntent.h: Likewise.
89103 * include/netdb.h: Likewise.
89104 * include/pwd.h: Likewise.
89105 * include/rpc/netdb.h: Likewise.
89106 * include/sched.h: Likewise.
89107 * include/search.h: Likewise.
89108 * include/shadow.h: Likewise.
89109 * include/signal.h: Likewise.
89110 * include/stdio.h: Likewise.
89111 * include/stdlib.h: Likewise.
89112 * include/string.h: Likewise.
89113 * include/sys/socket.h: Likewise.
89114 * include/sys/stat.h: Likewise.
89115 * include/sys/statfs.h: Likewise.
89116 * include/sys/statvfs.h: Likewise.
89117 * include/sys/syslog.h: Likewise.
89118 * include/sys/time.h: Likewise.
89119 * include/sys/uio.h: Likewise.
89120 * include/time.h: Likewise.
89121 * include/unistd.h: Likewise.
89122 * include/utmp.h: Likewise.
89123 * include/wchar.h: Likewise.
89124 * include/wctype.h: Likewise.
89125 * inet/aliases.h: Likewise.
89126 * inet/arpa/inet.h: Likewise.
89127 * inet/netinet/ether.h: Likewise.
89128 * inet/netinet/in.h: Likewise.
89129 * intl/libintl.h: Likewise.
89130 * io/bits/fcntl2.h: Likewise.
89131 * io/fcntl.h: Likewise.
89132 * io/ftw.h: Likewise.
89133 * io/sys/poll.h: Likewise.
89134 * io/sys/stat.h: Likewise.
89135 * io/sys/statfs.h: Likewise.
89136 * io/sys/statvfs.h: Likewise.
89137 * io/utime.h: Likewise.
89138 * libio/bits/stdio.h: Likewise.
89139 * libio/bits/stdio2.h: Likewise.
89140 * libio/libio.h: Likewise.
89141 * libio/libioP.h: Likewise.
89142 * libio/stdio.h: Likewise.
89143 * locale/lc-ctype.c: Likewise.
89144 * locale/locale.h: Likewise.
89145 * login/utmp.h: Likewise.
89146 * malloc/arena.c: Likewise.
89147 * malloc/malloc.c: Likewise.
89148 * malloc/malloc.h: Likewise.
89149 * malloc/mcheck.c: Likewise.
89150 * malloc/mtrace.c: Likewise.
89151 * math/bits/mathcalls.h: Likewise.
89152 * math/fenv.h: Likewise.
89153 * math/math_private.h: Likewise.
89154 * misc/bits/error.h: Likewise.
89155 * misc/bits/syslog.h: Likewise.
89156 * misc/err.h: Likewise.
89157 * misc/error.h: Likewise.
89158 * misc/fstab.h: Likewise.
89159 * misc/mntent.h: Likewise.
89160 * misc/regexp.h: Likewise.
89161 * misc/search.h: Likewise.
89162 * misc/sgtty.h: Likewise.
89163 * misc/sys/mman.h: Likewise.
89164 * misc/sys/syslog.h: Likewise.
89165 * misc/sys/uio.h: Likewise.
89166 * misc/sys/xattr.h: Likewise.
89167 * misc/ttyent.h: Likewise.
89168 * nis/rpcsvc/ypclnt.h: Likewise.
89169 * nss/nss.h: Likewise.
89170 * posix/bits/unistd.h: Likewise.
89171 * posix/fnmatch.h: Likewise.
89172 * posix/glob.h: Likewise.
89173 * posix/sched.h: Likewise.
89174 * posix/spawn.h: Likewise.
89175 * posix/sys/wait.h: Likewise.
89176 * posix/unistd.h: Likewise.
89177 * posix/wordexp.h: Likewise.
89178 * pwd/pwd.h: Likewise.
89179 * resolv/netdb.h: Likewise.
89180 * resource/sys/resource.h: Likewise.
89181 * rt/aio.h: Likewise.
89182 * rt/bits/mqueue2.h: Likewise.
89183 * rt/mqueue.h: Likewise.
89184 * shadow/shadow.h: Likewise.
89185 * signal/signal.h: Likewise.
89186 * socket/send.c: Likewise.
89187 * socket/sendto.c: Likewise.
89188 * socket/sys/socket.h: Likewise.
89189 * stdio-common/printf.h: Likewise.
89190 * stdlib/bits/stdlib.h: Likewise.
89191 * stdlib/fmtmsg.h: Likewise.
89192 * stdlib/monetary.h: Likewise.
89193 * stdlib/stdlib.h: Likewise.
89194 * stdlib/ucontext.h: Likewise.
89195 * streams/stropts.h: Likewise.
89196 * string/argz.h: Likewise.
89197 * string/bits/string2.h: Likewise.
89198 * string/string.h: Likewise.
89199 * string/strings.h: Likewise.
89200 * sunrpc/rpc/auth.h: Likewise.
89201 * sunrpc/rpc/auth_des.h: Likewise.
89202 * sunrpc/rpc/clnt.h: Likewise.
89203 * sunrpc/rpc/netdb.h: Likewise.
89204 * sunrpc/rpc/pmap_clnt.h: Likewise.
89205 * sunrpc/rpc/xdr.h: Likewise.
89206 * sysdeps/generic/inttypes.h: Likewise.
89207 * sysdeps/generic/net/if.h: Likewise.
89208 * sysdeps/generic/sys/swap.h: Likewise.
89209 * sysdeps/gnu/net/if.h: Likewise.
89210 * sysdeps/gnu/utmpx.h: Likewise.
89211 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
89212 * sysdeps/i386/i486/bits/string.h: Likewise.
89213 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
89214 * sysdeps/s390/bits/string.h: Likewise.
89215 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
89216 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
89217 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
89218 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
89219 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
89220 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
89221 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
89222 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
89223 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
89224 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
89225 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
89226 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
89227 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
89228 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
89229 * sysdeps/unix/sysv/linux/readv.c: Likewise.
89230 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
89231 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
89232 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89233 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
89234 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
89235 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89236 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
89237 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
89238 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
89239 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
89240 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
89241 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
89242 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89243 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
89244 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
89245 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
89246 * sysvipc/sys/ipc.h: Likewise.
89247 * sysvipc/sys/msg.h: Likewise.
89248 * sysvipc/sys/sem.h: Likewise.
89249 * sysvipc/sys/shm.h: Likewise.
89250 * termios/termios.h: Likewise.
89251 * time/sys/time.h: Likewise.
89252 * time/time.h: Likewise.
89253 * wcsmbs/bits/wchar2.h: Likewise.
89254 * wcsmbs/uchar.h: Likewise.
89255 * wcsmbs/wchar.h: Likewise.
89256 * wctype/wctype.h: Likewise.
89257
89258 [BZ #13551]
89259 * Makeconfig: Remove all but ELF support including AIX support.
89260 * Makerules: Likewise.
89261 * config.h.in: Likewise.
89262 * config.make.in: Likewise.
89263 * configure: Likewise.
89264 * configure.in: Likewise.
89265 * csu/Makefile: Likewise.
89266 * csu/version.c: Likewise.
89267 * debug/Makefile: Likewise.
89268 * dlfcn/Makefile: Likewise.
89269 * elf/Makefile: Likewise.
89270 * extra-lib.mk: Likewise.
89271 * iconv/Makefile: Likewise.
89272 * include/libc-symbols.h: Likewise.
89273 * include/shlib-compat.h: Likewise.
89274 * resolv/Makefile: Likewise.
89275 * resolv/res_libc.c: Likewise.
89276 * rt/Makefile: Likewise.
89277 * sysdeps/i386/asm-syntax.h: Likewise.
89278 * sysdeps/i386/sysdep.h: Likewise.
89279 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89280 * sysdeps/mach/sysdep.h: Likewise.
89281 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
89282 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
89283 * sysdeps/s390/asm-syntax.h: Likewise.
89284 * sysdeps/s390/s390-32/sysdep.h: Likewise.
89285 * sysdeps/s390/s390-64/sysdep.h: Likewise.
89286 * sysdeps/sh/sysdep.h: Likewise.
89287 * sysdeps/unix/sparc/sysdep.h: Likewise.
89288 * sysdeps/wordsize-32/divdi3.c: Likewise.
89289 * sysdeps/x86_64/sysdep.h: Likewise.
89290
89291 * argp/Versions: Remove _argp_unlock_xxx.
89292
89293 [BZ #13559]
89294 * abilist/ld.abilist: Update. Adjust for removal of tls option.
89295 * abilist/libBrokenLocale.abilist: Likewise.
89296 * abilist/libanl.abilist: Likewise.
89297 * abilist/libc.abilist: Likewise.
89298 * abilist/libcrypt.abilist: Likewise.
89299 * abilist/libdl.abilist: Likewise.
89300 * abilist/libm.abilist: Likewise.
89301 * abilist/libnsl.abilist: Likewise.
89302 * abilist/libpthread.abilist: Likewise.
89303 * abilist/libresolv.abilist: Likewise.
89304 * abilist/librt.abilist: Likewise.
89305 * abilist/libthread_db.abilist: Likewise.
89306 * abilist/libutil.abilist: Likewise.
89307 * abilist/libnss_db.abilist: New file.
89308
89309 * scripts/abilist.awk: Add support for indirect functions.
89310
89311 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
89312
89313 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
89314
89315 * shlib-versions: Remove entries for ports architectures.
89316
89317 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
89318 files in ports.
89319 * elf/stackguard-macros.h: Remove support for IA-64.
89320 * elf/tst-auditmod1.c: Likewise.
89321 * sysdeps/generic/ldsodefs.h: Likewise.
89322
89323 * sysdeps/unix/sysv/linux/configure.in: Ports should define
89324 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
89325 configure files.
89326
89327 [BZ #13552]
89328 * configure.in: Remove --enable-omitfp support.
89329 * FAQ.in: Adjust.
89330 * config.make.in: Likewise.
89331 * Makeconfig: Likewise.
89332 * manual/install.texi: Likewise.
89333
89334 In case anyone cares, the IA-64 architecture could move to ports.
89335 * sysdeps/ia64/*: Removed.
89336 * sysdeps/unix/sysv/linux/ia64/*: Removed.
89337 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
89338
89339 [BZ #13555]
89340 * configure.in: Remove entries for unsupported architectures.
89341
89342 [BZ #13533]
89343 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
89344 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
89345 routines.
89346 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
89347 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
89348 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
89349 fall back to using wcrtomb.
89350 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
89351 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
89352 renaming.
89353 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
89354 * wcsmbs/tst-c16c32-1.c: New file.
89355
89356 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
89357 local variable.
89358
89359 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
89360
89361 * elf/tst-unique3.cc: Add explicit declaration of gets.
89362 * elf/tst-unique3lib.cc: Likewise.
89363 * elf/tst-unique3lib2.cc: Likewise.
89364 * elf/tst-unique4.cc: Likewise.
89365
89366 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
89367
89368 2012-01-06 Joseph Myers <joseph@codesourcery.com>
89369
89370 [BZ #13566]
89371 * assert/assert.h (static_assert): Don't define for C++.
89372 * libio/stdio.h (gets): Do declare for C++ <= C++11.
89373 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
89374
89375 2012-01-03 Ulrich Drepper <drepper@gmail.com>
89376
89377 * iconv/loop.c (single loop): Fix assertion in storing of
89378 remaining bytes.
89379
89380 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
89381
89382 2012-01-01 Ulrich Drepper <drepper@gmail.com>
89383
89384 * posix/getconf.c: Update copyright year.
89385 * nss/getent.c: Likewise.
89386 * nss/makedb.c: Likewise.
89387 * iconv/iconvconfig.c: Likewise.
89388 * iconv/iconv_prog.c: Likewise.
89389 * elf/ldconfig.c: Likewise.
89390 * elf/pldd.c: Likewise.
89391 * elf/sotruss.ksh: Likewise.
89392 * catgets/gencat.c: Likewise.
89393 * csu/version.c: Likewise.
89394 * elf/ldd.bash.in: Likewise.
89395 * elf/sprof.c (print_version): Likewise.
89396 * locale/programs/locale.c: Likewise.
89397 * locale/programs/localedef.c: Likewise.
89398 * login/programs/pt_chown.c: Likewise.
89399 * nscd/nscd.c (print_version): Likewise.
89400 * debug/xtrace.sh: Likewise.
89401 * malloc/memusage.sh: Likewise.
89402 * malloc/mtrace.pl: Likewise.
89403 * debug/catchsegv.sh: Likewise.
89404
89405 2011-12-30 Jakub Jelinek <jakub@redhat.com>
89406
89407 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
89408 pure attribute.
89409
89410 2011-12-24 Ulrich Drepper <drepper@gmail.com>
89411
89412 [BZ #13533]
89413 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
89414 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
89415 transformations.
89416 * iconv/gconv_int.h: Likewise.
89417 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
89418 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
89419 from libc for GLIBC_2.16.
89420 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
89421 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
89422 * wcsmbs/uchar.h: Really define mbstate_t.
89423 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
89424 * wcsmbs/c16rtomb.c: New file.
89425 * wcsmbs/mbrtoc16.c: New file.
89426 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
89427 for C/POSIX locale.
89428 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
89429 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
89430
89431 * wcsmbs/wchar.h: Add missing __restrict.
89432
89433 2011-12-23 Ulrich Drepper <drepper@gmail.com>
89434
89435 [BZ #13532]
89436 * time/Makefile (routines): Add timespec_get.
89437 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
89438 * time/time.h: Define TIME_UTC and declare timespec_get. Define
89439 timespec for ISO C11.
89440 * time/timespec_get.c: New file.
89441 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
89442 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
89443
89444 [BZ #13531]
89445 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
89446 * stdlib/stdlib.h: Declare aligned_alloc.
89447 * Versions.def: Add GLIBC_2.16 for libc.
89448 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
89449
89450 [BZ 13527]
89451 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
89452 ISO C11.
89453
89454 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
89455 code.
89456
89457 [BZ #13528]
89458 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
89459
89460 [BZ #13529]
89461 * assert/assert.h (static_assert): Define.
89462
89463 * version.h: Update for 2.16 development version.
89464
89465 [BZ #13526]
89466 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
89467 _ISOC11_SOURCE.
89468
89469 * version.h (RELEASE): Bump for 2.15 release.
89470 * include/features.h (__GLIBC_MINOR__): Bump to 15.
89471
89472 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
89473 Patch by Marek Polacek <mpolacek@redhat.com>.
89474
89475 * bits/byteswap.h: Protect long long constants with __extension__.
89476 * sysdeps/i386/bits/byteswap.h: Likewise.
89477 * sysdeps/ia64/bits/byteswap.h: Likewise.
89478 * sysdeps/s390/bits/byteswap.h: Likewise.
89479 * sysdeps/x86_64/bits/byteswap.h: Likewise.
89480
89481 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89482
89483 [BZ #13540]
89484 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
89485 destination buffer.
89486 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
89487
89488 2011-12-23 Marek Polacek <polacek@redhat.com>
89489
89490 * elf/dl-addr.c (determine_info): Add inline keyword.
89491 * elf/tst-auditmod4b.c (check_avx): Likewise.
89492 * elf/tst-auditmod6b.c (check_avx): Likewise.
89493 * elf/tst-auditmod6c.c (check_avx): Likewise.
89494 * elf/tst-auditmod7b.c (check_avx): Likewise.
89495
89496 2011-12-23 Ulrich Drepper <drepper@gmail.com>
89497
89498 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
89499 !__SSE_MATH__.
89500
89501 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89502
89503 [BZ #13540]
89504 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
89505 processing for last bytes.
89506
89507 2011-08-06 Bruno Haible <bruno@clisp.org>
89508
89509 [BZ #13061]
89510 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
89511 U+0385, not to U+1FEE.
89512
89513 [BZ #13062]
89514 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
89515 entry for U+00A5 U+0301.
89516
89517 2011-12-22 Ulrich Drepper <drepper@gmail.com>
89518
89519 [BZ #13166]
89520 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
89521 buffer for the output is too small.
89522
89523 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
89524 optimization.
89525
89526 [BZ #13185]
89527 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
89528 SSE flags if possible.
89529
89530 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89531
89532 [BZ #13540]
89533 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
89534 processing for last bytes.
89535
89536 2011-12-22 Joseph Myers <joseph@codesourcery.com>
89537
89538 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
89539 (syscall-list-default-options, syscall-list-default-condition)
89540 (syscall-list-includes): Define.
89541 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
89542 list of ABIs and options and #if conditions for each ABI. Do not
89543 handle common syscalls between ABIs specially.
89544 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
89545 Remove.
89546 (syscall-list-variants, syscall-list-32bit-options)
89547 (syscall-list-32bit-condition, syscall-list-64bit-options)
89548 (syscall-list-64bit-condition): Define.
89549 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
89550 (syscall-list-variants, syscall-list-32bit-options)
89551 (syscall-list-32bit-condition, syscall-list-64bit-options)
89552 (syscall-list-64bit-condition): Define.
89553 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
89554 Remove.
89555 (syscall-list-variants, syscall-list-32bit-options)
89556 (syscall-list-32bit-condition, syscall-list-64bit-options)
89557 (syscall-list-64bit-condition): Define.
89558 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
89559 Remove.
89560 (syscall-list-variants, syscall-list-32bit-options)
89561 (syscall-list-32bit-condition, syscall-list-64bit-options)
89562 (syscall-list-64bit-condition): Define.
89563
89564 2011-12-22 Ulrich Drepper <drepper@gmail.com>
89565
89566 * locale/iso-639.def: Add brx entry.
89567
89568 [BZ #13328]
89569 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
89570 Proposed by Mariusz_Cukr <marcukr@op.pl>.
89571
89572 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
89573 __feraiseexcept_renamed.
89574
89575 2011-12-21 Ulrich Drepper <drepper@gmail.com>
89576
89577 [BZ #13538]
89578 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
89579 EPOLLET with unsigned values.
89580 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89581 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89582
89583 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
89584 to large cancellation.
89585 * math/s_cacoshf.c: Likewise.
89586 * math/s_cacoshl.c: Likewise.
89587
89588 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
89589
89590 [BZ #13305]
89591 [BZ #12786]
89592 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
89593 * math/s_cacoshf.c: Likewise.
89594 * math/s_cacoshl.c: Likewise.
89595
89596 2011-12-21 Ulrich Drepper <drepper@gmail.com>
89597
89598 [BZ #13439]
89599 * iconv/gconv.h: Define __GCONV_SWAP.
89600 * iconvdata/unicode.c: The swap bit must be stored in __flags.
89601 * iconvdata/utf-16.c: Likewise.
89602 * iconvdata/utf-32.c: Likewise.
89603
89604 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
89605
89606 [BZ #13524]
89607 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
89608 numerator after shifting it by one limb.
89609
89610 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
89611
89612 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
89613 under [__USE_EXTERN_INLINES].
89614
89615 2011-12-17 Ulrich Drepper <drepper@gmail.com>
89616
89617 [BZ #13446]
89618 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
89619
89620 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89621
89622 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
89623 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
89624 optimized code.
89625 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
89626 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
89627 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
89628 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
89629 for strncasecmp/strncasecmp_l compilation.
89630 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
89631 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
89632
89633 2011-12-08 Marek Polacek <mpolacek@redhat.com>
89634
89635 [BZ #13484]
89636 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
89637 of __asm__.
89638
89639 2011-12-17 Ulrich Drepper <drepper@gmail.com>
89640
89641 [BZ #13506]
89642 * time/tzfile.c (__tzfile_read): Check values from file header.
89643
89644 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
89645
89646 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
89647 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
89648 * powerpc/powerpc32/dl-start.S: Likewise.
89649 * powerpc/powerpc32/elf/start.S: Likewise.
89650 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
89651 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
89652 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
89653 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
89654 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
89655 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
89656 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
89657 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
89658 * powerpc/powerpc32/fpu/s_round.S: Likewise.
89659 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
89660 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
89661 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
89662 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
89663 * powerpc/powerpc32/memset.S: Likewise.
89664 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
89665 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
89666 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
89667 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
89668 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
89669 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
89670 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
89671 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
89672 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
89673 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
89674 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
89675 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
89676 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
89677
89678 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89679
89680 * math/libm-test.inc: Added more nearbyint tests.
89681 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
89682 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
89683 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
89684 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
89685
89686 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
89687
89688 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
89689 FD_CLOEXEC.
89690
89691 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89692
89693 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
89694 Add wcscpy-ssse3 wcscpy-c.
89695 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
89696 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
89697 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
89698 * sysdeps/x86_64/wcschr.S: New file.
89699 * sysdeps/x86_64/wcsrchr.S: New file.
89700 * string/test-strcmp.c: Remove checking of wcscmp function for
89701 wrong alignments.
89702 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
89703 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
89704 wcsrchr-sse2 wcsrchr-c.
89705 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
89706 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
89707 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
89708 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
89709 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
89710 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
89711 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
89712 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
89713 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
89714 * wcsmbc/wcschr.c (WCSCHR): New macro.
89715
89716 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89717
89718 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
89719 * wcsmbs/test-wcsrchr.c: New file.
89720 * string/test-strrchr.c: Add wcsrchr support.
89721 (WIDE): New macro.
89722 * wcsmbs/test-wcscpy.c: New file.
89723 * string/test-strcpy.c: Add wcscpy support.
89724 (WIDE): New macro.
89725
89726 2011-12-10 Ulrich Drepper <drepper@gmail.com>
89727
89728 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
89729 the inner loop.
89730
89731 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
89732
89733 [BZ #13472]
89734 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
89735
89736 2011-12-04 Ulrich Drepper <drepper@gmail.com>
89737
89738 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
89739 Minor optimizations.
89740
89741 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
89742 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
89743 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
89744
89745 2011-12-03 Ulrich Drepper <drepper@gmail.com>
89746
89747 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
89748 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
89749 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
89750 for gcc to avoid warnings.
89751 * inet/Makefile (tests): Add tst-checks.
89752 * inet/tst-checks.c: New file.
89753
89754 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
89755 warning.
89756
89757 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
89758 __wmemcmp_sse2.
89759
89760 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
89761 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
89762
89763 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
89764
89765 2011-12-02 Ulrich Drepper <drepper@gmail.com>
89766
89767 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
89768 problem.
89769
89770 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
89771
89772 2011-11-29 Joseph Myers <joseph@codesourcery.com>
89773
89774 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
89775 conditional on GCC version.
89776 (__arch_compare_and_exchange_val_8_acq)
89777 (__arch_compare_and_exchange_val_16_acq)
89778 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
89779 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
89780 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
89781
89782 2011-12-02 Joseph Myers <joseph@codesourcery.com>
89783
89784 * sysdeps/sh/backtrace.c: New file.
89785
89786 2011-12-02 Andreas Schwab <schwab@redhat.com>
89787
89788 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
89789 parenthesis.
89790
89791 2011-12-01 Andreas Schwab <schwab@redhat.com>
89792
89793 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
89794 falling back to utime.
89795
89796 2011-11-30 Andreas Schwab <schwab@redhat.com>
89797
89798 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
89799 expectations for float.
89800
89801 2011-11-29 Andreas Schwab <schwab@redhat.com>
89802
89803 * locale/weight.h (findidx): Add parameter len.
89804 * locale/weightwc.h (findidx): Likewise.
89805 * posix/fnmatch_loop.c (FCT): Adjust caller.
89806 * posix/regcomp.c (build_equiv_class): Likewise.
89807 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
89808 * posix/regexec.c (check_node_accept_bytes): Likewise.
89809 * string/strcoll_l.c (STRCOLL): Likewise.
89810 * string/strxfrm_l.c (STRXFRM): Likewise.
89811
89812 2011-11-17 Ulrich Drepper <drepper@gmail.com>
89813
89814 * Makefile.in: Remove CVSOPT handling.
89815 * configure.in: Remove use of AC_REVISION.
89816 * iconvdata/Makefile (distribute): No need to filter out CVS.
89817 * scripts/list-sources.sh: Remove CVS, subversion and monotone
89818 handling.
89819
89820 2011-11-16 Andreas Schwab <schwab@redhat.com>
89821
89822 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
89823 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
89824 [USE_AS_STRNCASECMP_L]: Likewise.
89825 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
89826 NO_TLS_DIRECT_SEG_REFS.
89827 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
89828 Fix argument offsets for non-PIC.
89829 [USE_AS_STRNCASECMP_L]: Likewise.
89830 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
89831 NO_TLS_DIRECT_SEG_REFS.
89832
89833 2011-11-15 Ulrich Drepper <drepper@gmail.com>
89834
89835 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
89836 O_CLOEXEC.
89837 * locale/loadlocale.c (_nl_load_locale): Likewise.
89838
89839 2011-11-15 Andreas Schwab <schwab@redhat.com>
89840
89841 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
89842 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
89843 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
89844 (SYSCALL_GETTIME): Set errno on error.
89845
89846 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
89847 count references to noai6ai_cached.
89848
89849 2011-11-15 Ulrich Drepper <drepper@gmail.com>
89850
89851 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
89852
89853 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
89854 FD_CLOEXEC for /proc/self/maps.
89855
89856 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
89857 FD_CLOEXEC for /proc/meminfo.
89858
89859 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
89860 gai.conf.
89861
89862 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
89863 FD_CLOEXEC for given file.
89864
89865 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
89866
89867 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
89868 FD_CLOEXEC for /etc/hosts.
89869 (_gethtent): Likewise.
89870
89871 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
89872
89873 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
89874 cancellation and set FD_CLOEXEC for /etc/netgroup.
89875
89876 * nss/nss_files/files-key.c (search): Don't allow cancellation when
89877 reading /etc/publickey.
89878
89879 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
89880 allow cancellation when reading /etc/group.
89881
89882 * nss/nss_files/files-alias.c (internal_setent): Don't allow
89883 cancellation.
89884 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
89885
89886 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
89887 when using data file.
89888
89889 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
89890
89891 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
89892 (write_nis_obj): Use "c" and "e" in fopen.
89893
89894 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
89895
89896 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
89897
89898 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
89899
89900 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
89901
89902 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
89903 locale.alias.
89904
89905 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
89906
89907 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
89908
89909 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
89910
89911 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
89912 file parsing and set FD_CLOEXEC.
89913
89914 2011-11-14 Ulrich Drepper <drepper@gmail.com>
89915
89916 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
89917
89918 2011-11-14 Andreas Schwab <schwab@redhat.com>
89919
89920 * malloc/arena.c (arena_get2): Don't call reused_arena when
89921 _int_new_arena failed.
89922
89923 2011-11-14 Ulrich Drepper <drepper@gmail.com>
89924
89925 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
89926 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
89927 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
89928 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
89929 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
89930 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
89931 to compile strcasecmp and strncasecmp.
89932 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
89933 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
89934
89935 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
89936
89937 2011-11-13 Ulrich Drepper <drepper@gmail.com>
89938
89939 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
89940 locale-defines.sym to gen-as-const-headers.
89941 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
89942 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
89943 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
89944 to compile strcasecmp and strncasecmp.
89945 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
89946 strcasecmp_l and strncasecmp_l.
89947 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
89948 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
89949 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
89950 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
89951 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
89952 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
89953 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
89954 * sysdeps/i386/i686/multiarch/strncase.S: New file.
89955 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
89956 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
89957 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
89958
89959 2011-11-12 Ulrich Drepper <drepper@gmail.com>
89960
89961 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
89962 result of SYSDEP_GETTIME_CPU to retval.
89963 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
89964 parameter list to macro. Remove trailing semicolon. Adjust users.
89965
89966 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
89967 variable.
89968
89969 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
89970 mantissa words.
89971 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
89972
89973 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
89974 from unused variable.
89975
89976 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
89977 DWARF definitions.
89978 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
89979 for assembling.
89980
89981 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
89982 over namespaces.
89983
89984 * sunrpc/rpc_prot.c (rejected): Fix case value.
89985
89986 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
89987 unsigned long long int to avoid warnings in shift.
89988
89989 * posix/regex_internal.c (re_string_reconstruct): Actually use result
89990 of use of trans.
89991 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
89992 variable tmp.
89993
89994 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
89995 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
89996 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
89997
89998 * nis/nis_table.c (nis_list): Use variable of correct type for
89999 result of __follow_path call.
90000
90001 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
90002
90003 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
90004 of math functions ceil, trunc, floor, round, and sqrt, when
90005 avaliable on the platform.
90006 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
90007 name clash.
90008 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
90009 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
90010 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
90011
90012 2011-10-30 Marek Polacek <mpolacek@redhat.com>
90013
90014 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
90015 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
90016
90017 2011-11-11 Roland McGrath <roland@hack.frob.com>
90018
90019 * include/unistd.h: Fix __readlink return type.
90020 Reported by Chris Metcalf <cmetcalf@tilera.com>.
90021
90022 2011-11-11 Ulrich Drepper <drepper@gmail.com>
90023
90024 * stdlib/ucontext.h: Undo last change for makecontext.
90025
90026 2011-11-11 Andreas Schwab <schwab@redhat.com>
90027
90028 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
90029
90030 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
90031 * setjmp/setjmp.h: Mark functions as non-leaf.
90032 * setjmp/bits/setjmp2.h: Likewise.
90033 * stdlib/ucontext.h: Likewise.
90034
90035 2011-11-10 Andreas Schwab <schwab@redhat.com>
90036
90037 * malloc/arena.c (_int_new_arena): Don't increment narenas.
90038 (reused_arena): Don't check arena limit.
90039 (arena_get2): Atomically check arena limit.
90040
90041 2011-11-08 Ulrich Drepper <drepper@gmail.com>
90042
90043 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
90044 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
90045
90046 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
90047 instructions.
90048
90049 2011-11-07 Andreas Schwab <schwab@redhat.com>
90050
90051 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
90052 handler when locking.
90053
90054 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
90055 Fix size of allocated buffer.
90056
90057 2011-11-04 Andreas Schwab <schwab@redhat.com>
90058
90059 [BZ #10103]
90060 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
90061 declarations for long double functions.
90062 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
90063
90064 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
90065
90066 2011-11-03 Andreas Schwab <schwab@redhat.com>
90067
90068 * nscd/nscd.c (main): Don't start AVC thread until credentials are
90069 installed.
90070
90071 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
90072 is disabled.
90073
90074 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
90075
90076 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
90077
90078 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
90079
90080 * include/alloca.h (stackinfo_alloca_round): Define.
90081 (extend_alloca): Use it.
90082 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
90083 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
90084 here.
90085
90086 * scripts/check-local-headers.sh: Ignore libaudit.h.
90087
90088 * nscd/Makefile (extra-objs): Make recursively expanded.
90089
90090 2011-11-01 Ulrich Drepper <drepper@gmail.com>
90091
90092 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
90093 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
90094
90095 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
90096 * posix/tst-rfc3484-2.c: Likewise.
90097 * posix/tst-rfc3484-3.c: Likewise.
90098
90099 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
90100 process_vm_writev.
90101 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
90102 process_vm_writev.
90103 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
90104 process_vm_writev from libc using GLIBC_2.15 version.
90105
90106 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
90107
90108 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
90109
90110 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
90111 stack usage.
90112
90113 2011-10-31 Ulrich Drepper <drepper@gmail.com>
90114
90115 [BZ #13367]
90116 * nss/getent.c (initgroups_keys): Show error message in case no group
90117 names are given.
90118
90119 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
90120 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
90121 __bump_nl_timestamp.
90122 * nscd/connections (nscd_init): When host database is served open
90123 netlink socket and request notification about configuration changes.
90124 (main_loop_poll): Track netlink file descriptor and bump timestamp
90125 in case data becomes available.
90126 (main_loop_epoll): Likewise.
90127 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
90128 (database_pers_head): Add extra_data fileds.
90129 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
90130 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
90131 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
90132 Adjust caller.
90133 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
90134 in6ai data, call __free_in6ai.
90135 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
90136 Add -DHAVE_NETLINK.
90137 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
90138 interface information. Reuse previous data if netlink timestamp
90139 is not changed.
90140 (__bump_nl_timestamp): New function.
90141 (__free_in6ai): New function.
90142
90143 2011-10-30 Ulrich Drepper <drepper@gmail.com>
90144
90145 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
90146 close_not_cancel_no_status here.
90147 (__check_pf): Reorganize code a bit to not call close twice if OOM.
90148
90149 2011-10-29 Ulrich Drepper <drepper@gmail.com>
90150
90151 [BZ #13276]
90152 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
90153 return value.
90154
90155 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
90156 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
90157 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
90158
90159 2011-07-03 Andreas Jaeger <aj@suse.de>
90160
90161 [BZ #10709]
90162 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
90163 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
90164 * math/libm-test.inc (sin_test): Add test case.
90165
90166 2011-10-29 Ulrich Drepper <drepper@gmail.com>
90167
90168 [BZ #13337]
90169 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
90170 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90171
90172 * elf/chroot_canon.c (chroot_canon): Cleanups.
90173
90174 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
90175
90176 [BZ #13335]
90177 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
90178 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90179
90180 * string/test-strchr.c: Make usable for strchrnul testing.
90181 * string/test-strchrnul.c: New file.
90182 * string/Makefile (strop-tests): Add strchrnul.
90183
90184 * po/it.po: Update from translation team.
90185 * po/es.po: Likewise.
90186
90187 2011-10-28 Ulrich Drepper <drepper@gmail.com>
90188
90189 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
90190 the three constants needed as parameters. Drop the others.
90191 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
90192 __m128i_strloadu_tolower.
90193 Create and initialize variable zero and use it in all the places
90194 where _mm_setzero_si128 was used.
90195
90196 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
90197 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
90198 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
90199 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
90200 anymore.
90201 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
90202 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
90203 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
90204 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
90205 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
90206 __mpranred, __mptan.
90207 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
90208 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
90209 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
90210 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
90211 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
90212 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
90213 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
90214 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
90215 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
90216
90217 2011-10-28 Andreas Schwab <schwab@redhat.com>
90218
90219 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
90220 redefine if SHARED.
90221 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
90222
90223 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
90224 wide char related routines to wcsmbs subdir.
90225
90226 2011-10-27 Andreas Schwab <schwab@redhat.com>
90227
90228 [BZ #13344]
90229 * misc/sys/cdefs.h (__THROWNL): Define.
90230 * posix/unistd.h: Use __THREADNL instead of __THREAD
90231 for memory synchronization functions.
90232
90233 2011-10-26 Roland McGrath <roland@hack.frob.com>
90234
90235 [BZ #13349]
90236 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
90237 doesn't exist.
90238 * manual/stdio.texi (Obstack Streams): Node removed.
90239
90240 2011-10-26 Andreas Schwab <schwab@redhat.com>
90241
90242 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
90243 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90244 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90245
90246 * math/math_private.h (math_force_eval): Allow non-addressable
90247 arguments.
90248 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
90249
90250 2011-10-25 Ulrich Drepper <drepper@gmail.com>
90251
90252 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
90253 file is not needed.
90254
90255 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
90256 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
90257 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
90258 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
90259 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
90260 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
90261 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
90262 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
90263 Add AVX variants.
90264 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
90265 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
90266 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
90267 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
90268 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
90269 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
90270 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
90271 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
90272 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
90273 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
90274 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
90275 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
90276 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
90277 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
90278 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
90279 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
90280 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
90281 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
90282 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
90283
90284 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
90285 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
90286
90287 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
90288 place. Use VEX encoding when compiling for AVX.
90289
90290 2011-10-25 Andreas Schwab <schwab@redhat.com>
90291
90292 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
90293 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
90294
90295 * string/test-strchr.c (do_test): Don't generate NUL bytes.
90296
90297 2011-10-25 Ulrich Drepper <drepper@gmail.com>
90298
90299 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
90300 useless if() expression.
90301 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
90302 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
90303 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
90304 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
90305 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
90306 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90307 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
90308 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
90309 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
90310 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
90311 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
90312 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
90313 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
90314 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
90315 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
90316 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90317 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
90318 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
90319 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
90320
90321 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
90322
90323 2011-10-25 Andreas Schwab <schwab@redhat.com>
90324
90325 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
90326 condition.
90327 * elf/dl-fini.c (_dl_sort_fini): Likewise.
90328
90329 2011-10-25 Ulrich Drepper <drepper@gmail.com>
90330
90331 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
90332 .text section. Avoid duplicate constants.
90333 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
90334 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90335 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
90336 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90337 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90338 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90339 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90340 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90341 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
90342 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
90343 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
90344 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
90345 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
90346 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
90347 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
90348 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
90349 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
90350 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
90351 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
90352 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90353 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
90354 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
90355 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
90356 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
90357 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
90358 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
90359 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
90360 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
90361 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
90362 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
90363 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
90364 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
90365 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
90366 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
90367 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
90368 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
90369 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
90370 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
90371 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
90372 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
90373 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
90374 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
90375 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
90376 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
90377 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
90378
90379 2011-10-24 Ulrich Drepper <drepper@gmail.com>
90380
90381 * sysdeps/x86_64/dla.h: Move to ...
90382 * sysdeps/x86_64/fpu/dla.h: ...here.
90383 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
90384 situations. Use __builtin_fma only for gcc 4.6 and up.
90385
90386 * config.make.in: Add have-mfma4 entry.
90387 * configure.in: Substitute libc_cv_cc_fma4.
90388 * math/Makefile (dbl-only-routines): Add sincostab.
90389 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
90390 Use __sincostab not sincos.
90391 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
90392 name is a macro.
90393 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90394 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90395 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90396 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
90397 using __copysign.
90398 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
90399 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
90400 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
90401 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
90402 and __inv.
90403 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
90404 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
90405 __copysign.
90406 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
90407 define aliases when function name is a macro.
90408 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
90409 sysdeps/ieee754/dbl-64/sincos.tbl.
90410 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
90411 fma4-enabled routines.
90412 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
90413 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
90414 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
90415 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
90416 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
90417 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
90418 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
90419 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
90420 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
90421 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
90422 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
90423 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
90424 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
90425 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
90426 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
90427 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
90428 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
90429 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
90430 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
90431 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
90432 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
90433 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
90434 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
90435 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
90436 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
90437 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
90438 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
90439 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
90440 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
90441 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
90442
90443 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
90444 rename.
90445 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90446 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90447 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90448 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90449 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90450 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90451 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90452 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90453
90454 2011-10-24 Andreas Schwab <schwab@redhat.com>
90455
90456 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
90457
90458 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90459
90460 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
90461
90462 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
90463 prediction.
90464 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
90465
90466 * string/strnlen.c: Don't define STRNLEN, reverse logic.
90467 Remove unused variable magic_bits.
90468 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
90469
90470 * string/strnlen.c: Define and use STRNLEN macro.
90471 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
90472 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
90473 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
90474 * wcsmbs/wcslen.c: Define and use WCSLEN.
90475 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
90476 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
90477 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
90478 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
90479 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
90480 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
90481 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
90482
90483 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90484
90485 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90486 strnlen-sse2-no-bsf.
90487 Rename strlen-no-bsf to strlen-sse2-no-bsf.
90488 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
90489 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
90490 Add strnlen support.
90491 (USE_AS_STRNLEN): New macro.
90492 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
90493 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
90494 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
90495 * sysdeps/x86_64/wcslen.S: New file.
90496
90497 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
90498
90499 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
90500 XMM-moves are used for copying on small sizes.
90501
90502 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90503
90504 * wcsmbs/Makefile (strop-tests): Add wcschr.
90505 * wcsmbs/test-wcschr.c: New file.
90506 * string/test-strchr.c: Update.
90507 Add wcschr support.
90508 (WIDE): New macro.
90509
90510 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90511
90512 * wcsmbs/Makefile (strop-tests): Add wcslen.
90513 * wcsmbs/test-wcslen.c: New file.
90514 * string/test-strlen.c: Update.
90515 Add wcslen support.
90516 (WIDE): New macro.
90517
90518 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90519
90520 * po/it.po: Update from translation team.
90521
90522 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90523
90524 * sysdeps/x86_64/wcscmp.S: Update.
90525 Fix wrong comparison semantics.
90526 wcscmp shall use signed comparison not unsigned.
90527 Don't use substraction to avoid overflow bug.
90528 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
90529 * wcsmbc/wcscmp.c: Likewise.
90530 * string/test-strcmp.c: Likewise.
90531 Add new tests to check cases with negative values.
90532
90533 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90534
90535 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
90536 * sysdeps/x86_64/dla.h: ...here. New file.
90537 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
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/e_sqrt.c: Likewise.
90543 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90544 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90545 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90546
90547 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
90548
90549 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
90550 __ynl_finite aliases.
90551
90552 2011-10-22 Ulrich Drepper <drepper@gmail.com>
90553
90554 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
90555
90556 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
90557 define DLA_FMA.
90558 [DLA_FMA] (EMULV): Use DLA_FMA.
90559 [DLA_FMA] (MUL12): Use EMULV.
90560 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
90561 that are not needed.
90562 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90563 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90564 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90565 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90566 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90567 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90568 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90569
90570 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
90571
90572 * math/s_nan.c: Undef __nan.
90573 * math/s_nanf.c: Undef __nanf.
90574 * math/s_nanl.c: Undef __nanl.
90575 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
90576 "math_private.h".
90577
90578 2011-10-22 Ulrich Drepper <drepper@gmail.com>
90579
90580 * math/s_catan.c: Add branch predictions.
90581 * math/s_catanf.c: Likewise.
90582 * math/s_catanh.c: Likewise.
90583 * math/s_catanhf.c: Likewise.
90584 * math/s_catanhl.c: Likewise.
90585 * math/s_catanl.c: Likewise.
90586 * math/s_cexp.c: Likewise.
90587 * math/s_cexpf.c: Likewise.
90588 * math/s_cexpl.c: Likewise.
90589 * math/s_clog.c: Likewise.
90590 * math/s_clog10.c: Likewise.
90591 * math/s_clog10f.c: Likewise.
90592 * math/s_clog10l.c: Likewise.
90593 * math/s_clogf.c: Likewise.
90594 * math/s_clogl.c: Likewise.
90595 * math/s_csqrt.c: Likewise.
90596 * math/s_csqrtf.c: Likewise.
90597 * math/s_csqrtl.c: Likewise.
90598 * math/s_ctanf.c: Likewise.
90599 * math/s_ctanh.c: Likewise.
90600 * math/s_ctanhf.c: Likewise.
90601 * math/s_ctanhl.c: Likewise.
90602 * math/s_ctanl.c: Likewise.
90603
90604 * math/math_private.h: Define __nan, __nanf, __nanl.
90605 * math/s_cacosh.c: Include <math_private.h>.
90606 * math/s_cacoshl.c: Likewise.
90607 * math/s_casinh.c: Likewise.
90608 * math/s_casinhf.c: Likewise.
90609 * math/s_casinhl.c: Likewise.
90610 * math/s_ccos.c: Rely entire on ccosh.
90611 * math/s_ccosf.c: Rely entire on ccoshf.
90612 * math/s_ccosl.c: Rely entirely on ccoshl.
90613 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
90614 Remove tests for FE_INVALID.
90615 * math/s_ccoshf.c: Likewise.
90616 * math/s_ccoshl.c: Likewise.
90617 * math/s_csin.c: Likewise.
90618 * math/s_csinf.c: Likewise.
90619 * math/s_csinh.c Likewise.
90620 * math/s_csinhf.c: Likewise.
90621 * math/s_csinhl.c: Likewise.
90622 * math/s_csinl.c: Likewise.
90623 * math/s_ctan.c: Likewise.
90624 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
90625 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
90626 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
90627
90628 2011-10-21 Ulrich Drepper <drepper@gmail.com>
90629
90630 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
90631 compilation problems.
90632
90633 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
90634 __builtin_expect.
90635
90636 2011-10-20 Ulrich Drepper <drepper@gmail.com>
90637
90638 * sysdeps/i386/configure.in: Test for -mfma4 option.
90639 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
90640 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
90641 COMMON_CPUID_INDEX_80000001.
90642 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
90643 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
90644 use it if FMA3 is not supported.
90645 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
90646
90647 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
90648 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
90649
90650 2011-10-20 Andreas Schwab <schwab@redhat.com>
90651
90652 [BZ #12892]
90653 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
90654 it would create a cycle with a link time dependency.
90655
90656 2011-10-19 Ulrich Drepper <drepper@gmail.com>
90657
90658 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
90659 instruction.
90660 * string/Makefile (strop-tests): Add rawmemchr.
90661 * string/test-rawmemchr.c: New file.
90662
90663 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
90664 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
90665 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
90666 when compiling str{,n}casecmp and when AVX is available. Hook up
90667 new optimized code in initializers.
90668
90669 2011-10-19 Andreas Schwab <schwab@redhat.com>
90670
90671 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
90672 __feraiseexcept instead of feraiseexcept.
90673
90674 2011-10-18 Ulrich Drepper <drepper@gmail.com>
90675
90676 * math/math_private.h: Define defaults for libc_fetestexcept and
90677 libc_feupdateenv.
90678 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
90679 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
90680 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
90681 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
90682 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
90683 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
90684 libc_fetestexcept and libc_feupdateenv.
90685
90686 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
90687 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
90688 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
90689 * sysdeps/x86_64/fpu/math_private.h: Define special version of
90690 libc_feholdexcept_setround.
90691
90692 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
90693 Add s_nearbyint-c and s_nearbyintf-c.
90694 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
90695 nearbyintf inlines.
90696 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
90697 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
90698 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
90699 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
90700
90701 * math/math_private.h: Define defaults for libc_fegetround,
90702 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
90703 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
90704 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
90705 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
90706 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
90707 standard functions.
90708 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
90709 Remove comments and hacks for old compiler versions.
90710 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
90711 libc_fegetround, libc_fesetround, libc_feholdexcept, and
90712 libc_feholdexceptl.
90713
90714 2011-10-18 Andreas Schwab <schwab@redhat.com>
90715
90716 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
90717 (__feraiseexcept_renamed): Add __NTH.
90718 (feraiseexcept): Add __NTH. Rename local variables to fix
90719 namespace violations.
90720
90721 2011-10-17 Ulrich Drepper <drepper@gmail.com>
90722
90723 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
90724
90725 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
90726
90727 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
90728 recently added interfaces.
90729 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
90730
90731 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
90732 about macro parameter expansion.
90733
90734 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
90735 __NO_MATH_INLINES is defined. Cleanups.
90736
90737 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
90738 and __floorf is target has SSE4.1.
90739 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
90740 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
90741 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
90742 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
90743
90744 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
90745 name.
90746 (floorf): Likewise.
90747
90748 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
90749
90750 2011-10-17 Andreas Schwab <schwab@redhat.com>
90751
90752 * misc/sys/cdefs.h: Fix last change.
90753
90754 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
90755 database lookup.
90756
90757 2011-10-16 Ulrich Drepper <drepper@gmail.com>
90758
90759 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
90760
90761 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
90762 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
90763 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
90764 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
90765 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
90766 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
90767 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
90768 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
90769 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
90770 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
90771 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
90772 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
90773 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
90774 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
90775 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
90776 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
90777 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
90778 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
90779 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
90780 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
90781 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
90782 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
90783
90784 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
90785 ceil, ceilf, floor, floorf.
90786
90787 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
90788 Perform IRELATIVE relocations last.
90789
90790 * elf/do-rel.h: Add another parameter nrelative, replacing the
90791 local variable with the same name. Change name of the function
90792 to end in Rel or Rela (uppercase).
90793 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
90794 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
90795 elf_dynamic_do_##reloc function.
90796
90797 2011-10-15 Ulrich Drepper <drepper@gmail.com>
90798
90799 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
90800 is sufficient, at least on modern CPUs.
90801
90802 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
90803
90804 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
90805 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
90806
90807 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
90808 __expl_finite.
90809 * math/bits/math-finite.h: Add entries for exp.
90810 * math/e_expl.c: Add __*_finite alias.
90811 * sysdeps/i386/fpu/e_exp.S: Likewise.
90812 * sysdeps/i386/fpu/e_expf.S: Likewise.
90813 * sysdeps/i386/fpu/e_expl.c: Likewise.
90814 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90815 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
90816 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
90817 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
90818 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
90819 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
90820 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
90821
90822 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
90823 is sufficient, at least on modern CPUs.
90824
90825 * ctype/ctype-info.c (__ctype_init): Define.
90826 * include/ctype.h (__ctype_init): Declare.
90827 (__ctype_b_loc): The variable is always initialized.
90828 (__ctype_toupper_loc): Likewise.
90829 (__ctype_tolower_loc): Likewise.
90830 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
90831 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
90832
90833 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
90834
90835 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
90836
90837 * configure.in: Also look in $cxxmachine/include for C++ system
90838 headers.
90839
90840 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90841
90842 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
90843 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
90844 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
90845 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
90846 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
90847 (USE_AS_WMEMCMP): New macro.
90848 Fixing indents.
90849 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
90850 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
90851 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
90852 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
90853 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90854 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
90855 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
90856 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
90857 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
90858 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
90859 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
90860 (USE_AS_WMEMCMP): New macro.
90861 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
90862 * sysdeps/string/test-memcmp.c: Update.
90863 Fix simple_wmemcmp.
90864 Add new tests.
90865 * wcsmbs/wmemcmp.c: Update.
90866 (WMEMCMP): New macro.
90867 Fix overflow bug.
90868
90869 2011-10-12 Andreas Jaeger <aj@suse.de>
90870
90871 [BZ #13268]
90872 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
90873
90874 2011-10-15 Ulrich Drepper <drepper@gmail.com>
90875
90876 * libio/iofwide.c (do_length): Avoid warning.
90877
90878 * ctype/ctype.h (__isctype_f): Add missing __THROW.
90879
90880 2011-10-14 Ulrich Drepper <drepper@gmail.com>
90881
90882 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
90883
90884 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
90885 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
90886 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
90887 * sysdeps/i386/i686/fpu/e_log.S: New file.
90888 * sysdeps/i386/i686/fpu/e_logf.S: New file.
90889 * sysdeps/i386/i686/fpu/e_logl.S: New file.
90890
90891 * ctype/ctype.h: Add support for inlined isXXX functions when
90892 compiling C++ code.
90893
90894 2011-10-14 Andreas Schwab <schwab@redhat.com>
90895
90896 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
90897
90898 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
90899
90900 2011-10-13 Roland McGrath <roland@hack.frob.com>
90901
90902 [BZ #13291]
90903 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
90904
90905 2011-10-13 Andreas Schwab <schwab@redhat.com>
90906
90907 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
90908 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
90909 feraiseexcept.
90910
90911 * sysdeps/x86_64/memrchr.S: Check for zero size.
90912
90913 * string/stratcliff.c: Add memrchr tests.
90914
90915 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90916
90917 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90918 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
90919 rawmemchr-sse2 rawmemchr-sse2-bsf.
90920 * sysdeps/i386/i686/multiarch/memchr.S: New file.
90921 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
90922 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
90923 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
90924 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
90925 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
90926 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
90927 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
90928 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
90929 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
90930 * string/memrchr.c (MEMRCHR): New macro.
90931
90932 2011-10-12 Ulrich Drepper <drepper@gmail.com>
90933
90934 Add integration with gcc's -ffinite-math-only and optimize wrapper
90935 functions in libm.
90936 * Versions.def: Define GLIBC_2.15 version for libm.
90937 * math/Makefile (headers): Add bits/math-finite.h.
90938 * math/bits/math-finite.h: New file.
90939 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
90940 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
90941 * math/e_acoshl.c: Add __*_finite alias.
90942 * math/e_acosl.c: Likewise.
90943 * math/e_asinl.c: Likewise.
90944 * math/e_atan2l.c: Likewise.
90945 * math/e_atanhl.c: Likewise.
90946 * math/e_coshl.c: Likewise.
90947 * math/e_exp10.c: Likewise.
90948 * math/e_exp10f.c: Likewise.
90949 * math/e_exp10l.c: Likewise.
90950 * math/e_exp2l.c: Likewise.
90951 * math/e_fmodl.c: Likewise.
90952 * math/e_gammal_r.c: Likewise.
90953 * math/e_hypotl.c: Likewise.
90954 * math/e_j0l.c: Likewise.
90955 * math/e_j1l.c: Likewise.
90956 * math/e_jnl.c: Likewise.
90957 * math/e_lgammal_r.c: Likewise.
90958 * math/e_log10l.c: Likewise.
90959 * math/e_log2l.c: Likewise.
90960 * math/e_logl.c: Likewise.
90961 * math/e_powl.c: Likewise.
90962 * math/e_sinhl.c: Likewise.
90963 * math/e_sqrtl.c: Likewise.
90964 * math/e_scalb.c: Completely rewritten and optimized.
90965 * math/e_scalbf.c: Likewise.
90966 * math/e_scalbl.c: Likewise.
90967 * math/w_acos.c: Likewise.
90968 * math/w_acosf.c: Likewise.
90969 * math/w_acosl.c: Likewise.
90970 * math/w_acosh.c: Likewise.
90971 * math/w_acoshf.c: Likewise.
90972 * math/w_acoshl.c: Likewise.
90973 * math/w_asin.c: Likewise.
90974 * math/w_asinf.c: Likewise.
90975 * math/w_asinl.c: Likewise.
90976 * math/w_atan2.c: Likewise.
90977 * math/w_atan2f.c: Likewise.
90978 * math/w_atan2l.c: Likewise.
90979 * math/w_atanh.c: Likewise.
90980 * math/w_atanhf.c: Likewise.
90981 * math/w_atanhl.c: Likewise.
90982 * math/w_exp10.c: Likewise.
90983 * math/w_exp10f.c: Likewise.
90984 * math/w_exp10l.c: Likewise.
90985 * math/w_fmod.c: Likewise.
90986 * math/w_fmodf.c: Likewise.
90987 * math/w_fmodl.c: Likewise.
90988 * math/w_j0.c: Likewise.
90989 * math/w_j0f.c: Likewise.
90990 * math/w_j0l.c: Likewise.
90991 * math/w_j1.c: Likewise.
90992 * math/w_j1f.c: Likewise.
90993 * math/w_j1l.c: Likewise.
90994 * math/w_jn.c: Likewise.
90995 * math/w_jnf.c: Likewise.
90996 * math/w_log.c: Likewise.
90997 * math/w_logf.c: Likewise.
90998 * math/w_logl.c: Likewise.
90999 * math/w_log10.c: Likewise.
91000 * math/w_log10f.c: Likewise.
91001 * math/w_log10l.c: Likewise.
91002 * math/w_log2.c: Likewise.
91003 * math/w_log2f.c: Likewise.
91004 * math/w_log2l.c: Likewise.
91005 * math/w_pow.c: Likewise.
91006 * math/w_powf.c: Likewise.
91007 * math/w_powl.c: Likewise.
91008 * math/w_remainder.c: Likewise.
91009 * math/w_remainderf.c: Likewise.
91010 * math/w_remainderl.c: Likewise.
91011 * math/w_scalb.c: Likewise.
91012 * math/w_scalbf.c: Likewise.
91013 * math/w_scalbl.c: Likewise.
91014 * math/w_sqrt.c: Likewise.
91015 * math/w_sqrtf.c: Likewise.
91016 * math/w_sqrtl.c: Likewise.
91017 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
91018 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
91019 used.
91020 * math/math_private.h: Declare __kernel_standard_f.
91021 * math/w_cosh.c: Remove cruft and optimize a bit.
91022 * math/w_coshf.c: Likewise.
91023 * math/w_coshl.c: Likewise.
91024 * math/w_exp2.c: Likewise.
91025 * math/w_exp2f.c: Likewise.
91026 * math/w_exp2l.c: Likewise.
91027 * math/w_hypot.c: Likewise.
91028 * math/w_hypotf.c: Likewise.
91029 * math/w_hypotl.c: Likewise.
91030 * math/w_lgamma.c: Likewise.
91031 * math/w_lgamma_r.c: Likewise.
91032 * math/w_lgammaf.c: Likewise.
91033 * math/w_lgammaf_r.c: Likewise.
91034 * math/w_lgammal.c: Likewise.
91035 * math/w_lgammal_r.c: Likewise.
91036 * math/w_sinh.c: Likewise.
91037 * math/w_sinhf.c: Likewise.
91038 * math/w_sinhl.c: Likewise.
91039 * math/w_tgamma.c: Likewise.
91040 * math/w_tgammaf.c: Likewise.
91041 * math/w_tgammal.c: Likewise.
91042 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
91043 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
91044 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
91045 Minor optimizations. Pretty printing. Remove cruft.
91046 * sysdeps/i386/fpu/e_acosf.S: Likewise.
91047 * sysdeps/i386/fpu/e_acosh.S: Likewise.
91048 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
91049 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
91050 * sysdeps/i386/fpu/e_acosl.c: Likewise.
91051 * sysdeps/i386/fpu/e_asin.S: Likewise.
91052 * sysdeps/i386/fpu/e_asinf.S: Likewise.
91053 * sysdeps/i386/fpu/e_atan2.S: Likewise.
91054 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
91055 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
91056 * sysdeps/i386/fpu/e_atanh.S: Likewise.
91057 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
91058 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
91059 * sysdeps/i386/fpu/e_exp10.S: Likewise.
91060 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
91061 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
91062 * sysdeps/i386/fpu/e_exp2.S: Likewise.
91063 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
91064 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
91065 * sysdeps/i386/fpu/e_fmod.S: Likewise.
91066 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
91067 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
91068 * sysdeps/i386/fpu/e_hypot.S: Likewise.
91069 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
91070 * sysdeps/i386/fpu/e_log.S: Likewise.
91071 * sysdeps/i386/fpu/e_log10.S: Likewise.
91072 * sysdeps/i386/fpu/e_log10f.S: Likewise.
91073 * sysdeps/i386/fpu/e_log10l.S: Likewise.
91074 * sysdeps/i386/fpu/e_log2.S: Likewise.
91075 * sysdeps/i386/fpu/e_log2f.S: Likewise.
91076 * sysdeps/i386/fpu/e_log2l.S: Likewise.
91077 * sysdeps/i386/fpu/e_logf.S: Likewise.
91078 * sysdeps/i386/fpu/e_logl.S: Likewise.
91079 * sysdeps/i386/fpu/e_pow.S: Likewise.
91080 * sysdeps/i386/fpu/e_powf.S: Likewise.
91081 * sysdeps/i386/fpu/e_powl.S: Likewise.
91082 * sysdeps/i386/fpu/e_remainder.S: Likewise.
91083 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
91084 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
91085 * sysdeps/i386/fpu/e_scalb.S: Likewise.
91086 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
91087 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
91088 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
91089 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
91090 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
91091 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
91092 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
91093 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
91094 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
91095 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
91096 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
91097 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
91098 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
91099 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
91100 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
91101 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
91102 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
91103 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
91104 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
91105 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
91106 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
91107 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
91108 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
91109 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
91110 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
91111 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
91112 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
91113 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
91114 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
91115 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
91116 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
91117 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
91118 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
91119 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
91120 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
91121 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
91122 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
91123 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
91124 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
91125 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
91126 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
91127 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
91128 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
91129 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
91130 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
91131 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
91132 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
91133 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
91134 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
91135 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
91136 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
91137 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
91138 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
91139 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
91140 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
91141 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
91142 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
91143 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
91144 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
91145 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
91146 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
91147 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
91148 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
91149 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
91150 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
91151 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
91152 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
91153 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
91154 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
91155 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
91156 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
91157 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
91158 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
91159 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
91160 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
91161 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
91162 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
91163 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
91164 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
91165 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
91166 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
91167 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
91168 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
91169 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
91170 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
91171 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
91172 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
91173 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
91174 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
91175 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
91176 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
91177 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
91178 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
91179 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
91180 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
91181 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
91182 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
91183 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
91184 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
91185 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
91186 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
91187 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
91188 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
91189 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
91190 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
91191 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
91192 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
91193 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
91194 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
91195 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
91196 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
91197 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
91198 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
91199 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
91200 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
91201 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
91202 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
91203 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
91204 (__isnanf): Likewise.
91205 (__isinf_ns): Likewise.
91206 (__isinf_nsf): Likewise.
91207 (__finite): Likewise.
91208 (__finitef): Likewise.
91209 (__ieee754_sqrt): Define as macro.
91210 (__ieee754_sqrtf): Define as macro.
91211 (__ieee754_sqrtl): Define as macro.
91212 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
91213 inlined copy.
91214 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
91215 __FINITE_MATH_ONLY__ consistent.
91216 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
91217
91218 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
91219
91220 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
91221 of rawmemchr.
91222
91223 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
91224
91225 2011-10-09 Ulrich Drepper <drepper@gmail.com>
91226
91227 * po/ja.po: Update from translation team.
91228
91229 2011-10-08 Roland McGrath <roland@hack.frob.com>
91230
91231 * locale/programs/locarchive.c (prepare_address_space): New function.
91232 (create_archive, enlarge_archive, open_archive): Use it.
91233
91234 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
91235 inside [SHARED], where it is used.
91236
91237 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
91238
91239 * nss/getent.c (netgroup_keys): Remove unused variable.
91240 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
91241
91242 2011-10-08 Ulrich Drepper <drepper@gmail.com>
91243
91244 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
91245 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
91246 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
91247 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
91248 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
91249 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
91250 * math/Makefile (libm-calls): Add s_isinf_ns.
91251 * math/divtc3.c: Use __isinf_nsl instead of isinf.
91252 * math/multc3.c: Likewise.
91253 * math/s_casin.c: Likewise.
91254 * math/s_casinf.c: Likewise.
91255 * math/s_casinl.c: Likewise.
91256 * math/s_ccos.c: Likewise.
91257 * math/s_ccosf.c: Likewise.
91258 * math/s_ccosl.c: Likewise.
91259 * math/s_ctan.c: Likewise.
91260 * math/s_ctanf.c: Likewise.
91261 * math/s_ctanh.c: Likewise.
91262 * math/s_ctanhf.c: Likewise.
91263 * math/s_ctanhl.c: Likewise.
91264 * math/s_ctanl.c: Likewise.
91265 * math/w_fmod.c: Likewise.
91266 * math/w_fmodf.c: Likewise.
91267 * math/w_fmodl.c: Likewise.
91268 * math/w_remainder.c: Likewise.
91269 * math/w_remainderf.c: Likewise.
91270 * math/w_remainderl.c: Likewise.
91271 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
91272 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
91273 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
91274 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
91275 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
91276 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
91277 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
91278 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
91279
91280 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
91281 of the number.
91282 * stdio-common/printf_fphex.c: Likewise.
91283 * stdio-common/printf_size.c: Likewise.
91284
91285 * math/e_exp10.c: Include math_private.h using <...> not "...".
91286 * math/e_exp10f.c: Likewise.
91287 * math/e_exp10l.c: Likewise.
91288 * math/e_exp2l.c: Likewise.
91289 * math/e_j0l.c: Likewise.
91290 * math/e_j1l.c: Likewise.
91291 * math/e_jnl.c: Likewise.
91292 * math/e_lgammal_r.c: Likewise.
91293 * math/e_rem_pio2l.c: Likewise.
91294 * math/e_scalb.c: Likewise.
91295 * math/e_scalbf.c: Likewise.
91296 * math/e_scalbl.c: Likewise.
91297 * math/k_cosl.c: Likewise.
91298 * math/k_sinl.c: Likewise.
91299 * math/k_tanl.c: Likewise.
91300 * math/s_cacoshf.c: Likewise.
91301 * math/s_catan.c: Likewise.
91302 * math/s_catanf.c: Likewise.
91303 * math/s_catanh.c: Likewise.
91304 * math/s_catanhf.c: Likewise.
91305 * math/s_catanhl.c: Likewise.
91306 * math/s_catanl.c: Likewise.
91307 * math/s_ccosh.c: Likewise.
91308 * math/s_ccoshf.c: Likewise.
91309 * math/s_ccoshl.c: Likewise.
91310 * math/s_cexp.c: Likewise.
91311 * math/s_cexpf.c: Likewise.
91312 * math/s_cexpl.c: Likewise.
91313 * math/s_clog.c: Likewise.
91314 * math/s_clog10.c: Likewise.
91315 * math/s_clog10f.c: Likewise.
91316 * math/s_clog10l.c: Likewise.
91317 * math/s_clogf.c: Likewise.
91318 * math/s_clogl.c: Likewise.
91319 * math/s_csin.c: Likewise.
91320 * math/s_csinf.c: Likewise.
91321 * math/s_csinh.c: Likewise.
91322 * math/s_csinhf.c: Likewise.
91323 * math/s_csinhl.c: Likewise.
91324 * math/s_csinl.c: Likewise.
91325 * math/s_csqrt.c: Likewise.
91326 * math/s_csqrtf.c: Likewise.
91327 * math/s_csqrtl.c: Likewise.
91328 * math/s_ctan.c: Likewise.
91329 * math/s_ctanf.c: Likewise.
91330 * math/s_ctanh.c: Likewise.
91331 * math/s_ctanhf.c: Likewise.
91332 * math/s_ctanhl.c: Likewise.
91333 * math/s_ctanl.c: Likewise.
91334 * math/s_ldexp.c: Likewise.
91335 * math/s_ldexpf.c: Likewise.
91336 * math/s_ldexpl.c: Likewise.
91337 * math/s_significand.c: Likewise.
91338 * math/s_significandf.c: Likewise.
91339 * math/s_significandl.c: Likewise.
91340 * math/w_acos.c: Likewise.
91341 * math/w_acosf.c: Likewise.
91342 * math/w_acosh.c: Likewise.
91343 * math/w_acoshf.c: Likewise.
91344 * math/w_acoshl.c: Likewise.
91345 * math/w_acosl.c: Likewise.
91346 * math/w_asin.c: Likewise.
91347 * math/w_asinf.c: Likewise.
91348 * math/w_asinl.c: Likewise.
91349 * math/w_atan2.c: Likewise.
91350 * math/w_atan2f.c: Likewise.
91351 * math/w_atan2l.c: Likewise.
91352 * math/w_atanh.c: Likewise.
91353 * math/w_atanhf.c: Likewise.
91354 * math/w_atanhl.c: Likewise.
91355 * math/w_cosh.c: Likewise.
91356 * math/w_coshf.c: Likewise.
91357 * math/w_coshl.c: Likewise.
91358 * math/w_dremf.c: Likewise.
91359 * math/w_exp10.c: Likewise.
91360 * math/w_exp10f.c: Likewise.
91361 * math/w_exp10l.c: Likewise.
91362 * math/w_exp2.c: Likewise.
91363 * math/w_exp2f.c: Likewise.
91364 * math/w_fmod.c: Likewise.
91365 * math/w_fmodf.c: Likewise.
91366 * math/w_fmodl.c: Likewise.
91367 * math/w_hypot.c: Likewise.
91368 * math/w_hypotf.c: Likewise.
91369 * math/w_hypotl.c: Likewise.
91370 * math/w_j0.c: Likewise.
91371 * math/w_j0f.c: Likewise.
91372 * math/w_j0l.c: Likewise.
91373 * math/w_j1.c: Likewise.
91374 * math/w_j1f.c: Likewise.
91375 * math/w_j1l.c: Likewise.
91376 * math/w_jn.c: Likewise.
91377 * math/w_jnf.c: Likewise.
91378 * math/w_jnl.c: Likewise.
91379 * math/w_lgamma.c: Likewise.
91380 * math/w_lgamma_r.c: Likewise.
91381 * math/w_lgammaf.c: Likewise.
91382 * math/w_lgammaf_r.c: Likewise.
91383 * math/w_lgammal.c: Likewise.
91384 * math/w_lgammal_r.c: Likewise.
91385 * math/w_log.c: Likewise.
91386 * math/w_log10.c: Likewise.
91387 * math/w_log10f.c: Likewise.
91388 * math/w_log10l.c: Likewise.
91389 * math/w_log2.c: Likewise.
91390 * math/w_log2f.c: Likewise.
91391 * math/w_log2l.c: Likewise.
91392 * math/w_logf.c: Likewise.
91393 * math/w_logl.c: Likewise.
91394 * math/w_pow.c: Likewise.
91395 * math/w_powf.c: Likewise.
91396 * math/w_powl.c: Likewise.
91397 * math/w_remainder.c: Likewise.
91398 * math/w_remainderf.c: Likewise.
91399 * math/w_remainderl.c: Likewise.
91400 * math/w_scalb.c: Likewise.
91401 * math/w_scalbf.c: Likewise.
91402 * math/w_scalbl.c: Likewise.
91403 * math/w_sinh.c: Likewise.
91404 * math/w_sinhf.c: Likewise.
91405 * math/w_sinhl.c: Likewise.
91406 * math/w_sqrt.c: Likewise.
91407 * math/w_sqrtf.c: Likewise.
91408 * math/w_sqrtl.c: Likewise.
91409 * math/w_tgamma.c: Likewise.
91410 * math/w_tgammaf.c: Likewise.
91411 * math/w_tgammal.c: Likewise.
91412
91413 * po/ja.po: Update from translation team.
91414
91415 2011-09-29 Andreas Jaeger <aj@suse.de>
91416
91417 [BZ #13179]
91418 * sunrpc/netname.c (netname2host): Fix logic.
91419
91420 [BZ #6779]
91421 [BZ #6783]
91422 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
91423 correctly.
91424 * math/w_remainder.c (__remainder): Likewise.
91425 * math/w_remainderf.c (__remainderf): Likewise.
91426 * math/libm-test.inc (remainder_test): Add test cases.
91427
91428 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
91429
91430 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
91431 sdiv_qrnnd.
91432
91433 2011-10-07 Ulrich Drepper <drepper@gmail.com>
91434
91435 * string/test-memcmp.c: Avoid unncessary #defines.
91436 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
91437
91438 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91439
91440 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
91441 Use new sse2 version for core i3 - i7 as it's faster
91442 than sse42 version.
91443 (bit_Prefer_PMINUB_for_stringop): New.
91444 * sysdeps/x86_64/rawmemchr.S: Update.
91445 Replace with faster SSE2 version.
91446 * sysdeps/x86_64/memrchr.S: New file.
91447 * sysdeps/x86_64/memchr.S: Update.
91448 Replace with faster SSE2 version.
91449
91450 2011-09-12 Marek Polacek <mpolacek@redhat.com>
91451
91452 * elf/dl-load.c (lose): Add cast to avoid warning.
91453
91454 2011-10-07 Ulrich Drepper <drepper@gmail.com>
91455
91456 * po/ca.po: Update from translation team.
91457
91458 * inet/getnetgrent_r.c: Hook up nscd.
91459 * nscd/Makefile (routines): Add nscd_netgroup.
91460 (nscd-modules): Add netgroupcache.
91461 (CFLAGS-netgroupcache.c): Define.
91462 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
91463 (cache_search): Add const to second parameter.
91464 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
91465 INNETGR.
91466 (dbs): Add netgrdb entry.
91467 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
91468 (verify_persistent_db): Handle netgrdb.
91469 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
91470 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
91471 GETFDNETGR.
91472 (netgroup_response_header): Define.
91473 (innetgroup_response_header): Define.
91474 (datahead): Add netgroup_response_header and innetgroup_response_header
91475 elements.
91476 * nscd/nscd.conf: Add entries for netgroup cache.
91477 * nscd/nscd.h (dbtype): Add netgrdb.
91478 (_PATH_NSCD_NETGROUP_DB): Define.
91479 (netgroup_iov_disabled): Declare.
91480 (xmalloc, xcalloc, xrealloc): Move declarations here.
91481 (cache_search): Adjust prototype.
91482 Add netgroup-related prototypes.
91483 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
91484 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
91485 (__nscd_innetgr): Declare.
91486 * nscd/selinux.c (perms): Use access_vector_t as element type and
91487 add netgroup-related initializers.
91488 * nscd/netgroupcache.c: New file.
91489 * nscd/nscd_netgroup.c: New file.
91490 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
91491 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
91492 For four parameters use innetgr.
91493 * nss/nss_files/files-init.c: Add definition and callback for netgr.
91494 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
91495 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
91496 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
91497
91498 * nscd/connections.c (register_traced_file): Don't register file
91499 for disabled databases.
91500
91501 2011-10-06 Ulrich Drepper <drepper@gmail.com>
91502
91503 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
91504
91505 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
91506 from tree and freeing node.
91507
91508 2011-09-25 Jiri Olsa <jolsa@redhat.com>
91509
91510 * nss/nsswitch.c (__nss_database_lookup): Handle
91511 nss_parse_service_list out of memory case.
91512
91513 2011-09-15 Jiri Olsa <jolsa@redhat.com>
91514
91515 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
91516 out of memory case.
91517
91518 2011-10-04 Andreas Schwab <schwab@redhat.com>
91519
91520 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
91521 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
91522 pass it down.
91523 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
91524 elf_machine_rela, elf_machine_lazy_rel.
91525 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
91526 (ELF_DYNAMIC_DO_REL): Likewise.
91527 (ELF_DYNAMIC_DO_RELA): Likewise.
91528 (ELF_DYNAMIC_RELOCATE): Likewise.
91529 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
91530 to ELF_DYNAMIC_DO_REL.
91531 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
91532 (dl_main): In trace mode always set __RTLD_NOIFUNC.
91533 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
91534 elf_machine_rela.
91535 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
91536 skip_ifunc, don't call ifunc function if non-zero.
91537 (elf_machine_rela): Likewise.
91538 (elf_machine_lazy_rel): Likewise.
91539 (elf_machine_lazy_rela): Likewise.
91540 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
91541 (elf_machine_lazy_rel): Likewise.
91542 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
91543 Likewise.
91544 (elf_machine_lazy_rel): Likewise.
91545 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91546 Likewise.
91547 (elf_machine_lazy_rel): Likewise.
91548 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
91549 (elf_machine_lazy_rel): Likewise.
91550 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
91551 (elf_machine_lazy_rel): Likewise.
91552 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
91553 (elf_machine_lazy_rel): Likewise.
91554 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
91555 (elf_machine_lazy_rel): Likewise.
91556 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
91557 (elf_machine_lazy_rel): Likewise.
91558 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
91559 (elf_machine_lazy_rel): Likewise.
91560
91561 2011-09-28 Ulrich Drepper <drepper@gmail.com>
91562
91563 * nss/nss_files/files-init.c (_nss_files_init): Use static
91564 initialization for all the *_traced_file variables.
91565
91566 2011-09-28 Andreas Schwab <schwab@redhat.com>
91567
91568 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91569
91570 2011-09-27 Roland McGrath <roland@hack.frob.com>
91571
91572 [BZ #13226]
91573 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
91574
91575 2011-09-27 Andreas Schwab <schwab@redhat.com>
91576
91577 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
91578 Reread the line before reparsing it.
91579
91580 2011-09-26 Andreas Schwab <schwab@redhat.com>
91581
91582 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
91583
91584 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
91585 Maxim Kuvyrkov <maxim@codesourcery.com>
91586 Joseph Myers <joseph@codesourcery.com>
91587
91588 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
91589 if needed for __stack_chk_guard.
91590
91591 2011-09-19 Roland McGrath <roland@hack.frob.com>
91592
91593 * sysdeps/posix/spawni.c (script_execute): Always define it.
91594 It will be optimized away if unused.
91595 (maybe_script_execute): New function.
91596 (__spawni): Call it.
91597
91598 * Makerules: Don't include tls.make.
91599 (config-tls): Always set to thread.
91600 * tls.make.c: File removed.
91601
91602 2011-09-19 Mike Frysinger <vapier@gentoo.org>
91603
91604 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
91605 * config.make.in (CPPFLAGS-config): New substituted variable.
91606
91607 2011-09-15 Ulrich Drepper <drepper@gmail.com>
91608
91609 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
91610
91611 [BZ #13192]
91612 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
91613 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
91614
91615 2011-09-15 Roland McGrath <roland@hack.frob.com>
91616
91617 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
91618 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
91619 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
91620 (CALL_FAIL): Likewise.
91621 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
91622 (CALL_FAIL): Macro removed.
91623 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
91624
91625 2011-09-15 Ulrich Drepper <drepper@gmail.com>
91626
91627 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
91628 for __FINITE_MATH_ONLY__ == 1.
91629
91630 2011-09-15 Andreas Schwab <schwab@redhat.com>
91631
91632 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
91633 __ieee754_sqrt instead of sqrt.
91634 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
91635 __ieee754_sqrtf instead of sqrtf.
91636 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
91637 __floorf instead of floorf.
91638 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
91639 __floorf, __truncf instead of floorf, truncf.
91640
91641 2011-09-14 Ulrich Drepper <drepper@gmail.com>
91642
91643 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
91644
91645 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
91646 __extern_always_inline.
91647 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
91648 32-bit.
91649
91650 2011-09-14 Andreas Schwab <schwab@redhat.com>
91651
91652 * elf/rtld.c (dl_main): Also relocate in dependency order when
91653 doing symbol dependency testing.
91654
91655 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
91656
91657 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91658 Always define `refsym'.
91659
91660 2011-09-13 Andreas Schwab <schwab@redhat.com>
91661
91662 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
91663 (__FD_ELT): Renamed from __FDELT.
91664 * misc/bits/select2.h (__FD_ELT): Likewise.
91665 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
91666 __FD_MASK instead of __FDELT, __FDMASK.
91667 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
91668 Likewise.
91669 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
91670 Likewise.
91671
91672 * elf/Makefile (gen-ldd): Fix pattern.
91673
91674 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
91675 (init_tls): Likewise.
91676
91677 2011-09-12 Ulrich Drepper <drepper@gmail.com>
91678
91679 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
91680
91681 2011-09-12 Andreas Schwab <schwab@redhat.com>
91682
91683 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
91684 `struct cmsghdr *' instead of `void *'.
91685 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
91686 Likewise.
91687
91688 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
91689
91690 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
91691 if non-absolute.
91692 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
91693 ldd_rewrite_script.
91694
91695 2011-09-11 Ulrich Drepper <drepper@gmail.com>
91696
91697 * configure.in: Remove --with-tls option.
91698 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
91699 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
91700 out in case it is missing.
91701 * sysdeps/ia64/elf/configure.in: Likewise.
91702 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
91703 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
91704 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
91705 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
91706 * sysdeps/sh/elf/configure.in: Likewise.
91707 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
91708 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
91709 * sysdeps/x86_64/elf/configure.in: Likewise.
91710 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
91711 * sysdeps/mach/hurd/tls.h: Likewise.
91712
91713 [BZ #13067]
91714 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
91715
91716 [BZ #13090]
91717 * configure.in: Fix use of AC_INIT.
91718
91719 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
91720
91721 2011-09-10 Ulrich Drepper <drepper@gmail.com>
91722
91723 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
91724 __set_errno.
91725 * malloc/hooks.c: Likewise.
91726
91727 [BZ #11929]
91728 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
91729 variables statically.
91730 (narenas): Initialize.
91731 (list_lock): Initialize.
91732 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
91733 initializtion of main_arena and list_lock. Small cleanups.
91734 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
91735 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
91736 Add initializers to main_arena and mp_.
91737 (malloc_state): Remove pagesize member. Change all users to use
91738 GLRO(dl_pagesize).
91739
91740 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
91741 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
91742 is always initialized.
91743
91744 * malloc/malloc.c: Removed unused configurations and dead code.
91745 * malloc/arena.c: Likewise.
91746 * malloc/hooks.c: Likewise.
91747 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
91748
91749 * include/tls.h: Removed. USE___THREAD must always be defined.
91750 * bits/libc-tsd.h: Don't handle !USE___THREAD.
91751 * elf/dl-libc.c: Likewise.
91752 * elf/dl-tsd.c: Likewise.
91753 * include/errno.h: Likewise.
91754 * include/netdb.h: Likewise.
91755 * include/resolv.h: Likewise.
91756 * inet/herrno-loc.c: Likewise.
91757 * inet/herrno.c: Likewise.
91758 * malloc/arena.c: Likewise.
91759 * malloc/hooks.c: Likewise.
91760 * malloc/malloc.c: Likewise.
91761 * resolv/res-state.c: Likewise.
91762 * resolv/res_libc.c: Likewise.
91763 * sysdeps/i386/dl-machine.h: Likewise.
91764 * sysdeps/ia64/dl-machine.h: Likewise.
91765 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
91766 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
91767 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
91768 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
91769 * sysdeps/sh/dl-machine.h: Likewise.
91770 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
91771 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
91772 * sysdeps/unix/i386/sysdep.S: Likewise.
91773 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
91774 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
91775 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
91776 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
91777 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
91778 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
91779 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
91780 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
91781 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
91782 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
91783 * sysdeps/unix/x86_64/sysdep.S: Likewise.
91784 * sysdeps/x86_64/dl-machine.h: Likewise.
91785 * tls.make.c: Likewise.
91786
91787 * configure.in: Remove --with-__thread option. Make tests for
91788 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
91789 tls_model attribute fail if no support is available. Remove
91790 USE_IN_LIBIO.
91791 * Makeconfig: Adjust for dropped configure option. All features are
91792 now mandatory.
91793 * Makerules: Likewise.
91794 * Versions.def: Likewise.
91795 * argp/argp-fmtstream.c: Likewise.
91796 * argp/argp-fmtstream.h: Likewise.
91797 * argp/argp-help.c: Likewise.
91798 * assert/assert.c: Likewise.
91799 * config.h.in: Likewise.
91800 * config.make.in: Likewise.
91801 * configure: Likewise.
91802 * configure.in: Likewise.
91803 * csu/Versions: Likewise.
91804 * csu/init.c: Likewise.
91805 * elf/tst-audit2.c: Likewise.
91806 * elf/tst-tls10.c: Likewise.
91807 * elf/tst-tls10.h: Likewise.
91808 * elf/tst-tls11.c: Likewise.
91809 * elf/tst-tls12.c: Likewise.
91810 * elf/tst-tls14.c: Likewise.
91811 * elf/tst-tlsmod11.c: Likewise.
91812 * elf/tst-tlsmod12.c: Likewise.
91813 * elf/tst-tlsmod13.c: Likewise.
91814 * elf/tst-tlsmod13a.c: Likewise.
91815 * elf/tst-tlsmod14a.c: Likewise.
91816 * elf/tst-tlsmod15b.c: Likewise.
91817 * elf/tst-tlsmod16a.c: Likewise.
91818 * elf/tst-tlsmod16b.c: Likewise.
91819 * elf/tst-tlsmod7.c: Likewise.
91820 * elf/tst-tlsmod8.c: Likewise.
91821 * elf/tst-tlsmod9.c: Likewise.
91822 * gmon/gmon.c: Likewise.
91823 * grp/fgetgrent_r.c: Likewise.
91824 * grp/putgrent.c: Likewise.
91825 * hurd/fopenport.c: Likewise.
91826 * include/libc-symbols.h: Likewise.
91827 * include/tls.h: Likewise.
91828 * intl/gettextP.h: Likewise.
91829 * intl/loadinfo.h: Likewise.
91830 * locale/global-locale.c: Likewise.
91831 * locale/localeinfo.h: Likewise.
91832 * mach/devstream.c: Likewise.
91833 * malloc/arena.c: Likewise.
91834 * malloc/set-freeres.c: Likewise.
91835 * misc/err.c: Likewise.
91836 * misc/getttyent.c: Likewise.
91837 * misc/mntent_r.c: Likewise.
91838 * posix/getopt.c: Likewise.
91839 * posix/wordexp.c: Likewise.
91840 * pwd/fgetpwent_r.c: Likewise.
91841 * resolv/Versions: Likewise.
91842 * resolv/res_hconf.c: Likewise.
91843 * shadow/fgetspent_r.c: Likewise.
91844 * shadow/putspent.c: Likewise.
91845 * stdio-common/printf_fphex.c: Likewise.
91846 * stdio-common/tmpfile.c: Likewise.
91847 * stdlib/abort.c: Likewise.
91848 * stdlib/fmtmsg.c: Likewise.
91849 * sunrpc/auth_unix.c: Likewise.
91850 * sunrpc/clnt_perr.c: Likewise.
91851 * sunrpc/clnt_tcp.c: Likewise.
91852 * sunrpc/clnt_udp.c: Likewise.
91853 * sunrpc/clnt_unix.c: Likewise.
91854 * sunrpc/openchild.c: Likewise.
91855 * sunrpc/svc_simple.c: Likewise.
91856 * sunrpc/svc_tcp.c: Likewise.
91857 * sunrpc/svc_udp.c: Likewise.
91858 * sunrpc/svc_unix.c: Likewise.
91859 * sunrpc/xdr.c: Likewise.
91860 * sunrpc/xdr_array.c: Likewise.
91861 * sunrpc/xdr_rec.c: Likewise.
91862 * sunrpc/xdr_ref.c: Likewise.
91863 * sunrpc/xdr_stdio.c: Likewise.
91864
91865 2011-09-09 Ulrich Drepper <drepper@gmail.com>
91866
91867 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91868
91869 2011-07-03 Andreas Jaeger <aj@suse.de>
91870
91871 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
91872 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
91873 regenerate with gen-libm-tests.pl.
91874
91875 2010-05-12 Petr Baudis <pasky@suse.cz>
91876
91877 [BZ #11589]
91878 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
91879 around j0() zero points by switching to j1().
91880 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
91881 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
91882 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
91883 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
91884
91885 2011-09-09 Ulrich Drepper <drepper@gmail.com>
91886
91887 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
91888 instead of 0.
91889 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
91890 instead of 0.
91891 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
91892 Patch in part by Pavel Roskin <proski@gnu.org>.
91893
91894 [BZ #13138]
91895 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
91896 realloc.
91897 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
91898 Free memory block if necessary.
91899
91900 [BZ #12847]
91901 * libio/genops.c (INTDEF): For string streams the _lock pointer can
91902 be NULL. Don't lock in this case.
91903
91904 2011-09-09 Roland McGrath <roland@hack.frob.com>
91905
91906 * elf/elf.h (ELFOSABI_GNU): New macro.
91907 (ELFOSABI_LINUX): Define to that.
91908
91909 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
91910
91911 * string/strncat.c (strncat): Undef the symbol in case it has been
91912 defined in bits/string.h.
91913
91914 2011-09-09 Ulrich Drepper <drepper@gmail.com>
91915
91916 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
91917
91918 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
91919 link map.
91920
91921 2011-08-17 Andreas Jaeger <aj@suse.de>
91922
91923 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
91924
91925 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
91926 Ian Lance Taylor <iant@google.com>
91927
91928 * math/libm-test.inc (lround_test): New testcase.
91929 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
91930
91931 2011-09-08 Ulrich Drepper <drepper@gmail.com>
91932
91933 * Makefile: Remove support for automatic cvs check-ins.
91934 * Makerules: Likewise.
91935 * config.make.in: Likewise.
91936 * configure.in: Likewise.
91937 * intl/Makefile: Likewise.
91938 * locale/Makefile: Likewise.
91939 * po/Makefile: Likewise.
91940 * posix/Makefile: Likewise.
91941 * sysdeps/gnu/Makefile: Likewise.
91942 * sysdeps/mach/hurd/Makefile: Likewise.
91943 * sysdeps/sparc/sparc32/Makefile: Likewise.
91944
91945 [BZ #13118]
91946 * posix/Makefile (bug-regex32-ENV): Define.
91947 Patch by John Stanley <jpsinthemix@verizon.net>.
91948
91949 * misc/Makefile (headers): Add bits/select2.h.
91950 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
91951 * misc/bits/select2.h: New file.
91952 * include/bits/select2.h: New file.
91953 * debug/Makefile (routines): Add fdelt_chk.
91954 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
91955 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
91956 FD_ISSET.
91957 * debug/fdelt_chk.c: New file.
91958
91959 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
91960 * wcsmbs/test-wmemcmp.c: Likewise.
91961 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
91962 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
91963
91964 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91965
91966 * string/Makefile (strop-tests): Add memcmp.
91967 * string/test-wmemcmp.c: New file.
91968 * string/test-memcmp.c: Add wmemcmp support.
91969
91970 2011-09-08 Roland McGrath <roland@hack.frob.com>
91971
91972 [BZ #13153]
91973 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
91974 2011-07-19 change.
91975
91976 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
91977 garbage value in a __mach_port_mod_refs call in the cases of the
91978 task-self and thread-self ports.
91979
91980 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
91981
91982 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
91983
91984 2011-09-08 Andreas Schwab <schwab@redhat.com>
91985
91986 * elf/dl-load.c (lose): Check for non-null L.
91987
91988 2011-09-07 Ulrich Drepper <drepper@gmail.com>
91989
91990 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
91991
91992 * elf/dl-libc.c (dlerror_run): Pass back error code from
91993 dl_catch_error.
91994
91995 [BZ #13123]
91996 * elf/dl-load.c (lose): Free l_origin if it is valid.
91997
91998 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
91999 names.
92000 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
92001 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92002 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92003 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92004 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
92005 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
92006
92007 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92008
92009 * sysdeps/powerpc/fpu/e_hypot.c: New file.
92010 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
92011 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
92012 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
92013 * sysdeps/powerpc/fpu/k_cosf.c: New file.
92014 * sysdeps/powerpc/fpu/k_sinf.c: New file.
92015 * sysdeps/powerpc/fpu/s_cosf.c: New file.
92016 * sysdeps/powerpc/fpu/s_sinf.c: New file.
92017 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
92018 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
92019
92020 2011-08-15 Alan Modra <amodra@gmail.com>
92021
92022 [BZ #13092]
92023 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
92024 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
92025 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
92026 ppc_mcount to static-only-routines.
92027 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
92028 __mcount_internal.
92029 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
92030 __mcount_internal with usual JUMPTARGET. Remove useless nop.
92031
92032 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
92033
92034 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
92035 for finite and infinity parameters.
92036
92037 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
92038
92039 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
92040 and add nop instructions for throughput optimization.
92041 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
92042
92043 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
92044
92045 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
92046 aligned copy for power7 with vector-scalar instructions.
92047 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
92048
92049 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
92050
92051 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
92052 AVX check.
92053
92054 2011-09-07 Andreas Schwab <schwab@redhat.com>
92055
92056 [BZ #13144]
92057 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
92058 last change.
92059
92060 2011-09-07 Ulrich Drepper <drepper@gmail.com>
92061
92062 * sysdeps/unix/sysv/linux/x86_64/init-first.c
92063 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
92064 syscall wrapper around clock_gettime in __vdso_clock_gettime.
92065 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
92066 clock_gettime.
92067
92068 2011-09-06 Ulrich Drepper <drepper@gmail.com>
92069
92070 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
92071 Forgot to demangle the pointer.
92072
92073 * sysdeps/i386/sysdep.h: Define atom_text_section.
92074 * sysdeps/x86_64/sysdep.h: Likewise.
92075 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
92076 section with atom_text_section.
92077 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92078 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92079 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
92080 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92081 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
92082
92083 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
92084 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
92085 already be defined. Change to take two parameters and don't assign
92086 result to variable. Adjust all users.
92087 Define INTERNAL_GETTIME if not already defined.
92088 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
92089 call.
92090 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
92091 HAVE_CLOCK_GETTIME_VSYSCALL.
92092 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
92093
92094 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
92095 gettimeofday vsyscall, just use time.
92096
92097 2011-09-06 Andreas Schwab <schwab@redhat.com>
92098
92099 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
92100 <errno.h>.
92101
92102 2011-09-06 Ulrich Drepper <drepper@gmail.com>
92103
92104 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
92105 syscall on x86-64.
92106 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
92107 syscall.
92108 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
92109 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
92110 syscall if possible.
92111
92112 2011-09-05 Ulrich Drepper <drepper@gmail.com>
92113
92114 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
92115 e_ident. Don't pass to find_mapsXX.
92116 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
92117
92118 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92119
92120 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92121 strchr-sse2-no-bsf strrchr-sse2-no-bsf
92122 * sysdeps/x86_64/multiarch/strchr.S: Update.
92123 Check bit_slow_BSF bit.
92124 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
92125 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
92126 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
92127
92128 2011-09-05 Ulrich Drepper <drepper@gmail.com>
92129
92130 [BZ #13134]
92131 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
92132 before glibc 2.15.
92133 (tryshell): Define.
92134 (__spawni): Change last parameter to be flag. Test
92135 SPAWN_XFLAGS_USE_PATH flag to use path or not.
92136 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
92137 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
92138 * posix/spawni.c: Likewise.
92139 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
92140 * posix/spawnp.c: Likewise. Change normal version to use
92141 SPAWN_XFLAGS_USE_PATH.
92142 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
92143 SPAWN_XFLAGS_TRY_SHELL.
92144
92145 [BZ #13150]
92146 * posix/glob.h: Remove gcc 1.x support.
92147
92148 [BZ #13068]
92149 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
92150
92151 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92152
92153 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92154 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
92155 strrchr-sse2-bsf
92156 * sysdeps/i386/i686/multiarch/strchr.S: New file.
92157 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
92158 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
92159 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
92160 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
92161 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
92162
92163 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92164
92165 * sysdeps/x86_64/wcscmp.S: New file.
92166
92167 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
92168 wcscmp-c wcscmp-sse2
92169 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
92170 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
92171 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
92172 * wcsmbs/wcscmp.c: Allow renaming.
92173
92174 2011-09-05 David S. Miller <davem@davemloft.net>
92175
92176 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
92177 stack slot, rather than the struct return pointer slot.
92178 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
92179 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
92180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
92181 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
92182
92183 2011-09-05 Ulrich Drepper <drepper@gmail.com>
92184
92185 * po/ja.po: Update from translation team.
92186
92187 [BZ #13144]
92188 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
92189 kernel in 64-bit binaries.
92190
92191 2011-09-01 David S. Miller <davem@davemloft.net>
92192
92193 * elf/elf.h (HWCAP_SPARC_*): Move to..
92194 * sysdeps/sparc/sysdep.h: this new file and add new values.
92195 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
92196 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
92197 _DL_HWCAP_COUNT to 24.
92198 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
92199 entries.
92200 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
92201 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
92202 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
92203 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
92204 instead of magic constants.
92205 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
92206
92207 2011-08-31 David S. Miller <davem@davemloft.net>
92208
92209 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
92210 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
92211 Reimplement to do errno handling inline.
92212 (SYSCALL_ERROR_HANDLER): New macro.
92213 (__SYSCALL_STRING): Do not do errno handling in asm.
92214 (__CLONE_SYSCALL_STRING): Delete.
92215 (__INTERNAL_SYSCALL_STRING): Delete.
92216 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
92217 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
92218 (PSEUDO): Reimplement to do errno handling inline.
92219 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
92220 (SYSCALL_ERROR_HANDLER): New macro.
92221 (__SYSCALL_STRING): Do not do errno handling in asm.
92222 (__CLONE_SYSCALL_STRING): Delete.
92223 (__INTERNAL_SYSCALL_STRING): Delete.
92224 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
92225 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
92226 i386.
92227 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
92228 (inline_syscall*): Add 'err' argument.
92229 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
92230 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
92231 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
92232 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
92233
92234 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
92235 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
92236
92237 2011-08-30 Andreas Schwab <schwab@redhat.com>
92238
92239 * elf/rtld.c (dl_main): Relocate objects in dependency order.
92240
92241 2011-08-29 Jiri Olsa <jolsa@redhat.com>
92242
92243 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
92244 directive.
92245
92246 2011-08-24 David S. Miller <davem@davemloft.net>
92247
92248 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
92249
92250 2011-08-24 Andreas Schwab <schwab@redhat.com>
92251
92252 * elf/Makefile: Add rules to build and run unload8 test.
92253 * elf/unload8.c: New file.
92254 * elf/unload8mod1.c: New file.
92255 * elf/unload8mod1x.c: New file.
92256 * elf/unload8mod2.c: New file.
92257 * elf/unload8mod3.c: New file.
92258
92259 * elf/dl-close.c (_dl_close_worker): Reset private search list if
92260 it wasn't used.
92261
92262 2011-08-23 David S. Miller <davem@davemloft.net>
92263
92264 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
92265 subtract stack bias.
92266 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
92267 %sp not %fp in calculations.
92268 (_JMPBUF_UNWINDS_ADJ): Likewise.
92269
92270 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
92271 (aio_suspend): Call it to force an exception region around the
92272 AIO_MISC_WAIT() invocation.
92273
92274 2011-08-23 Andreas Schwab <schwab@redhat.com>
92275
92276 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
92277 backslash.
92278
92279 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
92280
92281 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
92282 protection macro.
92283 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
92284 and <dl-machine.h>.
92285 (Elf64_FuncDesc): Remove.
92286
92287 2011-08-22 David S. Miller <davem@davemloft.net>
92288
92289 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
92290 sigaltstack check, add missing cfi directives.
92291 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
92292 missing cfi directives, and sigaltstack handling.
92293
92294 2011-08-16 Andreas Schwab <schwab@redhat.com>
92295
92296 [BZ #11724]
92297 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
92298 object is seen twice.
92299 * elf/dl-fini.c (_dl_sort_fini): Likewise.
92300
92301 * elf/Makefile (distribute): Add tst-initorder2.c.
92302 (tests): Add tst-initorder2.
92303 (modules-names): Add tst-initorder2a tst-initorder2b
92304 tst-initorder2c tst-initorder2d. Add rules to build them.
92305 ($(objpfx)tst-initorder2.out): New rule.
92306 * elf/tst-initorder2.c: New file.
92307 * elf/tst-initorder2.exp: New file.
92308
92309 2011-08-22 Andreas Schwab <schwab@redhat.com>
92310
92311 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
92312
92313 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
92314 dependencies back to end of function.
92315
92316 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
92317 $(elfobjdir)/ld.so.
92318
92319 2011-08-21 Ulrich Drepper <drepper@gmail.com>
92320
92321 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
92322 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
92323 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
92324 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
92325 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
92326 of __vdso_gettimeofday.
92327 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
92328 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
92329 attribute_hidden.
92330 (_libc_vdso_platform_setup): Remove initialization of
92331 __vdso_gettimeofday and __vdso_time.
92332
92333 2011-08-20 Ulrich Drepper <drepper@gmail.com>
92334
92335 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
92336 and fgetc_unlocked.
92337 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
92338 getc_unlocked.
92339
92340 * elf/dl-open.c (add_to_global): Report additions to the global scope
92341 for LD_DEBUG=scopes.
92342 (dl_open_worker): Also print scope of newly loaded dependencies.
92343 (_dl_show_scope): Indicate if there is no scope.
92344
92345 [BZ #13114]
92346 * stdio-common/Makefile (tests): Add bug24.
92347 * stdio-common/bug24.c: New file.
92348
92349 2011-08-19 Andreas Jaeger <aj@suse.de>
92350
92351 [BZ #13114]
92352 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
92353 non-existant file when using close-on-exec mode.
92354
92355 2011-08-20 Ulrich Drepper <drepper@gmail.com>
92356
92357 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
92358 the very first instruction.
92359
92360 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
92361 the CFI state in the end.
92362 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
92363 inclusion of dl-trampoline.h.
92364 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
92365
92366 2011-08-19 Andreas Schwab <schwab@redhat.com>
92367
92368 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
92369 expectations for long double.
92370
92371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
92372 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
92373
92374 2011-08-14 David S. Miller <davem@davemloft.net>
92375
92376 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
92377 artificual limit depends upon the system page size.
92378
92379 2011-08-17 Ulrich Drepper <drepper@gmail.com>
92380
92381 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
92382 * resolv/Makefile: Define CFLAGS-libresolv.
92383
92384 2011-08-17 Andreas Schwab <schwab@redhat.com>
92385
92386 * nss/makedb.c (compute_tables): Make variables used in nested
92387 function static.
92388
92389 2011-08-17 Ulrich Drepper <drepper@gmail.com>
92390
92391 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
92392 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
92393 if buffer was too small.
92394
92395 * elf/pldd.c (main): Attach to all threads in the process.
92396 Rewrite /proc handling to use *at functions.
92397
92398 2011-08-16 Ulrich Drepper <drepper@gmail.com>
92399
92400 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
92401 specifies first scope to show.
92402 (dl_open_worker): Update callers. Move printing scope of new
92403 object to before the relocation.
92404 * elf/rtld.c (dl_main): Update _dl_show_scope call.
92405 * sysdeps/generic/ldsodefs.h: Update declaration.
92406
92407 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
92408 string for the scope number.
92409
92410 2011-08-14 Ulrich Drepper <drepper@gmail.com>
92411
92412 * nscd/servicescache.c (cache_addserv): Make sure written is always
92413 initialized.
92414
92415 2011-08-14 Roland McGrath <roland@hack.frob.com>
92416
92417 * sysdeps/i386/i486/bits/atomic.h
92418 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
92419 statement expression, so as to suppress "set but not used" warning.
92420 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
92421
92422 * string/strncat.c (STRNCAT): Use prototype definition.
92423
92424 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
92425 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
92426 -Iprograms here.
92427 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
92428 (localedef-modules): Add localedef.
92429 (locale-modules): Add locale.
92430
92431 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
92432 * elf/rtld.c (dl_main): Invert order of assignment in last change,
92433 to avoid a warning.
92434
92435 2011-08-14 David S. Miller <davem@davemloft.net>
92436
92437 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
92438 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
92439
92440 2011-08-13 Ulrich Drepper <drepper@gmail.com>
92441
92442 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
92443 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
92444 * elf/rtld.c (dl_main): Set l_name of vDSO.
92445 Call _dl_show_scope when DL_DEBUG_SCOPES.
92446 (process_dl_debug): Recognize scopes flag and also set it for all.
92447 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
92448 Declare _dl_show_scope.
92449
92450 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
92451 (do_dlopen): Pass caller_dlopen to dl_open.
92452 (__libc_dlopen_mode): Initialize caller_dlopen.
92453
92454 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
92455 of libc. Make tolower call locale-independent. Optimize a bit by
92456 using isdigit instead of isalnum.
92457 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
92458
92459 2011-08-12 Ulrich Drepper <drepper@gmail.com>
92460
92461 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
92462 was a dependency or dynamically loaded.
92463
92464 2011-08-11 Ulrich Drepper <drepper@gmail.com>
92465
92466 * intl/l10nflist.c: Allow architecture-specific pop function.
92467 * sysdeps/x86_64/l10nflist.c: New file.
92468
92469 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
92470 classification.
92471
92472 2011-08-10 Andreas Schwab <schwab@redhat.com>
92473
92474 * include/dirent.h: Add libc_hidden_proto for scandirat and
92475 scandirat64. Don't declare __scandirat64.
92476 * dirent/scandirat.c: Add libc_hidden_def.
92477 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
92478 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
92479
92480 2011-08-10 David S. Miller <davem@davemloft.net>
92481
92482 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
92483 enum.
92484 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92485 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92486 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92487
92488 2011-08-09 Ulrich Drepper <drepper@gmail.com>
92489
92490 * Versions.def [libc]: Add GLIBC_2.15.
92491 * dirent/Makefile (routines): Add scandirat and scandirat64.
92492 * dirent/Versions [libc]: Export scandirat and scandirat64 for
92493 GLIBC_2.15.
92494 * dirent/dirent.h: Declare scandirat and scandirat64.
92495 * dirent/scandirat.c: New file.
92496 * dirent/scandirat64.c: New file.
92497 * sysdeps/wordsize-64/scandirat.c: New file.
92498 * sysdeps/wordsize-64/scandirat64.c: New file.
92499 * dirent/opendir.c: Define opendirat.
92500 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
92501 using scandirat.
92502 * dirent/scandir64.c: Adjust for scandir.c change.
92503 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
92504 __scandirat64, and __scandir_cancel_handler.
92505 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
92506 additional parameter and use openat instead of open (outside of ld.so).
92507 Add new __opendir as wrapper around __opendirat.
92508 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
92509 here without requiring old scandirat implementation.
92510
92511 2011-08-08 Ulrich Drepper <drepper@gmail.com>
92512
92513 * dirent/scandir.c (cancel_handler): Renamed to
92514 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
92515 defined. Adjust users.
92516 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
92517 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
92518
92519 2011-08-04 Ulrich Drepper <drepper@gmail.com>
92520
92521 * string/test-string.h (IMPL): Use __STRING to expand name and then
92522 stringify it.
92523
92524 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
92525 of cleanups.
92526
92527 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92528
92529 * string/Makefile: Update.
92530 (strop-tests): Append strncat.
92531 * string/test-wcscmp.c: New file.
92532 New comprehensive test for wcscmp.
92533 * string/test-strcmp.c: Update.
92534 (WIDE): New define.
92535
92536 2011-07-22 Andreas Schwab <schwab@redhat.com>
92537
92538 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
92539 line.
92540
92541 2011-07-26 Andreas Schwab <schwab@redhat.com>
92542
92543 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
92544 encoding to ACE if AI_IDN.
92545
92546 2011-08-01 Jakub Jelinek <jakub@redhat.com>
92547
92548 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
92549 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
92550
92551 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92552
92553 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
92554 Fix overflow bug in strncat.
92555 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
92556
92557 * string/test-strncat.c: Update.
92558 Add new tests for checking overflow bugs.
92559
92560 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92561
92562 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92563 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
92564 * sysdeps/i386/i686/multiarch/strcat.S: New file.
92565 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
92566 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
92567 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
92568 * sysdeps/i386/i686/multiarch/strncat.S: New file.
92569 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
92570 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
92571
92572 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
92573 (USE_AS_STRCAT): Define.
92574 Add strcat and strncat support.
92575 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92576
92577 2011-07-25 Andreas Schwab <schwab@redhat.com>
92578
92579 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
92580 __n bigger than INT_MAX+1.
92581 (__strncmp_g): Likewise.
92582
92583 2011-07-23 Ulrich Drepper <drepper@gmail.com>
92584
92585 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
92586 * libio/stido.h: Likewise.
92587
92588 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
92589 (AF_NFC): Define.
92590 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
92591 (AF_NFC): Define.
92592
92593 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
92594 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92595 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92596 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
92597 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92598
92599 [BZ #13021]
92600 * scripts/test-installation.pl: Don't expect libnss_test1 to be
92601 installed.
92602
92603 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
92604 typo.
92605 (_dl_x86_64_save_sse): Likewise.
92606
92607 2011-07-22 Ulrich Drepper <drepper@gmail.com>
92608
92609 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
92610 OSXSAVE.
92611 (_dl_x86_64_save_sse): Likewise.
92612
92613 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
92614
92615 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
92616
92617 2011-07-21 Andreas Schwab <schwab@redhat.com>
92618
92619 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
92620 change.
92621 (_dl_x86_64_save_sse): Use correct AVX check.
92622
92623 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92624
92625 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
92626 bug in strncpy/strncat.
92627 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
92628
92629 2011-07-21 Ulrich Drepper <drepper@gmail.com>
92630
92631 * string/tester.c (test_strcat): Add tests for different alignments
92632 of source and destination.
92633 (test_strncat): Likewise.
92634
92635 2011-07-20 Ulrich Drepper <drepper@gmail.com>
92636
92637 [BZ #12852]
92638 * posix/glob.c (glob): Check passed in values before using them in
92639 expressions to avoid some overflows.
92640 (glob_in_dir): Likewise.
92641
92642 [BZ #13007]
92643 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
92644 check for AVX enablement so that we don't crash with old kernels and
92645 new hardware.
92646 * elf/tst-audit4.c: Add same checks here.
92647 * elf/tst-audit6.c: Likewise.
92648
92649 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
92650
92651 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
92652
92653 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
92654
92655 2011-07-20 Ulrich Drepper <drepper@gmail.com>
92656
92657 * po/cs.po: Update from translation team.
92658 * po/bg.po: Likewise.
92659
92660 2011-07-12 Marek Polacek <mpolacek@redhat.com>
92661
92662 * misc/sys/cdefs.h: Add support for const attribute.
92663 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
92664 to gnu_dev_{major,minor,makedev} functions.
92665
92666 2011-07-20 Marek Polacek <mpolacek@redhat.com>
92667
92668 * intl/dcigettext.c (get_output_charset): Add missing bracket.
92669
92670 2011-07-20 Andreas Schwab <schwab@redhat.com>
92671
92672 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
92673 strlen results.
92674
92675 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
92676
92677 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
92678 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
92679 register in order to avoid conflicts with the soft frame pointer
92680 being held in r11 when necessary.
92681 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
92682 (INTERNAL_VSYSCALL_NCS): Likewise.
92683
92684 2011-07-14 Marek Polacek <mpolacek@redhat.com>
92685
92686 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
92687 * elf/dl-fini.c (_dl_fini): Adjust caller.
92688 * elf/dl-close.c (_dl_close_worker): Likewise.
92689 * sysdeps/generic/ldsodefs.h: Adjust declaration.
92690
92691 2011-07-15 Marek Polacek <mpolacek@redhat.com>
92692
92693 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
92694 "aux_cache->nlibs < 0".
92695
92696 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
92697 in the reload-count case.
92698
92699 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92700
92701 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92702 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
92703 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
92704 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
92705 * sysdeps/x86_64/multiarch/strcat.S: New file.
92706 * sysdeps/x86_64/multiarch/strncat.S: New file.
92707 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
92708 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
92709 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
92710 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
92711 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
92712 (USE_AS_STRCAT): Define.
92713 Add strcat and strncat support.
92714 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92715 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
92716 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
92717 * string/strncat.c: Update.
92718 (USE_AS_STRNCAT): Define.
92719 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92720 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
92721 and i7.
92722 * sysdeps/x86_64/multiarch/init-arch.h
92723 (bit_Prefer_PMINUB_for_stringop): New.
92724 (index_Prefer_PMINUB_for_stringop): Likewise.
92725 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
92726 bit_Prefer_PMINUB_for_stringop.
92727
92728 2011-07-19 Ulrich Drepper <drepper@gmail.com>
92729
92730 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
92731 buffer64.
92732 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
92733 of casting of buffer.
92734 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
92735 buffer32 and buffer64.
92736 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
92737 writes instead of casting of buffer.
92738 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
92739 buffer32.
92740 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
92741 casting of buffer.
92742
92743 2011-07-19 Andreas Schwab <schwab@redhat.com>
92744
92745 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
92746
92747 2011-07-19 Ulrich Drepper <drepper@gmail.com>
92748
92749 * nscd/nscd.c (termination_handler): Don't do anything for a database
92750 if it has not yet been initialized.
92751
92752 2011-07-18 Ulrich Drepper <drepper@gmail.com>
92753
92754 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
92755
92756 2011-07-15 Marek Polacek <mpolacek@redhat.com>
92757
92758 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
92759
92760 2011-07-18 Ulrich Drepper <drepper@gmail.com>
92761
92762 * po/nl.po: Update from translation team.
92763 * po/sv.po: Likewise.
92764
92765 2011-07-16 Roland McGrath <roland@hack.frob.com>
92766
92767 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
92768 now disallowed by GCC.
92769
92770 * configure.in (use-default-link): Default to yes if a test -shared
92771 link meets our qualifications.
92772 * configure: Regenerated.
92773
92774 * config.make.in (output-format): New variable.
92775 * configure.in: Check for ld --print-output-format support.
92776 * configure: Regenerated.
92777 * Makerules ($(common-objpfx)format.lds)
92778 [$(output-format) != unknown]: Just use $(output-format),
92779 instead of the linker-script munging.
92780
92781 2011-07-14 Roland McGrath <roland@hack.frob.com>
92782
92783 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
92784 of $(common-objpfx)shlib.lds.
92785 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
92786
92787 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
92788 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
92789
92790 * configure.in (-z relro check): Adjust test code to add a large
92791 writable data section after it.
92792 * configure: Regenerated.
92793
92794 2011-07-11 Roland McGrath <roland@hack.frob.com>
92795
92796 * configure.in (-z relro check): Fix test code to make the variable
92797 truly const.
92798 * configure: Regenerated.
92799
92800 2011-07-11 Ulrich Drepper <drepper@gmail.com>
92801
92802 * nscd/nscd.h (struct traced_file): Define.
92803 (struct database_dyn): Remove inotify_descr, reset_res, and filename
92804 elements. Add traced_files.
92805 (inotify_fd): Declare.
92806 (register_traced_file): Declare.
92807 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
92808 (inotify_fd): Export.
92809 (resolv_conf_descr): Remove.
92810 (nscd_init): Move inotify descriptor creation to main.
92811 Don't register files for notification here.
92812 (register_traced_file): New function.
92813 (invalidate_cache): Don't use reset_res to determine whether to call
92814 res_init, go through the list of registered files.
92815 (main_loop_poll): The inotify descriptors are now stored in the
92816 structures for the traced files.
92817 (main_loop_epoll): Likewise.
92818 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
92819 to __nss_disable_nscd.
92820 * nscd/cache.c (prune_cache): There is no single inotify descriptor
92821 for a database anymore. Check the records for all the registered
92822 files instead.
92823 * nss/Makefile (libnss_files-routines): Add files-init.
92824 (libnss_db-routines): Add db-init.
92825 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
92826 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
92827 * nss/nss_db/db-init.c: New file.
92828 * nss/nss_files/files-init.c: New file.
92829 * nss/nsswitch.c (nss_load_library): New function. Broken out of
92830 __nss_lookup_function.
92831 (__nss_lookup_function): Call nss_load_library.
92832 (nss_load_all_libraries): New function.
92833 (__nss_disable_nscd): Take parameter with callback function for files
92834 to register. Set is_nscd. Load all the DSOs for the NSS modules
92835 used for the cached services.
92836 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
92837 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
92838 options for features to all the files in nscd.
92839
92840 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
92841
92842 2011-07-10 Roland McGrath <roland@hack.frob.com>
92843
92844 * csu/elf-init.c (__libc_csu_init): Comment typo.
92845
92846 2011-07-09 Ulrich Drepper <drepper@gmail.com>
92847
92848 * po/pl.po: Update from translation team.
92849 * po/ja.po: Likewise.
92850 * po/ru.po: Likewise.
92851 * po/ko.po: Likewise.
92852 * po/fr.po: Likewise.
92853
92854 2011-07-09 Roland McGrath <roland@hack.frob.com>
92855
92856 * configure.in (.ctors/.dtors header and trailer check):
92857 Use an empirical test on a built program.
92858 * configure: Regenerated.
92859
92860 * configure.in (-z relro check): Use an empirical test on a built DSO.
92861 Detect, but do not require, on ia64.
92862 * configure: Regenerated.
92863
92864 * configure.in (READELF): Find it with AC_CHECK_TOOL.
92865 Update tests that use readelf to use $READELF instead.
92866 * configure: Regenerated.
92867
92868 2011-07-08 Ulrich Drepper <drepper@gmail.com>
92869
92870 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
92871 if the result is not used.
92872
92873 2011-07-05 Andreas Jaeger <aj@suse.de>
92874
92875 [BZ #9696]
92876 * stdlib/tst-strtod.c: Add testcase.
92877
92878 2011-07-07 Ulrich Drepper <drepper@gmail.com>
92879
92880 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
92881 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
92882 The latter has a higher limit. Take additional parameter to pass to
92883 the new function.
92884 (__pathconf): Pass file to __statfs_link_max.
92885 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
92886 __statfs_link_max.
92887 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
92888 __statfs_link_max.
92889
92890 [BZ #12868]
92891 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
92892 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
92893 Handle Lustre.
92894 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
92895 (__statfs_filesize_max): Likewise.
92896 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
92897
92898 2011-07-05 Andreas Jaeger <aj@suse.de>
92899
92900 * resolv/res_comp.c (dn_skipname): Remove unused variable.
92901
92902 2011-07-06 Marek Polacek <mpolacek@redhat.com>
92903
92904 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
92905 `status' variable.
92906 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
92907 Likewise.
92908
92909 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
92910
92911 * Makefile (strop-tests): Add strncat.
92912 * string/test-strncat.c: New file.
92913
92914 2011-06-30 Marek Polacek <mpolacek@redhat.com>
92915
92916 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
92917
92918 2011-06-21 Andreas Jaeger <aj@suse.de>
92919
92920 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
92921 Copy rule from iconvdata/Makefile.
92922
92923 2011-07-06 Ulrich Drepper <drepper@gmail.com>
92924
92925 [BZ #12922]
92926 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
92927 but no long options are defined, just return 'W'.
92928
92929 2011-06-22 Marek Polacek <mpolacek@redhat.com>
92930
92931 [BZ #9696]
92932 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
92933
92934 2011-07-06 Ulrich Drepper <drepper@gmail.com>
92935
92936 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
92937 netgroups to read.
92938 (innetgr): Likewise.
92939
92940 2011-07-05 Roland McGrath <roland@hack.frob.com>
92941
92942 * config.make.in (install_root): Default to $(DESTDIR).
92943
92944 2011-07-05 Ulrich Drepper <drepper@gmail.com>
92945
92946 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
92947
92948 2011-07-02 Roland McGrath <roland@hack.frob.com>
92949
92950 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
92951
92952 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
92953 containing directory rather than embedding absolute directory names.
92954
92955 * scripts/check-local-headers.sh: Rewritten using awk.
92956 Match by word, not by line. Print error messages for matches.
92957 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
92958
92959 * Makerules [shlib-lds-flags empty]:
92960 ($(common-objpfx)libc_pic.opts): New target.
92961 ($(common-objpfx)libc_pic.os.clean): New target.
92962 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
92963
92964 * config.make.in (OBJCOPY): New variable.
92965 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
92966 * configure: Regenerated.
92967
92968 * config.make.in (use-default-link): New variable.
92969 * configure.in (use_default_link): Grok --with-default-link to set it.
92970 * configure: Regenerated.
92971 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
92972 (shlib-lds, shlib-lds-flags): Define to empty.
92973
92974 * Makerules (shlib-lds): New variable.
92975 (shlib-lds-flags): New variable.
92976 (build-shlib, build-moduile, build-module-asneeded): Use it.
92977 ($(common-objpfx)libc.so): Use $(shlib-lds).
92978 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
92979 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
92980
92981 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
92982 DT_FLAGS/DT_FLAGS_1 with zero flags.
92983
92984 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
92985 linker script munging.
92986
92987 2011-07-02 Ulrich Drepper <drepper@gmail.com>
92988
92989 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
92990 as 128-bit value.
92991 * crypt/sha512.c (sha512_process_block): Perform total addition using
92992 128-bit if possible.
92993 (__sha512_finish_ctx): Likewise.
92994 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
92995 as 64-bit value.
92996 * crypt/sha256.c (SWAP64): Define.
92997 (sha256_process_block): Perform total addition using 64-bit if
92998 possible.
92999 (__sha256_finish_ctx): Likewise.
93000
93001 2011-07-01 Ulrich Drepper <drepper@gmail.com>
93002
93003 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
93004 * nscd/initgrcache.c (addinitgroupsX): Likewise.
93005 * nscd/hstcache.c (cache_addhst): Likewise.
93006 * nscd/grpcache.c (cache_addgr): Likewise.
93007 * nscd/aicache.c (addhstaiX): Likewise.
93008 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
93009
93010 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
93011
93012 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
93013 * nscd/initgrcache.c (addinitgroupsX): Likewise.
93014 * nscd/hstcache.c (cache_addhst): Likewise.
93015 * nscd/grpcache.c (cache_addgr): Likewise.
93016 * nscd/aicache.c (addhstaiX): Likewise.
93017
93018 2011-07-01 Andreas Schwab <schwab@redhat.com>
93019
93020 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
93021 domain only when needed.
93022
93023 2011-06-30 Andreas Schwab <schwab@redhat.com>
93024
93025 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
93026 is always restored.
93027
93028 2011-06-29 Ulrich Drepper <drepper@gmail.com>
93029
93030 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
93031 are re-adding the entry.
93032 * nscd/servicescache.c (cache_addserv): Likewise.
93033
93034 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
93035
93036 * sysdeps/generic/dl-irel.h: fix protection against multiple
93037 inclusions.
93038 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
93039
93040 2011-06-28 Ulrich Drepper <drepper@gmail.com>
93041
93042 [BZ #12935]
93043 * malloc/memusage.sh: Fix quoting in message.
93044 * debug/xtrace.sh: Likewise.
93045
93046 * configure.in: Remove support for --experimental-malloc option, make
93047 it the default.
93048 * config.make.in: Likewise.
93049 * malloc/Makefile: Likewise.
93050
93051 2011-06-27 Andreas Schwab <schwab@redhat.com>
93052
93053 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
93054 two-byte characters.
93055
93056 2011-06-27 Roland McGrath <roland@hack.frob.com>
93057
93058 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
93059 AC_CACHE_CHECK invocation.
93060 * configure: Regenerated.
93061
93062 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
93063
93064 2011-06-27 Ulrich Drepper <drepper@gmail.com>
93065
93066 [BZ #12350]
93067 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
93068 bit from old_res_options.
93069
93070 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
93071
93072 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
93073 value type for setfct.
93074
93075 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
93076
93077 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93078 __gettimeofday instead of gettimeofday.
93079
93080 2011-06-26 Ulrich Drepper <drepper@gmail.com>
93081
93082 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
93083
93084 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
93085
93086 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
93087
93088 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
93089 info.
93090
93091 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
93092
93093 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93094 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93095 strcpy-sse2-unaligned strncpy-sse2-unaligned
93096 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
93097 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
93098 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
93099 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
93100 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
93101 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
93102 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
93103 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
93104 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
93105 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
93106 (STRCPY): Support SSE2 and SSSE3 versions.
93107
93108 2011-06-24 Ulrich Drepper <drepper@gmail.com>
93109
93110 [BZ #12874]
93111 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
93112 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
93113 kernels which artificially limit size of requests.
93114
93115 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
93116
93117 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93118 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93119 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
93120 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
93121 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
93122 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
93123 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
93124 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
93125 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
93126 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
93127 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
93128 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
93129 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
93130 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
93131 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
93132 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93133 Enable unaligned load optimization for Intel Core i3, i5 and i7
93134 processors.
93135 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
93136 Define.
93137 (index_Fast_Unaligned_Load): Define.
93138 (HAS_FAST_UNALIGNED_LOAD): Define.
93139
93140 2011-06-23 Marek Polacek <mpolacek@redhat.com>
93141
93142 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
93143
93144 2011-06-22 Ulrich Drepper <drepper@gmail.com>
93145
93146 [BZ #12907]
93147 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
93148 until it is clear that the information is realy needed.
93149 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
93150
93151 2011-06-22 Andreas Schwab <schwab@redhat.com>
93152
93153 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
93154
93155 2011-06-22 Ulrich Drepper <drepper@gmail.com>
93156
93157 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93158 /sys/devices/system/cpu/online if it is usable.
93159
93160 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
93161 reading the information from the /proc filesystem to once a second.
93162
93163 2011-06-21 Andreas Jaeger <aj@suse.de>
93164
93165 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
93166 NULL after inclusion of kernel headers.
93167
93168 2011-06-21 Ulrich Drepper <drepper@gmail.com>
93169
93170 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
93171 calls to internal_setent.
93172
93173 [BZ #12885]
93174 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
93175 addresses using gethostbyname4_r ignore IPv4 addresses.
93176
93177 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
93178 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
93179
93180 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
93181
93182 2011-06-20 David S. Miller <davem@davemloft.net>
93183
93184 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
93185 inclusions.
93186 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
93187
93188 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
93189 (elf_irel): Use it.
93190 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
93191 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
93192 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
93193 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
93194 * sysdeps/x86_64/dl-irel.h: Likewise.
93195
93196 * elf/dl-runtime.c: Use elf_ifunc_invoke.
93197 * elf/dl-sym.c: Likewise.
93198
93199 2011-06-15 Ulrich Drepper <drepper@gmail.com>
93200
93201 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
93202 need to dereference resplen2.
93203
93204 2011-06-14 Andreas Schwab <schwab@redhat.com>
93205
93206 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
93207
93208 2011-06-15 Ulrich Drepper <drepper@gmail.com>
93209
93210 * Makeconfig: Define vardbdir and inst_vardbdir.
93211 * nss/Makefile: Add rules to install db-Makefile.
93212
93213 * nss/nss_db/db-XXX.c: Cleanup.
93214
93215 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
93216 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
93217 GLIBC_PRIVATE.
93218 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
93219 * nss/makedb.c: Implement -g option to specify that value strings
93220 are generated and should not be added to table iterated over for
93221 get*ent calls.
93222 * nss/nss_db/db-initgroups.c: New file.
93223
93224 * nss/getent.c: Add support for initgroups lookups through getgrouplist
93225 interface.
93226
93227 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
93228 (internal_getgrouplist): Adjust to name change.
93229 Update use_initgroups_entry if this is not the first call.
93230 * nss/databases.def: Add initgroups entry.
93231
93232 * nss/makedb.c (compute_tables): Check result of multiple hash table
93233 sizes to minimize maximum chain length.
93234
93235 2011-06-14 Ulrich Drepper <drepper@gmail.com>
93236
93237 * Versions.def: Add entry for libnss_db.
93238 * shlib-versions: Likewise.
93239 * nss/Makefile: Add rules to build libnss_db.
93240 * nss/Versions: Add libnss_db information. Organize libnss_files
93241 entries better.
93242 * nss/db-Makefile: Add gshadow support. Change rules for the new
93243 makedb progra. Some minor improvements to generate smaller files.
93244 * nss/nss_db/nss_db.h: Move NSS database header data structures to
93245 here from...
93246 * nss/makedb.c: ...here.
93247 Improve database format to be smaller and require less memory at
93248 runtime.
93249 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
93250 db anymore.
93251 * nss/nss_db/db-netgrp.c: Likewise.
93252 * nss/nss_db/db-open.c: Likewise.
93253 * nss/nss_files/flies-XXX.x: Adjust comments.
93254 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
93255 * nss/nss_files/files-grp.c: Likewise.
93256 * nss/nss_files/files-hosts.c: Likewise.
93257 * nss/nss_files/files-network.c: Likewise.
93258 * nss/nss_files/files-proto.c: Likewise.
93259 * nss/nss_files/files-pwd.c: Likewise.
93260 * nss/nss_files/files-rpc.c: Likewise.
93261 * nss/nss_files/files-service.c: Likewise.
93262 * nss/nss_files/files-sgrp.c: Likewise.
93263 * nss/nss_files/files-spwd.c: Likewise.
93264 * nss/nss_db/db-alias.c: Removed.
93265 * nss/nss_db/dummy-db.h: Removed.
93266
93267 2011-06-02 Ulrich Drepper <drepper@gmail.com>
93268
93269 * nss/makedb.c: Rewritten to not use database library.
93270 * nss/Makefile: Update to build new makedb program.
93271
93272 2011-06-14 Andreas Jaeger <aj@suse.de>
93273
93274 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
93275 memset declaration.
93276
93277 2011-06-10 Andreas Schwab <schwab@redhat.com>
93278
93279 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
93280 tmpbuf.
93281
93282 2011-06-10 Roland McGrath <roland@hack.frob.com>
93283
93284 * Makerules (shlib.lds): Fail if the linker script comes out empty.
93285 * elf/Makefile ($(objpfx)ld.so): Likewise.
93286
93287 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
93288 Don't list ld.so twice in dependencies.
93289
93290 * posix/bug-regex31.c: Include <stdlib.h>.
93291
93292 * nscd/hstcache.c (cache_addhst): Remove unused variable.
93293
93294 * nis/nss_compat/compat-spwd.c
93295 (getspent_next_nss_netgr): Remove unused variable.
93296 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
93297
93298 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
93299 nonmembers" output to use the right array.
93300
93301 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
93302
93303 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
93304
93305 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
93306 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
93307 * catgets/gencat.c (read_input_file): Likewise.
93308 * locale/programs/locarchive.c (enlarge_archive): Likewise.
93309
93310 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
93311 variable definition inside #if's controlling its use.
93312
93313 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
93314
93315 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
93316
93317 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
93318
93319 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
93320 unreachable code.
93321
93322 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
93323
93324 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
93325 * configure: Regenerated.
93326
93327 * Makerules: Revert last change.
93328 * elf/Makefile: Likewise.
93329
93330 2011-06-09 Roland McGrath <roland@hack.frob.com>
93331
93332 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
93333 * elf/Makefile ($(objpfx)librtld.os): Likewise.
93334 (reloc-link): Likewise.
93335
93336 2011-06-09 Ulrich Drepper <drepper@gmail.com>
93337
93338 * elf/Makefile: Add rules to build pldd.
93339 * elf/pldd.c: New file.
93340 * elf/pldd-xx.c: New file.
93341
93342 2011-06-07 Ulrich Drepper <drepper@gmail.com>
93343
93344 * version.h: Update for 2.15 development version.
93345
93346 2011-06-07 David S. Miller <davem@davemloft.net>
93347
93348 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
93349 ifuncs.
93350 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
93351 elf_machine_lazy_rel): Likewise.
93352 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
93353 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
93354 elf_machine_lazy_rel): Likewise.
93355 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
93356 dl_hwcap via passed in argument.
93357 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
93358 Likewise.
93359
93360 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
93361
93362 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
93363
93364 2011-06-06 Roland McGrath <roland@hack.frob.com>
93365
93366 [BZ #12849]
93367 * manual/fdl-1.1.texi: New file, verbatim from:
93368 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
93369 * manual/lgpl-2.1.texi: New file, verbatim from:
93370 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
93371 * manual/Makefile (licenses): New variable, list those new file names.
93372 (texis): Use it.
93373 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
93374
93375 * manual/fdl.texi: File removed.
93376 * manual/lesser.texi: File removed.
93377 * manual/libc.texinfo (Copying, Documentation License):
93378 Use new @include file names, put @appendix directive before @include.
93379
93380 2011-06-04 Jakub Jelinek <jakub@redhat.com>
93381
93382 [BZ #12841]
93383 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
93384 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
93385 (mq_open): Add __NTH.
93386
93387 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
93388
93389 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93390 Assume Intel Core i3/i5/i7 processor if AVX is available.
93391
93392 2011-05-31 Ulrich Drepper <drepper@gmail.com>
93393
93394 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
93395 typo.
93396
93397 2011-05-31 Andreas Schwab <schwab@redhat.com>
93398
93399 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
93400 memory. Use alloca_account. Fix memory leak when retrying.
93401
93402 2011-05-31 Ulrich Drepper <drepper@gmail.com>
93403
93404 * version.h (RELEASE): Bump for 2.14 release.
93405 * include/features.h (__GLIBC_MINOR__): Bump to 14.
93406
93407 * config.make.in (RANLIB): Remove entry.
93408
93409 2011-05-30 Ulrich Drepper <drepper@gmail.com>
93410
93411 * po/Makefile (po-sed-cmd): Add ksh to extensions.
93412 (libc.pot): Work around missing support for .ksh extension in xgettext.
93413
93414 [BZ #12684]
93415 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
93416 if both request failed.
93417 (send_dg): In case of server errors clear resplen or *resplen2.
93418
93419 [BZ #12454]
93420 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
93421 when there are multiple maps.
93422 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
93423 (_dl_fini): Remove test here.
93424
93425 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
93426
93427 2011-05-29 Ulrich Drepper <drepper@gmail.com>
93428
93429 [BZ #12350]
93430 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
93431 bit from old_res_options.
93432 (gaih_inet): Likewise.
93433
93434 [BZ #11099]
93435 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
93436 as signed.
93437
93438 * resolv/res_init.c (res_setoptions): Make the code more compact.
93439
93440 [BZ #11558]
93441 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
93442 set RES_USEVC.
93443
93444 [BZ #11634]
93445 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
93446
93447 * malloc/malloc.h: Mark malloc hook variables as deprecated.
93448
93449 [BZ #11781]
93450 * malloc/malloc.h: Declare malloc hook variables as volatile.
93451
93452 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
93453 in last patch.
93454
93455 [BZ #11799]
93456 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
93457 raise in the comment.
93458 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
93459 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
93460 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
93461
93462 2011-05-28 Ulrich Drepper <drepper@gmail.com>
93463
93464 [BZ #12811]
93465 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
93466 grow the buffers more if it already has to be sufficient.
93467 (build_wcs_upper_buffer): Likewise.
93468 * posix/regexec.c (check_matching): Likewise.
93469 (clean_state_log_if_needed): Likewise.
93470 (extend_buffers): Don't enlarge buffers beyond size of the input
93471 buffer.
93472 Patches mostly by Emil Wojak <emil@wojak.eu>.
93473 * posix/bug-regex32.c: New file.
93474 * posix/Makefile (tests): Add bug-regex32.
93475
93476 * locale/findlocale.c (_nl_find_locale): Return right away if
93477 _nl_explode_name failed.
93478 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
93479
93480 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
93481
93482 * debug/xtrace.sh: Unify messages.
93483 * malloc/memusage.sh: Likewise.
93484
93485 [BZ #12813]
93486 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
93487 time symbol from vDSO. Substitute with vsyscall if not available.
93488 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
93489 __vdso_time.
93490
93491 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
93492 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
93493 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
93494 Add sendmmsg and internal_sendmmsg.
93495 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
93496 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
93497 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
93498
93499 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
93500 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
93501 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
93502
93503 2011-05-27 Ulrich Drepper <drepper@gmail.com>
93504
93505 [BZ #12813]
93506 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
93507 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
93508 available.
93509 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
93510 __vdso_getcpu.
93511
93512 [BZ #12814]
93513 * iconvdata/Makefile (tests): Add bug-iconv9.
93514 * iconvdata/bug-iconv9.c: New file.
93515
93516 2011-05-27 Andreas Schwab <schwab@redhat.com>
93517
93518 [BZ #12814]
93519 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
93520
93521 2011-05-25 Jakub Jelinek <jakub@redhat.com>
93522
93523 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93524 (struct user_regs_struct): Change intcs field back to cs.
93525
93526 2011-05-25 Ulrich Drepper <drepper@gmail.com>
93527
93528 * po/ja.po: Update from translation team.
93529
93530 2011-05-23 Ulrich Drepper <drepper@gmail.com>
93531
93532 [BZ #12795]
93533 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
93534 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
93535
93536 2011-05-20 Andreas Schwab <schwab@redhat.com>
93537
93538 * stdlib/longlong.h: Update from GCC.
93539
93540 2011-05-23 Andreas Schwab <schwab@redhat.com>
93541
93542 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
93543 parameter name.
93544 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
93545 Add parameter name.
93546 (__sysconf): Pass it down.
93547
93548 2011-05-22 Ulrich Drepper <drepper@gmail.com>
93549
93550 [BZ #12671]
93551 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
93552 some situations.
93553 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
93554 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
93555 add in in __libc_use_alloca calls. Adjust callers.
93556 (glob): Use malloc in some situations.
93557
93558 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
93559 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
93560 pltexit.
93561
93562 2011-05-21 Ulrich Drepper <drepper@gmail.com>
93563
93564 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
93565 and CLOCK_BOOTTIME_ALARM.
93566
93567 [BZ #12782]
93568 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
93569 is returned.
93570
93571 * string/_strerror.c (__strerror_r): Print negative errors as signed
93572 numbers.
93573
93574 [BZ #12777]
93575 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
93576 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
93577 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
93578
93579 * configure.in: Fix typo in redirection and correct removal of test
93580 files in two cases.
93581
93582 [BZ #12788]
93583 * locale/setlocale.c (new_composite_name): Fix test to check for
93584 identical name of all categories.
93585
93586 [BZ #12792]
93587 * libio/filedoalloc.c (local_isatty): New function.
93588 (_IO_file_doallocate): Use local_isatty.
93589 * stdio-common/perror.c (perror): In case a new stream is used
93590 forward the stream error.
93591 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
93592 error flag.
93593
93594 2011-05-20 Ulrich Drepper <drepper@gmail.com>
93595
93596 [BZ #11884]
93597 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
93598 alloca.
93599 * include/alloca.h (extend_alloca_account): Define.
93600
93601 [BZ #11857]
93602 * posix/regex.h: Fix comments with documentation of user-accessible
93603 fields after compilation and describe correct free'ing of pattern
93604 after re_compile_pattern.
93605 Patch by Reuben Thomas <rrt@sc3d.org>.
93606
93607 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
93608
93609 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
93610 and -mno-altivec to prevent the compiler from using Altivec and/or
93611 VSX instructions when the corresponding registers are not available.
93612
93613 2011-05-19 Andreas Schwab <schwab@redhat.com>
93614
93615 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
93616
93617 2011-05-19 Ulrich Drepper <drepper@gmail.com>
93618
93619 * libio/freopen.c (freopen): Use __dup2, not dup2.
93620 * libio/freopen64.c (freopen64): Likewise.
93621
93622 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
93623
93624 [BZ #12775]
93625 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
93626 * math/Makefile (tests): Add test-powl.
93627 (CFLAGS-test-powl.c): Define.
93628 * math/test-powl.c: New file.
93629
93630 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
93631
93632 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
93633
93634 2011-05-17 Ulrich Drepper <drepper@gmail.com>
93635
93636 [BZ #11837]
93637 * iconvdata/gb18030.c: Update to GB18020-2005.
93638
93639 2011-05-16 Ulrich Drepper <drepper@gmail.com>
93640
93641 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
93642 RE_SYNTAX_POSIX_AWK): Update to match recent development.
93643 Patch by Aharon Robbins <arnold@skeeve.com>.
93644
93645 [BZ #11892]
93646 * stdlib/putenv.c (putenv): Don't always create copy of the variable
93647 on the stack.
93648
93649 [BZ #11895]
93650 * misc/pselect.c (__pselect): Handle timeout value errors hidden
93651 through underflows.
93652
93653 [BZ #12766]
93654 * misc/error.c (error_at_line): Ensure file_name and old_file_name
93655 point to strings before performing equality test for error_one_per_line
93656 mode.
93657
93658 [BZ #11697]
93659 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
93660
93661 [BZ #11820]
93662 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93663 (struct user_fpregs_struct): Avoid __uint*_t types.
93664
93665 [BZ #6420]
93666 * malloc/mtrace.c (tr_where): Add additional parameter to point to
93667 symbol info. Use it instead of calling _dl_addr locally.
93668 (lock_and_info): New function.
93669 (tr_freehook): Call lock_and_info and pass symbol info as additional
93670 parameter to tr_where.
93671 (tr_mallochook): Likewise.
93672 (tr_reallochook): Likewise.
93673 (tr_memalignhook): Likewise.
93674
93675 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
93676 used and couldn't be at all thread-safe.
93677
93678 2011-05-15 Ulrich Drepper <drepper@gmail.com>
93679
93680 * libio/freopen.c (freopen): Don't close old file descriptor
93681 before the new one is opened. Instead dup the new file descriptor
93682 to the old one after the new stream is created.
93683 * libio/freopen64.c (freopen64): Likewise.
93684 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
93685 * libio/fileops.c (_IO_new_file_close_it): Handle new
93686 _IO_FLAGS2_NOCLOSE flag.
93687 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
93688 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
93689 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
93690 _IO_FLAGS2_NOCLOSE flag.
93691 * include/unistd.h: Add hidden_proto for dup3.
93692 Define __have_dup3.
93693 * io/dup3.c: Define hidden symbol.
93694 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
93695
93696 [BZ #7101]
93697 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
93698 when an incomplete long option is used.
93699 * posix/tst-getopt_long1.c: New file.
93700 * posix/Makefile (tests): Add tst-getopt_long1.
93701
93702 [BZ #10138]
93703 * scripts/config.guess: Update from autoconf-2.68.
93704 * scripts/config.sub: Likewise.
93705
93706 [BZ #10157]
93707 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
93708 tests into ...
93709 (has_cpuclock): ...this. New function.
93710 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
93711 macro here based on has_cpuclock code.
93712
93713 [BZ #10149]
93714 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
93715 First byte (not low byte) is now always NUL.
93716 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
93717
93718 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
93719 Use non-cancelable interfaces.
93720
93721 [BZ #9809]
93722 * locale/iso-639.def: Add entry for Sorani.
93723
93724 [BZ #11901]
93725 * include/stdlib.h: Move include protection to the right place.
93726 Define abort_msg_s. Declare __abort_msg with it.
93727 * stdlib/abort.c (__abort_msg): Adjust type.
93728 * assert/assert.c (__assert_fail_base): New function. Majority
93729 of code from __assert_fail. Allocate memory for __abort_msg with
93730 mmap.
93731 (__assert_fail): Now call __assert_fail_base.
93732 * assert/assert-perr.c: Remove bulk of implementation. Use
93733 __assert_fail_base.
93734 * include/assert.hL Declare __assert_fail_base.
93735 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
93736 mmap.
93737 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
93738
93739 2011-05-14 Ulrich Drepper <drepper@gmail.com>
93740
93741 [BZ #11952]
93742 [BZ #12453]
93743 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
93744 until all modules are registered in the DTV.
93745 * elf/Makefile: Add rules to build and run tst-tls19.
93746 * elf/tst-tls19.c: New file.
93747 * elf/tst-tls19mod1.c: New file.
93748 * elf/tst-tls19mod2.c: New file.
93749 * elf/tst-tls19mod3.c: New file.
93750 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
93751
93752 [BZ #12083]
93753 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
93754 correctly.
93755
93756 [BZ #12601]
93757 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
93758 two-byte sequence errors.
93759 * iconvdata/Makefile (tests): Add bug-iconv8.
93760 * iconvdata/bug-iconv8.c: New file.
93761
93762 [BZ #12626]
93763 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
93764 buf2 definition.
93765
93766 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
93767
93768 [BZ #12432]
93769 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
93770 (dummy_getcfa): New function.
93771 (init): Get _Unwind_GetCFA address, use dummy if not found.
93772 (backtrace_helper): In recursion check, also check whether CFA changes.
93773 (__backtrace): Completely initialize arg.
93774
93775 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
93776 storing incomplete byte sequence in state object. Avoid testing for
93777 guaranteed too small input if we know there is enough data available.
93778
93779 2011-05-11 Andreas Schwab <schwab@redhat.com>
93780
93781 * Makeconfig (+link-pie): Indent.
93782 * Rules (binaries-pie): Define if $(have-fpie) and
93783 $(build-shared).
93784 (binaries-shared): Also filter out $(binaries-pie).
93785 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
93786 * nscd/Makefile (others-pie): Add nscd.
93787 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
93788 ($(objpfx)nscd): Remove command override.
93789 * login/Makefile (others-pie): Add pt_chown.
93790 ($(objpfx)pt_chown): Remove command override.
93791 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
93792 remove command overrides.
93793
93794 2011-05-13 Ulrich Drepper <drepper@gmail.com>
93795
93796 * libio/tst_putwc.c: Fix error messages.
93797
93798 [BZ #12724]
93799 * libio/fileops.c (_IO_new_file_close_it): Always flush when
93800 currently writing and seek to current position when not.
93801 * libio/Makefile (tests): Add bug-fclose1.
93802 * libio/bug-fclose1.c: New file.
93803
93804 2011-05-12 Ulrich Drepper <drepper@gmail.com>
93805
93806 [BZ #12511]
93807 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
93808 don't set DF_1_NODELETE here.
93809 (do_lookup_x): When entering new entry test for copy relocation
93810 and if necessary set DF_1_NODELETE flag.
93811 * elf/tst-unique4.cc: New file.
93812 * elf/tst-unique4.h: New file.
93813 * elf/tst-unique4lib.cc: New file.
93814 * elf/Makefile: Add rules to build and run tst-unique4.
93815 Patch by Piotr Bury <pbury@goahead.com>.
93816
93817 2011-05-11 Ulrich Drepper <drepper@gmail.com>
93818
93819 [BZ #12052]
93820 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
93821
93822 [BZ #12625]
93823 * misc/mntent_r.c (addmntent): Flush the stream after the output
93824
93825 [BZ #12393]
93826 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
93827 (is_trusted_path_normalize): Skip initial colon. Append slash
93828 to empty buffer. Duplicate is_trusted_path code but allow
93829 constructed patch to be prefix.
93830 (is_dst): Allow $ORIGIN followed by /.
93831 (_dl_dst_substitute): Correct clearing of check_for_trusted.
93832 Correct testing of result of is_trusted_path_normalize
93833 (decompose_rpath): Fix warning.
93834
93835 2011-05-10 Ulrich Drepper <drepper@gmail.com>
93836
93837 [BZ #11257]
93838 * grp/initgroups.c (internal_getgrouplist): When we found the service
93839 list through the initgroups entry in nsswitch.conf do not always
93840 continue on a successful lookup. Don't always use the
93841 __nss_group_database value if it is set.
93842 * nss/nsswitch.conf (initgroups): Change action for successful db
93843 lookup to continue for compatibility.
93844
93845 2011-05-09 Ulrich Drepper <drepper@gmail.com>
93846
93847 [BZ #11532]
93848 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
93849 and CP774 modules.
93850 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
93851 and CP774 modules.
93852 * iconvdata/tst-tables.sh: Likewise.
93853 * iconvdata/cp770.c: New file.
93854 * iconvdata/cp771.c: New file.
93855 * iconvdata/cp772.c: New file.
93856 * iconvdata/cp773.c: New file.
93857 * iconvdata/cp774.c: New file.
93858 * iconvdata/testdata/CP770: New file.
93859 * iconvdata/testdata/CP770..UTF8: New file.
93860 * iconvdata/testdata/CP771: New file.
93861 * iconvdata/testdata/CP771..UTF8: New file.
93862 * iconvdata/testdata/CP772: New file.
93863 * iconvdata/testdata/CP772..UTF8: New file.
93864 * iconvdata/testdata/CP773: New file.
93865 * iconvdata/testdata/CP773..UTF8: New file.
93866 * iconvdata/testdata/CP774: New file.
93867 * iconvdata/testdata/CP774..UTF8: New file.
93868
93869 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
93870 END CHARMAP line.
93871 * iconvdata/gen-8bit-gap.sh: Likewise.
93872 * iconvdata/gen-8bit.sh: Likewise.
93873
93874 * locale/iso-639.def: Add ary entry.
93875
93876 [BZ #11258]
93877 * locale/C-translit.h.in: Add U20A1 transliteration.
93878
93879 [BZ #12178]
93880 * locale/iso-639.def: Add wae entry.
93881 Patch by Kevin Bortis <bortis@translate-wae.ch>.
93882
93883 [BZ #12545]
93884 * locale/programs/localedef.c (construct_output_path): Use ssize_t
93885 for n.
93886
93887 [BZ #12711]
93888 * locale/C-translit.h.in: Add entry for U20B9.
93889 Patch by pravin.d.s@gmail.com.
93890
93891 2011-05-08 Ulrich Drepper <drepper@gmail.com>
93892
93893 [BZ #12713]
93894 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
93895 ENAMETOOLONG use generic getcwd.
93896 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
93897 in rtld. Use *stat64.
93898 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
93899 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
93900 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
93901 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
93902 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
93903 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
93904 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
93905 __fstatat64 macros.
93906 * include/dirent.h: Add libc_hidden_proto for rewinddir.
93907 * dirent/rewinddir.c: Add libc_hidden_def.
93908 * sysdeps/mach/hurd/rewinddir.c: Likewise.
93909 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
93910
93911 * include/dirent.h (__alloc_dir): Add flags parameter.
93912 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
93913 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
93914 __alloc_dir.
93915 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
93916 from fdopendir if O_CLOEXEC is already set.
93917
93918 2011-03-15 Alan Modra <amodra@gmail.com>
93919
93920 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
93921 l_tls_firstbyte_offset non-zero. Save padding offset in
93922 l_tls_firstbyte_offset for later use.
93923 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
93924 freeing static tls block.
93925
93926 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
93927
93928 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
93929 where #ifdef was intended. The intent is to prevent ARG_MAX from
93930 being defined by the kernel headers.
93931
93932 2011-05-07 Ulrich Drepper <drepper@gmail.com>
93933
93934 [BZ #12734]
93935 * resolv/resolv.h: Define RES_NOTLDQUERY.
93936 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
93937 no-tld-query and set RES_NOTLDQUERY.
93938 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
93939 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
93940 modern BIND to search name as TLD unless forbidden.
93941
93942 2011-05-07 Petr Baudis <pasky@suse.cz>
93943 Ulrich Drepper <drepper@gmail.com>
93944
93945 [BZ #12393]
93946 * elf/dl-load.c (fillin_rpath): Move trusted path check...
93947 (is_trusted_path): ...to here.
93948 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
93949 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
93950 using is_trusted_path_normalize() in setuid scripts.
93951
93952 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
93953
93954 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
93955 __BEGIN/__END_DECLS.
93956
93957 2011-05-06 Ulrich Drepper <drepper@gmail.com>
93958
93959 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
93960 NSS_STATUS_NOTFOUND if no record was found.
93961
93962 2011-05-05 Andreas Schwab <schwab@redhat.com>
93963
93964 * sunrpc/Makefile (headers): Add rpc/netdb.h.
93965 (headers-not-in-tirpc): Remove rpc/netdb.h
93966 * resolv/netdb.h: Revert last change.
93967
93968 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
93969
93970 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
93971 circular dependency between libgcc.a and libc.a.
93972
93973 2011-05-05 Andreas Schwab <schwab@redhat.com>
93974
93975 * resolv/netdb.h: Don't include <rpc/netdb.h>.
93976 * nis/Makefile: Don't install rpcsvc/*.
93977 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
93978 instead of <rpc/types.h>.
93979 (MAXHOSTNAMELEN): Define.
93980
93981 2011-05-03 Andreas Schwab <schwab@redhat.com>
93982
93983 * elf/ldconfig.c (add_dir): Don't crash on empty path.
93984
93985 2011-04-28 Maciej Babinski <mbabinski@google.com>
93986
93987 [BZ #12714]
93988 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
93989 gethostbyname4_r when IPv6 results are possible.
93990
93991 2011-05-02 Ulrich Drepper <drepper@gmail.com>
93992
93993 [BZ #12723]
93994 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
93995 _PC_PIPE_BUF handling.
93996
93997 2011-04-30 Bruno Haible <bruno@clisp.org>
93998
93999 [BZ #12717]
94000 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
94001 * resolv/netdb.h (getnameinfo): Change type of flags parameter
94002 to 'int'.
94003 * inet/getnameinfo.c (getnameinfo): Likewise.
94004
94005 2011-04-29 Ulrich Drepper <drepper@gmail.com>
94006
94007 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
94008 to groups setting in database lookup.
94009 * nss/nsswitch.conf: Add initgroups entry.
94010
94011 2011-04-22 Ulrich Drepper <drepper@gmail.com>
94012
94013 [BZ #12685]
94014 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
94015 mode string.
94016 Patch by Eric Blake <eblake@redhat.com>.
94017
94018 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
94019
94020 * sunrpc/Makefile (need-export-routines): Add svc_run.
94021 (routines): Remove svc_run.
94022 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
94023 * sunrpc/clnt_perr.c (clnt_perrno): Export.
94024 * sunrpc/svc_run.c (svc_run): Likewise.
94025 * sunrpc/svc_udp.c (svcudp_create): Likewise.
94026
94027 2011-04-21 Ulrich Drepper <drepper@gmail.com>
94028
94029 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
94030 problem in reallocation in last patch.
94031
94032 2011-04-20 Ulrich Drepper <drepper@gmail.com>
94033
94034 * sunrpc/Makefile: Move inclusion of Rules.
94035
94036 2011-04-19 Ulrich Drepper <drepper@gmail.com>
94037
94038 * nss/nss_files/files-initgroups.c: New file.
94039 * nss/Makefile (libnss_files-routines): Add files-initgroups.
94040 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
94041 _nss_files_initgroups_dyn.
94042
94043 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
94044
94045 * elf/elf.h (R_ARM_IRELATIVE): Define.
94046
94047 2011-04-19 Ulrich Drepper <drepper@gmail.com>
94048
94049 * po/ru.po: Update from translation team.
94050
94051 2011-04-17 Ulrich Drepper <drepper@gmail.com>
94052
94053 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
94054 dependencies.
94055
94056 2011-02-06 Mike Frysinger <vapier@gentoo.org>
94057
94058 [BZ #12653]
94059 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
94060 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
94061 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
94062 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
94063 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
94064
94065 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
94066
94067 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
94068 differing bytes.
94069 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
94070 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
94071 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
94072
94073 2011-04-17 Ulrich Drepper <drepper@gmail.com>
94074
94075 [BZ #12420]
94076 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
94077 storing it.
94078 * stdlib/bug-getcontext.c: New file.
94079 * stdlib/Makefile: Add rules to build and run bug-getcontext.
94080
94081 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
94082
94083 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
94084 instructions into .machine "z9-109".
94085 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
94086 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
94087
94088 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
94089
94090 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
94091 between environment variables and auxiliary vector.
94092
94093 2011-04-16 Ulrich Drepper <drepper@gmail.com>
94094
94095 * Makefile: Add rules to build linkobj/libc.so.
94096 * include/libc-symbols.h: Define libc_hidden_nolink.
94097 * include/rpc/auth.h: Mark functions which are to be hidden.
94098 * include/rpc/auth_des.h: Likewise.
94099 * include/rpc/auth_unix.h: Likewise.
94100 * include/rpc/clnt.h: Likewise.
94101 * include/rpc/des_crypt.h: Likewise.
94102 * include/rpc/key_prot.h: Likewise.
94103 * include/rpc/pmap_clnt.h: Likewise.
94104 * include/rpc/pmap_prot.h: Likewise.
94105 * include/rpc/pmap_rmt.h: Likewise.
94106 * include/rpc/rpc_msg.h: Likewise.
94107 * include/rpc/svc.h: Likewise.
94108 * include/rpc/svc_auth.h: Likewise.
94109 * include/rpc/xdr.h: Likewise.
94110 * nis/Makefile: Link all DSOs against linkobj/libc.so.
94111 * nss/Makefile: Likewise.
94112 * sunrpc/Makefile: Don't install headers. Build library with normal
94113 entry points. Don't build rpcinfo. Link RPC tests appropriately.
94114 * sunrpc/auth_des.c: Hide exported symbols by default, export some
94115 for the compat linking library. Remove use of INTDEF/INTUSE.
94116 * sunrpc/auth_none.c: Likewise.
94117 * sunrpc/auth_unix.c: Likewise.
94118 * sunrpc/authdes_prot.c: Likewise.
94119 * sunrpc/authuxprot.c: Likewise.
94120 * sunrpc/clnt_gen.c: Likewise.
94121 * sunrpc/clnt_perr.c: Likewise.
94122 * sunrpc/clnt_raw.c: Likewise.
94123 * sunrpc/clnt_simp.c: Likewise.
94124 * sunrpc/clnt_tcp.c: Likewise.
94125 * sunrpc/clnt_udp.c: Likewise.
94126 * sunrpc/clnt_unix.c: Likewise.
94127 * sunrpc/des_crypt.c: Likewise.
94128 * sunrpc/des_soft.c: Likewise.
94129 * sunrpc/get_myaddr.c: Likewise.
94130 * sunrpc/key_call.c: Likewise.
94131 * sunrpc/key_prot.c: Likewise.
94132 * sunrpc/netname.c: Likewise.
94133 * sunrpc/pm_getmaps.c: Likewise.
94134 * sunrpc/pm_getport.c: Likewise.
94135 * sunrpc/pmap_clnt.c: Likewise.
94136 * sunrpc/pmap_prot.c: Likewise.
94137 * sunrpc/pmap_prot2.c: Likewise.
94138 * sunrpc/pmap_rmt.c: Likewise.
94139 * sunrpc/publickey.c: Likewise.
94140 * sunrpc/rpc_cmsg.c: Likewise.
94141 * sunrpc/rpc_common.c: Likewise.
94142 * sunrpc/rpc_dtable.c: Likewise.
94143 * sunrpc/rpc_prot.c: Likewise.
94144 * sunrpc/rpc_thread.c: Likewise.
94145 * sunrpc/rtime.c: Likewise.
94146 * sunrpc/svc.c: Likewise.
94147 * sunrpc/svc_auth.c: Likewise.
94148 * sunrpc/svc_authux.c: Likewise.
94149 * sunrpc/svc_raw.c: Likewise.
94150 * sunrpc/svc_run.c: Likewise.
94151 * sunrpc/svc_simple.c: Likewise.
94152 * sunrpc/svc_tcp.c: Likewise.
94153 * sunrpc/svc_udp.c: Likewise.
94154 * sunrpc/svc_unix.c: Likewise.
94155 * sunrpc/svcauth_des.c: Likewise.
94156 * sunrpc/xcrypt.c: Likewise.
94157 * sunrpc/xdr.c: Likewise.
94158 * sunrpc/xdr_array.c: Likewise.
94159 * sunrpc/xdr_float.c: Likewise.
94160 * sunrpc/xdr_intXX_t.c: Likewise.
94161 * sunrpc/xdr_mem.c: Likewise.
94162 * sunrpc/xdr_rec.c: Likewise.
94163 * sunrpc/xdr_ref.c: Likewise.
94164 * sunrpc/xdr_sizeof.c: Likewise.
94165 * sunrpc/xdr_stdio.c: Likewise.
94166
94167 2011-04-10 Ulrich Drepper <drepper@gmail.com>
94168
94169 [BZ #12650]
94170 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
94171 * sysdeps/ia64/dl-tls.h: Likewise.
94172 * sysdeps/powerpc/dl-tls.h: Likewise.
94173 * sysdeps/s390/dl-tls.h: Likewise.
94174 * sysdeps/sh/dl-tls.h: Likewise.
94175 * sysdeps/sparc/dl-tls.h: Likewise.
94176 * sysdeps/x86_64/dl-tls.h: Likewise.
94177 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
94178
94179 2011-03-14 Andreas Schwab <schwab@redhat.com>
94180
94181 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
94182 rpath element also skip the following colon.
94183 (expand_dynamic_string_token): Add is_path parameter and pass
94184 down to DL_DST_REQUIRED and _dl_dst_substitute.
94185 (decompose_rpath): Call expand_dynamic_string_token with
94186 non-zero is_path. Ignore empty rpaths.
94187 (_dl_map_object_from_fd): Call expand_dynamic_string_token
94188 with zero is_path.
94189
94190 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
94191
94192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
94193 Make cancelable.
94194
94195 2011-04-09 Ulrich Drepper <drepper@gmail.com>
94196
94197 [BZ #12655]
94198 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
94199 Patch by Filipe David Manana <fdmanana@apache.org>.
94200
94201 2011-04-07 Andreas Schwab <schwab@redhat.com>
94202
94203 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
94204 Maintain aligned stack.
94205 (CHECK_RSP): Remove unused macro.
94206
94207 2011-04-03 Ulrich Drepper <drepper@gmail.com>
94208
94209 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
94210 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
94211
94212 2011-04-02 Ulrich Drepper <drepper@gmail.com>
94213
94214 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
94215
94216 * include/features.h: Mention __USE_XOPEN2K8 in comment.
94217
94218 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
94219
94220 [BZ #12518]
94221 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
94222 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
94223 * sysdeps/x86_64/memmove.c: New file.
94224 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
94225 (memcpy): Renamed to ...
94226 (__new_memcpy): This.
94227 (memcpy): Provide GLIBC_2_14 memcpy.
94228 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
94229 (memcpy): Provide GLIBC_2_2_5 memcpy.
94230
94231 2011-04-01 Ulrich Drepper <drepper@gmail.com>
94232
94233 [BZ #12631]
94234 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
94235
94236 2011-03-30 Andreas Schwab <schwab@redhat.com>
94237
94238 * misc/syncfs.c: New file.
94239 * misc/Makefile (routines): Add syncfs.
94240 * posix/unistd.h: Declare syncfs.
94241 * sysdeps/unix/syscalls.list: Add syncfs.
94242
94243 2011-04-01 Andreas Schwab <schwab@redhat.com>
94244
94245 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
94246 open_by_handle_at.
94247 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
94248 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94249 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94250 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94251 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94252 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
94253 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94254
94255 2011-04-01 Ulrich Drepper <drepper@gmail.com>
94256
94257 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
94258 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94259 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
94260 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94261 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94262 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94263 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94264
94265 * io/Makefile: Compile fallocate.c, fallocate64.c, and
94266 sync_file_range.c with -fexceptions.
94267 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
94268 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
94269 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
94270 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
94271 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
94272 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
94273 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
94274 sync_file_range as cancellation point
94275 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
94276 now a wrapper around __call_sync_file_range with cancellation handling.
94277 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
94278 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
94279 function name to __call_sync_file_range.
94280 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
94281 Add call_sync_file_range.
94282
94283 2011-04-01 Andreas Schwab <schwab@redhat.com>
94284
94285 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
94286 bits/timex.h.
94287
94288 2011-04-01 Ulrich Drepper <drepper@gmail.com>
94289
94290 * iconv/iconv.h: Fix typo in comment.
94291 * io/fcntl.h: Likewise.
94292 * libio/stdio.h: Likewise.
94293 * posix/spawn.h: Likewise.
94294 * posix/unistd.h: Likewise.
94295 * stdlib/stdlib.h: Likewise.
94296 * time/time.h: Likewise.
94297 * wcsmbs/wchar.h: Likewise.
94298
94299 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
94300 open_by_handle): Add.
94301 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
94302 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
94303 Augment a few comments.
94304 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94305 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94306 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94307 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94308 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94309 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
94310 open_by_handle.
94311
94312 * io/fcntl.h (AT_EMPTY_PATH): Define.
94313
94314 2011-03-30 Ulrich Drepper <drepper@gmail.com>
94315
94316 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
94317 * sysdeps/unix/sysv/linux/bits/time.h: New file.
94318 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
94319 to...
94320 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
94321 * Versions.def: Add GLIBC_2.14.
94322 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
94323 Export.
94324
94325 2011-03-22 Ulrich Drepper <drepper@gmail.com>
94326
94327 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
94328 round counter.
94329 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94330
94331 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
94332
94333 [BZ #12597]
94334 * string/test-strncmp.c (do_page_test): New function.
94335 (check2): Likewise.
94336 (test_main): Call check2.
94337 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
94338
94339 2011-03-20 Ulrich Drepper <drepper@gmail.com>
94340
94341 [BZ #12587]
94342 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
94343 Handle cache information in CPU leaf 4.
94344 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94345
94346 2011-03-18 Ulrich Drepper <drepper@gmail.com>
94347
94348 [BZ #12583]
94349 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
94350 character representation.
94351 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
94352
94353 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
94354
94355 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
94356 END(__isnan) to END(__isnanf) to match function entry point/label
94357 EALIGN(__isnanf,...).
94358
94359 2011-03-10 Jakub Jelinek <jakub@redhat.com>
94360
94361 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
94362
94363 2011-03-10 Ulrich Drepper <drepper@gmail.com>
94364
94365 [BZ #12510]
94366 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
94367 copy from the symbol referenced in the relocation to initialize the
94368 used variable.
94369 Patch by Piotr Bury <pbury@goahead.com>.
94370 * elf/Makefile: Add rules to build and tst-unique3.
94371 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
94372 * elf/tst-unique3.cc: New file.
94373 * elf/tst-unique3.h: New file.
94374 * elf/tst-unique3lib.cc: New file.
94375 * elf/tst-unique3lib2.cc: New file.
94376
94377 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
94378
94379 2011-03-10 Mike Frysinger <vapier@gentoo.org>
94380
94381 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
94382 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
94383 to _start.
94384
94385 2011-03-06 Ulrich Drepper <drepper@gmail.com>
94386
94387 * elf/dl-load.c (_dl_map_object): If we are looking for the first
94388 to-be-loaded object along a path to loader is ld.so.
94389
94390 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
94391 Ulrich Drepper <drepper@gmail.com>
94392
94393 * sysdeps/x86_64/memset.S: After aligning destination, code
94394 branches to different locations depending on the value of
94395 misalignment, when multiarch is enabled. Fix this.
94396
94397 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
94398
94399 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
94400 Set _x86_64_preferred_memory_instruction for AMD processsors.
94401 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94402 Set bit_Prefer_SSE_for_memop for AMD processors.
94403
94404 2011-03-04 Ulrich Drepper <drepper@gmail.com>
94405
94406 * libio/fmemopen.c (fmemopen): Optimize a bit.
94407
94408 2011-03-03 Andreas Schwab <schwab@redhat.com>
94409
94410 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
94411
94412 2011-03-03 Roland McGrath <roland@redhat.com>
94413
94414 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
94415
94416 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
94417
94418 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
94419 __bzero_ultra1 instead of __memset_ultra1.
94420
94421 2011-02-23 Andreas Schwab <schwab@redhat.com>
94422 Ulrich Drepper <drepper@gmail.com>
94423
94424 [BZ #12509]
94425 * include/link.h (struct link_map): Add l_orig_initfini.
94426 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
94427 returning unsuccessfully.
94428 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
94429 close of a file loaded at startup, restore the original l_initfini
94430 list.
94431 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
94432 list, store the pointer.
94433 * elf/Makefile ($(objpfx)noload-mem): New rule.
94434 (noload-ENV): Define.
94435 (tests): Add $(objpfx)noload-mem.
94436 * elf/noload.c: Include <memcheck.h>.
94437 (main): Call mtrace. Close all opened handles.
94438
94439 2011-02-17 Andreas Schwab <schwab@redhat.com>
94440
94441 [BZ #12454]
94442 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
94443 dependencies are missing.
94444
94445 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
94446
94447 Fix __if_freereq crash: Unlike the generic version which uses free,
94448 Hurd needs munmap.
94449 * sysdeps/mach/hurd/ifreq.h: New file.
94450
94451 2011-01-27 Petr Baudis <pasky@suse.cz>
94452 Ulrich Drepper <drepper@gmail.com>
94453
94454 [BZ 12445]#
94455 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
94456 to extend_alloca().
94457 * stdio-common/bug23.c: New file.
94458 * stdio-common/Makefile (tests): Add bug23.
94459
94460 2010-09-28 Andreas Schwab <schwab@redhat.com>
94461 Ulrich Drepper <drepper@gmail.com>
94462
94463 [BZ #12489]
94464 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
94465 before performing relro protection. At old place add assertion
94466 to make sure nothing changed.
94467
94468 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
94469 Glauber de Oliveira Costa <glommer@gmail.com>
94470
94471 * elf/elf.h: Add new ARM TLS relocs.
94472
94473 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
94474
94475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
94476 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
94477 cast from r3.
94478 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
94479 'tests' variable.
94480 * sysdeps/wordsize-64/tst-writev.c: New file.
94481
94482 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
94483
94484 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
94485 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
94486 insns in _dl_start to prevent a TOC reference before relocs are
94487 resolved.
94488
94489 2011-02-15 Ulrich Drepper <drepper@gmail.com>
94490
94491 [BZ #12469]
94492 * Makeconfig: Remove RANLIB definition.
94493 * Makerules: Don't use RANLIB.
94494 * aclocal.m4: Remove ranlib test.
94495 * configure.in: No need to check for ranlib.
94496 * elf/rtld-Rules: Don't use RANLIB.
94497
94498 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
94499
94500 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
94501 protection macro.
94502 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
94503 inclusion protection macro.
94504
94505 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
94506 SIGRTMIN and SIGRTMAX and print information in that case only when
94507 SIGRTMIN is defined.
94508
94509 2011-02-11 Jakub Jelinek <jakub@redhat.com>
94510
94511 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
94512 arginfo fn returning -1.
94513
94514 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
94515 and thousands string is zero terminated.
94516
94517 2011-02-03 Andreas Schwab <schwab@redhat.com>
94518
94519 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
94520 sysdeps/unix/sysv/linux/bits/socket.h.
94521
94522 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
94523
94524 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
94525 (__CPU_COUNT): Remove old macros.
94526 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
94527 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
94528 (__CPU_ALLOC, __CPU_FREE): Add macros.
94529 (__sched_cpualloc, __sched_cpufree): Add declarations.
94530
94531 2011-02-05 Ulrich Drepper <drepper@gmail.com>
94532
94533 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
94534 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
94535 * nscd/aicache.c (addhstaiX): Return timeout of added value.
94536 (readdhstai): Return value of addhstaiX call.
94537 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
94538 (addgrbyX): Return value returned by cache_addgr.
94539 (readdgrbyname): Return value returned by addgrbyX.
94540 (readdgrbygid): Likewise.
94541 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
94542 (addpwbyX): Return value returned by cache_addpw.
94543 (readdpwbyname): Return value returned by addhstbyX.
94544 (readdpwbyuid): Likewise.
94545 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
94546 (addservbyX): Return value returned by cache_addserv.
94547 (readdservbyname): Return value returned by addservbyX:
94548 (readdservbyport): Likewise.
94549 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
94550 (addhstbyX): Return value returned by cache_addhst.
94551 (readdhstbyname): Return value returned by addhstbyX.
94552 (readdhstbyaddr): Likewise.
94553 (readdhstbynamev6): Likewise.
94554 (readdhstbyaddrv6): Likewise.
94555 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
94556 (readdinitgroups): Return value returned by addinitgroupsX.
94557 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
94558 (prune_cache): Keep track of timeout value of re-added entries.
94559 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
94560 * nscd/nscd.h: Adjust prototypes of readd* functions.
94561
94562 2011-02-04 Roland McGrath <roland@redhat.com>
94563
94564 * nis/nis_server.c (nis_servstate): Use the right name for 0.
94565 (nis_stats): Likewise.
94566 * nis/nis_modify.c (nis_modify): Likewise.
94567 * nis/nis_remove.c (nis_remove): Likewise.
94568 * nis/nis_add.c (nis_add): Likewise.
94569
94570 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
94571
94572 * posix/fnmatch_loop.c: Add some consts.
94573
94574 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
94575
94576 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
94577
94578 [BZ #12460]
94579 * config.make.in (config-cflags-novzeroupper): Define.
94580 * configure.in: Substitute libc_cv_cc_novzeroupper.
94581 * elf/Makefile (AVX-CFLAGS): Define.
94582 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
94583 (CFLAGS-tst-auditmod4a.c): Likewise.
94584 (CFLAGS-tst-auditmod4b.c): Likewise.
94585 (CFLAGS-tst-auditmod6b.c): Likewise.
94586 (CFLAGS-tst-auditmod6c.c): Likewise.
94587 (CFLAGS-tst-auditmod7b.c): Likewise.
94588 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
94589
94590 2011-02-02 Ulrich Drepper <drepper@gmail.com>
94591
94592 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
94593 function to the callback.
94594 Patch partly by Jiri Olsa <jolsa@redhat.com>.
94595
94596 2011-02-02 Andreas Schwab <schwab@redhat.com>
94597
94598 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
94599 of errno.
94600
94601 2011-01-19 Ulrich Drepper <drepper@gmail.com>
94602
94603 [BZ #11724]
94604 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
94605 of constructors.
94606 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
94607 of destructors.
94608 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
94609
94610 [BZ #11724]
94611 * elf/Makefile: Add rules to build and run new test.
94612 * elf/tst-initorder.c: New file.
94613 * elf/tst-initorder.exp: New file.
94614 * elf/tst-initordera1.c: New file.
94615 * elf/tst-initordera2.c: New file.
94616 * elf/tst-initordera3.c: New file.
94617 * elf/tst-initordera4.c: New file.
94618 * elf/tst-initorderb1.c: New file.
94619 * elf/tst-initorderb2.c: New file.
94620 * elf/tst-order-a1.c: New file.
94621 * elf/tst-order-a2.c: New file.
94622 * elf/tst-order-a3.c: New file.
94623 * elf/tst-order-a4.c: New file.
94624 * elf/tst-order-b1.c: New file.
94625 * elf/tst-order-b2.c: New file.
94626 * elf/tst-order-main.c: New file.
94627 New test case by George Gensure <werkt0@gmail.com>.
94628
94629 2010-10-01 Andreas Schwab <schwab@redhat.com>
94630
94631 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
94632 decoding ACE if AI_CANONIDN.
94633
94634 2011-01-18 Ulrich Drepper <drepper@gmail.com>
94635
94636 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
94637
94638 2011-01-17 Ulrich Drepper <drepper@gmail.com>
94639
94640 * version.h (RELEASE): Bump for 2.13 release.
94641 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
94642
94643 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
94644
94645 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
94646 MADV_NOHUGEPAGE.
94647 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
94648 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
94649 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
94650 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
94651 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
94652 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
94653
94654 * posix/getconf.c: Update copyright year.
94655 * catgets/gencat.c: Likewise.
94656 * csu/version.c: Likewise.
94657 * debug/catchsegv.sh: Likewise.
94658 * debug/xtrace.sh: Likewise.
94659 * elf/ldconfig.c: Likewise.
94660 * elf/ldd.bash.in: Likewise.
94661 * elf/sprof.c (print_version): Likewise.
94662 * iconv/iconv_prog.c: Likewise.
94663 * iconv/iconvconfig.c: Likewise.
94664 * locale/programs/locale.c: Likewise.
94665 * locale/programs/localedef.c: Likewise.
94666 * malloc/memusage.sh: Likewise.
94667 * malloc/mtrace.pl: Likewise.
94668 * nscd/nscd.c (print_version): Likewise.
94669 * nss/getent.c: Likewise.
94670
94671 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
94672 PF_CAIF, and PF_ALG.
94673 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
94674
94675 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
94676
94677 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
94678 (modules-names): Use them.
94679 (ifunc-test-modules, ifunc-pie-tests): Define.
94680 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
94681 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
94682 (test-extras): Likewise.
94683 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
94684 $(compile-command.c).
94685 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
94686 (all-built-dso): Define.
94687 (check-textrel.out, check-execstack.out): Depend on it.
94688
94689 * configure.in: Don't override --enable-multi-arch.
94690
94691 2011-01-15 Ulrich Drepper <drepper@gmail.com>
94692
94693 [BZ #6812]
94694 * nscd/hstcache.c (tryagain): Define.
94695 (cache_addhst): Return tryagain not notfound for temporary errors.
94696 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
94697 failed.
94698
94699 2011-01-14 Ulrich Drepper <drepper@gmail.com>
94700
94701 [BZ #10563]
94702 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
94703 to make the syscall.
94704 * sysdeps/unix/sysv/linux/setgroups.c: New file.
94705
94706 [BZ #12378]
94707 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
94708 and fall back to matching as normal character if the string ends before
94709 the matching ']' is found. This is what POSIX requires.
94710 * posix/testfnm.c: Adjust test result.
94711 * posix/globtest.sh: Adjust test result. Add new test.
94712 * posix/tst-fnmatch.input: Likewise.
94713 * posix/tst-fnmatch2.c: Add new test.
94714
94715 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
94716
94717 * elf/Makefile (check-execstack): Revert last change. Depend on
94718 check-execstack.h.
94719 (check-execstack.h): New target.
94720 (generated): Add check-execstack.h.
94721 * elf/check-execstack.c: Include "check-execstack.h".
94722 (main): Revert last change.
94723 (handle_file): Return zero if GNU_STACK is absent and
94724 DEFAULT_STACK_PERMS doesn't include PF_X.
94725
94726 2011-01-13 Ulrich Drepper <drepper@gmail.com>
94727
94728 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
94729 in child fails because the descriptor is already closed.
94730 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
94731 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
94732 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
94733
94734 [BZ #12397]
94735 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
94736 syscall.
94737
94738 [BZ #10484]
94739 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
94740 temporary buffer used to handle multi lookups locally.
94741 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
94742
94743 2011-01-12 Ulrich Drepper <drepper@gmail.com>
94744
94745 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
94746 loader is ld.so.
94747
94748 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
94749
94750 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
94751 alignment for SSE2.
94752
94753 2011-01-12 Ulrich Drepper <drepper@gmail.com>
94754
94755 [BZ #12394]
94756 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
94757 characters. When rounding increased number of integer digits recompute
94758 number of groups.
94759 * stdio-common/tst-grouping.c: New file.
94760 * stdio-common/Makefile: Add rules to build and run tst-grouping.
94761
94762 2011-01-09 Ulrich Drepper <drepper@gmail.com>
94763
94764 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
94765 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
94766
94767 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
94768 void.
94769 * bits/select.h: Likewise.
94770
94771 2011-01-08 Ulrich Drepper <drepper@gmail.com>
94772
94773 * po/ja.po: Update from translation team.
94774
94775 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
94776
94777 [BZ #11155]
94778 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
94779 implementation just like for lxstat, fxstatat, et al.
94780
94781 2010-12-27 Jim Meyering <meyering@redhat.com>
94782
94783 [BZ #12348]
94784 * posix/regexec.c (build_trtable): Return failure indication upon
94785 calloc failure. Otherwise, re_search_internal could infloop on OOM.
94786
94787 2010-12-25 Ulrich Drepper <drepper@gmail.com>
94788
94789 [BZ #12201]
94790 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
94791 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
94792 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
94793 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
94794
94795 [BZ #12207]
94796 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
94797
94798 [BZ #12204]
94799 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
94800 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
94801
94802 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
94803
94804 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
94805 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
94806 script has SORT_BY_INIT_PRIORITY.
94807 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
94808 NO_CTORS_DTORS_SECTIONS is defined.
94809 * elf/soinit.c: Likewise.
94810 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
94811 NO_CTORS_DTORS_SECTIONS is defined.
94812 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
94813 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
94814 * sysdeps/sh/init-first.c: Likewise.
94815 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
94816
94817 2010-12-24 Ulrich Drepper <drepper@gmail.com>
94818
94819 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
94820 always use the slow path.
94821
94822 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
94823
94824 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
94825 similar rule which adds the sysdep directories to the header search in
94826 order to pick up the correct platform stackinfo.h.
94827 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
94828 perform test if it is, otherwise return successfully without testing.
94829 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
94830 DEFAULT_STACK_PERMS define in stackinfo.h.
94831 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
94832 defined in stackinfo.h.
94833 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
94834 DEFAULT_STACK_PERMS defined in stackinfo.h.
94835 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
94836 * sysdeps/ia64/stackinfo.h: Likewise.
94837 * sysdeps/s390/stackinfo.h: Likewise.
94838 * sysdeps/sh/stackinfo.h: Likewise.
94839 * sysdeps/sparc/stackinfo.h: Likewise.
94840 * sysdeps/x86_64/stackinfo.h: Likewise.
94841 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
94842 PF_X for powerpc64. Retain PF_X for powerpc32.
94843
94844 2010-12-19 Ulrich Drepper <drepper@gmail.com>
94845
94846 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
94847 accurately.
94848 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
94849 GETDENTS_64BIT_ALIGNED.
94850
94851 2010-12-14 Ulrich Drepper <dreper@gmail.com>
94852
94853 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
94854
94855 2010-12-10 Andreas Schwab <schwab@redhat.com>
94856
94857 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
94858 _GNU_SOURCE.
94859
94860 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
94861 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
94862 Remove __restrict.
94863 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
94864 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
94865
94866 2010-12-09 Ulrich Drepper <drepper@gmail.com>
94867
94868 [BZ #11655]
94869 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
94870 are initialized.
94871
94872 2010-12-09 Jakub Jelinek <jakub@redhat.com>
94873
94874 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
94875
94876 2010-12-03 Ulrich Drepper <drepper@gmail.com>
94877
94878 * po/it.po: Update from translation team.
94879
94880 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
94881
94882 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
94883 unused codes.
94884
94885 2010-11-30 Ulrich Drepper <drepper@gmail.com>
94886
94887 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
94888
94889 2010-11-24 Andreas Schwab <schwab@redhat.com>
94890
94891 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
94892 specially.
94893 (gaih_getanswer_slice): Likewise.
94894
94895 2010-10-20 Jakub Jelinek <jakub@redhat.com>
94896
94897 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
94898
94899 2010-05-31 Petr Baudis <pasky@suse.cz>
94900
94901 [BZ #11149]
94902 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
94903 silently even in the chroot mode.
94904
94905 2010-11-22 Ulrich Drepper <drepper@gmail.com>
94906
94907 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
94908 last patch a bit. Pretty printing
94909
94910 2010-05-31 Petr Baudis <pasky@suse.cz>
94911
94912 [BZ #10085]
94913 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
94914 initialization of skip_initgroups_dyn.
94915
94916 2010-11-19 Ulrich Drepper <drepper@gmail.com>
94917
94918 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
94919 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
94920
94921 2010-11-16 Ulrich Drepper <drepper@gmail.com>
94922
94923 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
94924
94925 2010-11-11 Andreas Schwab <schwab@redhat.com>
94926
94927 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
94928 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
94929 (tst-fnmatch-ENV): Set MALLOC_TRACE.
94930 ($(objpfx)tst-fnmatch-mem): New rule.
94931 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
94932 * posix/tst-fnmatch.c (main): Call mtrace.
94933
94934 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
94935
94936 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94937 Support Intel processor model 6 and model 0x2c.
94938
94939 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
94940
94941 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
94942 signed comparison.
94943
94944 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
94945
94946 [BZ #12205]
94947 * string/test-strncasecmp.c (check_result): New function.
94948 (do_one_test): Use it.
94949 (check1): New function.
94950 (test_main): Use it.
94951 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
94952 Support strcasecmp and strncasecmp.
94953
94954 2010-11-08 Ulrich Drepper <drepper@gmail.com>
94955
94956 [BZ #12194]
94957 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
94958 * sysdeps/x86_64/bits/byteswap.h: Likewise.
94959
94960 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
94961
94962 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
94963 IFUNC support.
94964 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
94965 memset-x86-64.
94966 * sysdeps/x86_64/multiarch/bzero.S: New file.
94967 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
94968 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
94969 * sysdeps/x86_64/multiarch/memset.S: New file.
94970 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
94971 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94972 Set bit_Prefer_SSE_for_memop for Intel processors.
94973 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
94974 Define.
94975 (index_Prefer_SSE_for_memop): Define.
94976 (HAS_PREFER_SSE_FOR_MEMOP): Define.
94977
94978 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
94979
94980 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
94981 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
94982
94983 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
94984
94985 [BZ #12191]
94986 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
94987 (__x86_64_raw_data_cache_size_half): Likewise.
94988 (__x86_64_raw_shared_cache_size): Likewise.
94989 (__x86_64_raw_shared_cache_size_half): Likewise.
94990
94991 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
94992 (__x86_64_raw_data_cache_size_half): Likewise.
94993 (__x86_64_raw_shared_cache_size): Likewise.
94994 (__x86_64_raw_shared_cache_size_half): Likewise.
94995 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
94996 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
94997 and __x86_64_raw_shared_cache_size_half. Round
94998 __x86_64_data_cache_size_half, __x86_64_data_cache_size
94999 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
95000 to multiple of 256 bytes.
95001
95002 2010-11-03 Ulrich Drepper <drepper@gmail.com>
95003
95004 [BZ #12167]
95005 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
95006 of inacessible symlinks. Verify result of symlink before returning it.
95007 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
95008 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
95009
95010 2010-10-28 Erich Ritz <erichritz@gmail.com>
95011
95012 * math/math.h (isinf): Fix typo in comment.
95013
95014 2010-11-01 Ulrich Drepper <drepper@gmail.com>
95015
95016 * po/da.po: Update from translation team.
95017
95018 2010-10-26 Ulrich Drepper <drepper@gmail.com>
95019
95020 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
95021 is added to the list.
95022
95023 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
95024 Ulrich Drepper <drepper@gmail.com>
95025
95026 * elf/dl-object.c (_dl_new_object): Don't append the new object to
95027 the global list here. Move code to...
95028 (_dl_add_to_namespace_list): ...here. New function.
95029 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
95030 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
95031 * elf/dl-load.c (lose): Don't remove the element from the list.
95032 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
95033 (_dl_map_object): Likewise.
95034
95035 2010-10-25 Ulrich Drepper <drepper@gmail.com>
95036
95037 [BZ #12159]
95038 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
95039 into all bytes of SSE register.
95040 Patch by Richard Li <richardpku@gmail.com>.
95041
95042 2010-10-24 Ulrich Drepper <drepper@gmail.com>
95043
95044 [BZ #12140]
95045 * malloc/malloc.c (_int_free): Fill correct number of bytes when
95046 perturbing.
95047
95048 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
95049
95050 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
95051 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
95052 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
95053 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
95054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
95055 submachine.
95056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
95057
95058 2010-10-22 Andreas Schwab <schwab@redhat.com>
95059
95060 * include/dlfcn.h (__RTLD_SECURE): Define.
95061 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
95062 mode & __RTLD_SECURE instead.
95063 (open_path): Rename preloaded parameter to secure.
95064 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
95065 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
95066 * elf/dl-deps.c (openaux): Likewise.
95067 * elf/rtld.c (struct map_args): Remove is_preloaded.
95068 (map_doit): Don't use it.
95069 (dl_main): Likewise.
95070 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
95071 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
95072
95073 2010-09-09 Andreas Schwab <schwab@redhat.com>
95074
95075 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
95076 (sysd-rules-targets): Remove duplicates.
95077 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
95078 rtld-%.$o dependency.
95079
95080 2010-10-18 Andreas Schwab <schwab@redhat.com>
95081
95082 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
95083 _dl_map_object do it.
95084
95085 2010-10-19 Ulrich Drepper <drepper@gmail.com>
95086
95087 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
95088 fast fma builtins, define the macros in the C99 standard.
95089 (FP_FAST_FMAF): Likewise.
95090 (FP_FAST_FMAL): Likewise.
95091 * sysdeps/x86_64/bits/mathdef.h: Likewise.
95092
95093 * bits/mathdef.h: Update copyright year.
95094 * sysdeps/powerpc/bits/mathdef.h: Likewise.
95095
95096 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
95097
95098 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
95099 builtins, define the macros in the C99 standard.
95100 (FP_FAST_FMAF): Likewise.
95101 (FP_FAST_FMAL): Likewise.
95102 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
95103 multiply/add.
95104 (FP_FAST_FMAF): Likewise.
95105
95106 2010-10-15 Jakub Jelinek <jakub@redhat.com>
95107
95108 [BZ #3268]
95109 * math/libm-test.inc (fma_test): Some new testcases.
95110 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
95111 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
95112 y and infinite z. Do multiplication by C already in long double.
95113 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
95114 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
95115 y and infinite z. Do bitwise or of inexact bit into u.d.
95116 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
95117 * sysdeps/i386/fpu/s_fmaf.S: Removed.
95118 * sysdeps/i386/fpu/s_fma.S: Removed.
95119 * sysdeps/i386/fpu/s_fmal.S: Removed.
95120
95121 2010-10-16 Jakub Jelinek <jakub@redhat.com>
95122
95123 [BZ #3268]
95124 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
95125 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
95126 computation is not scheduled after fetestexcept. Fix value
95127 of minimum denormal long double.
95128
95129 2010-10-14 Jakub Jelinek <jakub@redhat.com>
95130
95131 [BZ #3268]
95132 * math/libm-test.inc (fma_test): Add some more tests.
95133 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
95134 correctly.
95135
95136 2010-10-15 Andreas Schwab <schwab@redhat.com>
95137
95138 * scripts/data/localplt-s390-linux-gnu.data: New file.
95139 * scripts/data/localplt-s390x-linux-gnu.data: New file.
95140
95141 2010-10-13 Jakub Jelinek <jakub@redhat.com>
95142
95143 [BZ #3268]
95144 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
95145 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
95146 instead of dbl-64.
95147 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
95148 inlines.
95149 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
95150 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
95151 if one of x and y is very large and the other is subnormal.
95152 * sysdeps/s390/fpu/s_fmaf.c: New file.
95153 * sysdeps/s390/fpu/s_fma.c: New file.
95154 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
95155 * sysdeps/powerpc/fpu/s_fma.S: New file.
95156 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
95157 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
95158 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
95159
95160 2010-10-12 Jakub Jelinek <jakub@redhat.com>
95161
95162 [BZ #3268]
95163 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
95164 fma tests.
95165 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
95166 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
95167 * sysdeps/i386/i686/multiarch/s_fma.c: Include
95168 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
95169 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
95170 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
95171 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
95172
95173 2010-10-12 Ulrich Drepper <drepper@redhat.com>
95174
95175 [BZ #12078]
95176 * posix/regcomp.c (parse_branch): One more memory leak plugged.
95177 * posix/bug-regex31.input: Add test case.
95178
95179 2010-10-11 Ulrich Drepper <drepper@gmail.com>
95180
95181 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
95182 * posix/bug-regex31.input: New file.
95183
95184 [BZ #12078]
95185 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
95186 (parse_sub_exp): Fix last change, use postorder.
95187
95188 * posix/bug-regex31.c: New file.
95189 * posix/Makefile: Add rules to build and run bug-regex31.
95190
95191 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
95192
95193 [BZ #12078]
95194 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
95195
95196 [BZ #12108]
95197 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
95198 to have entries in sys_siglist.
95199
95200 [BZ #12093]
95201 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
95202 be NULL.
95203
95204 2010-10-07 Jakub Jelinek <jakub@redhat.com>
95205
95206 [BZ #3268]
95207 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
95208 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
95209 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
95210 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
95211 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
95212 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
95213 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
95214 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
95215 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
95216 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
95217 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
95218 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
95219 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
95220 * math/ftestexcept.c (fetestexcept): Likewise.
95221 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
95222 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
95223 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
95224 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
95225 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
95226 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
95227 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
95228
95229 2010-10-11 Ulrich Drepper <drepper@gmail.com>
95230
95231 [BZ #12107]
95232 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
95233 newline.
95234
95235 2010-10-06 Ulrich Drepper <drepper@gmail.com>
95236
95237 * string/bug-strstr1.c: New file.
95238 * string/Makefile: Add rules to build and run bug-strstr1.
95239
95240 2010-10-05 Eric Blake <eblake@redhat.com>
95241
95242 [BZ #12092]
95243 * string/str-two-way.h (two_way_long_needle): Always clear memory
95244 when skipping input due to the shift table.
95245
95246 2010-10-03 Ulrich Drepper <drepper@gmail.com>
95247
95248 [BZ #12005]
95249 * malloc/mcheck.c: Handle large requests.
95250
95251 [BZ #12077]
95252 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
95253 for strncmp and strncasecmp.
95254 * string/stratcliff.c: Add tests for strcmp and strncmp.
95255 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
95256
95257 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
95258
95259 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
95260 __set_fpscr.
95261
95262 2010-09-30 Andreas Jaeger <aj@suse.de>
95263
95264 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
95265 (CGROUP_SUPER_MAGIC): Define.
95266 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95267 Handle btrfs and cgroup file systems.
95268 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
95269 Likewise.
95270
95271 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
95272
95273 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
95274 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
95275
95276 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
95277
95278 [BZ #12067]
95279 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
95280 trying to locate the ELF header.
95281
95282 2010-09-27 Andreas Schwab <schwab@redhat.com>
95283
95284 [BZ #11611]
95285 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
95286 Mask out sign-bit copies when constructing f_fsid.
95287
95288 2010-09-24 Petr Baudis <pasky@suse.cz>
95289
95290 * debug/stack_chk_fail_local.c: Add missing licence exception.
95291 * debug/warning-nop.c: Likewise.
95292
95293 2010-09-15 Joseph Myers <joseph@codesourcery.com>
95294
95295 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
95296 implementing getdents64 using getdents syscall, set d_type if
95297 __ASSUME_GETDENTS32_D_TYPE.
95298
95299 2010-09-16 Andreas Schwab <schwab@redhat.com>
95300
95301 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
95302 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
95303
95304 2010-09-21 Ulrich Drepper <drepper@redhat.com>
95305
95306 [BZ #12037]
95307 * posix/unistd.h: Undo change of feature selection for ftruncate from
95308 2010-01-11.
95309
95310 2010-09-20 Ulrich Drepper <drepper@redhat.com>
95311
95312 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
95313 detection.
95314
95315 2010-09-20 Andreas Schwab <schwab@redhat.com>
95316
95317 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
95318 fanotify_mark.
95319 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
95320
95321 2010-09-14 Andreas Schwab <schwab@redhat.com>
95322
95323 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
95324 variables after CHECK_SP call.
95325 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
95326
95327 2010-09-13 Andreas Schwab <schwab@redhat.com>
95328 Ulrich Drepper <drepper@redhat.com>
95329
95330 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
95331 re-relocationg ld.so.
95332 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
95333 _dl_init_paths call.
95334 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
95335 here anymore.
95336
95337 2010-09-14 Ulrich Drepper <drepper@redhat.com>
95338
95339 * resolv/res_init.c (__res_vinit): Count the default server we added.
95340
95341 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
95342 Ulrich Drepper <drepper@redhat.com>
95343
95344 [BZ #11968]
95345 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
95346 (____longjmp_chk): Use %ebx for saving value across system call.
95347 Add unwind info.
95348
95349 2010-09-06 Andreas Schwab <schwab@redhat.com>
95350
95351 * manual/Makefile: Don't mix pattern rules with normal rules.
95352
95353 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
95354
95355 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
95356 operation.
95357 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
95358 * libio/iofopncook.c (_IO_cookie_init): Likewise.
95359 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
95360 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
95361 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
95362 Likewise.
95363
95364 2010-09-04 Ulrich Drepper <drepper@redhat.com>
95365
95366 [BZ #11979]
95367 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
95368 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
95369
95370 2010-09-02 Ulrich Drepper <drepper@redhat.com>
95371
95372 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
95373 * sysdeps/x86_64/addmul_1.S: Likewise.
95374 * sysdeps/x86_64/lshift.S: Likewise.
95375 * sysdeps/x86_64/mul_1.S: Likewise.
95376 * sysdeps/x86_64/rshift.S: Likewise.
95377 * sysdeps/x86_64/sub_n.S: Likewise.
95378 * sysdeps/x86_64/submul_1.S: Likewise.
95379
95380 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
95381
95382 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
95383 Define __sched_param instead of SCHED_* and sched_param when
95384 <bits/sched.h> is included with __need_schedparam defined.
95385 * bits/sched.h [__need_schedparam]
95386 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
95387 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
95388 (__defined_schedparam): Define to 1.
95389 (__sched_param): New structure, identical to sched_param.
95390 (__need_schedparam): Undefine.
95391
95392 2010-08-31 Mike Frysinger <vapier@gentoo.org>
95393
95394 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
95395 (epoll_create1): Declare.
95396
95397 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
95398
95399 2010-08-31 Andreas Schwab <schwab@redhat.com>
95400
95401 [BZ #7066]
95402 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
95403 shifting retval into place.
95404
95405 2010-09-01 Ulrich Drepper <drepper@redhat.com>
95406
95407 * nis/rpcsvc/nis.h: Update copyright notice.
95408 * nis/rpcsvc/nis.x: Likewise.
95409 * nis/rpcsvc/nis_callback.h: Likewise.
95410 * nis/rpcsvc/nis_callback.x: Likewise.
95411 * nis/rpcsvc/nis_object.x: Likewise.
95412 * nis/rpcsvc/nis_tags.h: Likewise.
95413 * nis/rpcsvc/yp.h: Likewise.
95414 * nis/rpcsvc/yp.x: Likewise.
95415 * nis/rpcsvc/ypupd.h: Likewise.
95416 * nis/yp_xdr.c: Likewise.
95417 * nis/ypupdate_xdr.c: Likewise.
95418
95419 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
95420 mainly the body of pmap_getport. Add parameters to specify timeouts.
95421 (pmap_getport): Use __libc_rpc_getport.
95422 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
95423 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
95424 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
95425
95426 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
95427
95428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
95429 fanotify_mark.
95430
95431 2010-08-27 Roland McGrath <roland@redhat.com>
95432
95433 * sysdeps/i386/i686/multiarch/Makefile
95434 (CFLAGS-varshift.c): New variable.
95435
95436 2010-08-27 Ulrich Drepper <drepper@redhat.com>
95437
95438 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
95439 * sysdeps/i386/i686/multiarch/varshift.c: New file.
95440
95441 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
95442
95443 * sysdeps/x86_64/strlen.S: Minimal code improvement.
95444
95445 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
95446
95447 * sysdeps/x86_64/strlen.S: Unroll the loop.
95448 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95449 strlen-sse2 strlen-sse2-bsf.
95450 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
95451 __strlen_no_bsf if bit_Slow_BSF is set.
95452 (__strlen_sse42): Removed.
95453 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
95454 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
95455
95456 2010-08-25 Roland McGrath <roland@redhat.com>
95457
95458 * sysdeps/x86_64/multiarch/varshift.S: File removed.
95459 * sysdeps/x86_64/multiarch/varshift.c: New file.
95460 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
95461 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
95462 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
95463 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
95464
95465 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
95466
95467 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
95468 strlen-sse2 strlen-sse2-bsf.
95469 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
95470 __strlen_sse2_bsf if bit_Slow_BSF is unset.
95471 (__strlen_sse2): Removed.
95472 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
95473 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
95474 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
95475 bit_Slow_BSF for Atom.
95476 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
95477 (index_Slow_BSF): Define.
95478 (HAS_SLOW_BSF): Define.
95479
95480 2010-08-25 Ulrich Drepper <drepper@redhat.com>
95481
95482 [BZ #10851]
95483 * resolv/res_init.c (__res_vinit): When no server address at all
95484 is given default to loopback.
95485
95486 2010-08-24 Roland McGrath <roland@redhat.com>
95487
95488 * configure.in: Remove config-name.h generation.
95489 * configure: Regenerated.
95490 * config-name.in: File removed.
95491 * scripts/config-uname.sh: New file.
95492 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
95493 ($(objdir)config-name.h): New target.
95494
95495 * sunrpc/rpc_parse.h: Avoid nested comment.
95496
95497 2010-08-24 Richard Henderson <rth@redhat.com>
95498 Ulrich Drepper <drepper@redhat.com>
95499 H.J. Lu <hongjiu.lu@intel.com>
95500
95501 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
95502 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
95503 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
95504 Replace _mm_srli_si128 with __m128i_shift_right. Replace
95505 _mm_alignr_epi8 with _mm_loadu_si128.
95506 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
95507 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
95508 (__m128i_shift_right): Removed.
95509 * sysdeps/i386/i686/multiarch/varshift.h: New file.
95510 * sysdeps/i386/i686/multiarch/varshift.S: New file.
95511 * sysdeps/x86_64/multiarch/varshift.h: New file.
95512 * sysdeps/x86_64/multiarch/varshift.S: New file.
95513
95514 2010-08-21 Mike Frysinger <vapier@gentoo.org>
95515
95516 * configure.in: Move assembler checks to before sysdep dir checking.
95517
95518 2010-08-20 Petr Baudis <pasky@suse.cz>
95519
95520 * LICENSES: Sync the sunrpc license.
95521
95522 2010-08-19 Ulrich Drepper <drepper@redhat.com>
95523
95524 * sunrpc/auth_des.c: Update copyright notice once again.
95525 * sunrpc/auth_none.c: Likewise.
95526 * sunrpc/auth_unix.c: Likewise.
95527 * sunrpc/authdes_prot.c: Likewise.
95528 * sunrpc/authuxprot.c: Likewise.
95529 * sunrpc/bindrsvprt.c: Likewise.
95530 * sunrpc/clnt_gen.c: Likewise.
95531 * sunrpc/clnt_perr.c: Likewise.
95532 * sunrpc/clnt_raw.c: Likewise.
95533 * sunrpc/clnt_simp.c: Likewise.
95534 * sunrpc/clnt_tcp.c: Likewise.
95535 * sunrpc/clnt_udp.c: Likewise.
95536 * sunrpc/clnt_unix.c: Likewise.
95537 * sunrpc/des_crypt.c: Likewise.
95538 * sunrpc/des_soft.c: Likewise.
95539 * sunrpc/get_myaddr.c: Likewise.
95540 * sunrpc/getrpcport.c: Likewise.
95541 * sunrpc/key_call.c: Likewise.
95542 * sunrpc/key_prot.c: Likewise.
95543 * sunrpc/openchild.c: Likewise.
95544 * sunrpc/pm_getmaps.c: Likewise.
95545 * sunrpc/pm_getport.c: Likewise.
95546 * sunrpc/pmap_clnt.c: Likewise.
95547 * sunrpc/pmap_prot.c: Likewise.
95548 * sunrpc/pmap_prot2.c: Likewise.
95549 * sunrpc/pmap_rmt.c: Likewise.
95550 * sunrpc/rpc/auth.h: Likewise.
95551 * sunrpc/rpc/auth_unix.h: Likewise.
95552 * sunrpc/rpc/clnt.h: Likewise.
95553 * sunrpc/rpc/des_crypt.h: Likewise.
95554 * sunrpc/rpc/key_prot.h: Likewise.
95555 * sunrpc/rpc/netdb.h: Likewise.
95556 * sunrpc/rpc/pmap_clnt.h: Likewise.
95557 * sunrpc/rpc/pmap_prot.h: Likewise.
95558 * sunrpc/rpc/pmap_rmt.h: Likewise.
95559 * sunrpc/rpc/rpc.h: Likewise.
95560 * sunrpc/rpc/rpc_des.h: Likewise.
95561 * sunrpc/rpc/rpc_msg.h: Likewise.
95562 * sunrpc/rpc/svc.h: Likewise.
95563 * sunrpc/rpc/svc_auth.h: Likewise.
95564 * sunrpc/rpc/types.h: Likewise.
95565 * sunrpc/rpc/xdr.h: Likewise.
95566 * sunrpc/rpc_clntout.c: Likewise.
95567 * sunrpc/rpc_cmsg.c: Likewise.
95568 * sunrpc/rpc_common.c: Likewise.
95569 * sunrpc/rpc_cout.c: Likewise.
95570 * sunrpc/rpc_dtable.c: Likewise.
95571 * sunrpc/rpc_hout.c: Likewise.
95572 * sunrpc/rpc_main.c: Likewise.
95573 * sunrpc/rpc_parse.c: Likewise.
95574 * sunrpc/rpc_parse.h: Likewise.
95575 * sunrpc/rpc_prot.c: Likewise.
95576 * sunrpc/rpc_sample.c: Likewise.
95577 * sunrpc/rpc_scan.c: Likewise.
95578 * sunrpc/rpc_scan.h: Likewise.
95579 * sunrpc/rpc_svcout.c: Likewise.
95580 * sunrpc/rpc_tblout.c: Likewise.
95581 * sunrpc/rpc_util.c: Likewise.
95582 * sunrpc/rpc_util.h: Likewise.
95583 * sunrpc/rpcinfo.c: Likewise.
95584 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
95585 * sunrpc/rpcsvc/key_prot.x: Likewise.
95586 * sunrpc/rpcsvc/klm_prot.x: Likewise.
95587 * sunrpc/rpcsvc/mount.x: Likewise.
95588 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
95589 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
95590 * sunrpc/rpcsvc/rex.x: Likewise.
95591 * sunrpc/rpcsvc/rstat.x: Likewise.
95592 * sunrpc/rpcsvc/rusers.x: Likewise.
95593 * sunrpc/rpcsvc/sm_inter.x: Likewise.
95594 * sunrpc/rpcsvc/spray.x: Likewise.
95595 * sunrpc/rpcsvc/yppasswd.x: Likewise.
95596 * sunrpc/rtime.c: Likewise.
95597 * sunrpc/svc.c: Likewise.
95598 * sunrpc/svc_auth.c: Likewise.
95599 * sunrpc/svc_authux.c: Likewise.
95600 * sunrpc/svc_raw.c: Likewise.
95601 * sunrpc/svc_run.c: Likewise.
95602 * sunrpc/svc_simple.c: Likewise.
95603 * sunrpc/svc_tcp.c: Likewise.
95604 * sunrpc/svc_udp.c: Likewise.
95605 * sunrpc/svc_unix.c: Likewise.
95606 * sunrpc/svcauth_des.c: Likewise.
95607 * sunrpc/xcrypt.c: Likewise.
95608 * sunrpc/xdr.c: Likewise.
95609 * sunrpc/xdr_array.c: Likewise.
95610 * sunrpc/xdr_float.c: Likewise.
95611 * sunrpc/xdr_mem.c: Likewise.
95612 * sunrpc/xdr_rec.c: Likewise.
95613 * sunrpc/xdr_ref.c: Likewise.
95614 * sunrpc/xdr_sizeof.c: Likewise.
95615 * sunrpc/xdr_stdio.c: Likewise.
95616
95617 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
95618 handling.
95619
95620 2010-08-19 Andreas Schwab <schwab@redhat.com>
95621
95622 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
95623
95624 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
95625
95626 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
95627 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
95628 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
95629 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
95630 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
95631 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
95632 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
95633 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
95634 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
95635 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
95636 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
95637 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
95638 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
95639 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
95640
95641 2010-07-26 Anton Blanchard <anton@samba.org>
95642
95643 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
95644 * malloc/arena.c (heap_trim): Likewise.
95645
95646 2010-08-16 Ulrich Drepper <drepper@redhat.com>
95647
95648 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
95649 here. Not...
95650 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
95651 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
95652
95653 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
95654
95655 * sysdeps/i386/elf/Makefile: New file.
95656
95657 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
95658
95659 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
95660 from fanotify_init.
95661 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
95662 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
95663
95664 2010-08-15 Ulrich Drepper <drepper@redhat.com>
95665
95666 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
95667 of strncasecmp_l.
95668 * sysdeps/multiarch/strcmp.S: Likewise.
95669
95670 2010-08-14 Ulrich Drepper <drepper@redhat.com>
95671
95672 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
95673 strncase_l-nonascii.
95674 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
95675 Add strncase_l-ssse3.
95676 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
95677 * sysdeps/x86_64/strcmp.S: Likewise.
95678 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
95679 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
95680 * sysdeps/x86_64/strncase.S: New file.
95681 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
95682 * sysdeps/x86_64/strncase_l.S: New file.
95683 * string/Makefile (strop-tests): Add strncasecmp.
95684 * string/test-strncasecmp.c: New file.
95685
95686 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
95687 warning.
95688
95689 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
95690 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
95691
95692 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
95693
95694 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
95695
95696 2010-08-12 Ulrich Drepper <drepper@redhat.com>
95697
95698 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
95699 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
95700 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
95701
95702 2010-05-01 Alan Modra <amodra@gmail.com>
95703
95704 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
95705 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
95706 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
95707 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
95708 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
95709 tidying. Don't tail-call __sigjmp_save for static lib.
95710 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
95711 save location.
95712 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
95713 (CALL_MCOUNT): Add eh info, and nop after bl.
95714 (TAIL_CALL_SYSCALL_ERROR): New macro.
95715 (PSEUDO_RET): Use it.
95716 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
95717 Correct save location of integer regs and cr.
95718 (_dl_profile_resolve): Correct cr save location. Delete nops
95719 after bl when SHARED. Reduce cfi size a little by better
95720 placement of cfi directives.
95721 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
95722 make a stack frame. Instead use parm save area as a temp.
95723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
95724 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
95725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
95726 Don't make a stack frame for parent, use parm save area.
95727 Increase child stack frame to 112 bytes. Don't save unused reg,
95728 and adjust reg usage. Set up cfi on error recovery and
95729 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
95730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
95731 (__makecontext): Add dummy nop after jump to exit.
95732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
95733 Use correct parm save area and cr save, reduce stack frame.
95734 Correct cfi for possible PSEUDO_RET frame setup.
95735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
95736 Branch to local label emitted by PSEUDO_RET rather than
95737 __syscall_error.
95738
95739 2010-08-12 Andreas Schwab <schwab@redhat.com>
95740
95741 [BZ #11904]
95742 * locale/programs/locale.c (print_assignment): New function.
95743 (show_locale_vars): Use it.
95744
95745 2010-08-11 Ulrich Drepper <drepper@redhat.com>
95746
95747 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
95748 field.
95749 (struct statfs64): Likewise.
95750 (_STATFS_F_FLAGS): Define.
95751 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
95752 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95753 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
95754 (ST_VALID): Define locally.
95755 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
95756 __statvfs_getflags, use the provided value.
95757 * sysdeps/unix/sysv/linux/kernel-features.h: Define
95758 __ASSUME_STATFS_F_FLAGS.
95759
95760 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
95761
95762 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
95763 Add sys/fanotify.h.
95764 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
95765 fanotify_mask for GLIBC_2.13.
95766 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
95767 fanotify_init and fanotify_mark.
95768 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
95769 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
95770
95771 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
95772 Add prlimit.
95773 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
95774 prlimit64 for GLIBC_2.13.
95775 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
95776 prlimit64.
95777 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
95778 syscall.
95779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
95780 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
95781 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
95782 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
95783 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
95784 add prlimit alias.
95785 * sysdeps/unix/sysv/linux/prlimit.c: New file.
95786
95787 [BZ #11903]
95788 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
95789 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
95790
95791 * nss/Makefile: Add rules to build and run tst-nss-test1.
95792 * shlib-versions: Add entry for libnss_test1.
95793 * nss/nss_test1.c: New file.
95794 * nss/tst-nss-test1.c: New file.
95795
95796 * nss/nsswitch.c (__nss_database_custom): Define new variable.
95797 (__nss_configure_lookup): Set appropriate entry in
95798 __nss_configure_lookup to true.
95799 * nss/nsswitch.h: Define enum with indeces of databases in
95800 databases and __nss_database_custom arrays. Declare
95801 __nss_database_custom.
95802 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
95803 to avoid using nscd when custom rules are installed.
95804 * nss/getXXbyYY_r.c: Likewise.
95805 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
95806
95807 * nss/nss_files/files-parse.c: Whitespace fixes.
95808
95809 2010-08-09 Ulrich Drepper <drepper@redhat.com>
95810
95811 [BZ #11883]
95812 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
95813 * posix/fnmatch_loop.c: Likewise.
95814
95815 2010-07-17 Andi Kleen <ak@linux.intel.com>
95816
95817 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
95818 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
95819 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
95820 * Versions.def [GLIBC_2.13]: Add.
95821
95822 2010-08-06 Ulrich Drepper <drepper@redhat.com>
95823
95824 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
95825 Also fail if tpwd after pwuid call is NULL.
95826
95827 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
95828
95829 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
95830 when converting to ms.
95831
95832 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
95833
95834 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
95835 EOPNOTSUPP errors with ENOTTY.
95836 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
95837 EOPNOTSUPP errors with ENOTTY.
95838
95839 2010-07-31 Ulrich Drepper <drepper@redhat.com>
95840
95841 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
95842 Add strcasecmp_l-ssse3.
95843 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
95844 strcasecmp.
95845 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
95846 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
95847 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
95848
95849 2010-07-30 Ulrich Drepper <drepper@redhat.com>
95850
95851 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
95852
95853 * string/Makefile (strop-tests): Add strcasecmp.
95854 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
95855 strcasecmp_l-nonascii.
95856 (gen-as-const-headers): Add locale-defines.sym.
95857 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
95858 * sysdeps/x86_64/strcasecmp.S: New file.
95859 * sysdeps/x86_64/strcasecmp_l.S: New file.
95860 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
95861 * sysdeps/x86_64/locale-defines.sym: New file.
95862 * string/test-strcasecmp.c: New file.
95863
95864 * string/test-strcasestr.c: Test both ends of the range of characters.
95865 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
95866
95867 2010-07-29 Roland McGrath <roland@redhat.com>
95868
95869 [BZ #11856]
95870 * manual/locale.texi (Yes-or-No Questions): Fix example code.
95871
95872 2010-07-27 Ulrich Drepper <drepper@redhat.com>
95873
95874 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
95875 for ld.so.
95876
95877 2010-07-27 Andreas Schwab <schwab@redhat.com>
95878
95879 * manual/memory.texi (Malloc Tunable Parameters): Document
95880 M_PERTURB.
95881
95882 2010-07-26 Roland McGrath <roland@redhat.com>
95883
95884 [BZ #11840]
95885 * configure.in (-fgnu89-inline check): Set and substitute
95886 gnu89_inline, not libc_cv_gnu89_inline.
95887 * configure: Regenerated.
95888 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
95889
95890 2010-07-26 Ulrich Drepper <drepper@redhat.com>
95891
95892 * string/test-strnlen.c: New file.
95893 * string/Makefile (strop-tests): Add strnlen.
95894 * string/tester.c (test_strnlen): Add a few more test cases.
95895 * string/tst-strlen.c: Better error reporting.
95896
95897 * sysdeps/x86_64/strnlen.S: New file.
95898
95899 2010-07-24 Ulrich Drepper <drepper@redhat.com>
95900
95901 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
95902 lower-latency instructions.
95903
95904 2010-07-23 Ulrich Drepper <drepper@redhat.com>
95905
95906 * string/test-strcasestr.c: New file.
95907 * string/test-strstr.c: New file.
95908 * string/Makefile (strop-tests): Add strstr and strcasestr.
95909 * string/str-two-way.h: Don't undefine MAX.
95910 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
95911
95912 2010-07-21 Andreas Schwab <schwab@redhat.com>
95913
95914 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
95915 strcasestr-nonascii.
95916 (CFLAGS-strcasestr-nonascii.c): Define.
95917 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
95918 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
95919 Remove unused attribute.
95920
95921 2010-07-20 Roland McGrath <roland@redhat.com>
95922
95923 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
95924 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
95925 ld.so.cache was broken. With it, there is no way to disable dsocaps
95926 like LD_HWCAP_MASK can disable hwcaps.
95927
95928 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
95929
95930 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
95931
95932 2010-07-16 Ulrich Drepper <drepper@redhat.com>
95933
95934 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
95935 call in strcasestr.
95936 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
95937 __strcasestr_sse42_nonascii.
95938 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
95939 strcasestr-nonascii.c.
95940 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
95941
95942 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
95943
95944 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
95945 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
95946 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
95947 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
95948
95949 2010-07-09 Ulrich Drepper <drepper@redhat.com>
95950
95951 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
95952 fcntl.
95953
95954 2010-07-06 Andreas Schwab <schwab@redhat.com>
95955
95956 [BZ #11577]
95957 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
95958 dl_signal_cerror.
95959
95960 2010-07-06 Ulrich Drepper <drepper@redhat.com>
95961
95962 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
95963 _PC_PIPE_BUF using F_GETPIPE_SZ.
95964
95965 2010-07-05 Roland McGrath <roland@redhat.com>
95966
95967 * manual/arith.texi (Rounding Functions): Fix rint description
95968 implicit in round description.
95969
95970 2010-07-02 Ulrich Drepper <drepper@redhat.com>
95971
95972 * elf/Makefile: Fix linking for a few tests to make recent linker
95973 happy.
95974
95975 2010-06-30 Andreas Schwab <schwab@redhat.com>
95976
95977 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
95978 $(common-objpfx)libc_nonshared.a.
95979
95980 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
95981
95982 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
95983 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
95984 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
95985 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
95986 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
95987 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
95988 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
95989 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
95990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
95991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
95992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
95993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
95994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
95995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
95996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
95997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
95998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
95999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
96000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
96002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
96004 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
96005 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
96006 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
96007 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
96008 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
96009 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
96010 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
96011 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
96012 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
96013 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
96014 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
96015 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
96016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
96017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
96018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
96019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
96020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
96021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
96022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
96023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
96024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
96025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
96026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
96027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
96028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
96029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
96030
96031 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
96032
96033 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
96034 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
96035 * string/memmove.c (memmove): Renamed to ...
96036 (MEMMOVE): ...this. Default to memmove.
96037 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
96038 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
96039 (END_CHK): Define.
96040 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
96041 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
96042 mempcpy-ssse3-back memmove-ssse3-back.
96043 * sysdeps/x86_64/multiarch/bcopy.S: New file .
96044 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
96045 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
96046 * sysdeps/x86_64/multiarch/memcpy.S: New file.
96047 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
96048 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
96049 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
96050 * sysdeps/x86_64/multiarch/memmove.c: New file.
96051 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
96052 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
96053 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
96054 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
96055 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
96056 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
96057 Define.
96058 (index_Fast_Copy_Backward): Define.
96059 (HAS_ARCH_FEATURE): Define.
96060 (HAS_FAST_REP_STRING): Define.
96061 (HAS_FAST_COPY_BACKWARD): Define.
96062
96063 2010-06-21 Andreas Schwab <schwab@redhat.com>
96064
96065 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96066 Restore proper fallback handling.
96067
96068 2010-06-19 Ulrich Drepper <drepper@redhat.com>
96069
96070 [BZ #11701]
96071 * posix/group_member.c (__group_member): Correct checking loop.
96072
96073 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
96074 OOM in getpwuid_r correctly. Return error number when the caller
96075 should return, otherwise -1.
96076 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
96077 call returning > 0 value.
96078 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
96079
96080 2010-06-07 Andreas Schwab <schwab@redhat.com>
96081
96082 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
96083 libc_nonshared.a from targets in modules-names.
96084
96085 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
96086
96087 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
96088 requires it.
96089
96090 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
96091
96092 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
96093 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
96094 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
96095 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
96096
96097 2010-06-02 Andreas Schwab <schwab@redhat.com>
96098
96099 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
96100
96101 2010-06-14 Ulrich Drepper <drepper@redhat.com>
96102
96103 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
96104 and F_GETPIPE_SZ.
96105 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
96106 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
96107 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
96108 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
96109 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
96110 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
96111
96112 2010-06-14 Roland McGrath <roland@redhat.com>
96113
96114 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
96115
96116 2010-06-07 Jakub Jelinek <jakub@redhat.com>
96117
96118 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
96119 __REDIRECT followed by __THROW.
96120 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
96121 * posix/getopt.h (getopt): Likewise.
96122
96123 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
96124
96125 * hurd/lookup-at.c (__file_name_lookup_at): Accept
96126 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
96127 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
96128 in AT_FLAGS.
96129 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
96130 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
96131
96132 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
96133
96134 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
96135
96136 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
96137
96138 [BZ #11640]
96139 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
96140 Properly check family and model.
96141
96142 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
96143
96144 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
96145
96146 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
96147
96148 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
96149
96150 2010-05-21 Ulrich Drepper <drepper@redhat.com>
96151
96152 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
96153 symbol reference.
96154
96155 2010-05-19 Andreas Schwab <schwab@redhat.com>
96156
96157 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
96158 symbol reference.
96159
96160 2010-05-21 Andreas Schwab <schwab@redhat.com>
96161
96162 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
96163 and internal_recvmmsg.
96164 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
96165 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
96166 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
96167 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
96168
96169 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
96170 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
96171 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
96172
96173 2010-05-20 Andreas Schwab <schwab@redhat.com>
96174
96175 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
96176
96177 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
96178
96179 POWER7 optimizations.
96180 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
96181 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
96182
96183 2010-05-19 Ulrich Drepper <drepper@redhat.com>
96184
96185 * version.h: Update for 2.13 development version.
96186
96187 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
96188
96189 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
96190 exceptions. Return 0.
96191
96192 2010-05-07 Roland McGrath <roland@redhat.com>
96193
96194 * elf/ldconfig.c (main): Add a const.
96195
96196 2010-05-06 Ulrich Drepper <drepper@redhat.com>
96197
96198 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
96199 (args_options): Add no-idn option.
96200 (ahosts_keys_int): Add idn_flags to ai_flags.
96201 (parse_option): Handle 'i' option to clear idn_flags.
96202
96203 * malloc/malloc.c (_int_free): Possible race in the most recently
96204 added check. Only act on the data if no current modification
96205 happened.
96206
96207 See ChangeLog.17 for earlier changes.